Compare commits

..

1026 Commits

Author SHA1 Message Date
philipp 3ea7a015a9 dependency fixes
continuous-integration/drone/push Build is passing
2023-03-15 15:04:55 +01:00
philipp 44329413ed set pnpm to @7 2023-03-15 15:02:54 +01:00
philipp 46db68ab22 🚀RELEASE v0.17.2 2023-03-15 14:53:48 +01:00
philipp dc9d7f22a2 Merge branch 'dev' of https://git.odit.services/lfk/frontend into dev
continuous-integration/drone/push Build is failing
2023-03-15 14:47:32 +01:00
philipp f917018fd9 improved ThFilterGroup style 2023-03-15 14:47:27 +01:00
philipp 7b420c430d 🚀RELEASE v0.17.1 2023-03-15 14:44:26 +01:00
philipp 00359d25c1 new license file version [CI SKIP] 2023-03-15 13:43:57 +00:00
philipp d8a3063735 Revert "package dependency fixes, bumps, lockfile update"
continuous-integration/drone/push Build is failing
This reverts commit 2c73b9862d.
2023-03-15 14:43:33 +01:00
niggl 6491af19e3 🚀RELEASE v0.17.0
continuous-integration/drone/push Build is passing
2023-03-15 13:35:48 +01:00
niggl 61328d20ed new license file version [CI SKIP] 2023-03-15 12:34:41 +00:00
niggl 0a6d92a1f3 Switched license generation to cache registry and pnpm
continuous-integration/drone/push Build is passing
2023-03-15 13:34:14 +01:00
niggl 3a576d1073 Pinned pnpm in dockerfile, thx @philipp
continuous-integration/drone/push Build is failing
2023-03-15 13:29:33 +01:00
niggl b30b98b521 Pinned ci node version 2023-03-15 13:25:59 +01:00
niggl 43d82a2af0 Fixed pnpm being called without being installed
continuous-integration/drone/push Build is failing
2023-03-15 13:18:07 +01:00
philipp 6a4495b813 Merge pull request 'bugfix/162-create_card_modal' (#163) from bugfix/162-create_card_modal into dev
continuous-integration/drone/push Build is failing
Reviewed-on: #163
2023-03-15 12:15:24 +00:00
niggl e8a0ad6647 You can now create cards from runners by searching via #runnerid
ref #162
2023-03-15 13:12:42 +01:00
niggl 92b89cc4d8 Fixed double space in label
ref #162
2023-03-15 13:09:07 +01:00
niggl 268b1b1d98 Removed unused log
ref #162
2023-03-15 13:07:49 +01:00
niggl 75bc89ca30 Fixed runners not showing up
ref #162
2023-03-15 13:06:56 +01:00
philipp 0625937068 Merge pull request 'filter by runner full names + "#<ID>"' (#160) from feature/159-cardsoverview-filter-for-runner-full-names-and-id into dev
continuous-integration/drone/push Build is failing
Reviewed-on: #160
2023-03-15 11:20:05 +00:00
niggl 32a9074963 Wow this api is fun
ref #159
2023-03-15 12:14:39 +01:00
niggl b869b5fd2a remodelled for early return
ref #159
2023-03-15 11:39:51 +01:00
philipp 3a3e2f7157 add ThFilterRunner
ref #159
2023-03-15 11:10:08 +01:00
philipp bea57aa03a fix styling for table filters th border
continuous-integration/drone/push Build is failing
2023-03-15 11:08:05 +01:00
philipp 30991d5364 UsersOverview: drop pfp
continuous-integration/drone/push Build is failing
2023-03-14 09:53:16 +01:00
philipp 5cc8b0811c UsersOverview: change profilepic scaling
continuous-integration/drone/push Build is failing
2023-03-14 09:51:40 +01:00
philipp 2c73b9862d package dependency fixes, bumps, lockfile update
continuous-integration/drone/push Build is failing
2023-03-14 09:51:23 +01:00
philipp 732b2f061e wip: pnpm + node version 2023-03-14 09:29:27 +01:00
philipp 3680533eef 🚀RELEASE v0.16.5
continuous-integration/drone/push Build is passing
2023-03-14 09:25:11 +01:00
philipp 1307d72c9d Merge branch 'dev' of https://git.odit.services/lfk/frontend into dev
continuous-integration/drone/push Build is failing
2023-03-14 09:24:54 +01:00
philipp 405dfa0c34 new license file version [CI SKIP] 2023-03-14 08:24:37 +00:00
philipp 5c2d154ad1 🚀RELEASE v0.16.4 2023-03-14 09:24:31 +01:00
philipp f2bf8d9bac fix: OrgDetail: clicking on address will toggle selfservice
continuous-integration/drone/push Build is passing
close #158
2023-03-14 09:23:55 +01:00
niggl f9cfd6bd06 🚀RELEASE v0.16.3
continuous-integration/drone/push Build is passing
2023-02-23 14:01:35 +01:00
niggl 287f63fa52 Merge branch 'dev' of git.odit.services:lfk/frontend into dev
continuous-integration/drone/push Build is passing
2023-02-23 14:00:20 +01:00
niggl 5fe47634e8 Bumped vite build targets 2023-02-23 13:59:27 +01:00
niggl a6590910cf new license file version [CI SKIP] 2023-02-23 12:54:38 +00:00
niggl ad454c386c Merge pull request 'feature/156-pdf_names' (#157) from feature/156-pdf_names into dev
continuous-integration/drone/push Build is failing
Reviewed-on: #157
2023-02-23 12:54:04 +00:00
niggl 0b2c296de0 Added ids for generated pdfs
ref #156
2023-02-23 09:59:07 +01:00
niggl 0e85940cba 🚀RELEASE v0.16.2
continuous-integration/drone/push Build is passing
2023-02-23 08:36:54 +01:00
niggl 8d479c32f8 Merge pull request 'feature/147-cardoverview_performance' (#153) from feature/147-cardoverview_performance into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #153
2023-02-23 07:34:46 +00:00
niggl 549785cf7d Merge pull request 'Fixed scanmodal' (#155) from bugfix/154-scan_select_runner_by_id into dev
continuous-integration/drone/push Build is failing
Reviewed-on: #155
2023-02-23 07:34:39 +00:00
niggl aafc4c8d62 Removed unused console log
ref #154
2023-02-22 18:39:41 +01:00
niggl 47dedbdc73 Fixed scanmodal
fixes #154
2023-02-22 18:38:21 +01:00
niggl 6fe134afc8 i18n import
ref #147
2023-02-22 18:33:42 +01:00
niggl 63a50f92e7 Merge branch 'feature/147-cardoverview_performance' of git.odit.services:lfk/frontend into feature/147-cardoverview_performance 2023-02-22 18:32:29 +01:00
niggl ca6da15ef7 i18n
ref #147
2023-02-22 18:32:25 +01:00
niggl 8dfa19fa0f Fixed all filter
ref #147
2023-02-22 18:31:36 +01:00
niggl 0feee0ae2f Fixed edit update bug
ref #147
2023-02-22 18:06:53 +01:00
philipp 2a6a39916a rename: ThFilterGroup -> ThFilterStatus
ref #147
2023-02-19 15:14:09 +01:00
niggl f0a2b2859f Added custom status filter 2023-02-18 19:27:13 +01:00
niggl 32ddb66fc8 Trigger edit modal 2023-02-18 19:24:28 +01:00
niggl df63c2388d Added old formatting for runner and status
ref #147
2023-02-18 19:22:42 +01:00
niggl 757655ea63 Bsic datatable conversion
ref #147
2023-02-18 19:20:29 +01:00
philipp 329c1cc037 Merge pull request 'fix: RunnerDetail: set .phone to null if empty' (#152) from bugfix/151-runnerdetail--cannot-unset-phone-number into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #152
2023-02-18 16:37:56 +00:00
philipp da6dd55d13 set .phone to null if empty 2023-02-18 17:30:01 +01:00
philipp 0e5490f1c8 new license file version [CI SKIP] 2023-02-18 16:18:28 +00:00
philipp b82d638de1 Merge pull request 'feature/146-runner-table-performance-data-table' (#150) from feature/146-runner-table-performance-data-table into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #150
2023-02-18 16:17:51 +00:00
philipp 224034dcc6 fix: z-index on action buttons 2023-02-18 17:17:04 +01:00
philipp 026d3d41c1 new license file version [CI SKIP] 2023-02-18 16:13:06 +00:00
philipp fd1a06b359 Merge pull request 'feature/148-dashboard_statscards' (#149) from feature/148-dashboard_statscards into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #149
2023-02-18 16:12:30 +00:00
niggl 452d010183 Updated breakpoints
ref #148
2023-02-18 16:27:58 +01:00
niggl eb1c17e3ac Dasboard Cards redesign 2023-02-18 16:24:13 +01:00
niggl a101873eb0 Tailwind bump
ref #148
2023-02-18 16:24:02 +01:00
niggl 3d2acb692a Fixed top checkbox state 2023-02-18 15:53:47 +01:00
niggl 0900c2691e Fixed checkbox show 2023-02-18 15:52:59 +01:00
niggl 1337676e08 Basic checkbox fix 2023-02-18 15:49:24 +01:00
philipp 2e075eafab RunnersOverview loading fix
ref #146
2023-02-16 15:43:11 +01:00
philipp 14d64b6070 add group filtering to table
ref #146
2023-02-16 15:05:41 +01:00
philipp 81b8fbf4e3 1st datatable try with @vincjo/datatables 2023-02-16 12:27:45 +01:00
philipp 24d074752f formatting 2023-02-16 11:48:30 +01:00
philipp 08047a9307 cleaned up table search 2023-02-16 11:47:59 +01:00
philipp 1b0cd5b90b improved runner search 2023-02-16 11:45:38 +01:00
philipp 65e8998894 set table-layout:fixed + display when loaded
ref #146
2023-02-16 11:26:37 +01:00
philipp 449948050b 🚀RELEASE v0.16.1
continuous-integration/drone/push Build is passing
2023-02-15 15:05:33 +01:00
philipp cf97281592 fix: donor detail: sponsorings: unset middlename will show as "null"
continuous-integration/drone/push Build is passing
close #145
2023-02-15 15:05:01 +01:00
philipp 75684efa1a 🚀RELEASE v0.16.0
continuous-integration/drone/push Build is passing
2023-02-03 14:07:27 +01:00
philipp 2c4f27a943 new license file version [CI SKIP] 2023-02-03 13:05:38 +00:00
philipp 53b7dec7cd Merge pull request 'feature/143-beamershow_clients' (#144) from feature/143-beamershow_clients into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #144
2023-02-03 13:05:01 +00:00
niggl e0cbfb000b Tailwind bump 2023-02-02 17:27:18 +01:00
niggl 3a66f4c862 new license file version [CI SKIP] 2023-02-02 16:23:56 +00:00
niggl 85ceaa464f Merge branch 'dev' into feature/143-beamershow_clients 2023-02-02 17:23:33 +01:00
niggl 976755338b Updated docker base images
continuous-integration/drone/push Build is failing
2023-02-02 17:21:58 +01:00
niggl 1c980059cf Switched drone to kaniko 2023-02-02 17:20:01 +01:00
niggl 2d8c4c1698 Ignore pnpm lock 2023-02-02 17:19:51 +01:00
niggl 19a333d7bd Added missing translation
ref #143
2023-02-02 17:16:24 +01:00
niggl 96c55db63d Added translation
ref #143
2023-02-02 17:13:16 +01:00
niggl fecb07ee37 Re-added copy modal
ref #143
2023-02-02 17:11:46 +01:00
niggl e10c6480a5 Removed Key after creation
ref #143
2023-02-02 17:08:29 +01:00
niggl f3cc07c009 Fixed imports and naming 2023-02-02 17:05:34 +01:00
niggl 068076dd47 Added Statsclients to sidebar
ref #143
2023-02-02 17:03:18 +01:00
niggl 02158605be Basic statsclient detail
ref #143
2023-02-02 17:00:49 +01:00
niggl 674e6a90ec Updated mounted variables 2023-02-02 16:54:37 +01:00
niggl f679330466 Updated Add modal
ref #143
2023-02-02 16:51:39 +01:00
niggl 93fc7c2e83 Updated deletion modal
ref #143
2023-02-02 16:46:18 +01:00
niggl f299617c60 First page for statsclients
ref #143
2023-02-02 16:42:17 +01:00
niggl 28cbc5b98c Bumped apiclient
ref #143
2023-02-02 16:21:11 +01:00
niggl c28f1ee0bc Bumped apiclient
ref #143
2023-02-02 16:04:21 +01:00
niggl cff112d705 Pinned versions
continuous-integration/drone/push Build is failing
2023-02-02 16:02:52 +01:00
niggl 9fc4ad63c4 🚀RELEASE v0.15.6
continuous-integration/drone/push Build is passing
2021-07-19 17:52:02 +02:00
niggl 97054a71c1 new license file version [CI SKIP] 2021-07-19 15:49:32 +00:00
niggl 2391668a25 Fixed donations getting reduced to the first one on certificates
continuous-integration/drone/push Build is passing
2021-07-19 17:47:27 +02:00
niggl 717d33547c 🚀RELEASE v0.15.5
continuous-integration/drone/push Build is passing
2021-07-05 17:23:43 +02:00
niggl 997be32679 Merge pull request 'Fixed kilometer conversion' (#142) from bugfix/141-runner_kilometers into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #142
2021-07-05 15:22:55 +00:00
niggl 134f00c40e Fixed kilometer conversion
ref #141
2021-07-05 17:15:50 +02:00
philipp 47c898bdfd Merge branch 'dev' of https://git.odit.services/lfk/frontend into dev
continuous-integration/drone/push Build is passing
2021-07-05 17:01:59 +02:00
philipp e752ee12d1 new license file version [CI SKIP] 2021-07-05 15:01:42 +00:00
philipp cc4515ff66 🚀RELEASE v0.15.4 2021-07-05 17:01:31 +02:00
philipp f190292171 Merge pull request 'fix total donation sum in dashboard' (#140) from bugfix/139-total-donation-sum-is-wrong into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #140

close #139
2021-07-05 15:00:44 +00:00
philipp b246f2b349 divide by 100 + toFixes(2)
ref #139
2021-07-05 13:30:17 +02:00
niggl 76b69d851a 🚀RELEASE v0.15.3
continuous-integration/drone/push Build is passing
2021-04-16 18:22:27 +02:00
niggl 224f586368 Small bugfix (null got displayed) 🛠 2021-04-16 18:22:00 +02:00
philipp 9add6c8ff1 🚀RELEASE v0.15.2
continuous-integration/drone/push Build is passing
2021-04-16 18:10:50 +02:00
philipp 7a63d4eed1 Merge branch 'dev' of https://git.odit.services/lfk/frontend into dev
continuous-integration/drone/push Build is passing
2021-04-16 18:09:37 +02:00
philipp e54a4807f7 NGINX cache assets 2021-04-16 18:09:30 +02:00
philipp cee04c1d6f Footer - noopener link 2021-04-16 18:09:22 +02:00
niggl cbec78589d Hotfix: Team change recognition 🐞
continuous-integration/drone/push Build is passing
2021-04-16 18:06:53 +02:00
niggl a85db7cb3f 🚀RELEASE v0.15.1
continuous-integration/drone/push Build is passing
2021-04-16 17:53:38 +02:00
niggl 2bd3779839 Merge pull request '🐞🐳 fix Dockerfile' (#138) from bugfix/136-opacity_reactivity into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #138
2021-04-16 15:51:37 +00:00
philipp 303e33cafb 🐞🐳 fix Dockerfile
ref #136
2021-04-16 17:46:15 +02:00
niggl b4e689dddf Dockerfile now uses selfhosted registry
continuous-integration/drone/push Build is passing
2021-04-15 19:50:37 +02:00
niggl 98a0b036c5 new license file version [CI SKIP] 2021-04-15 17:46:04 +00:00
niggl fb3f30fb10 Merge pull request 'Opacity import fix bugfix/136-opacity_reactivity' (#137) from bugfix/136-opacity_reactivity into dev
continuous-integration/drone/push Build is failing
Reviewed-on: #137
2021-04-15 17:44:49 +00:00
niggl 6213952007 Added bs import fix
ref #136
2021-04-15 19:43:43 +02:00
philipp 07ac041d69 🚚 move to tailwind
ref #136
2021-04-15 19:22:57 +02:00
niggl 5c02028841 🚀RELEASE v0.15.0
continuous-integration/drone/push Build is passing
2021-04-15 18:30:38 +02:00
niggl c561b53670 Merge pull request 'Mark donations as payed feature/133-donation_payments' (#135) from feature/133-donation_payments into dev
continuous-integration/drone/push Build is failing
Reviewed-on: #135
2021-04-15 16:29:39 +00:00
philipp dcd0d5a362 Merge branch 'feature/133-donation_payments' of https://git.odit.services/lfk/frontend into feature/133-donation_payments 2021-04-15 18:27:47 +02:00
philipp 18acac83bc AddDonationModal - vertical alignment for paid status
ref #133
2021-04-15 18:27:35 +02:00
philipp d7d44470bb DonationsOverview contrast on action
ref #133
2021-04-15 18:25:52 +02:00
niggl 0f0aae7ba4 Fixed chante recognition bug for fixed donation
ref #133
2021-04-15 18:21:23 +02:00
niggl 4c0886a5d9 Fixed typo
ref #133
2021-04-15 18:04:03 +02:00
niggl 04a3038369 Added missing updated comparison
ref #133
2021-04-15 16:56:03 +02:00
niggl bdcf5d3fc0 Added payment updating via detail
ref #133
2021-04-15 15:54:14 +02:00
niggl c7a858eed7 Sorted translations
ref #133
2021-04-15 15:42:47 +02:00
niggl de5aa9237d Added **all** missing toast translations
ref #133
2021-04-15 15:42:29 +02:00
niggl d015f97395 Added translations 🌎
ref #113
2021-04-15 15:34:36 +02:00
niggl 57618156b4 Added msiisng runner id conversion
ref #133
2021-04-15 15:30:23 +02:00
niggl 865254d646 Fixed styling
ref #133
2021-04-15 15:25:17 +02:00
niggl 1dbab03fe7 You can now add payments from the donation overview
ref #133
2021-04-15 15:24:31 +02:00
niggl a943aaf5fc You can now open a modal to add a payment to a donation from the donation overview
ref #133
2021-04-15 15:05:05 +02:00
niggl 6e6e8b2617 Added Add Payment button to donor overview
ref #133
2021-04-15 14:40:46 +02:00
niggl 4c2c24af2c Changed top info style for donation overview
ref #133
2021-04-15 14:33:35 +02:00
niggl 3d3a10aafb You can now mark fixed donations as already paid on creation
ref #133
2021-04-15 14:31:24 +02:00
niggl 000fc97beb Changed top info style for donation detail
ref #133
2021-04-15 14:18:28 +02:00
niggl 5645eeaafa Added paid donation amount and status to donation detail
ref #133
2021-04-15 14:17:28 +02:00
niggl 961477d522 Added total donation amount to donation overview
ref #133
2021-04-15 14:12:11 +02:00
niggl a5f71015a6 Added total donation amount to donor detail
ref #133
2021-04-15 14:10:35 +02:00
niggl e42ea943b7 Added total donation amount to donor overview
ref #133
2021-04-15 14:09:23 +02:00
philipp 9c5fc6b61c 🚀RELEASE v0.14.0
continuous-integration/drone/push Build is passing
2021-04-14 19:28:00 +02:00
philipp 302caf015f new license file version [CI SKIP] 2021-04-14 17:27:30 +00:00
philipp e11296071a Merge pull request 'added donor receipt list download to DonorsOverview' (#134) from feature/132-export-donors-receipt-list into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #134
close #132
2021-04-14 17:26:10 +00:00
niggl 112eb29f93 Switched to selfhosted images
ref #132
2021-04-14 19:24:06 +02:00
niggl c6c97516b3 Sorted translations 🌎
ref #132
2021-04-14 19:23:26 +02:00
niggl 03676b2894 Fixed typos in translations
ref #132
2021-04-14 19:23:07 +02:00
philipp 9ca57fac2e bump @odit/lfk-client-js@0.11.0
ref #132
2021-04-14 18:58:57 +02:00
philipp 18f151c1fb general version bump
ref #132
2021-04-14 18:57:14 +02:00
philipp e90e56d8b2 replace donationAmount with paidDonationAmount
ref #132
2021-04-14 18:54:05 +02:00
philipp d241ca5698 added donor receipt list download to DonorsOverview
ref #132
2021-04-14 18:43:51 +02:00
niggl b512cf8667 🚀RELEASE v0.13.1
continuous-integration/drone/push Build is passing
2021-04-11 21:14:03 +02:00
niggl a24d2923c6 For await fix
continuous-integration/drone/push Build is failing
2021-04-11 21:13:44 +02:00
niggl 467808abef 🚀RELEASE v0.13.0
continuous-integration/drone/push Build is failing
2021-04-11 21:08:58 +02:00
niggl 861f1f2216 Merge pull request 'Better org pdf generation feature/130-org_doc_splitting' (#131) from feature/130-org_doc_splitting into dev
continuous-integration/drone/push Build is failing
Reviewed-on: #131
2021-04-11 19:07:53 +00:00
niggl 509b22bea0 Org certificate generation now runs in sequence
ref #130
2021-04-11 21:00:33 +02:00
niggl 7447b2f4c1 Fixed const -> let
ref #130
2021-04-11 20:54:38 +02:00
niggl fef14b6e4f Org card generation now runs in sequence
ref #130
2021-04-11 20:53:58 +02:00
niggl 01d2a7e6aa Org contract generation now runs in sequence
ref #130
2021-04-11 20:48:20 +02:00
niggl ac586fec5a Hotfix: Org * generation🐞
continuous-integration/drone/push Build is passing
2021-04-11 20:17:34 +02:00
niggl 5476808683 Emergency document server url change
continuous-integration/drone/push Build is passing
2021-04-11 20:10:08 +02:00
niggl 331d737796 🚀RELEASE v0.12.5
continuous-integration/drone/push Build is passing
2021-04-08 19:30:20 +02:00
niggl ef81b8adf9 Merge pull request 'Added runner team's parentorg name to runenr overciew' (#129) from feature/128-runner_orgs into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #129
2021-04-08 17:29:27 +00:00
niggl 8a7d635cef Switched to html entity
ref #128
2021-04-08 18:00:47 +02:00
niggl 4c259c1eef Added runner team's parentorg name to runenr overciew
ref #128
2021-04-08 17:58:49 +02:00
philipp 5b4ede5e2f 🚀RELEASE v0.12.4
continuous-integration/drone/push Build is passing
2021-04-08 17:34:32 +02:00
philipp d0ab3dda78 🚑 [HOTFIX] - drop "svelte-infinite-loading"
continuous-integration/drone/push Build is failing
2021-04-08 17:34:04 +02:00
philipp d9cf51b4bb 🚀RELEASE v0.12.3
continuous-integration/drone/push Build is failing
2021-04-08 17:30:23 +02:00
philipp aa17f24220 new license file version [CI SKIP] 2021-04-08 15:28:50 +00:00
philipp cf60edf7d4 Merge pull request 'fix' (#126) from bugfix/125-mobile into dev
continuous-integration/drone/push Build is failing
Reviewed-on: #126
close #125
2021-04-08 15:27:22 +00:00
philipp ffbc243194 custom css fix for collapsed_navigation
ref #125
2021-04-07 21:44:29 +02:00
philipp b6b07cf30c 🐞 bugfix for svelte x tailwind class names
ref #125
2021-04-07 21:35:01 +02:00
philipp 495a6b22bd almost fixed... 2021-04-07 21:28:21 +02:00
philipp 0acaffbdfa fix
ref #125
2021-04-07 20:25:04 +02:00
niggl 6043bc4517 🚀RELEASE v0.12.2
continuous-integration/drone/push Build is failing
2021-04-07 20:11:21 +02:00
niggl e6ed066e3f Merge pull request 'feature/110-virtual_list' (#124) from feature/110-virtual_list into dev
continuous-integration/drone/push Build is failing
Reviewed-on: #124
2021-04-07 18:10:02 +00:00
niggl ee4e8655b8 Merge branch 'dev' into feature/110-virtual_list 2021-04-07 20:09:35 +02:00
philipp 37970d2be6 pre-merge fixes
ref #110
2021-04-07 18:59:46 +02:00
philipp 1376788016 updated virtual scroll list 2021-04-07 18:38:52 +02:00
philipp 4cad86cf85 fixed height table 2021-04-07 18:19:58 +02:00
philipp 6304116edb wip on virtuallist 2021-04-06 22:16:24 +02:00
niggl 834ff8fa63 🚀RELEASE v0.12.1
continuous-integration/drone/push Build is passing
2021-04-06 16:47:37 +02:00
niggl 1f428a535e Merge pull request 'ImportRunnerModal Cancel Button feature/122-import_cancel' (#123) from feature/112-import_cancel into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #123
2021-04-06 14:42:37 +00:00
niggl 0c40966970 Added cancel button for the first stage of runner import
ref #112
2021-04-05 16:23:24 +02:00
niggl 9da071fe9b Escape now triggers foll modal close (including reset) instead of just hiding th modal
ref #112
2021-04-05 16:14:43 +02:00
niggl 892a04f289 🚀RELEASE v0.12.0
continuous-integration/drone/push Build is passing
2021-04-05 16:09:17 +02:00
niggl 27cc9727f1 Fixed package version
continuous-integration/drone/push Build is passing
2021-04-05 16:08:41 +02:00
niggl f0738d451b Merge pull request 'Implmented certificate generation feature/119-Certificate_generation' (#120) from feature/119-Certificate_generation into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #120
2021-04-05 14:05:38 +00:00
niggl 9e6a8daf2c Sorted translations 🌍
ref #119
2021-04-05 16:04:44 +02:00
niggl bfacfec765 The PFS Prefixes now get translated via i18n
ref #119
2021-04-05 16:04:26 +02:00
niggl 0bae5bf32b sponsoring pdf names now include their locale
ref #119
2021-04-05 15:37:12 +02:00
niggl 22b09d16d0 Cleaned up generation strings and added the schem for single runner generations for sponsoring contracts
ref #119
2021-04-05 15:36:01 +02:00
niggl 9c867e106e Cleaned up generation strings and added the schem for single runner generations for cards
ref #119
2021-04-05 15:33:55 +02:00
niggl 304f28a3c1 certificate pdf names now include their locale
ref #119
2021-04-05 15:31:52 +02:00
niggl d65d3793de Changed the basic nameing generation for runenr certificate files
ref #119
2021-04-05 15:31:01 +02:00
niggl 3638d87bd2 Runnercard pdfs now include their locale
ref #119
2021-04-05 15:28:13 +02:00
niggl b97a92860d Fixed wrong permissiong getting checked
ref #119
2021-04-05 15:24:42 +02:00
philipp 7c86a5eeb3 added missing/ wrong translations + formatting!
ref #119
2021-04-05 12:02:18 +02:00
niggl d23dbaaf69 Removed useless console.log
ref #119
2021-04-03 20:05:27 +02:00
niggl e6ffc371e1 Certificate generation from org detail
ref #119
2021-04-03 20:03:57 +02:00
niggl 3177c6eaa3 Certificate generation from org overview
ref #119
2021-04-03 20:02:52 +02:00
niggl acd2f0519d Certificate generation from team detail
ref #119
2021-04-03 20:00:51 +02:00
niggl 18ec100c33 Certificate generation from team overview
ref #119
2021-04-03 19:59:34 +02:00
niggl fa55fce76e Merge branch 'feature/119-Certificate_generation' of git.odit.services:lfk/frontend into feature/119-Certificate_generation 2021-04-03 19:59:20 +02:00
niggl f47d5e347d Copy-paste fix
ref #119
2021-04-03 19:59:18 +02:00
niggl 7488a8b597 Copy-paste fix
ref #119
2021-04-03 19:58:24 +02:00
niggl 2e3ac154be Implemented generation for orgs
ref #119
2021-04-03 19:52:41 +02:00
niggl 2472640755 Implemented generation for teams
ref #119
2021-04-03 19:51:01 +02:00
niggl 7b685d6cad Added certificate generation from runner overview and detail
ref #119
2021-04-03 19:48:31 +02:00
niggl 17f6f4e616 Added i18n
ref #119
2021-04-03 19:46:17 +02:00
niggl 48cfc15cfb Removed useless console log
ref #119
2021-04-03 19:44:57 +02:00
niggl bb9b779cee You can now generate certificates from the runner overview
ref #119
2021-04-03 19:44:26 +02:00
niggl af63ce67ae Added basic certificate generation component
ref #119
2021-04-03 19:38:54 +02:00
philipp 5cc4871ec4 new license file version [CI SKIP] 2021-04-03 17:18:28 +00:00
philipp c8cfe669b8 Merge pull request 'feature/108_vite_migration' (#118) from feature/108_vite_migration into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #118
close #108
2021-04-03 17:17:23 +00:00
philipp 8b74d6d759 bump @odit/lfk-client-js@0.10.1
ref #108
2021-04-03 19:16:53 +02:00
philipp a9227768de 🐞 fix await for esNext
ref #108
2021-04-03 19:13:05 +02:00
philipp d966e1d4de Merge branch 'dev' into feature/108_vite_migration
# Conflicts:
#	index.html
#	package.json
#	public/licenses.json
#	src/App.svelte
#	src/components/orgs/OrgOverview.svelte
#	src/components/teams/TeamsOverview.svelte
2021-04-03 19:10:10 +02:00
philipp ceb2146c1b 🔨 dev container open
ref #108
2021-04-03 18:31:03 +02:00
philipp 8d006d8c74 version bump: vite-plugin-windicss@0.12.2
ref #108
2021-04-03 18:22:00 +02:00
philipp 777304f259 🔨🔥 alpine based devcontainer with working yarn PnP
ref #108
2021-04-02 21:57:56 +02:00
philipp 12433f7c23 🧹 reorder + fix package
ref #108
2021-04-02 21:56:57 +02:00
philipp 44b53da345 🚚 move @svitejs/vite-plugin-svelte to @sveltejs/vite-plugin-svelte
ref #108
2021-04-02 21:47:43 +02:00
philipp ab45fc144e upgrade vite-plugin-windicss@0.12.1
ref #108
2021-04-02 21:20:48 +02:00
philipp e99e9e0708 update licenses.json
ref #108
2021-04-02 21:20:05 +02:00
philipp 467404bfc8 🐞 fix main.js linking
ref #108
2021-04-02 21:19:49 +02:00
philipp ce50fa2a62 🧹 drop unused dependencies
ref #108
2021-04-02 21:19:29 +02:00
philipp 10a011d842 🐞 fix vite config for production system
ref #108
2021-04-02 21:07:16 +02:00
philipp 5352410d0c 🐞 fix NGINX config
ref #108
2021-04-02 21:06:57 +02:00
philipp c5d155396a 💾 prevent env.js from being cached
ref #108
2021-04-01 19:35:27 +02:00
philipp 93187099d3 🔨 re-added VS Code devcontainer config
ref #108
2021-04-01 19:35:10 +02:00
philipp aa24b1dce5 📃 added readme
ref #108
2021-04-01 19:32:10 +02:00
philipp eb3ede9593 fix dev script
ref #108
2021-04-01 19:30:31 +02:00
philipp d7fecfbd0b version bumps
ref #108
2021-04-01 19:30:15 +02:00
philipp b065b4ff21 📍 version bump + pin
ref #108
2021-03-30 18:36:20 +02:00
niggl 87370d24be Merge branch 'dev' of git.odit.services:lfk/frontend into dev
continuous-integration/drone/push Build is passing
2021-03-30 18:29:03 +02:00
niggl 8f8b9988ad new license file version [CI SKIP] 2021-03-30 16:29:19 +00:00
niggl f8ccf4f5d8 🚀RELEASE v0.11.0 2021-03-30 18:28:53 +02:00
niggl 25d8b86efd Merge pull request 'Generate and print bulk blank cards feature/116-download_blanc_cards' (#117) from feature/116-download_blanc_cards into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #117
2021-03-30 16:27:48 +00:00
philipp 0cd3e937d8 bump vite to 2.1.3
ref #108
2021-03-30 18:21:18 +02:00
niggl 89bb9c215e Sorted translations
ref #116
2021-03-29 18:52:25 +02:00
niggl 2d18686ce7 Bumped lfk client js version
ref #116
2021-03-29 18:52:10 +02:00
niggl 1d999d4910 Now returning cards on creation with pdf
ref #116
2021-03-29 18:23:17 +02:00
niggl 7dfaa7579a Bumped lfk-client-js
ref #116
2021-03-29 18:15:00 +02:00
niggl 08cb079e97 Fixed button styling
ref #116
2021-03-29 17:57:34 +02:00
niggl 450aa83592 Merge branch 'feature/116-download_blanc_cards' of git.odit.services:lfk/frontend into feature/116-download_blanc_cards
# Conflicts:
#	src/components/cards/AddCardBulkModal.svelte
2021-03-29 17:47:18 +02:00
niggl 0614c76e92 Added button (including translations
ref #116
2021-03-29 17:46:56 +02:00
niggl 97e338f9d4 Added button (including translations
ref #116
2021-03-29 17:46:51 +02:00
niggl 636f018daa Added comment
ref #116
2021-03-29 17:44:59 +02:00
niggl c8d639024a Added function for generating cards with pdf
ref #116
2021-03-29 17:44:30 +02:00
philipp 6be2ee626a package cleanup 2021-03-26 21:22:46 +01:00
niggl f7fc1967a5 🚀RELEASE v0.10.0
continuous-integration/drone/push Build is passing
2021-03-26 20:07:14 +01:00
niggl aedb8a765b new license file version [CI SKIP] 2021-03-26 19:06:59 +00:00
niggl cf58bd15c3 Bumped lfk-client version 🔝
continuous-integration/drone/push Build is passing
2021-03-26 20:05:26 +01:00
niggl 34f4f68524 new license file version [CI SKIP] 2021-03-26 19:04:28 +00:00
niggl 09b8144080 Merge pull request 'Implemented password strength test feature/106-password_strength' (#115) from feature/106-password_strength into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #115
2021-03-26 19:03:03 +00:00
niggl f1e6fb4ce7 Merge branch 'dev' into feature/106-password_strength 2021-03-26 19:59:47 +01:00
niggl 2ca63fd1f6 🚀RELEASE v0.9.1
continuous-integration/drone/push Build is passing
2021-03-26 19:59:29 +01:00
niggl a5d25e7d92 Merge pull request 'Org selfservice Link feature/112-org_registration_links' (#114) from feature/112-org_registration_links into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #114
2021-03-26 18:58:34 +00:00
niggl 4167819e7a Formatting🛠
ref #106
2021-03-26 19:52:31 +01:00
niggl 5bd3a463f0 Sorted translations 🌍
ref #106
2021-03-26 19:51:57 +01:00
niggl 79c447b4c6 Added translations
ref #106
2021-03-26 19:51:27 +01:00
niggl 540304f947 User creation can now only be triggered if pw is strong enoug
ref #106
2021-03-26 19:48:42 +01:00
niggl 75d8f7331b Reset can now only be triggered if pw is strong enoug
ref #106
2021-03-26 19:47:26 +01:00
niggl b2509e9e53 Module now exports functions that check if a password is strong enough and equal to a potential confirmation field
ref #106
2021-03-26 19:45:53 +01:00
niggl 7862f44653 Now using pw strength component for user creation
ref #106
2021-03-26 19:31:21 +01:00
niggl 962dd0c1bb Added missing exports
ref #106
2021-03-26 19:29:47 +01:00
niggl 5d5f7c7f5c Now using pw strength component for reset
ref #106
2021-03-26 19:29:37 +01:00
niggl 6aaf838451 Now using pw strength component
ref #106
2021-03-26 19:29:25 +01:00
niggl ad3bd312e9 Added a password strength verification
ref #106
2021-03-26 19:26:26 +01:00
niggl 5fa9939696 Added more cirteria to the password strength component
ref #106
2021-03-26 19:02:09 +01:00
niggl 4956bb0e9c Implemented a custom password strength component
ref #106
2021-03-26 18:47:24 +01:00
niggl c074c12be7 Sorted translations
ref #112
2021-03-26 18:11:49 +01:00
niggl ddbc293e9c Added translations
ref #112
2021-03-26 18:11:23 +01:00
niggl a3921b45c7 Copy now 100% worX
ref #112
2021-03-26 18:11:10 +01:00
niggl 38e1c8c5a1 Merge branch 'feature/112-org_registration_links' of git.odit.services:lfk/frontend into feature/112-org_registration_links 2021-03-26 18:04:08 +01:00
niggl c2d29ff233 Added check if key exists
ref #112
2021-03-26 18:04:05 +01:00
niggl 2316baa898 Added check if key exists 2021-03-26 18:03:58 +01:00
niggl f185d559c0 Formatting
ref #112
2021-03-26 18:01:34 +01:00
niggl 73d95bc004 Fixed changes in wrong file
ref #112
2021-03-26 18:01:17 +01:00
niggl fcd55f89d7 You can now copy the selfservice links to your clipboard
ref #112
2021-03-26 17:59:46 +01:00
niggl f9fe793573 Added checkbox to enable registration
ref #112
2021-03-26 17:37:54 +01:00
niggl bc36411993 Merge branch 'main' into dev
continuous-integration/drone/push Build is passing
2021-03-26 16:17:51 +00:00
niggl 48506236bf Merge branch 'dev' of git.odit.services:lfk/frontend into dev
continuous-integration/drone/push Build is passing
2021-03-26 17:15:51 +01:00
niggl ded9b589fe new license file version [CI SKIP] 2021-03-26 16:16:10 +00:00
niggl 67c3732fad 🚀RELEASE v0.9.0 2021-03-26 17:15:42 +01:00
niggl 2932f4591e Merge pull request 'Runner cards feature/94-runnercard_mgnt' (#111) from feature/94-runnercard_mgnt into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #111
2021-03-26 16:14:45 +00:00
philipp df53c07450 CardsOverview - move to 'enabled' language key
ref #94
2021-03-26 17:13:55 +01:00
philipp 40899e9d80 drop console log - CardDetailModal
ref #94
2021-03-26 17:13:38 +01:00
philipp f794af0950 ✒ typo - "Geb" -> "Gebe"
ref #94
2021-03-26 17:01:40 +01:00
niggl 1665a1a093 Sorted translations 🌍
ref #94
2021-03-26 16:22:10 +01:00
niggl 4a36fb6d95 Added card generation/printing from detail
ref #94
2021-03-26 16:21:46 +01:00
niggl acf78a8822 Added a new runenrcard logo
ref #94
2021-03-26 16:12:40 +01:00
niggl f5c1ec9939 Fixed counting bug
ref #94
2021-03-26 16:05:49 +01:00
niggl 4b3d38b05b Now with working org runenrcard generation
ref #94
2021-03-26 16:05:39 +01:00
niggl 23e0b53107 Added runnercard generation for teams
ref #94
2021-03-26 15:58:39 +01:00
niggl c907486c4d Working runner runnercard generation
ref #94
2021-03-26 15:53:04 +01:00
niggl 6b5945add8 Added translations
ref #94
2021-03-26 15:34:38 +01:00
niggl 55693de934 Removed debug info
ref #94
2021-03-26 15:34:01 +01:00
niggl d467475b6d Basic card generation worX 🎉🎉
ref #94
2021-03-26 15:32:27 +01:00
niggl 44bc14820f Fuggin snowpack bs
ref #94
2021-03-26 14:47:56 +01:00
niggl ec447e2e36 Merge branch 'dev' into feature/94-runnercard_mgnt 2021-03-25 20:30:31 +01:00
niggl 0af2647965 🚀RELEASE v0.8.7
continuous-integration/drone/push Build is passing
2021-03-25 20:30:06 +01:00
niggl 08442154f4 Fixed listen on wrong permission🐞
continuous-integration/drone/push Build is failing
2021-03-25 20:29:33 +01:00
niggl 9f7d2234fb Formatting
ref #94
2021-03-25 20:22:01 +01:00
niggl ddd82a71a7 Moved the pdf generation related componenets to their own folder
ref #94
2021-03-25 20:20:21 +01:00
niggl 014ba3bf67 Teams now use the new sponsoring contracts module
ref #94
2021-03-25 20:17:48 +01:00
niggl c87321f804 Fixed org generation not hiding the generation toast
ref #94
2021-03-25 20:12:32 +01:00
niggl 8b451b3c67 Orgs now use the new sponsoring contracts module
ref #94
2021-03-25 20:09:43 +01:00
niggl 0cfc87fbe6 Moved contract generation to it's own component
ref #94
2021-03-25 20:06:35 +01:00
niggl ae9673070c Now w/ working dialog🎉🎉🎉
ref #94
2021-03-25 19:14:15 +01:00
philipp 008027db0e added windicss settings for VSCode
ref #108
2021-03-25 18:57:33 +01:00
philipp aec5e3473e for await fix - ViteJS
ref #108
2021-03-25 18:56:18 +01:00
philipp 95c8fde72f updated default entrypoint
ref #108
2021-03-25 18:56:02 +01:00
philipp 0f32968fae 🐳 new Dockerfiles
ref #108
2021-03-25 18:55:43 +01:00
philipp ae79e9fea1 basic ViteJS migration
ref #108
2021-03-25 18:55:24 +01:00
niggl 1a52aaf8d1 Moved modal import to overview for simplification
ref #94
2021-03-25 18:55:16 +01:00
niggl d6c315ab8e Sorted translations 🌍
ref #94
2021-03-25 18:39:03 +01:00
niggl 983ce56048 Merge branch 'dev' into feature/94-runnercard_mgnt
# Conflicts:
#	src/locales/de.json
#	src/locales/en.json
2021-03-25 18:38:31 +01:00
niggl de2fe0e9f1 Sorted translations
ref #94
2021-03-25 18:36:51 +01:00
niggl c3c95bf291 🚀RELEASE v0.8.6
continuous-integration/drone/push Build is passing
2021-03-25 18:32:22 +01:00
niggl d2050b5948 Merge pull request 'Know Production Bugs 🐞' (#109) from bugfix/107-prod_issues into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #109
2021-03-25 17:30:27 +00:00
niggl 6b92405bae Removed middlename search from all files that had it
ref #107
2021-03-25 18:19:44 +01:00
niggl 49e87ccb15 Now disabled search by middlename as a quick workaround 🐞
ref #107
2021-03-25 18:16:12 +01:00
niggl 50fffef13b Fixed conflicting css
ref #107
2021-03-25 18:06:28 +01:00
niggl 82b1811971 Sorted translations 👀
ref #107
2021-03-25 18:00:11 +01:00
niggl aeadef60bb Fixed missing translations for scanstations🌍
ref #107
2021-03-25 17:59:50 +01:00
niggl a1ab65a0e9 Sorted translations🌍
ref #107
2021-03-25 17:49:13 +01:00
niggl 17e0805fe6 Errors now toast errors
ref #107
2021-03-25 17:48:54 +01:00
niggl ddd9c396b6 Fixed runner import getting triggered with invalid information
ref #107
2021-03-25 17:46:14 +01:00
niggl ef49e507c1 Fixed outsideclick not clearing import modal🛠
ref #107
2021-03-25 17:34:25 +01:00
niggl fbe74a5d80 Commented out the buggy runner search to prevent bad UX
ref #107
2021-03-25 17:31:53 +01:00
niggl 076893981f Fixed mail login bug🐞📧
ref #107
2021-03-25 17:27:38 +01:00
niggl fac059f02c Now w/working editing
ref #94
2021-03-24 16:58:06 +01:00
niggl 0313f8cc49 Added runnercard detail/edit modal
ref #94
2021-03-24 16:43:05 +01:00
niggl 7ad6b73574 Implemented bulk creation
ref #94
2021-03-23 19:55:55 +01:00
niggl 3cd0468b19 Bumped lfk client lib version
ref #94
2021-03-23 18:57:13 +01:00
niggl f46ccb610e Added bulk creation modal to cards view
ref #94
2021-03-23 18:41:00 +01:00
niggl 8a32569a3b Added bulk card creation modal
ref #94
2021-03-23 18:35:21 +01:00
niggl 535b23ae91 Implemented Add card modal
ref #94
2021-03-23 17:58:13 +01:00
niggl 4715978f81 Added message for missing runner/blanco card)
ref #94
2021-03-23 17:39:14 +01:00
niggl a516aa7775 Formatting
ref #94
2021-03-23 17:34:25 +01:00
niggl 77e9c205f9 Now importing runner overview
ref #94
2021-03-23 17:34:01 +01:00
niggl e852305400 Now routing the cards page
ref #94
2021-03-23 17:31:11 +01:00
niggl c6a15264b3 Added basic card overview
ref #94
2021-03-23 17:29:21 +01:00
niggl 2d0beaaaad Added CardsEmptyState + Emtystate graphic
ref #94
2021-03-23 17:19:10 +01:00
niggl 5c5ef95d2b Added basic cards page
ref #94
2021-03-23 17:13:31 +01:00
niggl e838e6f321 🚀RELEASE v0.8.5
continuous-integration/drone/push Build is passing
2021-03-20 18:47:28 +01:00
niggl ca983c72d4 Merge branch 'dev' of git.odit.services:lfk/frontend into dev 2021-03-20 18:47:08 +01:00
niggl 91dd5256e9 Fixed dupliacate mutation 🐞 2021-03-20 18:47:06 +01:00
philipp 3d4dc2d72b 🚀RELEASE v0.8.4
continuous-integration/drone/push Build is passing
2021-03-20 18:31:46 +01:00
philipp ba3471068a CONFIG: add 'demo' as default username/password 2021-03-20 18:31:31 +01:00
philipp 5a7b2cf886 Merge branch 'dev' of https://git.odit.services/lfk/frontend into dev 2021-03-20 18:27:18 +01:00
philipp cc926e84fb CONFIG: default_username + default_password 2021-03-20 18:27:15 +01:00
niggl fff16e6650 🚀RELEASE v0.8.3
continuous-integration/drone/push Build is passing
2021-03-20 17:51:24 +01:00
niggl d6f6d10cb6 Sorted translation 🌍 2021-03-20 17:50:56 +01:00
niggl 1249904582 More small fixes 2021-03-20 17:50:38 +01:00
niggl 8e0437728b Smaller bugfixes 2021-03-20 17:41:44 +01:00
niggl fb0c0718e4 🚀RELEASE v0.8.2
continuous-integration/drone/push Build is passing
2021-03-20 17:29:35 +01:00
niggl aa8196db3a Now using env base url
continuous-integration/drone/push Build is failing
2021-03-20 17:29:15 +01:00
philipp b2223b5110 🚀RELEASE v0.8.1
continuous-integration/drone/push Build is passing
2021-03-20 17:08:08 +01:00
philipp 3837c5673a Merge branch 'dev' of https://git.odit.services/lfk/frontend into dev
continuous-integration/drone/push Build is passing
2021-03-20 17:04:43 +01:00
philipp 910a0860a0 CI - add build:tags pipeline 2021-03-20 17:04:29 +01:00
niggl 009431fb98 🚀RELEASE v0.8.0
continuous-integration/drone/push Build is passing
2021-03-20 16:47:48 +01:00
niggl 579ece6256 new license file version [CI SKIP] 2021-03-20 14:03:04 +00:00
niggl 822e97d3c3 Merge pull request 'User settings feature/103-settings_page' (#104) from feature/103-settings_page into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #104
2021-03-20 14:01:31 +00:00
philipp e0ae2ec42b Settings - rouded corners on password change
ref #103
2021-03-20 15:00:43 +01:00
niggl 859f6e2567 Now also resetting postdata (prevent against password leaks)
ref #103
2021-03-19 19:20:31 +01:00
niggl 120d3c9dc8 Sorted translations🌍
ref #103
2021-03-19 19:19:34 +01:00
niggl 342a95ddbe Now force reloading to log out
ref #103
2021-03-19 19:18:56 +01:00
niggl 0b6134dd80 Added hint to the logout after password update
ref #103
2021-03-19 19:17:16 +01:00
niggl e76854c23b Added translations
ref #103
2021-03-19 19:14:23 +01:00
niggl 24b98983cf Implemented the password change logic
ref #103
2021-03-19 19:14:12 +01:00
niggl 3945f3cf38 Added translations 🌍
ref #103
2021-03-19 19:08:43 +01:00
niggl 5d7eb690e4 Added inputs for password update
ref #103
2021-03-19 19:03:29 +01:00
niggl bef180f4ba Removed useless debug info 🐞
ref #103
2021-03-19 18:53:06 +01:00
niggl e76e5abcf8 Fixed delete_triggered not getting reset
ref #103
2021-03-19 18:50:15 +01:00
niggl 418f9c2662 Added delete Profile button
ref #103
2021-03-19 18:19:05 +01:00
niggl 716b72880a Added deletion confirmation modal
ref #103
2021-03-19 18:12:30 +01:00
niggl 5de0fd792f Its translation time 🌍
ref #103
2021-03-19 18:10:40 +01:00
niggl 13b557aba8 Added new profile deletion modal
ref #103
2021-03-19 18:07:59 +01:00
niggl 34dfc9add6 Added translations🌍
ref #103
2021-03-19 18:02:38 +01:00
niggl 3a4575f251 Implemented profile updates
ref #103
2021-03-19 18:01:09 +01:00
niggl 178c2579d5 Updated old endpoints
ref #103
2021-03-19 17:54:52 +01:00
niggl 50be992b72 Bumped lfk client js version
ref #103
2021-03-19 17:49:48 +01:00
niggl d00f46eee1 Now showing logo as default profile pic
ref #103
2021-03-19 17:48:46 +01:00
niggl 44d6cba403 Added missing translation
ref #103
2021-03-19 17:47:51 +01:00
niggl 37bc5ff17b Implemented change detection
ref #103
2021-03-19 17:31:45 +01:00
niggl e459bb04cc The settings page now boasts your profile picture
ref #103
2021-03-19 17:17:57 +01:00
niggl 01eba88adf Translated headers
ref #103
2021-03-19 16:45:09 +01:00
niggl 016fba5279 Moved settings to their own folder
ref #103
2021-03-19 16:43:39 +01:00
niggl da5d62ae03 🚀RELEASE v0.7.0
continuous-integration/drone/push Build is passing
2021-03-19 16:27:06 +01:00
niggl eb46c5eea6 new license file version [CI SKIP] 2021-03-19 15:26:10 +00:00
niggl 100094e803 Merge pull request 'i18n fixed + dependency bumps bugfix/99-i18n_run' (#102) from bugfix/99-i18n_run into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #102
2021-03-19 15:24:53 +00:00
niggl e723cbf3b3 sorted translations 🌍
ref #99
2021-03-19 15:13:00 +01:00
niggl 00d16ef59f Found a hiddeen missing key👀👀
ref #99
2021-03-19 15:12:38 +01:00
niggl 5204ba5e24 Bumped svelte-related dev dependencies🔥
ref #99
2021-03-18 20:24:21 +01:00
niggl 629aabd3a3 Bumped non-svelte dev dependencies🔝
ref #99
2021-03-18 20:22:07 +01:00
niggl 1b9b9ed372 Bumped router
ref #99
2021-03-18 20:15:46 +01:00
niggl b4e7f9046c Bumped svelte-* dependencies (non-dev)🔝
ref #99
2021-03-18 20:12:30 +01:00
niggl f09224d5c0 Removed lodash as a dependency 🗑
ref #99
2021-03-18 20:10:09 +01:00
niggl 5f6ee33e2b Sorted translations 🌎🌍
ref #99
2021-03-18 20:07:35 +01:00
niggl 635e2ba0e0 Added german translations for the new keys
ref #99
2021-03-18 20:07:06 +01:00
niggl 6109996ade Added missing language keys
ref #99
2021-03-18 20:04:54 +01:00
niggl e4b80c9ab3 Translated missing german stuff 🌍
ref #99
2021-03-18 19:52:54 +01:00
niggl 7521ad8bbb new license file version [CI SKIP] 2021-03-18 17:53:53 +00:00
niggl b994065e18 Merge pull request 'Scan management feature/92-scan_mgnt' (#101) from feature/92-scan_mgnt into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #101
2021-03-18 17:52:30 +00:00
niggl 5b1b84caff Merge branch 'feature/92-scan_mgnt' of git.odit.services:lfk/frontend into feature/92-scan_mgnt 2021-03-18 18:33:06 +01:00
niggl d28a0e1dbb Fix for bug discovered by @philipp
ref #92
2021-03-18 18:33:04 +01:00
niggl 94d52df322 Fix for bug discovered by @philipp
ref #92
2021-03-18 18:32:08 +01:00
niggl 0ae3d36f0c Merge branch 'dev' into feature/92-scan_mgnt 2021-03-18 17:30:57 +01:00
niggl a7fb2b8a1a Merge pull request 'Svelte select dropdown fix bugfix/98-dropdowns' (#100) from bugfix/98-dropdowns into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #100
2021-03-18 16:30:11 +00:00
niggl 16d0dbab5b Sorted translations 🌎
ref #92
2021-03-18 17:28:59 +01:00
niggl 99c3050411 Added translation keys 2021-03-18 17:28:40 +01:00
niggl 937265e828 Added patime to track scan detail
ref #92
2021-03-18 17:28:12 +01:00
niggl 60cd52a959 Merge branch 'bugfix/98-dropdowns' of git.odit.services:lfk/frontend into bugfix/98-dropdowns 2021-03-18 17:24:29 +01:00
niggl b009501a53 Fixed runner group update recognition being weired
ref #98
2021-03-18 17:24:27 +01:00
niggl ee49e78dcd Fixed runner group update recognition being weired
ref #09
2021-03-18 17:24:22 +01:00
niggl 60aa919b14 Added language keys🌎
ref #92
2021-03-18 17:17:15 +01:00
niggl 8252a35771 Reset array
ref #92
2021-03-18 17:10:32 +01:00
niggl fc668c6880 Removed useless console.logs
ref #92
2021-03-18 17:09:44 +01:00
niggl bb7f2a611a Bumped lfk lib version
ref #92
2021-03-18 17:05:32 +01:00
niggl c575c73764 Fixed load order bug
ref #98
2021-03-18 17:02:04 +01:00
niggl bd3ea721c3 Switched import modal over to svelte select
ref #98
2021-03-18 16:24:59 +01:00
niggl 82423ec467 Fixed select bug for org detail 🏠
ref #98
2021-03-18 16:17:21 +01:00
niggl 64311e9652 Fixed select bug for sponsoring detail 🛠
ref #98
2021-03-18 16:08:56 +01:00
niggl 77662b9c19 Fixed select bug for sponsoring modal 🐞
ref #98
2021-03-18 16:04:20 +01:00
niggl b1031e3115 Switched the scanstation detail over to svelte select👀👀
ref #98
2021-03-18 15:56:18 +01:00
niggl 64c96f25d4 Switched the scanstation modal over to svelte select👀👀
ref #98
2021-03-18 15:50:15 +01:00
niggl 5ad42d6ca7 Added select workaround for all things team🏠
ref #98
2021-03-18 15:47:16 +01:00
niggl 0386d4e88a Applied the select fix to all things runner 🏃‍♀️🏃‍♂️
ref #98
2021-03-18 15:35:39 +01:00
niggl cda4512822 Implemented svelt select bug workaround for scan detail🔥🔥🔥
ref #92
2021-03-18 15:17:07 +01:00
niggl eb6af4b4f0 Svelte select is now 100% keyboard useable (or at least in one modal it is....)
ref #92
2021-03-18 14:59:11 +01:00
niggl 4e51b128e6 Fixed visual bug (overflow)
ref #92
2021-03-18 14:41:13 +01:00
niggl 0277263f98 Bumped svelte select version
ref #92
2021-03-18 14:28:29 +01:00
niggl 99fb420d58 Removed depreciated information
ref #92
2021-03-18 14:28:11 +01:00
niggl a45c5da0a7 Fixed broken change detection
ref #92
2021-03-18 13:50:37 +01:00
niggl ff1bc8a44a Fixed bugs with stuff not being displayed🛠
ref #92
2021-03-17 20:02:04 +01:00
niggl 284bdc6e33 Advanced Scan detail
ref #92
2021-03-17 18:21:58 +01:00
niggl 107360cd93 Basic scan detail
ref #92
2021-03-17 17:53:59 +01:00
niggl abf9aa475b Now routing scan detail
ref #92
2021-03-17 17:53:36 +01:00
niggl 6156e04eb3 Merge branch 'dev' into feature/92-scan_mgnt 2021-03-17 17:18:32 +01:00
niggl b541c93797 Merge pull request 'Make dropdowns (selects) searchable feature/91-searchable_dropdowns' (#97) from feature/91-searchable_dropdowns into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #97
2021-03-17 16:05:20 +00:00
niggl 6fd6413d6f Merge branch 'feature/91-searchable_dropdowns' of git.odit.services:lfk/frontend into feature/91-searchable_dropdowns 2021-03-17 17:02:42 +01:00
niggl dfa38d3421 Small bugfixes
ref #91
2021-03-17 17:02:40 +01:00
niggl 6e04b71c1a Small bugfixes
ref #91
2021-03-17 17:01:09 +01:00
niggl 5afa541b30 Added formatted laptime
ref #92
2021-03-17 14:21:02 +01:00
niggl 9e5a093a3a Added new scan icon to add scan modal
ref #92
2021-03-17 14:05:31 +01:00
niggl 2cf8e0291a Added scans to sidebar (including a new icon)
ref #92
2021-03-17 14:04:34 +01:00
niggl 53aa3bc3ae Adjusted filter
ref #92
2021-03-17 14:00:51 +01:00
niggl 1ada5d9c2c Implemented basic scan creation
ref #92
2021-03-17 13:58:31 +01:00
niggl eb0910be57 Added basic scan overview
ref #92
2021-03-17 13:49:51 +01:00
niggl e9d5527482 Fixed emptystate 🛠
ref #92
2021-03-17 13:35:17 +01:00
niggl e6df764562 Fixed typo✏
ref #92
2021-03-17 13:32:35 +01:00
niggl 915bbbbde0 Now routing scans "start" page
ref #92
2021-03-17 13:32:05 +01:00
niggl f67e089ff3 Added basic files for scans
ref #92
2021-03-17 13:29:52 +01:00
niggl b841cc8b95 Reapplied change from dev
ref #91
2021-03-17 11:15:17 +01:00
niggl 5f4b4baadb Merge branch 'dev' into feature/91-searchable_dropdowns
# Conflicts:
#	src/locales/de.json
#	src/locales/en.json
2021-03-17 11:14:38 +01:00
niggl 94b5a54655 Merge branch 'dev' into feature/91-searchable_dropdowns 2021-03-17 11:14:10 +01:00
niggl 95eb8b6ae4 Sorted translations
ref #91
2021-03-17 11:14:04 +01:00
niggl 8acbfa8967 Added translations 🌎
ref #91
2021-03-17 11:13:51 +01:00
niggl 1a115a8423 Small bugfix 🛠
ref #91
2021-03-17 11:09:53 +01:00
niggl 5a2172bb9b Now checking selectables for not being null
ref #91
2021-03-17 11:09:32 +01:00
niggl 6b590671bc Org detail now uses svelte select
ref #91
2021-03-17 11:02:43 +01:00
niggl cee1ab1347 Runner detail now uses svelte select🔥🔥
ref #91
2021-03-17 10:55:25 +01:00
niggl 9d0c6b9ef4 formatting
ref #91
2021-03-17 10:50:26 +01:00
niggl 0e682bf630 Add runner now uses svelte-select 2021-03-17 10:50:13 +01:00
niggl 8b95b300e2 MAde detail editable through the more reacctive process
ref #91
2021-03-17 10:41:24 +01:00
niggl e1bd364278 Formatting 2021-03-17 10:30:27 +01:00
niggl 7edc3427e1 Added contact selection via svelte select
ref #91
2021-03-17 10:29:20 +01:00
niggl d3a3de2eac Fixed initial select value
ref #91
2021-03-17 10:16:22 +01:00
niggl bc2a8caf3e Removed console log 🤫
ref #91
2021-03-17 10:16:02 +01:00
niggl d00446dc7b Merge pull request 'Scan station management feature/93-scan_stations' (#95) from feature/93-scan_stations into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #95
2021-03-15 15:55:28 +00:00
niggl 40ada1c31e Merge branch 'dev' into feature/93-scan_stations
# Conflicts:
#	src/locales/de.json
2021-03-15 16:55:14 +01:00
niggl f24b2b9b4c Applied Docker MTU fix 🛠
continuous-integration/drone/push Build is passing
2021-03-15 16:05:43 +01:00
niggl 2a644d7070 Now using svelte-select
ref #91
2021-03-15 16:05:06 +01:00
niggl ee0c1496e6 Added clear event
ref #91
2021-03-15 16:04:47 +01:00
niggl 1da15783d5 Add Team now uses the new select
ref #91
2021-03-14 20:25:58 +01:00
niggl 6a925cb27f Bugfix for download button dropdown outsideclick
ref #91
2021-03-14 20:25:41 +01:00
niggl 88ad64f113 Added translation strings
ref #91
2021-03-14 19:42:52 +01:00
niggl 1bc840430f Added missing clear
ref #91
2021-03-14 19:42:41 +01:00
niggl 76be8d5a87 New fancy selects for donation details
ref #91
2021-03-14 19:08:56 +01:00
niggl 8c4a54eb07 Added translations for runner searching
ref #91
2021-03-14 17:25:20 +01:00
niggl dab5bee3c0 Added new select for runners
ref #91
2021-03-14 17:25:06 +01:00
niggl bc8548fa1e Merge branch 'dev' into feature/91-searchable_dropdowns 2021-03-14 17:20:46 +01:00
niggl 476f919121 Sorted translations
ref #91
2021-03-14 17:20:35 +01:00
niggl 1c330d0301 Added custom placeholders
ref #91
2021-03-14 17:20:18 +01:00
niggl 47f0cd0b58 Added search languagke keys
ref #91
2021-03-14 17:19:15 +01:00
niggl f97be4e729 Added custom filter/search
ref #91
2021-03-14 17:09:51 +01:00
niggl 48b8dfe973 Now with custom label generation functions
ref #91
2021-03-14 17:04:09 +01:00
niggl 64b6c4d5f7 Merge pull request 'Well that was less work than expected ....' (#96) from feature/90-translations into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #96
2021-03-14 15:31:14 +00:00
niggl fe16c66cf2 New select
ref #91
2021-03-13 14:45:27 +01:00
niggl 8d8695ba13 Well that was less work than expected ....
ref #90
2021-03-13 14:11:55 +01:00
niggl e296256332 Merge branch 'dev' into feature/93-scan_stations 2021-03-12 18:55:32 +01:00
niggl 65111e87c1 Updated ci secrets and type
continuous-integration/drone/push Build is passing
ref odit/org#12
2021-03-12 18:53:49 +01:00
niggl 95b1490f84 Added fancier active states
ref #93
2021-03-12 18:23:53 +01:00
niggl 27a1f57ed3 Added cursor-pointer
ref #93 https://pointerpointer.com/
2021-03-12 18:21:39 +01:00
niggl c6db6c5535 Fixed case sensitivity
ref #93
2021-03-12 18:20:35 +01:00
niggl bd22d3be36 Spelling
#93
2021-03-12 18:17:06 +01:00
niggl ba9d4587cb Switched pipeline type to kubernetes
ref odit/org#12 (comment)
2021-03-10 20:06:39 +01:00
niggl 74c042a86b Sorted translations
ref #93
2021-03-10 20:04:24 +01:00
niggl 95fcd1dcc4 Added german translation 🇩🇪
ref #93
2021-03-10 20:04:07 +01:00
niggl 2de861d4c1 Added "tooltip"
ref #93
2021-03-10 20:03:18 +01:00
niggl e6d80c8ccb Added german translations 🇩🇪
ref #93
2021-03-10 20:01:39 +01:00
niggl 1aa2b3b065 Added new translation keys 🌍
ref #93
2021-03-10 19:57:36 +01:00
niggl 88566719ec Added station token copy modal
ref #93
2021-03-10 19:55:32 +01:00
niggl 870e772da2 Fixed emptystate svg
ref #93
2021-03-10 18:13:20 +01:00
niggl e8e3ddceff Added icon 🖼
ref #93
2021-03-10 18:12:04 +01:00
niggl a5d1b76891 Sorted translations 👀
ref #93
2021-03-10 18:06:23 +01:00
niggl e93f4e99f9 Added german translations
ref #93
2021-03-10 18:05:17 +01:00
niggl 50aa891709 i18n run: Added keys 🌍
ref #93
2021-03-10 18:01:09 +01:00
niggl 4b47e70b13 Added scanstations to sidebar
ref #93
2021-03-10 17:53:19 +01:00
niggl c4acf774ec You can now delete a station from it's detail
ref #93
2021-03-10 17:46:19 +01:00
niggl 7ff1d50079 Spelling+Formatting
ref #93
2021-03-10 17:43:59 +01:00
niggl 258b3cea66 Added scanstation detail
ref #93
2021-03-10 17:43:32 +01:00
niggl a3daa2d24f Now routing scan station detail
ref #93
2021-03-10 17:38:56 +01:00
niggl 9f754ef0e9 Added station deletion confirmation dialog
ref #93
2021-03-10 17:24:51 +01:00
niggl 773fbfc579 Changed row order
ref #93
2021-03-10 17:18:45 +01:00
niggl 85fa9d942e Finished scanstations base view
ref #93
2021-03-10 17:16:50 +01:00
niggl 83e782c7c5 Finished scanstationmodal (without i18n)
ref #93
2021-03-10 17:16:14 +01:00
niggl 9ee768551f Basic scanstation creation
ref #93
2021-03-10 17:10:51 +01:00
niggl e45f8fa9ef You can now add scanstations
ref #93
2021-03-10 17:06:22 +01:00
niggl 891ea2da12 Fixed routing
ref #93
2021-03-10 17:05:59 +01:00
niggl 5e417f0714 Fixed nameing
ref #93
2021-03-10 16:52:08 +01:00
niggl c53b579fca Added basic table for scanstations
ref #93
2021-03-10 16:51:57 +01:00
niggl ca9c390bb2 Now routing scan statins overview
ref #93
2021-03-10 16:41:29 +01:00
niggl 7d654f4a20 new license file version [CI SKIP] 2021-03-01 16:46:03 +00:00
niggl b810bb01db Merge pull request 'Spnonsoring contract language selector feature/84-sponsoringcontract_language_selector' (#89) from feature/84-sponsoringcontract_language_selector into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #89
2021-03-01 16:45:05 +00:00
niggl c2bd696bfe Implemented rough outside click handler for the dropdown
ref #84
2021-02-28 17:39:21 +01:00
niggl 9fec315910 Clicking on a dropdown option now closes it everywhere
ref #84 #89
2021-02-28 17:17:41 +01:00
niggl 9a8a978e49 Removed locale overrides
ref #84
2021-02-28 16:34:04 +01:00
niggl e24b84e709 New download buttons for everyone (that can generate sponsoring contracts)
ref #84
2021-02-28 16:33:17 +01:00
niggl 305b18ef57 Switched the icon style
ref #84
2021-02-28 16:26:54 +01:00
niggl 22e9f53c42 Moved pdf generation to function instead of onclick for all components
ref #48
2021-02-27 20:09:50 +01:00
niggl 6870e31a81 Sorted translations
ref #48
2021-02-27 19:34:16 +01:00
niggl e07d1e42e2 And with working i18n 🌍
ref #48
2021-02-27 19:33:57 +01:00
niggl c89caf7855 Now with dropdown aiutoclose
ref #48
2021-02-27 19:32:21 +01:00
niggl 3b7c25b106 Working button onklicks
ref #48
2021-02-27 19:30:56 +01:00
niggl 6079e1fa90 Basic sponsoring language dropdown for runners
ref #84
2021-02-27 19:26:47 +01:00
niggl 434466b306 Merge pull request 'Usergroup management in the UI feature/48-usergroup-management' (#88) from feature/48-usergroup-management into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #88
2021-02-26 19:07:17 +00:00
niggl e1ac35f848 Fixed root breadcrumb linking
ref #48
2021-02-26 20:01:16 +01:00
niggl 5994b22464 User permission update reactivity fix
ref #48
2021-02-26 19:59:38 +01:00
niggl bfc93158f5 Udergroup permission reactivity fix
ref #48
2021-02-26 19:58:46 +01:00
niggl 29f99f0b20 Added missing translations 🌍
ref #48
2021-02-26 19:53:18 +01:00
niggl e4872131c8 Sorted translations
ref #48
2021-02-26 19:26:47 +01:00
niggl 16e1434f2a Changed group icon
ref #48
2021-02-26 19:25:47 +01:00
niggl 842badfa69 Merge branch 'feature/48-usergroup-management' of git.odit.services:lfk/frontend into feature/48-usergroup-management 2021-02-26 19:25:06 +01:00
niggl 8ebc88aebb Updated users icon
ref #48
2021-02-26 19:25:04 +01:00
niggl c111ec9d91 Updated users icon
ref #48
2021-02-26 19:22:30 +01:00
niggl e85cdaf324 More i18n 🌍
ref #48
2021-02-26 19:10:10 +01:00
niggl 599d340a72 Added missing translations 🌍
ref #48
2021-02-26 19:01:23 +01:00
niggl 89b7fb8072 Added missing translations 🌍
ref #48
2021-02-26 18:59:48 +01:00
niggl dcaca2ecbd Translated stuff 🌍
ref #48
2021-02-26 18:56:08 +01:00
niggl b8725c96cd Formatting
ref #48
2021-02-26 18:55:31 +01:00
niggl 36930259d2 Added translation keyz
ref #48
2021-02-26 18:49:09 +01:00
niggl 4397566f1e Fixed Back linking
ref #48
2021-02-26 18:48:57 +01:00
niggl 7c324869a4 Working suergroup permissions overview
ref #48
2021-02-26 18:23:02 +01:00
niggl 7e80608066 Fix for user permission availdable
ref #48
2021-02-26 18:22:15 +01:00
niggl af7e44cf7c Now routing to gorup permissions
(to be implemented) ref #48
2021-02-26 18:01:26 +01:00
niggl 05099d066b Added permissions list to usergroup detail
ref #48
2021-02-26 17:58:57 +01:00
niggl 937486a66b Added group detail routing
ref #48
2021-02-25 20:56:22 +01:00
niggl e8de1f6d9c New image for emptystate
ref #48
2021-02-25 20:48:21 +01:00
niggl cd9a5469fd Formatting
ref #48
2021-02-25 20:45:37 +01:00
niggl 1124f25ea3 Renamed button
ref #48
2021-02-25 20:28:45 +01:00
niggl a79a87de4c Formatting
ref #48
2021-02-25 20:27:46 +01:00
niggl d2193bf428 Finished group creation modal
ref #48
2021-02-25 20:27:03 +01:00
niggl d9eab9f254 Added groupoverview to router
ref #48
2021-02-25 20:13:30 +01:00
niggl 7d08ea8466 Renamed folder
ref #48
2021-02-25 20:13:17 +01:00
niggl ba1eb2fa73 Merge branch 'dev' into feature/48-usergroup-management
# Conflicts:
#	src/components/dashboard/Dashboard.svelte
2021-02-25 20:09:44 +01:00
niggl 4dbca6096f New folder structure
ref #48
2021-02-25 20:08:32 +01:00
niggl 03be2d0492 Merge pull request 'Donation management feature/79-donation_management' (#87) from feature/79-donation_management into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #87
2021-02-25 16:35:10 +00:00
niggl b0aca9de13 Added the new, shiny badges to donor overview
ref #79
2021-02-25 17:34:11 +01:00
philipp 019a0297a9 DonorDetail accessibility improvements 👀
ref #79
2021-02-25 17:31:26 +01:00
niggl 0f93febd86 Ordered locales
ref #79
2021-02-25 17:13:22 +01:00
niggl d6c96b781f Fixed missing middlename action
ref #79
2021-02-25 17:13:03 +01:00
niggl 918bb94644 Added missing translation
ref #79
2021-02-25 17:11:53 +01:00
niggl a8774fa524 Fixed missing inversion
ref #79
2021-02-25 17:10:25 +01:00
niggl e4b908ecde Merge branch 'feature/79-donation_management' of git.odit.services:lfk/frontend into feature/79-donation_management
# Conflicts:
#	src/components/donors/DonorDetail.svelte
2021-02-25 17:08:23 +01:00
niggl 247ba40309 Updated donor badege styleing
ref #79
2021-02-25 17:08:13 +01:00
niggl fcf01ba677 Updated donor badege styleing
ref #79
2021-02-25 17:07:06 +01:00
niggl fb5a64c251 Fixed donation badges now show their amount
ref #79
2021-02-25 16:58:14 +01:00
niggl 3d51ba0dc2 Fixed text size mismatch
ref #79
2021-02-25 16:55:19 +01:00
niggl 07636f51c4 Removed useless style
ref #79
2021-02-25 16:53:04 +01:00
niggl eff2050959 Sorted translations
ref #79
2021-02-25 16:08:11 +01:00
niggl c96a21cf99 Added missing translation keys
ref #79
2021-02-25 16:07:48 +01:00
niggl d4d847059a Added german translations
ref #79
2021-02-25 15:58:21 +01:00
niggl 880d722912 Added translation keys
ref #79
2021-02-25 15:55:12 +01:00
niggl 1ef1053d3f Added custom i18n ally insert format
ref #79
2021-02-25 15:45:11 +01:00
niggl fa522a85d6 Added new icon for donations
ref #79
2021-02-25 15:40:34 +01:00
niggl f09e58c69c Formatting
ref #79
2021-02-25 15:05:27 +01:00
niggl 63e02492e8 Now the saveing button even worx :O
ref #79
2021-02-25 15:04:19 +01:00
niggl fd406eb3e6 Now routing stuff to the donation detail
ref #79
2021-02-25 14:58:03 +01:00
niggl 88ade26ef7 Added basic donation detail
ref #79
2021-02-25 14:57:45 +01:00
niggl 3aea259e41 Donors now get their donations linked in the donor detail
ref #79
2021-02-25 14:09:34 +01:00
niggl 0f64767437 Donors now get their donations linked in the donor overview
ref #79
2021-02-25 14:06:41 +01:00
niggl d2430badbe Amount now also self-resetts
ref #79
2021-02-24 20:56:32 +01:00
niggl a880ed2b18 Adjusted togle label font size
ref #79
2021-02-24 20:55:42 +01:00
niggl e0f0fa9a2a Merge branch 'dev' into feature/79-donation_management 2021-02-24 20:50:02 +01:00
niggl 5d2025aa43 Working add fixed/normal switch
ref #79
2021-02-24 20:49:43 +01:00
niggl 8b7f5a765b Merge pull request 'i18n fix run no.1 feature/69-i18n_fixes' (#85) from feature/69-i18n_fixes into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #85
2021-02-24 19:49:13 +00:00
niggl 9cd94004fc Merge pull request 'Fixed refresh page reload bug' (#86) from feature/82-auth_refresh_bug into dev
continuous-integration/drone/push Build is failing
Reviewed-on: #86
2021-02-24 19:49:00 +00:00
niggl 8042bca7cc Enabled add modal
ref #79
2021-02-24 20:28:02 +01:00
niggl 8d89d158d1 Added basic donation overview
ref #79
2021-02-24 19:44:57 +01:00
niggl ccacdf274b Added donation route
ref #79
2021-02-24 19:44:45 +01:00
niggl f1ceef05fc Added basic overview with emptystate
ref #79
2021-02-24 19:25:31 +01:00
niggl c5697242ee Fixed refresh page reload bug
ref #82
2021-02-24 19:17:18 +01:00
niggl d0a48ab94b More missing translations 🌍
ref #69
2021-02-24 18:46:09 +01:00
niggl 2b037d41ac Added missing translations
ref #69
2021-02-24 18:39:45 +01:00
niggl b7d38dd849 Now using translations in org/add/address
ref #69
2021-02-24 17:13:16 +01:00
niggl 02d24139e9 Fixed known translation mishaps
ref #69
2021-02-24 16:58:30 +01:00
niggl ad638e8bc8 Merge pull request 'Donor management feature/78-donor_mgnt' (#80) from feature/78-donor_mgnt into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #80
2021-02-24 15:53:50 +00:00
niggl 76cb20debe Merge branch 'feature/78-donor_mgnt' of git.odit.services:lfk/frontend into feature/78-donor_mgnt 2021-02-24 16:51:25 +01:00
niggl 3e9383e6d9 Formatting
ref #78
2021-02-24 16:51:19 +01:00
philipp aec8bf56a2 🖼 new donor empty image
ref #78
2021-02-24 16:44:41 +01:00
niggl 18335e3325 Normalized svg
ref #78
2021-02-24 16:36:20 +01:00
niggl bca9605d4a Fixed missing icon
ref #78
2021-02-24 16:35:41 +01:00
niggl 0321f0e979 Updated icons
ref #78
2021-02-24 16:23:21 +01:00
niggl f97c2a36f6 Fixed deletion in detail bug
ref #78 #80
2021-02-24 16:14:10 +01:00
niggl 5d945f5bc5 Added total dontaion amount to donor detail
ref #78
2021-02-20 19:55:11 +01:00
niggl 1c4975589f Implemented currency formatting
ref #78
2021-02-20 19:49:53 +01:00
niggl fffe5c2c4b Updated donot empty logo
ref #78
2021-02-20 19:45:14 +01:00
niggl 3a57e1c766 Updated sponsoring logo
ref #78
2021-02-20 19:33:06 +01:00
niggl 8b70882fec Sorted translations
ref #78
2021-02-20 19:27:20 +01:00
niggl 7fb7ba0d2b i18n translation spree 🌍
ref #78
2021-02-20 19:27:04 +01:00
niggl 78514c6572 Implemented receipt needed
ref #78
2021-02-20 19:19:44 +01:00
niggl 19393006ef i18n run
ref #78
2021-02-20 19:13:33 +01:00
niggl cb704c4551 Added donor detail
ref #78
2021-02-20 19:04:08 +01:00
niggl 04a09c3ce5 Converted total donation amount to €
ref #78
2021-02-20 18:51:49 +01:00
niggl ca8f978667 Some i18n 🌍
ref #78
2021-02-20 18:49:05 +01:00
niggl 0cc91ac037 Added donors to sidebar
ref #78
2021-02-20 18:44:29 +01:00
niggl 1b6f86669c Implemented donor creation modal
ref #78
2021-02-20 18:40:41 +01:00
niggl 264868bb6a Implmented donor deletion confirmation
ref #78
2021-02-20 18:31:02 +01:00
niggl 02087a541e Implemented donor overview and deletion
ref #78
2021-02-20 18:26:18 +01:00
philipp dee0e37a85 Merge pull request 'feature/62-contract-generation' (#76) from feature/62-contract-generation into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #76
close #62
2021-02-20 16:36:47 +00:00
niggl ea7a4a560b Merge branch 'dev' into feature/62-contract-generation 2021-02-20 16:35:31 +00:00
niggl f63e17775c Fixed typo
ref #62
2021-02-20 17:35:05 +01:00
niggl c4240d36f7 Merge branch 'feature/62-contract-generation' of git.odit.services:lfk/frontend into feature/62-contract-generation 2021-02-20 17:34:37 +01:00
niggl ed13a0d14b Now the toast hides the generation toast
ref #62
2021-02-20 17:34:35 +01:00
niggl 8fa0be7633 Now the toast hides the generation toast
ref #62
2021-02-20 17:32:49 +01:00
niggl a99c022608 Added missing translations 🌍
ref #62
2021-02-20 17:28:31 +01:00
niggl 12bcbd28f3 Error message on pdf generation fail
ref #62
2021-02-20 17:25:48 +01:00
philipp 4ece21cdf2 progress toast in RunnersOverview
ref #62
2021-02-20 17:21:45 +01:00
philipp a7642c2da4 basic progress toasts
ref #62
2021-02-20 17:19:17 +01:00
niggl 32024cf2c5 Merge pull request 'Mitigated null error' (#77) from feature/64-dialog_clearing_bug into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #77
2021-02-20 16:03:45 +00:00
niggl ef373caba7 Merge branch 'dev' into feature/64-dialog_clearing_bug 2021-02-20 15:59:25 +00:00
niggl 396bd22199 Mitigated null error
ref #64
2021-02-20 16:58:51 +01:00
philipp 4bff50a088 Merge pull request 'Small bugfixes - feature/64-dialog_clearing_bug' (#75) from feature/64-dialog_clearing_bug into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #75
close #64
2021-02-20 15:54:52 +00:00
philipp dbc0ab76af PDF download from TeamDetail + TeamsOverview
ref #62
2021-02-20 16:53:30 +01:00
philipp 289a8c14d3 ✒ change "Edit" table actions to "Detail"
ref #62
2021-02-20 16:47:04 +01:00
niggl 44ed633cbf Fixed orgs/teams not being marked as selected on initial modal opening
ref #64
2021-02-20 16:46:55 +01:00
philipp 0a55d73146 PDF generation from OrgDetail
ref #62
2021-02-20 16:46:12 +01:00
philipp 40dda1150c OrgOverview - multiple pdf download
ref #62
2021-02-20 16:42:06 +01:00
niggl 09b61ec684 Merge branch 'feature/64-dialog_clearing_bug' of git.odit.services:lfk/frontend into feature/64-dialog_clearing_bug 2021-02-20 16:31:39 +01:00
niggl e53467da22 Fixed clear on import bug
ref #64
2021-02-20 16:31:37 +01:00
niggl 09d27c0b05 Fixed clear on import bug
ref #54
2021-02-20 16:31:30 +01:00
philipp 3b18be5874 PDF from RunnerDetail
ref #62
2021-02-20 16:17:20 +01:00
philipp ff15308c03 🌎 i18n
ref #62
2021-02-19 20:06:59 +01:00
philipp fa3dc870d3 📃 pdf generation in RunnersOverview
ref #62
2021-02-19 20:02:01 +01:00
philipp 5e6ada140c reactive button for checkboxes in table
ref #62
2021-02-19 19:24:36 +01:00
philipp e8f7c1c832 basic select boxes in table
ref #62
2021-02-19 19:21:08 +01:00
philipp 266a11f64f Merge commit 'b337873ca214682487844973104772539956c09a' into feature/48-usergroup-management
ref #48
2021-02-19 18:51:07 +01:00
philipp e442b92a5f Merge commit '6d0bca6d6783d3f7bbff5d413b158c6b60720bd8' into feature/48-usergroup-management
ref #48
2021-02-19 18:49:33 +01:00
niggl b337873ca2 Merge branch 'dev' of git.odit.services:lfk/frontend into dev
continuous-integration/drone/push Build is passing
2021-02-19 18:49:12 +01:00
niggl 896fff04aa Fixed non-automatic logout
closes #38
2021-02-19 18:49:07 +01:00
philipp 6d0bca6d67 Merge pull request 'feature/69-translation-keys' (#74) from feature/69-translation-keys into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #74
close #69 . nice.
2021-02-19 17:27:43 +00:00
niggl d53c1ae2bd Merge branch 'dev' into feature/69-translation-keys
# Conflicts:
#	src/components/orgs/OrgDetail.svelte
#	src/components/runners/RunnersOverview.svelte
2021-02-19 18:23:38 +01:00
niggl afd73d53be new license file version [CI SKIP] 2021-02-19 17:05:04 +00:00
niggl 652e55e80e Merge pull request 'Addresses for orgs and a bunch of bugfixes feature/72-adddress_for_everyone' (#73) from feature/72-adddress_for_everyone into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #73
2021-02-19 17:04:18 +00:00
philipp 9aa8e7edff Merge pull request 'first merge to main 🚀' (#71) from dev into main
Reviewed-on: #71
Reviewed-by: Nicolai Ort <info@nicolai-ort.com>
2021-02-19 17:03:02 +00:00
philipp d67dfdf2e7 🐞 fixed translation keys
ref #69
2021-02-19 18:00:00 +01:00
philipp 51f2d96ad6 Merge branch 'feature/69-translation-keys' of https://git.odit.services/lfk/frontend into feature/69-translation-keys
# Conflicts:
#	src/locales/de.json
#	src/locales/en.json
2021-02-19 17:57:10 +01:00
philipp 30867b4ba1 🐞 fixed bug in Tracks datatable translation keys
ref #69
2021-02-19 17:54:52 +01:00
niggl ec8d946a41 Implemented detail address add fix
ref #72
2021-02-19 17:43:36 +01:00
niggl 1eea935207 🐞 fixed address removal bug ContactDetail
ref #72
2021-02-19 17:28:26 +01:00
philipp 616990b930 🐞 fixed bug in OrgDetail address reactivity
ref #72
2021-02-19 17:24:22 +01:00
niggl e5c31c9dd4 First part of org detail address edit
ref #72
2021-02-19 16:36:17 +01:00
niggl 4f3f7d1edb Fixed wrong relation getting targeted
ref #72
2021-02-19 16:31:17 +01:00
niggl 86f13003b5 Implemented org address creation modal logic
ref #72
2021-02-19 16:08:34 +01:00
niggl 6d2431b683 Added address to org creation dialog (styleing only)
ref #72
2021-02-19 16:07:12 +01:00
niggl 57e17f2864 Runner Contact information column npow features address
ref #72
2021-02-19 15:51:15 +01:00
niggl bcc7d7770e Added address to org overview
ref #72
2021-02-19 15:47:23 +01:00
niggl 89ea40d7f3 Merge branch 'feature/69-translation-keys' of git.odit.services:lfk/frontend into feature/69-translation-keys
# Conflicts:
#	src/components/orgs/OrgOverview.svelte
2021-02-19 15:36:23 +01:00
niggl 56b5008278 Replaced untranslated key with already existant key
ref #69
2021-02-19 15:36:12 +01:00
niggl 555778fca4 Replaced untranslated key with already existant key
ref #69
2021-02-19 15:35:29 +01:00
niggl ec1a6226a9 Unified key translation style
ref #69
2021-02-19 15:32:40 +01:00
niggl 3c541ada89 Genered soem runner related keys
ref #69
2021-02-19 15:29:35 +01:00
niggl 5f677e71e9 Merge branch 'dev' into feature/69-translation-keys 2021-02-19 15:22:12 +01:00
niggl 5b3e66c4f6 Removed key duplicate from last merge
ref #69
2021-02-19 14:55:16 +01:00
philipp 9b0252fb75 some more translation keys
ref #69
2021-02-18 18:36:04 +01:00
niggl 2e3750c87c Translated all missing translations 🌍
ref# 69
2021-02-18 18:30:48 +01:00
philipp 377d691053 🇩🇪 more german translations
ref #69
2021-02-18 18:18:06 +01:00
philipp e90fe73aa2 drop filepond keys
ref #69
2021-02-18 18:12:16 +01:00
philipp 3baa681c2b Merge branch 'feature/69-translation-keys' of https://git.odit.services/lfk/frontend into feature/69-translation-keys 2021-02-18 18:11:06 +01:00
philipp a588bc4631 translation keys
ref #69
2021-02-18 18:09:57 +01:00
niggl b195c707b0 Fixed privacy/imprint fallback bug
ref #69
2021-02-18 17:49:26 +01:00
niggl 25ac84e5fd Formatting
ref #69
2021-02-18 17:45:27 +01:00
niggl 5e9df32bfa Merge branch 'feature/69-translation-keys' of git.odit.services:lfk/frontend into feature/69-translation-keys 2021-02-18 17:37:09 +01:00
niggl 722feac8bd Removed unused locales
ref #69
2021-02-18 17:37:07 +01:00
niggl 4be87a64b9 Removed unused locales
ref #69
2021-02-18 17:35:46 +01:00
philipp 505ca6a58e ForgotPassword demo for translation with interpolation
ref #69
2021-02-18 17:24:53 +01:00
philipp 5f1c8f3627 Merge commit '9faa93e29239182871b82bca211531fb95d37b7f' into feature/69-translation-keys
ref #69
2021-02-18 17:19:50 +01:00
niggl 3834079481 new license file version [CI SKIP] 2021-02-18 16:17:27 +00:00
niggl 9faa93e292 Merge pull request 'component/ structure cleanup feature/68-component-cleanup' (#70) from feature/68-component-cleanup into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #70
2021-02-18 16:16:43 +00:00
niggl 27609dc5e0 Removed debug output
ref #68
2021-02-18 17:13:58 +01:00
niggl 2b57d49e4e Dependency bump 👊
ref #68
2021-02-18 17:13:19 +01:00
niggl dc0c738471 Added license to package
ref #68
2021-02-18 17:08:19 +01:00
niggl ca41f4d4f2 Removed filepond
ref #68
2021-02-18 17:06:54 +01:00
niggl e1427f3ecb renamed folder and removed useless files
ref #68
2021-02-18 17:06:25 +01:00
niggl e2fb9a66ad Reimported simple.css
ref #68
2021-02-18 17:04:39 +01:00
niggl 7278648642 Removed usless console logs
ref #68
2021-02-18 17:03:05 +01:00
niggl a4c955ce85 Fixed org deletion dialog 2021-02-18 17:01:08 +01:00
niggl f086027910 Fixed store destrucuured import
ref #68
2021-02-18 16:57:05 +01:00
niggl 543b3bd937 Fixed store not being found
ref #68
2021-02-18 16:56:49 +01:00
niggl c0534a3b06 Initial component sort/cleanup
ref #68
2021-02-18 16:51:15 +01:00
philipp 0c9785af36 new license file version [CI SKIP] 2021-02-18 15:14:23 +00:00
philipp 482149139a Merge pull request 'feature/50-contact-management' (#67) from feature/50-contact-management into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #67
close #50
2021-02-18 15:13:34 +00:00
philipp c89038f337 Merge branch 'dev' into feature/50-contact-management
ref #50
2021-02-18 16:11:49 +01:00
niggl 696d3ffabf Fixed contact update detection bug
ref #50
2021-02-18 16:05:20 +01:00
niggl 14e5d0e740 Fixed address update bug
ref #50
2021-02-18 15:45:38 +01:00
niggl e4ae1dd475 Fixed group posting issue
ref #50
2021-02-17 20:23:30 +01:00
niggl 46cd262fab Fixed modal multiselect
ref #50
2021-02-17 20:15:11 +01:00
philipp 3f5418083f Merge pull request 'Translated everything feature/65-translations' (#66) from feature/65-translations into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #66
2021-02-17 18:52:14 +00:00
philipp 1586c2f9e6 OrgDetail - edit contact
ref #50
2021-02-17 19:51:04 +01:00
niggl e64b318a42 Sorted locales
ref #65
2021-02-17 19:46:13 +01:00
philipp 2033572c83 TeamDetail - edit contact
ref #50
2021-02-17 19:45:37 +01:00
niggl ce678c1b76 Gendered some stuff
ref #65
2021-02-17 19:45:25 +01:00
niggl 83495b101c German spell check
ref #65
2021-02-17 19:43:16 +01:00
niggl 6c2a5f904d Now w/ 100% german translation 🌍
ref #65
2021-02-17 19:39:19 +01:00
philipp c1251d3332 🌎 Contacts i18n
ref #50
2021-02-17 19:15:05 +01:00
philipp 4ef1b7abe8 🎉 ContactDetail + ContactOverview
ref #50
2021-02-17 19:02:35 +01:00
niggl d822e4ab3f Fixed import modal width
continuous-integration/drone/push Build is passing
2021-02-16 17:25:57 +01:00
philipp b01fe050d2 🔗 link to ContactDetail from TeamsOverview
ref #50
2021-02-15 20:54:09 +01:00
philipp 1a4cf211eb 🔗 link to ContactDetail from OrgOverview
ref #50
2021-02-15 20:53:23 +01:00
philipp 4541304fa8 🚧 WIP on ContactDetail
ref #50
2021-02-15 20:50:15 +01:00
philipp 894160f3f7 ContactDetail - added checkbox for optional address
ref #50
2021-02-15 18:19:25 +01:00
philipp 6a91bd53e2 🐞 fixed null addresses in ContactsOverview
ref #50
2021-02-15 17:52:20 +01:00
philipp 0f013304ef 🧹 ContactOverview refinement
ref #50
2021-02-15 17:46:01 +01:00
philipp 6f4f4ccb16 ContactDetail route
ref #50
2021-02-15 17:45:41 +01:00
philipp 7138ca1f5f AddContactModal - allow optional address
ref #50
2021-02-15 17:45:20 +01:00
philipp 45e7f6a0d1 🎉 working AddContactModal
ref #50
2021-02-13 20:30:38 +01:00
philipp a7098df9cf ContactsEmptyState
ref #50
2021-02-13 20:13:05 +01:00
philipp 054c7faaac basic Contact components
ref #50
2021-02-13 19:26:38 +01:00
philipp c3a4c659c0 Merge branch 'dev' into feature/48-usergroup-management 2021-02-13 15:39:14 +01:00
philipp 087c85e586 🚀RELEASE v0.6.0
continuous-integration/drone/push Build is passing
2021-02-12 19:18:33 +01:00
philipp 43df188df1 new license file version [CI SKIP] 2021-02-12 18:16:52 +00:00
philipp 1d40c6d068 Merge branch 'dev' of https://git.odit.services/lfk/frontend into dev
continuous-integration/drone/push Build is passing
2021-02-12 19:15:41 +01:00
philipp 6614242df6 dependency bump 2021-02-12 19:15:34 +01:00
philipp b25dc623cf new license file version [CI SKIP] 2021-02-12 18:10:08 +00:00
philipp 9d3bb4e4e3 Merge pull request 'feature/52-runner-filters' (#63) from feature/52-runner-filters into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #63
close #52
2021-02-12 18:09:21 +00:00
philipp 5dc11c285d RunnersOverview - support should_display_based_on_id search
ref #52
2021-02-12 19:06:31 +01:00
philipp 575b4ce970 RunnersOverview - basic working filter
ref #52
2021-02-12 18:47:46 +01:00
philipp e23821a7cb WIP on filter
ref #52
2021-02-12 18:04:10 +01:00
philipp e415258787 basic select filtering in RunnersOverview
ref #52
2021-02-09 19:22:20 +01:00
philipp eddfeb10a5 UserGroupsEmptyState, UserGroupsOverview, basic GroupDetail
ref #48
2021-02-09 17:37:38 +01:00
philipp 0361f8ad69 basic UserGroup components
ref #48
2021-02-09 16:31:37 +01:00
philipp 1451991d03 Merge pull request 'feature/43-password-reset' (#61) from feature/43-password-reset into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #61
close #43
2021-02-07 16:11:16 +00:00
philipp 92fee08dc4 ⏮decode base64 reset key 2021-02-07 13:26:57 +01:00
philipp 7b7e484091 🧹 formatting 2021-02-07 13:25:39 +01:00
philipp e7291a31f3 Merge pull request 'feature/51-teamoverview-badge-org' (#59) from feature/51-teamoverview-badge-org into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #59
close #51
2021-02-07 12:12:57 +00:00
philipp 2dc31912cc Merge pull request 'feature/47-sidebar-responsiveness' (#60) from feature/47-sidebar-responsiveness into dev
continuous-integration/drone/push Build is failing
Reviewed-on: #60
close #47
2021-02-07 12:12:29 +00:00
philipp 428a8a10ff 🌍 i18n for ResetPassword
ref #43
2021-02-07 13:11:08 +01:00
philipp 8b2f1965e2 👀 ResetPassword - success and error states
ref #43
2021-02-07 13:08:44 +01:00
philipp b18a99e4df added basic UI for ResetPassword
ref #43
2021-02-07 12:51:21 +01:00
philipp 1fac0c8640 😬 use actual team id for RunnersOverview badge
ref #51
2021-02-07 12:18:34 +01:00
philipp f0be73c2cd Merge commit '65f49489ad2e0cff30560e4c326ca7294d7f6190' into feature/51-teamoverview-badge-org 2021-02-07 12:11:09 +01:00
philipp 42bd632539 👀 only display navbar on sm devices / hide on md and up 2021-02-07 12:07:25 +01:00
philipp f8014c6213 🐞 re-add sidebar component 2021-02-07 12:06:54 +01:00
philipp 65f49489ad new license file version [CI SKIP] 2021-02-07 11:05:54 +00:00
philipp e9e24d5f2d Merge branch 'dev' of https://git.odit.services/lfk/frontend into dev
continuous-integration/drone/push Build is passing
2021-02-07 12:05:08 +01:00
philipp 369b09972c general dependency bump 2021-02-07 12:04:55 +01:00
philipp e4e2bdac72 new license file version [CI SKIP] 2021-01-30 16:58:42 +00:00
philipp ec0db39184 Merge pull request 'feature/15-runner-import' (#58) from feature/15-runner-import into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #58
close #15
2021-01-30 16:57:59 +00:00
philipp a02be78df5 RunnersOverview badge to team/org
ref #51
2021-01-30 17:56:58 +01:00
philipp 3490abe9a7 Org badge in TeamsOverview
ref #51
2021-01-30 17:56:40 +01:00
philipp b5013426e6 reactivity in import table
ref #15
2021-01-30 17:50:16 +01:00
philipp 7dd0881d29 working import binding
ref #15
2021-01-30 17:45:12 +01:00
philipp acf0562851 ImportRunnerModal - differenciate between team and org import
ref #15
2021-01-30 17:27:51 +01:00
philipp 80c3a90d6f client library bump
ref #15
2021-01-30 17:14:20 +01:00
philipp c6985087a8 layout for Import from RunnerOverview
ref #15
2021-01-30 17:05:19 +01:00
philipp ef50e2d5ce Merge pull request 'feature/56-footer-version-loading' (#57) from feature/56-footer-version-loading into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #57
close #56
2021-01-30 15:33:24 +00:00
niggl ed1dc6e8d5 Merge branch 'dev' into feature/56-footer-version-loading 2021-01-30 15:28:07 +00:00
philipp c2d7a319a0 use onMount event instead of DOMready
ref #56
2021-01-30 16:24:48 +01:00
philipp 0e04298b7c new license file version [CI SKIP] 2021-01-30 15:17:37 +00:00
philipp 3a5a73b02c Merge pull request 'feature/46-imprint-privacy' (#55) from feature/46-imprint-privacy into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #55
close #46
2021-01-30 15:16:46 +00:00
philipp 901c7c1241 load version on DOMContentLoaded
ref #56
2021-01-30 16:16:30 +01:00
philipp 4e82369b16 text selection color
ref #46
2021-01-30 16:14:38 +01:00
philipp 945963db32 Footer linking
ref #46
2021-01-29 19:07:46 +01:00
philipp 5741cbe756 added Privacy page
ref #46
2021-01-29 19:02:53 +01:00
philipp 6401aeb3a8 working Imprint page
ref #46
2021-01-29 18:49:02 +01:00
philipp 6a0c129d39 added basic styling to Imprint component
ref #46
2021-01-29 17:58:52 +01:00
philipp bbec9ffcdf added Imprint route /imprint
ref #46
2021-01-29 17:58:22 +01:00
philipp 541f1fa2e3 Merge pull request 'feature/44-require-mail-addresses' (#54) from feature/44-require-mail-addresses into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #54
close #44
2021-01-29 15:38:06 +00:00
philipp 7897820632 UserDetail - invalid email UI feedback
ref #44
2021-01-29 16:34:55 +01:00
philipp 0dd9de2abc UserDetail - enforce email input
ref #44
2021-01-27 18:48:23 +01:00
philipp 7131ba99b6 AddUserModal - enforce email input
ref #44
2021-01-27 18:45:36 +01:00
philipp c69026aa5b Merge pull request 'feature/45-component-drop' (#53) from feature/45-component-drop into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #53
close #45
2021-01-27 17:42:08 +00:00
philipp 16ac96c64e 🧹 remove placeholder options from Dashboard sidebar
ref #45
2021-01-27 18:26:46 +01:00
philipp 1bb79b1c98 🧹 remove ComponentDump from MainDashContent
ref #45
2021-01-27 18:26:26 +01:00
philipp eeee272f03 🧹 drop old + unused components Dash + LoginAlt
ref #45
2021-01-27 18:26:04 +01:00
philipp 2563e9d1d6 🚀RELEASE v0.5.0
continuous-integration/drone/push Build is passing
2021-01-26 18:29:39 +01:00
philipp 24bec66390 🐞 fix package release for index template compatibility 2021-01-26 18:29:26 +01:00
philipp 3d30734dc2 new license file version [CI SKIP] 2021-01-26 17:26:12 +00:00
philipp cbc1d53cc2 🐞 fixed merge conflict errors
continuous-integration/drone/push Build is passing
ref #13 #12
2021-01-26 18:25:30 +01:00
philipp 9a1f7a13f8 general dependency bump 2021-01-26 18:25:02 +01:00
philipp d48b9b7f91 Merge pull request 'feature/12-user-management' (#39) from feature/12-user-management into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #39
close #12
2021-01-26 16:28:59 +00:00
philipp 358865dc6a UserDetail - update permission badges on change save
ref #12
2021-01-26 17:28:07 +01:00
philipp e750c37473 🌎 UserDetail - more i18n keys
ref #12
2021-01-26 17:27:44 +01:00
philipp 71a589c10c Merge branch 'dev' into feature/12-user-management
# Conflicts:
#	src/App.svelte
2021-01-26 17:00:21 +01:00
philipp 3281239ff5 new license file version [CI SKIP] 2021-01-26 15:59:14 +00:00
philipp 3e2cdddd5a Merge pull request 'feature/13-runner-management' (#42) from feature/13-runner-management into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #42
close #13
2021-01-26 15:58:28 +00:00
philipp 1d4c3e51c7 Merge branch 'dev' into feature/13-runner-management 2021-01-26 15:57:55 +00:00
philipp 1694c71528 AddRunnerModal - improved team select
ref #13
2021-01-26 16:54:15 +01:00
philipp 169ffc1b0b 🌎 added more i18n keys
ref #13
2021-01-26 16:53:59 +01:00
philipp 89eb3259d4 Merge pull request 'added permissions to dashboard sidebar' (#41) from feature/40-dynamic-sidebar-options into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #41
close #41
2021-01-26 15:42:02 +00:00
philipp ffd88ffc66 🐞 alphabetically sort permission targets in UserDetail
ref #39 ref #12
2021-01-25 20:56:20 +01:00
philipp 6c2d13bd17 🌎 last i18n keys
ref #13
2021-01-25 20:39:34 +01:00
philipp 8d92a75ef0 🏃‍♂️ support for runner group edit
ref #13
2021-01-25 20:39:22 +01:00
philipp acb86ae266 added permissions to dashboard sidebar
ref #40
2021-01-25 20:20:58 +01:00
niggl 473cf978b4 Merge branch 'dev' into feature/12-user-management
# Conflicts:
#	src/components/UserDetail.svelte
2021-01-24 21:50:38 +01:00
philipp 4debab2636 Merge branch 'dev' into feature/13-runner-management
# Conflicts:
#	package.json
2021-01-24 20:39:11 +01:00
philipp e91e197873 new license file version [CI SKIP] 2021-01-24 19:39:09 +00:00
philipp b30b6734a1 general dependency bump
continuous-integration/drone/push Build is passing
2021-01-24 20:38:29 +01:00
philipp dadb80608a 💣 process breaking changes for lib v0.3.0
continuous-integration/drone/push Build is failing
2021-01-24 20:37:56 +01:00
philipp 16c9969fb9 Merge branch 'feature/13-runner-management' of https://git.odit.services/lfk/frontend into feature/13-runner-management 2021-01-24 18:41:04 +01:00
philipp dc1644ed25 🐞 ImportRunnerModal - table overflow fix
ref #13
2021-01-24 18:40:54 +01:00
philipp 2cc9b3e1ed 👀 ImportRunnerModal - layout cleanup
ref #13
2021-01-24 18:38:16 +01:00
niggl 415f340a68 i18n 🌍
ref #13
2021-01-24 18:20:48 +01:00
philipp 2d4869128d 🌎 i18n
ref #13
2021-01-24 17:54:45 +01:00
philipp ae8bc01d9b 🌎 i18n
ref #13
2021-01-24 17:47:29 +01:00
philipp e2552d9442 Merge branch 'dev' into feature/13-runner-management 2021-01-24 17:41:11 +01:00
philipp 5d1b5d80b6 Merge branch 'feature/13-runner-management' of https://git.odit.services/lfk/frontend into feature/13-runner-management 2021-01-24 17:31:31 +01:00
philipp 366804aa29 🌎 i18n
ref #13
2021-01-24 17:31:10 +01:00
philipp 9240e0c903 🧹 general runner cleanup
ref #13
2021-01-24 17:30:31 +01:00
niggl 7baaf2cff3 Merge branch 'feature/13-runner-management' of git.odit.services:lfk/frontend into feature/13-runner-management 2021-01-24 17:23:18 +01:00
niggl 9fbc1ba031 Added friles to ignore 2021-01-24 17:21:48 +01:00
niggl 6704c07db0 Deleted files to ignore 2021-01-24 17:21:39 +01:00
philipp a87165148a 🧹 RunnerDetail cleanup + i18n 🌎
ref #13
2021-01-24 17:21:19 +01:00
philipp ec4bcd093b 🐞 [bugfix] RunnerDetail update
ref #13
2021-01-24 17:16:49 +01:00
philipp 5552055b98 RunnerDetail - button text fixes
ref #13
2021-01-21 20:50:14 +01:00
philipp 03aa67034d basic RunnerDetail
ref #13
2021-01-21 19:07:43 +01:00
philipp fc21427685 💻 updated VSCode recommended extensions
continuous-integration/drone/push Build is passing
change i18n-ally scoping
2021-01-21 18:41:05 +01:00
philipp 819b02a204 ImportRunnerModal - hide team when loading from TeamDetail
ref #13
2021-01-20 20:25:41 +01:00
philipp de0bd5fd57 ImportRunnerModal usage in TeamDetail
ref #13
2021-01-20 20:21:59 +01:00
philipp 8aa1d94a1a use ImportRunnerModal in OrgDetail + Orgs
ref #13
2021-01-20 19:59:53 +01:00
philipp f8a59133a2 ImportRunnerModal - compatibility for multi-component access
ref #13
2021-01-20 19:59:31 +01:00
philipp c382f770dc 👀 basic ui interaction for ImportRunnerModal
ref #13
2021-01-20 18:31:23 +01:00
philipp cde4ec13ef basic cancel event dispatch from ImportRunnerModal
ref #13
2021-01-20 18:15:47 +01:00
philipp ecad1ea839 ↙ added default fallback parsing to ImportRunnerModal
ref #13
2021-01-20 17:56:32 +01:00
philipp 6b91b22713 🚀 ImportRunnerModal - working demo
ref #13
2021-01-20 17:46:18 +01:00
philipp e34c91b2cc 🌎 i18n in ImportRunnerModal headers
ref #13
2021-01-20 17:33:10 +01:00
philipp 822759a688 😦 added missing dependencies
ref #13
2021-01-19 21:45:00 +01:00
philipp b606037890 🌎 added locale based csv/xlsx header parsing
ref #13
2021-01-19 21:44:41 +01:00
philipp 74d9b94119 basic xlsx + csv parsing
ref #13
2021-01-19 21:44:13 +01:00
philipp b1e9f955b0 basic ImportRunnerModal with CSV input
ref #13
2021-01-19 18:19:21 +01:00
philipp e0356fa360 fixed runner permissions
ref #13
2021-01-19 18:18:51 +01:00
philipp fbc67eeb98 Merge branch 'dev' of https://git.odit.services/lfk/frontend into dev 2021-01-18 20:34:50 +01:00
philipp 09fd73b130 🐞 improved version builder from template 2021-01-18 20:34:47 +01:00
philipp 259a76f46b 🧹 darkmode classes cleanup 2021-01-18 20:29:44 +01:00
philipp c6504c2eaf new license file version [CI SKIP] 2021-01-17 18:46:15 +00:00
philipp 7d104a1514 🚀RELEASE v0.4.0
continuous-integration/drone/push Build is passing
2021-01-17 19:45:28 +01:00
philipp b3bd61c89e Merge branch 'feature/13-runner-management' into dev
continuous-integration/drone/push Build was killed
2021-01-17 19:44:07 +01:00
philipp e49dca0275 🐞 gitignore fix 2021-01-17 19:29:05 +01:00
philipp 03125b3a2d general dependency bumps 2021-01-17 19:24:57 +01:00
philipp a523379b3a gitignore fix 2021-01-17 19:24:25 +01:00
philipp aa6348a29a fix package:dev script
continuous-integration/drone/push Build is passing
ref #37
2021-01-17 19:22:45 +01:00
philipp b9f0f1a69a Merge commit 'a284806d3cb769030a4e28d0403190b746f8fc61' into dev
continuous-integration/drone/push Build is passing
close #37
2021-01-17 19:18:42 +01:00
philipp a284806d3c re-enable PWA functionality via serviceworker
ref #37
2021-01-17 19:15:22 +01:00
philipp 7e10c1db65 🔨 cleaned up build process + Dockerfile
ref #37
2021-01-17 19:14:14 +01:00
philipp 11790638d6 🔨 cleaned up build process + Dockerfile
continuous-integration/drone/push Build is passing
2021-01-17 19:01:11 +01:00
philipp 0583cbe266 improved serviceworker + PWA logic
continuous-integration/drone/push Build was killed
2021-01-17 18:59:26 +01:00
philipp 2e6874c822 apply new gitignore config 2021-01-17 18:32:32 +01:00
philipp 2ce41990bf 🐞 fix cross-env logic for faster dev starts 2021-01-17 18:31:35 +01:00
philipp c8aeba38ba Merge branch 'dev' of https://git.odit.services/lfk/frontend into dev
continuous-integration/drone/push Build is failing
2021-01-17 18:22:57 +01:00
philipp 5e02502a5c 👩‍💻 developer configs/ recommendations for VSCode 2021-01-17 18:22:28 +01:00
philipp 382cc3d844 new license file version [CI SKIP] 2021-01-17 17:19:48 +00:00
philipp dd74d9ee89 🧹 gitignore changes in public/index.html & svelte.config.js
continuous-integration/drone/push Build is failing
2021-01-17 18:19:07 +01:00
philipp 383f82807f improved dev scripts for speed starts
continuous-integration/drone/push Build was killed
2021-01-17 18:16:02 +01:00
philipp d4579a9a41 dynamic contact info in AddRunnerModal
ref #13
2021-01-17 17:54:21 +01:00
philipp 66a07c6a51 RunnersOverview
ref #13
2021-01-17 17:51:03 +01:00
philipp 66ffd8e936 AddRunnerModal
ref #13
2021-01-17 17:50:52 +01:00
philipp 44f07ca231 🧹 AddUserModal cleanup 2021-01-17 17:23:26 +01:00
philipp ff14f024af AddUserModal - username/email validation
ref #12
2021-01-17 17:14:34 +01:00
philipp dccf7c6c8d PWA optimizations
continuous-integration/drone/push Build is passing
2021-01-17 15:59:28 +01:00
philipp 10d7955f99 UserPermissions - working edit
ref #12
2021-01-16 21:42:09 +01:00
philipp 64ade901de 🚀RELEASE v0.3.1
continuous-integration/drone/push Build is passing
2021-01-16 20:59:45 +01:00
philipp eb0dd3f781 🤝 attribution/ credits for icons and illustrations
continuous-integration/drone/push Build was killed
2021-01-16 20:59:08 +01:00
philipp 66e6cd80d3 added new empty states
continuous-integration/drone/push Build was killed
2021-01-16 20:49:29 +01:00
philipp 959b32de1c new UsersEmptyState
ref #12
2021-01-16 20:48:45 +01:00
philipp 9c6dc5b424 basic UserPermissions view
ref #12
2021-01-16 20:33:34 +01:00
philipp aaab95d414 UserDetail - link to permission page
ref #12
2021-01-16 18:30:35 +01:00
philipp 7d4e93912c UserDetail - basic permission badges
ref #12
2021-01-16 18:23:28 +01:00
philipp d65b463547 UserDetail - add permission layout
ref #12
2021-01-16 17:31:17 +01:00
philipp 6e5a4bcb39 formatting
ref #12
2021-01-16 17:19:03 +01:00
niggl 1a799dc30a Fixed User group update
ref #12
2021-01-16 17:17:56 +01:00
philipp e3d2676858 Merge branch 'dev' into feature/12-user-management 2021-01-16 17:11:10 +01:00
philipp 42851686ca Merge pull request 'feature/14-team-management' (#36) from feature/14-team-management into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #36
closee #14
2021-01-16 15:29:47 +00:00
philipp e3943d868a 🐞 fix deletion in TeamDetail + TeamsOverview
ref #14
2021-01-16 16:27:06 +01:00
philipp 7654b795c7 🧹 TeamDetail cleanup
ref #14
2021-01-16 16:21:56 +01:00
philipp 489244f1a9 🔒 ConfirmTeamDeletion in TeamDetail
ref #14
2021-01-15 23:05:36 +01:00
philipp cbcce336d6 🔒 ConfirmTeamDeletion in TeamsOverview
ref #14
2021-01-15 23:02:40 +01:00
philipp 52a96b2a4f Merge pull request 'feature/16-org-management' (#35) from feature/16-org-management into dev
continuous-integration/drone/push Build is passing
Reviewed-on: #35
close #16
2021-01-15 21:55:48 +00:00
philipp ce6002a631 🔒 re-enable confirmation in OrgOverview
ref #16
2021-01-15 22:50:56 +01:00
philipp 84a9cf069a UX - ConfirmOrgDeletion cancel event reflection in datatable
ref #16
2021-01-15 22:49:16 +01:00
philipp 83f19a7572 🔒 ConfirmOrgDeletion in OrgOverview
ref #16
2021-01-15 22:35:40 +01:00
philipp a1a4c8b56d Merge branch 'feature/14-team-management' into feature/16-org-management 2021-01-15 22:31:56 +01:00
philipp d8901126d0 🔒 ConfirmOrgDeletion in OrgDetail
ref #16
2021-01-15 22:30:38 +01:00
philipp 854db4ece8 🧹 drop tmp modification from UsersOverview
ref #14
2021-01-15 22:05:39 +01:00
philipp 07f2e65fc7 🧹 Team cleanups
ref #14
2021-01-15 22:04:21 +01:00
philipp ccf09f97d5 TeamDetail with edit,delete
ref #14
2021-01-15 22:01:43 +01:00
philipp 8f9a4ebc04 Merge branch 'dev' into feature/14-team-management 2021-01-15 21:48:34 +01:00
philipp f1833f13d5 🧹 Dashboard - drop header bar
continuous-integration/drone/push Build was killed
2021-01-15 21:48:11 +01:00
philipp 6a81e369fa 🐞 fix Dashboard sidebar responsiveness
continuous-integration/drone/push Build was killed
drop entire js logic - css only
2021-01-15 21:42:17 +01:00
philipp 597e9e1ea9 basic TeamsOverview
ref #14
2021-01-15 21:22:51 +01:00
philipp 9bb027ec4c AddTeamModal working
ref #14
2021-01-15 21:22:37 +01:00
philipp fbbbaa5d49 Merge branch 'dev' into feature/14-team-management 2021-01-15 20:37:30 +01:00
philipp aaec5a3fc9 new license file version [CI SKIP] 2021-01-15 19:21:12 +00:00
philipp 7cd24cd51d 🚀RELEASE v0.3.0
continuous-integration/drone/push Build is passing
2021-01-15 20:20:02 +01:00
philipp c81b34c1d0 Merge branch 'dev' of https://git.odit.services/lfk/frontend into dev
continuous-integration/drone/push Build was killed
2021-01-15 20:19:03 +01:00
philipp 7b1acc494d Merge pull request 'feature/16-org-management' (#32) from feature/16-org-management into dev
continuous-integration/drone/push Build was killed
Reviewed-on: #32
 close #16
2021-01-15 19:18:52 +00:00
philipp 6ff90694e2 bump gridjs to 3.2.2 2021-01-15 20:17:36 +01:00
philipp 157c7c66b5 🧹 general component cleanup
continuous-integration/drone/push Build was killed
2021-01-15 20:14:54 +01:00
philipp 93249258c6 🏁 finish basic functionality of AddOrgModal + OrgDetail
ref #16
2021-01-15 20:03:29 +01:00
philipp 01c01a46fa 🌎 i18n
ref #16
2021-01-15 19:25:42 +01:00
philipp 0e2a10fe94 basic functionality in OrgDetail
ref #16
2021-01-15 19:25:30 +01:00
philipp 0b9f3de47c improvements in OrgOverview
ref #16
2021-01-15 19:25:12 +01:00
philipp bc239eead1 💬 AddOrgModal bindings
ref #16
2021-01-15 19:24:46 +01:00
philipp 7a09869b0c 🏬 OrgDetail ui
ref #16
2021-01-15 19:14:46 +01:00
philipp bdc0de6ada added Org base components
ref #16
2021-01-15 18:49:45 +01:00
philipp 6870a7f9b1 🧹 TeamsOverview - formatting
ref #14
2021-01-15 17:51:12 +01:00
philipp ace1a1b063 🐞 fix component mount in TeamsEmptyState
ref #14
2021-01-15 17:11:04 +01:00
philipp d87b879cc3 🏃‍♂️🏃‍♂️🏃‍♂️ basic UI components for team management
ref #14
2021-01-14 19:10:43 +01:00
philipp 65b36f8e69 🙋‍♂️🔒 UserDetail - permission layout ui
ref #12
2021-01-14 18:56:28 +01:00
philipp 87387a54f2 Merge branch 'dev' into feature/12-user-management 2021-01-14 18:30:08 +01:00
philipp b497cebe76 Merge commit 'fcd657c10ea14290455cfb0bf2de89375a664143' into dev
continuous-integration/drone/push Build is passing
close #31
2021-01-14 18:26:33 +01:00
philipp 0fa107a75b [tmp] - disable serviceworker 2021-01-14 18:25:01 +01:00
philipp b34e3aeed0 👀 UsersOverview - disable advanced search
ref #12
2021-01-14 18:24:37 +01:00
philipp 35b18d72fd Merge branch 'dev' of https://git.odit.services/lfk/frontend into dev
continuous-integration/drone/push Build is passing
2021-01-14 18:22:54 +01:00
philipp 4b80f30afb 🐳 Dockerfile - drop js sourcemaps 2021-01-14 18:22:33 +01:00
philipp 86c54e04a8 🙋‍♂️ UserDetail - active/inactive user state edit
ref #12
2021-01-14 18:22:09 +01:00
philipp ef9fc596f5 🙋‍♂️ UserDetail - disable profile picture edit
ref #12
2021-01-14 18:21:48 +01:00
philipp ad34e455ce new license file version [CI SKIP] 2021-01-14 17:18:21 +00:00
philipp 01fdd0bee2 Bump Dockerfile builder to 15.5.1-alpine3.12
continuous-integration/drone/push Build is passing
2021-01-14 18:17:29 +01:00
philipp 32ffa345cd 🔨 config compatibility for new Snowpack V3 bundler
continuous-integration/drone/push Build is failing
2021-01-14 18:17:12 +01:00
philipp 6fc3c16073 basic dependency bump
continuous-integration/drone/push Build is failing
lfk-library, snowpack@3.0.10 & svelte plugin
2021-01-14 18:16:46 +01:00
philipp 7d58657c80 🔨 reorder CI build order for correct license exporting
continuous-integration/drone/push Build is passing
2021-01-13 21:38:05 +01:00
philipp fcd657c10e 🐞 fix sidebar mobile-md scaling
ref #31
2021-01-13 21:37:29 +01:00
philipp 4ab77c5557 Merge branch 'dev' of https://git.odit.services/lfk/frontend into dev
continuous-integration/drone/push Build is passing
2021-01-13 21:07:08 +01:00
philipp 2bbaa500f4 🚀RELEASE v0.2.1 2021-01-13 21:06:51 +01:00
philipp 722a20e141 🐞 fix package release script: locales directory 2021-01-13 21:06:39 +01:00
philipp 041c24a837 🙋‍♂️ UserDetails - group updating
ref #12
2021-01-13 21:05:03 +01:00
philipp 39a3baa00b 🐞 UserDetail - fix permission reactivity by assignments
ref #12
2021-01-13 18:17:34 +01:00
philipp f7acbb1eaa shared state reactivity - AddUserModal-Users-UsersOverview
ref #12
2021-01-13 17:49:01 +01:00
philipp e6fbf7aa5b UserDetail - fixed group updating
ref #12
2021-01-12 21:19:12 +01:00
philipp 87926e69db new license file version [CI SKIP] 2021-01-12 20:07:09 +00:00
philipp 36a084eab6 🔒 UserDetail - WIP on Permissions
ref #12
2021-01-12 21:04:12 +01:00
philipp a9e319e0c0 👪 UserDetail - group edit support
ref #12
2021-01-12 20:16:16 +01:00
philipp ea23b97231 💬 UserDetail - info Toasts
ref #12
2021-01-12 19:30:54 +01:00
philipp 7df76f9642 AddUserModal + UserDetail - optional username field
ref #12
2021-01-12 19:30:06 +01:00
philipp f6db117a5e bump @odit/lfk-client-js to 0.0.11
continuous-integration/drone/push Build is passing
2021-01-11 21:21:49 +01:00
philipp 23c3cd605d 🔨 optimized release script 2021-01-11 21:21:12 +01:00
philipp 77690702c0 🚀RELEASE v0.2.0
continuous-integration/drone/push Build is passing
2021-01-11 21:17:35 +01:00
philipp e0093480d9 Merge branch 'feature/12-user-management' into dev 2021-01-11 21:17:12 +01:00
philipp c7679b7a67 [tmp] - disable darkmode + re-enable sw 2021-01-11 21:17:05 +01:00
philipp e6ac34bde8 🐞 [tmp] - nginx.conf - disable .js file caching
continuous-integration/drone/push Build was killed
2021-01-11 21:10:40 +01:00
philipp 8c4b595c30 Merge branch 'dev' into feature/12-user-management 2021-01-11 21:08:44 +01:00
philipp be629e5c6b 🕕 set manual refresh time to 2min
continuous-integration/drone/push Build was killed
2021-01-11 21:08:39 +01:00
philipp 63569684a3 ℹ update jwtinfo store on token refresh 2021-01-11 21:08:14 +01:00
philipp 5937a0d7ce 🔒 added rendering based on permission level
ref #12
2021-01-11 21:07:30 +01:00
philipp 4512272c1c UserDetail - delete
ref #12
2021-01-11 21:06:47 +01:00
philipp ce1f3842e0 🖊 UserDetail - reactivity on edit + update functionality
ref #12
2021-01-11 20:41:57 +01:00
philipp ee01c3a059 🚀RELEASE v0.1.6
continuous-integration/drone/push Build is passing
2021-01-10 18:19:45 +01:00
philipp 81c1537bad 🔒 UserDetail - added basic layout for permission change
ref #12
2021-01-10 18:14:11 +01:00
philipp 98ecfab032 UserDetail multiselect layout for groups
ref #12
2021-01-10 18:02:36 +01:00
philipp b948b8c1a4 UserDetail - placeholder for permission picker 🔒
ref #12
2021-01-10 17:55:13 +01:00
philipp f856c6ae37 📧 UserDetail - email input
ref #12
2021-01-10 17:54:50 +01:00
philipp 2dd2580530 Merge branch 'dev' into feature/12-user-management 2021-01-10 17:34:12 +01:00
philipp 330755c63e 🚀RELEASE v0.1.5
continuous-integration/drone/push Build is passing
2021-01-10 17:18:55 +01:00
philipp 9cf0174b41 Merge commit '16f572480ad55425890061f9dad65fe85f2f39ad' into dev
close #30
2021-01-10 17:18:33 +01:00
philipp 16f572480a add versionbuilder script to release hook
ref #30
2021-01-10 17:18:16 +01:00
philipp b8a9e4f272 📅 dynamic copyright year in Footer component
ref #30
2021-01-10 17:17:07 +01:00
philipp c089bb3929 ⤵ load dynamic build info in Footer component
ref #30
2021-01-10 17:16:51 +01:00
philipp 3caa1fc277 🔨 sample build of index.html with versionbuilder script
ref #30
2021-01-10 17:16:07 +01:00
philipp 43b406592e 👀 improved Footer layout + display on Login component
ref #30
2021-01-10 17:15:46 +01:00
philipp 1dd6674faa added versionbuilder.js script
ref #30
2021-01-10 17:15:01 +01:00
philipp 4674b52717 🚀RELEASE v0.1.4
continuous-integration/drone/push Build is passing
2021-01-10 15:30:59 +01:00
philipp cd5831251a Merge commit '45ec97066f425ac2ac66914be649cbd5a1038e10' into dev
close #20
2021-01-10 15:30:42 +01:00
philipp 45ec97066f 🌎 add remaining translation keys for filepond
ref #20
2021-01-10 15:30:13 +01:00
philipp b08c0f145a add basic i18n logic to filepond
ref #20
2021-01-10 15:26:52 +01:00
philipp f0c100aee4 UsersOverview - user delete
ref #12
2021-01-10 15:16:02 +01:00
philipp 0e31ba212f About - change license modal icon to "legal"
continuous-integration/drone/push Build was killed
2021-01-10 15:04:05 +01:00
philipp 692c906cd2 🌎 About - i18n 2021-01-10 15:03:32 +01:00
philipp 4f3837ac45 new license file version [CI SKIP] 2021-01-10 13:47:30 +00:00
philipp ccb5125a48 🚀RELEASE v0.1.3
continuous-integration/drone/push Build is passing
2021-01-10 14:46:31 +01:00
philipp 1c356a41f5 🌎 improved i18n for AddUserModal and UserDetail
ref #12
2021-01-10 14:45:34 +01:00
philipp 6012d0577e 🖊 add basic UserDetail editing reactivity
ref #12
2021-01-10 14:26:52 +01:00
philipp 5ec1dfa8b0 sample layout for advanced search
ref #12
2021-01-10 13:35:46 +01:00
philipp 3754f09b2f 🌎 added i18n for UsersOverview
ref #12
2021-01-10 13:31:46 +01:00
philipp b9e0be4483 🔍 UsersOverview table - basic fuzzy search
ref #12
2021-01-10 13:30:26 +01:00
philipp e1d5d54cfb 🧹 simplified UsersOverview table
ref #12
2021-01-10 13:30:04 +01:00
philipp e97c5c3b7e Merge branch 'dev' into feature/12-user-management 2021-01-10 13:09:42 +01:00
philipp 242b5afbe9 🚀RELEASE v0.1.2
continuous-integration/drone/push Build is passing
2021-01-10 13:08:24 +01:00
philipp 12e5835360 Merge branch 'dev' of https://git.odit.services/lfk/frontend into dev 2021-01-10 13:07:50 +01:00
philipp 4af3cd158d Merge commit '2a37dfafa426e070aa136d171a1a01aa7f609d18' into dev
close #29
2021-01-10 13:07:43 +01:00
philipp 2a37dfafa4 dropped redundant console.log
ref #29
2021-01-10 13:06:48 +01:00
philipp 2cbb431acc 💾 save new auth data to localstorage
ref#29
2021-01-10 13:06:01 +01:00
philipp d92c6c0de9 🔒 added basic manual refresh every 4mins
ref #29
2021-01-10 13:03:48 +01:00
philipp 19887c8f96 Merge branch 'dev' into feature/12-user-management 2021-01-10 12:37:18 +01:00
philipp 519ba79e1d new license file version [CI SKIP] 2021-01-10 11:36:40 +00:00
philipp 4ccd18ca9f Merge commit '5810b4ec4396ad650d90493fb48e2a8320865b42' into dev
continuous-integration/drone/push Build is passing
close #4
2021-01-10 12:35:44 +01:00
philipp 5810b4ec43 🚀RELEASE v0.1.2-1 2021-01-10 12:30:23 +01:00
philipp 52aa99681b 🧪 modified auto-changelog to commit CHANGELOG.md
ref #4
2021-01-10 12:30:11 +01:00
philipp 0276c3deeb 🚀RELEASE v0.1.2-0 2021-01-10 12:26:07 +01:00
philipp b28f76a1d4 🧪 experimental - auto changelog generation
ref #4
2021-01-10 12:25:42 +01:00
philipp a66f6bbec8 🚀RELEASE v0.1.1 2021-01-10 12:24:29 +01:00
philipp 139b3294cd 🧪 move changelog generation to default 2021-01-10 12:24:19 +01:00
philipp b9aa00e8de Merge branch 'dev' into feature/12-user-management 2021-01-10 11:42:35 +01:00
philipp ded31980bf userdetail - dynamic buttons
ref #12
2021-01-09 19:11:46 +01:00
philipp 264e0d7ed9 AddUserModal - data validation
ref #12
2021-01-09 18:55:54 +01:00
18894 changed files with 2436485 additions and 3478 deletions
+6
View File
@@ -0,0 +1,6 @@
FROM mcr.microsoft.com/vscode/devcontainers/base:alpine-3.12
RUN apk update
RUN apk add --upgrade nodejs-current npm
RUN npm i -g yarn rimraf
RUN rimraf node_modules
RUN yarn set version berry
+20
View File
@@ -0,0 +1,20 @@
{
"name": "Node.js",
"build": {
"dockerfile": "Dockerfile"
},
"settings": {
"terminal.integrated.shell.linux": "/bin/sh"
},
"extensions": [
"dbaeumer.vscode-eslint",
"2gua.rainbow-brackets",
"christian-kohler.npm-intellisense",
"remimarsal.prettier-now",
"svelte.svelte-vscode",
"lokalise.i18n-ally",
"fivethree.vscode-svelte-snippets",
"voorjaar.windicss-intellisense"
],
"postCreateCommand": "yarn && yarn dev --open"
}
+1 -3
View File
@@ -1,3 +1 @@
public/env.sample.js
public/workbox-*.js
public/workbox-*.js.map
public/env.sample.js
+73 -19
View File
@@ -1,27 +1,37 @@
---
kind: secret
name: docker_username
get:
path: odit-registry-builder
name: username
---
kind: secret
name: docker_password
get:
path: odit-registry-builder
name: password
---
kind: secret
name: git_ssh
get:
path: odit-git-bot
name: sshkey
---
kind: pipeline
type: docker
type: kubernetes
name: build:dev
steps:
- name: build dev
image: plugins/docker
depends_on: [clone]
settings:
username:
from_secret: DOCKER_REGISTRY_USER
password:
from_secret: DOCKER_REGISTRY_PASSWORD
repo: registry.odit.services/lfk/frontend
tags:
- dev
registry: registry.odit.services
- name: run full license export
depends_on: ["clone"]
image: node:alpine
image: registry.odit.services/hub/library/node:19.7.0-alpine3.16
commands:
- yarn
- yarn licenses:export
- npm config set registry http://npm-cache.drone.svc.cluster.local:8080 && npm i -g pnpm@7
- pnpm i
- pnpm licenses:export
- name: push new licenses file to repo
depends_on: ["run full license export"]
image: appleboy/drone-git-push
@@ -32,10 +42,54 @@ steps:
author_email: bot@odit.services
remote: git@git.odit.services:lfk/frontend.git
ssh_key:
from_secret: GITLAB_SSHKEY
from_secret: git_ssh
- name: build dev
depends_on: ["clone"]
image: registry.odit.services/library/drone-kaniko
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
build_args:
- NPM_REGISTRY_DOMAIN:
from_secret: npmjs_domain
- NPM_REGISTRY_TOKEN:
from_secret: npmjs_token
repo: lfk/frontend
tags:
- dev
cache: true
registry: registry.odit.services
trigger:
branch:
- dev
event:
- push
- push
---
kind: pipeline
type: kubernetes
name: build:tags
steps:
- name: build $DRONE_TAG
depends_on: ["clone"]
image: registry.odit.services/library/drone-kaniko
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
build_args:
- NPM_REGISTRY_DOMAIN:
from_secret: npmjs_domain
- NPM_REGISTRY_TOKEN:
from_secret: npmjs_token
repo: lfk/frontend
tags:
- "${DRONE_TAG}"
cache: true
registry: registry.odit.services
trigger:
event:
- tag
+3 -8
View File
@@ -1,10 +1,5 @@
.vscode
.idea
node_modules
dist
dist-ssr
public/env.js
/build
yarn.lock
package-lock.json
*.map
public/env.js
public/index.html
/dist
@@ -0,0 +1,29 @@
import { concat as concatStatic } from '../observable/concat';
import { Observable } from '../Observable';
import { ObservableInput, OperatorFunction, MonoTypeOperatorFunction, SchedulerLike } from '../types';
/* tslint:disable:max-line-length */
/** @deprecated Deprecated in favor of static concat. */
export function concat<T>(scheduler?: SchedulerLike): MonoTypeOperatorFunction<T>;
/** @deprecated Deprecated in favor of static concat. */
export function concat<T, T2>(v2: ObservableInput<T2>, scheduler?: SchedulerLike): OperatorFunction<T, T | T2>;
/** @deprecated Deprecated in favor of static concat. */
export function concat<T, T2, T3>(v2: ObservableInput<T2>, v3: ObservableInput<T3>, scheduler?: SchedulerLike): OperatorFunction<T, T | T2 | T3>;
/** @deprecated Deprecated in favor of static concat. */
export function concat<T, T2, T3, T4>(v2: ObservableInput<T2>, v3: ObservableInput<T3>, v4: ObservableInput<T4>, scheduler?: SchedulerLike): OperatorFunction<T, T | T2 | T3 | T4>;
/** @deprecated Deprecated in favor of static concat. */
export function concat<T, T2, T3, T4, T5>(v2: ObservableInput<T2>, v3: ObservableInput<T3>, v4: ObservableInput<T4>, v5: ObservableInput<T5>, scheduler?: SchedulerLike): OperatorFunction<T, T | T2 | T3 | T4 | T5>;
/** @deprecated Deprecated in favor of static concat. */
export function concat<T, T2, T3, T4, T5, T6>(v2: ObservableInput<T2>, v3: ObservableInput<T3>, v4: ObservableInput<T4>, v5: ObservableInput<T5>, v6: ObservableInput<T6>, scheduler?: SchedulerLike): OperatorFunction<T, T | T2 | T3 | T4 | T5 | T6>;
/** @deprecated Deprecated in favor of static concat. */
export function concat<T>(...observables: Array<ObservableInput<T> | SchedulerLike>): MonoTypeOperatorFunction<T>;
/** @deprecated Deprecated in favor of static concat. */
export function concat<T, R>(...observables: Array<ObservableInput<any> | SchedulerLike>): OperatorFunction<T, R>;
/* tslint:enable:max-line-length */
/**
* @deprecated Deprecated in favor of static {@link concat}.
*/
export function concat<T, R>(...observables: Array<ObservableInput<any> | SchedulerLike>): OperatorFunction<T, R> {
return (source: Observable<T>) => source.lift.call(concatStatic(source, ...observables));
}
@@ -0,0 +1 @@
{"version":3,"file":"map.js","sources":["../../src/add/operator/map.ts"],"names":[],"mappings":";;AAAA,wCAAsC"}
@@ -0,0 +1,34 @@
var baseHasIn = require('./_baseHasIn'),
hasPath = require('./_hasPath');
/**
* Checks if `path` is a direct or inherited property of `object`.
*
* @static
* @memberOf _
* @since 4.0.0
* @category Object
* @param {Object} object The object to query.
* @param {Array|string} path The path to check.
* @returns {boolean} Returns `true` if `path` exists, else `false`.
* @example
*
* var object = _.create({ 'a': _.create({ 'b': 2 }) });
*
* _.hasIn(object, 'a');
* // => true
*
* _.hasIn(object, 'a.b');
* // => true
*
* _.hasIn(object, ['a', 'b']);
* // => true
*
* _.hasIn(object, 'b');
* // => false
*/
function hasIn(object, path) {
return object != null && hasPath(object, path, baseHasIn);
}
module.exports = hasIn;
@@ -0,0 +1,2 @@
var convert = require('./convert');
module.exports = convert(require('../function'));
@@ -0,0 +1,39 @@
/**
Check if [`argv`](https://nodejs.org/docs/latest/api/process.html#process_process_argv) has a specific flag.
@param flag - CLI flag to look for. The `--` prefix is optional.
@param argv - CLI arguments. Default: `process.argv`.
@returns Whether the flag exists.
@example
```
// $ ts-node foo.ts -f --unicorn --foo=bar -- --rainbow
// foo.ts
import hasFlag = require('has-flag');
hasFlag('unicorn');
//=> true
hasFlag('--unicorn');
//=> true
hasFlag('f');
//=> true
hasFlag('-f');
//=> true
hasFlag('foo=bar');
//=> true
hasFlag('foo');
//=> false
hasFlag('rainbow');
//=> false
```
*/
declare function hasFlag(flag: string, argv?: string[]): boolean;
export = hasFlag;
@@ -0,0 +1,52 @@
{
"name": "prelude-ls",
"version": "1.1.2",
"author": "George Zahariev <z@georgezahariev.com>",
"description": "prelude.ls is a functionally oriented utility library. It is powerful and flexible. Almost all of its functions are curried. It is written in, and is the recommended base library for, LiveScript.",
"keywords": [
"prelude",
"livescript",
"utility",
"ls",
"coffeescript",
"javascript",
"library",
"functional",
"array",
"list",
"object",
"string"
],
"main": "lib/",
"files": [
"lib/",
"README.md",
"LICENSE"
],
"homepage": "http://preludels.com",
"bugs": "https://github.com/gkz/prelude-ls/issues",
"licenses": [
{
"type": "MIT",
"url": "https://raw.github.com/gkz/prelude-ls/master/LICENSE"
}
],
"engines": {
"node": ">= 0.8.0"
},
"repository": {
"type": "git",
"url": "git://github.com/gkz/prelude-ls.git"
},
"scripts": {
"test": "make test"
},
"devDependencies": {
"livescript": "~1.4.0",
"uglify-js": "~2.4.12",
"mocha": "~2.2.4",
"istanbul": "~0.2.4",
"browserify": "~3.24.13",
"sinon": "~1.10.2"
}
}
@@ -0,0 +1,36 @@
'use strict';
require('../auto');
var runTests = require('./tests');
var test = require('tape');
var defineProperties = require('define-properties');
var callBind = require('call-bind');
var isEnumerable = Object.prototype.propertyIsEnumerable;
var functionsHaveNames = require('functions-have-names')();
test('shimmed', function (t) {
t.equal(String.prototype.trimEnd.length, 0, 'String#trimEnd has a length of 0');
t.test('Function name', { skip: !functionsHaveNames }, function (st) {
st.equal((/^(?:trimRight|trimEnd)$/).test(String.prototype.trimEnd.name), true, 'String#trimEnd has name "trimRight" or "trimEnd"');
st.end();
});
t.test('enumerability', { skip: !defineProperties.supportsDescriptors }, function (et) {
et.equal(false, isEnumerable.call(String.prototype, 'trimEnd'), 'String#trimEnd is not enumerable');
et.end();
});
var supportsStrictMode = (function () { return typeof this === 'undefined'; }());
t.test('bad string/this value', { skip: !supportsStrictMode }, function (st) {
st['throws'](function () { return String.prototype.trimEnd.call(undefined, 'a'); }, TypeError, 'undefined is not an object');
st['throws'](function () { return String.prototype.trimEnd.call(null, 'a'); }, TypeError, 'null is not an object');
st.end();
});
runTests(callBind(String.prototype.trimEnd), t);
t.end();
});
@@ -0,0 +1,7 @@
/**
* https://tc39.es/ecma402/#sec-coerceoptionstoobject
* @param options
* @returns
*/
export declare function CoerceOptionsToObject<T>(options?: T): T;
//# sourceMappingURL=CoerceOptionsToObject.d.ts.map
@@ -0,0 +1,176 @@
declare class CancelErrorClass extends Error {
readonly name: 'CancelError';
readonly isCanceled: true;
constructor(reason?: string);
}
declare namespace PCancelable {
/**
Accepts a function that is called when the promise is canceled.
You're not required to call this function. You can call this function multiple times to add multiple cancel handlers.
*/
interface OnCancelFunction {
(cancelHandler: () => void): void;
shouldReject: boolean;
}
type CancelError = CancelErrorClass;
}
declare class PCancelable<ValueType> extends Promise<ValueType> {
/**
Convenience method to make your promise-returning or async function cancelable.
@param fn - A promise-returning function. The function you specify will have `onCancel` appended to its parameters.
@example
```
import PCancelable = require('p-cancelable');
const fn = PCancelable.fn((input, onCancel) => {
const job = new Job();
onCancel(() => {
job.cleanup();
});
return job.start(); //=> Promise
});
const cancelablePromise = fn('input'); //=> PCancelable
// …
cancelablePromise.cancel();
```
*/
static fn<ReturnType>(
userFn: (onCancel: PCancelable.OnCancelFunction) => PromiseLike<ReturnType>
): () => PCancelable<ReturnType>;
static fn<Agument1Type, ReturnType>(
userFn: (
argument1: Agument1Type,
onCancel: PCancelable.OnCancelFunction
) => PromiseLike<ReturnType>
): (argument1: Agument1Type) => PCancelable<ReturnType>;
static fn<Agument1Type, Agument2Type, ReturnType>(
userFn: (
argument1: Agument1Type,
argument2: Agument2Type,
onCancel: PCancelable.OnCancelFunction
) => PromiseLike<ReturnType>
): (
argument1: Agument1Type,
argument2: Agument2Type
) => PCancelable<ReturnType>;
static fn<Agument1Type, Agument2Type, Agument3Type, ReturnType>(
userFn: (
argument1: Agument1Type,
argument2: Agument2Type,
argument3: Agument3Type,
onCancel: PCancelable.OnCancelFunction
) => PromiseLike<ReturnType>
): (
argument1: Agument1Type,
argument2: Agument2Type,
argument3: Agument3Type
) => PCancelable<ReturnType>;
static fn<Agument1Type, Agument2Type, Agument3Type, Agument4Type, ReturnType>(
userFn: (
argument1: Agument1Type,
argument2: Agument2Type,
argument3: Agument3Type,
argument4: Agument4Type,
onCancel: PCancelable.OnCancelFunction
) => PromiseLike<ReturnType>
): (
argument1: Agument1Type,
argument2: Agument2Type,
argument3: Agument3Type,
argument4: Agument4Type
) => PCancelable<ReturnType>;
static fn<
Agument1Type,
Agument2Type,
Agument3Type,
Agument4Type,
Agument5Type,
ReturnType
>(
userFn: (
argument1: Agument1Type,
argument2: Agument2Type,
argument3: Agument3Type,
argument4: Agument4Type,
argument5: Agument5Type,
onCancel: PCancelable.OnCancelFunction
) => PromiseLike<ReturnType>
): (
argument1: Agument1Type,
argument2: Agument2Type,
argument3: Agument3Type,
argument4: Agument4Type,
argument5: Agument5Type
) => PCancelable<ReturnType>;
static fn<ReturnType>(
userFn: (...arguments: unknown[]) => PromiseLike<ReturnType>
): (...arguments: unknown[]) => PCancelable<ReturnType>;
/**
Create a promise that can be canceled.
Can be constructed in the same was as a [`Promise` constructor](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Promise), but with an appended `onCancel` parameter in `executor`. `PCancelable` is a subclass of `Promise`.
Cancelling will reject the promise with `CancelError`. To avoid that, set `onCancel.shouldReject` to `false`.
@example
```
import PCancelable = require('p-cancelable');
const cancelablePromise = new PCancelable((resolve, reject, onCancel) => {
const job = new Job();
onCancel.shouldReject = false;
onCancel(() => {
job.stop();
});
job.on('finish', resolve);
});
cancelablePromise.cancel(); // Doesn't throw an error
```
*/
constructor(
executor: (
resolve: (value?: ValueType | PromiseLike<ValueType>) => void,
reject: (reason?: unknown) => void,
onCancel: PCancelable.OnCancelFunction
) => void
);
/**
Whether the promise is canceled.
*/
readonly isCanceled: boolean;
/**
Cancel the promise and optionally provide a reason.
The cancellation is synchronous. Calling it after the promise has settled or multiple times does nothing.
@param reason - The cancellation reason to reject the promise with.
*/
cancel: (reason?: string) => void;
/**
Rejection reason when `.cancel()` is called.
It includes a `.isCanceled` property for convenience.
*/
static CancelError: typeof CancelErrorClass;
}
export = PCancelable;
@@ -0,0 +1 @@
module.exports={A:{A:{"2":"J E F G A B BC"},B:{"1":"C K L H M N O P Q R S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t"},C:{"1":"0 1 2 3 4 5 6 7 8 9 I u J E F G A B C K L H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB DC EC","2":"CC tB"},D:{"1":"0 1 2 3 4 5 6 7 8 9 F G A B C K L H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB FC","2":"I u J E"},E:{"1":"I u J E F G A B C K L H HC IC JC KC 0B qB rB 1B LC MC 2B 3B 4B 5B sB 6B 7B 8B NC","2":"GC zB"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d QC RC qB 9B SC rB","2":"G OC PC"},G:{"1":"F zB TC AC UC VC WC XC YC ZC aC bC cC dC eC fC gC hC iC jC kC lC mC 2B 3B 4B 5B sB 6B 7B 8B"},H:{"2":"nC"},I:{"1":"tB I D qC rC AC sC tC","16":"oC pC"},J:{"1":"E A"},K:{"1":"B C e qB 9B rB","16":"A"},L:{"1":"D"},M:{"1":"D"},N:{"2":"A B"},O:{"1":"uC"},P:{"1":"I vC wC xC yC zC 0B 0C 1C 2C 3C 4C sB 5C 6C 7C"},Q:{"1":"1B"},R:{"1":"8C"},S:{"1":"9C"}},B:6,C:"Wav audio format"};
@@ -0,0 +1,67 @@
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var internal = require('./internal/index.js');
function onMount() { }
function beforeUpdate() { }
function afterUpdate() { }
Object.defineProperty(exports, 'SvelteComponent', {
enumerable: true,
get: function () {
return internal.SvelteComponentDev;
}
});
Object.defineProperty(exports, 'SvelteComponentTyped', {
enumerable: true,
get: function () {
return internal.SvelteComponentTyped;
}
});
Object.defineProperty(exports, 'createEventDispatcher', {
enumerable: true,
get: function () {
return internal.createEventDispatcher;
}
});
Object.defineProperty(exports, 'getAllContexts', {
enumerable: true,
get: function () {
return internal.getAllContexts;
}
});
Object.defineProperty(exports, 'getContext', {
enumerable: true,
get: function () {
return internal.getContext;
}
});
Object.defineProperty(exports, 'hasContext', {
enumerable: true,
get: function () {
return internal.hasContext;
}
});
Object.defineProperty(exports, 'onDestroy', {
enumerable: true,
get: function () {
return internal.onDestroy;
}
});
Object.defineProperty(exports, 'setContext', {
enumerable: true,
get: function () {
return internal.setContext;
}
});
Object.defineProperty(exports, 'tick', {
enumerable: true,
get: function () {
return internal.tick;
}
});
exports.afterUpdate = afterUpdate;
exports.beforeUpdate = beforeUpdate;
exports.onMount = onMount;
@@ -0,0 +1,133 @@
# Changelog
All the changes made to toastify-js library.
## [1.12.0] - 2022-07-21
* Accessibility fix: Support aria-live for the toast
* Accessibility fix: Add aria-label for close icon
## [1.11.2] - 2021-10-06
* Bugfix: Style Options: "backgroundColor" not working! (#81)
* Bugfix: "ShadowRoot is undefined" in older browsers (#83)
## [1.11.1] - 2021-07-15
* Bugfix: IE11 support broke since style option #77
## [1.11.0] - 2021-04-25
* New property `oldestFirst` allows to set the order of adding new toasts to page (#70 and #71)
## [1.10.0] - 2021-03-25
* `selector` now supports a DOM Node, along with ID string ([#65](https://github.com/apvarun/toastify-js/pull/65))
* New property - `escapeMarkup` - Toggle the default behavior of escaping HTML markup
* New property - `style` - Use the HTML DOM Style properties to add any style directly to toast
* Adds `toastify-es.js`, to be used from node_modules until there are no compatibility issues
### Deprecations:
* `backgroundColor` is deprecated. Use `style.background` instead
## [1.9.3] - 2020-10-10
* Offset IE11 compatibility #64
## [1.9.2] - 2020-09-24
* Bugfix: Max width problem for firefox browser #61
## [1.9.1] - 2020-08-13
* Bugfix: Avatar positioning based on toast position
## [1.9.0] - 2020-07-22
* Add support for providing toast `offset`
* Updated docs: offset
## [1.8.0] - 2020-05-29
* Add option to provide a node instead of text
* Updated docs: permanent toast duration
## [1.7.0] - 2020-03-01
* To be able to set `stopOnFocus` for toasts without close icon
* Bugfix: `duration` can be infinite by setting as `0`
* Bugfix: Prevent errors when parent node is removed from DOM while using frameworks
* Bugfix: IE 9/10 compatibility fix
## [1.6.2] - 2020-01-03
* Bugfix: Closing the toast when custom close icon from icon fonts are used
## [1.6.1] - 2019-06-29
* Bugfix: Disabling `stopOnFocus`
## [1.6.0] - 2019-06-29
* **Deprecation Warning**: Migrating from `positionLeft` property to `position`
* Property `position` to support `center` as a value along with `left` and `right` - Useful for centering toast messages in the page
## [1.5.0] - 2019-05-30
* Added persistant toast option with ability to programatically close it
## [1.4.0] - 2019-05-12
* **Breaking Change**: Manually import CSS while using as module in your modern JavaScript applications
* Ability to pause the toast dismiss timer on hover (Using `stopOnFocus` property)
## [1.3.2] - 2018-12-6
* Added z-index attribute
## [1.2.1] - 2018-05-31
* Added support for Classes. Now custom classes can be added to the toast while creating it
## [1.2.0] - 2018-03-05
* Fix issue when `destination` and `close` options is used at the same time
## [1.1.0] - 2018-02-18
* Browser support extended to IE10+ without any polyfills
## [1.0.0] - 2018-02-17
* Support for modules
## [0.0.6] - 2017-09-09
* Support for changing background [Options]
* Optimized toast positioning logic
* Added changelog for library update tracking
## [0.0.5] - 2017-09-06
* Support for toast messages on mobile screens
* Tweaked close icon
## [0.0.4] - 2017-09-05
* Support for positioning of toasts on the page
## [0.0.3] - 2017-09-05
* Close buton for toasts [Options]
## [0.0.2] - 2017-09-04
* Option to add on-click link for toasts
* Updated comments for code readability
## [0.0.1] - 2017-09-02
* Initial Release
* Added Preview page
* Optimized function structure
@@ -0,0 +1,5 @@
var convert = require('./convert'),
func = convert('defaultsAll', require('../defaults'));
func.placeholder = require('./placeholder');
module.exports = func;
@@ -0,0 +1,126 @@
import { Component, toChildArray } from 'preact';
import { suspended } from './suspense.js';
// Indexes to linked list nodes (nodes are stored as arrays to save bytes).
const SUSPENDED_COUNT = 0;
const RESOLVED_COUNT = 1;
const NEXT_NODE = 2;
// Having custom inheritance instead of a class here saves a lot of bytes.
export function SuspenseList() {
this._next = null;
this._map = null;
}
// Mark one of child's earlier suspensions as resolved.
// Some pending callbacks may become callable due to this
// (e.g. the last suspended descendant gets resolved when
// revealOrder === 'together'). Process those callbacks as well.
const resolve = (list, child, node) => {
if (++node[RESOLVED_COUNT] === node[SUSPENDED_COUNT]) {
// The number a child (or any of its descendants) has been suspended
// matches the number of times it's been resolved. Therefore we
// mark the child as completely resolved by deleting it from ._map.
// This is used to figure out when *all* children have been completely
// resolved when revealOrder is 'together'.
list._map.delete(child);
}
// If revealOrder is falsy then we can do an early exit, as the
// callbacks won't get queued in the node anyway.
// If revealOrder is 'together' then also do an early exit
// if all suspended descendants have not yet been resolved.
if (
!list.props.revealOrder ||
(list.props.revealOrder[0] === 't' && list._map.size)
) {
return;
}
// Walk the currently suspended children in order, calling their
// stored callbacks on the way. Stop if we encounter a child that
// has not been completely resolved yet.
node = list._next;
while (node) {
while (node.length > 3) {
node.pop()();
}
if (node[RESOLVED_COUNT] < node[SUSPENDED_COUNT]) {
break;
}
list._next = node = node[NEXT_NODE];
}
};
// Things we do here to save some bytes but are not proper JS inheritance:
// - call `new Component()` as the prototype
// - do not set `Suspense.prototype.constructor` to `Suspense`
SuspenseList.prototype = new Component();
SuspenseList.prototype._suspended = function(child) {
const list = this;
const delegated = suspended(list._vnode);
let node = list._map.get(child);
node[SUSPENDED_COUNT]++;
return unsuspend => {
const wrappedUnsuspend = () => {
if (!list.props.revealOrder) {
// Special case the undefined (falsy) revealOrder, as there
// is no need to coordinate a specific order or unsuspends.
unsuspend();
} else {
node.push(unsuspend);
resolve(list, child, node);
}
};
if (delegated) {
delegated(wrappedUnsuspend);
} else {
wrappedUnsuspend();
}
};
};
SuspenseList.prototype.render = function(props) {
this._next = null;
this._map = new Map();
const children = toChildArray(props.children);
if (props.revealOrder && props.revealOrder[0] === 'b') {
// If order === 'backwards' (or, well, anything starting with a 'b')
// then flip the child list around so that the last child will be
// the first in the linked list.
children.reverse();
}
// Build the linked list. Iterate through the children in reverse order
// so that `_next` points to the first linked list node to be resolved.
for (let i = children.length; i--; ) {
// Create a new linked list node as an array of form:
// [suspended_count, resolved_count, next_node]
// where suspended_count and resolved_count are numeric counters for
// keeping track how many times a node has been suspended and resolved.
//
// Note that suspended_count starts from 1 instead of 0, so we can block
// processing callbacks until componentDidMount has been called. In a sense
// node is suspended at least until componentDidMount gets called!
//
// Pending callbacks are added to the end of the node:
// [suspended_count, resolved_count, next_node, callback_0, callback_1, ...]
this._map.set(children[i], (this._next = [1, 0, this._next]));
}
return props.children;
};
SuspenseList.prototype.componentDidUpdate = SuspenseList.prototype.componentDidMount = function() {
// Iterate through all children after mounting for two reasons:
// 1. As each node[SUSPENDED_COUNT] starts from 1, this iteration increases
// each node[RELEASED_COUNT] by 1, therefore balancing the counters.
// The nodes can now be completely consumed from the linked list.
// 2. Handle nodes that might have gotten resolved between render and
// componentDidMount.
this._map.forEach((node, child) => {
resolve(this, child, node);
});
};
@@ -0,0 +1,23 @@
'use strict';
var callBind = require('call-bind');
var define = require('define-properties');
var RequireObjectCoercible = require('es-abstract/2022/RequireObjectCoercible');
var implementation = require('./implementation');
var getPolyfill = require('./polyfill');
var shim = require('./shim');
var bound = callBind(getPolyfill());
var boundMethod = function trim(receiver) {
RequireObjectCoercible(receiver);
return bound(receiver);
};
define(boundMethod, {
getPolyfill: getPolyfill,
implementation: implementation,
shim: shim
});
module.exports = boundMethod;
@@ -0,0 +1 @@
module.exports={A:{A:{"2":"J D E F A B CC"},B:{"1":"q r s t u f H","2":"C K L G M N O P Q R S T U V W X Y Z a b c d e i j k l m n o p"},C:{"1":"bB cB dB eB fB gB hB iB jB kB h lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d e i j k l m n o p q r s t u f H xB yB","2":"0 1 2 3 4 5 6 7 8 9 DC tB I v J D E F A B C K L G M N O w g x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB EC FC"},D:{"1":"q r s t u f H xB yB GC","2":"0 1 2 3 4 5 6 7 8 9 I v J D E F A B C K L G M N O w g x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB fB gB hB iB jB kB h lB mB nB oB pB P Q R S T U V W X Y Z a b c d e i j k l m n o p"},E:{"1":"9B OC","2":"I v J D E F A B C K L G HC zB IC JC KC LC 0B qB rB 1B MC NC 2B 3B 4B 5B sB 6B 7B 8B"},F:{"1":"a b c d e","2":"0 1 2 3 4 5 6 7 8 9 F B C G M N O w g x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB h lB mB nB oB pB P Q R wB S T U V W X Y Z PC QC RC SC qB AC TC rB"},G:{"1":"9B","2":"E zB UC BC VC WC XC YC ZC aC bC cC dC eC fC gC hC iC jC kC lC mC nC 2B 3B 4B 5B sB 6B 7B 8B"},H:{"2":"oC"},I:{"1":"f","2":"tB I pC qC rC sC BC tC uC"},J:{"2":"D A"},K:{"1":"h","2":"A B C qB AC rB"},L:{"1":"H"},M:{"1":"H"},N:{"2":"A B"},O:{"2":"vC"},P:{"1":"g","2":"I wC xC yC zC 0C 0B 1C 2C 3C 4C 5C sB 6C 7C 8C"},Q:{"2":"1B"},R:{"2":"9C"},S:{"1":"BD","2":"AD"}},B:4,C:"Media Queries: Range Syntax"};
@@ -0,0 +1 @@
module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.02167,"49":0,"50":0,"51":0,"52":0.05055,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0.00722,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0.00722,"67":0,"68":0.00722,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0.01444,"78":0.00722,"79":0.00722,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0.00722,"89":0,"90":0,"91":0.00722,"92":0,"93":0.00722,"94":0.00722,"95":0.00722,"96":0,"97":0,"98":0,"99":0,"100":0.00722,"101":0,"102":0.065,"103":0.00722,"104":0,"105":0.00722,"106":0.02167,"107":0.01444,"108":0.05055,"109":1.27829,"110":0.83775,"111":0,"112":0.00722,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0.00722,"42":0,"43":0,"44":0.00722,"45":0.00722,"46":0,"47":0,"48":0,"49":0.02167,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0.00722,"64":0.00722,"65":0.03611,"66":0.00722,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0.00722,"74":0.00722,"75":0,"76":0,"77":0,"78":0,"79":0.03611,"80":0.00722,"81":0.00722,"83":0.01444,"84":0.01444,"85":0.02889,"86":0.02167,"87":0.065,"88":0.02167,"89":0.00722,"90":0.00722,"91":0.01444,"92":0.07222,"93":0.02167,"94":0.00722,"95":0.02167,"96":0.02167,"97":0.03611,"98":0.01444,"99":0.00722,"100":0.01444,"101":0.02167,"102":0.02889,"103":0.12277,"104":0.02167,"105":0.13,"106":0.09389,"107":0.2311,"108":1.19163,"109":22.71319,"110":13.77958,"111":0.00722,"112":0,"113":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0.00722,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.01444,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0.00722,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0.00722,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0.00722,"86":0,"87":0.00722,"88":0,"89":0,"90":0,"91":0.00722,"92":0,"93":0.12277,"94":1.3144,"95":0.67887,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},B:{"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"79":0,"80":0,"81":0,"83":0,"84":0,"85":0.00722,"86":0,"87":0,"88":0.00722,"89":0,"90":0,"91":0,"92":0.03611,"93":0,"94":0,"95":0,"96":0,"97":0.00722,"98":0,"99":0.00722,"100":0.00722,"101":0,"102":0.00722,"103":0,"104":0.00722,"105":0.10833,"106":0.02167,"107":0.10111,"108":0.28166,"109":2.9538,"110":3.07657},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.03611,"12":0,"13":0.01444,"14":0.05055,"15":0.00722,_:"0","3.1":0,"3.2":0,"5.1":0.00722,"6.1":0,"7.1":0,"9.1":0,"10.1":0,"11.1":0,"12.1":0.00722,"13.1":0.04333,"14.1":0.065,"15.1":0.02167,"15.2-15.3":0.01444,"15.4":0.02167,"15.5":0.03611,"15.6":0.18777,"16.0":0.03611,"16.1":0.13722,"16.2":0.20944,"16.3":0.15888,"16.4":0},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.01344,"5.0-5.1":0,"6.0-6.1":0.00269,"7.0-7.1":0.00403,"8.1-8.4":0.00537,"9.0-9.2":0.04031,"9.3":0.02687,"10.0-10.2":0.00134,"10.3":0.09003,"11.0-11.2":0.00403,"11.3-11.4":0.00806,"12.0-12.1":0.00672,"12.2-12.5":0.11019,"13.0-13.1":0.00537,"13.2":0.00941,"13.3":0.01478,"13.4-13.7":0.04972,"14.0-14.4":0.17469,"14.5-14.8":0.301,"15.0-15.1":0.07794,"15.2-15.3":0.15319,"15.4":0.16528,"15.5":0.41118,"15.6":1.01587,"16.0":1.93364,"16.1":3.27469,"16.2":3.07716,"16.3":1.84495,"16.4":0.01344},P:{"4":0.05084,"20":0.66095,"5.0-5.4":0.01017,"6.2-6.4":0,"7.2-7.4":0,"8.2":0,"9.2":0.01017,"10.1":0,"11.1-11.2":0.01017,"12.0":0,"13.0":0.03051,"14.0":0.01017,"15.0":0.01017,"16.0":0.03051,"17.0":0.04067,"18.0":0.10169,"19.0":1.18972},I:{"0":0,"3":0.00957,"4":0,"2.1":0.01435,"2.2":0.01435,"2.3":0,"4.1":0.01435,"4.2-4.3":0.02391,"4.4":0,"4.4.3-4.4.4":0.08848},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00812,"9":0,"10":0,"11":0.05687,"5.5":0},N:{"10":0,"11":0},S:{"2.5":0,_:"3.0-3.1"},J:{"7":0,"10":0},O:{"0":0.0889},H:{"0":0.25774},L:{"0":30.42548},R:{_:"0"},M:{"0":0.1889},Q:{"13.1":0.06667}};
@@ -0,0 +1 @@
module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0.06347,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.00353,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0.00353,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0.00353,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0.00353,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0.00705,"89":0,"90":0,"91":0.00353,"92":0,"93":0,"94":0,"95":0.00353,"96":0.01058,"97":0.00353,"98":0,"99":0.00353,"100":0.00353,"101":0.00353,"102":0.00705,"103":0.00705,"104":0.00705,"105":0.00705,"106":0.01058,"107":0.02468,"108":0.69462,"109":0.36318,"110":0.01058,"111":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0.00353,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.00353,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0.00353,"64":0,"65":0.00353,"66":0,"67":0,"68":0,"69":0.00705,"70":0.00353,"71":0.00705,"72":0.00353,"73":0.00353,"74":0.01058,"75":0.00353,"76":0.00353,"77":0.00353,"78":0.00353,"79":0.01058,"80":0.03879,"81":0.0141,"83":0.01058,"84":0.01058,"85":0.01058,"86":0.01058,"87":0.0141,"88":0.00705,"89":0.01058,"90":0.00353,"91":0.00705,"92":0.01058,"93":0.00353,"94":0.00705,"95":0.00705,"96":0.01058,"97":0.01058,"98":0.00705,"99":0.00705,"100":0.02821,"101":0.01058,"102":0.0141,"103":0.03526,"104":0.01763,"105":0.02116,"106":0.02821,"107":0.07757,"108":4.57675,"109":3.83981,"110":0.00353,"111":0,"112":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0.01058,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0.00353,"60":0.00353,"62":0,"63":0.00705,"64":0.00705,"65":0.00353,"66":0.00705,"67":0.00353,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0.00705,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0.00353,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0.00353,"93":0.04231,"94":0.13046,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},B:{"12":0.00353,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0.00353,"79":0,"80":0,"81":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0.00353,"93":0,"94":0,"95":0,"96":0,"97":0,"98":0,"99":0,"100":0,"101":0,"102":0,"103":0,"104":0,"105":0.00353,"106":0.00353,"107":0.0141,"108":0.49364,"109":0.44075},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0.00353,"14":0.0141,"15":0.00353,_:"0","3.1":0,"3.2":0,"5.1":0.02468,"6.1":0,"7.1":0,"9.1":0,"10.1":0,"11.1":0,"12.1":0.00353,"13.1":0.01763,"14.1":0.02821,"15.1":0.01058,"15.2-15.3":0.00705,"15.4":0.01058,"15.5":0.02468,"15.6":0.05642,"16.0":0.0141,"16.1":0.04231,"16.2":0.04584,"16.3":0.00353},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0,"5.0-5.1":0.0019,"6.0-6.1":0.00095,"7.0-7.1":0,"8.1-8.4":0,"9.0-9.2":0,"9.3":0.01329,"10.0-10.2":0,"10.3":0.01234,"11.0-11.2":0.00475,"11.3-11.4":0.00285,"12.0-12.1":0.00949,"12.2-12.5":0.23538,"13.0-13.1":0.00854,"13.2":0.00759,"13.3":0.02942,"13.4-13.7":0.06074,"14.0-14.4":0.24393,"14.5-14.8":0.39009,"15.0-15.1":0.17464,"15.2-15.3":0.21355,"15.4":0.37016,"15.5":0.54765,"15.6":1.04594,"16.0":1.62206,"16.1":2.01784,"16.2":1.49108,"16.3":0.11484},P:{"4":0.1243,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0.05179,"8.2":0,"9.2":0.01036,"10.1":0,"11.1-11.2":0.04143,"12.0":0.01036,"13.0":0.04143,"14.0":0.04143,"15.0":0.02072,"16.0":0.09323,"17.0":0.09323,"18.0":0.1243,"19.0":1.10835},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.03705},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.02116,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},R:{_:"0"},M:{"0":0.24601},Q:{"13.1":0.00647},O:{"0":1.02937},H:{"0":0.86421},L:{"0":73.84974},S:{"2.5":0}};
@@ -0,0 +1 @@
module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.00336,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0.00673,"92":0.00673,"93":0,"94":0,"95":0,"96":0,"97":0,"98":0,"99":0,"100":0,"101":0,"102":0.00336,"103":0,"104":0,"105":0,"106":0,"107":0,"108":0.00336,"109":0.53824,"110":0.34313,"111":0.00336,"112":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0.00673,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.00673,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0.00673,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0.00336,"78":0,"79":0.01009,"80":0,"81":0.00673,"83":0.00673,"84":0,"85":0.00336,"86":0.00336,"87":0.00336,"88":0,"89":0.00336,"90":0.00336,"91":0.00336,"92":0,"93":0.00336,"94":0,"95":0.00673,"96":0.01346,"97":0.01009,"98":0.04037,"99":0.00336,"100":0.00336,"101":0.00336,"102":0.02355,"103":0.08746,"104":0.00336,"105":0.00673,"106":0.00336,"107":0.02691,"108":0.21193,"109":3.84842,"110":2.45908,"111":0.00336,"112":0,"113":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0.00336,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0.01346,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0,"93":0.01009,"94":0.0841,"95":0.08074,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},B:{"12":0,"13":0,"14":0,"15":0,"16":0.00336,"17":0,"18":0.00673,"79":0,"80":0,"81":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0.00336,"93":0,"94":0,"95":0,"96":0,"97":0,"98":0,"99":0,"100":0,"101":0,"102":0,"103":0,"104":0,"105":0,"106":0.00673,"107":0.01346,"108":0.01682,"109":0.6728,"110":0.69635},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0.00336,"14":0.0841,"15":0,_:"0","3.1":0,"3.2":0,"5.1":0.00336,"6.1":0,"7.1":0,"9.1":0,"10.1":0,"11.1":0,"12.1":0.00336,"13.1":0.00673,"14.1":0.0471,"15.1":0,"15.2-15.3":0.00336,"15.4":0.01009,"15.5":0.21866,"15.6":0.0841,"16.0":0.01009,"16.1":0.02355,"16.2":0.13792,"16.3":0.0841,"16.4":0},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0,"5.0-5.1":0.00225,"6.0-6.1":0.00225,"7.0-7.1":0.04727,"8.1-8.4":0,"9.0-9.2":0,"9.3":0.02026,"10.0-10.2":0,"10.3":0.08779,"11.0-11.2":0,"11.3-11.4":0.02926,"12.0-12.1":0.01125,"12.2-12.5":0.76531,"13.0-13.1":0.0045,"13.2":0,"13.3":0.45468,"13.4-13.7":0.21158,"14.0-14.4":0.39616,"14.5-14.8":1.69268,"15.0-15.1":0.39166,"15.2-15.3":0.18457,"15.4":0.33088,"15.5":0.28586,"15.6":1.29877,"16.0":1.8885,"16.1":3.2458,"16.2":3.99534,"16.3":2.20813,"16.4":0.02251},P:{"4":0.69846,"20":2.58842,"5.0-5.4":0.01027,"6.2-6.4":0.01027,"7.2-7.4":0.56493,"8.2":0,"9.2":0.10272,"10.1":0,"11.1-11.2":0.0719,"12.0":0.02054,"13.0":0.19516,"14.0":0.12326,"15.0":0.06163,"16.0":0.22597,"17.0":0.26706,"18.0":0.25679,"19.0":3.3896},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0.02037,"4.4":0,"4.4.3-4.4.4":0.32594},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.02018,"5.5":0},N:{"10":0,"11":0},S:{"2.5":0,_:"3.0-3.1"},J:{"7":0,"10":0},O:{"0":0.47779},H:{"0":0.16335},L:{"0":59.37362},R:{_:"0"},M:{"0":0.15926},Q:{"13.1":0.00664}};
@@ -0,0 +1,436 @@
// http://wiki.commonjs.org/wiki/Unit_Testing/1.0
//
// THIS IS NOT TESTED NOR LIKELY TO WORK OUTSIDE V8!
//
// Copyright (c) 2011 Jxck
//
// Originally from node.js (http://nodejs.org)
// Copyright Joyent, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the 'Software'), to
// deal in the Software without restriction, including without limitation the
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
// sell copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
(function(global) {
// Object.create compatible in IE
var create = Object.create || function(p) {
if (!p) throw Error('no type');
function f() {};
f.prototype = p;
return new f();
};
// UTILITY
var util = {
inherits: function(ctor, superCtor) {
ctor.super_ = superCtor;
ctor.prototype = create(superCtor.prototype, {
constructor: {
value: ctor,
enumerable: false,
writable: true,
configurable: true
}
});
},
isArray: function(ar) {
return Array.isArray(ar);
},
isBoolean: function(arg) {
return typeof arg === 'boolean';
},
isNull: function(arg) {
return arg === null;
},
isNullOrUndefined: function(arg) {
return arg == null;
},
isNumber: function(arg) {
return typeof arg === 'number';
},
isString: function(arg) {
return typeof arg === 'string';
},
isSymbol: function(arg) {
return typeof arg === 'symbol';
},
isUndefined: function(arg) {
return arg === void 0;
},
isRegExp: function(re) {
return util.isObject(re) && util.objectToString(re) === '[object RegExp]';
},
isObject: function(arg) {
return typeof arg === 'object' && arg !== null;
},
isDate: function(d) {
return util.isObject(d) && util.objectToString(d) === '[object Date]';
},
isError: function(e) {
return isObject(e) &&
(objectToString(e) === '[object Error]' || e instanceof Error);
},
isFunction: function(arg) {
return typeof arg === 'function';
},
isPrimitive: function(arg) {
return arg === null ||
typeof arg === 'boolean' ||
typeof arg === 'number' ||
typeof arg === 'string' ||
typeof arg === 'symbol' || // ES6 symbol
typeof arg === 'undefined';
},
objectToString: function(o) {
return Object.prototype.toString.call(o);
}
};
var pSlice = Array.prototype.slice;
// from https://github.com/substack/node-deep-equal
var Object_keys = typeof Object.keys === 'function'
? Object.keys
: function (obj) {
var keys = [];
for (var key in obj) keys.push(key);
return keys;
}
;
// 1. The assert module provides functions that throw
// AssertionError's when particular conditions are not met. The
// assert module must conform to the following interface.
var assert = ok;
global['assert'] = assert;
if (typeof module === 'object' && typeof module.exports === 'object') {
module.exports = assert;
};
// 2. The AssertionError is defined in assert.
// new assert.AssertionError({ message: message,
// actual: actual,
// expected: expected })
assert.AssertionError = function AssertionError(options) {
this.name = 'AssertionError';
this.actual = options.actual;
this.expected = options.expected;
this.operator = options.operator;
if (options.message) {
this.message = options.message;
this.generatedMessage = false;
} else {
this.message = getMessage(this);
this.generatedMessage = true;
}
var stackStartFunction = options.stackStartFunction || fail;
if (Error.captureStackTrace) {
Error.captureStackTrace(this, stackStartFunction);
} else {
// try to throw an error now, and from the stack property
// work out the line that called in to assert.js.
try {
this.stack = (new Error).stack.toString();
} catch (e) {}
}
};
// assert.AssertionError instanceof Error
util.inherits(assert.AssertionError, Error);
function replacer(key, value) {
if (util.isUndefined(value)) {
return '' + value;
}
if (util.isNumber(value) && (isNaN(value) || !isFinite(value))) {
return value.toString();
}
if (util.isFunction(value) || util.isRegExp(value)) {
return value.toString();
}
return value;
}
function truncate(s, n) {
if (util.isString(s)) {
return s.length < n ? s : s.slice(0, n);
} else {
return s;
}
}
function getMessage(self) {
return truncate(JSON.stringify(self.actual, replacer), 128) + ' ' +
self.operator + ' ' +
truncate(JSON.stringify(self.expected, replacer), 128);
}
// At present only the three keys mentioned above are used and
// understood by the spec. Implementations or sub modules can pass
// other keys to the AssertionError's constructor - they will be
// ignored.
// 3. All of the following functions must throw an AssertionError
// when a corresponding condition is not met, with a message that
// may be undefined if not provided. All assertion methods provide
// both the actual and expected values to the assertion error for
// display purposes.
function fail(actual, expected, message, operator, stackStartFunction) {
throw new assert.AssertionError({
message: message,
actual: actual,
expected: expected,
operator: operator,
stackStartFunction: stackStartFunction
});
}
// EXTENSION! allows for well behaved errors defined elsewhere.
assert.fail = fail;
// 4. Pure assertion tests whether a value is truthy, as determined
// by !!guard.
// assert.ok(guard, message_opt);
// This statement is equivalent to assert.equal(true, !!guard,
// message_opt);. To test strictly for the value true, use
// assert.strictEqual(true, guard, message_opt);.
function ok(value, message) {
if (!value) fail(value, true, message, '==', assert.ok);
}
assert.ok = ok;
// 5. The equality assertion tests shallow, coercive equality with
// ==.
// assert.equal(actual, expected, message_opt);
assert.equal = function equal(actual, expected, message) {
if (actual != expected) fail(actual, expected, message, '==', assert.equal);
};
// 6. The non-equality assertion tests for whether two objects are not equal
// with != assert.notEqual(actual, expected, message_opt);
assert.notEqual = function notEqual(actual, expected, message) {
if (actual == expected) {
fail(actual, expected, message, '!=', assert.notEqual);
}
};
// 7. The equivalence assertion tests a deep equality relation.
// assert.deepEqual(actual, expected, message_opt);
assert.deepEqual = function deepEqual(actual, expected, message) {
if (!_deepEqual(actual, expected)) {
fail(actual, expected, message, 'deepEqual', assert.deepEqual);
}
};
function _deepEqual(actual, expected) {
// 7.1. All identical values are equivalent, as determined by ===.
if (actual === expected) {
return true;
// } else if (util.isBuffer(actual) && util.isBuffer(expected)) {
// if (actual.length != expected.length) return false;
//
// for (var i = 0; i < actual.length; i++) {
// if (actual[i] !== expected[i]) return false;
// }
//
// return true;
// 7.2. If the expected value is a Date object, the actual value is
// equivalent if it is also a Date object that refers to the same time.
} else if (util.isDate(actual) && util.isDate(expected)) {
return actual.getTime() === expected.getTime();
// 7.3 If the expected value is a RegExp object, the actual value is
// equivalent if it is also a RegExp object with the same source and
// properties (`global`, `multiline`, `lastIndex`, `ignoreCase`).
} else if (util.isRegExp(actual) && util.isRegExp(expected)) {
return actual.source === expected.source &&
actual.global === expected.global &&
actual.multiline === expected.multiline &&
actual.lastIndex === expected.lastIndex &&
actual.ignoreCase === expected.ignoreCase;
// 7.4. Other pairs that do not both pass typeof value == 'object',
// equivalence is determined by ==.
} else if (!util.isObject(actual) && !util.isObject(expected)) {
return actual == expected;
// 7.5 For all other Object pairs, including Array objects, equivalence is
// determined by having the same number of owned properties (as verified
// with Object.prototype.hasOwnProperty.call), the same set of keys
// (although not necessarily the same order), equivalent values for every
// corresponding key, and an identical 'prototype' property. Note: this
// accounts for both named and indexed properties on Arrays.
} else {
return objEquiv(actual, expected);
}
}
function isArguments(object) {
return Object.prototype.toString.call(object) == '[object Arguments]';
}
function objEquiv(a, b) {
if (util.isNullOrUndefined(a) || util.isNullOrUndefined(b))
return false;
// an identical 'prototype' property.
if (a.prototype !== b.prototype) return false;
//~~~I've managed to break Object.keys through screwy arguments passing.
// Converting to array solves the problem.
if (isArguments(a)) {
if (!isArguments(b)) {
return false;
}
a = pSlice.call(a);
b = pSlice.call(b);
return _deepEqual(a, b);
}
try {
var ka = Object_keys(a),
kb = Object_keys(b),
key, i;
} catch (e) {//happens when one is a string literal and the other isn't
return false;
}
// having the same number of owned properties (keys incorporates
// hasOwnProperty)
if (ka.length != kb.length)
return false;
//the same set of keys (although not necessarily the same order),
ka.sort();
kb.sort();
//~~~cheap key test
for (i = ka.length - 1; i >= 0; i--) {
if (ka[i] != kb[i])
return false;
}
//equivalent values for every corresponding key, and
//~~~possibly expensive deep test
for (i = ka.length - 1; i >= 0; i--) {
key = ka[i];
if (!_deepEqual(a[key], b[key])) return false;
}
return true;
}
// 8. The non-equivalence assertion tests for any deep inequality.
// assert.notDeepEqual(actual, expected, message_opt);
assert.notDeepEqual = function notDeepEqual(actual, expected, message) {
if (_deepEqual(actual, expected)) {
fail(actual, expected, message, 'notDeepEqual', assert.notDeepEqual);
}
};
// 9. The strict equality assertion tests strict equality, as determined by ===.
// assert.strictEqual(actual, expected, message_opt);
assert.strictEqual = function strictEqual(actual, expected, message) {
if (actual !== expected) {
fail(actual, expected, message, '===', assert.strictEqual);
}
};
// 10. The strict non-equality assertion tests for strict inequality, as
// determined by !==. assert.notStrictEqual(actual, expected, message_opt);
assert.notStrictEqual = function notStrictEqual(actual, expected, message) {
if (actual === expected) {
fail(actual, expected, message, '!==', assert.notStrictEqual);
}
};
function expectedException(actual, expected) {
if (!actual || !expected) {
return false;
}
if (Object.prototype.toString.call(expected) == '[object RegExp]') {
return expected.test(actual);
} else if (actual instanceof expected) {
return true;
} else if (expected.call({}, actual) === true) {
return true;
}
return false;
}
function _throws(shouldThrow, block, expected, message) {
var actual;
if (util.isString(expected)) {
message = expected;
expected = null;
}
try {
block();
} catch (e) {
actual = e;
}
message = (expected && expected.name ? ' (' + expected.name + ').' : '.') +
(message ? ' ' + message : '.');
if (shouldThrow && !actual) {
fail(actual, expected, 'Missing expected exception' + message);
}
if (!shouldThrow && expectedException(actual, expected)) {
fail(actual, expected, 'Got unwanted exception' + message);
}
if ((shouldThrow && actual && expected &&
!expectedException(actual, expected)) || (!shouldThrow && actual)) {
throw actual;
}
}
// 11. Expected to throw an error:
// assert.throws(block, Error_opt, message_opt);
assert.throws = function(block, /*optional*/error, /*optional*/message) {
_throws.apply(this, [true].concat(pSlice.call(arguments)));
};
// EXTENSION! This is annoying to write outside this module.
assert.doesNotThrow = function(block, /*optional*/message) {
_throws.apply(this, [false].concat(pSlice.call(arguments)));
};
assert.ifError = function(err) { if (err) {throw err;}};
if (typeof define === 'function' && define.amd) {
define('assert', function () {
return assert;
});
}
})(this);
@@ -0,0 +1,16 @@
'use strict'
const u = require('universalify').fromCallback
const jsonFile = require('./jsonfile')
jsonFile.outputJson = u(require('./output-json'))
jsonFile.outputJsonSync = require('./output-json-sync')
// aliases
jsonFile.outputJSON = jsonFile.outputJson
jsonFile.outputJSONSync = jsonFile.outputJsonSync
jsonFile.writeJSON = jsonFile.writeJson
jsonFile.writeJSONSync = jsonFile.writeJsonSync
jsonFile.readJSON = jsonFile.readJson
jsonFile.readJSONSync = jsonFile.readJsonSync
module.exports = jsonFile
@@ -0,0 +1,63 @@
var apply = require('./_apply'),
arrayPush = require('./_arrayPush'),
baseRest = require('./_baseRest'),
castSlice = require('./_castSlice'),
toInteger = require('./toInteger');
/** Error message constants. */
var FUNC_ERROR_TEXT = 'Expected a function';
/* Built-in method references for those with the same name as other `lodash` methods. */
var nativeMax = Math.max;
/**
* Creates a function that invokes `func` with the `this` binding of the
* create function and an array of arguments much like
* [`Function#apply`](http://www.ecma-international.org/ecma-262/7.0/#sec-function.prototype.apply).
*
* **Note:** This method is based on the
* [spread operator](https://mdn.io/spread_operator).
*
* @static
* @memberOf _
* @since 3.2.0
* @category Function
* @param {Function} func The function to spread arguments over.
* @param {number} [start=0] The start position of the spread.
* @returns {Function} Returns the new function.
* @example
*
* var say = _.spread(function(who, what) {
* return who + ' says ' + what;
* });
*
* say(['fred', 'hello']);
* // => 'fred says hello'
*
* var numbers = Promise.all([
* Promise.resolve(40),
* Promise.resolve(36)
* ]);
*
* numbers.then(_.spread(function(x, y) {
* return x + y;
* }));
* // => a Promise of 76
*/
function spread(func, start) {
if (typeof func != 'function') {
throw new TypeError(FUNC_ERROR_TEXT);
}
start = start == null ? 0 : nativeMax(toInteger(start), 0);
return baseRest(function(args) {
var array = args[start],
otherArgs = castSlice(args, 0, start);
if (array) {
arrayPush(otherArgs, array);
}
return apply(func, this, otherArgs);
});
}
module.exports = spread;
@@ -0,0 +1,206 @@
const path = require('path');
const test = require('ava');
const sh = require('shelljs');
const _ = require('lodash');
const sinon = require('sinon');
const Log = require('../lib/log');
const Spinner = require('../lib/spinner');
const Prompt = require('../lib/prompt');
const Config = require('../lib/config');
const runTasks = require('../lib/tasks');
const { mkTmpDir, gitAdd } = require('./util/helpers');
const ShellStub = require('./stub/shell');
const { interceptPublish: interceptGitLabPublish } = require('./stub/gitlab');
const { interceptCreate: interceptGitHubCreate } = require('./stub/github');
const noop = Promise.resolve();
const sandbox = sinon.createSandbox();
const testConfig = {
ci: false,
config: false,
'disable-metrics': true
};
const log = sandbox.createStubInstance(Log);
const spinner = sandbox.createStubInstance(Spinner);
spinner.show.callsFake(({ enabled = true, task }) => (enabled ? task() : noop));
const defaultInquirer = {
prompt: sandbox.stub().callsFake(([options]) => {
const answer = options.type === 'list' ? options.choices[0].value : options.name === 'version' ? '0.0.1' : true;
return { [options.name]: answer };
})
};
const getContainer = (options, inquirer = defaultInquirer) => {
const config = new Config(Object.assign({}, testConfig, options));
const shell = new ShellStub({ container: { log, config } });
const prompt = new Prompt({ container: { inquirer } });
return {
log,
spinner,
config,
shell,
prompt
};
};
const getHooks = plugins => {
const hooks = {};
['before', 'after'].forEach(prefix => {
plugins.forEach(ns => {
['init', 'beforeBump', 'bump', 'beforeRelease', 'release', 'afterRelease'].forEach(lifecycle => {
hooks[`${prefix}:${lifecycle}`] = `echo ${prefix}:${lifecycle}`;
hooks[`${prefix}:${ns}:${lifecycle}`] = `echo ${prefix}:${ns}:${lifecycle}`;
});
});
});
return hooks;
};
test.serial.beforeEach(t => {
const bare = mkTmpDir();
const target = mkTmpDir();
sh.pushd('-q', bare);
sh.exec(`git init --bare .`);
sh.exec(`git clone ${bare} ${target}`);
sh.pushd('-q', target);
gitAdd('line', 'file', 'Add file');
t.context = { bare, target };
});
test.serial.afterEach(() => {
sandbox.resetHistory();
});
test.serial('should run tasks without throwing errors', async t => {
sh.mv('.git', 'foo');
const { name, latestVersion, version } = await runTasks({}, getContainer());
t.is(version, '0.0.1');
t.true(log.obtrusive.firstCall.args[0].includes(`release ${name} (currently at ${latestVersion})`));
t.regex(log.log.lastCall.args[0], /Done \(in [0-9]+s\.\)/);
});
test.serial('should not run hooks for disabled release-cycle methods', async t => {
const hooks = getHooks(['version', 'git', 'github', 'gitlab', 'npm']);
const container = getContainer({
hooks,
git: { push: false },
github: { release: false },
gitlab: { release: false },
npm: { publish: false }
});
const exec = sandbox.spy(container.shell, 'execFormattedCommand');
await runTasks({}, container);
const commands = _.flatten(exec.args).filter(arg => typeof arg === 'string' && arg.startsWith('echo'));
t.true(commands.includes('echo before:init'));
t.true(commands.includes('echo after:afterRelease'));
t.false(commands.includes('echo after:git:release'));
t.false(commands.includes('echo after:github:release'));
t.false(commands.includes('echo after:gitlab:release'));
t.false(commands.includes('echo after:npm:release'));
});
test.serial('should not run hooks for cancelled release-cycle methods', async t => {
const { target } = t.context;
const pkgName = path.basename(target);
gitAdd(`{"name":"${pkgName}","version":"1.0.0"}`, 'package.json', 'Add package.json');
sh.exec('git tag 1.0.0');
const hooks = getHooks(['version', 'git', 'github', 'gitlab', 'npm']);
const inquirer = { prompt: sandbox.stub().callsFake(([options]) => ({ [options.name]: false })) };
const container = getContainer(
{
increment: 'minor',
hooks,
github: { release: true, skipChecks: true },
gitlab: { release: true, skipChecks: true },
npm: { publish: true, skipChecks: true }
},
inquirer
);
const exec = sandbox.stub(container.shell, 'execFormattedCommand').callThrough();
exec.withArgs('npm version 1.1.0 --no-git-tag-version').rejects();
await runTasks({}, container);
const commands = _.flatten(exec.args).filter(arg => typeof arg === 'string' && arg.startsWith('echo'));
t.true(commands.includes('echo before:init'));
t.true(commands.includes('echo after:afterRelease'));
t.true(commands.includes('echo after:git:bump'));
t.false(commands.includes('echo after:npm:bump'));
t.false(commands.includes('echo after:git:release'));
t.false(commands.includes('echo after:github:release'));
t.false(commands.includes('echo after:gitlab:release'));
t.false(commands.includes('echo after:npm:release'));
exec.restore();
});
test.serial('should run "after:*:release" plugin hooks', async t => {
const { bare, target } = t.context;
const project = path.basename(bare);
const pkgName = path.basename(target);
const owner = path.basename(path.dirname(bare));
gitAdd(`{"name":"${pkgName}","version":"1.0.0"}`, 'package.json', 'Add package.json');
sh.exec('git tag 1.0.0');
const sha = gitAdd('line', 'file', 'More file');
interceptGitHubCreate({
owner,
project,
body: { tag_name: '1.1.0', name: 'Release 1.1.0', body: `* More file (${sha})` }
});
interceptGitLabPublish({
owner,
project,
body: {
name: 'Release 1.1.0',
tag_name: '1.1.0',
description: `* More file (${sha})`
}
});
const hooks = getHooks(['version', 'git', 'github', 'gitlab', 'npm']);
const container = getContainer({
increment: 'minor',
hooks,
github: { release: true, pushRepo: `https://github.com/${owner}/${project}`, skipChecks: true },
gitlab: { release: true, pushRepo: `https://gitlab.com/${owner}/${project}`, skipChecks: true },
npm: { name: pkgName, skipChecks: true }
});
const exec = sandbox.spy(container.shell, 'execFormattedCommand');
await runTasks({}, container);
const commands = _.flatten(exec.args).filter(arg => typeof arg === 'string' && arg.startsWith('echo'));
t.true(commands.includes('echo after:git:bump'));
t.true(commands.includes('echo after:npm:bump'));
t.true(commands.includes('echo after:git:release'));
t.true(commands.includes('echo after:github:release'));
t.true(commands.includes('echo after:gitlab:release'));
t.true(commands.includes('echo after:npm:release'));
});
test.serial('should show only version prompt', async t => {
const config = { ci: false, 'only-version': true };
await runTasks({}, getContainer(config));
t.true(defaultInquirer.prompt.calledOnce);
t.is(defaultInquirer.prompt.firstCall.args[0][0].name, 'incrementList');
});
@@ -0,0 +1,11 @@
import { promise as queueAsPromised } from './queue.js'
/* eslint-disable */
const queue = queueAsPromised(worker, 1)
console.log('the result is', await queue.push(42))
async function worker (arg) {
return 42 * 2
}
@@ -0,0 +1,258 @@
# localForage
[![Build Status](https://travis-ci.org/localForage/localForage.svg?branch=master)](http://travis-ci.org/localForage/localForage)
[![NPM version](https://badge.fury.io/js/localforage.svg)](http://badge.fury.io/js/localforage)
[![Dependency Status](https://img.shields.io/david/localForage/localForage.svg)](https://david-dm.org/localForage/localForage)
[![npm](https://img.shields.io/npm/dm/localforage.svg?maxAge=2592000)](https://npmcharts.com/compare/localforage?minimal=true)
[![jsDelivr Hits](https://data.jsdelivr.com/v1/package/npm/localforage/badge?style=rounded)](https://www.jsdelivr.com/package/npm/localforage)
[![minzipped size](https://badgen.net/bundlephobia/minzip/localforage)](https://bundlephobia.com/result?p=localforage@1.10.0)
localForage is a fast and simple storage library for JavaScript. localForage
improves the offline experience of your web app by using asynchronous storage
(IndexedDB or WebSQL) with a simple, `localStorage`-like API.
localForage uses localStorage in browsers with no IndexedDB or
WebSQL support. See [the wiki for detailed compatibility info][supported browsers].
To use localForage, just drop a single JavaScript file into your page:
```html
<script src="localforage/dist/localforage.js"></script>
<script>localforage.getItem('something', myCallback);</script>
```
Try the [live example](http://codepen.io/thgreasi/pen/ojYKeE).
Download the [latest localForage from GitHub](https://github.com/localForage/localForage/releases/latest), or install with
[npm](https://www.npmjs.com/):
```bash
npm install localforage
```
[supported browsers]: https://github.com/localForage/localForage/wiki/Supported-Browsers-Platforms
## Support
Lost? Need help? Try the
[localForage API documentation](https://localforage.github.io/localForage). [localForage API文档也有中文版。](https://localforage.docschina.org)
If you're having trouble using the library, running the tests, or want to contribute to localForage, please look through the [existing issues](https://github.com/localForage/localForage/issues) for your problem first before creating a new one. If you still need help, [feel free to file an issue](https://github.com/localForage/localForage/issues/new).
# How to use localForage
## Callbacks vs Promises
Because localForage uses async storage, it has an async API.
It's otherwise exactly the same as the
[localStorage API](https://hacks.mozilla.org/2009/06/localstorage/).
localForage has a dual API that allows you to either use Node-style callbacks
or [Promises](https://www.promisejs.org/). If you are unsure which one is right for you, it's recommended to use Promises.
Here's an example of the Node-style callback form:
```js
localforage.setItem('key', 'value', function (err) {
// if err is non-null, we got an error
localforage.getItem('key', function (err, value) {
// if err is non-null, we got an error. otherwise, value is the value
});
});
```
And the Promise form:
```js
localforage.setItem('key', 'value').then(function () {
return localforage.getItem('key');
}).then(function (value) {
// we got our value
}).catch(function (err) {
// we got an error
});
```
Or, use `async`/`await`:
```js
try {
const value = await localforage.getItem('somekey');
// This code runs once the value has been loaded
// from the offline store.
console.log(value);
} catch (err) {
// This code runs if there were any errors.
console.log(err);
}
```
For more examples, please visit [the API docs](https://localforage.github.io/localForage).
## Storing Blobs, TypedArrays, and other JS objects
You can store any type in localForage; you aren't limited to strings like in
localStorage. Even if localStorage is your storage backend, localForage
automatically does `JSON.parse()` and `JSON.stringify()` when getting/setting
values.
localForage supports storing all native JS objects that can be serialized to
JSON, as well as ArrayBuffers, Blobs, and TypedArrays. Check the
[API docs][api] for a full list of types supported by localForage.
All types are supported in every storage backend, though storage limits in
localStorage make storing many large Blobs impossible.
[api]: https://localforage.github.io/localForage/#data-api-setitem
## Configuration
You can set database information with the `config()` method.
Available options are `driver`, `name`, `storeName`, `version`, `size`, and
`description`.
Example:
```javascript
localforage.config({
driver : localforage.WEBSQL, // Force WebSQL; same as using setDriver()
name : 'myApp',
version : 1.0,
size : 4980736, // Size of database, in bytes. WebSQL-only for now.
storeName : 'keyvaluepairs', // Should be alphanumeric, with underscores.
description : 'some description'
});
```
**Note:** you must call `config()` _before_ you interact with your data. This
means calling `config()` before using `getItem()`, `setItem()`, `removeItem()`,
`clear()`, `key()`, `keys()` or `length()`.
## Multiple instances
You can create multiple instances of localForage that point to different stores
using `createInstance`. All the configuration options used by
[`config`](#configuration) are supported.
``` javascript
var store = localforage.createInstance({
name: "nameHere"
});
var otherStore = localforage.createInstance({
name: "otherName"
});
// Setting the key on one of these doesn't affect the other.
store.setItem("key", "value");
otherStore.setItem("key", "value2");
```
## RequireJS
You can use localForage with [RequireJS](http://requirejs.org/):
```javascript
define(['localforage'], function(localforage) {
// As a callback:
localforage.setItem('mykey', 'myvalue', console.log);
// With a Promise:
localforage.setItem('mykey', 'myvalue').then(console.log);
});
```
## TypeScript
If you have the [`allowSyntheticDefaultImports` compiler option](https://www.typescriptlang.org/docs/handbook/compiler-options.html) set to `true` in your [tsconfig.json](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html) (supported in TypeScript v1.8+), you should use:
```javascript
import localForage from "localforage";
```
Otherwise you should use one of the following:
```javascript
import * as localForage from "localforage";
// or, in case that the typescript version that you are using
// doesn't support ES6 style imports for UMD modules like localForage
import localForage = require("localforage");
```
## Framework Support
If you use a framework listed, there's a localForage storage driver for the
models in your framework so you can store data offline with localForage. We
have drivers for the following frameworks:
* [AngularJS](https://github.com/ocombe/angular-localForage)
* [Angular 4 and up](https://github.com/Alorel/ngforage/)
* [Backbone](https://github.com/localForage/localForage-backbone)
* [Ember](https://github.com/genkgo/ember-localforage-adapter)
* [Vue](https://github.com/dmlzj/vlf)
* [NuxtJS](https://github.com/nuxt-community/localforage-module)
If you have a driver you'd like listed, please
[open an issue](https://github.com/localForage/localForage/issues/new) to have it
added to this list.
## Custom Drivers
You can create your own driver if you want; see the
[`defineDriver`](https://localforage.github.io/localForage/#driver-api-definedriver) API docs.
There is a [list of custom drivers on the wiki][custom drivers].
[custom drivers]: https://github.com/localForage/localForage/wiki/Custom-Drivers
# Working on localForage
You'll need [node/npm](http://nodejs.org/) and
[bower](http://bower.io/#installing-bower).
To work on localForage, you should start by
[forking it](https://github.com/localForage/localForage/fork) and installing its
dependencies. Replace `USERNAME` with your GitHub username and run the
following:
```bash
# Install bower globally if you don't have it:
npm install -g bower
# Replace USERNAME with your GitHub username:
git clone git@github.com:USERNAME/localForage.git
cd localForage
npm install
bower install
```
Omitting the bower dependencies will cause the tests to fail!
## Running Tests
You need PhantomJS installed to run local tests. Run `npm test` (or,
directly: `grunt test`). Your code must also pass the
[linter](http://jshint.com/).
localForage is designed to run in the browser, so the tests explicitly require
a browser environment. Local tests are run on a headless WebKit (using
[PhantomJS](http://phantomjs.org)).
When you submit a pull request, tests will be run against all browsers that
localForage supports on Travis CI using [Sauce Labs](https://saucelabs.com/).
## Library Size
As of version 1.7.3 the payload added to your app is rather small. Served using gzip compression, localForage will add less than 10k to your total bundle size:
<dl>
<dt>minified</dt><dd>`~29kB`</dd>
<dt>gzipped</dt><dd>`~8.8kB`</dd>
<dt>brotli'd</dt><dd>`~7.8kB`</dd>
</dl>
# License
This program is free software; it is distributed under an
[Apache License](https://github.com/localForage/localForage/blob/master/LICENSE).
---
Copyright (c) 2013-2016 [Mozilla](https://mozilla.org)
([Contributors](https://github.com/localForage/localForage/graphs/contributors)).
@@ -0,0 +1,201 @@
var common = require('./common');
var fs = require('fs');
common.register('rm', _rm, {
cmdOptions: {
'f': 'force',
'r': 'recursive',
'R': 'recursive',
},
});
// Recursively removes 'dir'
// Adapted from https://github.com/ryanmcgrath/wrench-js
//
// Copyright (c) 2010 Ryan McGrath
// Copyright (c) 2012 Artur Adib
//
// Licensed under the MIT License
// http://www.opensource.org/licenses/mit-license.php
function rmdirSyncRecursive(dir, force, fromSymlink) {
var files;
files = fs.readdirSync(dir);
// Loop through and delete everything in the sub-tree after checking it
for (var i = 0; i < files.length; i++) {
var file = dir + '/' + files[i];
var currFile = common.statNoFollowLinks(file);
if (currFile.isDirectory()) { // Recursive function back to the beginning
rmdirSyncRecursive(file, force);
} else { // Assume it's a file - perhaps a try/catch belongs here?
if (force || isWriteable(file)) {
try {
common.unlinkSync(file);
} catch (e) {
/* istanbul ignore next */
common.error('could not remove file (code ' + e.code + '): ' + file, {
continue: true,
});
}
}
}
}
// if was directory was referenced through a symbolic link,
// the contents should be removed, but not the directory itself
if (fromSymlink) return;
// Now that we know everything in the sub-tree has been deleted, we can delete the main directory.
// Huzzah for the shopkeep.
var result;
try {
// Retry on windows, sometimes it takes a little time before all the files in the directory are gone
var start = Date.now();
// TODO: replace this with a finite loop
for (;;) {
try {
result = fs.rmdirSync(dir);
if (fs.existsSync(dir)) throw { code: 'EAGAIN' };
break;
} catch (er) {
/* istanbul ignore next */
// In addition to error codes, also check if the directory still exists and loop again if true
if (process.platform === 'win32' && (er.code === 'ENOTEMPTY' || er.code === 'EBUSY' || er.code === 'EPERM' || er.code === 'EAGAIN')) {
if (Date.now() - start > 1000) throw er;
} else if (er.code === 'ENOENT') {
// Directory did not exist, deletion was successful
break;
} else {
throw er;
}
}
}
} catch (e) {
common.error('could not remove directory (code ' + e.code + '): ' + dir, { continue: true });
}
return result;
} // rmdirSyncRecursive
// Hack to determine if file has write permissions for current user
// Avoids having to check user, group, etc, but it's probably slow
function isWriteable(file) {
var writePermission = true;
try {
var __fd = fs.openSync(file, 'a');
fs.closeSync(__fd);
} catch (e) {
writePermission = false;
}
return writePermission;
}
function handleFile(file, options) {
if (options.force || isWriteable(file)) {
// -f was passed, or file is writable, so it can be removed
common.unlinkSync(file);
} else {
common.error('permission denied: ' + file, { continue: true });
}
}
function handleDirectory(file, options) {
if (options.recursive) {
// -r was passed, so directory can be removed
rmdirSyncRecursive(file, options.force);
} else {
common.error('path is a directory', { continue: true });
}
}
function handleSymbolicLink(file, options) {
var stats;
try {
stats = common.statFollowLinks(file);
} catch (e) {
// symlink is broken, so remove the symlink itself
common.unlinkSync(file);
return;
}
if (stats.isFile()) {
common.unlinkSync(file);
} else if (stats.isDirectory()) {
if (file[file.length - 1] === '/') {
// trailing separator, so remove the contents, not the link
if (options.recursive) {
// -r was passed, so directory can be removed
var fromSymlink = true;
rmdirSyncRecursive(file, options.force, fromSymlink);
} else {
common.error('path is a directory', { continue: true });
}
} else {
// no trailing separator, so remove the link
common.unlinkSync(file);
}
}
}
function handleFIFO(file) {
common.unlinkSync(file);
}
//@
//@ ### rm([options,] file [, file ...])
//@ ### rm([options,] file_array)
//@
//@ Available options:
//@
//@ + `-f`: force
//@ + `-r, -R`: recursive
//@
//@ Examples:
//@
//@ ```javascript
//@ rm('-rf', '/tmp/*');
//@ rm('some_file.txt', 'another_file.txt');
//@ rm(['some_file.txt', 'another_file.txt']); // same as above
//@ ```
//@
//@ Removes files.
function _rm(options, files) {
if (!files) common.error('no paths given');
// Convert to array
files = [].slice.call(arguments, 1);
files.forEach(function (file) {
var lstats;
try {
var filepath = (file[file.length - 1] === '/')
? file.slice(0, -1) // remove the '/' so lstatSync can detect symlinks
: file;
lstats = common.statNoFollowLinks(filepath); // test for existence
} catch (e) {
// Path does not exist, no force flag given
if (!options.force) {
common.error('no such file or directory: ' + file, { continue: true });
}
return; // skip file
}
// If here, path exists
if (lstats.isFile()) {
handleFile(file, options);
} else if (lstats.isDirectory()) {
handleDirectory(file, options);
} else if (lstats.isSymbolicLink()) {
handleSymbolicLink(file, options);
} else if (lstats.isFIFO()) {
handleFIFO(file);
}
}); // forEach(file)
return '';
} // rm
module.exports = _rm;
@@ -0,0 +1,7 @@
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
__export(require("rxjs-compat/operator/debounceTime"));
//# sourceMappingURL=debounceTime.js.map
@@ -0,0 +1,236 @@
#!/usr/bin/env node
/*
Copyright JS Foundation and other contributors, https://js.foundation/
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/*jslint sloppy:true plusplus:true node:true rhino:true */
/*global phantom:true */
var fs, system, esprima, options, fnames, forceFile, count;
if (typeof esprima === 'undefined') {
// PhantomJS can only require() relative files
if (typeof phantom === 'object') {
fs = require('fs');
system = require('system');
esprima = require('./esprima');
} else if (typeof require === 'function') {
fs = require('fs');
try {
esprima = require('esprima');
} catch (e) {
esprima = require('../');
}
} else if (typeof load === 'function') {
try {
load('esprima.js');
} catch (e) {
load('../esprima.js');
}
}
}
// Shims to Node.js objects when running under PhantomJS 1.7+.
if (typeof phantom === 'object') {
fs.readFileSync = fs.read;
process = {
argv: [].slice.call(system.args),
exit: phantom.exit,
on: function (evt, callback) {
callback();
}
};
process.argv.unshift('phantomjs');
}
// Shims to Node.js objects when running under Rhino.
if (typeof console === 'undefined' && typeof process === 'undefined') {
console = { log: print };
fs = { readFileSync: readFile };
process = {
argv: arguments,
exit: quit,
on: function (evt, callback) {
callback();
}
};
process.argv.unshift('esvalidate.js');
process.argv.unshift('rhino');
}
function showUsage() {
console.log('Usage:');
console.log(' esvalidate [options] [file.js...]');
console.log();
console.log('Available options:');
console.log();
console.log(' --format=type Set the report format, plain (default) or junit');
console.log(' -v, --version Print program version');
console.log();
process.exit(1);
}
options = {
format: 'plain'
};
fnames = [];
process.argv.splice(2).forEach(function (entry) {
if (forceFile || entry === '-' || entry.slice(0, 1) !== '-') {
fnames.push(entry);
} else if (entry === '-h' || entry === '--help') {
showUsage();
} else if (entry === '-v' || entry === '--version') {
console.log('ECMAScript Validator (using Esprima version', esprima.version, ')');
console.log();
process.exit(0);
} else if (entry.slice(0, 9) === '--format=') {
options.format = entry.slice(9);
if (options.format !== 'plain' && options.format !== 'junit') {
console.log('Error: unknown report format ' + options.format + '.');
process.exit(1);
}
} else if (entry === '--') {
forceFile = true;
} else {
console.log('Error: unknown option ' + entry + '.');
process.exit(1);
}
});
if (fnames.length === 0) {
fnames.push('');
}
if (options.format === 'junit') {
console.log('<?xml version="1.0" encoding="UTF-8"?>');
console.log('<testsuites>');
}
count = 0;
function run(fname, content) {
var timestamp, syntax, name;
try {
if (typeof content !== 'string') {
throw content;
}
if (content[0] === '#' && content[1] === '!') {
content = '//' + content.substr(2, content.length);
}
timestamp = Date.now();
syntax = esprima.parse(content, { tolerant: true });
if (options.format === 'junit') {
name = fname;
if (name.lastIndexOf('/') >= 0) {
name = name.slice(name.lastIndexOf('/') + 1);
}
console.log('<testsuite name="' + fname + '" errors="0" ' +
' failures="' + syntax.errors.length + '" ' +
' tests="' + syntax.errors.length + '" ' +
' time="' + Math.round((Date.now() - timestamp) / 1000) +
'">');
syntax.errors.forEach(function (error) {
var msg = error.message;
msg = msg.replace(/^Line\ [0-9]*\:\ /, '');
console.log(' <testcase name="Line ' + error.lineNumber + ': ' + msg + '" ' +
' time="0">');
console.log(' <error type="SyntaxError" message="' + error.message + '">' +
error.message + '(' + name + ':' + error.lineNumber + ')' +
'</error>');
console.log(' </testcase>');
});
console.log('</testsuite>');
} else if (options.format === 'plain') {
syntax.errors.forEach(function (error) {
var msg = error.message;
msg = msg.replace(/^Line\ [0-9]*\:\ /, '');
msg = fname + ':' + error.lineNumber + ': ' + msg;
console.log(msg);
++count;
});
}
} catch (e) {
++count;
if (options.format === 'junit') {
console.log('<testsuite name="' + fname + '" errors="1" failures="0" tests="1" ' +
' time="' + Math.round((Date.now() - timestamp) / 1000) + '">');
console.log(' <testcase name="' + e.message + '" ' + ' time="0">');
console.log(' <error type="ParseError" message="' + e.message + '">' +
e.message + '(' + fname + ((e.lineNumber) ? ':' + e.lineNumber : '') +
')</error>');
console.log(' </testcase>');
console.log('</testsuite>');
} else {
console.log(fname + ':' + e.lineNumber + ': ' + e.message.replace(/^Line\ [0-9]*\:\ /, ''));
}
}
}
fnames.forEach(function (fname) {
var content = '';
try {
if (fname && (fname !== '-' || forceFile)) {
content = fs.readFileSync(fname, 'utf-8');
} else {
fname = '';
process.stdin.resume();
process.stdin.on('data', function(chunk) {
content += chunk;
});
process.stdin.on('end', function() {
run(fname, content);
});
return;
}
} catch (e) {
content = e;
}
run(fname, content);
});
process.on('exit', function () {
if (options.format === 'junit') {
console.log('</testsuites>');
}
if (count > 0) {
process.exit(1);
}
if (count === 0 && typeof phantom === 'object') {
process.exit(0);
}
});
@@ -0,0 +1 @@
module.exports={A:{A:{"2":"BC","8":"J E F G A","129":"B"},B:{"1":"P Q R S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t","129":"C K L H M N O"},C:{"1":"0 1 2 3 4 5 6 7 8 9 AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB","2":"CC tB DC EC","129":"I u J E F G A B C K L H M N O v w x y z"},D:{"1":"9 AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB FC","2":"I u J E","129":"0 1 2 3 4 5 6 7 8 F G A B C K L H M N O v w x y z"},E:{"1":"F G A B C K L H KC 0B qB rB 1B LC MC 2B 3B 4B 5B sB 6B 7B 8B NC","2":"I u GC zB","129":"J E HC IC JC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d","2":"G B OC PC QC RC qB 9B SC","129":"C H M N O rB"},G:{"1":"F XC YC ZC aC bC cC dC eC fC gC hC iC jC kC lC mC 2B 3B 4B 5B sB 6B 7B 8B","2":"zB TC AC UC VC WC"},H:{"2":"nC"},I:{"1":"D","2":"tB I oC pC qC rC AC sC tC"},J:{"1":"A","2":"E"},K:{"1":"C e rB","2":"A B qB 9B"},L:{"1":"D"},M:{"1":"D"},N:{"8":"A","129":"B"},O:{"1":"uC"},P:{"1":"I vC wC xC yC zC 0B 0C 1C 2C 3C 4C sB 5C 6C 7C"},Q:{"1":"1B"},R:{"1":"8C"},S:{"129":"9C"}},B:6,C:"WebGL - 3D Canvas graphics"};
@@ -0,0 +1,7 @@
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
__export(require("rxjs-compat/operator/windowToggle"));
//# sourceMappingURL=windowToggle.js.map
@@ -0,0 +1 @@
module.exports={A:{A:{"2":"J D E F A B CC"},B:{"1":"N O P Q R S T U V W X Y Z a b c d e i j k l m n o p q r s t u f H","2":"C K L G M"},C:{"1":"JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB fB gB hB iB jB kB h lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d e i j k l m n o p q r s t u f H xB yB","2":"0 1 2 3 4 5 6 7 8 9 DC tB I v J D E F A B C K L G M N O w g x y z AB BB CB DB EB FB GB HB IB EC FC"},D:{"1":"LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB fB gB hB iB jB kB h lB mB nB oB pB P Q R S T U V W X Y Z a b c d e i j k l m n o p q r s t u f H xB yB GC","2":"0 1 2 3 4 5 6 7 8 9 I v J D E F A B C K L G M N O w g x y z AB BB CB DB EB FB GB HB IB JB KB"},E:{"1":"B C K L G qB rB 1B MC NC 2B 3B 4B 5B sB 6B 7B 8B 9B OC","2":"I v J D E F A HC zB IC JC KC LC 0B"},F:{"1":"8 9 AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB h lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d e","2":"0 1 2 3 4 5 6 7 F B C G M N O w g x y z PC QC RC SC qB AC TC rB"},G:{"1":"eC fC gC hC iC jC kC lC mC nC 2B 3B 4B 5B sB 6B 7B 8B 9B","2":"E zB UC BC VC WC XC YC ZC aC bC cC","194":"dC"},H:{"2":"oC"},I:{"1":"f","2":"tB I pC qC rC sC BC tC uC"},J:{"2":"D A"},K:{"1":"h","2":"A B C qB AC rB"},L:{"1":"H"},M:{"1":"H"},N:{"2":"A B"},O:{"1":"vC"},P:{"1":"g wC xC yC zC 0C 0B 1C 2C 3C 4C 5C sB 6C 7C 8C","2":"I"},Q:{"1":"1B"},R:{"1":"9C"},S:{"1":"AD BD"}},B:2,C:"Subresource Integrity"};
@@ -0,0 +1,33 @@
const { MAX_LENGTH } = require('../internal/constants')
const { re, t } = require('../internal/re')
const SemVer = require('../classes/semver')
const parseOptions = require('../internal/parse-options')
const parse = (version, options) => {
options = parseOptions(options)
if (version instanceof SemVer) {
return version
}
if (typeof version !== 'string') {
return null
}
if (version.length > MAX_LENGTH) {
return null
}
const r = options.loose ? re[t.LOOSE] : re[t.FULL]
if (!r.test(version)) {
return null
}
try {
return new SemVer(version, options)
} catch (er) {
return null
}
}
module.exports = parse
@@ -0,0 +1,4 @@
export type UserNotFoundError = {
name: string;
message: string;
};
@@ -0,0 +1,182 @@
# word-wrap [![NPM version](https://img.shields.io/npm/v/word-wrap.svg?style=flat)](https://www.npmjs.com/package/word-wrap) [![NPM monthly downloads](https://img.shields.io/npm/dm/word-wrap.svg?style=flat)](https://npmjs.org/package/word-wrap) [![NPM total downloads](https://img.shields.io/npm/dt/word-wrap.svg?style=flat)](https://npmjs.org/package/word-wrap) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/word-wrap.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/word-wrap)
> Wrap words to a specified length.
## Install
Install with [npm](https://www.npmjs.com/):
```sh
$ npm install --save word-wrap
```
## Usage
```js
var wrap = require('word-wrap');
wrap('Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.');
```
Results in:
```
Lorem ipsum dolor sit amet, consectetur adipiscing
elit, sed do eiusmod tempor incididunt ut labore
et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut
aliquip ex ea commodo consequat.
```
## Options
![image](https://cloud.githubusercontent.com/assets/383994/6543728/7a381c08-c4f6-11e4-8b7d-b6ba197569c9.png)
### options.width
Type: `Number`
Default: `50`
The width of the text before wrapping to a new line.
**Example:**
```js
wrap(str, {width: 60});
```
### options.indent
Type: `String`
Default: `` (two spaces)
The string to use at the beginning of each line.
**Example:**
```js
wrap(str, {indent: ' '});
```
### options.newline
Type: `String`
Default: `\n`
The string to use at the end of each line.
**Example:**
```js
wrap(str, {newline: '\n\n'});
```
### options.escape
Type: `function`
Default: `function(str){return str;}`
An escape function to run on each line after splitting them.
**Example:**
```js
var xmlescape = require('xml-escape');
wrap(str, {
escape: function(string){
return xmlescape(string);
}
});
```
### options.trim
Type: `Boolean`
Default: `false`
Trim trailing whitespace from the returned string. This option is included since `.trim()` would also strip the leading indentation from the first line.
**Example:**
```js
wrap(str, {trim: true});
```
### options.cut
Type: `Boolean`
Default: `false`
Break a word between any two letters when the word is longer than the specified width.
**Example:**
```js
wrap(str, {cut: true});
```
## About
### Related projects
* [common-words](https://www.npmjs.com/package/common-words): Updated list (JSON) of the 100 most common words in the English language. Useful for… [more](https://github.com/jonschlinkert/common-words) | [homepage](https://github.com/jonschlinkert/common-words "Updated list (JSON) of the 100 most common words in the English language. Useful for excluding these words from arrays.")
* [shuffle-words](https://www.npmjs.com/package/shuffle-words): Shuffle the words in a string and optionally the letters in each word using the… [more](https://github.com/jonschlinkert/shuffle-words) | [homepage](https://github.com/jonschlinkert/shuffle-words "Shuffle the words in a string and optionally the letters in each word using the Fisher-Yates algorithm. Useful for creating test fixtures, benchmarking samples, etc.")
* [unique-words](https://www.npmjs.com/package/unique-words): Return the unique words in a string or array. | [homepage](https://github.com/jonschlinkert/unique-words "Return the unique words in a string or array.")
* [wordcount](https://www.npmjs.com/package/wordcount): Count the words in a string. Support for english, CJK and Cyrillic. | [homepage](https://github.com/jonschlinkert/wordcount "Count the words in a string. Support for english, CJK and Cyrillic.")
### Contributing
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
### Contributors
| **Commits** | **Contributor** |
| --- | --- |
| 43 | [jonschlinkert](https://github.com/jonschlinkert) |
| 2 | [lordvlad](https://github.com/lordvlad) |
| 2 | [hildjj](https://github.com/hildjj) |
| 1 | [danilosampaio](https://github.com/danilosampaio) |
| 1 | [2fd](https://github.com/2fd) |
| 1 | [toddself](https://github.com/toddself) |
| 1 | [wolfgang42](https://github.com/wolfgang42) |
| 1 | [zachhale](https://github.com/zachhale) |
### Building docs
_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_
To generate the readme, run the following command:
```sh
$ npm install -g verbose/verb#dev verb-generate-readme && verb
```
### Running tests
Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
```sh
$ npm install && npm test
```
### Author
**Jon Schlinkert**
* [github/jonschlinkert](https://github.com/jonschlinkert)
* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)
### License
Copyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).
Released under the [MIT License](LICENSE).
***
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on June 02, 2017._
@@ -0,0 +1,37 @@
{
"name": "@nodelib/fs.stat",
"version": "2.0.5",
"description": "Get the status of a file with some features",
"license": "MIT",
"repository": "https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.stat",
"keywords": [
"NodeLib",
"fs",
"FileSystem",
"file system",
"stat"
],
"engines": {
"node": ">= 8"
},
"files": [
"out/**",
"!out/**/*.map",
"!out/**/*.spec.*"
],
"main": "out/index.js",
"typings": "out/index.d.ts",
"scripts": {
"clean": "rimraf {tsconfig.tsbuildinfo,out}",
"lint": "eslint \"src/**/*.ts\" --cache",
"compile": "tsc -b .",
"compile:watch": "tsc -p . --watch --sourceMap",
"test": "mocha \"out/**/*.spec.js\" -s 0",
"build": "npm run clean && npm run compile && npm run lint && npm test",
"watch": "npm run clean && npm run compile:watch"
},
"devDependencies": {
"@nodelib/fs.macchiato": "1.0.4"
},
"gitHead": "d6a7960d5281d3dd5f8e2efba49bb552d090f562"
}
@@ -0,0 +1,7 @@
'use strict';
const path = require('path');
const binaryExtensions = require('binary-extensions');
const extensions = new Set(binaryExtensions);
module.exports = filePath => extensions.has(path.extname(filePath).slice(1).toLowerCase());
@@ -0,0 +1,5 @@
'use strict'
module.exports.isClean = Symbol('isClean')
module.exports.my = Symbol('my')
@@ -0,0 +1 @@
{"version":3,"file":"windowCount.js","sources":["../../src/add/operator/windowCount.ts"],"names":[],"mappings":";;AAAA,gDAA8C"}
@@ -0,0 +1,4 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
require("rxjs-compat/add/observable/merge");
//# sourceMappingURL=merge.js.map
@@ -0,0 +1,9 @@
module.exports = {
y: 1 << 0,
n: 1 << 1,
a: 1 << 2,
p: 1 << 3,
u: 1 << 4,
x: 1 << 5,
d: 1 << 6
}
@@ -0,0 +1,5 @@
import isFloat from './isFloat';
export default function toFloat(str) {
if (!isFloat(str)) return NaN;
return parseFloat(str);
}
@@ -0,0 +1,34 @@
var defer = require('./defer.js');
// API
module.exports = async;
/**
* Runs provided callback asynchronously
* even if callback itself is not
*
* @param {function} callback - callback to invoke
* @returns {function} - augmented callback
*/
function async(callback)
{
var isAsync = false;
// check if async happened
defer(function() { isAsync = true; });
return function async_callback(err, result)
{
if (isAsync)
{
callback(err, result);
}
else
{
defer(function nextTick_callback()
{
callback(err, result);
});
}
};
}
@@ -0,0 +1,17 @@
"use strict"
module.exports = function (parentMedia, childMedia) {
if (!parentMedia.length && childMedia.length) return childMedia
if (parentMedia.length && !childMedia.length) return parentMedia
if (!parentMedia.length && !childMedia.length) return []
const media = []
parentMedia.forEach(parentItem => {
childMedia.forEach(childItem => {
if (parentItem !== childItem) media.push(`${parentItem} and ${childItem}`)
})
})
return media
}
@@ -0,0 +1,7 @@
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
__export(require("rxjs-compat/operator/delay"));
//# sourceMappingURL=delay.js.map
@@ -0,0 +1 @@
module.exports={C:{"2":0,"3":0,"4":0.0053,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.0159,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0.0106,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0,"93":0,"94":0,"95":0,"96":0,"97":0,"98":0,"99":0,"100":0,"101":0,"102":0.0106,"103":0,"104":0,"105":0,"106":0,"107":0.0106,"108":0.50341,"109":0.27025,"110":0,"111":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.0106,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0.0053,"66":0,"67":0,"68":0,"69":0,"70":0.0053,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0.0053,"77":0.0106,"78":0,"79":0.0106,"80":0.0159,"81":0.0053,"83":0.0053,"84":0.0053,"85":0.0106,"86":0.0159,"87":0.03709,"88":0.0053,"89":0.0053,"90":0,"91":0,"92":0.03179,"93":0.14837,"94":0.0106,"95":0.0053,"96":0.0053,"97":0.0053,"98":0.0106,"99":0.11128,"100":0.0265,"101":0.0053,"102":0.0053,"103":0.09538,"104":0.0159,"105":0.21196,"106":0.06889,"107":0.28085,"108":9.30504,"109":9.62828,"110":0,"111":0.0053,"112":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0.0053,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0.0106,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0.0053,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0,"93":0.43452,"94":0.40272,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},B:{"12":0,"13":0,"14":0.0053,"15":0,"16":0,"17":0,"18":0.0053,"79":0,"80":0,"81":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0.0106,"93":0,"94":0,"95":0,"96":0,"97":0,"98":0,"99":0,"100":0,"101":0,"102":0,"103":0,"104":0.0106,"105":0,"106":0.0053,"107":0.05299,"108":1.65329,"109":1.71158},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0.0053,"14":0.07419,"15":0.0159,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0,"11.1":0,"12.1":0.0159,"13.1":0.05299,"14.1":0.13777,"15.1":0.0212,"15.2-15.3":0.0265,"15.4":0.05829,"15.5":0.09008,"15.6":0.5299,"16.0":0.07949,"16.1":0.28615,"16.2":0.46631,"16.3":0.0265},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0,"5.0-5.1":0,"6.0-6.1":0.00503,"7.0-7.1":0,"8.1-8.4":0,"9.0-9.2":0,"9.3":0.02765,"10.0-10.2":0.00503,"10.3":0.39722,"11.0-11.2":0,"11.3-11.4":0.00754,"12.0-12.1":0.0352,"12.2-12.5":0.35197,"13.0-13.1":0.00251,"13.2":0.00503,"13.3":0.01006,"13.4-13.7":0.03017,"14.0-14.4":0.28912,"14.5-14.8":0.55812,"15.0-15.1":0.10308,"15.2-15.3":0.1785,"15.4":0.29414,"15.5":0.64611,"15.6":2.63975,"16.0":4.28143,"16.1":8.38688,"16.2":5.42784,"16.3":0.4651},P:{"4":0.05145,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0.02058,"8.2":0,"9.2":0,"10.1":0,"11.1-11.2":0.01029,"12.0":0.01029,"13.0":0.01029,"14.0":0.01029,"15.0":0.05145,"16.0":0.02058,"17.0":0.02058,"18.0":0.07204,"19.0":2.55215},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.19889},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.06889,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},R:{_:"0"},M:{"0":0.16924},Q:{"13.1":0},O:{"0":0.07052},H:{"0":0.20028},L:{"0":42.91639},S:{"2.5":0}};
@@ -0,0 +1,5 @@
export { default as compile } from './compile/index';
export { default as parse } from './parse/index';
export { default as preprocess } from './preprocess/index';
export { walk } from 'estree-walker';
export declare const VERSION = "__VERSION__";
@@ -0,0 +1 @@
module.exports={A:{A:{"2":"J E F G A B BC"},B:{"1":"K L H M N O P Q R S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t","2":"C"},C:{"1":"pB P Q R wB S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB","16":"CC","33":"0 1 2 3 4 5 6 7 8 9 tB I u J E F G A B C K L H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB DC EC"},D:{"1":"CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB FC","16":"I u J E F G A B C K L","132":"0 1 2 3 4 5 6 7 8 9 H M N O v w x y z AB BB"},E:{"1":"G A B C K L H KC 0B qB rB 1B LC MC 2B 3B 4B 5B sB 6B 7B 8B NC","16":"GC zB","132":"I u J E F HC IC JC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d","16":"G B OC PC QC RC qB","132":"C H M N O v w x y 9B SC rB"},G:{"1":"YC ZC aC bC cC dC eC fC gC hC iC jC kC lC mC 2B 3B 4B 5B sB 6B 7B 8B","16":"zB TC","132":"F AC UC VC WC XC"},H:{"2":"nC"},I:{"1":"D","16":"oC pC","132":"tB I qC rC AC sC tC"},J:{"1":"A","132":"E"},K:{"1":"e","2":"A B qB","132":"C 9B rB"},L:{"1":"D"},M:{"1":"D"},N:{"2":"A B"},O:{"1":"uC"},P:{"1":"I vC wC xC yC zC 0B 0C 1C 2C 3C 4C sB 5C 6C 7C"},Q:{"1":"1B"},R:{"1":"8C"},S:{"33":"9C"}},B:1,C:"CSS :read-only and :read-write selectors"};
@@ -0,0 +1 @@
{"version":3,"file":"merge.js","sources":["../../../src/internal/observable/merge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAqHxC,MAAM,UAAU,KAAK,CAAO,GAAG,WAAiE;IAC/F,IAAI,UAAU,GAAG,MAAM,CAAC,iBAAiB,CAAC;IAC1C,IAAI,SAAS,GAAkB,IAAI,CAAC;IACnC,IAAI,IAAI,GAAQ,WAAW,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IACpD,IAAI,WAAW,CAAC,IAAI,CAAC,EAAE;QACrB,SAAS,GAAkB,WAAW,CAAC,GAAG,EAAE,CAAC;QAC7C,IAAI,WAAW,CAAC,MAAM,GAAG,CAAC,IAAI,OAAO,WAAW,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC,KAAK,QAAQ,EAAE;YACrF,UAAU,GAAW,WAAW,CAAC,GAAG,EAAE,CAAC;SACxC;KACF;SAAM,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;QACnC,UAAU,GAAW,WAAW,CAAC,GAAG,EAAE,CAAC;KACxC;IAED,IAAI,SAAS,KAAK,IAAI,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,IAAI,WAAW,CAAC,CAAC,CAAC,YAAY,UAAU,EAAE;QAC1F,OAAsB,WAAW,CAAC,CAAC,CAAC,CAAC;KACtC;IAED,OAAO,QAAQ,CAAI,UAAU,CAAC,CAAC,SAAS,CAAM,WAAW,EAAE,SAAS,CAAC,CAAC,CAAC;AACzE,CAAC"}
@@ -0,0 +1 @@
module.exports={A:{A:{"1":"A B","2":"J E F G BC"},B:{"1":"C K L H M N O P Q R S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t"},C:{"1":"0 1 2 3 4 5 6 7 8 9 F G A B C K L H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB","2":"CC tB I u J E DC EC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB FC","16":"I u J E F G A B C K L"},E:{"1":"J E F G A B C K L H IC JC KC 0B qB rB 1B LC MC 2B 3B 4B 5B sB 6B 7B 8B NC","2":"I u GC zB HC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 C H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d SC rB","2":"G OC PC","16":"B QC RC qB 9B"},G:{"1":"F VC WC XC YC ZC aC bC cC dC eC fC gC hC iC jC kC lC mC 2B 3B 4B 5B sB 6B 7B 8B","2":"zB TC AC UC"},H:{"2":"nC"},I:{"1":"D sC tC","2":"tB I oC pC qC rC AC"},J:{"1":"A","2":"E"},K:{"1":"C e 9B rB","2":"A","16":"B qB"},L:{"1":"D"},M:{"1":"D"},N:{"1":"A B"},O:{"1":"uC"},P:{"1":"I vC wC xC yC zC 0B 0C 1C 2C 3C 4C sB 5C 6C 7C"},Q:{"1":"1B"},R:{"1":"8C"},S:{"1":"9C"}},B:5,C:"FileReaderSync"};
@@ -0,0 +1,12 @@
# These are supported funding model platforms
github: [ljharb]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: npm/which-boxed-primitive
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
@@ -0,0 +1 @@
{"name":"require-relative","version":"0.8.7","files":{"package.json":{"checkedAt":1678883669496,"integrity":"sha512-Dn097yYeqwwq8CPLzXKokCO1kBQZpo9gZt/Cidm3L6edkki21+dbk1lsAP57W9uIQOg17vfKnp++rbq/RtzAHg==","mode":420,"size":572},"README.md":{"checkedAt":1678883669496,"integrity":"sha512-DaSAOSZ7h5BcVdH8HgNrEOLlw6y3JoDZnPYAdQ+XeLZtaVeyzOFTwlejxWnNPs/3I0yFu+mEvW/EqXeM5YqWTw==","mode":420,"size":902},"index.js":{"checkedAt":1678883669496,"integrity":"sha512-vL1/qMrv+f/gkjNgN2P0ZKVX7cjzInJoCslC9Rcv2AoWhN6eTyKZjHX4eh6AzZe8ILBsnEuBqTiaYliboB/hhA==","mode":420,"size":784}}}
@@ -0,0 +1,83 @@
'use strict';
// Benchmark comparing performance of event emit for many listeners
// To run it, do following in memoizee package path:
//
// $ npm install eventemitter2 signals
// $ node benchmark/many-on.js
var forEach = require('es5-ext/object/for-each')
, pad = require('es5-ext/string/#/pad')
, now = Date.now
, time, count = 1000000, i, data = {}
, ee, native, ee2, signals, a = {}, b = {};
ee = (function () {
var ee = require('../')();
ee.on('test', function () { return arguments; });
ee.on('test', function () { return arguments; });
return ee.on('test', function () { return arguments; });
}());
native = (function () {
var ee = require('events');
ee = new ee.EventEmitter();
ee.on('test', function () { return arguments; });
ee.on('test', function () { return arguments; });
return ee.on('test', function () { return arguments; });
}());
ee2 = (function () {
var ee = require('eventemitter2');
ee = new ee.EventEmitter2();
ee.on('test', function () { return arguments; });
ee.on('test', function () { return arguments; });
return ee.on('test', function () { return arguments; });
}());
signals = (function () {
var Signal = require('signals')
, ee = { test: new Signal() };
ee.test.add(function () { return arguments; });
ee.test.add(function () { return arguments; });
ee.test.add(function () { return arguments; });
return ee;
}());
console.log("Emit for 3 listeners", "x" + count + ":\n");
i = count;
time = now();
while (i--) {
ee.emit('test', a, b);
}
data["event-emitter (this implementation)"] = now() - time;
i = count;
time = now();
while (i--) {
native.emit('test', a, b);
}
data["EventEmitter (Node.js native)"] = now() - time;
i = count;
time = now();
while (i--) {
ee2.emit('test', a, b);
}
data.EventEmitter2 = now() - time;
i = count;
time = now();
while (i--) {
signals.test.dispatch(a, b);
}
data.Signals = now() - time;
forEach(data, function (value, name, obj, index) {
console.log(index + 1 + ":", pad.call(value, " ", 5), name);
}, null, function (a, b) {
return this[a] - this[b];
});
@@ -0,0 +1 @@
{"version":3,"file":"range.js","sources":["../src/observable/range.ts"],"names":[],"mappings":";;;;;AAAA,kDAA6C"}
@@ -0,0 +1 @@
{"name":"base64-js","version":"1.5.1","files":{"LICENSE":{"checkedAt":1678883671212,"integrity":"sha512-arS2Pilqch2xz5c3GYBa15akt3T0Lenikn5xIPUzT936ymD0CJkdIFHLRdVSJWzkgWETFdnzpboKECPN9yhSWw==","mode":420,"size":1081},"package.json":{"checkedAt":1678883671212,"integrity":"sha512-bgiB92sryXzalNTEQBo7KDCeooWewwLVHSAhbxQaM0pS1LeU8MKSpHnnpUNVfEgbE38vuvfClXEGA3d5/WPCiw==","mode":420,"size":1115},"index.js":{"checkedAt":1678883671212,"integrity":"sha512-ctVBvIN2C6LMnjVDZYisyi3ozSTdXz+ElSBZVTiG9HxWnMIBjkwdhzN+iVpv7i280HtxlpQarG2YnJOUbbqyPQ==","mode":420,"size":3932},"base64js.min.js":{"checkedAt":1678883671213,"integrity":"sha512-lLcC9HW1OX4nBfl9z37kP5wliBgGQUWqE9Vu20ceI8/SZodj5O8s4QI81UkPxqOAsGHlUT6sxYZbQsNJMgiY/Q==","mode":420,"size":2192},"index.d.ts":{"checkedAt":1678883671213,"integrity":"sha512-+SNpuNuS/szaUzwsef9DCvIgZ/oqDKTJTmJEwLCgcacLJfk53ww1UKLRfondTTL8EhUxtmwAUSxgyXBZb93pHA==","mode":420,"size":161},"README.md":{"checkedAt":1678883671212,"integrity":"sha512-qBXzUl7ymDXg/jfl8cMwrkX+R2J+Oa9RK4Ky0hvNmH1jqM0b4Tj/aRXhqm5oBrQb7bmbmOD3qbqMuYQzhATdVA==","mode":420,"size":1143}}}
@@ -0,0 +1 @@
{"version":3,"file":"refCount.js","sourceRoot":"","sources":["../../../../src/internal/operators/refCount.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AA4DhE,MAAM,UAAU,QAAQ;IACtB,OAAO,OAAO,CAAC,UAAC,MAAM,EAAE,UAAU;QAChC,IAAI,UAAU,GAAwB,IAAI,CAAC;QAE1C,MAAc,CAAC,SAAS,EAAE,CAAC;QAE5B,IAAM,UAAU,GAAG,wBAAwB,CAAC,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE;YACvF,IAAI,CAAC,MAAM,IAAK,MAAc,CAAC,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAG,MAAc,CAAC,SAAS,EAAE;gBAChF,UAAU,GAAG,IAAI,CAAC;gBAClB,OAAO;aACR;YA2BD,IAAM,gBAAgB,GAAI,MAAc,CAAC,WAAW,CAAC;YACrD,IAAM,IAAI,GAAG,UAAU,CAAC;YACxB,UAAU,GAAG,IAAI,CAAC;YAElB,IAAI,gBAAgB,IAAI,CAAC,CAAC,IAAI,IAAI,gBAAgB,KAAK,IAAI,CAAC,EAAE;gBAC5D,gBAAgB,CAAC,WAAW,EAAE,CAAC;aAChC;YAED,UAAU,CAAC,WAAW,EAAE,CAAC;QAC3B,CAAC,CAAC,CAAC;QAEH,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;QAE7B,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE;YACtB,UAAU,GAAI,MAAmC,CAAC,OAAO,EAAE,CAAC;SAC7D;IACH,CAAC,CAAC,CAAC;AACL,CAAC"}
@@ -0,0 +1 @@
module.exports={C:{"33":0.0019,"39":0.00571,"52":0.00761,"66":0.0019,"68":0.00381,"72":0.00381,"78":0.00571,"79":0.0019,"88":0.00381,"89":0.0019,"91":0.03616,"95":0.0019,"99":0.0019,"100":0.0019,"101":0.0019,"102":0.03045,"103":0.00571,"104":0.00571,"105":0.00381,"106":0.00381,"107":0.01142,"108":0.02284,"109":0.81829,"110":0.55948,"111":0.05328,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 34 35 36 37 38 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 67 69 70 71 73 74 75 76 77 80 81 82 83 84 85 86 87 90 92 93 94 96 97 98 112 3.5 3.6"},D:{"11":0.00381,"33":0.00381,"38":0.00381,"49":0.00761,"55":0.00381,"58":0.02664,"59":0.00381,"62":0.0019,"63":0.00381,"64":0.0019,"65":0.00381,"67":0.00381,"68":0.00381,"69":0.00381,"70":0.00381,"72":0.00571,"73":0.00571,"74":0.02093,"76":0.0019,"77":0.00952,"78":0.00381,"79":0.05138,"80":0.02093,"81":0.00571,"83":0.00952,"84":0.00952,"85":0.00571,"86":0.00571,"87":0.00952,"88":0.01903,"89":0.01332,"90":0.00761,"91":0.00952,"92":0.01142,"93":0.00952,"94":0.70221,"95":0.02664,"96":0.01332,"97":0.00952,"98":0.01332,"99":0.45482,"100":0.02474,"101":0.01332,"102":0.08754,"103":0.0609,"104":0.01903,"105":0.03425,"106":0.03045,"107":0.0609,"108":0.18079,"109":5.36836,"110":3.09428,"111":0.00571,_:"4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 34 35 36 37 39 40 41 42 43 44 45 46 47 48 50 51 52 53 54 56 57 60 61 66 71 75 112 113"},F:{"46":0.0019,"56":0.0019,"73":0.01142,"79":0.00761,"85":0.00381,"92":0.01332,"93":0.01332,"94":0.24739,"95":0.46243,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 57 58 60 62 63 64 65 66 67 68 69 70 71 72 74 75 76 77 78 80 81 82 83 84 86 87 88 89 90 91 9.5-9.6 10.5 10.6 11.1 11.5 11.6 12.1","10.0-10.1":0},B:{"12":0.01142,"13":0.00571,"15":0.00381,"16":0.01142,"17":0.00381,"18":0.0647,"84":0.00571,"89":0.00571,"90":0.00761,"92":0.02093,"99":0.00381,"100":0.0019,"103":0.00381,"104":0.0019,"105":0.00571,"106":0.00381,"107":0.01522,"108":0.03616,"109":0.60325,"110":0.80116,_:"14 79 80 81 83 85 86 87 88 91 93 94 95 96 97 98 101 102"},E:{"4":0,"13":0.00571,"14":0.01522,"15":0.00381,_:"0 5 6 7 8 9 10 11 12 3.1 3.2 5.1 6.1 7.1 9.1 10.1 16.4","11.1":0.00381,"12.1":0.01522,"13.1":0.02093,"14.1":0.04758,"15.1":0.00761,"15.2-15.3":0.00381,"15.4":0.04948,"15.5":0.02664,"15.6":0.07231,"16.0":0.01332,"16.1":0.03806,"16.2":0.07422,"16.3":0.05519},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0,"5.0-5.1":0.00662,"6.0-6.1":0,"7.0-7.1":0.08605,"8.1-8.4":0.0006,"9.0-9.2":0.0006,"9.3":0.02587,"10.0-10.2":0.00301,"10.3":0.14201,"11.0-11.2":0.0012,"11.3-11.4":0.00181,"12.0-12.1":0.02166,"12.2-12.5":0.78225,"13.0-13.1":0.00842,"13.2":0.01023,"13.3":0.04032,"13.4-13.7":0.08906,"14.0-14.4":0.2425,"14.5-14.8":0.278,"15.0-15.1":0.1372,"15.2-15.3":0.19496,"15.4":0.19556,"15.5":0.23768,"15.6":0.3833,"16.0":0.49222,"16.1":0.71185,"16.2":0.80151,"16.3":0.64265,"16.4":0.0012},P:{"4":0.15458,"20":0.22672,"5.0-5.4":0.02061,"6.2-6.4":0.09028,"7.2-7.4":0.23702,"8.2":0.02006,"9.2":0.05153,"10.1":0.02006,"11.1-11.2":0.04122,"12.0":0.03092,"13.0":0.03092,"14.0":0.05153,"15.0":0.02061,"16.0":0.11336,"17.0":0.09275,"18.0":0.06183,"19.0":0.56679},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0.00132,"4.2-4.3":0.00617,"4.4":0,"4.4.3-4.4.4":0.05728},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"11":0.03616,_:"6 7 8 9 10 5.5"},N:{"10":0,"11":0},S:{"2.5":1.19026,_:"3.0-3.1"},J:{"7":0,"10":0.02429},O:{"0":0.92306},H:{"0":14.18158},L:{"0":59.99825},R:{_:"0"},M:{"0":0.11336},Q:{"13.1":0}};
@@ -0,0 +1,32 @@
"use strict";
var forEach = require("es5-ext/object/for-each")
, normalizeOpts = require("es5-ext/object/normalize-options")
, callable = require("es5-ext/object/valid-callable")
, lazy = require("d/lazy")
, resolveLength = require("./resolve-length")
, extensions = require("./registered-extensions");
module.exports = function (memoize) {
return function (props) {
forEach(props, function (desc) {
var fn = callable(desc.value), length;
desc.value = function (options) {
if (options.getNormalizer) {
options = normalizeOpts(options);
if (length === undefined) {
length = resolveLength(
options.length,
fn.length,
options.async && extensions.async
);
}
options.normalizer = options.getNormalizer(length);
delete options.getNormalizer;
}
return memoize(fn.bind(this), options);
};
});
return lazy(props);
};
};
@@ -0,0 +1,3 @@
import type { Transformer, Options } from '../types';
declare const transformer: Transformer<Options.GlobalStyle>;
export { transformer };
@@ -0,0 +1,30 @@
'use strict';
var GetIntrinsic = require('get-intrinsic');
var $BigInt = GetIntrinsic('%BigInt%', true);
var $RangeError = GetIntrinsic('%RangeError%');
var $TypeError = GetIntrinsic('%TypeError%');
var Type = require('../Type');
var zero = $BigInt && $BigInt(0);
// https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-remainder
module.exports = function BigIntRemainder(n, d) {
if (Type(n) !== 'BigInt' || Type(d) !== 'BigInt') {
throw new $TypeError('Assertion failed: `n` and `d` arguments must be BigInts');
}
if (d === zero) {
throw new $RangeError('Division by zero');
}
if (n === zero) {
return zero;
}
// shortcut for the actual spec mechanics
return n % d;
};
@@ -0,0 +1,15 @@
import { h } from 'preact';
import Tabular from '../../tabular';
import { BaseComponent, BaseProps } from '../base';
import { Status } from '../../types';
import Header from '../../header';
interface TBodyProps extends BaseProps {
data: Tabular;
status: Status;
header?: Header;
}
export declare class TBody extends BaseComponent<TBodyProps> {
private headerLength;
render(): h.JSX.Element;
}
export {};
@@ -0,0 +1,138 @@
# combined-stream
A stream that emits multiple other streams one after another.
**NB** Currently `combined-stream` works with streams version 1 only. There is ongoing effort to switch this library to streams version 2. Any help is welcome. :) Meanwhile you can explore other libraries that provide streams2 support with more or less compatibility with `combined-stream`.
- [combined-stream2](https://www.npmjs.com/package/combined-stream2): A drop-in streams2-compatible replacement for the combined-stream module.
- [multistream](https://www.npmjs.com/package/multistream): A stream that emits multiple other streams one after another.
## Installation
``` bash
npm install combined-stream
```
## Usage
Here is a simple example that shows how you can use combined-stream to combine
two files into one:
``` javascript
var CombinedStream = require('combined-stream');
var fs = require('fs');
var combinedStream = CombinedStream.create();
combinedStream.append(fs.createReadStream('file1.txt'));
combinedStream.append(fs.createReadStream('file2.txt'));
combinedStream.pipe(fs.createWriteStream('combined.txt'));
```
While the example above works great, it will pause all source streams until
they are needed. If you don't want that to happen, you can set `pauseStreams`
to `false`:
``` javascript
var CombinedStream = require('combined-stream');
var fs = require('fs');
var combinedStream = CombinedStream.create({pauseStreams: false});
combinedStream.append(fs.createReadStream('file1.txt'));
combinedStream.append(fs.createReadStream('file2.txt'));
combinedStream.pipe(fs.createWriteStream('combined.txt'));
```
However, what if you don't have all the source streams yet, or you don't want
to allocate the resources (file descriptors, memory, etc.) for them right away?
Well, in that case you can simply provide a callback that supplies the stream
by calling a `next()` function:
``` javascript
var CombinedStream = require('combined-stream');
var fs = require('fs');
var combinedStream = CombinedStream.create();
combinedStream.append(function(next) {
next(fs.createReadStream('file1.txt'));
});
combinedStream.append(function(next) {
next(fs.createReadStream('file2.txt'));
});
combinedStream.pipe(fs.createWriteStream('combined.txt'));
```
## API
### CombinedStream.create([options])
Returns a new combined stream object. Available options are:
* `maxDataSize`
* `pauseStreams`
The effect of those options is described below.
### combinedStream.pauseStreams = `true`
Whether to apply back pressure to the underlaying streams. If set to `false`,
the underlaying streams will never be paused. If set to `true`, the
underlaying streams will be paused right after being appended, as well as when
`delayedStream.pipe()` wants to throttle.
### combinedStream.maxDataSize = `2 * 1024 * 1024`
The maximum amount of bytes (or characters) to buffer for all source streams.
If this value is exceeded, `combinedStream` emits an `'error'` event.
### combinedStream.dataSize = `0`
The amount of bytes (or characters) currently buffered by `combinedStream`.
### combinedStream.append(stream)
Appends the given `stream` to the combinedStream object. If `pauseStreams` is
set to `true, this stream will also be paused right away.
`streams` can also be a function that takes one parameter called `next`. `next`
is a function that must be invoked in order to provide the `next` stream, see
example above.
Regardless of how the `stream` is appended, combined-stream always attaches an
`'error'` listener to it, so you don't have to do that manually.
Special case: `stream` can also be a String or Buffer.
### combinedStream.write(data)
You should not call this, `combinedStream` takes care of piping the appended
streams into itself for you.
### combinedStream.resume()
Causes `combinedStream` to start drain the streams it manages. The function is
idempotent, and also emits a `'resume'` event each time which usually goes to
the stream that is currently being drained.
### combinedStream.pause();
If `combinedStream.pauseStreams` is set to `false`, this does nothing.
Otherwise a `'pause'` event is emitted, this goes to the stream that is
currently being drained, so you can use it to apply back pressure.
### combinedStream.end();
Sets `combinedStream.writable` to false, emits an `'end'` event, and removes
all streams from the queue.
### combinedStream.destroy();
Same as `combinedStream.end()`, except it emits a `'close'` event instead of
`'end'`.
## License
combined-stream is licensed under the MIT license.
@@ -0,0 +1,14 @@
import { AsyncAction } from './AsyncAction';
import { Subscription } from '../Subscription';
import { QueueScheduler } from './QueueScheduler';
import { SchedulerAction } from '../types';
import { TimerHandle } from './timerHandle';
export declare class QueueAction<T> extends AsyncAction<T> {
protected scheduler: QueueScheduler;
protected work: (this: SchedulerAction<T>, state?: T) => void;
constructor(scheduler: QueueScheduler, work: (this: SchedulerAction<T>, state?: T) => void);
schedule(state?: T, delay?: number): Subscription;
execute(state: T, delay: number): any;
protected requestAsyncId(scheduler: QueueScheduler, id?: TimerHandle, delay?: number): TimerHandle;
}
//# sourceMappingURL=QueueAction.d.ts.map
@@ -0,0 +1 @@
module.exports={A:{A:{"1":"G A B","4":"J E F BC"},B:{"1":"C K L H M N O P Q R S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t"},C:{"1":"0 1 2 3 4 5 6 7 8 9 CC tB I u J E F G A B C K L H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB DC EC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 I u J E F G A B C K L H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB FC"},E:{"1":"I u J E F G A B C K L H GC zB HC IC JC KC 0B qB rB 1B LC MC 2B 3B 4B 5B sB 6B 7B 8B NC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 G B C H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d OC PC QC RC qB 9B SC rB"},G:{"1":"F zB TC AC UC VC WC XC YC ZC aC bC cC dC eC fC gC hC iC jC kC lC mC 2B 3B 4B 5B sB 6B 7B 8B"},H:{"1":"nC"},I:{"1":"tB I D oC pC qC rC AC sC tC"},J:{"1":"E A"},K:{"1":"A B C e qB 9B rB"},L:{"1":"D"},M:{"1":"D"},N:{"1":"A B"},O:{"1":"uC"},P:{"1":"I vC wC xC yC zC 0B 0C 1C 2C 3C 4C sB 5C 6C 7C"},Q:{"1":"1B"},R:{"1":"8C"},S:{"1":"9C"}},B:2,C:"CSS3 Opacity"};
@@ -0,0 +1,30 @@
import type {DelimiterCasedProperties} from './delimiter-cased-properties';
/**
Convert object properties to snake case but not recursively.
This can be useful when, for example, converting some API types from a different style.
@see SnakeCase
@see SnakeCasedPropertiesDeep
@example
```
import type {SnakeCasedProperties} from 'type-fest';
interface User {
userId: number;
userName: string;
}
const result: SnakeCasedProperties<User> = {
user_id: 1,
user_name: 'Tom',
};
```
@category Change case
@category Template literal
@category Object
*/
export type SnakeCasedProperties<Value> = DelimiterCasedProperties<Value, '_'>;
@@ -0,0 +1 @@
{"version":3,"file":"innerFrom.js","sourceRoot":"","sources":["../../../../src/internal/observable/innerFrom.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,gCAAgC,EAAE,MAAM,gCAAgC,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,kCAAkC,EAAE,MAAM,8BAA8B,CAAC;AAExG,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,UAAU,IAAI,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAGvE,MAAM,UAAU,SAAS,CAAI,KAAyB;IACpD,IAAI,KAAK,YAAY,UAAU,EAAE;QAC/B,OAAO,KAAK,CAAC;KACd;IACD,IAAI,KAAK,IAAI,IAAI,EAAE;QACjB,IAAI,mBAAmB,CAAC,KAAK,CAAC,EAAE;YAC9B,OAAO,qBAAqB,CAAC,KAAK,CAAC,CAAC;SACrC;QACD,IAAI,WAAW,CAAC,KAAK,CAAC,EAAE;YACtB,OAAO,aAAa,CAAC,KAAK,CAAC,CAAC;SAC7B;QACD,IAAI,SAAS,CAAC,KAAK,CAAC,EAAE;YACpB,OAAO,WAAW,CAAC,KAAK,CAAC,CAAC;SAC3B;QACD,IAAI,eAAe,CAAC,KAAK,CAAC,EAAE;YAC1B,OAAO,iBAAiB,CAAC,KAAK,CAAC,CAAC;SACjC;QACD,IAAI,UAAU,CAAC,KAAK,CAAC,EAAE;YACrB,OAAO,YAAY,CAAC,KAAK,CAAC,CAAC;SAC5B;QACD,IAAI,oBAAoB,CAAC,KAAK,CAAC,EAAE;YAC/B,OAAO,sBAAsB,CAAC,KAAK,CAAC,CAAC;SACtC;KACF;IAED,MAAM,gCAAgC,CAAC,KAAK,CAAC,CAAC;AAChD,CAAC;AAMD,MAAM,UAAU,qBAAqB,CAAI,GAAQ;IAC/C,OAAO,IAAI,UAAU,CAAC,UAAC,UAAyB;QAC9C,IAAM,GAAG,GAAG,GAAG,CAAC,iBAAiB,CAAC,EAAE,CAAC;QACrC,IAAI,UAAU,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE;YAC7B,OAAO,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;SAClC;QAED,MAAM,IAAI,SAAS,CAAC,gEAAgE,CAAC,CAAC;IACxF,CAAC,CAAC,CAAC;AACL,CAAC;AASD,MAAM,UAAU,aAAa,CAAI,KAAmB;IAClD,OAAO,IAAI,UAAU,CAAC,UAAC,UAAyB;QAU9C,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YAC3D,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;SAC3B;QACD,UAAU,CAAC,QAAQ,EAAE,CAAC;IACxB,CAAC,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,WAAW,CAAI,OAAuB;IACpD,OAAO,IAAI,UAAU,CAAC,UAAC,UAAyB;QAC9C,OAAO;aACJ,IAAI,CACH,UAAC,KAAK;YACJ,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE;gBACtB,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;gBACvB,UAAU,CAAC,QAAQ,EAAE,CAAC;aACvB;QACH,CAAC,EACD,UAAC,GAAQ,IAAK,OAAA,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,EAArB,CAAqB,CACpC;aACA,IAAI,CAAC,IAAI,EAAE,oBAAoB,CAAC,CAAC;IACtC,CAAC,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,YAAY,CAAI,QAAqB;IACnD,OAAO,IAAI,UAAU,CAAC,UAAC,UAAyB;;;YAC9C,KAAoB,IAAA,aAAA,SAAA,QAAQ,CAAA,kCAAA,wDAAE;gBAAzB,IAAM,KAAK,qBAAA;gBACd,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;gBACvB,IAAI,UAAU,CAAC,MAAM,EAAE;oBACrB,OAAO;iBACR;aACF;;;;;;;;;QACD,UAAU,CAAC,QAAQ,EAAE,CAAC;IACxB,CAAC,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAI,aAA+B;IAClE,OAAO,IAAI,UAAU,CAAC,UAAC,UAAyB;QAC9C,OAAO,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC,KAAK,CAAC,UAAC,GAAG,IAAK,OAAA,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,EAArB,CAAqB,CAAC,CAAC;IAC3E,CAAC,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAI,cAAqC;IAC7E,OAAO,iBAAiB,CAAC,kCAAkC,CAAC,cAAc,CAAC,CAAC,CAAC;AAC/E,CAAC;AAED,SAAe,OAAO,CAAI,aAA+B,EAAE,UAAyB;;;;;;;;;oBACxD,kBAAA,cAAA,aAAa,CAAA;;;;;oBAAtB,KAAK,0BAAA,CAAA;oBACpB,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;oBAGvB,IAAI,UAAU,CAAC,MAAM,EAAE;wBACrB,WAAO;qBACR;;;;;;;;;;;;;;;;;;;;;oBAEH,UAAU,CAAC,QAAQ,EAAE,CAAC;;;;;CACvB"}
@@ -0,0 +1 @@
{"version":3,"file":"pairwise.js","sources":["../src/operators/pairwise.ts"],"names":[],"mappings":";;;;;AAAA,oDAA+C"}
@@ -0,0 +1,90 @@
import { Observable } from '../Observable';
import { EmptyError } from '../util/EmptyError';
import { OperatorFunction, TruthyTypesOf } from '../types';
import { filter } from './filter';
import { takeLast } from './takeLast';
import { throwIfEmpty } from './throwIfEmpty';
import { defaultIfEmpty } from './defaultIfEmpty';
import { identity } from '../util/identity';
export function last<T>(predicate: BooleanConstructor): OperatorFunction<T, TruthyTypesOf<T>>;
export function last<T, D>(predicate: BooleanConstructor, defaultValue: D): OperatorFunction<T, TruthyTypesOf<T> | D>;
export function last<T, D = T>(predicate?: null, defaultValue?: D): OperatorFunction<T, T | D>;
export function last<T, S extends T>(
predicate: (value: T, index: number, source: Observable<T>) => value is S,
defaultValue?: S
): OperatorFunction<T, S>;
export function last<T, D = T>(
predicate: (value: T, index: number, source: Observable<T>) => boolean,
defaultValue?: D
): OperatorFunction<T, T | D>;
/**
* Returns an Observable that emits only the last item emitted by the source Observable.
* It optionally takes a predicate function as a parameter, in which case, rather than emitting
* the last item from the source Observable, the resulting Observable will emit the last item
* from the source Observable that satisfies the predicate.
*
* ![](last.png)
*
* It will throw an error if the source completes without notification or one that matches the predicate. It
* returns the last value or if a predicate is provided last value that matches the predicate. It returns the
* given default value if no notification is emitted or matches the predicate.
*
* ## Examples
*
* Last alphabet from the sequence
*
* ```ts
* import { from, last } from 'rxjs';
*
* const source = from(['x', 'y', 'z']);
* const result = source.pipe(last());
*
* result.subscribe(value => console.log(`Last alphabet: ${ value }`));
*
* // Outputs
* // Last alphabet: z
* ```
*
* Default value when the value in the predicate is not matched
*
* ```ts
* import { from, last } from 'rxjs';
*
* const source = from(['x', 'y', 'z']);
* const result = source.pipe(last(char => char === 'a', 'not found'));
*
* result.subscribe(value => console.log(`'a' is ${ value }.`));
*
* // Outputs
* // 'a' is not found.
* ```
*
* @see {@link skip}
* @see {@link skipUntil}
* @see {@link skipLast}
* @see {@link skipWhile}
*
* @throws {EmptyError} Delivers an EmptyError to the Observer's `error`
* callback if the Observable completes before any `next` notification was sent.
* @param {function} [predicate] - The condition any source emitted item has to satisfy.
* @param {any} [defaultValue] - An optional default value to provide if last
* predicate isn't met or no values were emitted.
* @return A function that returns an Observable that emits only the last item
* satisfying the given condition from the source, or a NoSuchElementException
* if no such items are emitted.
* @throws - Throws if no items that match the predicate are emitted by the source Observable.
*/
export function last<T, D>(
predicate?: ((value: T, index: number, source: Observable<T>) => boolean) | null,
defaultValue?: D
): OperatorFunction<T, T | D> {
const hasDefaultValue = arguments.length >= 2;
return (source: Observable<T>) =>
source.pipe(
predicate ? filter((v, i) => predicate(v, i, source)) : identity,
takeLast(1),
hasDefaultValue ? defaultIfEmpty(defaultValue!) : throwIfEmpty(() => new EmptyError())
);
}
@@ -0,0 +1,89 @@
# has-flag [![Build Status](https://travis-ci.org/sindresorhus/has-flag.svg?branch=master)](https://travis-ci.org/sindresorhus/has-flag)
> Check if [`argv`](https://nodejs.org/docs/latest/api/process.html#process_process_argv) has a specific flag
Correctly stops looking after an `--` argument terminator.
---
<div align="center">
<b>
<a href="https://tidelift.com/subscription/pkg/npm-has-flag?utm_source=npm-has-flag&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
</b>
<br>
<sub>
Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
</sub>
</div>
---
## Install
```
$ npm install has-flag
```
## Usage
```js
// foo.js
const hasFlag = require('has-flag');
hasFlag('unicorn');
//=> true
hasFlag('--unicorn');
//=> true
hasFlag('f');
//=> true
hasFlag('-f');
//=> true
hasFlag('foo=bar');
//=> true
hasFlag('foo');
//=> false
hasFlag('rainbow');
//=> false
```
```
$ node foo.js -f --unicorn --foo=bar -- --rainbow
```
## API
### hasFlag(flag, [argv])
Returns a boolean for whether the flag exists.
#### flag
Type: `string`
CLI flag to look for. The `--` prefix is optional.
#### argv
Type: `string[]`<br>
Default: `process.argv`
CLI arguments.
## Security
To report a security vulnerability, please use the [Tidelift security contact](https://tidelift.com/security). Tidelift will coordinate the fix and disclosure.
## License
MIT © [Sindre Sorhus](https://sindresorhus.com)
@@ -0,0 +1,71 @@
{
"name": "get-symbol-description",
"version": "1.0.0",
"description": "Gets the description of a Symbol. Handles `Symbol()` vs `Symbol('')` properly when possible.",
"main": "index.js",
"exports": {
".": "./index.js",
"./getInferredName": "./getInferredName.js",
"./package.json": "./package.json"
},
"scripts": {
"prepublish": "not-in-publish || npm run prepublishOnly",
"prepublishOnly": "safe-publish-latest",
"lint": "eslint --ext=.js,.mjs .",
"postlint": "evalmd README.md",
"pretest": "npm run lint",
"tests-only": "nyc tape 'test/**/*.js'",
"test": "npm run tests-only",
"posttest": "aud --production",
"version": "auto-changelog && git add CHANGELOG.md",
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/inspect-js/get-symbol-description.git"
},
"keywords": [
"symbol",
"ecmascript",
"javascript",
"description"
],
"author": "Jordan Harband <ljharb@gmail.com>",
"funding": {
"url": "https://github.com/sponsors/ljharb"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/inspect-js/get-symbol-description/issues"
},
"homepage": "https://github.com/inspect-js/get-symbol-description#readme",
"dependencies": {
"call-bind": "^1.0.2",
"get-intrinsic": "^1.1.1"
},
"devDependencies": {
"@ljharb/eslint-config": "^17.6.0",
"aud": "^1.1.5",
"auto-changelog": "^2.3.0",
"es-value-fixtures": "^1.2.1",
"eslint": "^7.32.0",
"evalmd": "^0.0.19",
"foreach": "^2.0.5",
"has": "^1.0.3",
"nyc": "^10.3.2",
"object-inspect": "^1.11.0",
"safe-publish-latest": "^1.1.4",
"tape": "^5.3.1"
},
"engines": {
"node": ">= 0.4"
},
"auto-changelog": {
"output": "CHANGELOG.md",
"template": "keepachangelog",
"unreleased": false,
"commitLimit": false,
"backfillLimit": false,
"hideCredit": true
}
}
@@ -0,0 +1 @@
{"name":"glob-parent","version":"5.1.2","files":{"LICENSE":{"checkedAt":1678883670836,"integrity":"sha512-Ca6s7X2ZfTI6fGB3faWEyIGYcJajB9jLXcw0mcKJ0htY9zs6HW2o8jDnuqZOv4yfJt5kw4rAh0tRhzlxKM6raQ==","mode":420,"size":753},"index.js":{"checkedAt":1678883670836,"integrity":"sha512-d7dN81urIl+AgVs+2rwo/aIBVYRzVrIutDMsHVgiDEojj7sprmx818+3e8IPt8QT8WZfiDHqPJvK0Yc/zsZ1LQ==","mode":420,"size":1120},"package.json":{"checkedAt":1678883670836,"integrity":"sha512-1clKscMLzwwOqg6cKj8agX7y5kyTU2w6v4vDWsQHz6sx9174OZCudhecNKUYrsSES3vaigPFd36vERycoWZjPQ==","mode":420,"size":1105},"CHANGELOG.md":{"checkedAt":1678883670836,"integrity":"sha512-dHv9RnK7Jt8LHdXB7DJnpHZdTYF8/CqeW6Q9n201h0zoVwQha4+b/1sKvlNNMjcSC3b3D/P7CQfqcgGoPrZKZg==","mode":420,"size":4510},"README.md":{"checkedAt":1678883670836,"integrity":"sha512-mj6hcRQBOumgjqcf8pAQpY3tuJKKiqPLOH3xMiRRzjRKuQ5zgmzUTV/KtbFs3+8EI9a1tasZTG/QbJPAVDWeyw==","mode":420,"size":4646}}}
@@ -0,0 +1,37 @@
import Result, { Message, ResultOptions } from './result.js'
import { SourceMap } from './postcss.js'
import Processor from './processor.js'
import Warning from './warning.js'
import Root from './root.js'
import LazyResult from './lazy-result.js'
/**
* A Promise proxy for the result of PostCSS transformations.
* This lazy result instance doesn't parse css unless `NoWorkResult#root` or `Result#root`
* are accessed. See the example below for details.
* A `NoWork` instance is returned by `Processor#process` ONLY when no plugins defined.
*
* ```js
* const noWorkResult = postcss().process(css) // No plugins are defined.
* // CSS is not parsed
* let root = noWorkResult.root // now css is parsed because we accessed the root
* ```
*/
export default class NoWorkResult implements LazyResult {
then: Promise<Result>['then']
catch: Promise<Result>['catch']
finally: Promise<Result>['finally']
constructor(processor: Processor, css: string, opts: ResultOptions)
get [Symbol.toStringTag](): string
get processor(): Processor
get opts(): ResultOptions
get css(): string
get content(): string
get map(): SourceMap
get root(): Root
get messages(): Message[]
warnings(): Warning[]
toString(): string
sync(): Result
async(): Promise<Result>
}
@@ -0,0 +1,26 @@
import { AsyncAction } from './AsyncAction';
export class AnimationFrameAction extends AsyncAction {
constructor(scheduler, work) {
super(scheduler, work);
this.scheduler = scheduler;
this.work = work;
}
requestAsyncId(scheduler, id, delay = 0) {
if (delay !== null && delay > 0) {
return super.requestAsyncId(scheduler, id, delay);
}
scheduler.actions.push(this);
return scheduler.scheduled || (scheduler.scheduled = requestAnimationFrame(() => scheduler.flush(null)));
}
recycleAsyncId(scheduler, id, delay = 0) {
if ((delay !== null && delay > 0) || (delay === null && this.delay > 0)) {
return super.recycleAsyncId(scheduler, id, delay);
}
if (scheduler.actions.length === 0) {
cancelAnimationFrame(id);
scheduler.scheduled = undefined;
}
return undefined;
}
}
//# sourceMappingURL=AnimationFrameAction.js.map
@@ -0,0 +1 @@
{"version":3,"file":"combineLatest.js","sources":["../../src/internal/observable/combineLatest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAEA,mDAAmD;AACnD,2CAA2C;AAE3C,sDAAqD;AAGrD,+DAA8D;AAC9D,yCAAwC;AAExC,IAAM,IAAI,GAAG,EAAE,CAAC;AAsNhB,SAAgB,aAAa;IAC3B,qBAAgF;SAAhF,UAAgF,EAAhF,qBAAgF,EAAhF,IAAgF;QAAhF,gCAAgF;;IAEhF,IAAI,cAAc,GAAgD,SAAS,CAAC;IAC5E,IAAI,SAAS,GAA4B,SAAS,CAAC;IAEnD,IAAI,yBAAW,CAAC,WAAW,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,EAAE;QACpD,SAAS,GAAG,WAAW,CAAC,GAAG,EAAmB,CAAC;KAChD;IAED,IAAI,OAAO,WAAW,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC,KAAK,UAAU,EAAE;QAC7D,cAAc,GAAG,WAAW,CAAC,GAAG,EAAkC,CAAC;KACpE;IAID,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,IAAI,iBAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EAAE;QACvD,WAAW,GAAG,WAAW,CAAC,CAAC,CAAQ,CAAC;KACrC;IAED,OAAO,qBAAS,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC,IAAI,CAAC,IAAI,qBAAqB,CAAC,cAAc,CAAC,CAAC,CAAC;AAC3F,CAAC;AArBD,sCAqBC;AAED;IACE,+BAAoB,cAA6C;QAA7C,mBAAc,GAAd,cAAc,CAA+B;IACjE,CAAC;IAED,oCAAI,GAAJ,UAAK,UAAyB,EAAE,MAAW;QACzC,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,uBAAuB,CAAC,UAAU,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC;IACxF,CAAC;IACH,4BAAC;AAAD,CAAC,AAPD,IAOC;AAPY,sDAAqB;AAclC;IAAmD,2CAAqB;IAMtE,iCAAY,WAA0B,EAAU,cAA6C;QAA7F,YACE,kBAAM,WAAW,CAAC,SACnB;QAF+C,oBAAc,GAAd,cAAc,CAA+B;QALrF,YAAM,GAAW,CAAC,CAAC;QACnB,YAAM,GAAU,EAAE,CAAC;QACnB,iBAAW,GAAU,EAAE,CAAC;;IAKhC,CAAC;IAES,uCAAK,GAAf,UAAgB,UAAe;QAC7B,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IACpC,CAAC;IAES,2CAAS,GAAnB;QACE,IAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QACrC,IAAM,GAAG,GAAG,WAAW,CAAC,MAAM,CAAC;QAC/B,IAAI,GAAG,KAAK,CAAC,EAAE;YACb,IAAI,CAAC,WAAW,CAAC,QAAS,EAAE,CAAC;SAC9B;aAAM;YACL,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC;YAClB,IAAI,CAAC,SAAS,GAAG,GAAG,CAAC;YACrB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE;gBAC5B,IAAM,UAAU,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC;gBAClC,IAAI,CAAC,GAAG,CAAC,qCAAiB,CAAC,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC;aAC7D;SACF;IACH,CAAC;IAED,gDAAc,GAAd,UAAe,MAAqB;QAClC,IAAI,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,CAAC,KAAK,CAAC,EAAE;YAC5B,IAAI,CAAC,WAAW,CAAC,QAAS,EAAE,CAAC;SAC9B;IACH,CAAC;IAED,4CAAU,GAAV,UAAW,WAAc,EAAE,UAAa,EAC7B,UAAkB;QAC3B,IAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAC3B,IAAM,MAAM,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC;QAClC,IAAM,SAAS,GAAG,CAAC,IAAI,CAAC,SAAS;YAC/B,CAAC,CAAC,CAAC;YACH,CAAC,CAAC,MAAM,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;QACxD,MAAM,CAAC,UAAU,CAAC,GAAG,UAAU,CAAC;QAEhC,IAAI,SAAS,KAAK,CAAC,EAAE;YACnB,IAAI,IAAI,CAAC,cAAc,EAAE;gBACvB,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC;aACjC;iBAAM;gBACL,IAAI,CAAC,WAAW,CAAC,IAAK,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC;aACxC;SACF;IACH,CAAC;IAEO,oDAAkB,GAA1B,UAA2B,MAAa;QACtC,IAAI,MAAW,CAAC;QAChB,IAAI;YACF,MAAM,GAAG,IAAI,CAAC,cAAe,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;SACnD;QAAC,OAAO,GAAG,EAAE;YACZ,IAAI,CAAC,WAAW,CAAC,KAAM,CAAC,GAAG,CAAC,CAAC;YAC7B,OAAO;SACR;QACD,IAAI,CAAC,WAAW,CAAC,IAAK,CAAC,MAAM,CAAC,CAAC;IACjC,CAAC;IACH,8BAAC;AAAD,CAAC,AAhED,CAAmD,iCAAe,GAgEjE;AAhEY,0DAAuB"}
@@ -0,0 +1,8 @@
"use strict";
var value = require("./valid-value");
module.exports = function (code) {
// eslint-disable-next-line no-new-func
return new Function("return " + value(code))();
};
@@ -0,0 +1,146 @@
# Change Log
All notable changes will be documented in this file.
## [4.2.2] - 2022-06-16
### Changes
- Pin version of `rc` module to `1.2.8` to avoid malware in [compromised versions](https://github.com/advisories/GHSA-g2q5-5433-rhrf) (Espen Hovlandsdal)
## [4.2.1] - 2020-11-10
### Changes
- Exclude tests from published npm files (Garrit Franke)
## [4.2.0] - 2020-07-13
### Changes
- Add support for `NPM_CONFIG_USERCONFIG` environment variable (Ben Sorohan)
## [4.1.0] - 2020-01-17
### Changes
- Add support for legacy auth token on the registry url (Gustav Blomér)
## [4.0.0] - 2019-06-17
### BREAKING
- Minimum node.js version requirement is now v6
### Changes
- Upgraded dependencies (Espen Hovlandsdal)
## [3.4.0] - 2019-03-20
### Changes
- Enabled legacy auth token to be read from environment variable (Martin Flodin)
## [3.3.2] - 2018-01-26
### Changes
- Support password with ENV variable tokens (Nowell Strite)
## [3.3.1] - 2017-05-02
### Fixes
- Auth legacy token is basic auth (Hutson Betts)
## [3.3.0] - 2017-04-24
### Changes
- Support legacy auth token config key (Zoltan Kochan)
- Use safe-buffer module for backwards-compatible base64 encoding/decoding (Espen Hovlandsdal)
- Change to standard.js coding style (Espen Hovlandsdal)
## [3.2.0] - 2017-04-20
### Changes
- Allow passing parsed npmrc from outside (Zoltan Kochan)
## [3.1.2] - 2017-04-07
### Changes
- Avoid infinite loop on invalid URL (Zoltan Kochan)
## [3.1.1] - 2017-04-06
### Changes
- Nerf-dart URLs even if recursive is set to false (Espen Hovlandsdal)
## [3.1.0] - 2016-10-19
### Changes
- Return the password and username for Basic authorization (Zoltan Kochan)
## [3.0.1] - 2016-08-07
### Changes
- Fix recursion bug (Lukas Eipert)
- Implement alternative base64 encoding/decoding implementation for Node 6 (Lukas Eipert)
## [3.0.0] - 2016-08-04
### Added
- Support for Basic Authentication (username/password) (Lukas Eipert)
### Changes
- The result format of the output changed from a simple string to an object which contains the token type
```js
// before: returns 'tokenString'
// after: returns {token: 'tokenString', type: 'Bearer'}
getAuthToken()
```
## [2.1.1] - 2016-07-10
### Changes
- Fix infinite loop when recursively resolving registry URLs on Windows (Espen Hovlandsdal)
## [2.1.0] - 2016-07-07
### Added
- Add feature to find configured registry URL for a scope (Espen Hovlandsdal)
## [2.0.0] - 2016-06-17
### Changes
- Fix tokens defined by reference to environment variables (Dan MacTough)
## [1.1.1] - 2016-04-26
### Changes
- Fix for registries with port number in URL (Ryan Day)
[1.1.1]: https://github.com/rexxars/registry-auth-token/compare/a5b4fe2f5ff982110eb8a813ba1b3b3c5d851af1...v1.1.1
[2.0.0]: https://github.com/rexxars/registry-auth-token/compare/v1.1.1...v2.0.0
[2.1.0]: https://github.com/rexxars/registry-auth-token/compare/v2.0.0...v2.1.0
[2.1.1]: https://github.com/rexxars/registry-auth-token/compare/v2.1.0...v2.1.1
[3.0.0]: https://github.com/rexxars/registry-auth-token/compare/v2.1.1...v3.0.0
[3.0.1]: https://github.com/rexxars/registry-auth-token/compare/v3.0.0...v3.0.1
[3.1.0]: https://github.com/rexxars/registry-auth-token/compare/v3.0.1...v3.1.0
[3.1.1]: https://github.com/rexxars/registry-auth-token/compare/v3.1.0...v3.1.1
[3.1.2]: https://github.com/rexxars/registry-auth-token/compare/v3.1.1...v3.1.2
[3.2.0]: https://github.com/rexxars/registry-auth-token/compare/v3.1.2...v3.2.0
[3.3.0]: https://github.com/rexxars/registry-auth-token/compare/v3.2.0...v3.3.0
@@ -0,0 +1,15 @@
import { Component } from 'preact';
import { shallowDiffers } from './util';
/**
* Component class with a predefined `shouldComponentUpdate` implementation
*/
export function PureComponent(p) {
this.props = p;
}
PureComponent.prototype = new Component();
// Some third-party libraries check if this property is present
PureComponent.prototype.isPureReactComponent = true;
PureComponent.prototype.shouldComponentUpdate = function(props, state) {
return shallowDiffers(this.props, props) || shallowDiffers(this.state, state);
};
@@ -0,0 +1,53 @@
import { AsyncScheduler } from './AsyncScheduler';
/**
*
* Async Scheduler
*
* <span class="informal">Schedule task as if you used setTimeout(task, duration)</span>
*
* `async` scheduler schedules tasks asynchronously, by putting them on the JavaScript
* event loop queue. It is best used to delay tasks in time or to schedule tasks repeating
* in intervals.
*
* If you just want to "defer" task, that is to perform it right after currently
* executing synchronous code ends (commonly achieved by `setTimeout(deferredTask, 0)`),
* better choice will be the {@link asapScheduler} scheduler.
*
* ## Examples
* Use async scheduler to delay task
* ```ts
* import { asyncScheduler } from 'rxjs';
*
* const task = () => console.log('it works!');
*
* asyncScheduler.schedule(task, 2000);
*
* // After 2 seconds logs:
* // "it works!"
* ```
*
* Use async scheduler to repeat task in intervals
* ```ts
* import { asyncScheduler } from 'rxjs';
*
* function task(state) {
* console.log(state);
* this.schedule(state + 1, 1000); // `this` references currently executing Action,
* // which we reschedule with new state and delay
* }
*
* asyncScheduler.schedule(task, 3000, 0);
*
* // Logs:
* // 0 after 3s
* // 1 after 4s
* // 2 after 5s
* // 3 after 6s
* ```
*/
export declare const asyncScheduler: AsyncScheduler;
/**
* @deprecated Renamed to {@link asyncScheduler}. Will be removed in v8.
*/
export declare const async: AsyncScheduler;
//# sourceMappingURL=async.d.ts.map
@@ -0,0 +1,72 @@
{
"name": "is-core-module",
"version": "2.11.0",
"description": "Is this specifier a node.js core module?",
"main": "index.js",
"sideEffects": false,
"exports": {
".": "./index.js",
"./package.json": "./package.json"
},
"scripts": {
"prepack": "npmignore --auto --commentLines=autogenerated",
"prepublish": "not-in-publish || npm run prepublishOnly",
"prepublishOnly": "safe-publish-latest",
"lint": "eslint .",
"pretest": "npm run lint",
"tests-only": "nyc tape 'test/**/*.js'",
"test": "npm run tests-only",
"posttest": "aud --production",
"version": "auto-changelog && git add CHANGELOG.md",
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/inspect-js/is-core-module.git"
},
"keywords": [
"core",
"modules",
"module",
"npm",
"node",
"dependencies"
],
"author": "Jordan Harband <ljharb@gmail.com>",
"funding": {
"url": "https://github.com/sponsors/ljharb"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/inspect-js/is-core-module/issues"
},
"homepage": "https://github.com/inspect-js/is-core-module",
"dependencies": {
"has": "^1.0.3"
},
"devDependencies": {
"@ljharb/eslint-config": "^21.0.0",
"aud": "^2.0.1",
"auto-changelog": "^2.4.0",
"eslint": "=8.8.0",
"mock-property": "^1.0.0",
"npmignore": "^0.3.0",
"nyc": "^10.3.2",
"safe-publish-latest": "^2.0.0",
"semver": "^6.3.0",
"tape": "^5.6.1"
},
"auto-changelog": {
"output": "CHANGELOG.md",
"template": "keepachangelog",
"unreleased": false,
"commitLimit": false,
"backfillLimit": false,
"hideCredit": true
},
"publishConfig": {
"ignore": [
".github"
]
}
}
@@ -0,0 +1,10 @@
import {FetchBaseError} from './base.js';
/**
* AbortError interface for cancelled requests
*/
export class AbortError extends FetchBaseError {
constructor(message, type = 'aborted') {
super(message, type);
}
}
@@ -0,0 +1,12 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.subscribeOn = void 0;
var lift_1 = require("../util/lift");
function subscribeOn(scheduler, delay) {
if (delay === void 0) { delay = 0; }
return lift_1.operate(function (source, subscriber) {
subscriber.add(scheduler.schedule(function () { return source.subscribe(subscriber); }, delay));
});
}
exports.subscribeOn = subscribeOn;
//# sourceMappingURL=subscribeOn.js.map
@@ -0,0 +1,20 @@
The MIT License (MIT)
Copyright 2022 Andrey Sitnik <andrey@sitnik.ru> and other contributors
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,18 @@
let _enable_super_gross_mode_that_will_cause_bad_things = false;
export const config = {
Promise: undefined,
set useDeprecatedSynchronousErrorHandling(value) {
if (value) {
const error = new Error();
console.warn('DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n' + error.stack);
}
else if (_enable_super_gross_mode_that_will_cause_bad_things) {
console.log('RxJS: Back to a better error behavior. Thank you. <3');
}
_enable_super_gross_mode_that_will_cause_bad_things = value;
},
get useDeprecatedSynchronousErrorHandling() {
return _enable_super_gross_mode_that_will_cause_bad_things;
},
};
//# sourceMappingURL=config.js.map
@@ -0,0 +1,40 @@
import { FileLike } from "./FileLike.js";
/**
* A `string` or `File` that represents a single value from a set of `FormData` key-value pairs.
*/
export type FormDataEntryValue = string | FileLike;
/**
* This interface reflects minimal shape of the FormData
*/
export interface FormDataLike {
/**
* Appends a new value onto an existing key inside a FormData object,
* or adds the key if it does not already exist.
*
* The difference between `set()` and `append()` is that if the specified key already exists, `set()` will overwrite all existing values with the new one, whereas `append()` will append the new value onto the end of the existing set of values.
*
* @param name The name of the field whose data is contained in `value`.
* @param value The field's value. This can be [`Blob`](https://developer.mozilla.org/en-US/docs/Web/API/Blob)
or [`File`](https://developer.mozilla.org/en-US/docs/Web/API/File). If none of these are specified the value is converted to a string.
* @param fileName The filename reported to the server, when a Blob or File is passed as the second parameter. The default filename for Blob objects is "blob". The default filename for File objects is the file's filename.
*/
append(name: string, value: unknown, fileName?: string): void;
/**
* Returns all the values associated with a given key from within a `FormData` object.
*
* @param {string} name A name of the value you want to retrieve.
*
* @returns An array of `FormDataEntryValue` whose key matches the value passed in the `name` parameter. If the key doesn't exist, the method returns an empty list.
*/
getAll(name: string): FormDataEntryValue[];
/**
* Returns an [`iterator`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols) allowing to go through the `FormData` key/value pairs.
* The key of each pair is a string; the value is a [`FormDataValue`](https://developer.mozilla.org/en-US/docs/Web/API/FormDataEntryValue).
*/
entries(): Generator<[string, FormDataEntryValue]>;
/**
* An alias for FormDataLike#entries()
*/
[Symbol.iterator](): Generator<[string, FormDataEntryValue]>;
readonly [Symbol.toStringTag]: string;
}
@@ -0,0 +1,53 @@
{
"name": "object-hash",
"version": "3.0.0",
"description": "Generate hashes from javascript objects in node and the browser.",
"homepage": "https://github.com/puleos/object-hash",
"repository": {
"type": "git",
"url": "https://github.com/puleos/object-hash"
},
"keywords": [
"object",
"hash",
"sha1",
"md5"
],
"bugs": {
"url": "https://github.com/puleos/object-hash/issues"
},
"scripts": {
"test": "node ./node_modules/.bin/mocha test",
"prepublish": "gulp dist"
},
"author": "Scott Puleo <puleos@gmail.com>",
"files": [
"index.js",
"dist/object_hash.js"
],
"license": "MIT",
"devDependencies": {
"browserify": "^16.2.3",
"gulp": "^4.0.0",
"gulp-browserify": "^0.5.1",
"gulp-coveralls": "^0.1.4",
"gulp-exec": "^3.0.1",
"gulp-istanbul": "^1.1.3",
"gulp-jshint": "^2.0.0",
"gulp-mocha": "^5.0.0",
"gulp-rename": "^1.2.0",
"gulp-replace": "^1.0.0",
"gulp-uglify": "^3.0.0",
"jshint": "^2.8.0",
"jshint-stylish": "^2.1.0",
"karma": "^4.2.0",
"karma-chrome-launcher": "^2.2.0",
"karma-mocha": "^1.3.0",
"mocha": "^6.2.0"
},
"engines": {
"node": ">= 6"
},
"main": "./index.js",
"browser": "./dist/object_hash.js"
}
@@ -0,0 +1,8 @@
import { Observable } from '../Observable';
import { innerFrom } from './innerFrom';
export function defer(observableFactory) {
return new Observable((subscriber) => {
innerFrom(observableFactory()).subscribe(subscriber);
});
}
//# sourceMappingURL=defer.js.map
@@ -0,0 +1,17 @@
export function addQueryParameters(url, parameters) {
const separator = /\?/.test(url) ? "&" : "?";
const names = Object.keys(parameters);
if (names.length === 0) {
return url;
}
return (url +
separator +
names
.map((name) => {
if (name === "q") {
return ("q=" + parameters.q.split("+").map(encodeURIComponent).join("+"));
}
return `${name}=${encodeURIComponent(parameters[name])}`;
})
.join("&"));
}
@@ -0,0 +1,209 @@
import assertString from './util/assertString';
/* eslint-disable max-len */
var phones = {
'am-AM': /^(\+?374|0)((10|[9|7][0-9])\d{6}$|[2-4]\d{7}$)/,
'ar-AE': /^((\+?971)|0)?5[024568]\d{7}$/,
'ar-BH': /^(\+?973)?(3|6)\d{7}$/,
'ar-DZ': /^(\+?213|0)(5|6|7)\d{8}$/,
'ar-LB': /^(\+?961)?((3|81)\d{6}|7\d{7})$/,
'ar-EG': /^((\+?20)|0)?1[0125]\d{8}$/,
'ar-IQ': /^(\+?964|0)?7[0-9]\d{8}$/,
'ar-JO': /^(\+?962|0)?7[789]\d{7}$/,
'ar-KW': /^(\+?965)([569]\d{7}|41\d{6})$/,
'ar-LY': /^((\+?218)|0)?(9[1-6]\d{7}|[1-8]\d{7,9})$/,
'ar-MA': /^(?:(?:\+|00)212|0)[5-7]\d{8}$/,
'ar-OM': /^((\+|00)968)?(9[1-9])\d{6}$/,
'ar-PS': /^(\+?970|0)5[6|9](\d{7})$/,
'ar-SA': /^(!?(\+?966)|0)?5\d{8}$/,
'ar-SY': /^(!?(\+?963)|0)?9\d{8}$/,
'ar-TN': /^(\+?216)?[2459]\d{7}$/,
'az-AZ': /^(\+994|0)(10|5[015]|7[07]|99)\d{7}$/,
'bs-BA': /^((((\+|00)3876)|06))((([0-3]|[5-6])\d{6})|(4\d{7}))$/,
'be-BY': /^(\+?375)?(24|25|29|33|44)\d{7}$/,
'bg-BG': /^(\+?359|0)?8[789]\d{7}$/,
'bn-BD': /^(\+?880|0)1[13456789][0-9]{8}$/,
'ca-AD': /^(\+376)?[346]\d{5}$/,
'cs-CZ': /^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,
'da-DK': /^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/,
'de-DE': /^((\+49|0)1)(5[0-25-9]\d|6([23]|0\d?)|7([0-57-9]|6\d))\d{7,9}$/,
'de-AT': /^(\+43|0)\d{1,4}\d{3,12}$/,
'de-CH': /^(\+41|0)([1-9])\d{1,9}$/,
'de-LU': /^(\+352)?((6\d1)\d{6})$/,
'dv-MV': /^(\+?960)?(7[2-9]|9[1-9])\d{5}$/,
'el-GR': /^(\+?30|0)?6(8[5-9]|9(?![26])[0-9])\d{7}$/,
'el-CY': /^(\+?357?)?(9(9|6)\d{6})$/,
'en-AI': /^(\+?1|0)264(?:2(35|92)|4(?:6[1-2]|76|97)|5(?:3[6-9]|8[1-4])|7(?:2(4|9)|72))\d{4}$/,
'en-AU': /^(\+?61|0)4\d{8}$/,
'en-AG': /^(?:\+1|1)268(?:464|7(?:1[3-9]|[28]\d|3[0246]|64|7[0-689]))\d{4}$/,
'en-BM': /^(\+?1)?441(((3|7)\d{6}$)|(5[0-3][0-9]\d{4}$)|(59\d{5}$))/,
'en-BS': /^(\+?1[-\s]?|0)?\(?242\)?[-\s]?\d{3}[-\s]?\d{4}$/,
'en-GB': /^(\+?44|0)7\d{9}$/,
'en-GG': /^(\+?44|0)1481\d{6}$/,
'en-GH': /^(\+233|0)(20|50|24|54|27|57|26|56|23|28|55|59)\d{7}$/,
'en-GY': /^(\+592|0)6\d{6}$/,
'en-HK': /^(\+?852[-\s]?)?[456789]\d{3}[-\s]?\d{4}$/,
'en-MO': /^(\+?853[-\s]?)?[6]\d{3}[-\s]?\d{4}$/,
'en-IE': /^(\+?353|0)8[356789]\d{7}$/,
'en-IN': /^(\+?91|0)?[6789]\d{9}$/,
'en-JM': /^(\+?876)?\d{7}$/,
'en-KE': /^(\+?254|0)(7|1)\d{8}$/,
'en-SS': /^(\+?211|0)(9[1257])\d{7}$/,
'en-KI': /^((\+686|686)?)?( )?((6|7)(2|3|8)[0-9]{6})$/,
'en-KN': /^(?:\+1|1)869(?:46\d|48[89]|55[6-8]|66\d|76[02-7])\d{4}$/,
'en-LS': /^(\+?266)(22|28|57|58|59|27|52)\d{6}$/,
'en-MT': /^(\+?356|0)?(99|79|77|21|27|22|25)[0-9]{6}$/,
'en-MU': /^(\+?230|0)?\d{8}$/,
'en-NA': /^(\+?264|0)(6|8)\d{7}$/,
'en-NG': /^(\+?234|0)?[789]\d{9}$/,
'en-NZ': /^(\+?64|0)[28]\d{7,9}$/,
'en-PG': /^(\+?675|0)?(7\d|8[18])\d{6}$/,
'en-PK': /^((00|\+)?92|0)3[0-6]\d{8}$/,
'en-PH': /^(09|\+639)\d{9}$/,
'en-RW': /^(\+?250|0)?[7]\d{8}$/,
'en-SG': /^(\+65)?[3689]\d{7}$/,
'en-SL': /^(\+?232|0)\d{8}$/,
'en-TZ': /^(\+?255|0)?[67]\d{8}$/,
'en-UG': /^(\+?256|0)?[7]\d{8}$/,
'en-US': /^((\+1|1)?( |-)?)?(\([2-9][0-9]{2}\)|[2-9][0-9]{2})( |-)?([2-9][0-9]{2}( |-)?[0-9]{4})$/,
'en-ZA': /^(\+?27|0)\d{9}$/,
'en-ZM': /^(\+?26)?09[567]\d{7}$/,
'en-ZW': /^(\+263)[0-9]{9}$/,
'en-BW': /^(\+?267)?(7[1-8]{1})\d{6}$/,
'es-AR': /^\+?549(11|[2368]\d)\d{8}$/,
'es-BO': /^(\+?591)?(6|7)\d{7}$/,
'es-CO': /^(\+?57)?3(0(0|1|2|4|5)|1\d|2[0-4]|5(0|1))\d{7}$/,
'es-CL': /^(\+?56|0)[2-9]\d{1}\d{7}$/,
'es-CR': /^(\+506)?[2-8]\d{7}$/,
'es-CU': /^(\+53|0053)?5\d{7}/,
'es-DO': /^(\+?1)?8[024]9\d{7}$/,
'es-HN': /^(\+?504)?[9|8|3|2]\d{7}$/,
'es-EC': /^(\+?593|0)([2-7]|9[2-9])\d{7}$/,
'es-ES': /^(\+?34)?[6|7]\d{8}$/,
'es-PE': /^(\+?51)?9\d{8}$/,
'es-MX': /^(\+?52)?(1|01)?\d{10,11}$/,
'es-NI': /^(\+?505)\d{7,8}$/,
'es-PA': /^(\+?507)\d{7,8}$/,
'es-PY': /^(\+?595|0)9[9876]\d{7}$/,
'es-SV': /^(\+?503)?[67]\d{7}$/,
'es-UY': /^(\+598|0)9[1-9][\d]{6}$/,
'es-VE': /^(\+?58)?(2|4)\d{9}$/,
'et-EE': /^(\+?372)?\s?(5|8[1-4])\s?([0-9]\s?){6,7}$/,
'fa-IR': /^(\+?98[\-\s]?|0)9[0-39]\d[\-\s]?\d{3}[\-\s]?\d{4}$/,
'fi-FI': /^(\+?358|0)\s?(4[0-6]|50)\s?(\d\s?){4,8}$/,
'fj-FJ': /^(\+?679)?\s?\d{3}\s?\d{4}$/,
'fo-FO': /^(\+?298)?\s?\d{2}\s?\d{2}\s?\d{2}$/,
'fr-BF': /^(\+226|0)[67]\d{7}$/,
'fr-BJ': /^(\+229)\d{8}$/,
'fr-CD': /^(\+?243|0)?(8|9)\d{8}$/,
'fr-CM': /^(\+?237)6[0-9]{8}$/,
'fr-FR': /^(\+?33|0)[67]\d{8}$/,
'fr-GF': /^(\+?594|0|00594)[67]\d{8}$/,
'fr-GP': /^(\+?590|0|00590)[67]\d{8}$/,
'fr-MQ': /^(\+?596|0|00596)[67]\d{8}$/,
'fr-PF': /^(\+?689)?8[789]\d{6}$/,
'fr-RE': /^(\+?262|0|00262)[67]\d{8}$/,
'he-IL': /^(\+972|0)([23489]|5[012345689]|77)[1-9]\d{6}$/,
'hu-HU': /^(\+?36|06)(20|30|31|50|70)\d{7}$/,
'id-ID': /^(\+?62|0)8(1[123456789]|2[1238]|3[1238]|5[12356789]|7[78]|9[56789]|8[123456789])([\s?|\d]{5,11})$/,
'ir-IR': /^(\+98|0)?9\d{9}$/,
'it-IT': /^(\+?39)?\s?3\d{2} ?\d{6,7}$/,
'it-SM': /^((\+378)|(0549)|(\+390549)|(\+3780549))?6\d{5,9}$/,
'ja-JP': /^(\+81[ \-]?(\(0\))?|0)[6789]0[ \-]?\d{4}[ \-]?\d{4}$/,
'ka-GE': /^(\+?995)?(79\d{7}|5\d{8})$/,
'kk-KZ': /^(\+?7|8)?7\d{9}$/,
'kl-GL': /^(\+?299)?\s?\d{2}\s?\d{2}\s?\d{2}$/,
'ko-KR': /^((\+?82)[ \-]?)?0?1([0|1|6|7|8|9]{1})[ \-]?\d{3,4}[ \-]?\d{4}$/,
'ky-KG': /^(\+?7\s?\+?7|0)\s?\d{2}\s?\d{3}\s?\d{4}$/,
'lt-LT': /^(\+370|8)\d{8}$/,
'lv-LV': /^(\+?371)2\d{7}$/,
'mg-MG': /^((\+?261|0)(2|3)\d)?\d{7}$/,
'mn-MN': /^(\+|00|011)?976(77|81|88|91|94|95|96|99)\d{6}$/,
'my-MM': /^(\+?959|09|9)(2[5-7]|3[1-2]|4[0-5]|6[6-9]|7[5-9]|9[6-9])[0-9]{7}$/,
'ms-MY': /^(\+?60|0)1(([0145](-|\s)?\d{7,8})|([236-9](-|\s)?\d{7}))$/,
'mz-MZ': /^(\+?258)?8[234567]\d{7}$/,
'nb-NO': /^(\+?47)?[49]\d{7}$/,
'ne-NP': /^(\+?977)?9[78]\d{8}$/,
'nl-BE': /^(\+?32|0)4\d{8}$/,
'nl-NL': /^(((\+|00)?31\(0\))|((\+|00)?31)|0)6{1}\d{8}$/,
'nl-AW': /^(\+)?297(56|59|64|73|74|99)\d{5}$/,
'nn-NO': /^(\+?47)?[49]\d{7}$/,
'pl-PL': /^(\+?48)? ?[5-8]\d ?\d{3} ?\d{2} ?\d{2}$/,
'pt-BR': /^((\+?55\ ?[1-9]{2}\ ?)|(\+?55\ ?\([1-9]{2}\)\ ?)|(0[1-9]{2}\ ?)|(\([1-9]{2}\)\ ?)|([1-9]{2}\ ?))((\d{4}\-?\d{4})|(9[1-9]{1}\d{3}\-?\d{4}))$/,
'pt-PT': /^(\+?351)?9[1236]\d{7}$/,
'pt-AO': /^(\+244)\d{9}$/,
'ro-MD': /^(\+?373|0)((6(0|1|2|6|7|8|9))|(7(6|7|8|9)))\d{6}$/,
'ro-RO': /^(\+?40|0)\s?7\d{2}(\/|\s|\.|-)?\d{3}(\s|\.|-)?\d{3}$/,
'ru-RU': /^(\+?7|8)?9\d{9}$/,
'si-LK': /^(?:0|94|\+94)?(7(0|1|2|4|5|6|7|8)( |-)?)\d{7}$/,
'sl-SI': /^(\+386\s?|0)(\d{1}\s?\d{3}\s?\d{2}\s?\d{2}|\d{2}\s?\d{3}\s?\d{3})$/,
'sk-SK': /^(\+?421)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,
'sq-AL': /^(\+355|0)6[789]\d{6}$/,
'sr-RS': /^(\+3816|06)[- \d]{5,9}$/,
'sv-SE': /^(\+?46|0)[\s\-]?7[\s\-]?[02369]([\s\-]?\d){7}$/,
'tg-TJ': /^(\+?992)?[5][5]\d{7}$/,
'th-TH': /^(\+66|66|0)\d{9}$/,
'tr-TR': /^(\+?90|0)?5\d{9}$/,
'tk-TM': /^(\+993|993|8)\d{8}$/,
'uk-UA': /^(\+?38|8)?0\d{9}$/,
'uz-UZ': /^(\+?998)?(6[125-79]|7[1-69]|88|9\d)\d{7}$/,
'vi-VN': /^((\+?84)|0)((3([2-9]))|(5([25689]))|(7([0|6-9]))|(8([1-9]))|(9([0-9])))([0-9]{7})$/,
'zh-CN': /^((\+|00)86)?(1[3-9]|9[28])\d{9}$/,
'zh-TW': /^(\+?886\-?|0)?9\d{8}$/,
'dz-BT': /^(\+?975|0)?(17|16|77|02)\d{6}$/,
'ar-YE': /^(((\+|00)9677|0?7)[0137]\d{7}|((\+|00)967|0)[1-7]\d{6})$/,
'ar-EH': /^(\+?212|0)[\s\-]?(5288|5289)[\s\-]?\d{5}$/,
'fa-AF': /^(\+93|0)?(2{1}[0-8]{1}|[3-5]{1}[0-4]{1})(\d{7})$/
};
/* eslint-enable max-len */
// aliases
phones['en-CA'] = phones['en-US'];
phones['fr-CA'] = phones['en-CA'];
phones['fr-BE'] = phones['nl-BE'];
phones['zh-HK'] = phones['en-HK'];
phones['zh-MO'] = phones['en-MO'];
phones['ga-IE'] = phones['en-IE'];
phones['fr-CH'] = phones['de-CH'];
phones['it-CH'] = phones['fr-CH'];
export default function isMobilePhone(str, locale, options) {
assertString(str);
if (options && options.strictMode && !str.startsWith('+')) {
return false;
}
if (Array.isArray(locale)) {
return locale.some(function (key) {
// https://github.com/gotwarlost/istanbul/blob/master/ignoring-code-for-coverage.md#ignoring-code-for-coverage-purposes
// istanbul ignore else
if (phones.hasOwnProperty(key)) {
var phone = phones[key];
if (phone.test(str)) {
return true;
}
}
return false;
});
} else if (locale in phones) {
return phones[locale].test(str); // alias falsey locale as 'any'
} else if (!locale || locale === 'any') {
for (var key in phones) {
// istanbul ignore else
if (phones.hasOwnProperty(key)) {
var phone = phones[key];
if (phone.test(str)) {
return true;
}
}
}
return false;
}
throw new Error("Invalid locale '".concat(locale, "'"));
}
export var locales = Object.keys(phones);
@@ -0,0 +1 @@
{"version":3,"file":"windowCount.js","sources":["../src/operators/windowCount.ts"],"names":[],"mappings":";;;;;AAAA,uDAAkD"}
@@ -0,0 +1,49 @@
/** PURE_IMPORTS_START tslib,_innerSubscribe PURE_IMPORTS_END */
import * as tslib_1 from "tslib";
import { SimpleOuterSubscriber, SimpleInnerSubscriber, innerSubscribe } from '../innerSubscribe';
export function catchError(selector) {
return function catchErrorOperatorFunction(source) {
var operator = new CatchOperator(selector);
var caught = source.lift(operator);
return (operator.caught = caught);
};
}
var CatchOperator = /*@__PURE__*/ (function () {
function CatchOperator(selector) {
this.selector = selector;
}
CatchOperator.prototype.call = function (subscriber, source) {
return source.subscribe(new CatchSubscriber(subscriber, this.selector, this.caught));
};
return CatchOperator;
}());
var CatchSubscriber = /*@__PURE__*/ (function (_super) {
tslib_1.__extends(CatchSubscriber, _super);
function CatchSubscriber(destination, selector, caught) {
var _this = _super.call(this, destination) || this;
_this.selector = selector;
_this.caught = caught;
return _this;
}
CatchSubscriber.prototype.error = function (err) {
if (!this.isStopped) {
var result = void 0;
try {
result = this.selector(err, this.caught);
}
catch (err2) {
_super.prototype.error.call(this, err2);
return;
}
this._unsubscribeAndRecycle();
var innerSubscriber = new SimpleInnerSubscriber(this);
this.add(innerSubscriber);
var innerSubscription = innerSubscribe(result, innerSubscriber);
if (innerSubscription !== innerSubscriber) {
this.add(innerSubscription);
}
}
};
return CatchSubscriber;
}(SimpleOuterSubscriber));
//# sourceMappingURL=catchError.js.map
@@ -0,0 +1,7 @@
var path = require('path');
function rebaseToFrom(option) {
return option ? path.resolve(option) : process.cwd();
}
module.exports = rebaseToFrom;
@@ -0,0 +1,5 @@
var convert = require('./convert'),
func = convert('isSymbol', require('../isSymbol'), require('./_falseOptions'));
func.placeholder = require('./placeholder');
module.exports = func;
@@ -0,0 +1,6 @@
export interface LookupMatcherResult {
locale: string;
extension?: string;
nu?: string;
}
//# sourceMappingURL=types.d.ts.map

Some files were not shown because too many files have changed in this diff Show More