@flarehr/apollo-benefits 1.2.100 → 1.3.54122
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -0
- package/dist/assets/@splitsoftware-7d799540.js +18 -0
- package/dist/assets/all_tab_color-548783b9.svg +21 -0
- package/dist/assets/all_tab_gray-a5051313.svg +6 -0
- package/dist/assets/check-57fe1dcb.svg +15 -0
- package/dist/assets/datadog-350af017.js +5 -0
- package/dist/assets/date-fns-c5d8fbc0.js +1 -0
- package/dist/assets/default_backdrop-fdd955b8.png +0 -0
- package/dist/assets/external_link-599a0aec.svg +3 -0
- package/dist/assets/external_link_white-55111b2e.svg +3 -0
- package/dist/assets/framer-motion-bb8d6b82.js +1 -0
- package/dist/assets/index-1f3a05d4.js +5 -0
- package/dist/assets/index-a281aa90.js +35 -0
- package/dist/assets/index-cfa25e28.css +1 -0
- package/dist/assets/lodash-5d893f8c.js +1 -0
- package/dist/assets/logo-a34e9b4b.png +0 -0
- package/dist/assets/oidc-client-6f6e47c2.js +101 -0
- package/dist/assets/padlock-8c081120.svg +26 -0
- package/dist/assets/suitcase-6471ad05.svg +17 -0
- package/dist/assets/vendor-2d0139ca.js +788 -0
- package/dist/assets/warning-a7f1af23.svg +14 -0
- package/dist/assets/welcome_image_mobile-dbde6c80.png +0 -0
- package/dist/assets/welcome_image_v2-869c59e4.png +0 -0
- package/dist/assets/wellbeing_banner-6903d615.png +0 -0
- package/dist/assets/workplace_link_banner_mobile-6ebaa24b.png +0 -0
- package/dist/assets/workplace_link_banner_v2-c81ed849.png +0 -0
- package/dist/config.json +14 -0
- package/dist/favicon.ico +0 -0
- package/dist/icons/android-chrome-192x192.png +0 -0
- package/dist/icons/android-chrome-512x512.png +0 -0
- package/dist/icons/apple-touch-icon.png +0 -0
- package/dist/icons/favicon-16x16.png +0 -0
- package/dist/icons/favicon-32x32.png +0 -0
- package/dist/index.html +114 -0
- package/dist/manifest.json +21 -0
- package/dist/sw-esm.js +16 -0
- package/package.json +127 -69
- package/LICENSE +0 -21
- package/dist/lib/apollo-benefits/apollo-benefits.esm.js +0 -1
- package/dist/lib/apollo-benefits/assets/Hero_Background.png +0 -0
- package/dist/lib/apollo-benefits/assets/car-placeholder.svg +0 -5
- package/dist/lib/apollo-benefits/assets/check.svg +0 -13
- package/dist/lib/apollo-benefits/common-assets/icon-info.svg +0 -4
- package/dist/lib/apollo-benefits/index.esm.js +0 -0
- package/dist/lib/apollo-benefits/p-054d1471.js +0 -1
- package/dist/lib/apollo-benefits/p-066d8e7b.js +0 -15
- package/dist/lib/apollo-benefits/p-08376428.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-1d7ab1b9.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-25a89275.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-26d363c9.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-337ce3df.js +0 -1
- package/dist/lib/apollo-benefits/p-3dc9a379.js +0 -1
- package/dist/lib/apollo-benefits/p-4376366b.js +0 -46
- package/dist/lib/apollo-benefits/p-4e2d34f4.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-50bbf713.js +0 -1
- package/dist/lib/apollo-benefits/p-53c5e861.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-556fdb43.js +0 -1
- package/dist/lib/apollo-benefits/p-57d4702d.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-58ee670f.js +0 -1
- package/dist/lib/apollo-benefits/p-6a54654f.entry.js +0 -11
- package/dist/lib/apollo-benefits/p-6bd33850.js +0 -1
- package/dist/lib/apollo-benefits/p-79c3b633.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-7f3a2f3b.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-82d42c2b.js +0 -1
- package/dist/lib/apollo-benefits/p-9b3e978e.js +0 -1
- package/dist/lib/apollo-benefits/p-a1dd0cba.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-aa379cfe.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-aaf0e527.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-b0b9425b.js +0 -1
- package/dist/lib/apollo-benefits/p-d0ef83f8.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-db4a65f0.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-dc67f942.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-e1fd79bb.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-ea120e31.js +0 -1
- package/dist/lib/apollo-benefits/p-ef5f33ca.js +0 -1
- package/dist/lib/apollo-benefits/p-f5254031.js +0 -1
- package/dist/lib/apollo-benefits/p-f63d9d89.js +0 -1
- package/dist/lib/apollo-benefits/p-fcfa5255.entry.js +0 -1
- package/dist/lib/cjs/Option-98dab0b8.js +0 -1988
- package/dist/lib/cjs/active-router-90429847.js +0 -75
- package/dist/lib/cjs/ap-ben-asset_5.cjs.entry.js +0 -1856
- package/dist/lib/cjs/ap-ben-benefit-card.cjs.entry.js +0 -45
- package/dist/lib/cjs/ap-ben-benefit-list-item.cjs.entry.js +0 -56
- package/dist/lib/cjs/ap-ben-benefit-url_27.cjs.entry.js +0 -48767
- package/dist/lib/cjs/ap-ben-benefits-list_3.cjs.entry.js +0 -55
- package/dist/lib/cjs/ap-ben-benefits-page.cjs.entry.js +0 -55
- package/dist/lib/cjs/ap-ben-choose-vehicle-section_4.cjs.entry.js +0 -2779
- package/dist/lib/cjs/ap-ben-notifications-section.cjs.entry.js +0 -243
- package/dist/lib/cjs/ap-ben-oidc-callback-page.cjs.entry.js +0 -40
- package/dist/lib/cjs/apollo-benefits.cjs.js +0 -25
- package/dist/lib/cjs/app-globals-e04ab04b.js +0 -12
- package/dist/lib/cjs/authentication.service-11c30071.js +0 -237
- package/dist/lib/cjs/benefits.api-b46ee2ea.js +0 -35
- package/dist/lib/cjs/cars-calculator-app.cjs.entry.js +0 -60
- package/dist/lib/cjs/cars-calculator.service-a8beab79.js +0 -166
- package/dist/lib/cjs/context-consumer.cjs.entry.js +0 -29
- package/dist/lib/cjs/datorama-akita-792b4d1d.js +0 -2553
- package/dist/lib/cjs/delay-e91dba76.js +0 -206
- package/dist/lib/cjs/event-tracking.service-6f723d9c.js +0 -155
- package/dist/lib/cjs/event-tracking.service-d6f9a51c.js +0 -259
- package/dist/lib/cjs/filter-c38164e6.js +0 -378
- package/dist/lib/cjs/fl-dropdown-async.cjs.entry.js +0 -422
- package/dist/lib/cjs/fl-dropdown.cjs.entry.js +0 -232
- package/dist/lib/cjs/fl-style-guide.cjs.entry.js +0 -91
- package/dist/lib/cjs/index-4f00f593.js +0 -994
- package/dist/lib/cjs/index-6e643fec.js +0 -1734
- package/dist/lib/cjs/index-889ce6c6.js +0 -27
- package/dist/lib/cjs/index.cjs.js +0 -2
- package/dist/lib/cjs/loader.cjs.js +0 -27
- package/dist/lib/cjs/scheduleArray-0ba3d6f8.js +0 -753
- package/dist/lib/cjs/stencil-async-content.cjs.entry.js +0 -32
- package/dist/lib/cjs/stencil-route-title.cjs.entry.js +0 -32
- package/dist/lib/cjs/stencil-router-prompt.cjs.entry.js +0 -59
- package/dist/lib/cjs/stencil-router-redirect.cjs.entry.js +0 -32
- package/dist/lib/cjs/view.service-ec43dea6.js +0 -21
- package/dist/lib/collection/assets/image/complete.svg +0 -122
- package/dist/lib/collection/collection-manifest.json +0 -81
- package/dist/lib/collection/components/benefits-app/apis/api-client.js +0 -16
- package/dist/lib/collection/components/benefits-app/apis/benefits-api/benefits-api.dto.js +0 -16
- package/dist/lib/collection/components/benefits-app/apis/benefits-api/benefits.api.js +0 -30
- package/dist/lib/collection/components/benefits-app/apis/event-tracking-api/event-tracking-api.dto.js +0 -1
- package/dist/lib/collection/components/benefits-app/apis/event-tracking-api/event-tracking-api.js +0 -7
- package/dist/lib/collection/components/benefits-app/apis/user-api/user-api.dto.js +0 -8
- package/dist/lib/collection/components/benefits-app/apis/user-api/user.api.js +0 -16
- package/dist/lib/collection/components/benefits-app/benefits-app.css +0 -399
- package/dist/lib/collection/components/benefits-app/benefits-app.js +0 -216
- package/dist/lib/collection/components/benefits-app/pages/benefits-page/benefits-list/benefit-list-item.css +0 -23
- package/dist/lib/collection/components/benefits-app/pages/benefits-page/benefits-list/benefits-list-item.js +0 -80
- package/dist/lib/collection/components/benefits-app/pages/benefits-page/benefits-list/benefits-list.js +0 -32
- package/dist/lib/collection/components/benefits-app/pages/benefits-page/benefits-page.js +0 -47
- package/dist/lib/collection/components/benefits-app/pages/benefits-page/hero-banner/assets/Hero_Background.png +0 -0
- package/dist/lib/collection/components/benefits-app/pages/benefits-page/hero-banner/hero-banner.css +0 -8
- package/dist/lib/collection/components/benefits-app/pages/benefits-page/hero-banner/hero-banner.js +0 -53
- package/dist/lib/collection/components/benefits-app/pages/benefits-page/promoted-benefits/benefit-card.css +0 -3
- package/dist/lib/collection/components/benefits-app/pages/benefits-page/promoted-benefits/benefit-card.js +0 -62
- package/dist/lib/collection/components/benefits-app/pages/benefits-page/promoted-benefits/promoted-benefits.js +0 -33
- package/dist/lib/collection/components/benefits-app/pages/manage-benefits-page/api/manage-benefits-api.dto.js +0 -36
- package/dist/lib/collection/components/benefits-app/pages/manage-benefits-page/api/manage-benefits.api.js +0 -23
- package/dist/lib/collection/components/benefits-app/pages/manage-benefits-page/edit-benefit-page/confirm-dialog.js +0 -158
- package/dist/lib/collection/components/benefits-app/pages/manage-benefits-page/edit-benefit-page/edit-benefit-form/benefit-url.css +0 -8
- package/dist/lib/collection/components/benefits-app/pages/manage-benefits-page/edit-benefit-page/edit-benefit-form/benefit-url.js +0 -126
- package/dist/lib/collection/components/benefits-app/pages/manage-benefits-page/edit-benefit-page/edit-benefit-form/edit-benefit-form.js +0 -138
- package/dist/lib/collection/components/benefits-app/pages/manage-benefits-page/edit-benefit-page/edit-benefit-form/upload-benefit-icon.css +0 -24
- package/dist/lib/collection/components/benefits-app/pages/manage-benefits-page/edit-benefit-page/edit-benefit-form/upload-benefit-icon.js +0 -102
- package/dist/lib/collection/components/benefits-app/pages/manage-benefits-page/edit-benefit-page/edit-benefit-form/upload-file.css +0 -18
- package/dist/lib/collection/components/benefits-app/pages/manage-benefits-page/edit-benefit-page/edit-benefit-form/upload-file.js +0 -120
- package/dist/lib/collection/components/benefits-app/pages/manage-benefits-page/edit-benefit-page/edit-benefit-page.js +0 -154
- package/dist/lib/collection/components/benefits-app/pages/manage-benefits-page/edit-benefit-page/edit-benefit.query.js +0 -18
- package/dist/lib/collection/components/benefits-app/pages/manage-benefits-page/edit-benefit-page/edit-benefit.service.js +0 -155
- package/dist/lib/collection/components/benefits-app/pages/manage-benefits-page/empty-benefits.js +0 -36
- package/dist/lib/collection/components/benefits-app/pages/manage-benefits-page/manage-benefits-header-row.js +0 -13
- package/dist/lib/collection/components/benefits-app/pages/manage-benefits-page/manage-benefits-page.css +0 -3
- package/dist/lib/collection/components/benefits-app/pages/manage-benefits-page/manage-benefits-page.js +0 -88
- package/dist/lib/collection/components/benefits-app/pages/manage-benefits-page/manage-benefits-page.routes.js +0 -24
- package/dist/lib/collection/components/benefits-app/pages/manage-benefits-page/manage-benefits.service.js +0 -37
- package/dist/lib/collection/components/benefits-app/pages/manage-benefits-page/managed-benefit-item/managed-benefit-item.css +0 -10
- package/dist/lib/collection/components/benefits-app/pages/manage-benefits-page/managed-benefit-item/managed-benefit-item.js +0 -89
- package/dist/lib/collection/components/benefits-app/pages/manage-benefits-page/store/manage-benefits.query.js +0 -11
- package/dist/lib/collection/components/benefits-app/pages/manage-benefits-page/store/manage-benefits.store.js +0 -51
- package/dist/lib/collection/components/benefits-app/pages/role-management-page/api/role-management.api.js +0 -21
- package/dist/lib/collection/components/benefits-app/pages/role-management-page/role-editors-section/role-editors-section.js +0 -104
- package/dist/lib/collection/components/benefits-app/pages/role-management-page/role-management-page.js +0 -50
- package/dist/lib/collection/components/benefits-app/pages/role-management-page/role-management.service.js +0 -44
- package/dist/lib/collection/components/benefits-app/pages/role-management-page/role-owner-section/role-owner-section.js +0 -40
- package/dist/lib/collection/components/benefits-app/pages/role-management-page/store/role-management.query.js +0 -13
- package/dist/lib/collection/components/benefits-app/pages/role-management-page/store/role-management.store.js +0 -42
- package/dist/lib/collection/components/benefits-app/services/benefits-app.service.js +0 -36
- package/dist/lib/collection/components/benefits-app/services/benefits.service.js +0 -11
- package/dist/lib/collection/components/benefits-app/services/event-tracking.service.js +0 -40
- package/dist/lib/collection/components/benefits-app/services/navigation.service.js +0 -34
- package/dist/lib/collection/components/benefits-app/store/benefits-app.query.js +0 -13
- package/dist/lib/collection/components/benefits-app/store/benefits-app.store.js +0 -24
- package/dist/lib/collection/components/benefits-app-host/benefits-app-host.js +0 -48
- package/dist/lib/collection/components/benefits-app-host/loading-page.js +0 -9
- package/dist/lib/collection/components/benefits-app-host/oidc-callback-page/oidc-callback-page.js +0 -65
- package/dist/lib/collection/components/benefits-app-host/oidc-callback-page/oidc-callback-page.routes.js +0 -11
- package/dist/lib/collection/components/benefits-app-host/services/app-configuration.query.js +0 -18
- package/dist/lib/collection/components/benefits-app-host/services/app-configuration.service.js +0 -23
- package/dist/lib/collection/components/benefits-app-host/services/authentication.query.js +0 -21
- package/dist/lib/collection/components/benefits-app-host/services/authentication.service.js +0 -96
- package/dist/lib/collection/components/benefits-app-host/services/session.store.js +0 -33
- package/dist/lib/collection/components/cars-calculator-app/api/api-client.js +0 -5
- package/dist/lib/collection/components/cars-calculator-app/api/cars-calculator-events.model.js +0 -1
- package/dist/lib/collection/components/cars-calculator-app/api/cars-calculator.api.js +0 -45
- package/dist/lib/collection/components/cars-calculator-app/api/event-tracking.api.js +0 -7
- package/dist/lib/collection/components/cars-calculator-app/cars-calculator-app.css +0 -22
- package/dist/lib/collection/components/cars-calculator-app/cars-calculator-app.js +0 -97
- package/dist/lib/collection/components/cars-calculator-app/notifications-section/notifications-section.js +0 -25
- package/dist/lib/collection/components/cars-calculator-app/pages/asset.component.js +0 -27
- package/dist/lib/collection/components/cars-calculator-app/pages/assets/car-placeholder.svg +0 -5
- package/dist/lib/collection/components/cars-calculator-app/pages/assets/check.svg +0 -13
- package/dist/lib/collection/components/cars-calculator-app/pages/choose-vehicle-section.component.js +0 -234
- package/dist/lib/collection/components/cars-calculator-app/pages/common-assets/icon-info.svg +0 -4
- package/dist/lib/collection/components/cars-calculator-app/pages/complete-section.component.js +0 -38
- package/dist/lib/collection/components/cars-calculator-app/pages/cost-breakdown-section.component.js +0 -45
- package/dist/lib/collection/components/cars-calculator-app/pages/model-variants-section.component.css +0 -34
- package/dist/lib/collection/components/cars-calculator-app/pages/model-variants-section.component.js +0 -93
- package/dist/lib/collection/components/cars-calculator-app/pages/personal-info-section.component.js +0 -71
- package/dist/lib/collection/components/cars-calculator-app/pages/quote-result-section.component.js +0 -117
- package/dist/lib/collection/components/cars-calculator-app/pages/submit-quote-section.component.js +0 -87
- package/dist/lib/collection/components/cars-calculator-app/services/app-configuration.service.js +0 -13
- package/dist/lib/collection/components/cars-calculator-app/services/cars-calculator.service.js +0 -117
- package/dist/lib/collection/components/cars-calculator-app/services/event-tracking.service.js +0 -37
- package/dist/lib/collection/components/cars-calculator-app/services/notifications.service.js +0 -37
- package/dist/lib/collection/components/cars-calculator-app/services/notifications.store.js +0 -3
- package/dist/lib/collection/components/cars-calculator-app/services/session.query.js +0 -38
- package/dist/lib/collection/components/cars-calculator-app/services/session.store.js +0 -80
- package/dist/lib/collection/components/cars-calculator-app/services/view.service.js +0 -16
- package/dist/lib/collection/components/shared/file-icon/file-icon.css +0 -15
- package/dist/lib/collection/components/shared/file-icon/file-icon.js +0 -84
- package/dist/lib/collection/components/shared/icon.js +0 -77
- package/dist/lib/collection/components/shared/icons-library.js +0 -11
- package/dist/lib/collection/components/shared/modal-section.js +0 -138
- package/dist/lib/collection/components/shared/tooltip.css +0 -3
- package/dist/lib/collection/components/shared/tooltip.js +0 -115
- package/dist/lib/collection/components/shared/ui-container/ui-container.css +0 -39
- package/dist/lib/collection/components/shared/ui-container/ui-container.js +0 -27
- package/dist/lib/collection/global/config.js +0 -2
- package/dist/lib/collection/global/main.dev.js +0 -31
- package/dist/lib/collection/global/main.js +0 -5
- package/dist/lib/collection/index.js +0 -2
- package/dist/lib/collection/utils/config.js +0 -2
- package/dist/lib/collection/utils/index.js +0 -28
- package/dist/lib/collection/utils/lazy.js +0 -29
- package/dist/lib/collection/utils/promise.js +0 -7
- package/dist/lib/esm/Option-53ef163a.js +0 -1982
- package/dist/lib/esm/active-router-134fe07f.js +0 -73
- package/dist/lib/esm/ap-ben-asset_5.entry.js +0 -1848
- package/dist/lib/esm/ap-ben-benefit-card.entry.js +0 -41
- package/dist/lib/esm/ap-ben-benefit-list-item.entry.js +0 -52
- package/dist/lib/esm/ap-ben-benefit-url_27.entry.js +0 -48737
- package/dist/lib/esm/ap-ben-benefits-list_3.entry.js +0 -49
- package/dist/lib/esm/ap-ben-benefits-page.entry.js +0 -51
- package/dist/lib/esm/ap-ben-choose-vehicle-section_4.entry.js +0 -2772
- package/dist/lib/esm/ap-ben-notifications-section.entry.js +0 -239
- package/dist/lib/esm/ap-ben-oidc-callback-page.entry.js +0 -36
- package/dist/lib/esm/apollo-benefits.js +0 -23
- package/dist/lib/esm/app-globals-ff43b669.js +0 -10
- package/dist/lib/esm/authentication.service-4dbff8a5.js +0 -232
- package/dist/lib/esm/benefits.api-5a0c5fa7.js +0 -33
- package/dist/lib/esm/cars-calculator-app.entry.js +0 -56
- package/dist/lib/esm/cars-calculator.service-1278f563.js +0 -163
- package/dist/lib/esm/context-consumer.entry.js +0 -25
- package/dist/lib/esm/datorama-akita-e42d9911.js +0 -2547
- package/dist/lib/esm/delay-d08c267f.js +0 -200
- package/dist/lib/esm/event-tracking.service-27d79066.js +0 -253
- package/dist/lib/esm/event-tracking.service-429d997c.js +0 -146
- package/dist/lib/esm/filter-aeb65cac.js +0 -370
- package/dist/lib/esm/fl-dropdown-async.entry.js +0 -418
- package/dist/lib/esm/fl-dropdown.entry.js +0 -228
- package/dist/lib/esm/fl-style-guide.entry.js +0 -87
- package/dist/lib/esm/index-1351f893.js +0 -979
- package/dist/lib/esm/index-8676bf1e.js +0 -22
- package/dist/lib/esm/index-d4b319a7.js +0 -1702
- package/dist/lib/esm/index.js +0 -1
- package/dist/lib/esm/loader.js +0 -23
- package/dist/lib/esm/polyfills/core-js.js +0 -11
- package/dist/lib/esm/polyfills/css-shim.js +0 -1
- package/dist/lib/esm/polyfills/dom.js +0 -79
- package/dist/lib/esm/polyfills/es5-html-element.js +0 -1
- package/dist/lib/esm/polyfills/index.js +0 -34
- package/dist/lib/esm/polyfills/system.js +0 -6
- package/dist/lib/esm/scheduleArray-b9669898.js +0 -738
- package/dist/lib/esm/stencil-async-content.entry.js +0 -28
- package/dist/lib/esm/stencil-route-title.entry.js +0 -28
- package/dist/lib/esm/stencil-router-prompt.entry.js +0 -55
- package/dist/lib/esm/stencil-router-redirect.entry.js +0 -28
- package/dist/lib/esm/view.service-6adbec31.js +0 -19
- package/dist/lib/index.cjs.js +0 -1
- package/dist/lib/index.js +0 -1
- package/dist/lib/loader/cdn.js +0 -3
- package/dist/lib/loader/index.cjs.js +0 -3
- package/dist/lib/loader/index.d.ts +0 -13
- package/dist/lib/loader/index.es2017.js +0 -3
- package/dist/lib/loader/index.js +0 -4
- package/dist/lib/loader/package.json +0 -10
- package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/button/button.css +0 -118
- package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/dropdown/dropdown.css +0 -9
- package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/dropdown-async/dropdown-async.css +0 -9
- package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/loading-indicator/loading-indicator.css +0 -141
- package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/promise-button/promise-button.css +0 -5
- package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/style-guide/style-guide.css +0 -0
- package/dist/lib/node_modules/@stencil/router/dist/collection/components/route/route.css +0 -3
- package/dist/lib/types/components/benefits-app/apis/api-client.d.ts +0 -7
- package/dist/lib/types/components/benefits-app/apis/benefits-api/benefits-api.dto.d.ts +0 -44
- package/dist/lib/types/components/benefits-app/apis/benefits-api/benefits.api.d.ts +0 -9
- package/dist/lib/types/components/benefits-app/apis/event-tracking-api/event-tracking-api.d.ts +0 -6
- package/dist/lib/types/components/benefits-app/apis/event-tracking-api/event-tracking-api.dto.d.ts +0 -18
- package/dist/lib/types/components/benefits-app/apis/user-api/user-api.dto.d.ts +0 -30
- package/dist/lib/types/components/benefits-app/apis/user-api/user.api.d.ts +0 -8
- package/dist/lib/types/components/benefits-app/benefits-app.d.ts +0 -22
- package/dist/lib/types/components/benefits-app/pages/benefits-page/benefits-list/benefits-list-item.d.ts +0 -10
- package/dist/lib/types/components/benefits-app/pages/benefits-page/benefits-list/benefits-list.d.ts +0 -5
- package/dist/lib/types/components/benefits-app/pages/benefits-page/benefits-page.d.ts +0 -10
- package/dist/lib/types/components/benefits-app/pages/benefits-page/hero-banner/hero-banner.d.ts +0 -5
- package/dist/lib/types/components/benefits-app/pages/benefits-page/promoted-benefits/benefit-card.d.ts +0 -8
- package/dist/lib/types/components/benefits-app/pages/benefits-page/promoted-benefits/promoted-benefits.d.ts +0 -5
- package/dist/lib/types/components/benefits-app/pages/manage-benefits-page/api/manage-benefits-api.dto.d.ts +0 -39
- package/dist/lib/types/components/benefits-app/pages/manage-benefits-page/api/manage-benefits.api.d.ts +0 -9
- package/dist/lib/types/components/benefits-app/pages/manage-benefits-page/edit-benefit-page/confirm-dialog.d.ts +0 -16
- package/dist/lib/types/components/benefits-app/pages/manage-benefits-page/edit-benefit-page/edit-benefit-form/benefit-url.d.ts +0 -21
- package/dist/lib/types/components/benefits-app/pages/manage-benefits-page/edit-benefit-page/edit-benefit-form/edit-benefit-form.d.ts +0 -12
- package/dist/lib/types/components/benefits-app/pages/manage-benefits-page/edit-benefit-page/edit-benefit-form/upload-benefit-icon.d.ts +0 -16
- package/dist/lib/types/components/benefits-app/pages/manage-benefits-page/edit-benefit-page/edit-benefit-form/upload-file.d.ts +0 -17
- package/dist/lib/types/components/benefits-app/pages/manage-benefits-page/edit-benefit-page/edit-benefit-page.d.ts +0 -24
- package/dist/lib/types/components/benefits-app/pages/manage-benefits-page/edit-benefit-page/edit-benefit.query.d.ts +0 -16
- package/dist/lib/types/components/benefits-app/pages/manage-benefits-page/edit-benefit-page/edit-benefit.service.d.ts +0 -20
- package/dist/lib/types/components/benefits-app/pages/manage-benefits-page/empty-benefits.d.ts +0 -5
- package/dist/lib/types/components/benefits-app/pages/manage-benefits-page/manage-benefits-header-row.d.ts +0 -3
- package/dist/lib/types/components/benefits-app/pages/manage-benefits-page/manage-benefits-page.d.ts +0 -16
- package/dist/lib/types/components/benefits-app/pages/manage-benefits-page/manage-benefits-page.routes.d.ts +0 -6
- package/dist/lib/types/components/benefits-app/pages/manage-benefits-page/manage-benefits.service.d.ts +0 -8
- package/dist/lib/types/components/benefits-app/pages/manage-benefits-page/managed-benefit-item/managed-benefit-item.d.ts +0 -11
- package/dist/lib/types/components/benefits-app/pages/manage-benefits-page/store/manage-benefits.query.d.ts +0 -10
- package/dist/lib/types/components/benefits-app/pages/manage-benefits-page/store/manage-benefits.store.d.ts +0 -51
- package/dist/lib/types/components/benefits-app/pages/role-management-page/api/role-management.api.d.ts +0 -7
- package/dist/lib/types/components/benefits-app/pages/role-management-page/role-editors-section/role-editors-section.d.ts +0 -15
- package/dist/lib/types/components/benefits-app/pages/role-management-page/role-management-page.d.ts +0 -9
- package/dist/lib/types/components/benefits-app/pages/role-management-page/role-management.service.d.ts +0 -11
- package/dist/lib/types/components/benefits-app/pages/role-management-page/role-owner-section/role-owner-section.d.ts +0 -5
- package/dist/lib/types/components/benefits-app/pages/role-management-page/store/role-management.query.d.ts +0 -12
- package/dist/lib/types/components/benefits-app/pages/role-management-page/store/role-management.store.d.ts +0 -17
- package/dist/lib/types/components/benefits-app/services/benefits-app.service.d.ts +0 -13
- package/dist/lib/types/components/benefits-app/services/benefits.service.d.ts +0 -8
- package/dist/lib/types/components/benefits-app/services/event-tracking.service.d.ts +0 -11
- package/dist/lib/types/components/benefits-app/services/navigation.service.d.ts +0 -14
- package/dist/lib/types/components/benefits-app/store/benefits-app.query.d.ts +0 -12
- package/dist/lib/types/components/benefits-app/store/benefits-app.store.d.ts +0 -31
- package/dist/lib/types/components/benefits-app-host/benefits-app-host.d.ts +0 -9
- package/dist/lib/types/components/benefits-app-host/loading-page.d.ts +0 -3
- package/dist/lib/types/components/benefits-app-host/oidc-callback-page/oidc-callback-page.d.ts +0 -8
- package/dist/lib/types/components/benefits-app-host/oidc-callback-page/oidc-callback-page.routes.d.ts +0 -1
- package/dist/lib/types/components/benefits-app-host/services/app-configuration.query.d.ts +0 -11
- package/dist/lib/types/components/benefits-app-host/services/app-configuration.service.d.ts +0 -9
- package/dist/lib/types/components/benefits-app-host/services/authentication.query.d.ts +0 -13
- package/dist/lib/types/components/benefits-app-host/services/authentication.service.d.ts +0 -25
- package/dist/lib/types/components/benefits-app-host/services/session.store.d.ts +0 -25
- package/dist/lib/types/components/cars-calculator-app/api/api-client.d.ts +0 -2
- package/dist/lib/types/components/cars-calculator-app/api/cars-calculator-events.model.d.ts +0 -39
- package/dist/lib/types/components/cars-calculator-app/api/cars-calculator.api.d.ts +0 -100
- package/dist/lib/types/components/cars-calculator-app/api/event-tracking.api.d.ts +0 -6
- package/dist/lib/types/components/cars-calculator-app/cars-calculator-app.d.ts +0 -18
- package/dist/lib/types/components/cars-calculator-app/notifications-section/notifications-section.d.ts +0 -5
- package/dist/lib/types/components/cars-calculator-app/pages/asset.component.d.ts +0 -4
- package/dist/lib/types/components/cars-calculator-app/pages/choose-vehicle-section.component.d.ts +0 -23
- package/dist/lib/types/components/cars-calculator-app/pages/complete-section.component.d.ts +0 -5
- package/dist/lib/types/components/cars-calculator-app/pages/cost-breakdown-section.component.d.ts +0 -6
- package/dist/lib/types/components/cars-calculator-app/pages/model-variants-section.component.d.ts +0 -12
- package/dist/lib/types/components/cars-calculator-app/pages/personal-info-section.component.d.ts +0 -10
- package/dist/lib/types/components/cars-calculator-app/pages/quote-result-section.component.d.ts +0 -16
- package/dist/lib/types/components/cars-calculator-app/pages/submit-quote-section.component.d.ts +0 -12
- package/dist/lib/types/components/cars-calculator-app/services/app-configuration.service.d.ts +0 -7
- package/dist/lib/types/components/cars-calculator-app/services/cars-calculator.service.d.ts +0 -11
- package/dist/lib/types/components/cars-calculator-app/services/event-tracking.service.d.ts +0 -13
- package/dist/lib/types/components/cars-calculator-app/services/notifications.service.d.ts +0 -15
- package/dist/lib/types/components/cars-calculator-app/services/notifications.store.d.ts +0 -14
- package/dist/lib/types/components/cars-calculator-app/services/session.query.d.ts +0 -26
- package/dist/lib/types/components/cars-calculator-app/services/session.store.d.ts +0 -78
- package/dist/lib/types/components/cars-calculator-app/services/view.service.d.ts +0 -8
- package/dist/lib/types/components/shared/file-icon/file-icon.d.ts +0 -11
- package/dist/lib/types/components/shared/icon.d.ts +0 -7
- package/dist/lib/types/components/shared/icons-library.d.ts +0 -1
- package/dist/lib/types/components/shared/modal-section.d.ts +0 -16
- package/dist/lib/types/components/shared/tooltip.d.ts +0 -13
- package/dist/lib/types/components/shared/ui-container/ui-container.d.ts +0 -5
- package/dist/lib/types/components.d.ts +0 -606
- package/dist/lib/types/global/config.d.ts +0 -2
- package/dist/lib/types/global/main.d.ts +0 -1
- package/dist/lib/types/global/main.dev.d.ts +0 -1
- package/dist/lib/types/index.d.ts +0 -2
- package/dist/lib/types/stencil-public-runtime.d.ts +0 -1555
- package/dist/lib/types/utils/config.d.ts +0 -2
- package/dist/lib/types/utils/index.d.ts +0 -10
- package/dist/lib/types/utils/lazy.d.ts +0 -12
- package/dist/lib/types/utils/promise.d.ts +0 -1
- package/readme.md +0 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<svg width="44" height="45" viewBox="0 0 44 45" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g id="o-warning 1" clip-path="url(#clip0_2388_1087)">
|
|
3
|
+
<g id="Group">
|
|
4
|
+
<path id="Vector" d="M22.0005 10.4258V26.7662" stroke="#DC2626" stroke-width="2.66667" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
+
<path id="Vector_2" d="M22.0005 36.2985C23.1051 36.2985 24.0005 35.384 24.0005 34.2559C24.0005 33.1279 23.1051 32.2134 22.0005 32.2134C20.8959 32.2134 20.0005 33.1279 20.0005 34.2559C20.0005 35.384 20.8959 36.2985 22.0005 36.2985Z" fill="#DC2626"/>
|
|
6
|
+
<path id="Vector_3" d="M30.2845 2.25586H13.7165L2.00049 14.2211V31.1416L13.7165 43.1069H30.2845L42.0005 31.1416V14.2211L30.2845 2.25586Z" stroke="#111827" stroke-width="2.66667" stroke-linecap="round" stroke-linejoin="round"/>
|
|
7
|
+
</g>
|
|
8
|
+
</g>
|
|
9
|
+
<defs>
|
|
10
|
+
<clipPath id="clip0_2388_1087">
|
|
11
|
+
<rect width="42.6667" height="43.5745" fill="white" transform="translate(0.666992 0.894043)"/>
|
|
12
|
+
</clipPath>
|
|
13
|
+
</defs>
|
|
14
|
+
</svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"oidcAuthority": "__OIDC_AUTHORITY",
|
|
3
|
+
"apiBaseUrl": "__API_BASE_URL",
|
|
4
|
+
"apiGatewayBaseUrl": "__API_GATEWAY_BASE_URL",
|
|
5
|
+
"apolloBaseUrl": "__APOLLO_BASE_URL",
|
|
6
|
+
"apiV2BaseUrl": "__API_V2_BASE_URL",
|
|
7
|
+
"workplaceBackendUrl": "__WORKPLACE_BACKEND_URL",
|
|
8
|
+
"appInsightsKey": "__APP_INSIGHTS_KEY",
|
|
9
|
+
"contentfulSpace": "hos0i9i3wvo7",
|
|
10
|
+
"contentfulEnvironment": "__CONTENTFUL_ENVIRONMENT",
|
|
11
|
+
"contentfulApiKey": "pZ8KQVJZ8iSqixnowan6aKl9xmpE61FDPJvyAB49bpY",
|
|
12
|
+
"carsCalculatorUrl": "https://www.flarehr.com/cars/calculator",
|
|
13
|
+
"splitAuthorizationKey": "__SPLIT_AUTHORIZATION_KEY"
|
|
14
|
+
}
|
package/dist/favicon.ico
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/index.html
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
<script>
|
|
7
|
+
(function (w, d, s, l, i) {
|
|
8
|
+
w[l] = w[l] || [];
|
|
9
|
+
w[l].push({ 'gtm.start': new Date().getTime(), event: 'gtm.js' });
|
|
10
|
+
var f = d.getElementsByTagName(s)[0],
|
|
11
|
+
j = d.createElement(s),
|
|
12
|
+
dl = l != 'dataLayer' ? '&l=' + l : '';
|
|
13
|
+
j.async = true;
|
|
14
|
+
j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
|
|
15
|
+
f.parentNode.insertBefore(j, f);
|
|
16
|
+
})(window, document, 'script', 'dataLayer', 'GTM-WFKJ7G4H');
|
|
17
|
+
</script>
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
<meta charset="utf-8" >
|
|
21
|
+
<title>Flare Benefits</title>
|
|
22
|
+
<meta name="viewport" content="width=device-width,initial-scale=1" >
|
|
23
|
+
<meta name="mobile-web-app-capable" content="yes" >
|
|
24
|
+
<meta name="apple-mobile-web-app-capable" content="yes" >
|
|
25
|
+
<link rel="apple-touch-icon" href="./icons/apple-touch-icon.png" >
|
|
26
|
+
<link rel="icon" type="image/x-icon" href="./favicon.ico">
|
|
27
|
+
<link rel="stylesheet" href="https://rsms.me/inter/inter.css" >
|
|
28
|
+
<link rel="manifest" href="./manifest.json" >
|
|
29
|
+
<script>
|
|
30
|
+
!(function () {
|
|
31
|
+
var analytics = (window.analytics = window.analytics || []);
|
|
32
|
+
if (!analytics.initialize)
|
|
33
|
+
if (analytics.invoked)
|
|
34
|
+
window.console && console.error && console.error('Segment snippet included twice.');
|
|
35
|
+
else {
|
|
36
|
+
analytics.invoked = !0;
|
|
37
|
+
analytics.methods = [
|
|
38
|
+
'trackSubmit',
|
|
39
|
+
'trackClick',
|
|
40
|
+
'trackLink',
|
|
41
|
+
'trackForm',
|
|
42
|
+
'pageview',
|
|
43
|
+
'identify',
|
|
44
|
+
'reset',
|
|
45
|
+
'group',
|
|
46
|
+
'track',
|
|
47
|
+
'ready',
|
|
48
|
+
'alias',
|
|
49
|
+
'debug',
|
|
50
|
+
'page',
|
|
51
|
+
'once',
|
|
52
|
+
'off',
|
|
53
|
+
'on',
|
|
54
|
+
'addSourceMiddleware',
|
|
55
|
+
'addIntegrationMiddleware',
|
|
56
|
+
'setAnonymousId',
|
|
57
|
+
'addDestinationMiddleware'
|
|
58
|
+
];
|
|
59
|
+
analytics.factory = function (e) {
|
|
60
|
+
return function () {
|
|
61
|
+
var t = Array.prototype.slice.call(arguments);
|
|
62
|
+
t.unshift(e);
|
|
63
|
+
analytics.push(t);
|
|
64
|
+
return analytics;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
for (var e = 0; e < analytics.methods.length; e++) {
|
|
68
|
+
var key = analytics.methods[e];
|
|
69
|
+
analytics[key] = analytics.factory(key);
|
|
70
|
+
}
|
|
71
|
+
analytics.load = function (key, e) {
|
|
72
|
+
var t = document.createElement('script');
|
|
73
|
+
t.type = 'text/javascript';
|
|
74
|
+
t.async = !0;
|
|
75
|
+
t.src = 'https://cdn.segment.com/analytics.js/v1/' + key + '/analytics.min.js';
|
|
76
|
+
var n = document.getElementsByTagName('script')[0];
|
|
77
|
+
n.parentNode.insertBefore(t, n);
|
|
78
|
+
analytics._loadOptions = e;
|
|
79
|
+
};
|
|
80
|
+
analytics._writeKey = '';
|
|
81
|
+
analytics.SNIPPET_VERSION = '4.15.2';
|
|
82
|
+
analytics.load('');
|
|
83
|
+
analytics.page();
|
|
84
|
+
}
|
|
85
|
+
})();
|
|
86
|
+
</script>
|
|
87
|
+
<script type="module" crossorigin src="/benefits/app/assets/index-1f3a05d4.js"></script>
|
|
88
|
+
<link rel="modulepreload" crossorigin href="/benefits/app/assets/lodash-5d893f8c.js">
|
|
89
|
+
<link rel="modulepreload" crossorigin href="/benefits/app/assets/vendor-2d0139ca.js">
|
|
90
|
+
<link rel="modulepreload" crossorigin href="/benefits/app/assets/oidc-client-6f6e47c2.js">
|
|
91
|
+
<link rel="modulepreload" crossorigin href="/benefits/app/assets/@splitsoftware-7d799540.js">
|
|
92
|
+
<link rel="modulepreload" crossorigin href="/benefits/app/assets/date-fns-c5d8fbc0.js">
|
|
93
|
+
<link rel="modulepreload" crossorigin href="/benefits/app/assets/framer-motion-bb8d6b82.js">
|
|
94
|
+
<link rel="modulepreload" crossorigin href="/benefits/app/assets/datadog-350af017.js">
|
|
95
|
+
<link rel="stylesheet" href="/benefits/app/assets/index-cfa25e28.css">
|
|
96
|
+
</head>
|
|
97
|
+
<body>
|
|
98
|
+
<script type="module" src="https://npm-cdn.flarehr.com/@flarehr/salpac-cars-calculator@__ENVIRONMENT/dist/salpac-cars-calculator.js"></script>
|
|
99
|
+
<script type="module" src="https://npm-cdn.flarehr.com/@flarehr/apollo-customer-workplace-link@__ENVIRONMENT/build/bundle.esm.js"></script>
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
<noscript ><iframe
|
|
104
|
+
src="https://www.googletagmanager.com/ns.html?id=GTM-WFKJ7G4H"
|
|
105
|
+
height="0"
|
|
106
|
+
width="0"
|
|
107
|
+
style="display: none; visibility: hidden"
|
|
108
|
+
></iframe
|
|
109
|
+
></noscript>
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
</body>
|
|
114
|
+
</html>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Flare Benefits",
|
|
3
|
+
"short_name": "Flare Benefits",
|
|
4
|
+
"start_url": "/",
|
|
5
|
+
"display": "standalone",
|
|
6
|
+
"orientation": "portrait",
|
|
7
|
+
"background_color": "#fff",
|
|
8
|
+
"theme_color": "#673ab8",
|
|
9
|
+
"icons": [
|
|
10
|
+
{
|
|
11
|
+
"src": "./icons/android-chrome-192x192.png",
|
|
12
|
+
"type": "image/png",
|
|
13
|
+
"sizes": "192x192"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"src": "./icons/android-chrome-512x512.png",
|
|
17
|
+
"type": "image/png",
|
|
18
|
+
"sizes": "512x512"
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
}
|
package/dist/sw-esm.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// To deregister the current service worker.
|
|
2
|
+
// Can be removed when we are confident all client services workers are deregistered (~1 year)
|
|
3
|
+
|
|
4
|
+
self.addEventListener('install', function(_) {
|
|
5
|
+
self.skipWaiting();
|
|
6
|
+
});
|
|
7
|
+
|
|
8
|
+
self.addEventListener('activate', function(_) {
|
|
9
|
+
self.registration.unregister()
|
|
10
|
+
.then(function() {
|
|
11
|
+
return self.clients.matchAll();
|
|
12
|
+
})
|
|
13
|
+
.then(function(clients) {
|
|
14
|
+
clients.forEach(client => client.navigate(client.url))
|
|
15
|
+
});
|
|
16
|
+
});
|
package/package.json
CHANGED
|
@@ -1,84 +1,142 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flarehr/apollo-benefits",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"module": "dist/lib/index.js",
|
|
7
|
-
"es2015": "dist/lib/esm/index.mjs",
|
|
8
|
-
"es2017": "dist/lib/esm/index.mjs",
|
|
9
|
-
"types": "dist/lib/types/index.d.ts",
|
|
10
|
-
"collection": "dist/lib/collection/collection-manifest.json",
|
|
11
|
-
"collection:main": "dist/lib/collection/index.js",
|
|
12
|
-
"unpkg": "dist/lib/apollo-benefits/apollo-benefits.js",
|
|
3
|
+
"version": "1.3.54122",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"description": "Flare Benefits",
|
|
13
6
|
"files": [
|
|
14
|
-
"dist/
|
|
7
|
+
"dist/"
|
|
15
8
|
],
|
|
16
9
|
"scripts": {
|
|
17
|
-
"
|
|
18
|
-
"build
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
10
|
+
"dev": "vite --debug",
|
|
11
|
+
"build": "tsc && vite build",
|
|
12
|
+
"preview": "vite preview",
|
|
13
|
+
"analyze": "npx vite-bundle-visualizer",
|
|
14
|
+
"dev:api": "cd ../api/Benefits.Api && func start --build",
|
|
15
|
+
"typescript": "tsc",
|
|
16
|
+
"lint": "eslint src/**/*.{js,jsx,ts,tsx}",
|
|
17
|
+
"lint:fix": "eslint src/**/*.{js,jsx,ts,tsx} --fix",
|
|
18
|
+
"lint:staged": "lint-staged --config ./lint-staged.config.js",
|
|
19
|
+
"test": "jest",
|
|
20
|
+
"test:watch": "jest --watch",
|
|
21
|
+
"prepare": "cd .. && husky install benefits-client/.husky"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"@babel/plugin-proposal-decorators": "^7.23.2",
|
|
25
|
+
"@contentful/rich-text-react-renderer": "^15.11.1",
|
|
26
|
+
"@datadog/browser-rum": "^5.1.0",
|
|
27
|
+
"@datorama/akita": "^8.0.1",
|
|
28
|
+
"@fortawesome/fontawesome-svg-core": "^6.4.2",
|
|
29
|
+
"@fortawesome/pro-duotone-svg-icons": "^6.4.2",
|
|
30
|
+
"@fortawesome/pro-light-svg-icons": "^6.4.2",
|
|
31
|
+
"@fortawesome/pro-regular-svg-icons": "^6.4.2",
|
|
32
|
+
"@fortawesome/pro-solid-svg-icons": "^6.4.2",
|
|
33
|
+
"@fortawesome/react-fontawesome": "^0.2.0",
|
|
34
|
+
"@headlessui/react": "^1.7.16",
|
|
35
|
+
"@heroicons/react": "^2.0.12",
|
|
36
|
+
"@juggle/resize-observer": "^3.3.1",
|
|
37
|
+
"@microsoft/applicationinsights-web": "^2.6.5",
|
|
38
|
+
"@popperjs/core": "^2.9.3",
|
|
39
|
+
"@splitsoftware/splitio-react": "^1.11.0",
|
|
40
|
+
"@typeform/embed-react": "^3.9.0",
|
|
41
|
+
"contentful": "^9.1.13",
|
|
42
|
+
"date-fns": "^2.23.0",
|
|
43
|
+
"flowbite-datepicker": "^1.2.1",
|
|
44
|
+
"formik": "^2.2.9",
|
|
45
|
+
"fp-ts": "^2.11.1",
|
|
46
|
+
"framer-motion": "^10.16.4",
|
|
47
|
+
"history": "^5.0.0",
|
|
48
|
+
"immer": "^9.0.6",
|
|
49
|
+
"is-primitive": "^3.0.1",
|
|
50
|
+
"jwt-decode": "^3.1.2",
|
|
51
|
+
"mime": "^2.5.2",
|
|
52
|
+
"oidc-client": "^1.11.5",
|
|
53
|
+
"preact": "^10.16.0",
|
|
54
|
+
"preact-iso": "^2.3.2",
|
|
55
|
+
"preact-render-to-string": "^5.1.19",
|
|
56
|
+
"preact-router": "^3.2.1",
|
|
57
|
+
"rxjs": "^7.8.1",
|
|
58
|
+
"smoothscroll-polyfill": "^0.4.4",
|
|
59
|
+
"ts-pattern": "^3.2.4",
|
|
60
|
+
"uuid": "^8.3.2",
|
|
61
|
+
"wretch": "^2.3.2",
|
|
62
|
+
"yup": "^0.32.9"
|
|
26
63
|
},
|
|
27
64
|
"devDependencies": {
|
|
65
|
+
"@babel/plugin-syntax-decorators": "^7.22.10",
|
|
66
|
+
"@babel/plugin-transform-react-jsx": "^7.23.4",
|
|
67
|
+
"@babel/preset-env": "^7.24.3",
|
|
68
|
+
"@babel/preset-typescript": "^7.23.2",
|
|
69
|
+
"@originjs/vite-plugin-commonjs": "^1.0.3",
|
|
70
|
+
"@preact/preset-vite": "^2.6.0",
|
|
28
71
|
"@rollup/plugin-replace": "^2.4.2",
|
|
29
|
-
"@
|
|
30
|
-
"@
|
|
31
|
-
"@
|
|
32
|
-
"@
|
|
33
|
-
"@types/
|
|
72
|
+
"@tailwindcss/forms": "^0.5.2",
|
|
73
|
+
"@tailwindcss/typography": "^0.5.2",
|
|
74
|
+
"@testing-library/jest-dom": "^4.2.4",
|
|
75
|
+
"@testing-library/preact": "^3.2.3",
|
|
76
|
+
"@types/enzyme": "^3.10.9",
|
|
77
|
+
"@types/jest": "^29.5.12",
|
|
34
78
|
"@types/mime": "^2.0.3",
|
|
35
|
-
"@types/node": "^
|
|
36
|
-
"@types/resize-observer-browser": "^0.1.
|
|
37
|
-
"@
|
|
38
|
-
"@
|
|
79
|
+
"@types/node": "^15.6.1",
|
|
80
|
+
"@types/resize-observer-browser": "^0.1.6",
|
|
81
|
+
"@types/segment-analytics": "^0.0.34",
|
|
82
|
+
"@types/smoothscroll-polyfill": "^0.3.1",
|
|
83
|
+
"@types/tailwindcss": "^3.0.11",
|
|
84
|
+
"@typescript-eslint/eslint-plugin": "^6.8.0",
|
|
85
|
+
"@typescript-eslint/parser": "^6.8.0",
|
|
86
|
+
"autoprefixer": "10.4.5",
|
|
87
|
+
"babel-jest": "^29.7.0",
|
|
88
|
+
"browserslist-useragent-regexp": "^3.0.0",
|
|
89
|
+
"copy-webpack-plugin": "^6.4.1",
|
|
39
90
|
"cross-zip": "^4.0.0",
|
|
40
91
|
"env-cmd": "^10.1.0",
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"eslint
|
|
44
|
-
"eslint-
|
|
92
|
+
"enzyme": "^3.11.0",
|
|
93
|
+
"enzyme-adapter-preact-pure": "^3.1.0",
|
|
94
|
+
"eslint": "^8.49.0",
|
|
95
|
+
"eslint-config-preact": "^1.3.0",
|
|
96
|
+
"eslint-config-prettier": "^9.0.0",
|
|
97
|
+
"eslint-plugin-jest": "^27.2.3",
|
|
98
|
+
"eslint-plugin-prettier": "^5.0.0",
|
|
45
99
|
"eslint-plugin-simple-import-sort": "^7.0.0",
|
|
46
|
-
"eslint-plugin-unused-imports": "^
|
|
47
|
-
"husky": "^
|
|
48
|
-
"jest": "^
|
|
49
|
-
"jest-cli": "^
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"date-fns": "^2.21.1",
|
|
68
|
-
"fp-ts": "^2.10.2",
|
|
69
|
-
"immer": "^9.0.1",
|
|
70
|
-
"jwt-decode": "^3.1.2",
|
|
71
|
-
"mime": "^2.5.2",
|
|
72
|
-
"oidc-client": "^1.11.5",
|
|
73
|
-
"rxjs": "^6.6.7",
|
|
74
|
-
"uuid": "^8.3.2",
|
|
75
|
-
"wretch": "^1.7.4",
|
|
76
|
-
"wretch-middlewares": "^0.1.12"
|
|
100
|
+
"eslint-plugin-unused-imports": "^3.0.0",
|
|
101
|
+
"husky": "^6.0.0",
|
|
102
|
+
"jest": "^29.0.0",
|
|
103
|
+
"jest-cli": "^28.1.3",
|
|
104
|
+
"jest-preset-preact": "^4.1.0",
|
|
105
|
+
"jest-svg-transformer": "^1.0.0",
|
|
106
|
+
"jest-transform-stub": "^2.0.0",
|
|
107
|
+
"lint-staged": "^11.1.2",
|
|
108
|
+
"postcss": "^8.4.14",
|
|
109
|
+
"prettier": "^3.0.3",
|
|
110
|
+
"rollup-plugin-ignore": "^1.0.9",
|
|
111
|
+
"sirv-cli": "^1.0.12",
|
|
112
|
+
"tailwindcss": "^3.1.4",
|
|
113
|
+
"typescript": "^5.1.6",
|
|
114
|
+
"vite": "^4.5.0",
|
|
115
|
+
"vite-plugin-commonjs": "^0.10.0",
|
|
116
|
+
"vite-plugin-html": "^3.2.0",
|
|
117
|
+
"vite-plugin-pwa": "^0.16.5",
|
|
118
|
+
"vite-plugin-static-copy": "^0.17.0",
|
|
119
|
+
"workbox-build": "^6.5.3",
|
|
120
|
+
"workbox-webpack-plugin": "^6.5.3"
|
|
77
121
|
},
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
|
|
81
|
-
|
|
122
|
+
"overrides": {
|
|
123
|
+
"autoprefixer": "10.4.5",
|
|
124
|
+
"ini": "1.3.8",
|
|
125
|
+
"set-value": "4.1.0",
|
|
126
|
+
"glob-parent": "6.0.2",
|
|
127
|
+
"minimist": "1.2.6"
|
|
82
128
|
},
|
|
83
|
-
"
|
|
129
|
+
"browserslist": [
|
|
130
|
+
"last 2 versions",
|
|
131
|
+
"and_chr >= 80.0.3987.99",
|
|
132
|
+
"samsung > 8",
|
|
133
|
+
"chrome >= 64",
|
|
134
|
+
"ios_saf > 11",
|
|
135
|
+
"safari >= 11.1",
|
|
136
|
+
"firefox >= 70",
|
|
137
|
+
"edge >= 80",
|
|
138
|
+
"opera >= 51",
|
|
139
|
+
"not dead",
|
|
140
|
+
"not IE 11"
|
|
141
|
+
]
|
|
84
142
|
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2019
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{p as e,b as t}from"./p-58ee670f.js";import{g as i}from"./p-6bd33850.js";import"./p-066d8e7b.js";import"./p-ea120e31.js";import"./p-054d1471.js";import"./p-f63d9d89.js";(()=>{const t=import.meta.url,i={};return""!==t&&(i.resourcesUrl=new URL(".",t).href),e(i)})().then((e=>(i(),t([["p-6a54654f",[[0,"benefits-app-host",{sessionState:[32],jwt:[32],appConfiguration:[32]}],[1,"benefits-app",{jwt:[1],apiBaseUrl:[1,"api-base-url"],appBaseUrl:[1,"app-base-url"],location:[16],history:[16],areStylesLoaded:[32],user:[32],signedInUserRole:[32]}],[0,"ap-ben-loading-page"],[4,"stencil-route-link",{url:[1],urlMatch:[1,"url-match"],activeClass:[1,"active-class"],exact:[4],strict:[4],custom:[1],anchorClass:[1,"anchor-class"],anchorRole:[1,"anchor-role"],anchorTitle:[1,"anchor-title"],anchorTabIndex:[1,"anchor-tab-index"],anchorId:[1,"anchor-id"],history:[16],location:[16],root:[1],ariaHaspopup:[1,"aria-haspopup"],ariaPosinset:[1,"aria-posinset"],ariaSetsize:[2,"aria-setsize"],ariaLabel:[1,"aria-label"],match:[32]}],[4,"stencil-route-switch",{group:[513],scrollTopOffset:[2,"scroll-top-offset"],location:[16],routeViewsUpdated:[16]}],[4,"stencil-router",{root:[1],historyType:[1,"history-type"],titleSuffix:[1,"title-suffix"],scrollTopOffset:[2,"scroll-top-offset"],location:[32],history:[32]}],[0,"ap-ben-edit-benefit-page",{benefitId:[16],editMode:[32],selectedBenefit:[32],draftBenefit:[32],showDeleteConfirmDialog:[32],showCancelConfirmDialog:[32],isLoading:[32],isValidationDisplayed:[32]}],[0,"ap-ben-manage-page",{showDisabledBenefits:[32],pageState:[32],isLoading:[32]}],[0,"ap-ben-role-management-page",{showRemoveConfirmDialog:[32],user:[32]}],[0,"ap-ben-edit-benefit-form",{isValidationDisplayed:[4,"is-validation-displayed"],disabled:[4],draftBenefit:[32]}],[0,"ap-ben-managed-benefit-item",{benefit:[16]}],[0,"ap-ben-empty-benefits"],[0,"ap-ben-upload-file",{uploadedFile:[32],uploadFileState:[32],isUploadError:[32]}],[0,"ap-ben-benefit-url",{benefitUrl:[32],uiState:[32],inputState:[32]}],[0,"ap-ben-upload-benefit-icon",{customIcon:[32],uploadIconState:[32]}],[0,"ap-ben-manage-benefits-header-row"],[0,"stencil-route",{group:[513],componentUpdated:[16],match:[1040],url:[1],component:[1],componentProps:[16],exact:[4],routeRender:[16],scrollTopOffset:[2,"scroll-top-offset"],routeViewsUpdated:[16],location:[16],history:[16],historyType:[1,"history-type"]}],[0,"ap-ben-role-editors-section",{editorProfiles:[32],isEmailValid:[32],displayInvalidEmailError:[32],emailNotExist:[32],isLoading:[32]}],[0,"ap-ben-file-icon",{fileType:[1,"file-type"],isEmpty:[4,"is-empty"]}],[0,"ap-ben-role-owner-section",{owner:[16]}],[4,"ap-ben-confirm-dialog",{titleText:[1,"title-text"],acceptText:[1,"accept-text"],declineText:[1,"decline-text"],dialogStyle:[1,"dialog-style"]}],[4,"ap-ben-ui-container",{isAppInitialised:[32]}],[4,"ap-ben-modal-section",{show:[8],modalTitle:[8,"modal-title"],showFooter:[4,"show-footer"],showHeader:[4,"show-header"]}],[4,"fl-promise-button",{isBlockElement:[4,"is-block-element"],isRounded:[4,"is-rounded"],disabled:[4],variant:[1],promiseFn:[16],state:[32]}],[0,"fl-loading-indicator",{theme:[1]}],[4,"fl-button",{isBlockElement:[4,"is-block-element"],disabled:[4],variant:[1],outline:[4]}],[0,"ap-ben-icon",{iconPrefix:[1,"icon-prefix"],iconId:[1,"icon-id"],spin:[4]}]]],["p-d0ef83f8",[[1,"cars-calculator-app",{apiBaseUrl:[1,"api-base-url"],areStylesLoaded:[32],isModelSelected:[32],isVariantSelected:[32],isQuoteCalculated:[32]}]]],["p-aa379cfe",[[0,"ap-ben-benefits-page",{state:[32],shopifyUrl:[32]}]]],["p-79c3b633",[[1,"fl-style-guide",{themeCssUrl:[1,"theme-css-url"]}]]],["p-53c5e861",[[0,"ap-ben-notifications-section"]]],["p-57d4702d",[[0,"ap-ben-oidc-callback-page",{history:[16],callbackMode:[1,"callback-mode"]}]]],["p-08376428",[[0,"context-consumer",{context:[16],renderer:[16],subscribe:[16],unsubscribe:[32]}]]],["p-26d363c9",[[0,"stencil-async-content",{documentLocation:[1,"document-location"],content:[32]}]]],["p-1d7ab1b9",[[0,"stencil-route-title",{titleSuffix:[1,"title-suffix"],pageTitle:[1,"page-title"]}]]],["p-dc67f942",[[0,"stencil-router-prompt",{when:[4],message:[1],history:[16],unblock:[32]}]]],["p-db4a65f0",[[0,"stencil-router-redirect",{history:[16],root:[1],url:[1]}]]],["p-7f3a2f3b",[[0,"fl-dropdown-async",{placeholder:[1],searchFunction:[16],value:[16],required:[4],requiredValidationMessage:[1,"required-validation-message"],disabled:[4],minSearchStringLength:[2,"min-search-string-length"],searchState:[32],inputValue:[32],isDropdownVisible:[32],filteredOptions:[32],highlightedOptionIndex:[32],selectedOption:[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]]]],["p-a1dd0cba",[[0,"ap-ben-benefit-card",{benefitWithId:[16]}]]],["p-aaf0e527",[[0,"ap-ben-benefit-list-item",{benefitWithId:[16]}]]],["p-4e2d34f4",[[0,"ap-ben-benefits-list",{benefits:[16]}],[0,"ap-ben-promoted-benefits",{benefits:[16]}],[0,"ap-ben-hero-banner",{shopifyUrl:[16]}]]],["p-25a89275",[[0,"fl-dropdown",{placeholder:[1],options:[16],value:[16],required:[4],requiredValidationMessage:[1,"required-validation-message"],disabled:[4],inputValue:[32],isDropdownVisible:[32],filteredOptions:[32],highlightedOptionIndex:[32],selectedOption:[32]},[[2,"focus","handleFocus"],[2,"blur","handleBlur"],[2,"keydown","handleKeyDown"]]]]],["p-e1fd79bb",[[0,"ap-ben-submit-quote-section",{userDetails:[32],formState:[32]}],[0,"ap-ben-complete-section"],[0,"ap-ben-asset",{image:[1]}],[0,"ap-ben-cost-breakdown-section",{quote:[16]}],[4,"ap-ben-tooltip",{target:[16],placement:[1],isVisible:[32]}]]],["p-fcfa5255",[[0,"ap-ben-quote-result-section",{quote:[32],showRequestQuoteModal:[32],showBreakdownModal:[32],showCompletePage:[32]}],[0,"ap-ben-model-variants-section",{variantsList:[32],selectedVariant:[32]}],[0,"ap-ben-choose-vehicle-section",{makeList:[32],modelList:[32],yearList:[32],bodyTypeList:[32],vehicleInfo:[32]}],[0,"ap-ben-personal-info-section",{userInfo:[32]}]]]],e))));
|
|
Binary file
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg width="150" height="50" viewBox="0 0 150 50" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M147.859 27.2664C147.859 27.2664 147.49 21.3963 146.743 19.2433C145.999 17.0924 146.546 17.6277 146.053 16.1782C146.053 16.1782 143.395 15.9454 142.648 16.0886C134.017 16.4473 114.222 1.89957 98.524 0.393849C98.524 0.393849 67.4955 -0.642153 61.8405 0.64636C56.1856 1.9366 43.3008 14.0127 41.2199 14.5146C30.5077 14.9425 3.2471 24.7294 3.2471 24.7294C2.50302 25.2314 1.90757 29.1369 1.90757 29.1369L2.27984 30.1407C-0.771056 32.8674 0.121669 38.603 0.121669 38.603L0.986842 42.5865L2.27984 41.1099C-0.247905 42.2569 1.61029 43.2612 1.61029 43.2612L7.26526 43.6934C9.01838 44.2178 14.8966 44.4013 19.0306 44.4307C18.4495 43.0167 18.119 41.4824 18.119 39.8711C18.119 33.0175 23.9042 27.4434 31.0173 27.4434C38.1277 27.4434 43.9156 33.0175 43.9156 39.8711C43.9156 41.3587 43.6273 42.7818 43.1275 44.1079L109.348 44.0006C108.874 42.7052 108.602 41.321 108.602 39.8711C108.602 33.0175 114.388 27.4434 121.501 27.4434C128.611 27.4434 134.399 33.0175 134.399 39.8711C134.399 41.1458 134.197 42.3781 133.825 43.5368C140.415 42.0691 148.091 41.0407 148.091 41.0407L149.504 39.2481C149.504 39.2481 150.62 31.5772 149.504 30.3579C148.387 29.1416 147.859 27.2664 147.859 27.2664Z" fill="#D0D0D0"/>
|
|
3
|
-
<path d="M31.0143 49.9995C35.2439 49.9995 38.8669 47.5773 40.5365 44.1073C41.1571 42.8144 41.5294 41.3875 41.5294 39.8657C41.5294 34.269 36.8206 29.7324 31.0125 29.7324C25.2039 29.7324 20.4951 34.2669 20.4951 39.8657C20.4951 41.5129 20.9415 43.0476 21.6672 44.4205C23.4059 47.7188 26.9148 49.9995 31.0143 49.9995Z" fill="#D0D0D0"/>
|
|
4
|
-
<path d="M121.495 49.9995C125.676 49.9995 129.257 47.6288 130.95 44.2237C131.611 42.9014 132.01 41.432 132.01 39.8657C132.01 34.269 127.301 29.7324 121.493 29.7324C115.684 29.7324 110.976 34.2669 110.976 39.8657C110.976 41.3377 111.317 42.7292 111.903 43.9904C113.55 47.5263 117.217 49.9995 121.495 49.9995Z" fill="#D0D0D0"/>
|
|
5
|
-
</svg>
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g clip-path="url(#clip0)">
|
|
3
|
-
<path d="M19.6095 10C19.6095 15.3072 15.3072 19.6095 10 19.6095C4.69284 19.6095 0.390625 15.3072 0.390625 10C0.390625 4.69284 4.69284 0.390625 10 0.390625C15.3072 0.390625 19.6095 4.69284 19.6095 10Z" fill="white"/>
|
|
4
|
-
<path d="M13.3468 5.46326L8.69177 10.1183L6.65411 8.0806L4.44434 10.2904L6.48199 12.328L8.69177 14.5377L15.5564 7.67303L13.3468 5.46326Z" fill="#FDBD00"/>
|
|
5
|
-
<path d="M8.69177 14.9283C8.58817 14.9283 8.48883 14.8871 8.41559 14.8138L4.16815 10.5666C4.01556 10.414 4.01556 10.1666 4.16815 10.014L6.37778 7.80441C6.53036 7.65182 6.77771 7.65182 6.9303 7.80441L8.69177 9.56589L13.0704 5.18707C13.1437 5.11383 13.2432 5.07263 13.3468 5.07263C13.4502 5.07263 13.5497 5.11383 13.623 5.18707L15.8326 7.39685C15.9852 7.54929 15.9852 7.79663 15.8326 7.94922L8.96796 14.814C8.89471 14.8872 8.79538 14.9283 8.69177 14.9283ZM4.99686 10.2904L8.69177 13.9853L15.004 7.67303L13.3468 6.01562L8.96796 10.3944C8.81537 10.547 8.56802 10.547 8.41559 10.3944L6.65411 8.63297L4.99686 10.2904Z" fill="black"/>
|
|
6
|
-
<path d="M9.99756 20C9.74243 20 9.487 19.9902 9.23111 19.9707C6.85471 19.7885 4.61655 18.7587 2.92892 17.0712C1.04019 15.1823 0 12.6712 0 10C0 7.32895 1.04019 4.81766 2.92892 2.92892C4.81766 1.04019 7.32895 0 10 0C12.6712 0 15.1823 1.04019 17.0712 2.92892C18.7587 4.61655 19.7885 6.85471 19.9707 9.23111C20.1509 11.5817 19.4963 13.9247 18.1276 15.8287C18.0017 16.0039 15.4883 18.9844 15.2539 18.1276C15.2539 18.0078 17.3674 15.5478 17.4933 15.3726C20.1389 11.6927 19.729 6.69174 16.5187 3.48129C12.9243 -0.113068 7.07581 -0.113068 3.48145 3.48129C-0.113068 7.07581 -0.113068 12.9242 3.48145 16.5187C6.69174 19.7289 11.6928 20.1389 15.3728 17.4931C15.5479 17.3672 18.4961 14.5703 16.6992 16.9183C17.4414 16.9183 15.9961 18.0114 15.8287 18.1276C14.1319 19.3474 12.0863 20 9.99756 20Z" fill="black"/>
|
|
7
|
-
</g>
|
|
8
|
-
<defs>
|
|
9
|
-
<clipPath id="clip0">
|
|
10
|
-
<rect width="20" height="20" fill="white"/>
|
|
11
|
-
</clipPath>
|
|
12
|
-
</defs>
|
|
13
|
-
</svg>
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M8 16C3.58863 16 0 12.4114 0 8C0 3.58893 3.58893 0 8 0C12.4111 0 16 3.58893 16 8C16 12.4114 12.4114 16 8 16ZM8 0.615379C3.92798 0.615379 0.615379 3.92829 0.615379 8C0.615379 12.0717 3.92829 15.3846 8 15.3846C12.0717 15.3846 15.3846 12.0717 15.3846 8C15.3846 3.92829 12.0717 0.615379 8 0.615379Z" fill="#202020"/>
|
|
3
|
-
<path d="M8.77817 3.96101C8.79202 4.38962 8.47784 4.73208 7.97817 4.73208C7.5357 4.73208 7.22125 4.38932 7.22125 3.96101C7.22125 3.51854 7.54986 3.17578 8.00649 3.17578C8.47818 3.17578 8.77817 3.51854 8.77817 3.96101ZM7.37876 12.8143V5.90318H8.63508V12.8143H7.37876Z" fill="#202020"/>
|
|
4
|
-
</svg>
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{O as t,s,c as e,d as i,S as r}from"./p-ea120e31.js";function n(t){return t&&"function"==typeof t.schedule}function c(...i){let r=i[i.length-1];return n(r)?(i.pop(),e(i,r)):new t(s(i))}const h=new t((t=>t.complete()));function a(s){return s?function(s){return new t((t=>s.schedule((()=>t.complete()))))}(s):h}var o;!function(t){t.NEXT="N",t.ERROR="E",t.COMPLETE="C"}(o||(o={}));class u{constructor(t,s,e){this.kind=t,this.value=s,this.error=e,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,s,e){switch(this.kind){case"N":return t&&t(this.value);case"E":return s&&s(this.error);case"C":return e&&e()}}accept(t,s,e){return t&&"function"==typeof t.next?this.observe(t):this.do(t,s,e)}toObservable(){switch(this.kind){case"N":return c(this.value);case"E":return s=this.error,new t((t=>t.error(s)));case"C":return a()}var s;throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new u("N",t):u.undefinedValueNotification}static createError(t){return new u("E",void 0,t)}static createComplete(){return u.completeNotification}}function f(t,s=i){var e;const r=(e=t)instanceof Date&&!isNaN(+e)?+t-s.now():Math.abs(t);return t=>t.lift(new w(r,s))}u.completeNotification=new u("C"),u.undefinedValueNotification=new u("N",void 0);class w{constructor(t,s){this.delay=t,this.scheduler=s}call(t,s){return s.subscribe(new l(t,this.delay,this.scheduler))}}class l extends r{constructor(t,s,e){super(t),this.delay=s,this.scheduler=e,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const s=t.source,e=s.queue,i=t.scheduler,r=t.destination;for(;e.length>0&&e[0].time-i.now()<=0;)e.shift().notification.observe(r);if(e.length>0){const s=Math.max(0,e[0].time-i.now());this.schedule(t,s)}else this.unsubscribe(),s.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(l.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const s=this.scheduler,e=new d(s.now()+this.delay,t);this.queue.push(e),!1===this.active&&this._schedule(s)}_next(t){this.scheduleNotification(u.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(u.createComplete()),this.unsubscribe()}}class d{constructor(t,s){this.time=t,this.notification=s}}export{u as N,f as d,a as e,n as i,c as o}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import{S as t,a as e,O as s,r as i,A as n,b as r}from"./p-ea120e31.js";import{e as h,N as c,o,d as u}from"./p-054d1471.js";import{S as a,a as l,i as f,f as d,m as p,d as b,b as g}from"./p-f63d9d89.js";const O=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})();class j{constructor(t){if(this.total=t,this.total<0)throw new O}call(t,e){return e.subscribe(new y(t,this.total))}}class y extends t{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,s=++this.count;s<=e&&(this.destination.next(t),s===e&&(this.destination.complete(),this.unsubscribe()))}}const w=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class v extends e{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const s=e.indexOf(this.subscriber);-1!==s&&e.splice(s,1)}}class S extends t{constructor(t){super(t),this.destination=t}}class E extends s{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[i](){return new S(this)}lift(t){const e=new m(this,this);return e.operator=t,e}next(t){if(this.closed)throw new w;if(!this.isStopped){const{observers:e}=this,s=e.length,i=e.slice();for(let e=0;e<s;e++)i[e].next(t)}}error(t){if(this.closed)throw new w;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:e}=this,s=e.length,i=e.slice();for(let e=0;e<s;e++)i[e].error(t);this.observers.length=0}complete(){if(this.closed)throw new w;this.isStopped=!0;const{observers:t}=this,e=t.length,s=t.slice();for(let t=0;t<e;t++)s[t].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new w;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new w;return this.hasError?(t.error(this.thrownError),e.EMPTY):this.isStopped?(t.complete(),e.EMPTY):(this.observers.push(t),new v(this,t))}asObservable(){const t=new s;return t.source=this,t}}E.create=(t,e)=>new m(t,e);class m extends E{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:s}=this;return s?this.source.subscribe(t):e.EMPTY}}class A extends t{constructor(t,e,s=0){super(t),this.scheduler=e,this.delay=s}static dispatch(t){const{notification:e,destination:s}=t;e.observe(s),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(A.dispatch,this.delay,new P(t,this.destination)))}_next(t){this.scheduleMessage(c.createNext(t))}_error(t){this.scheduleMessage(c.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(c.createComplete()),this.unsubscribe()}}class P{constructor(t,e){this.notification=t,this.destination=e}}class I extends E{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new w;return this._value}next(t){super.next(this._value=t)}}const U=new class extends r{}(class extends n{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,s=0){return null!==s&&s>0||null===s&&this.delay>0?super.requestAsyncId(t,e,s):t.flush(this)}});class N extends E{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,s){super(),this.scheduler=s,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){if(!this.isStopped){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift()}super.next(t)}nextTimeWindow(t){this.isStopped||(this._events.push(new _(this._getNow(),t)),this._trimBufferThenGetEvents()),super.next(t)}_subscribe(t){const s=this._infiniteTimeWindow,i=s?this._events:this._trimBufferThenGetEvents(),n=this.scheduler,r=i.length;let h;if(this.closed)throw new w;if(this.isStopped||this.hasError?h=e.EMPTY:(this.observers.push(t),h=new v(this,t)),n&&t.add(t=new A(t,n)),s)for(let e=0;e<r&&!t.closed;e++)t.next(i[e]);else for(let e=0;e<r&&!t.closed;e++)t.next(i[e].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),h}_getNow(){return(this.scheduler||U).now()}_trimBufferThenGetEvents(){const t=this._getNow(),e=this._bufferSize,s=this._windowTime,i=this._events,n=i.length;let r=0;for(;r<n&&!(t-i[r].time<s);)r++;return n>e&&(r=Math.max(r,n-e)),r>0&&i.splice(0,r),i}}class _{constructor(t,e){this.time=t,this.value=e}}class x{constructor(t){this.total=t}call(t,e){return e.subscribe(new C(t,this.total))}}class C extends t{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}function R(t,e){return"function"==typeof e?s=>s.pipe(R(((s,i)=>d(t(s,i)).pipe(p(((t,n)=>e(s,t,i,n))))))):e=>e.lift(new F(t))}class F{constructor(t){this.project=t}call(t,e){return e.subscribe(new M(t,this.project))}}class M extends a{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const s=this.index++;try{e=this.project(t,s)}catch(t){return void this.destination.error(t)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const s=new l(this),i=this.destination;i.add(s),this.innerSubscription=f(t,s),this.innerSubscription!==s&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}function k(t){return!!t&&(t instanceof s||"function"==typeof t.lift&&"function"==typeof t.subscribe)}
|
|
2
|
-
/*! *****************************************************************************
|
|
3
|
-
Copyright (c) Microsoft Corporation.
|
|
4
|
-
|
|
5
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
6
|
-
purpose with or without fee is hereby granted.
|
|
7
|
-
|
|
8
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
9
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
10
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
11
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
12
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
13
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
14
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
15
|
-
***************************************************************************** */function L(t,e,s,i){var n,r=arguments.length,h=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)h=Reflect.decorate(t,e,s,i);else for(var c=t.length-1;c>=0;c--)(n=t[c])&&(h=(r<3?n(h):r>3?n(e,s,h):n(e,s))||h);return r>3&&h&&Object.defineProperty(e,s,h),h}function K(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}const D={type:null,entityIds:null,skip:!1,payload:null};let $=!1;function z(t,e,s){W(t,e,s),$=!0}function W(t,e,s){!1===$&&(D.type=t,D.entityIds=e,D.payload=s)}function B(t,e){return t.hasOwnProperty(e)}function V(t){return Array.isArray(t)}function H(t){return t.hasOwnProperty("active")}function Q(t){return V(t)}function J({active:t,ids:e,entities:s}){return Q(t)?function(t,e){const s=t.filter((t=>e.indexOf(t)>-1));return s.length===t.length?t:s}(t,e):!1===B(s,t)?null:t}function Y(t){return null==t}function q(t){return Y(t)?[]:Array.isArray(t)?t:[t]}function G(t){return"function"==typeof t}function X(t){return!!V(t)&&0===t.length}function Z(t){const e=typeof t;return null!=t&&("object"==e||"function"==e)}let tt={resettable:!1,ttl:null,producerFn:void 0};function et(){return tt}function st(t){return!1===Y(t)}const it=new E,nt=new N(50,5e3),rt=new E,ht="undefined"!=typeof window,ct=!ht,ot=()=>{try{return"undefined"!=typeof localStorage}catch(t){return!1}},ut={},at={};var lt,ft;ht&&(window.$$stores=ut,window.$$queries=at),function(t){t.ASC="asc",t.DESC="desc"}(lt||(lt={})),function(t){t.Set="Set",t.Add="Add",t.Update="Update",t.Remove="Remove"}(ft||(ft={}));let dt=!0;function pt(){dt=!1,ht&&(delete window.$$stores,delete window.$$queries)}function bt(){return dt}function gt(t){return void 0===t}function Ot(t,e){let s={};for(const i of Object.keys(t))s[i]=e(t[i]);return s}function jt(t){Object.freeze(t);const e="function"==typeof t,s=Object.prototype.hasOwnProperty;return Object.getOwnPropertyNames(t).forEach((function(i){!s.call(t,i)||e&&("caller"===i||"callee"===i||"arguments"===i)||null===t[i]||"object"!=typeof t[i]&&"function"!=typeof t[i]||Object.isFrozen(t[i])||jt(t[i])})),t}function yt(t){return null!=t&&"false"!=`${t}`}function wt(t){return yt(t)&&"Object"===t.constructor.name}function vt(t){return function(e){e.akitaConfig={idKey:"id"};for(let s=0,i=Object.keys(t);s<i.length;s++){const n=i[s];"name"===n?e.akitaConfig.storeName=t[n]:e.akitaConfig[n]=t[n]}}}const St=new E,Et=new I(!1),mt={activeTransactions:0,batchTransaction:null};function Tt(){return mt.activeTransactions>0}function At(t,e){Tt()||(mt.batchTransaction=new E),mt.activeTransactions++,Et.next(!0);try{return t.apply(e)}finally{z("@Transaction"),0==--mt.activeTransactions&&(mt.batchTransaction.next(!0),mt.batchTransaction.complete(),Et.next(!1),St.next(!0))}}function Pt(){return function(t,e,s){const i=s.value;return s.value=function(...t){return At((()=>i.apply(this,t)),this)},s}}class It{constructor(t,e={}){this.options=e,this.inTransaction=!1,this.cache={active:new I(!1),ttl:null},this.onInit(t)}setLoading(t=!1){t!==this._value().loading&&(bt()&&W("Set Loading"),this._setState((e=>Object.assign(Object.assign({},e),{loading:t}))))}setHasCache(t,e={restartTTL:!1}){if(t!==this.cache.active.value&&this.cache.active.next(t),e.restartTTL){const t=this.getCacheTTL();t&&(null!==this.cache.ttl&&clearTimeout(this.cache.ttl),this.cache.ttl=setTimeout((()=>this.setHasCache(!1)),t))}}getValue(){return this.storeValue}setError(t){t!==this._value().error&&(bt()&&W("Set Error"),this._setState((e=>Object.assign(Object.assign({},e),{error:t}))))}_select(t){return this.store.asObservable().pipe(p((e=>t(e.state))),b())}_value(){return this.storeValue}_cache(){return this.cache.active}get config(){return this.constructor.akitaConfig||{}}get storeName(){return this.config.storeName||this.options.storeName||this.options.name}get deepFreeze(){return this.config.deepFreezeFn||this.options.deepFreezeFn||jt}get cacheConfig(){return this.config.cache||this.options.cache}get _producerFn(){return this.config.producerFn||this.options.producerFn||tt.producerFn}get resettable(){return st(this.config.resettable)?this.config.resettable:this.options.resettable}_setState(t,e=!0){if(G(t)){const e=t(this._value());this.storeValue=dt?this.deepFreeze(e):e}else this.storeValue=t;if(!this.store)return this.store=new I({state:this.storeValue}),void(bt()&&this.store.subscribe((({action:t})=>{t&&function(t,e){rt.next({storeName:t,action:e})}(this.storeName,t)})));Tt()?this.handleTransaction():this.dispatch(this.storeValue,e)}reset(){this.isResettable()?(bt()&&W("Reset"),this._setState((()=>Object.assign({},this._initialState))),this.setHasCache(!1)):bt()&&console.warn("You need to enable the reset functionality")}update(t){let e;bt()&&W("Update");const s=this._value();e=G(t)?G(this._producerFn)?this._producerFn(s,t):t(s):t;const i=this.akitaPreUpdate(s,Object.assign(Object.assign({},s),e)),n=wt(s)?i:new s.constructor(i);this._setState(n)}updateStoreConfig(t){this.options=Object.assign(Object.assign({},this.options),t)}akitaPreUpdate(t,e){return e}ngOnDestroy(){this.destroy()}destroy(){ht&&window.hmrEnabled||this!==ut[this.storeName]||(delete ut[this.storeName],it.next(this.storeName),this.setHasCache(!1),this.cache.active.complete(),this.store.complete())}onInit(t){ut[this.storeName]=this,this._setState((()=>t)),nt.next(this.storeName),this.isResettable()&&(this._initialState=t),bt()&&(this.storeName||console.error(`@StoreConfig({ name }) is missing in ${this.constructor.name}`))}dispatch(t,e=!0){let s;e&&(s=D,$=!1),this.store.next({state:t,action:s})}watchTransaction(){(mt.batchTransaction?mt.batchTransaction.asObservable():o(!0)).subscribe((()=>{this.inTransaction=!1,this.dispatch(this._value())}))}isResettable(){return!1!==this.resettable&&(this.resettable||et().resettable)}handleTransaction(){this.inTransaction||(this.watchTransaction(),this.inTransaction=!0)}getCacheTTL(){return this.cacheConfig&&this.cacheConfig.ttl||et().ttl}}var Ut;class Nt extends It{constructor(t={},e={}){super(Object.assign(Object.assign({},{entities:{},ids:[],loading:!0,error:null}),t),e),this.options=e,this.entityActions=new E,this.entityIdChanges=new E}get selectEntityAction$(){return this.entityActions.asObservable()}get selectEntityIdChanges$(){return this.entityIdChanges.asObservable()}get idKey(){return this.config.idKey||this.options.idKey||"id"}set(t,e={}){if(Y(t))return;bt()&&W("Set Entity");const s=this.akitaPreAddEntity===Nt.prototype.akitaPreAddEntity;this.setHasCache(!0,{restartTTL:!0}),this._setState((i=>{const n=function({state:t,entities:e,idKey:s,preAddEntity:i,isNativePreAdd:n}){let r,h;if(V(e)){const t=function(t,e,s){const i={entities:{},ids:[]};for(const n of t){const t=s(n);i.entities[t[e]]=t,i.ids.push(t[e])}return i}(e,s,i);r=t.entities,h=t.ids}else!function(t){return t.entities&&t.ids}(e)?(r=n?e:Ot(e,i),h=Object.keys(r).map((t=>isNaN(t)?t:Number(t)))):(r=n?e.entities:Ot(e.entities,i),h=e.ids);const c=Object.assign(Object.assign({},t),{entities:r,ids:h,loading:!1});return H(t)&&(c.active=J(c)),c}({state:i,entities:t,idKey:this.idKey,preAddEntity:this.akitaPreAddEntity,isNativePreAdd:s});return!1===gt(e.activeId)&&(n.active=e.activeId),n})),this.hasInitialUIState()&&this.handleUICreation(),this.entityActions.next({type:ft.Set,ids:this.ids})}add(t,e={loading:!1}){const s=q(t);if(X(s))return;const i=function({state:t,entities:e,idKey:s,options:i={},preAddEntity:n}){let r={},h=[],c=!1;for(const o of e)if(!1===B(t.entities,o[s])){const t=n(o),e=t[s];r[e]=t,i.prepend?h.unshift(e):h.push(e),c=!0}return c?{newState:Object.assign(Object.assign({},t),{entities:Object.assign(Object.assign({},t.entities),r),ids:i.prepend?[...h,...t.ids]:[...t.ids,...h]}),newIds:h}:null}({state:this._value(),preAddEntity:this.akitaPreAddEntity,entities:s,idKey:this.idKey,options:e});i&&(bt()&&W("Add Entity"),i.newState.loading=e.loading,this._setState((()=>i.newState)),this.hasInitialUIState()&&this.handleUICreation(!0),this.entityActions.next({type:ft.Add,ids:i.newIds}))}update(t,e){if(gt(e))return void super.update(t);let s,i=[];i=G(t)?this.ids.filter((e=>t(this.entities[e]))):Y(t)?this.ids:q(t),X(i)||(bt()&&W("Update Entity",i),this._setState((t=>function({state:t,ids:e,idKey:s,newStateOrFn:i,preUpdateEntity:n,producerFn:r,onEntityIdChanges:h}){const c={};let o,u=!1;for(const h of e){if(!1===B(t.entities,h))continue;const e=t.entities[h];let a;a=G(i)?G(r)?r(e,i):i(e):i;const l=a.hasOwnProperty(s)&&a[s]!==e[s];let f;o=h,l&&(u=!0,o=a[s]);const d=Object.assign(Object.assign({},e),a);f=wt(e)?d:wt(a)?new e.constructor(d):new a.constructor(d),c[o]=n(e,f)}let a=t.ids,l=t.entities;if(u){const[s]=e,i=s;l=function(t,e){var s={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(s[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(i=Object.getOwnPropertySymbols(t);n<i.length;n++)e.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(t,i[n])&&(s[i[n]]=t[i[n]])}return s}(t.entities,["symbol"==typeof i?i:i+""]),a=t.ids.map((t=>t===s?o:t)),h(s,o)}return Object.assign(Object.assign({},t),{entities:Object.assign(Object.assign({},l),c),ids:a})}({idKey:this.idKey,ids:i,preUpdateEntity:this.akitaPreUpdateEntity,state:t,newStateOrFn:e,producerFn:this._producerFn,onEntityIdChanges:(t,e)=>{s={oldId:t,newId:e},this.entityIdChanges.next(Object.assign(Object.assign({},s),{pending:!0}))}}))),s&&this.entityIdChanges.next(Object.assign(Object.assign({},s),{pending:!1})),this.entityActions.next({type:ft.Update,ids:i}))}upsert(t,e,s,i={}){const n=q(t),r=t=>e=>B(this.entities,e)===t,h=G(s)?i.baseClass:s?s.baseClass:void 0,c=G(h),o=n.filter(r(!0)),u=n.filter(r(!1)).map((t=>{const i="function"==typeof e?e({}):e,n=G(s)?s(t,i):i,r=Object.assign(Object.assign({},n),{[this.idKey]:t});return c?new h(r):r}));this.update(o,e),this.add(u),bt()&&z("Upsert Entity")}upsertMany(t,e={}){const s=[],i=[],n={};for(const r of t){const t=this.akitaPreCheckEntity(r),h=t[this.idKey];if(B(this.entities,h)){const s=this._value().entities[h],r=Object.assign(Object.assign({},this._value().entities[h]),t),c=e.baseClass?new e.baseClass(r):r,o=this.akitaPreUpdateEntity(s,c),u=o[this.idKey];n[u]=o,i.push(u)}else{const i=e.baseClass?new e.baseClass(t):t,r=this.akitaPreAddEntity(i),h=r[this.idKey];s.push(h),n[h]=r}}bt()&&z("Upsert Many"),this._setState((t=>Object.assign(Object.assign({},t),{ids:s.length?[...t.ids,...s]:t.ids,entities:Object.assign(Object.assign({},t.entities),n),loading:!!e.loading}))),i.length&&this.entityActions.next({type:ft.Update,ids:i}),s.length&&this.entityActions.next({type:ft.Add,ids:s}),s.length&&this.hasUIStore()&&this.handleUICreation(!0)}replace(t,e){const s=q(t);if(X(s))return;const i={};for(const t of s)i[t]=Object.assign(Object.assign({},e),{[this.idKey]:t});bt()&&W("Replace Entity",t),this._setState((t=>Object.assign(Object.assign({},t),{entities:Object.assign(Object.assign({},t.entities),i)})))}move(t,e){const s=this.ids.slice();s.splice(e<0?s.length+e:e,0,s.splice(t,1)[0]),bt()&&W("Move Entity"),this._setState((t=>Object.assign(Object.assign({},t),{entities:Object.assign({},t.entities),ids:s})))}remove(t){if(X(this.ids))return;const e=st(t);let s=[];s=G(t)?this.ids.filter((e=>t(this.entities[e]))):e?q(t):this.ids,X(s)||(bt()&&W("Remove Entity",s),this._setState((t=>function({state:t,ids:e}){if(Y(e))return function(t){return Object.assign(Object.assign({},t),{entities:{},ids:[],active:Q(t.active)?[]:null})}(t);const s=t.entities;let i={};for(const n of t.ids)!1===e.includes(n)&&(i[n]=s[n]);const n=Object.assign(Object.assign({},t),{entities:i,ids:t.ids.filter((t=>!1===e.includes(t)))});return H(t)&&(n.active=J(n)),n}({state:t,ids:s}))),e||this.setHasCache(!1),this.handleUIRemove(s),this.entityActions.next({type:ft.Remove,ids:s}))}updateActive(t){const e=q(this.active);bt()&&W("Update Active",e),this.update(e,t)}setActive(t){const e=function(t,e,s){let i;if(V(t))i=t;else if(Z(t)){if(Y(s))return;t=Object.assign({wrap:!0},t);const n=e.indexOf(s);if(t.prev){const s=0===n;if(s&&!t.wrap)return;i=s?e[e.length-1]:e[n-1]}else if(t.next){const s=e.length===n+1;if(s&&!t.wrap)return;i=s?e[0]:e[n+1]}}else{if(t===s)return;i=t}return i}(t,this.ids,this.active);void 0!==e&&(bt()&&W("Set Active",e),this._setActive(e))}addActive(t){const e=q(t);X(e)||e.every((t=>this.active.indexOf(t)>-1))||(bt()&&W("Add Active",t),this._setState((t=>{const s=Array.from(new Set([...t.active,...e]));return Object.assign(Object.assign({},t),{active:s})})))}removeActive(t){const e=q(t);X(e)||e.some((t=>this.active.indexOf(t)>-1))&&(bt()&&W("Remove Active",t),this._setState((t=>Object.assign(Object.assign({},t),{active:Array.isArray(t.active)?t.active.filter((t=>-1===e.indexOf(t))):null}))))}toggleActive(t){const e=q(t),s=t=>e=>this.active.includes(e)===t,i=e.filter(s(!0)),n=e.filter(s(!1));this.removeActive(i),this.addActive(n),bt()&&z("Toggle Active")}createUIStore(t={},e={}){return this.ui=new _t(t,Object.assign(Object.assign({},{name:`UI/${this.storeName}`,idKey:this.idKey}),e)),this.ui}destroy(){super.destroy(),this.ui instanceof Nt&&this.ui.destroy(),this.entityActions.complete()}akitaPreUpdateEntity(t,e){return e}akitaPreAddEntity(t){return t}akitaPreCheckEntity(t){return t}get ids(){return this._value().ids}get entities(){return this._value().entities}get active(){return this._value().active}_setActive(t){this._setState((e=>Object.assign(Object.assign({},e),{active:t})))}handleUICreation(t=!1){const e=this.ids,s=G(this.ui._akitaCreateEntityFn);let i;const n=t=>{const e=this.entities[t],i=s?this.ui._akitaCreateEntityFn(e):this.ui._akitaCreateEntityFn;return Object.assign({[this.idKey]:e[this.idKey]},i)};i=t?this.ids.filter((t=>gt(this.ui.entities[t]))).map(n):e.map(n),t?this.ui.add(i):this.ui.set(i)}hasInitialUIState(){return this.hasUIStore()&&!1===gt(this.ui._akitaCreateEntityFn)}handleUIRemove(t){this.hasUIStore()&&this.ui.remove(t)}hasUIStore(){return this.ui instanceof _t}}L([Pt(),K("design:type",Function),K("design:paramtypes",[Object,Object,Object,Object]),K("design:returntype",void 0)],Nt.prototype,"upsert",null),L([Pt(),K("design:type",Function),K("design:paramtypes",["function"==typeof(Ut="undefined"!=typeof T&&T)?Ut:Object]),K("design:returntype",void 0)],Nt.prototype,"toggleActive",null);class _t extends Nt{constructor(t={},e={}){super(t,e)}setInitialEntityState(t){this._akitaCreateEntityFn=t}}class xt{constructor(t){this.store=t,this.__store__=t,bt()&&(at[t.storeName]=this)}select(t){let e;if(G(t))e=t;else if("string"==typeof t)e=e=>e[t];else{if(Array.isArray(t))return this.store._select((t=>t)).pipe(b((s=t,function(t,e){const i=G(s[0]);return!1===s.some((s=>i?s(t)!==s(e):t[s]!==e[s]))})),p((e=>G(t[0])?t.map((t=>t(e))):t.reduce(((t,s)=>(t[s]=e[s],t)),{}))));e=t=>t}var s;return this.store._select(e)}selectLoading(){return this.select((t=>t.loading))}selectError(){return this.select((t=>t.error))}getValue(){return this.store._value()}selectHasCache(){return this.store._cache().asObservable()}getHasCache(){return this.store._cache().value}get config(){return this.constructor.akitaQueryConfig}}function Ct(t,e){return 1===e.split(".").length?t:e.split(".").slice(1).join(".").split(".").reduce(((t,e)=>t&&t[e]),t)}function Rt(t,e,s,i=!1){const n=e.split(".");if(1===n.length)return Object.assign(Object.assign({},t),s);t=Object.assign({},t);const r=n.length-2;return e.split(".").slice(1).reduce(((t,e,n)=>n!==r?(t[e]=Object.assign({},t[e]),t&&t[e]):(t[e]=i||Array.isArray(t[e])||!Z(t[e])?s:Object.assign(Object.assign({},t[e]),s),t&&t[e])),t),t}const Ft=new N(1);function Mt(){return!1}function kt(t){return(e=t)&&G(e.then)||k(t)?d(t):o(t);var e}function Lt(t){const e={key:"AkitaStores",enableInNonBrowser:!1,storage:ot()?localStorage:t.storage,deserialize:JSON.parse,serialize:JSON.stringify,include:[],select:[],persistOnDestroy:!1,preStorageUpdate:function(t,e){return e},preStoreUpdate:function(t,e){return e},skipStorageUpdate:Mt,preStorageUpdateOperator:()=>t=>t},{storage:s,enableInNonBrowser:i,deserialize:n,serialize:r,include:h,select:c,key:o,preStorageUpdate:u,persistOnDestroy:a,preStorageUpdateOperator:l,preStoreUpdate:f,skipStorageUpdate:d}=Object.assign({},e,t);if(ct&&!i||!s)return;const b=h.length>0,O=c.length>0;let j,y;b&&(j=h.reduce(((t,e)=>(G(e)?t.fns.push(e):t[e.split(".")[0]]=e,t)),{fns:[]})),O&&(y=c.reduce(((t,e)=>(t[e.storeName]=e,t)),{}));let w={},v={},S=[];const E=[];function m(t){kt(t).subscribe((()=>{const t=E.shift();t&&m(t)}))}const T=ot()&&s===localStorage||(()=>{try{return"undefined"!=typeof sessionStorage}catch(t){return!1}})()&&s===sessionStorage;return kt(s.getItem(o)).subscribe((t=>{let e=Z(t)?t:n(t||"{}");function i(t){e.$cache=Object.assign(Object.assign({},e.$cache||{}),t),e=Object.assign({},e,v),E.push(s.setItem(o,T?r(e):e)),m(E.shift())}function h(t,e){w[t]=ut[t]._select((t=>Ct(t,e))).pipe((1,t=>t.lift(new x(1))),p((e=>O&&y[t]?y[t](e):e)),g((()=>!1===d())),l()).subscribe((e=>{v[t]=u(t,e),Promise.resolve().then((()=>i({[t]:ut[t]._cache().getValue()})))}))}function c(t,s,i){t in e&&(W("@PersistState"),s._setState((s=>Rt(s,i,f(t,e[t],s)))),ut[t].setHasCache(!!e.$cache&&e.$cache[t],{restartTTL:!0}))}S.push(it.subscribe((t=>{w[t]&&(!1===a&&i({[t]:!1}),w[t].unsubscribe(),delete w[t])}))),S.push(nt.subscribe((t=>{if("router"===t)return;const e=ut[t];if(b){let s=j[t];if(!s){if(!j.fns.some((e=>e(t))))return;s=t}c(t,e,s),h(t,s)}else c(t,e,t),h(t,t)}))),Ft.next()})),{destroy(){S.forEach((t=>t.unsubscribe()));for(let t=0,e=Object.keys(w);t<e.length;t++)w[e[t]].unsubscribe();w={}},clear(){s.clear()},clearStore(t){Y(t)?kt(s.setItem(o,"{}")).subscribe():kt(s.getItem(o)).subscribe((e=>{const i=n(e||"{}");i[t]&&(delete i[t],kt(s.setItem(o,r(i))).subscribe())}))}}}const Kt={pagesControls:!1,range:!1,startWith:1,cacheTimeout:void 0,clearStoreWithCache:!0};var Dt,$t;L([function(t,e,s){const i=s.value;return s.value=function(...t){return z("@Pagination - New Page",void 0),i.apply(this,t)},s},K("design:type",Function),K("design:paramtypes",[Object]),K("design:returntype",void 0)],class extends class{constructor(t,e){this.query=t,e&&e.resetFn&&et().resettable&&this.onReset(e.resetFn)}getQuery(){return this.query}getStore(){return this.getQuery().__store__}isEntityBased(t){return yt(t)}selectSource(t,e){return this.isEntityBased(t)?this.getQuery().selectEntity(t).pipe(g((t=>null!=t))):e?this.getQuery().select((t=>Ct(t,this.withStoreName(e)))):this.getQuery().select()}getSource(t,e){if(this.isEntityBased(t))return this.getQuery().getEntity(t);const s=this.getQuery().getValue();return e?Ct(s,this.withStoreName(e)):s}withStoreName(t){return`${this.storeName}.${t}`}get storeName(){return this.getStore().storeName}updateStore(t,e,s,i=!1){if(this.isEntityBased(e)){const s=this.getStore();i?s.replace(e,t):s.update(e,t)}else{if(s)return void this.getStore()._setState((e=>Rt(e,this.withStoreName(s),t,!0)));const e=i?t:e=>Object.assign(Object.assign({},e),t);this.getStore()._setState(e)}}onReset(t){const e=this.getStore().reset;this.getStore().reset=(...s)=>{setTimeout((()=>{e.apply(this.getStore(),s),t()}))}}}{constructor(t,e={}){super(t,{resetFn:()=>{this.initial=!1,this.destroy({clearCache:!0,currentPage:1})}}),this.query=t,this.config=e,this.metadata=new Map,this.pages=new Map,this.pagination={currentPage:1,perPage:0,total:0,lastPage:0,data:[]},this.initial=!0,this.isLoading$=this.query.selectLoading().pipe(u(0)),this.config=Object.assign(Object.assign({},Kt),e);const{startWith:s,cacheTimeout:i}=this.config;this.page=new I(s),k(i)&&(this.clearCacheSubscription=i.subscribe((()=>this.clearCache())))}get pageChanges(){return this.page.asObservable()}get currentPage(){return this.pagination.currentPage}get isFirst(){return 1===this.currentPage}get isLast(){return this.currentPage===this.pagination.lastPage}withControls(){return this.config.pagesControls=!0,this}withRange(){return this.config.range=!0,this}setLoading(t=!0){this.getStore().setLoading(t)}update(t){this.pagination=t,this.addPage(t.data)}addPage(t){this.pages.set(this.currentPage,{ids:t.map((t=>t[this.getStore().idKey]))}),this.getStore().upsertMany(t)}clearCache(t={}){this.initial||(z("@Pagination - Clear Cache"),!1!==t.clearStore&&(this.config.clearStoreWithCache||t.clearStore)&&this.getStore().remove(),this.pages=new Map,this.metadata=new Map),this.initial=!1}clearPage(t){this.pages.delete(t)}destroy({clearCache:t,currentPage:e}={}){this.clearCacheSubscription&&this.clearCacheSubscription.unsubscribe(),t&&this.clearCache(),gt(e)||this.setPage(e),this.initial=!0}isPageActive(t){return this.currentPage===t}setPage(t){t===this.currentPage&&this.hasPage(t)||this.page.next(this.pagination.currentPage=t)}nextPage(){this.currentPage!==this.pagination.lastPage&&this.setPage(this.pagination.currentPage+1)}prevPage(){this.pagination.currentPage>1&&this.setPage(this.pagination.currentPage-1)}setLastPage(){this.setPage(this.pagination.lastPage)}setFirstPage(){this.setPage(1)}hasPage(t){return this.pages.has(t)}getPage(t){let e=this.pagination.currentPage;return this.hasPage(e)?this.selectPage(e):(this.setLoading(!0),d(t()).pipe(R((t=>(e=t.currentPage,At((()=>{this.setLoading(!1),this.update(t)})),this.selectPage(e))))))}getQuery(){return this.query}refreshCurrentPage(){!1===Y(this.currentPage)&&(this.clearPage(this.currentPage),this.setPage(this.currentPage))}getFrom(){return this.isFirst?1:(this.currentPage-1)*this.pagination.perPage+1}getTo(){return this.isLast?this.pagination.total:this.currentPage*this.pagination.perPage}selectPage(t){return this.query.selectAll({asObject:!0}).pipe((1,t=>t.lift(new j(1))),p((e=>{const s=Object.assign(Object.assign({},this.pagination),{data:this.pages.get(t).ids.map((t=>e[t]))}),{range:i,pagesControls:n}=this.config;return isNaN(this.pagination.total)&&(s.total=1===s.lastPage?s.data?s.data.length:0:s.perPage*s.lastPage,this.pagination.total=s.total),i&&(s.from=this.getFrom(),s.to=this.getTo()),n&&(s.pageControls=function(t,e){const s=Math.ceil(t/e),i=[];for(let t=0;t<s;t++)i.push(t+1);return i}(this.pagination.total,this.pagination.perPage)),s})))}}.prototype,"update",null),function(t){t.Update="UPDATE"}(Dt||(Dt={})),function(t){t.Update="UPDATE",t.AddEntities="ADD_ENTITIES",t.SetEntities="SET_ENTITIES",t.UpdateEntities="UPDATE_ENTITIES",t.RemoveEntities="REMOVE_ENTITIES",t.UpsertEntities="UPSERT_ENTITIES",t.UpsertManyEntities="UPSERT_MANY_ENTITIES"}($t||($t={}));export{xt as Q,vt as S,It as a,pt as e,Lt as p}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,g as s}from"./p-58ee670f.js";const e=class{constructor(s){t(this,s),this.context={},this.renderer=()=>null}connectedCallback(){null!=this.subscribe&&(this.unsubscribe=this.subscribe(this.el,"context"))}disconnectedCallback(){null!=this.unsubscribe&&this.unsubscribe()}render(){return this.renderer(Object.assign({},this.context))}get el(){return s(this)}};export{e as context_consumer}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,g as e}from"./p-58ee670f.js";import{A as s}from"./p-82d42c2b.js";const i=class{constructor(e){t(this,e),this.titleSuffix="",this.pageTitle=""}updateDocumentTitle(){const t=this.el;t.ownerDocument&&(t.ownerDocument.title=`${this.pageTitle}${this.titleSuffix||""}`)}componentWillLoad(){this.updateDocumentTitle()}get el(){return e(this)}static get watchers(){return{pageTitle:["updateDocumentTitle"]}}};s.injectProps(i,["titleSuffix"]);export{i as stencil_route_title}
|