@flarehr/apollo-benefits 0.1.109 → 0.3.53405
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-ff247651.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-0b3afb09.js +5 -0
- package/dist/assets/index-5e9e5aa9.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 +129 -60
- package/LICENSE +0 -21
- package/dist/lib/apollo-benefits/apollo-benefits.esm.js +0 -1
- 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/index.esm.js +0 -0
- package/dist/lib/apollo-benefits/p-06a1f65f.js +0 -1
- package/dist/lib/apollo-benefits/p-077d7f8d.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-14054f15.js +0 -1
- package/dist/lib/apollo-benefits/p-24a37d64.js +0 -1
- package/dist/lib/apollo-benefits/p-2b3f3b72.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-3111d565.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-327396fa.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-3d4d2683.js +0 -1
- package/dist/lib/apollo-benefits/p-4474bcf8.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-4bff99bd.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-50fe790f.js +0 -1
- package/dist/lib/apollo-benefits/p-53bcbd1d.js +0 -1
- package/dist/lib/apollo-benefits/p-68c136da.js +0 -1
- package/dist/lib/apollo-benefits/p-6bd16f5b.js +0 -1
- package/dist/lib/apollo-benefits/p-71dbc8ff.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-774d9bc5.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-7a2ca86d.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-7a572b50.js +0 -1
- package/dist/lib/apollo-benefits/p-7c2cd94a.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-839493d7.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-a24d169b.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-b33fc683.js +0 -1
- package/dist/lib/apollo-benefits/p-beb8f728.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-e241f55b.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-e28cee25.js +0 -1
- package/dist/lib/apollo-benefits/p-e3cf51f1.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-ef8ea713.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-f0a7c9fa.entry.js +0 -1
- package/dist/lib/apollo-benefits/p-f603197d.js +0 -15
- package/dist/lib/cjs/active-router-0ecaf2b8.js +0 -75
- package/dist/lib/cjs/ap-ben-choose-vehicle-section_4.cjs.entry.js +0 -2708
- package/dist/lib/cjs/ap-ben-complete-section_4.cjs.entry.js +0 -108
- package/dist/lib/cjs/ap-ben-notifications-section.cjs.entry.js +0 -238
- package/dist/lib/cjs/apollo-benefits.cjs.js +0 -25
- package/dist/lib/cjs/app-globals-67583b8b.js +0 -12
- package/dist/lib/cjs/async-6a7926f0.js +0 -753
- package/dist/lib/cjs/cars-calculator-app.cjs.entry.js +0 -55
- package/dist/lib/cjs/cars-calculator.service-c0e51584.js +0 -904
- package/dist/lib/cjs/context-consumer.cjs.entry.js +0 -29
- package/dist/lib/cjs/datorama-akita-31d23240.js +0 -2551
- package/dist/lib/cjs/delay-d31618c3.js +0 -206
- package/dist/lib/cjs/distinctUntilChanged-e8538790.js +0 -371
- package/dist/lib/cjs/dom-utils-b8befdd5.js +0 -63
- package/dist/lib/cjs/fl-button_2.cjs.entry.js +0 -50
- package/dist/lib/cjs/fl-dropdown-async_2.cjs.entry.js +0 -467
- 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-f1fadf90.js +0 -1735
- package/dist/lib/cjs/index.cjs.js +0 -2
- package/dist/lib/cjs/loader.cjs.js +0 -27
- package/dist/lib/cjs/location-utils-36fe7e5e.js +0 -237
- package/dist/lib/cjs/match-path-be4ea5f6.js +0 -279
- package/dist/lib/cjs/session.query-d61ba7ec.js +0 -1731
- package/dist/lib/cjs/stencil-async-content.cjs.entry.js +0 -32
- package/dist/lib/cjs/stencil-route-link.cjs.entry.js +0 -78
- package/dist/lib/cjs/stencil-route-switch.cjs.entry.js +0 -104
- package/dist/lib/cjs/stencil-route-title.cjs.entry.js +0 -32
- package/dist/lib/cjs/stencil-route.cjs.entry.js +0 -97
- 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/stencil-router.cjs.entry.js +0 -640
- package/dist/lib/collection/assets/image/complete.svg +0 -122
- package/dist/lib/collection/collection-manifest.json +0 -53
- 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.api.js +0 -45
- 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/modal-section/modal-section.css +0 -0
- package/dist/lib/collection/components/cars-calculator-app/modal-section/modal-section.js +0 -144
- package/dist/lib/collection/components/cars-calculator-app/notifications-section/notifications-section.js +0 -25
- 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 -196
- 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 -85
- package/dist/lib/collection/components/cars-calculator-app/pages/personal-info-section.component.js +0 -66
- package/dist/lib/collection/components/cars-calculator-app/pages/quote-result-section.component.js +0 -86
- package/dist/lib/collection/components/cars-calculator-app/pages/submit-quote-section.component.js +0 -75
- 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 -106
- 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 -35
- package/dist/lib/collection/components/cars-calculator-app/services/session.store.js +0 -78
- package/dist/lib/collection/global/config.js +0 -2
- package/dist/lib/collection/global/main.dev.js +0 -5
- 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 -15
- package/dist/lib/collection/utils/lazy.js +0 -29
- package/dist/lib/esm/active-router-7c2ca849.js +0 -73
- package/dist/lib/esm/ap-ben-choose-vehicle-section_4.entry.js +0 -2701
- package/dist/lib/esm/ap-ben-complete-section_4.entry.js +0 -101
- package/dist/lib/esm/ap-ben-notifications-section.entry.js +0 -234
- package/dist/lib/esm/apollo-benefits.js +0 -23
- package/dist/lib/esm/app-globals-65714cca.js +0 -10
- package/dist/lib/esm/async-68e9cad7.js +0 -738
- package/dist/lib/esm/cars-calculator-app.entry.js +0 -51
- package/dist/lib/esm/cars-calculator.service-27826530.js +0 -897
- package/dist/lib/esm/context-consumer.entry.js +0 -25
- package/dist/lib/esm/datorama-akita-c87196a0.js +0 -2545
- package/dist/lib/esm/delay-115d4292.js +0 -200
- package/dist/lib/esm/distinctUntilChanged-bf69e0f8.js +0 -363
- package/dist/lib/esm/dom-utils-109a7d75.js +0 -55
- package/dist/lib/esm/fl-button_2.entry.js +0 -45
- package/dist/lib/esm/fl-dropdown-async_2.entry.js +0 -462
- 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-19c4d245.js +0 -1703
- package/dist/lib/esm/index.js +0 -1
- package/dist/lib/esm/loader.js +0 -23
- package/dist/lib/esm/location-utils-312665d3.js +0 -226
- package/dist/lib/esm/match-path-4b5c7d98.js +0 -276
- 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/session.query-0f1c9503.js +0 -1719
- package/dist/lib/esm/stencil-async-content.entry.js +0 -28
- package/dist/lib/esm/stencil-route-link.entry.js +0 -74
- package/dist/lib/esm/stencil-route-switch.entry.js +0 -100
- package/dist/lib/esm/stencil-route-title.entry.js +0 -28
- package/dist/lib/esm/stencil-route.entry.js +0 -93
- 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/stencil-router.entry.js +0 -636
- 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 -45
- 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/cars-calculator-app/api/api-client.d.ts +0 -2
- package/dist/lib/types/components/cars-calculator-app/api/cars-calculator.api.d.ts +0 -99
- package/dist/lib/types/components/cars-calculator-app/cars-calculator-app.d.ts +0 -17
- package/dist/lib/types/components/cars-calculator-app/modal-section/modal-section.d.ts +0 -16
- 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/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 -13
- package/dist/lib/types/components/cars-calculator-app/pages/submit-quote-section.component.d.ts +0 -10
- 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/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 -25
- package/dist/lib/types/components/cars-calculator-app/services/session.store.d.ts +0 -77
- package/dist/lib/types/components.d.ts +0 -170
- 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 -7
- package/dist/lib/types/utils/lazy.d.ts +0 -12
- package/readme.md +0 -1
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
:host button, :host button:focus, :host button:active, :host button.focus, :host button.active {
|
|
2
|
-
box-shadow: none;
|
|
3
|
-
border-radius: var(--fl-rounding-button) !important;
|
|
4
|
-
}
|
|
5
|
-
:host button.disabled, :host button:disabled {
|
|
6
|
-
opacity: 1 !important;
|
|
7
|
-
cursor: not-allowed !important;
|
|
8
|
-
color: var(--fl-color-disabled);
|
|
9
|
-
}
|
|
10
|
-
:host button .label {
|
|
11
|
-
font-weight: 600 !important;
|
|
12
|
-
}
|
|
13
|
-
:host button.is-primary {
|
|
14
|
-
color: var(--fl-color-primary-text);
|
|
15
|
-
background-color: var(--fl-color-primary);
|
|
16
|
-
border: none;
|
|
17
|
-
}
|
|
18
|
-
:host button.is-primary.disabled, :host button.is-primary:disabled {
|
|
19
|
-
background-color: var(--fl-color-primary-disabled);
|
|
20
|
-
}
|
|
21
|
-
:host button.is-primary:hover:not(.disabled), :host button.is-primary:hover:not(:disabled) {
|
|
22
|
-
background-color: var(--fl-color-primary-hover);
|
|
23
|
-
}
|
|
24
|
-
:host button.is-primary:active:not(.disabled), :host button.is-primary:active:not(:disabled) {
|
|
25
|
-
background-color: var(--fl-color-primary-focus);
|
|
26
|
-
}
|
|
27
|
-
:host button.is-secondary {
|
|
28
|
-
color: var(--fl-color-secondary-text);
|
|
29
|
-
background-color: var(--fl-color-secondary);
|
|
30
|
-
}
|
|
31
|
-
:host button.is-secondary.disabled, :host button.is-secondary:disabled {
|
|
32
|
-
background-color: var(--fl-color-secondary-disabled);
|
|
33
|
-
}
|
|
34
|
-
:host button.is-secondary:hover:not(.disabled), :host button.is-secondary:hover:not(:disabled) {
|
|
35
|
-
background-color: var(--fl-color-secondary-hover);
|
|
36
|
-
}
|
|
37
|
-
:host button.is-secondary:active:not(.disabled), :host button.is-secondary:active:not(:disabled) {
|
|
38
|
-
background-color: var(--fl-color-secondary-focus);
|
|
39
|
-
}
|
|
40
|
-
:host button.is-block {
|
|
41
|
-
display: block;
|
|
42
|
-
}
|
|
43
|
-
:host button:disabled, :host button.disabled {
|
|
44
|
-
pointer-events: none;
|
|
45
|
-
}
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
fl-loading-indicator .dots-container {
|
|
2
|
-
width: 36px;
|
|
3
|
-
}
|
|
4
|
-
fl-loading-indicator .dot-flashing.theme-default {
|
|
5
|
-
position: relative;
|
|
6
|
-
width: 8px;
|
|
7
|
-
height: 8px;
|
|
8
|
-
border-radius: 4px;
|
|
9
|
-
background-color: #66efc5;
|
|
10
|
-
color: #9880ff;
|
|
11
|
-
animation: dot-flashing-default 2s infinite linear;
|
|
12
|
-
animation-delay: 0.5s;
|
|
13
|
-
}
|
|
14
|
-
@keyframes dot-flashing-default {
|
|
15
|
-
0% {
|
|
16
|
-
background-color: #66efc5;
|
|
17
|
-
}
|
|
18
|
-
25% {
|
|
19
|
-
background-color: #12aa7c;
|
|
20
|
-
}
|
|
21
|
-
50%, 100% {
|
|
22
|
-
background-color: #66efc5;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
fl-loading-indicator .dot-flashing.theme-default::before, fl-loading-indicator .dot-flashing.theme-default::after {
|
|
26
|
-
content: "";
|
|
27
|
-
display: inline-block;
|
|
28
|
-
position: absolute;
|
|
29
|
-
top: 0;
|
|
30
|
-
}
|
|
31
|
-
fl-loading-indicator .dot-flashing.theme-default::before {
|
|
32
|
-
left: -12px;
|
|
33
|
-
width: 8px;
|
|
34
|
-
height: 8px;
|
|
35
|
-
border-radius: 4px;
|
|
36
|
-
background-color: #66efc5;
|
|
37
|
-
color: #9880ff;
|
|
38
|
-
animation: dot-flashing-default 2s infinite linear;
|
|
39
|
-
animation-delay: 0s;
|
|
40
|
-
}
|
|
41
|
-
@keyframes dot-flashing-default {
|
|
42
|
-
0% {
|
|
43
|
-
background-color: #66efc5;
|
|
44
|
-
}
|
|
45
|
-
25% {
|
|
46
|
-
background-color: #12aa7c;
|
|
47
|
-
}
|
|
48
|
-
50%, 100% {
|
|
49
|
-
background-color: #66efc5;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
fl-loading-indicator .dot-flashing.theme-default::after {
|
|
53
|
-
left: 12px;
|
|
54
|
-
width: 8px;
|
|
55
|
-
height: 8px;
|
|
56
|
-
border-radius: 4px;
|
|
57
|
-
background-color: #66efc5;
|
|
58
|
-
color: #9880ff;
|
|
59
|
-
animation: dot-flashing-default 2s infinite linear;
|
|
60
|
-
animation-delay: 1s;
|
|
61
|
-
}
|
|
62
|
-
@keyframes dot-flashing-default {
|
|
63
|
-
0% {
|
|
64
|
-
background-color: #66efc5;
|
|
65
|
-
}
|
|
66
|
-
25% {
|
|
67
|
-
background-color: #12aa7c;
|
|
68
|
-
}
|
|
69
|
-
50%, 100% {
|
|
70
|
-
background-color: #66efc5;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
fl-loading-indicator .dot-flashing.theme-dark {
|
|
74
|
-
position: relative;
|
|
75
|
-
width: 8px;
|
|
76
|
-
height: 8px;
|
|
77
|
-
border-radius: 4px;
|
|
78
|
-
background-color: #a7a7a7;
|
|
79
|
-
color: #9880ff;
|
|
80
|
-
animation: dot-flashing-dark 2s infinite linear;
|
|
81
|
-
animation-delay: 0.5s;
|
|
82
|
-
}
|
|
83
|
-
@keyframes dot-flashing-dark {
|
|
84
|
-
0% {
|
|
85
|
-
background-color: #a7a7a7;
|
|
86
|
-
}
|
|
87
|
-
25% {
|
|
88
|
-
background-color: #5b5a5a;
|
|
89
|
-
}
|
|
90
|
-
50%, 100% {
|
|
91
|
-
background-color: #a7a7a7;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
fl-loading-indicator .dot-flashing.theme-dark::before, fl-loading-indicator .dot-flashing.theme-dark::after {
|
|
95
|
-
content: "";
|
|
96
|
-
display: inline-block;
|
|
97
|
-
position: absolute;
|
|
98
|
-
top: 0;
|
|
99
|
-
}
|
|
100
|
-
fl-loading-indicator .dot-flashing.theme-dark::before {
|
|
101
|
-
left: -12px;
|
|
102
|
-
width: 8px;
|
|
103
|
-
height: 8px;
|
|
104
|
-
border-radius: 4px;
|
|
105
|
-
background-color: #a7a7a7;
|
|
106
|
-
color: #9880ff;
|
|
107
|
-
animation: dot-flashing-dark 2s infinite linear;
|
|
108
|
-
animation-delay: 0s;
|
|
109
|
-
}
|
|
110
|
-
@keyframes dot-flashing-dark {
|
|
111
|
-
0% {
|
|
112
|
-
background-color: #a7a7a7;
|
|
113
|
-
}
|
|
114
|
-
25% {
|
|
115
|
-
background-color: #5b5a5a;
|
|
116
|
-
}
|
|
117
|
-
50%, 100% {
|
|
118
|
-
background-color: #a7a7a7;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
fl-loading-indicator .dot-flashing.theme-dark::after {
|
|
122
|
-
left: 12px;
|
|
123
|
-
width: 8px;
|
|
124
|
-
height: 8px;
|
|
125
|
-
border-radius: 4px;
|
|
126
|
-
background-color: #a7a7a7;
|
|
127
|
-
color: #9880ff;
|
|
128
|
-
animation: dot-flashing-dark 2s infinite linear;
|
|
129
|
-
animation-delay: 1s;
|
|
130
|
-
}
|
|
131
|
-
@keyframes dot-flashing-dark {
|
|
132
|
-
0% {
|
|
133
|
-
background-color: #a7a7a7;
|
|
134
|
-
}
|
|
135
|
-
25% {
|
|
136
|
-
background-color: #5b5a5a;
|
|
137
|
-
}
|
|
138
|
-
50%, 100% {
|
|
139
|
-
background-color: #a7a7a7;
|
|
140
|
-
}
|
|
141
|
-
}
|
package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/style-guide/style-guide.css
DELETED
|
File without changes
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
export declare type CarsMakeDto = {
|
|
2
|
-
make_id: number;
|
|
3
|
-
make_code: string;
|
|
4
|
-
name: string;
|
|
5
|
-
};
|
|
6
|
-
export declare type CarsMakesResponse = {
|
|
7
|
-
qt_makes: Array<CarsMakeDto>;
|
|
8
|
-
};
|
|
9
|
-
export declare type CarsModelDto = {
|
|
10
|
-
model_id: number;
|
|
11
|
-
model_code: string;
|
|
12
|
-
description: string;
|
|
13
|
-
};
|
|
14
|
-
export declare type CarsModelsResponse = {
|
|
15
|
-
qt_models: Array<CarsModelDto>;
|
|
16
|
-
};
|
|
17
|
-
export declare type CarsBodyTypeDto = {
|
|
18
|
-
body_type_id: number;
|
|
19
|
-
body_type: string;
|
|
20
|
-
};
|
|
21
|
-
export declare type CarsBodyTypesResponse = {
|
|
22
|
-
qt_body_types: Array<CarsBodyTypeDto>;
|
|
23
|
-
};
|
|
24
|
-
export declare type CarsModelVariantDto = {
|
|
25
|
-
variant_id: number;
|
|
26
|
-
short_description: string;
|
|
27
|
-
build_year: number;
|
|
28
|
-
model_month: number;
|
|
29
|
-
list_price_gross: number;
|
|
30
|
-
engine_litres: number;
|
|
31
|
-
transmission: string;
|
|
32
|
-
fuel_type_translation_id: number;
|
|
33
|
-
};
|
|
34
|
-
export declare type CarsModelVariantsResponse = {
|
|
35
|
-
qt_variants: Array<CarsModelVariantDto>;
|
|
36
|
-
};
|
|
37
|
-
export declare type CarsVariantPhotoDto = {
|
|
38
|
-
variant_id: number;
|
|
39
|
-
photo_uri: string;
|
|
40
|
-
};
|
|
41
|
-
export declare type CarsVariantPhotosResponse = {
|
|
42
|
-
qt_variant_photos: Array<CarsVariantPhotoDto>;
|
|
43
|
-
};
|
|
44
|
-
export declare type CarsQuoteRequest = {
|
|
45
|
-
variantId: number;
|
|
46
|
-
isUsedCarRequested: boolean;
|
|
47
|
-
approximatePrice: number;
|
|
48
|
-
annualSalaryGross: number;
|
|
49
|
-
payPeriod: string;
|
|
50
|
-
annualKm: number;
|
|
51
|
-
state: string;
|
|
52
|
-
leaseTermInYears: number;
|
|
53
|
-
};
|
|
54
|
-
export declare type CarsQuoteResponse = {
|
|
55
|
-
afterTaxEffectPerPayCycle: number;
|
|
56
|
-
totalTaxSavings: number;
|
|
57
|
-
residualValueGross: number;
|
|
58
|
-
financedAmount: number;
|
|
59
|
-
fuel: number;
|
|
60
|
-
serviceAndMaintenance: number;
|
|
61
|
-
registrationAndCtp: number;
|
|
62
|
-
comprehensiveInsurance: number;
|
|
63
|
-
managementFee: number;
|
|
64
|
-
};
|
|
65
|
-
export declare type CarsQuoteRequestDto = {
|
|
66
|
-
afterTaxEffectPerPayCycle: number;
|
|
67
|
-
totalTaxSavings: number;
|
|
68
|
-
residualValueGross: number;
|
|
69
|
-
financedAmount: number;
|
|
70
|
-
fuel: number;
|
|
71
|
-
serviceAndMaintenance: number;
|
|
72
|
-
registrationAndCtp: number;
|
|
73
|
-
comprehensiveInsurance: number;
|
|
74
|
-
managementFee: number;
|
|
75
|
-
};
|
|
76
|
-
export declare type ContactDetailsRequestDto = {
|
|
77
|
-
firstName: string;
|
|
78
|
-
lastName: string;
|
|
79
|
-
email: string;
|
|
80
|
-
mobileNumber: string;
|
|
81
|
-
employerName: string;
|
|
82
|
-
};
|
|
83
|
-
export declare type CarsEnquiryRequest = {
|
|
84
|
-
chosenVariant: CarsModelVariantDto;
|
|
85
|
-
websiteQuote: CarsQuoteRequestDto;
|
|
86
|
-
contactDetails: ContactDetailsRequestDto;
|
|
87
|
-
};
|
|
88
|
-
export declare class CarsCalculatorApi {
|
|
89
|
-
getCarsMakes(): Promise<Array<CarsMakeDto>>;
|
|
90
|
-
getCarsModels(makeId: number): Promise<Array<CarsModelDto>>;
|
|
91
|
-
getCarsModelYears(modelId: number): Promise<Array<number>>;
|
|
92
|
-
getCarsModelBodyTypes(modelId: number, year: number): Promise<Array<CarsBodyTypeDto>>;
|
|
93
|
-
getCarsModelVariant(modelId: number, year: number, bodyTypeId: number): Promise<Array<CarsModelVariantDto>>;
|
|
94
|
-
getCarsVariantPhotos(variantId: number): Promise<Array<CarsVariantPhotoDto>>;
|
|
95
|
-
postCarsQuoteResult(req: CarsQuoteRequest): Promise<CarsQuoteResponse>;
|
|
96
|
-
postQuoteInfoAsync(req: CarsEnquiryRequest): Promise<void>;
|
|
97
|
-
}
|
|
98
|
-
declare const _default: CarsCalculatorApi;
|
|
99
|
-
export default _default;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import '@flarehr/beacon';
|
|
2
|
-
export declare class CarsCalculatorApp {
|
|
3
|
-
apiBaseUrl: string;
|
|
4
|
-
private areStylesLoaded;
|
|
5
|
-
private isModelSelected;
|
|
6
|
-
private isVariantSelected;
|
|
7
|
-
private isQuoteCalculated;
|
|
8
|
-
componentDidLoad(): void;
|
|
9
|
-
componentWillLoad(): void;
|
|
10
|
-
render(): Element[];
|
|
11
|
-
private fetchStyles;
|
|
12
|
-
private renderAppContent;
|
|
13
|
-
private renderVariantsList;
|
|
14
|
-
private renderModelSelection;
|
|
15
|
-
private renderQuoteCalculation;
|
|
16
|
-
private disclaimer;
|
|
17
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
-
export declare class ModalSection {
|
|
3
|
-
show: any;
|
|
4
|
-
modalTitle: any;
|
|
5
|
-
showFooter: boolean;
|
|
6
|
-
showHeader: boolean;
|
|
7
|
-
modalClosed: EventEmitter<void>;
|
|
8
|
-
private modal;
|
|
9
|
-
private backdrop;
|
|
10
|
-
private isHidden;
|
|
11
|
-
componentDidRender(): void;
|
|
12
|
-
componentDidLoad(): void;
|
|
13
|
-
render(): Element;
|
|
14
|
-
private showModal;
|
|
15
|
-
private hideModal;
|
|
16
|
-
}
|
package/dist/lib/types/components/cars-calculator-app/pages/choose-vehicle-section.component.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export declare class ChooseVehicleSection {
|
|
2
|
-
private makeList;
|
|
3
|
-
private modelList;
|
|
4
|
-
private yearList;
|
|
5
|
-
private bodyTypeList;
|
|
6
|
-
private vehicleInfo;
|
|
7
|
-
constructor();
|
|
8
|
-
render(): Element;
|
|
9
|
-
componentDidLoad(): Promise<void>;
|
|
10
|
-
private toCapitalCase;
|
|
11
|
-
private chooseMake;
|
|
12
|
-
private chooseModel;
|
|
13
|
-
private chooseYear;
|
|
14
|
-
private chooseBodyType;
|
|
15
|
-
private clearModelStates;
|
|
16
|
-
private clearYearStates;
|
|
17
|
-
private clearBodyTypeStates;
|
|
18
|
-
private clearVariantsList;
|
|
19
|
-
private clearVehicleState;
|
|
20
|
-
private getVehicleInfo;
|
|
21
|
-
private isBodyTypeSelected;
|
|
22
|
-
private isUsedCarSelected;
|
|
23
|
-
}
|
package/dist/lib/types/components/cars-calculator-app/pages/model-variants-section.component.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare class ModelVariantsSection {
|
|
2
|
-
private variantsList;
|
|
3
|
-
private selectedVariant;
|
|
4
|
-
private placeholderImage;
|
|
5
|
-
componentWillLoad(): void;
|
|
6
|
-
render(): Element;
|
|
7
|
-
private variantCard;
|
|
8
|
-
private toMonthName;
|
|
9
|
-
private resetVariant;
|
|
10
|
-
private chooseVariant;
|
|
11
|
-
private handleImgError;
|
|
12
|
-
}
|
package/dist/lib/types/components/cars-calculator-app/pages/quote-result-section.component.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare class QuoteResultSection {
|
|
2
|
-
private quote;
|
|
3
|
-
private showRequestQuoteModal;
|
|
4
|
-
private showBreakdownModal;
|
|
5
|
-
private showCompletePage;
|
|
6
|
-
private subscription;
|
|
7
|
-
componentWillLoad(): void;
|
|
8
|
-
disconnectedCallback(): void;
|
|
9
|
-
render(): Element;
|
|
10
|
-
private getRenderedPaymentPeriod;
|
|
11
|
-
private renderQuoteField;
|
|
12
|
-
private leaseInclusion;
|
|
13
|
-
}
|
package/dist/lib/types/components/cars-calculator-app/pages/submit-quote-section.component.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
-
export declare class SubmitQuoteSection {
|
|
3
|
-
enquirySubmitted: EventEmitter<void>;
|
|
4
|
-
private userDetails;
|
|
5
|
-
constructor();
|
|
6
|
-
render(): Element;
|
|
7
|
-
private inputField;
|
|
8
|
-
private updateUserDetail;
|
|
9
|
-
private handleSubmit;
|
|
10
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as O from 'fp-ts/Option';
|
|
2
|
-
import { CarsEnquiryRequest } from '../api/cars-calculator.api';
|
|
3
|
-
import { CarsModelVariant } from './session.store';
|
|
4
|
-
export declare class CarsCalculatorService {
|
|
5
|
-
constructor();
|
|
6
|
-
selectVariant(variant: O.Option<CarsModelVariant>): void;
|
|
7
|
-
generateCarsEnquiryRequest(): CarsEnquiryRequest;
|
|
8
|
-
private attemptQuoteCalculationAsync;
|
|
9
|
-
}
|
|
10
|
-
declare const _default: CarsCalculatorService;
|
|
11
|
-
export default _default;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { NotificationDetails, NotificationsState } from './notifications.store';
|
|
2
|
-
declare class NotificationsService {
|
|
3
|
-
private readonly _state;
|
|
4
|
-
constructor();
|
|
5
|
-
get state(): NotificationsState;
|
|
6
|
-
closeCurrent(): void;
|
|
7
|
-
clearNotifications(): void;
|
|
8
|
-
showErrorNotification(details: NotificationDetails, priority?: number | undefined): void;
|
|
9
|
-
showInfoNotification(details: NotificationDetails, priority?: number | undefined): void;
|
|
10
|
-
showWarningNotification(details: NotificationDetails, priority?: number | undefined): void;
|
|
11
|
-
showSuccessNotification(details: NotificationDetails, priority?: number | undefined): void;
|
|
12
|
-
private pushNotification;
|
|
13
|
-
}
|
|
14
|
-
declare const _default: NotificationsService;
|
|
15
|
-
export default _default;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare type NotificationType = 'success' | 'warning' | 'info' | 'danger';
|
|
2
|
-
export declare type NotificationDetails = {
|
|
3
|
-
title: string;
|
|
4
|
-
description: string;
|
|
5
|
-
};
|
|
6
|
-
export declare type NotificationItem = {
|
|
7
|
-
details: NotificationDetails;
|
|
8
|
-
type: NotificationType;
|
|
9
|
-
priority: number;
|
|
10
|
-
};
|
|
11
|
-
export declare type NotificationsState = {
|
|
12
|
-
items: Array<NotificationItem>;
|
|
13
|
-
};
|
|
14
|
-
export declare const initialState: NotificationsState;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Query } from '@datorama/akita';
|
|
2
|
-
import * as O from 'fp-ts/Option';
|
|
3
|
-
import { CarsModelVariant, QuoteResult, SessionState, SessionStore, UserDetails, UserInfo, VehicleInfo } from './session.store';
|
|
4
|
-
export declare class SessionQuery extends Query<SessionState> {
|
|
5
|
-
protected store: SessionStore;
|
|
6
|
-
readonly vehicle$: import("rxjs").Observable<VehicleInfo>;
|
|
7
|
-
readonly user$: import("rxjs").Observable<UserInfo>;
|
|
8
|
-
readonly result$: import("rxjs").Observable<QuoteResult>;
|
|
9
|
-
readonly userDetails$: import("rxjs").Observable<UserDetails>;
|
|
10
|
-
readonly makeList$: import("rxjs").Observable<O.Option<import("@flarehr/beacon/dist/types/components/dropdown/dropdown").SelectInputOption<number>[]>>;
|
|
11
|
-
readonly modelList$: import("rxjs").Observable<O.Option<import("@flarehr/beacon/dist/types/components/dropdown/dropdown").SelectInputOption<number>[]>>;
|
|
12
|
-
readonly yearList$: import("rxjs").Observable<O.Option<import("@flarehr/beacon/dist/types/components/dropdown/dropdown").SelectInputOption<number>[]>>;
|
|
13
|
-
readonly bodyTypeList$: import("rxjs").Observable<O.Option<import("@flarehr/beacon/dist/types/components/dropdown/dropdown").SelectInputOption<number>[]>>;
|
|
14
|
-
readonly modelVariantsList$: import("rxjs").Observable<O.Option<CarsModelVariant[]>>;
|
|
15
|
-
readonly selectedVariant$: import("rxjs").Observable<O.Option<CarsModelVariant>>;
|
|
16
|
-
readonly quote$: import("rxjs").Observable<QuoteResult>;
|
|
17
|
-
constructor(store: SessionStore);
|
|
18
|
-
get selectedVariant(): O.Option<CarsModelVariant>;
|
|
19
|
-
get vehicle(): VehicleInfo;
|
|
20
|
-
get user(): UserInfo;
|
|
21
|
-
get result(): QuoteResult;
|
|
22
|
-
get userDetails(): UserDetails;
|
|
23
|
-
}
|
|
24
|
-
declare const _default: SessionQuery;
|
|
25
|
-
export default _default;
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { Store } from '@datorama/akita';
|
|
2
|
-
import { SelectInputOption } from '@flarehr/beacon/dist/types/components/dropdown/dropdown';
|
|
3
|
-
import * as O from 'fp-ts/Option';
|
|
4
|
-
export declare type VehicleInfo = {
|
|
5
|
-
make: O.Option<string>;
|
|
6
|
-
makeId: O.Option<number>;
|
|
7
|
-
model: O.Option<string>;
|
|
8
|
-
modelId: O.Option<number>;
|
|
9
|
-
year: O.Option<number>;
|
|
10
|
-
bodyType: O.Option<string>;
|
|
11
|
-
bodyTypeId: O.Option<number>;
|
|
12
|
-
selectedVariant: O.Option<CarsModelVariant>;
|
|
13
|
-
isUsedCarRequested: O.Option<boolean>;
|
|
14
|
-
approximatePrice: O.Option<number>;
|
|
15
|
-
};
|
|
16
|
-
export declare type AuState = 'ACT' | 'NSW' | 'NT' | 'QLD' | 'SA' | 'TAS' | 'VIC' | 'WA';
|
|
17
|
-
export declare type PaymentPeriod = 'Monthly' | 'Fortnightly' | 'Weekly';
|
|
18
|
-
export declare type UserInfo = {
|
|
19
|
-
annualSalary: O.Option<number>;
|
|
20
|
-
annualKms: O.Option<number>;
|
|
21
|
-
state: O.Option<AuState>;
|
|
22
|
-
paymentPeriod: O.Option<PaymentPeriod>;
|
|
23
|
-
term: O.Option<number>;
|
|
24
|
-
};
|
|
25
|
-
export declare type QuoteResult = {
|
|
26
|
-
afterTaxEffectPerPayCycle: O.Option<number>;
|
|
27
|
-
taxSaving: O.Option<number>;
|
|
28
|
-
residualValue: O.Option<number>;
|
|
29
|
-
financedAmount: O.Option<number>;
|
|
30
|
-
fuel: O.Option<number>;
|
|
31
|
-
serviceAndMaintenance: O.Option<number>;
|
|
32
|
-
registrationAndCtp: O.Option<number>;
|
|
33
|
-
comprehensiveInsurance: O.Option<number>;
|
|
34
|
-
managementFee: O.Option<number>;
|
|
35
|
-
quoteState: 'Not calculated' | 'Calculation pending' | 'Calculated';
|
|
36
|
-
};
|
|
37
|
-
export declare type UserDetails = {
|
|
38
|
-
employerName: O.Option<string>;
|
|
39
|
-
userFirstName: O.Option<string>;
|
|
40
|
-
userLastName: O.Option<string>;
|
|
41
|
-
contactNumber: O.Option<string>;
|
|
42
|
-
emailAddress: O.Option<string>;
|
|
43
|
-
};
|
|
44
|
-
export declare type CarsModelVariant = {
|
|
45
|
-
variantId: number;
|
|
46
|
-
description: string;
|
|
47
|
-
buildYear: number;
|
|
48
|
-
modelMonth: number;
|
|
49
|
-
listPriceGross: number;
|
|
50
|
-
engineLitres: number;
|
|
51
|
-
transmission: string;
|
|
52
|
-
fuelTypeId: number;
|
|
53
|
-
photoUri: O.Option<string>;
|
|
54
|
-
};
|
|
55
|
-
export declare type CarsReferenceLists = {
|
|
56
|
-
makeList: O.Option<Array<SelectInputOption<number>>>;
|
|
57
|
-
modelList: O.Option<Array<SelectInputOption<number>>>;
|
|
58
|
-
yearList: O.Option<Array<SelectInputOption<number>>>;
|
|
59
|
-
bodyTypeList: O.Option<Array<SelectInputOption<number>>>;
|
|
60
|
-
modelVariantsList: O.Option<Array<CarsModelVariant>>;
|
|
61
|
-
};
|
|
62
|
-
export declare type SessionState = {
|
|
63
|
-
vehicle: VehicleInfo;
|
|
64
|
-
user: UserInfo;
|
|
65
|
-
quote: QuoteResult;
|
|
66
|
-
userDetails: UserDetails;
|
|
67
|
-
refLists: CarsReferenceLists;
|
|
68
|
-
};
|
|
69
|
-
export declare function createInitialState(): SessionState;
|
|
70
|
-
export declare class SessionStore extends Store<SessionState> {
|
|
71
|
-
constructor();
|
|
72
|
-
updateQuote(quote: QuoteResult): void;
|
|
73
|
-
setVehicleState<T>(key: keyof VehicleInfo, value: T): void;
|
|
74
|
-
updateList<T>(name: keyof CarsReferenceLists, value: Array<T>): void;
|
|
75
|
-
}
|
|
76
|
-
declare const _default: SessionStore;
|
|
77
|
-
export default _default;
|