@haiilo/catalyst 8.1.1 → 8.2.0
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/dist/catalyst/catalyst.css +3 -9
- package/dist/catalyst/catalyst.esm.js +1 -1
- package/dist/catalyst/catalyst.esm.js.map +1 -1
- package/dist/catalyst/index.esm.js +2 -2
- package/dist/catalyst/{p-85d057f0.js → p-6ae13953.js} +1 -1
- package/dist/catalyst/p-6cd4fa1e.js +3 -0
- package/dist/catalyst/p-6cd4fa1e.js.map +1 -0
- package/dist/catalyst/p-a05fbea3.entry.js +10 -0
- package/dist/catalyst/p-a05fbea3.entry.js.map +1 -0
- package/dist/catalyst/scss/core/_dialog.scss +1 -1
- package/dist/catalyst/scss/core/_form.scss +1 -1
- package/dist/catalyst/scss/core/_typography.scss +1 -7
- package/dist/cjs/cat-alert_26.cjs.entry.js +3899 -3883
- package/dist/cjs/cat-alert_26.cjs.entry.js.map +1 -1
- package/dist/cjs/catalyst.cjs.js +3 -3
- package/dist/cjs/catalyst.cjs.js.map +1 -1
- package/dist/cjs/{index-1e7eef7e.js → index-eb056d5e.js} +51 -13
- package/dist/cjs/index-eb056d5e.js.map +1 -0
- package/dist/cjs/index.cjs.js +73 -73
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{of-395b2f57.js → of-2b7161d2.js} +155 -155
- package/dist/cjs/of-2b7161d2.js.map +1 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/cat-alert/cat-alert.e2e.js +7 -7
- package/dist/collection/components/cat-alert/cat-alert.e2e.js.map +1 -1
- package/dist/collection/components/cat-alert/cat-alert.js +98 -98
- package/dist/collection/components/cat-alert/cat-alert.js.map +1 -1
- package/dist/collection/components/cat-alert/cat-alert.spec.js +7 -7
- package/dist/collection/components/cat-alert/cat-alert.spec.js.map +1 -1
- package/dist/collection/components/cat-avatar/cat-avatar.e2e.js +6 -6
- package/dist/collection/components/cat-avatar/cat-avatar.e2e.js.map +1 -1
- package/dist/collection/components/cat-avatar/cat-avatar.js +218 -218
- package/dist/collection/components/cat-avatar/cat-avatar.js.map +1 -1
- package/dist/collection/components/cat-avatar/cat-avatar.spec.js +7 -7
- package/dist/collection/components/cat-avatar/cat-avatar.spec.js.map +1 -1
- package/dist/collection/components/cat-badge/cat-badge.e2e.js +6 -6
- package/dist/collection/components/cat-badge/cat-badge.e2e.js.map +1 -1
- package/dist/collection/components/cat-badge/cat-badge.js +117 -117
- package/dist/collection/components/cat-badge/cat-badge.js.map +1 -1
- package/dist/collection/components/cat-badge/cat-badge.spec.js +7 -7
- package/dist/collection/components/cat-badge/cat-badge.spec.js.map +1 -1
- package/dist/collection/components/cat-button/cat-button.css +2 -1
- package/dist/collection/components/cat-button/cat-button.e2e.js +6 -6
- package/dist/collection/components/cat-button/cat-button.e2e.js.map +1 -1
- package/dist/collection/components/cat-button/cat-button.js +693 -693
- package/dist/collection/components/cat-button/cat-button.js.map +1 -1
- package/dist/collection/components/cat-button/cat-button.spec.js +7 -7
- package/dist/collection/components/cat-button/cat-button.spec.js.map +1 -1
- package/dist/collection/components/cat-button-group/cat-button-group.e2e.js +6 -6
- package/dist/collection/components/cat-button-group/cat-button-group.e2e.js.map +1 -1
- package/dist/collection/components/cat-button-group/cat-button-group.js +47 -47
- package/dist/collection/components/cat-button-group/cat-button-group.js.map +1 -1
- package/dist/collection/components/cat-button-group/cat-button-group.spec.js +7 -7
- package/dist/collection/components/cat-button-group/cat-button-group.spec.js.map +1 -1
- package/dist/collection/components/cat-card/cat-card.e2e.js +6 -6
- package/dist/collection/components/cat-card/cat-card.e2e.js.map +1 -1
- package/dist/collection/components/cat-card/cat-card.js +15 -15
- package/dist/collection/components/cat-card/cat-card.js.map +1 -1
- package/dist/collection/components/cat-card/cat-card.spec.js +7 -7
- package/dist/collection/components/cat-card/cat-card.spec.js.map +1 -1
- package/dist/collection/components/cat-checkbox/cat-checkbox.css +2 -1
- package/dist/collection/components/cat-checkbox/cat-checkbox.e2e.js +6 -6
- package/dist/collection/components/cat-checkbox/cat-checkbox.e2e.js.map +1 -1
- package/dist/collection/components/cat-checkbox/cat-checkbox.js +441 -441
- package/dist/collection/components/cat-checkbox/cat-checkbox.js.map +1 -1
- package/dist/collection/components/cat-checkbox/cat-checkbox.spec.js +7 -7
- package/dist/collection/components/cat-checkbox/cat-checkbox.spec.js.map +1 -1
- package/dist/collection/components/cat-datepicker/cat-datepicker.config.js +62 -62
- package/dist/collection/components/cat-datepicker/cat-datepicker.config.js.map +1 -1
- package/dist/collection/components/cat-datepicker/cat-datepicker.e2e.js +7 -7
- package/dist/collection/components/cat-datepicker/cat-datepicker.e2e.js.map +1 -1
- package/dist/collection/components/cat-datepicker/cat-datepicker.format.js +20 -20
- package/dist/collection/components/cat-datepicker/cat-datepicker.format.js.map +1 -1
- package/dist/collection/components/cat-datepicker/cat-datepicker.js +720 -707
- package/dist/collection/components/cat-datepicker/cat-datepicker.js.map +1 -1
- package/dist/collection/components/cat-datepicker/cat-datepicker.locale.js +39 -39
- package/dist/collection/components/cat-datepicker/cat-datepicker.locale.js.map +1 -1
- package/dist/collection/components/cat-datepicker/cat-datepicker.spec.js +7 -7
- package/dist/collection/components/cat-datepicker/cat-datepicker.spec.js.map +1 -1
- package/dist/collection/components/cat-datepicker-inline/cat-datepicker-inline.e2e.js +7 -7
- package/dist/collection/components/cat-datepicker-inline/cat-datepicker-inline.e2e.js.map +1 -1
- package/dist/collection/components/cat-datepicker-inline/cat-datepicker-inline.js +244 -244
- package/dist/collection/components/cat-datepicker-inline/cat-datepicker-inline.js.map +1 -1
- package/dist/collection/components/cat-datepicker-inline/cat-datepicker-inline.spec.js +7 -7
- package/dist/collection/components/cat-datepicker-inline/cat-datepicker-inline.spec.js.map +1 -1
- package/dist/collection/components/cat-dropdown/cat-dropdown.e2e.js +6 -6
- package/dist/collection/components/cat-dropdown/cat-dropdown.e2e.js.map +1 -1
- package/dist/collection/components/cat-dropdown/cat-dropdown.js +300 -300
- package/dist/collection/components/cat-dropdown/cat-dropdown.js.map +1 -1
- package/dist/collection/components/cat-dropdown/cat-dropdown.spec.js +7 -7
- package/dist/collection/components/cat-dropdown/cat-dropdown.spec.js.map +1 -1
- package/dist/collection/components/cat-form-group/cat-form-group.e2e.js +6 -6
- package/dist/collection/components/cat-form-group/cat-form-group.e2e.js.map +1 -1
- package/dist/collection/components/cat-form-group/cat-form-group.js +107 -107
- package/dist/collection/components/cat-form-group/cat-form-group.js.map +1 -1
- package/dist/collection/components/cat-form-group/cat-form-group.spec.js +7 -7
- package/dist/collection/components/cat-form-group/cat-form-group.spec.js.map +1 -1
- package/dist/collection/components/cat-form-hint/cat-form-hint.js +9 -9
- package/dist/collection/components/cat-form-hint/cat-form-hint.js.map +1 -1
- package/dist/collection/components/cat-form-hint/cat-form-hint.spec.js +7 -7
- package/dist/collection/components/cat-form-hint/cat-form-hint.spec.js.map +1 -1
- package/dist/collection/components/cat-i18n/cat-i18n-registry.js +71 -71
- package/dist/collection/components/cat-i18n/cat-i18n-registry.js.map +1 -1
- package/dist/collection/components/cat-i18n/cat-i18n-registry.spec.js +3 -3
- package/dist/collection/components/cat-i18n/cat-i18n-registry.spec.js.map +1 -1
- package/dist/collection/components/cat-icon/cat-icon-registry.js +77 -77
- package/dist/collection/components/cat-icon/cat-icon-registry.js.map +1 -1
- package/dist/collection/components/cat-icon/cat-icon-registry.spec.js +3 -3
- package/dist/collection/components/cat-icon/cat-icon-registry.spec.js.map +1 -1
- package/dist/collection/components/cat-icon/cat-icon.e2e.js +7 -7
- package/dist/collection/components/cat-icon/cat-icon.e2e.js.map +1 -1
- package/dist/collection/components/cat-icon/cat-icon.js +97 -97
- package/dist/collection/components/cat-icon/cat-icon.js.map +1 -1
- package/dist/collection/components/cat-icon/cat-icon.spec.js +7 -7
- package/dist/collection/components/cat-icon/cat-icon.spec.js.map +1 -1
- package/dist/collection/components/cat-input/cat-input.e2e.js +7 -7
- package/dist/collection/components/cat-input/cat-input.e2e.js.map +1 -1
- package/dist/collection/components/cat-input/cat-input.js +768 -768
- package/dist/collection/components/cat-input/cat-input.js.map +1 -1
- package/dist/collection/components/cat-input/cat-input.spec.js +7 -7
- package/dist/collection/components/cat-input/cat-input.spec.js.map +1 -1
- package/dist/collection/components/cat-notification/cat-notification.js +59 -59
- package/dist/collection/components/cat-notification/cat-notification.js.map +1 -1
- package/dist/collection/components/cat-notification/cat-notification.spec.js +3 -3
- package/dist/collection/components/cat-notification/cat-notification.spec.js.map +1 -1
- package/dist/collection/components/cat-pagination/cat-pagination.e2e.js +10 -10
- package/dist/collection/components/cat-pagination/cat-pagination.e2e.js.map +1 -1
- package/dist/collection/components/cat-pagination/cat-pagination.js +274 -274
- package/dist/collection/components/cat-pagination/cat-pagination.js.map +1 -1
- package/dist/collection/components/cat-pagination/cat-pagination.spec.js +7 -7
- package/dist/collection/components/cat-pagination/cat-pagination.spec.js.map +1 -1
- package/dist/collection/components/cat-radio/cat-radio.e2e.js +6 -6
- package/dist/collection/components/cat-radio/cat-radio.e2e.js.map +1 -1
- package/dist/collection/components/cat-radio/cat-radio.js +378 -378
- package/dist/collection/components/cat-radio/cat-radio.js.map +1 -1
- package/dist/collection/components/cat-radio/cat-radio.spec.js +7 -7
- package/dist/collection/components/cat-radio/cat-radio.spec.js.map +1 -1
- package/dist/collection/components/cat-radio-group/cat-radio-group.e2e.js +6 -6
- package/dist/collection/components/cat-radio-group/cat-radio-group.e2e.js.map +1 -1
- package/dist/collection/components/cat-radio-group/cat-radio-group.js +278 -278
- package/dist/collection/components/cat-radio-group/cat-radio-group.js.map +1 -1
- package/dist/collection/components/cat-radio-group/cat-radio-group.spec.js +7 -7
- package/dist/collection/components/cat-radio-group/cat-radio-group.spec.js.map +1 -1
- package/dist/collection/components/cat-scrollable/cat-scrollable.e2e.js +6 -6
- package/dist/collection/components/cat-scrollable/cat-scrollable.e2e.js.map +1 -1
- package/dist/collection/components/cat-scrollable/cat-scrollable.js +287 -287
- package/dist/collection/components/cat-scrollable/cat-scrollable.js.map +1 -1
- package/dist/collection/components/cat-scrollable/cat-scrollable.spec.js +7 -7
- package/dist/collection/components/cat-scrollable/cat-scrollable.spec.js.map +1 -1
- package/dist/collection/components/cat-select/cat-select.e2e.js +10 -10
- package/dist/collection/components/cat-select/cat-select.e2e.js.map +1 -1
- package/dist/collection/components/cat-select/cat-select.js +1143 -1143
- package/dist/collection/components/cat-select/cat-select.js.map +1 -1
- package/dist/collection/components/cat-select/cat-select.spec.js +7 -7
- package/dist/collection/components/cat-select/cat-select.spec.js.map +1 -1
- package/dist/collection/components/cat-select/connectors.js +13 -13
- package/dist/collection/components/cat-select/connectors.js.map +1 -1
- package/dist/collection/components/cat-select-demo/cat-select-demo.js +1379 -1379
- package/dist/collection/components/cat-select-demo/cat-select-demo.js.map +1 -1
- package/dist/collection/components/cat-skeleton/cat-skeleton.e2e.js +6 -6
- package/dist/collection/components/cat-skeleton/cat-skeleton.e2e.js.map +1 -1
- package/dist/collection/components/cat-skeleton/cat-skeleton.js +120 -120
- package/dist/collection/components/cat-skeleton/cat-skeleton.js.map +1 -1
- package/dist/collection/components/cat-skeleton/cat-skeleton.spec.js +7 -7
- package/dist/collection/components/cat-skeleton/cat-skeleton.spec.js.map +1 -1
- package/dist/collection/components/cat-spinner/cat-spinner.e2e.js +6 -6
- package/dist/collection/components/cat-spinner/cat-spinner.e2e.js.map +1 -1
- package/dist/collection/components/cat-spinner/cat-spinner.js +60 -60
- package/dist/collection/components/cat-spinner/cat-spinner.js.map +1 -1
- package/dist/collection/components/cat-spinner/cat-spinner.spec.js +7 -7
- package/dist/collection/components/cat-spinner/cat-spinner.spec.js.map +1 -1
- package/dist/collection/components/cat-tab/cat-tab.e2e.js +6 -6
- package/dist/collection/components/cat-tab/cat-tab.e2e.js.map +1 -1
- package/dist/collection/components/cat-tab/cat-tab.js +230 -211
- package/dist/collection/components/cat-tab/cat-tab.js.map +1 -1
- package/dist/collection/components/cat-tab/cat-tab.spec.js +7 -7
- package/dist/collection/components/cat-tab/cat-tab.spec.js.map +1 -1
- package/dist/collection/components/cat-tabs/cat-tabs.css +3 -0
- package/dist/collection/components/cat-tabs/cat-tabs.e2e.js +6 -6
- package/dist/collection/components/cat-tabs/cat-tabs.e2e.js.map +1 -1
- package/dist/collection/components/cat-tabs/cat-tabs.js +222 -215
- package/dist/collection/components/cat-tabs/cat-tabs.js.map +1 -1
- package/dist/collection/components/cat-tabs/cat-tabs.spec.js +7 -7
- package/dist/collection/components/cat-tabs/cat-tabs.spec.js.map +1 -1
- package/dist/collection/components/cat-textarea/cat-textarea.e2e.js +7 -7
- package/dist/collection/components/cat-textarea/cat-textarea.e2e.js.map +1 -1
- package/dist/collection/components/cat-textarea/cat-textarea.js +586 -586
- package/dist/collection/components/cat-textarea/cat-textarea.js.map +1 -1
- package/dist/collection/components/cat-textarea/cat-textarea.spec.js +7 -7
- package/dist/collection/components/cat-textarea/cat-textarea.spec.js.map +1 -1
- package/dist/collection/components/cat-toggle/cat-toggle.e2e.js +6 -6
- package/dist/collection/components/cat-toggle/cat-toggle.e2e.js.map +1 -1
- package/dist/collection/components/cat-toggle/cat-toggle.js +421 -421
- package/dist/collection/components/cat-toggle/cat-toggle.js.map +1 -1
- package/dist/collection/components/cat-toggle/cat-toggle.spec.js +7 -7
- package/dist/collection/components/cat-toggle/cat-toggle.spec.js.map +1 -1
- package/dist/collection/components/cat-tooltip/cat-tooltip.css +3 -0
- package/dist/collection/components/cat-tooltip/cat-tooltip.e2e.js +6 -6
- package/dist/collection/components/cat-tooltip/cat-tooltip.e2e.js.map +1 -1
- package/dist/collection/components/cat-tooltip/cat-tooltip.js +297 -296
- package/dist/collection/components/cat-tooltip/cat-tooltip.js.map +1 -1
- package/dist/collection/components/cat-tooltip/cat-tooltip.spec.js +12 -8
- package/dist/collection/components/cat-tooltip/cat-tooltip.spec.js.map +1 -1
- package/dist/collection/scss/core/_dialog.scss +1 -1
- package/dist/collection/scss/core/_form.scss +1 -1
- package/dist/collection/scss/core/_typography.scss +1 -7
- package/dist/collection/utils/breakpoints.js +6 -6
- package/dist/collection/utils/breakpoints.js.map +1 -1
- package/dist/collection/utils/coerce.js +3 -3
- package/dist/collection/utils/coerce.js.map +1 -1
- package/dist/collection/utils/find-closest.js +6 -6
- package/dist/collection/utils/find-closest.js.map +1 -1
- package/dist/collection/utils/first-tabbable.js +1 -1
- package/dist/collection/utils/first-tabbable.js.map +1 -1
- package/dist/collection/utils/load-img.js +6 -6
- package/dist/collection/utils/load-img.js.map +1 -1
- package/dist/collection/utils/media-matcher.js +30 -30
- package/dist/collection/utils/media-matcher.js.map +1 -1
- package/dist/collection/utils/media-matcher.spec.js +32 -32
- package/dist/collection/utils/media-matcher.spec.js.map +1 -1
- package/dist/collection/utils/platform.js +34 -34
- package/dist/collection/utils/platform.js.map +1 -1
- package/dist/collection/utils/setDefault.js +4 -4
- package/dist/collection/utils/setDefault.js.map +1 -1
- package/dist/components/cat-alert.d.ts +2 -2
- package/dist/components/cat-alert.js +56 -56
- package/dist/components/cat-alert.js.map +1 -1
- package/dist/components/cat-avatar.d.ts +2 -2
- package/dist/components/cat-avatar2.js +93 -93
- package/dist/components/cat-avatar2.js.map +1 -1
- package/dist/components/cat-badge.d.ts +2 -2
- package/dist/components/cat-badge.js +32 -32
- package/dist/components/cat-badge.js.map +1 -1
- package/dist/components/cat-button-group.d.ts +2 -2
- package/dist/components/cat-button-group.js +31 -31
- package/dist/components/cat-button-group.js.map +1 -1
- package/dist/components/cat-button.d.ts +2 -2
- package/dist/components/cat-button2.js +277 -277
- package/dist/components/cat-button2.js.map +1 -1
- package/dist/components/cat-card.d.ts +2 -2
- package/dist/components/cat-card.js +20 -20
- package/dist/components/cat-card.js.map +1 -1
- package/dist/components/cat-checkbox.d.ts +2 -2
- package/dist/components/cat-checkbox2.js +108 -108
- package/dist/components/cat-checkbox2.js.map +1 -1
- package/dist/components/cat-datepicker-inline.d.ts +2 -2
- package/dist/components/cat-datepicker-inline.js +89 -89
- package/dist/components/cat-datepicker-inline.js.map +1 -1
- package/dist/components/cat-datepicker.d.ts +2 -2
- package/dist/components/cat-datepicker.js +203 -194
- package/dist/components/cat-datepicker.js.map +1 -1
- package/dist/components/cat-datepicker.locale.js +121 -121
- package/dist/components/cat-datepicker.locale.js.map +1 -1
- package/dist/components/cat-dropdown.d.ts +2 -2
- package/dist/components/cat-dropdown2.js +177 -177
- package/dist/components/cat-dropdown2.js.map +1 -1
- package/dist/components/cat-form-group.d.ts +2 -2
- package/dist/components/cat-form-group.js +55 -55
- package/dist/components/cat-form-group.js.map +1 -1
- package/dist/components/cat-form-hint.js +9 -9
- package/dist/components/cat-form-hint.js.map +1 -1
- package/dist/components/cat-i18n-registry.js +71 -71
- package/dist/components/cat-i18n-registry.js.map +1 -1
- package/dist/components/cat-icon-registry.js +77 -77
- package/dist/components/cat-icon-registry.js.map +1 -1
- package/dist/components/cat-icon.d.ts +2 -2
- package/dist/components/cat-icon2.js +32 -32
- package/dist/components/cat-icon2.js.map +1 -1
- package/dist/components/cat-input.d.ts +2 -2
- package/dist/components/cat-input2.js +219 -219
- package/dist/components/cat-input2.js.map +1 -1
- package/dist/components/cat-pagination.d.ts +2 -2
- package/dist/components/cat-pagination.js +103 -103
- package/dist/components/cat-pagination.js.map +1 -1
- package/dist/components/cat-radio-group.d.ts +2 -2
- package/dist/components/cat-radio-group.js +113 -113
- package/dist/components/cat-radio-group.js.map +1 -1
- package/dist/components/cat-radio.d.ts +2 -2
- package/dist/components/cat-radio.js +93 -93
- package/dist/components/cat-radio.js.map +1 -1
- package/dist/components/cat-scrollable.d.ts +2 -2
- package/dist/components/cat-scrollable2.js +118 -118
- package/dist/components/cat-scrollable2.js.map +1 -1
- package/dist/components/cat-select-demo.d.ts +2 -2
- package/dist/components/cat-select-demo.js +1438 -1438
- package/dist/components/cat-select-demo.js.map +1 -1
- package/dist/components/cat-select.d.ts +2 -2
- package/dist/components/cat-select2.js +666 -666
- package/dist/components/cat-select2.js.map +1 -1
- package/dist/components/cat-skeleton.d.ts +2 -2
- package/dist/components/cat-skeleton2.js +53 -53
- package/dist/components/cat-skeleton2.js.map +1 -1
- package/dist/components/cat-spinner.d.ts +2 -2
- package/dist/components/cat-spinner2.js +27 -27
- package/dist/components/cat-spinner2.js.map +1 -1
- package/dist/components/cat-tab.d.ts +2 -2
- package/dist/components/cat-tab.js +48 -46
- package/dist/components/cat-tab.js.map +1 -1
- package/dist/components/cat-tabs.d.ts +2 -2
- package/dist/components/cat-tabs.js +120 -113
- package/dist/components/cat-tabs.js.map +1 -1
- package/dist/components/cat-textarea.d.ts +2 -2
- package/dist/components/cat-textarea.js +178 -178
- package/dist/components/cat-textarea.js.map +1 -1
- package/dist/components/cat-toggle.d.ts +2 -2
- package/dist/components/cat-toggle.js +104 -104
- package/dist/components/cat-toggle.js.map +1 -1
- package/dist/components/cat-tooltip.d.ts +2 -2
- package/dist/components/cat-tooltip.js +144 -143
- package/dist/components/cat-tooltip.js.map +1 -1
- package/dist/components/coerce.js +3 -3
- package/dist/components/coerce.js.map +1 -1
- package/dist/components/index.js +72 -72
- package/dist/components/index.js.map +1 -1
- package/dist/esm/cat-alert_26.entry.js +3899 -3883
- package/dist/esm/cat-alert_26.entry.js.map +1 -1
- package/dist/esm/catalyst.js +4 -4
- package/dist/esm/catalyst.js.map +1 -1
- package/dist/esm/{index-30a221a3.js → index-acddba36.js} +51 -13
- package/dist/esm/index-acddba36.js.map +1 -0
- package/dist/esm/index.js +74 -74
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{of-04d3d9e1.js → of-4f92b30b.js} +155 -155
- package/dist/esm/of-4f92b30b.js.map +1 -0
- package/dist/types/components/cat-alert/cat-alert.d.ts +17 -17
- package/dist/types/components/cat-avatar/cat-avatar.d.ts +41 -41
- package/dist/types/components/cat-badge/cat-badge.d.ts +22 -22
- package/dist/types/components/cat-button/cat-button.d.ts +151 -151
- package/dist/types/components/cat-button-group/cat-button-group.d.ts +9 -9
- package/dist/types/components/cat-card/cat-card.d.ts +1 -1
- package/dist/types/components/cat-checkbox/cat-checkbox.d.ts +97 -97
- package/dist/types/components/cat-datepicker/cat-datepicker.config.d.ts +12 -12
- package/dist/types/components/cat-datepicker/cat-datepicker.d.ts +153 -149
- package/dist/types/components/cat-datepicker-inline/cat-datepicker-inline.d.ts +45 -45
- package/dist/types/components/cat-dropdown/cat-dropdown.d.ts +49 -49
- package/dist/types/components/cat-form-group/cat-form-group.d.ts +23 -23
- package/dist/types/components/cat-form-hint/cat-form-hint.d.ts +6 -6
- package/dist/types/components/cat-i18n/cat-i18n-registry.d.ts +17 -17
- package/dist/types/components/cat-icon/cat-icon-registry.d.ts +12 -12
- package/dist/types/components/cat-icon/cat-icon.d.ts +18 -18
- package/dist/types/components/cat-input/cat-input.d.ts +167 -167
- package/dist/types/components/cat-notification/cat-notification.d.ts +31 -31
- package/dist/types/components/cat-pagination/cat-pagination.d.ts +52 -52
- package/dist/types/components/cat-radio/cat-radio.d.ts +83 -83
- package/dist/types/components/cat-radio-group/cat-radio-group.d.ts +49 -49
- package/dist/types/components/cat-scrollable/cat-scrollable.d.ts +49 -49
- package/dist/types/components/cat-select/cat-select.d.ts +221 -221
- package/dist/types/components/cat-select/connectors.d.ts +5 -5
- package/dist/types/components/cat-select-demo/cat-select-demo.d.ts +11 -11
- package/dist/types/components/cat-skeleton/cat-skeleton.d.ts +23 -23
- package/dist/types/components/cat-spinner/cat-spinner.d.ts +10 -10
- package/dist/types/components/cat-tab/cat-tab.d.ts +48 -42
- package/dist/types/components/cat-tabs/cat-tabs.d.ts +40 -39
- package/dist/types/components/cat-textarea/cat-textarea.d.ts +131 -131
- package/dist/types/components/cat-toggle/cat-toggle.d.ts +93 -93
- package/dist/types/components/cat-tooltip/cat-tooltip.d.ts +64 -64
- package/dist/types/components.d.ts +10 -2
- package/dist/types/stencil-public-runtime.d.ts +8 -0
- package/dist/types/utils/breakpoints.d.ts +1 -1
- package/dist/types/utils/media-matcher.d.ts +10 -10
- package/dist/types/utils/platform.d.ts +16 -16
- package/dist/types/utils/setDefault.d.ts +2 -2
- package/package.json +18 -18
- package/dist/catalyst/p-1bd44896.js +0 -3
- package/dist/catalyst/p-1bd44896.js.map +0 -1
- package/dist/catalyst/p-dc953306.entry.js +0 -10
- package/dist/catalyst/p-dc953306.entry.js.map +0 -1
- package/dist/cjs/index-1e7eef7e.js.map +0 -1
- package/dist/cjs/of-395b2f57.js.map +0 -1
- package/dist/esm/index-30a221a3.js.map +0 -1
- package/dist/esm/of-04d3d9e1.js.map +0 -1
- /package/dist/catalyst/{p-85d057f0.js.map → p-6ae13953.js.map} +0 -0
|
@@ -1591,7 +1591,7 @@ body {
|
|
|
1591
1591
|
* |- .cat-dialog-actions
|
|
1592
1592
|
**/
|
|
1593
1593
|
.cat-backdrop {
|
|
1594
|
-
background-color:
|
|
1594
|
+
background-color: rbg(var(--cat-bg-backdrop, 27, 31, 38), var(--cat-opacity-backdrop, 0.4));
|
|
1595
1595
|
}
|
|
1596
1596
|
|
|
1597
1597
|
.cat-dialog {
|
|
@@ -1646,7 +1646,7 @@ body {
|
|
|
1646
1646
|
/* stylelint-enable value-keyword-case */
|
|
1647
1647
|
.cat-form .cat-form-element,
|
|
1648
1648
|
.cat-form :is(cat-checkbox, cat-datepicker, cat-inline, cat-input, cat-radio-group, cat-select, cat-textarea, cat-toggle):not(:last-child) {
|
|
1649
|
-
margin-bottom: calc(
|
|
1649
|
+
margin-bottom: calc(1.5rem * var(--cat-form-spacer, 1));
|
|
1650
1650
|
}
|
|
1651
1651
|
.cat-form cat-radio:not(:last-child) {
|
|
1652
1652
|
margin-bottom: 0.5rem;
|
|
@@ -1737,13 +1737,7 @@ nav .cat-nav-head {
|
|
|
1737
1737
|
*/
|
|
1738
1738
|
/* stylelint-disable value-keyword-case */
|
|
1739
1739
|
/* stylelint-enable value-keyword-case */
|
|
1740
|
-
:where(h1, h2, h3, h4, h5, h6, p, ol, ul, dl, blockquote, figure, pre, hr)
|
|
1741
|
-
.cat-h1,
|
|
1742
|
-
.cat-h2,
|
|
1743
|
-
.cat-h3,
|
|
1744
|
-
.cat-h4,
|
|
1745
|
-
.cat-h5,
|
|
1746
|
-
.cat-h6 {
|
|
1740
|
+
:where(h1, h2, h3, h4, h5, h6, p, ol, ul, dl, blockquote, figure, pre, hr) {
|
|
1747
1741
|
margin: 0;
|
|
1748
1742
|
}
|
|
1749
1743
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as e,b as a}from"./p-
|
|
1
|
+
import{p as e,b as a}from"./p-6cd4fa1e.js";export{s as setNonce}from"./p-6cd4fa1e.js";const t=()=>{const a=import.meta.url;const t={};if(a!==""){t.resourcesUrl=new URL(".",a).href}return e(t)};t().then((e=>a([["p-a05fbea3",[[0,"cat-select-demo"],[1,"cat-datepicker",{requiredMarker:[1,"required-marker"],horizontal:[4],autoComplete:[1,"auto-complete"],clearable:[4],disabled:[4],hint:[1],icon:[1],iconRight:[4,"icon-right"],identifier:[1],label:[1],labelHidden:[4,"label-hidden"],max:[1],min:[1],mode:[1],name:[1],placeholder:[1],textPrefix:[1,"text-prefix"],textSuffix:[1,"text-suffix"],readonly:[4],required:[4],step:[2],value:[1025],errors:[4],errorUpdate:[8,"error-update"],nativeAttributes:[16],nativePickerAttributes:[16],hasSlottedLabel:[32],hasSlottedHint:[32],doFocus:[64],doBlur:[64]},null,{value:["onValueChanged"],disabled:["onDisabledChanged"],readonly:["onDisabledChanged"],min:["onMinChanged"],max:["onMinChanged"]}],[1,"cat-pagination",{page:[1026],pageCount:[2,"page-count"],activePadding:[2,"active-padding"],sidePadding:[2,"side-padding"],size:[1],variant:[1],round:[4],compact:[4],iconPrev:[1,"icon-prev"],iconNext:[1,"icon-next"]}],[1,"cat-tabs",{activeTab:[1537,"active-tab"],tabsAlign:[1,"tabs-align"],tabs:[32],setActive:[64],setActiveIndex:[64]},[[0,"keydown","onKeydown"]],{activeTab:["onActiveTabChange"]}],[1,"cat-alert",{color:[513],icon:[1],noIcon:[4,"no-icon"]}],[1,"cat-textarea",{requiredMarker:[1,"required-marker"],horizontal:[4],disabled:[4],hint:[1],identifier:[1],label:[1],labelHidden:[4,"label-hidden"],maxLength:[2,"max-length"],minLength:[2,"min-length"],name:[1],placeholder:[1],readonly:[4],required:[4],rows:[2],value:[1025],errors:[4],errorUpdate:[8,"error-update"],nativeAttributes:[16],hasSlottedLabel:[32],hasSlottedHint:[32],errorMap:[32],doFocus:[64],doBlur:[64],clear:[64]},null,{errors:["onErrorsChanged"]}],[1,"cat-badge",{variant:[513],color:[513],size:[513],round:[516],pulse:[516]}],[1,"cat-button-group",{a11yLabel:[1,"a11y-label"]}],[1,"cat-card"],[1,"cat-datepicker-inline",{disabled:[4],max:[1],min:[1],mode:[1],readonly:[4],step:[2],value:[1025],nativePickerAttributes:[16]},null,{value:["onValueChanged"],disabled:["onDisabledChanged"],readonly:["onDisabledChanged"]}],[1,"cat-form-group",{requiredMarker:[1,"required-marker"],horizontal:[4],labelSize:[1,"label-size"]},null,{requiredMarker:["onRequiredMarkerChanged"],horizontal:["onHorizontalChanged"]}],[1,"cat-radio",{checked:[1028],disabled:[4],identifier:[1],label:[1],labelHidden:[4,"label-hidden"],name:[1],required:[4],value:[1],hint:[1],labelLeft:[4,"label-left"],nativeAttributes:[16],hasSlottedLabel:[32],hasSlottedHint:[32],doFocus:[64],doBlur:[64]}],[1,"cat-radio-group",{name:[1],value:[1025],disabled:[4],a11yLabel:[1,"a11y-label"],labelLeft:[4,"label-left"]},[[0,"keydown","onKeydown"],[0,"input","onInput"],[2,"focus","onFocus"],[2,"blur","onBlur"]],{name:["onNameChanged"],value:["onValueChanged"],disabled:["onDisabledChanged"],labelLeft:["onLabelLeftChanged"]}],[1,"cat-tab",{label:[513],icon:[513],iconOnly:[520,"icon-only"],iconRight:[516,"icon-right"],url:[513],urlTarget:[513,"url-target"],deactivated:[516],error:[516],nativeAttributes:[16]},[[0,"click","onClick"]]],[1,"cat-toggle",{checked:[1028],disabled:[4],identifier:[1],label:[1],labelHidden:[4,"label-hidden"],name:[1],required:[4],value:[8],noValue:[8,"no-value"],resolvedValue:[1032,"resolved-value"],hint:[1],labelLeft:[4,"label-left"],nativeAttributes:[16],hasSlottedLabel:[32],hasSlottedHint:[32],doFocus:[64],doBlur:[64]}],[1,"cat-tooltip",{content:[1],disabled:[4],placement:[1],round:[4],size:[1],showDelay:[2,"show-delay"],hideDelay:[2,"hide-delay"],longTouchDuration:[2,"long-touch-duration"],open:[32]},[[0,"keydown","handleKeyDown"]]],[1,"cat-select",{requiredMarker:[1,"required-marker"],horizontal:[4],multiple:[4],debounce:[2],placement:[1],value:[1025],disabled:[4],placeholder:[1],hint:[1],identifier:[1],label:[1],name:[1],labelHidden:[4,"label-hidden"],required:[4],clearable:[4],tags:[4],tagHint:[1,"tag-hint"],noItems:[1,"no-items"],errors:[4],errorUpdate:[8,"error-update"],nativeAttributes:[16],connector:[32],state:[32],hasSlottedLabel:[32],hasSlottedHint:[32],errorMap:[32],connect:[64]},[[0,"blur","onBlur"],[0,"keydown","onKeyDown"],[0,"keyup","onKeyUp"]],{connector:["onConnectorChanged"],value:["onValueChanged"],errors:["onErrorsChanged"],state:["onStateChanged"]}],[1,"cat-input",{requiredMarker:[1,"required-marker"],horizontal:[4],autoComplete:[1,"auto-complete"],clearable:[4],disabled:[4],hint:[1],icon:[1],iconRight:[4,"icon-right"],identifier:[1],label:[1],labelHidden:[4,"label-hidden"],max:[8],maxLength:[2,"max-length"],min:[8],minLength:[2,"min-length"],name:[1],placeholder:[1],textPrefix:[1,"text-prefix"],textSuffix:[1,"text-suffix"],readonly:[4],required:[4],round:[4],type:[1],value:[1025],errors:[4],errorUpdate:[8,"error-update"],nativeAttributes:[16],hasSlottedLabel:[32],hasSlottedHint:[32],errorMap:[32],doFocus:[64],doBlur:[64],clear:[64]},null,{errors:["onErrorsChanged"]}],[1,"cat-dropdown",{placement:[1],noAutoClose:[4,"no-auto-close"],overflow:[4],close:[64]},[[0,"catClick","clickHandler"]]],[1,"cat-avatar",{size:[1],round:[4],label:[1],initials:[1],src:[1],icon:[1],url:[1],urlTarget:[1,"url-target"],backgroundImage:[32]},null,{src:["onSrcChanged"]}],[1,"cat-checkbox",{checked:[1028],indeterminate:[1028],disabled:[4],identifier:[1],label:[1],labelHidden:[4,"label-hidden"],name:[1],required:[4],value:[8],noValue:[8,"no-value"],resolvedValue:[1032,"resolved-value"],hint:[1],labelLeft:[4,"label-left"],nativeAttributes:[16],hasSlottedLabel:[32],hasSlottedHint:[32],doFocus:[64],doBlur:[64]}],[1,"cat-scrollable",{noShadowX:[4,"no-shadow-x"],noShadowY:[4,"no-shadow-y"],noOverflowX:[4,"no-overflow-x"],noOverflowY:[4,"no-overflow-y"],noOverscroll:[4,"no-overscroll"],noScrolledInit:[4,"no-scrolled-init"],scrolledBuffer:[2,"scrolled-buffer"]}],[1,"cat-skeleton",{effect:[1],variant:[1],size:[1],lines:[2]}],[1,"cat-button",{variant:[1],color:[1],active:[4],size:[1],name:[1],value:[1],disabled:[4],loading:[4],submit:[4],noEllipsis:[4,"no-ellipsis"],round:[4],url:[1],urlTarget:[1,"url-target"],icon:[1],iconOnly:[8,"icon-only"],iconRight:[4,"icon-right"],buttonId:[1,"button-id"],a11yLabel:[1,"a11y-label"],a11yCurrent:[1,"a11y-current"],nativeAttributes:[16],nativeContentAttributes:[16],buttonGroupPosition:[1,"button-group-position"],_iconOnly:[32],doFocus:[64],doBlur:[64],doClick:[64]},[[0,"click","haltDisabledEvents"]],{iconOnly:["onIconOnlyChanged"]}],[1,"cat-spinner",{size:[1],a11yLabel:[1,"a11y-label"]}],[1,"cat-icon",{icon:[1],iconSrc:[1,"icon-src"],size:[1],a11yLabel:[1,"a11y-label"]}]]]],e)));
|
|
2
2
|
//# sourceMappingURL=catalyst.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["patchBrowser","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","then","options","bootstrapLazy","requiredMarker","horizontal","autoComplete","clearable","disabled","hint","icon","iconRight","identifier","label","labelHidden","max","min","mode","name","placeholder","textPrefix","textSuffix","readonly","required","step","value","errors","errorUpdate","nativeAttributes","nativePickerAttributes","doFocus","doBlur","page","pageCount","activePadding","sidePadding","size","variant","round","compact","iconPrev","iconNext","activeTab","tabsAlign","tabs","setActive","setActiveIndex","color","noIcon","maxLength","minLength","rows","
|
|
1
|
+
{"version":3,"names":["patchBrowser","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","then","options","bootstrapLazy","requiredMarker","horizontal","autoComplete","clearable","disabled","hint","icon","iconRight","identifier","label","labelHidden","max","min","mode","name","placeholder","textPrefix","textSuffix","readonly","required","step","value","errors","errorUpdate","nativeAttributes","nativePickerAttributes","hasSlottedLabel","hasSlottedHint","doFocus","doBlur","page","pageCount","activePadding","sidePadding","size","variant","round","compact","iconPrev","iconNext","activeTab","tabsAlign","tabs","setActive","setActiveIndex","color","noIcon","maxLength","minLength","rows","errorMap","clear","pulse","a11yLabel","labelSize","checked","labelLeft","iconOnly","urlTarget","deactivated","error","noValue","resolvedValue","content","placement","showDelay","hideDelay","longTouchDuration","open","multiple","debounce","tags","tagHint","noItems","connector","state","connect","type","noAutoClose","overflow","close","initials","src","backgroundImage","indeterminate","noShadowX","noShadowY","noOverflowX","noOverflowY","noOverscroll","noScrolledInit","scrolledBuffer","effect","lines","active","loading","submit","noEllipsis","buttonId","a11yCurrent","nativeContentAttributes","buttonGroupPosition","_iconOnly","doClick","iconSrc"],"sources":["../node_modules/.pnpm/@stencil+core@4.8.0/node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.8.0 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, doc, promiseResolve, H } from '@stencil/core';\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n if (importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n return promiseResolve(opts);\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as t,a as i,b as s,o}from"./p-
|
|
1
|
+
import{c as t,a as i,b as s,o}from"./p-6ae13953.js";export{C as CatI18nRegistry,d as CatIconRegistry,b as catI18nRegistry,e as catIconRegistry}from"./p-6ae13953.js";var n=t((function(t){
|
|
2
2
|
/*!
|
|
3
3
|
* Toastify js 1.12.0
|
|
4
4
|
* https://github.com/apvarun/toastify-js
|
|
@@ -6,5 +6,5 @@ import{c as t,a as i,b as s,o}from"./p-85d057f0.js";export{C as CatI18nRegistry,
|
|
|
6
6
|
*
|
|
7
7
|
* Copyright (C) 2018 Varun A P
|
|
8
8
|
*/
|
|
9
|
-
(function(i,s){if(t.exports){t.exports=s()}else{i.Toastify=s()}})(i,(function(t){var i=function(t){return new i.lib.init(t)},s="1.12.0";i.defaults={oldestFirst:true,text:"Toastify is awesome!",node:undefined,duration:3e3,selector:undefined,callback:function(){},destination:undefined,newWindow:false,close:false,gravity:"toastify-top",positionLeft:false,position:"",backgroundColor:"",avatar:"",className:"",stopOnFocus:true,onClick:function(){},offset:{x:0,y:0},escapeMarkup:true,ariaLive:"polite",style:{background:""}};i.lib=i.prototype={toastify:s,constructor:i,init:function(t){if(!t){t={}}this.options={};this.toastElement=null;this.options.text=t.text||i.defaults.text;this.options.node=t.node||i.defaults.node;this.options.duration=t.duration===0?0:t.duration||i.defaults.duration;this.options.selector=t.selector||i.defaults.selector;this.options.callback=t.callback||i.defaults.callback;this.options.destination=t.destination||i.defaults.destination;this.options.newWindow=t.newWindow||i.defaults.newWindow;this.options.close=t.close||i.defaults.close;this.options.gravity=t.gravity==="bottom"?"toastify-bottom":i.defaults.gravity;this.options.positionLeft=t.positionLeft||i.defaults.positionLeft;this.options.position=t.position||i.defaults.position;this.options.backgroundColor=t.backgroundColor||i.defaults.backgroundColor;this.options.avatar=t.avatar||i.defaults.avatar;this.options.className=t.className||i.defaults.className;this.options.stopOnFocus=t.stopOnFocus===undefined?i.defaults.stopOnFocus:t.stopOnFocus;this.options.onClick=t.onClick||i.defaults.onClick;this.options.offset=t.offset||i.defaults.offset;this.options.escapeMarkup=t.escapeMarkup!==undefined?t.escapeMarkup:i.defaults.escapeMarkup;this.options.ariaLive=t.ariaLive||i.defaults.ariaLive;this.options.style=t.style||i.defaults.style;if(t.backgroundColor){this.options.style.background=t.backgroundColor}return this},buildToast:function(){if(!this.options){throw"Toastify is not initialized"}var t=document.createElement("div");t.className="toastify on "+this.options.className;if(!!this.options.position){t.className+=" toastify-"+this.options.position}else{if(this.options.positionLeft===true){t.className+=" toastify-left";console.warn("Property `positionLeft` will be depreciated in further versions. Please use `position` instead.")}else{t.className+=" toastify-right"}}t.className+=" "+this.options.gravity;if(this.options.backgroundColor){console.warn('DEPRECATION NOTICE: "backgroundColor" is being deprecated. Please use the "style.background" property.')}for(var i in this.options.style){t.style[i]=this.options.style[i]}if(this.options.ariaLive){t.setAttribute("aria-live",this.options.ariaLive)}if(this.options.node&&this.options.node.nodeType===Node.ELEMENT_NODE){t.appendChild(this.options.node)}else{if(this.options.escapeMarkup){t.innerText=this.options.text}else{t.innerHTML=this.options.text}if(this.options.avatar!==""){var s=document.createElement("img");s.src=this.options.avatar;s.className="toastify-avatar";if(this.options.position=="left"||this.options.positionLeft===true){t.appendChild(s)}else{t.insertAdjacentElement("afterbegin",s)}}}if(this.options.close===true){var o=document.createElement("button");o.type="button";o.setAttribute("aria-label","Close");o.className="toast-close";o.innerHTML="✖";o.addEventListener("click",function(t){t.stopPropagation();this.removeElement(this.toastElement);window.clearTimeout(this.toastElement.timeOutValue)}.bind(this));var n=window.innerWidth>0?window.innerWidth:screen.width;if((this.options.position=="left"||this.options.positionLeft===true)&&n>360){t.insertAdjacentElement("afterbegin",o)}else{t.appendChild(o)}}if(this.options.stopOnFocus&&this.options.duration>0){var a=this;t.addEventListener("mouseover",(function(i){window.clearTimeout(t.timeOutValue)}));t.addEventListener("mouseleave",(function(){t.timeOutValue=window.setTimeout((function(){a.removeElement(t)}),a.options.duration)}))}if(typeof this.options.destination!=="undefined"){t.addEventListener("click",function(t){t.stopPropagation();if(this.options.newWindow===true){window.open(this.options.destination,"_blank")}else{window.location=this.options.destination}}.bind(this))}if(typeof this.options.onClick==="function"&&typeof this.options.destination==="undefined"){t.addEventListener("click",function(t){t.stopPropagation();this.options.onClick()}.bind(this))}if(typeof this.options.offset==="object"){var r=e("x",this.options);var
|
|
9
|
+
(function(i,s){if(t.exports){t.exports=s()}else{i.Toastify=s()}})(i,(function(t){var i=function(t){return new i.lib.init(t)},s="1.12.0";i.defaults={oldestFirst:true,text:"Toastify is awesome!",node:undefined,duration:3e3,selector:undefined,callback:function(){},destination:undefined,newWindow:false,close:false,gravity:"toastify-top",positionLeft:false,position:"",backgroundColor:"",avatar:"",className:"",stopOnFocus:true,onClick:function(){},offset:{x:0,y:0},escapeMarkup:true,ariaLive:"polite",style:{background:""}};i.lib=i.prototype={toastify:s,constructor:i,init:function(t){if(!t){t={}}this.options={};this.toastElement=null;this.options.text=t.text||i.defaults.text;this.options.node=t.node||i.defaults.node;this.options.duration=t.duration===0?0:t.duration||i.defaults.duration;this.options.selector=t.selector||i.defaults.selector;this.options.callback=t.callback||i.defaults.callback;this.options.destination=t.destination||i.defaults.destination;this.options.newWindow=t.newWindow||i.defaults.newWindow;this.options.close=t.close||i.defaults.close;this.options.gravity=t.gravity==="bottom"?"toastify-bottom":i.defaults.gravity;this.options.positionLeft=t.positionLeft||i.defaults.positionLeft;this.options.position=t.position||i.defaults.position;this.options.backgroundColor=t.backgroundColor||i.defaults.backgroundColor;this.options.avatar=t.avatar||i.defaults.avatar;this.options.className=t.className||i.defaults.className;this.options.stopOnFocus=t.stopOnFocus===undefined?i.defaults.stopOnFocus:t.stopOnFocus;this.options.onClick=t.onClick||i.defaults.onClick;this.options.offset=t.offset||i.defaults.offset;this.options.escapeMarkup=t.escapeMarkup!==undefined?t.escapeMarkup:i.defaults.escapeMarkup;this.options.ariaLive=t.ariaLive||i.defaults.ariaLive;this.options.style=t.style||i.defaults.style;if(t.backgroundColor){this.options.style.background=t.backgroundColor}return this},buildToast:function(){if(!this.options){throw"Toastify is not initialized"}var t=document.createElement("div");t.className="toastify on "+this.options.className;if(!!this.options.position){t.className+=" toastify-"+this.options.position}else{if(this.options.positionLeft===true){t.className+=" toastify-left";console.warn("Property `positionLeft` will be depreciated in further versions. Please use `position` instead.")}else{t.className+=" toastify-right"}}t.className+=" "+this.options.gravity;if(this.options.backgroundColor){console.warn('DEPRECATION NOTICE: "backgroundColor" is being deprecated. Please use the "style.background" property.')}for(var i in this.options.style){t.style[i]=this.options.style[i]}if(this.options.ariaLive){t.setAttribute("aria-live",this.options.ariaLive)}if(this.options.node&&this.options.node.nodeType===Node.ELEMENT_NODE){t.appendChild(this.options.node)}else{if(this.options.escapeMarkup){t.innerText=this.options.text}else{t.innerHTML=this.options.text}if(this.options.avatar!==""){var s=document.createElement("img");s.src=this.options.avatar;s.className="toastify-avatar";if(this.options.position=="left"||this.options.positionLeft===true){t.appendChild(s)}else{t.insertAdjacentElement("afterbegin",s)}}}if(this.options.close===true){var o=document.createElement("button");o.type="button";o.setAttribute("aria-label","Close");o.className="toast-close";o.innerHTML="✖";o.addEventListener("click",function(t){t.stopPropagation();this.removeElement(this.toastElement);window.clearTimeout(this.toastElement.timeOutValue)}.bind(this));var n=window.innerWidth>0?window.innerWidth:screen.width;if((this.options.position=="left"||this.options.positionLeft===true)&&n>360){t.insertAdjacentElement("afterbegin",o)}else{t.appendChild(o)}}if(this.options.stopOnFocus&&this.options.duration>0){var a=this;t.addEventListener("mouseover",(function(i){window.clearTimeout(t.timeOutValue)}));t.addEventListener("mouseleave",(function(){t.timeOutValue=window.setTimeout((function(){a.removeElement(t)}),a.options.duration)}))}if(typeof this.options.destination!=="undefined"){t.addEventListener("click",function(t){t.stopPropagation();if(this.options.newWindow===true){window.open(this.options.destination,"_blank")}else{window.location=this.options.destination}}.bind(this))}if(typeof this.options.onClick==="function"&&typeof this.options.destination==="undefined"){t.addEventListener("click",function(t){t.stopPropagation();this.options.onClick()}.bind(this))}if(typeof this.options.offset==="object"){var r=e("x",this.options);var c=e("y",this.options);var f=this.options.position=="left"?r:"-"+r;var l=this.options.gravity=="toastify-top"?c:"-"+c;t.style.transform="translate("+f+","+l+")"}return t},showToast:function(){this.toastElement=this.buildToast();var t;if(typeof this.options.selector==="string"){t=document.getElementById(this.options.selector)}else if(this.options.selector instanceof HTMLElement||typeof ShadowRoot!=="undefined"&&this.options.selector instanceof ShadowRoot){t=this.options.selector}else{t=document.body}if(!t){throw"Root element is not defined"}var s=i.defaults.oldestFirst?t.firstChild:t.lastChild;t.insertBefore(this.toastElement,s);i.reposition();if(this.options.duration>0){this.toastElement.timeOutValue=window.setTimeout(function(){this.removeElement(this.toastElement)}.bind(this),this.options.duration)}return this},hideToast:function(){if(this.toastElement.timeOutValue){clearTimeout(this.toastElement.timeOutValue)}this.removeElement(this.toastElement)},removeElement:function(t){t.className=t.className.replace(" on","");window.setTimeout(function(){if(this.options.node&&this.options.node.parentNode){this.options.node.parentNode.removeChild(this.options.node)}if(t.parentNode){t.parentNode.removeChild(t)}this.options.callback.call(t);i.reposition()}.bind(this),400)}};i.reposition=function(){var t={top:15,bottom:15};var i={top:15,bottom:15};var s={top:15,bottom:15};var e=document.getElementsByClassName("toastify");var n;for(var a=0;a<e.length;a++){if(o(e[a],"toastify-top")===true){n="toastify-top"}else{n="toastify-bottom"}var r=e[a].offsetHeight;n=n.substr(9,n.length-1);var c=15;var f=window.innerWidth>0?window.innerWidth:screen.width;if(f<=360){e[a].style[n]=s[n]+"px";s[n]+=r+c}else{if(o(e[a],"toastify-left")===true){e[a].style[n]=t[n]+"px";t[n]+=r+c}else{e[a].style[n]=i[n]+"px";i[n]+=r+c}}}return this};function e(t,i){if(i.offset[t]){if(isNaN(i.offset[t])){return i.offset[t]}else{return i.offset[t]+"px"}}return"0px"}function o(t,i){if(!t||typeof i!=="string"){return false}else if(t.className&&t.className.trim().split(/\s+/gi).indexOf(i)>-1){return true}else{return false}}i.lib.init.prototype=i.lib;return i}))}));class a{constructor(){}static getInstance(){if(!a.instance){a.instance=new a}return a.instance}show(t,i){const s={};const e=this.getNode(t,s,i);const o=this.getOptions(e,s,i);const a=n(o);s.toast=a;a.showToast();return()=>a.hideToast()}getNode(t,i,e){const o=document.createElement("template");o.innerHTML=`<div class="cat-toastify-wrapper">\n ${e?.icon?`<cat-icon class="cat-toastify-icon" icon="${e.icon}" size="l"></cat-icon>`:""}\n <div class="cat-toastify-content">\n <div class="cat-toastify-inner"></div>\n ${e?.action?`<cat-button class="cat-toastify-action cat-button-pull" size="s" variant="text" color="primary">${e.action}</cat-button>`:""}\n </div>\n ${e?.autoClose===false?`<cat-button class="cat-toastify-close cat-button-pull" size="s" icon="$cat:notification-close" variant="text" icon-only="true" class="close" a11y-label="${s.t("notification.dismiss")}"></cat-button>`:""}\n </div>`;const n=o.content.firstElementChild;n.querySelector(".cat-toastify-close")?.addEventListener("click",(()=>i.toast?.hideToast()));n.querySelector(".cat-toastify-action")?.addEventListener("click",(()=>e?.onAction?.(i)));const a=n.querySelector(".cat-toastify-inner");if(a){if(typeof t!=="string"){a.replaceChildren(t)}else if(e?.escapeMarkup===false){a.innerHTML=t}else{a.innerText=t}}return n}getOptions(t,i,s){const[e,o]=s?.placement?.split("-")??["bottom","left"];const n=s?.duration??(s?.autoClose===false?-1:a.duration);return{gravity:e,position:o,node:t,duration:n,close:false,className:s?.mode==="light"?"cat-toastify":"cat-toastify cat-toastify-dark",stopOnFocus:true,onClick:()=>s?.onClick?.(i),callback:()=>s?.onDismiss?.(i),offset:{x:"1rem",y:"1rem"}}}}a.duration=3e3;const r=a.getInstance();function c(t){return{resolve:i=>o(t.filter((({id:t})=>i.includes(t)))),retrieve:i=>o({content:t.filter((({label:t})=>t.toLowerCase().includes(i.toLowerCase()))),last:true,totalElements:t.length}),render:t=>t}}function f(t){const i=t.map((t=>({id:t,label:t})));return c(i)}function l(t){const i=Array.from(t).map((([t,i])=>({id:t,label:i})));return c(i)}export{a as CatNotificationService,r as catNotificationService,c as objectArrayConnector,f as stringArrayConnector,l as stringMapConnector};
|
|
10
10
|
//# sourceMappingURL=index.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
var n=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};function t(n,t,r){return r={path:t,exports:{},require:function(n,t){return e()}},n(r,r.exports),r.exports}function e(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var r=t((function(t){(function(n,e){if(t.exports){t.exports=e()}else{n.log=e()}})(n,(function(){var n=function(){};var t="undefined";var e=typeof window!==t&&typeof window.navigator!==t&&/Trident\/|MSIE /.test(window.navigator.userAgent);var r=["trace","debug","info","warn","error"];function i(n,t){var e=n[t];if(typeof e.bind==="function"){return e.bind(n)}else{try{return Function.prototype.bind.call(e,n)}catch(t){return function(){return Function.prototype.apply.apply(e,[n,arguments])}}}}function o(){if(console.log){if(console.log.apply){console.log.apply(console,arguments)}else{Function.prototype.apply.apply(console.log,[console,arguments])}}if(console.trace)console.trace()}function s(r){if(r==="debug"){r="log"}if(typeof console===t){return false}else if(r==="trace"&&e){return o}else if(console[r]!==undefined){return i(console,r)}else if(console.log!==undefined){return i(console,"log")}else{return n}}function u(t,e){for(var i=0;i<r.length;i++){var o=r[i];this[o]=i<t?n:this.methodFactory(o,t,e)}this.log=this.debug}function c(n,e,r){return function(){if(typeof console!==t){u.call(this,e,r);this[n].apply(this,arguments)}}}function l(n,t,e){return s(n)||c.apply(this,arguments)}function f(n,e,i){var o=this;var s;e=e==null?"WARN":e;var c="loglevel";if(typeof n==="string"){c+=":"+n}else if(typeof n==="symbol"){c=undefined}function f(n){var e=(r[n]||"silent").toUpperCase();if(typeof window===t||!c)return;try{window.localStorage[c]=e;return}catch(n){}try{window.document.cookie=encodeURIComponent(c)+"="+e+";"}catch(n){}}function a(){var n;if(typeof window===t||!c)return;try{n=window.localStorage[c]}catch(n){}if(typeof n===t){try{var e=window.document.cookie;var r=e.indexOf(encodeURIComponent(c)+"=");if(r!==-1){n=/^([^;]+)/.exec(e.slice(r))[1]}}catch(n){}}if(o.levels[n]===undefined){n=undefined}return n}function d(){if(typeof window===t||!c)return;try{window.localStorage.removeItem(c);return}catch(n){}try{window.document.cookie=encodeURIComponent(c)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch(n){}}o.name=n;o.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5};o.methodFactory=i||l;o.getLevel=function(){return s};o.setLevel=function(e,r){if(typeof e==="string"&&o.levels[e.toUpperCase()]!==undefined){e=o.levels[e.toUpperCase()]}if(typeof e==="number"&&e>=0&&e<=o.levels.SILENT){s=e;if(r!==false){f(e)}u.call(o,e,n);if(typeof console===t&&e<o.levels.SILENT){return"No console available for logging"}}else{throw"log.setLevel() called with invalid level: "+e}};o.setDefaultLevel=function(n){e=n;if(!a()){o.setLevel(n,false)}};o.resetLevel=function(){o.setLevel(e,false);d()};o.enableAll=function(n){o.setLevel(o.levels.TRACE,n)};o.disableAll=function(n){o.setLevel(o.levels.SILENT,n)};var h=a();if(h==null){h=e}o.setLevel(h,false)}var a=new f;var d={};a.getLogger=function n(t){if(typeof t!=="symbol"&&typeof t!=="string"||t===""){throw new TypeError("You must supply a name when creating a logger.")}var e=d[t];if(!e){e=d[t]=new f(t,a.getLevel(),a.methodFactory)}return e};var h=typeof window!==t?window.log:undefined;a.noConflict=function(){if(typeof window!==t&&window.log===a){window.log=h}return a};a.getLoggers=function n(){return d};a["default"]=a;return a}))}));class i{constructor(){this.id=(Math.random()+1).toString(36).substring(2);this.i18n=new Map;window.addEventListener("cat-i18n-setLocale",(n=>{const{detail:t}=n||{};if(t&&t.id!==this.id){this.setLocale(t.locale,true)}}));window.addEventListener("cat-i18n-set",(n=>{const{detail:t}=n||{};if(t&&t.id!==this.id){this.set(t.i18n,true)}}));window.addEventListener("cat-i18n-clear",(n=>{const{detail:t}=n||{};if(t&&t.id!==this.id){this.clear(true)}}))}static getInstance(){if(!i.instance){i.instance=new i}return i.instance}getLocale(){return this._locale??window?.navigator?.language??"en"}setLocale(n,t=false){try{this._locale=Intl.getCanonicalLocales(n)[0];r.info(`[CatI18nRegistry] Set locale: ${this._locale}`);!t&&window.dispatchEvent(this.buildEvent("cat-i18n-setLocale",{locale:n,id:this.id}))}catch(t){r.error(`[CatI18nRegistry] Invalid locale: ${n}`)}}set(n,t=false){const e=Object.entries(n);e.forEach((([n,t])=>this.i18n.set(n,t)));r.info(`[CatI18nRegistry] Registered ${e.length!==1?"messages":"message"}`);!t&&window.dispatchEvent(this.buildEvent("cat-i18n-set",{i18n:n,id:this.id}))}clear(n=false){this.i18n.clear();r.info(`[CatI18nRegistry] Cleared messages`);!n&&window.dispatchEvent(this.buildEvent("cat-i18n-clear"))}t(n,t){const e=this._translator?.(n,t)??this.i18n.get(n);if(e===undefined){r.error(`[CatI18nRegistry] Unknown message key: ${n}`);return n}return e.replace(/{{\s*([-a-zA-Z._]+)\s*}}/g,((n,e)=>`${t?.[e]??""}`))}buildEvent(n,t){return new CustomEvent(n,{bubbles:true,composed:true,detail:t})}}const o=i.getInstance();const s=`<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M4.53 3.47a.75.75 0 0 0-1.06 1.06L6.94 8l-3.47 3.47a.75.75 0 1 0 1.06 1.06L8 9.06l3.47 3.47a.75.75 0 1 0 1.06-1.06L9.06 8l3.47-3.47a.75.75 0 0 0-1.06-1.06L8 6.94 4.53 3.47Z"/></svg>`;const u=`<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M13 16a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm-.25-8a.75.75 0 0 0-1.5 0v4.5a.75.75 0 0 0 1.5 0V8Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12ZM12 3.75a8.25 8.25 0 1 0 0 16.5 8.25 8.25 0 0 0 0-16.5Z"/></svg>\n`;const c=`<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Zm4.768-12.36a1 1 0 1 0-1.536-1.28l-4.3 5.159-2.225-2.226a1 1 0 0 0-1.414 1.414l3 3a1 1 0 0 0 1.475-.067l5-6Z"/></svg>`;const l=`<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.47 9.47a.75.75 0 0 1 1.06 0L12 13.94l4.47-4.47a.75.75 0 1 1 1.06 1.06l-5 5a.75.75 0 0 1-1.06 0l-5-5a.75.75 0 0 1 0-1.06Z"/></svg>`;const f=`<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M14.53 6.47a.75.75 0 0 1 0 1.06L10.06 12l4.47 4.47a.75.75 0 1 1-1.06 1.06l-5-5a.75.75 0 0 1 0-1.06l5-5a.75.75 0 0 1 1.06 0Z"/></svg>`;const a=`<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M9.47 6.47a.75.75 0 0 1 1.06 0l5 5a.75.75 0 0 1 0 1.06l-5 5a.75.75 0 1 1-1.06-1.06L13.94 12 9.47 7.53a.75.75 0 0 1 0-1.06Z"/></svg>`;const d=`<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Zm1-15a1 1 0 1 0-2 0v5a1 1 0 0 0 1 1h5a1 1 0 1 0 0-2h-4V7Z"/></svg>`;const h=`<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10ZM8.293 8.293a1 1 0 0 1 1.414 0L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L10.586 12 8.293 9.707a1 1 0 0 1 0-1.414Z"/></svg>`;const w=`<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M8.47 8.47a.75.75 0 0 1 1.06 0L12 10.94l2.47-2.47a.75.75 0 1 1 1.06 1.06L13.06 12l2.47 2.47a.75.75 0 1 1-1.06 1.06L12 13.06l-2.47 2.47a.75.75 0 0 1-1.06-1.06L10.94 12 8.47 9.53a.75.75 0 0 1 0-1.06Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25ZM3.75 12a8.25 8.25 0 1 1 16.5 0 8.25 8.25 0 0 1-16.5 0Z"/></svg>`;const v=`<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7.53 6.47a.75.75 0 0 0-1.06 1.06L10.94 12l-4.47 4.47a.75.75 0 1 0 1.06 1.06L12 13.06l4.47 4.47a.75.75 0 1 0 1.06-1.06L13.06 12l4.47-4.47a.75.75 0 0 0-1.06-1.06L12 10.94 7.53 6.47Z"/></svg>`;const p=`<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 3.25c-.429 0-.85.113-1.22.328a2.5 2.5 0 0 0-.899.891L2.577 16.981a2.554 2.554 0 0 0-.007 2.491c.212.381.519.7.891.926a2.44 2.44 0 0 0 1.234.352h14.61a2.44 2.44 0 0 0 1.233-.352 2.5 2.5 0 0 0 .892-.926 2.553 2.553 0 0 0-.007-2.491L14.119 4.469a2.494 2.494 0 0 0-.899-.891A2.439 2.439 0 0 0 12 3.25ZM12 8a1 1 0 0 1 1 1v3.5a1 1 0 1 1-2 0V9a1 1 0 0 1 1-1Zm1 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"/></svg>`;const y=`<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12ZM13 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm0 3.5a1 1 0 1 0-2 0V16a1 1 0 1 0 2 0v-4.5Z"/></svg>\n`;const g=`<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-7.82-3.001L12 5 9.82 8.999l-4.477.838 3.129 3.31-.587 4.516L12 15.71l4.114 1.953-.586-4.517 3.13-3.31L14.18 9Z"/></svg>`;class m{constructor(){this.id=(Math.random()+1).toString(36).substring(2);this.icons=new Map;this.addIcons({"alert-primary":g,"alert-secondary":d,"alert-info":y,"alert-success":c,"alert-warning":p,"alert-danger":h,"dialog-close":v,"input-close":w,"input-error":u,"notification-close":w,"pagination-left":f,"pagination-right":a,"select-clear":s,"select-open":l},"$cat",true);window.addEventListener("cat-icons-added",(n=>{const{detail:t}=n||{};if(t&&t.id!==this.id){this.addIcons(t.icons,t.setName,true)}}));window.addEventListener("cat-icons-removed",(n=>{const{detail:t}=n||{};if(t&&t.id!==this.id){this.removeIcons(t.names,t.setName,true)}}))}static getInstance(){if(!m.instance){m.instance=new m}return m.instance}getIcon(n,t){const e=this.icons.get(this.buildName(n,t));if(!e){r.error(`[CatIconRegistry] Unknown icon${t?` in set ${t}`:""}: ${n}`)}return e}addIcons(n,t,e=false){const i=Object.entries(n);const o=i.length;i.forEach((([n,e])=>this.icons.set(this.buildName(n,t),e)));r.info(`[CatIconRegistry] Added ${o!==1?"icons":"icon"}${t?` to set ${t}`:""}`);!e&&window.dispatchEvent(this.buildEvent("cat-icons-added",{id:this.id,icons:n,setName:t}));return this}removeIcons(n,t,e=false){const i=n.length;n.forEach((n=>this.icons.delete(this.buildName(n,t))));r.info(`[CatIconRegistry] Removed ${i!==1?"icons":"icon"}${t?` from set ${t}`:""}`);!e&&window.dispatchEvent(this.buildEvent("cat-icons-removed",{id:this.id,names:n,setName:t}));return this}buildName(n,t){return t?`${t}:${n}`:n}buildEvent(n,t){return new CustomEvent(n,{bubbles:true,composed:true,detail:t})}}const b=m.getInstance();function x(n){return typeof n==="function"}function S(n){const t=n=>{Error.call(n);n.stack=(new Error).stack};const e=n(t);e.prototype=Object.create(Error.prototype);e.prototype.constructor=e;return e}const E=S((n=>function t(e){n(this);this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map(((n,t)=>`${t+1}) ${n.toString()}`)).join("\n ")}`:"";this.name="UnsubscriptionError";this.errors=e}));function L(n,t){if(n){const e=n.indexOf(t);0<=e&&n.splice(e,1)}}class Z{constructor(n){this.initialTeardown=n;this.closed=false;this._parentage=null;this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=true;const{_parentage:t}=this;if(t){this._parentage=null;if(Array.isArray(t)){for(const n of t){n.remove(this)}}else{t.remove(this)}}const{initialTeardown:e}=this;if(x(e)){try{e()}catch(t){n=t instanceof E?t.errors:[t]}}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const t of r){try{$(t)}catch(t){n=n!==null&&n!==void 0?n:[];if(t instanceof E){n=[...n,...t.errors]}else{n.push(t)}}}}if(n){throw new E(n)}}}add(n){var t;if(n&&n!==this){if(this.closed){$(n)}else{if(n instanceof Z){if(n.closed||n._hasParent(this)){return}n._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(n)}}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;if(t===n){this._parentage=null}else if(Array.isArray(t)){L(t,n)}}remove(n){const{_finalizers:t}=this;t&&L(t,n);if(n instanceof Z){n._removeParent(this)}}}Z.EMPTY=(()=>{const n=new Z;n.closed=true;return n})();const I=Z.EMPTY;function M(n){return n instanceof Z||n&&"closed"in n&&x(n.remove)&&x(n.add)&&x(n.unsubscribe)}function $(n){if(x(n)){n()}else{n.unsubscribe()}}const R={onUnhandledError:null,onStoppedNotification:null,Promise:undefined,useDeprecatedSynchronousErrorHandling:false,useDeprecatedNextContext:false};const C={setTimeout(n,t,...e){const{delegate:r}=C;if(r===null||r===void 0?void 0:r.setTimeout){return r.setTimeout(n,t,...e)}return setTimeout(n,t,...e)},clearTimeout(n){const{delegate:t}=C;return((t===null||t===void 0?void 0:t.clearTimeout)||clearTimeout)(n)},delegate:undefined};function T(n){C.setTimeout((()=>{const{onUnhandledError:t}=R;if(t){t(n)}else{throw n}}))}function _(){}const B=(()=>A("C",undefined,undefined))();function O(n){return A("E",undefined,n)}function P(n){return A("N",n,undefined)}function A(n,t,e){return{kind:n,value:t,error:e}}function N(n){{n()}}class U extends Z{constructor(n){super();this.isStopped=false;if(n){this.destination=n;if(M(n)){n.add(this)}}else{this.destination=Y}}static create(n,t,e){return new D(n,t,e)}next(n){if(this.isStopped){z(P(n),this)}else{this._next(n)}}error(n){if(this.isStopped){z(O(n),this)}else{this.isStopped=true;this._error(n)}}complete(){if(this.isStopped){z(B,this)}else{this.isStopped=true;this._complete()}}unsubscribe(){if(!this.closed){this.isStopped=true;super.unsubscribe();this.destination=null}}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const j=Function.prototype.bind;function k(n,t){return j.call(n,t)}class F{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next){try{t.next(n)}catch(n){V(n)}}}error(n){const{partialObserver:t}=this;if(t.error){try{t.error(n)}catch(n){V(n)}}else{V(n)}}complete(){const{partialObserver:n}=this;if(n.complete){try{n.complete()}catch(n){V(n)}}}}class D extends U{constructor(n,t,e){super();let r;if(x(n)||!n){r={next:n!==null&&n!==void 0?n:undefined,error:t!==null&&t!==void 0?t:undefined,complete:e!==null&&e!==void 0?e:undefined}}else{let t;if(this&&R.useDeprecatedNextContext){t=Object.create(n);t.unsubscribe=()=>this.unsubscribe();r={next:n.next&&k(n.next,t),error:n.error&&k(n.error,t),complete:n.complete&&k(n.complete,t)}}else{r=n}}this.destination=new F(r)}}function V(n){{T(n)}}function q(n){throw n}function z(n,t){const{onStoppedNotification:e}=R;e&&C.setTimeout((()=>e(n,t)))}const Y={closed:true,next:_,error:q,complete:_};const W=(()=>typeof Symbol==="function"&&Symbol.observable||"@@observable")();function G(n){return n}function H(n){if(n.length===0){return G}if(n.length===1){return n[0]}return function t(e){return n.reduce(((n,t)=>t(n)),e)}}class J{constructor(n){if(n){this._subscribe=n}}lift(n){const t=new J;t.source=this;t.operator=n;return t}subscribe(n,t,e){const r=X(n)?n:new D(n,t,e);N((()=>{const{operator:n,source:t}=this;r.add(n?n.call(r,t):t?this._subscribe(r):this._trySubscribe(r))}));return r}_trySubscribe(n){try{return this._subscribe(n)}catch(t){n.error(t)}}forEach(n,t){t=K(t);return new t(((t,e)=>{const r=new D({next:t=>{try{n(t)}catch(n){e(n);r.unsubscribe()}},error:e,complete:t});this.subscribe(r)}))}_subscribe(n){var t;return(t=this.source)===null||t===void 0?void 0:t.subscribe(n)}[W](){return this}pipe(...n){return H(n)(this)}toPromise(n){n=K(n);return new n(((n,t)=>{let e;this.subscribe((n=>e=n),(n=>t(n)),(()=>n(e)))}))}}J.create=n=>new J(n);function K(n){var t;return(t=n!==null&&n!==void 0?n:R.Promise)!==null&&t!==void 0?t:Promise}function Q(n){return n&&x(n.next)&&x(n.error)&&x(n.complete)}function X(n){return n&&n instanceof U||Q(n)&&M(n)}function nn(n){return x(n===null||n===void 0?void 0:n.lift)}function tn(n){return t=>{if(nn(t)){return t.lift((function(t){try{return n(t,this)}catch(n){this.error(n)}}))}throw new TypeError("Unable to lift unknown Observable type")}}function en(n,t,e,r,i){return new rn(n,t,e,r,i)}class rn extends U{constructor(n,t,e,r,i,o){super(n);this.onFinalize=i;this.shouldUnsubscribe=o;this._next=t?function(e){try{t(e)}catch(t){n.error(t)}}:super._next;this._error=r?function(t){try{r(t)}catch(t){n.error(t)}finally{this.unsubscribe()}}:super._error;this._complete=e?function(){try{e()}catch(t){n.error(t)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe();!t&&((n=this.onFinalize)===null||n===void 0?void 0:n.call(this))}}}function on(n){return n&&x(n.schedule)}function sn(n){return n[n.length-1]}function un(n){return on(sn(n))?n.pop():undefined}function cn(n,t){return typeof sn(n)==="number"?n.pop():t}function ln(n,t,e,r){function i(n){return n instanceof e?n:new e((function(t){t(n)}))}return new(e||(e=Promise))((function(e,o){function s(n){try{c(r.next(n))}catch(n){o(n)}}function u(n){try{c(r["throw"](n))}catch(n){o(n)}}function c(n){n.done?e(n.value):i(n.value).then(s,u)}c((r=r.apply(n,t||[])).next())}))}function fn(n){var t=typeof Symbol==="function"&&Symbol.iterator,e=t&&n[t],r=0;if(e)return e.call(n);if(n&&typeof n.length==="number")return{next:function(){if(n&&r>=n.length)n=void 0;return{value:n&&n[r++],done:!n}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function an(n){return this instanceof an?(this.v=n,this):new an(n)}function dn(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=e.apply(n,t||[]),i,o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(n){if(r[n])i[n]=function(t){return new Promise((function(e,r){o.push([n,t,e,r])>1||u(n,t)}))}}function u(n,t){try{c(r[n](t))}catch(n){a(o[0][3],n)}}function c(n){n.value instanceof an?Promise.resolve(n.value.v).then(l,f):a(o[0][2],n)}function l(n){u("next",n)}function f(n){u("throw",n)}function a(n,t){if(n(t),o.shift(),o.length)u(o[0][0],o[0][1])}}function hn(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=n[Symbol.asyncIterator],e;return t?t.call(n):(n=typeof fn==="function"?fn(n):n[Symbol.iterator](),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(t){e[t]=n[t]&&function(e){return new Promise((function(r,o){e=n[t](e),i(r,o,e.done,e.value)}))}}function i(n,t,e,r){Promise.resolve(r).then((function(t){n({value:t,done:e})}),t)}}typeof SuppressedError==="function"?SuppressedError:function(n,t,e){var r=new Error(e);return r.name="SuppressedError",r.error=n,r.suppressed=t,r};const wn=n=>n&&typeof n.length==="number"&&typeof n!=="function";function vn(n){return x(n===null||n===void 0?void 0:n.then)}function pn(n){return x(n[W])}function yn(n){return Symbol.asyncIterator&&x(n===null||n===void 0?void 0:n[Symbol.asyncIterator])}function gn(n){return new TypeError(`You provided ${n!==null&&typeof n==="object"?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function mn(){if(typeof Symbol!=="function"||!Symbol.iterator){return"@@iterator"}return Symbol.iterator}const bn=mn();function xn(n){return x(n===null||n===void 0?void 0:n[bn])}function Sn(n){return dn(this,arguments,(function*t(){const e=n.getReader();try{while(true){const{value:n,done:t}=yield an(e.read());if(t){return yield an(void 0)}yield yield an(n)}}finally{e.releaseLock()}}))}function En(n){return x(n===null||n===void 0?void 0:n.getReader)}function Ln(n){if(n instanceof J){return n}if(n!=null){if(pn(n)){return Zn(n)}if(wn(n)){return In(n)}if(vn(n)){return Mn(n)}if(yn(n)){return Rn(n)}if(xn(n)){return $n(n)}if(En(n)){return Cn(n)}}throw gn(n)}function Zn(n){return new J((t=>{const e=n[W]();if(x(e.subscribe)){return e.subscribe(t)}throw new TypeError("Provided object does not correctly implement Symbol.observable")}))}function In(n){return new J((t=>{for(let e=0;e<n.length&&!t.closed;e++){t.next(n[e])}t.complete()}))}function Mn(n){return new J((t=>{n.then((n=>{if(!t.closed){t.next(n);t.complete()}}),(n=>t.error(n))).then(null,T)}))}function $n(n){return new J((t=>{for(const e of n){t.next(e);if(t.closed){return}}t.complete()}))}function Rn(n){return new J((t=>{Tn(n,t).catch((n=>t.error(n)))}))}function Cn(n){return Rn(Sn(n))}function Tn(n,t){var e,r;var i,o;return ln(this,void 0,void 0,(function*(){try{for(e=hn(n);r=yield e.next(),!r.done;){const n=r.value;t.next(n);if(t.closed){return}}}catch(n){i={error:n}}finally{try{if(r&&!r.done&&(o=e.return))yield o.call(e)}finally{if(i)throw i.error}}t.complete()}))}function _n(n,t,e,r=0,i=false){const o=t.schedule((function(){e();if(i){n.add(this.schedule(null,r))}else{this.unsubscribe()}}),r);n.add(o);if(!i){return o}}function Bn(n,t=0){return tn(((e,r)=>{e.subscribe(en(r,(e=>_n(r,n,(()=>r.next(e)),t)),(()=>_n(r,n,(()=>r.complete()),t)),(e=>_n(r,n,(()=>r.error(e)),t))))}))}function On(n,t=0){return tn(((e,r)=>{r.add(n.schedule((()=>e.subscribe(r)),t))}))}function Pn(n,t){return Ln(n).pipe(On(t),Bn(t))}function An(n,t){return Ln(n).pipe(On(t),Bn(t))}function Nn(n,t){return new J((e=>{let r=0;return t.schedule((function(){if(r===n.length){e.complete()}else{e.next(n[r++]);if(!e.closed){this.schedule()}}}))}))}function Un(n,t){return new J((e=>{let r;_n(e,t,(()=>{r=n[bn]();_n(e,t,(()=>{let n;let t;try{({value:n,done:t}=r.next())}catch(n){e.error(n);return}if(t){e.complete()}else{e.next(n)}}),0,true)}));return()=>x(r===null||r===void 0?void 0:r.return)&&r.return()}))}function jn(n,t){if(!n){throw new Error("Iterable cannot be null")}return new J((e=>{_n(e,t,(()=>{const r=n[Symbol.asyncIterator]();_n(e,t,(()=>{r.next().then((n=>{if(n.done){e.complete()}else{e.next(n.value)}}))}),0,true)}))}))}function kn(n,t){return jn(Sn(n),t)}function Fn(n,t){if(n!=null){if(pn(n)){return Pn(n,t)}if(wn(n)){return Nn(n,t)}if(vn(n)){return An(n,t)}if(yn(n)){return jn(n,t)}if(xn(n)){return Un(n,t)}if(En(n)){return kn(n,t)}}throw gn(n)}function Dn(n,t){return t?Fn(n,t):Ln(n)}function Vn(...n){const t=un(n);return Dn(n,t)}export{i as C,I as E,J as O,Z as S,n as a,o as b,t as c,m as d,b as e,S as f,N as g,L as h,tn as i,en as j,Ln as k,_n as l,x as m,G as n,Vn as o,Dn as p,un as q,wn as r,on as s,cn as t,_ as u,r as v};
|
|
2
|
-
//# sourceMappingURL=p-
|
|
2
|
+
//# sourceMappingURL=p-6ae13953.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
const t="catalyst";let n;let e;let s=false;let o=false;const l=(t,n="")=>{{return()=>{}}};const c=(t,n)=>{{return()=>{}}};const i="{visibility:hidden}.hydrated{visibility:inherit}";const f="slot-fb{display:contents}slot-fb[hidden]{display:none}";const r="http://www.w3.org/1999/xlink";const u={};const a="http://www.w3.org/2000/svg";const d="http://www.w3.org/1999/xhtml";const v=t=>t!=null;const p=t=>{t=typeof t;return t==="object"||t==="function"};function y(t){var n,e,s;return(s=(e=(n=t.head)===null||n===void 0?void 0:n.querySelector('meta[name="csp-nonce"]'))===null||e===void 0?void 0:e.getAttribute("content"))!==null&&s!==void 0?s:undefined}const h=(t,n,...e)=>{let s=null;let o=null;let l=false;let c=false;const i=[];const f=n=>{for(let e=0;e<n.length;e++){s=n[e];if(Array.isArray(s)){f(s)}else if(s!=null&&typeof s!=="boolean"){if(l=typeof t!=="function"&&!p(s)){s=String(s)}if(l&&c){i[i.length-1].t+=s}else{i.push(l?m(null,s):s)}c=l}}};f(e);if(n){if(n.key){o=n.key}{const t=n.className||n.class;if(t){n.class=typeof t!=="object"?t:Object.keys(t).filter((n=>t[n])).join(" ")}}}if(typeof t==="function"){return t(n===null?{}:n,i,$)}const r=m(t,null);r.o=n;if(i.length>0){r.l=i}{r.i=o}return r};const m=(t,n)=>{const e={u:0,v:t,t:n,p:null,l:null};{e.o=null}{e.i=null}return e};const b={};const w=t=>t&&t.v===b;const $={forEach:(t,n)=>t.map(g).forEach(n),map:(t,n)=>t.map(g).map(n).map(S)};const g=t=>({vattrs:t.o,vchildren:t.l,vkey:t.i,vname:t.h,vtag:t.v,vtext:t.t});const S=t=>{if(typeof t.vtag==="function"){const n=Object.assign({},t.vattrs);if(t.vkey){n.key=t.vkey}if(t.vname){n.name=t.vname}return h(t.vtag,n,...t.vchildren||[])}const n=m(t.vtag,t.vtext);n.o=t.vattrs;n.l=t.vchildren;n.i=t.vkey;n.h=t.vname;return n};const j=(t,n)=>{if(t!=null&&!p(t)){if(n&4){return t==="false"?false:t===""||!!t}if(n&2){return parseFloat(t)}if(n&1){return String(t)}return t}return t};const k=t=>mt(t).$hostElement$;const O=(t,n,e)=>{const s=k(t);return{emit:t=>C(s,n,{bubbles:!!(e&4),composed:!!(e&2),cancelable:!!(e&1),detail:t})}};const C=(t,n,e)=>{const s=xt.ce(n,e);t.dispatchEvent(s);return s};const x=new WeakMap;const M=(t,n,e)=>{let s=kt.get(t);if(Pt&&e){s=s||new CSSStyleSheet;if(typeof s==="string"){s=n}else{s.replaceSync(n)}}else{s=n}kt.set(t,s)};const P=(t,n,e)=>{var s;const o=R(n);const l=kt.get(o);t=t.nodeType===11?t:Ct;if(l){if(typeof l==="string"){t=t.head||t;let e=x.get(t);let c;if(!e){x.set(t,e=new Set)}if(!e.has(o)){{c=Ct.createElement("style");c.innerHTML=l;const n=(s=xt.m)!==null&&s!==void 0?s:y(Ct);if(n!=null){c.setAttribute("nonce",n)}t.insertBefore(c,t.querySelector("link"))}if(n.u&4){c.innerHTML+=f}if(e){e.add(o)}}}else if(!t.adoptedStyleSheets.includes(l)){t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]}}return o};const E=t=>{const n=t.$;const e=t.$hostElement$;const s=n.u;const o=l("attachStyles",n.S);const c=P(e.shadowRoot?e.shadowRoot:e.getRootNode(),n);if(s&10){e["s-sc"]=c;e.classList.add(c+"-h")}o()};const R=(t,n)=>"sc-"+t.S;const L=(t,n,e,s,o,l)=>{if(e!==s){let c=$t(t,n);let i=n.toLowerCase();if(n==="class"){const n=t.classList;const o=W(e);const l=W(s);n.remove(...o.filter((t=>t&&!l.includes(t))));n.add(...l.filter((t=>t&&!o.includes(t))))}else if(n==="style"){{for(const n in e){if(!s||s[n]==null){if(n.includes("-")){t.style.removeProperty(n)}else{t.style[n]=""}}}}for(const n in s){if(!e||s[n]!==e[n]){if(n.includes("-")){t.style.setProperty(n,s[n])}else{t.style[n]=s[n]}}}}else if(n==="key");else if(n==="ref"){if(s){s(t)}}else if(!c&&n[0]==="o"&&n[1]==="n"){if(n[2]==="-"){n=n.slice(3)}else if($t(Ot,i)){n=i.slice(2)}else{n=i[2]+n.slice(3)}if(e||s){const o=n.endsWith(A);n=n.replace(N,"");if(e){xt.rel(t,n,e,o)}if(s){xt.ael(t,n,s,o)}}}else{const f=p(s);if((c||f&&s!==null)&&!o){try{if(!t.tagName.includes("-")){const o=s==null?"":s;if(n==="list"){c=false}else if(e==null||t[n]!=o){t[n]=o}}else{t[n]=s}}catch(t){}}let u=false;{if(i!==(i=i.replace(/^xlink\:?/,""))){n=i;u=true}}if(s==null||s===false){if(s!==false||t.getAttribute(n)===""){if(u){t.removeAttributeNS(r,n)}else{t.removeAttribute(n)}}}else if((!c||l&4||o)&&!f){s=s===true?"":s;if(u){t.setAttributeNS(r,n,s)}else{t.setAttribute(n,s)}}}}};const U=/\s/;const W=t=>!t?[]:t.split(U);const A="Capture";const N=new RegExp(A+"$");const T=(t,n,e,s)=>{const o=n.p.nodeType===11&&n.p.host?n.p.host:n.p;const l=t&&t.o||u;const c=n.o||u;{for(s in l){if(!(s in c)){L(o,s,l[s],undefined,e,n.u)}}}for(s in c){L(o,s,l[s],c[s],e,n.u)}};const D=(t,e,o,l)=>{const c=e.l[o];let i=0;let f;let r;if(c.t!==null){f=c.p=Ct.createTextNode(c.t)}else{if(!s){s=c.v==="svg"}f=c.p=Ct.createElementNS(s?a:d,c.v);if(s&&c.v==="foreignObject"){s=false}{T(null,c,s)}if(v(n)&&f["s-si"]!==n){f.classList.add(f["s-si"]=n)}if(c.l){for(i=0;i<c.l.length;++i){r=D(t,c,i);if(r){f.appendChild(r)}}}{if(c.v==="svg"){s=false}else if(f.tagName==="foreignObject"){s=true}}}return f};const F=(t,n,s,o,l,c)=>{let i=t;let f;if(i.shadowRoot&&i.tagName===e){i=i.shadowRoot}for(;l<=c;++l){if(o[l]){f=D(null,s,l);if(f){o[l].p=f;i.insertBefore(f,n)}}}};const H=(t,n,e)=>{for(let s=n;s<=e;++s){const n=t[s];if(n){const t=n.p;_(n);if(t){t.remove()}}}};const q=(t,n,e,s)=>{let o=0;let l=0;let c=0;let i=0;let f=n.length-1;let r=n[0];let u=n[f];let a=s.length-1;let d=s[0];let v=s[a];let p;let y;while(o<=f&&l<=a){if(r==null){r=n[++o]}else if(u==null){u=n[--f]}else if(d==null){d=s[++l]}else if(v==null){v=s[--a]}else if(I(r,d)){V(r,d);r=n[++o];d=s[++l]}else if(I(u,v)){V(u,v);u=n[--f];v=s[--a]}else if(I(r,v)){V(r,v);t.insertBefore(r.p,u.p.nextSibling);r=n[++o];v=s[--a]}else if(I(u,d)){V(u,d);t.insertBefore(u.p,r.p);u=n[--f];d=s[++l]}else{c=-1;{for(i=o;i<=f;++i){if(n[i]&&n[i].i!==null&&n[i].i===d.i){c=i;break}}}if(c>=0){y=n[c];if(y.v!==d.v){p=D(n&&n[l],e,c)}else{V(y,d);n[c]=undefined;p=y.p}d=s[++l]}else{p=D(n&&n[l],e,l);d=s[++l]}if(p){{r.p.parentNode.insertBefore(p,r.p)}}}}if(o>f){F(t,s[a+1]==null?null:s[a+1].p,e,s,l,a)}else if(l>a){H(n,o,f)}};const I=(t,n)=>{if(t.v===n.v){{return t.i===n.i}}return false};const V=(t,n)=>{const e=n.p=t.p;const o=t.l;const l=n.l;const c=n.v;const i=n.t;if(i===null){{s=c==="svg"?true:c==="foreignObject"?false:s}{if(c==="slot");else{T(t,n,s)}}if(o!==null&&l!==null){q(e,o,n,l)}else if(l!==null){if(t.t!==null){e.textContent=""}F(e,null,n,l,0,l.length-1)}else if(o!==null){H(o,0,o.length-1)}if(s&&c==="svg"){s=false}}else if(t.t!==i){e.data=i}};const _=t=>{{t.o&&t.o.ref&&t.o.ref(null);t.l&&t.l.map(_)}};const z=(t,s,o=false)=>{const l=t.$hostElement$;const c=t.$;const i=t.j||m(null,null);const f=w(s)?s:h(null,null,s);e=l.tagName;if(c.k){f.o=f.o||{};c.k.map((([t,n])=>f.o[n]=l[t]))}if(o&&f.o){for(const t of Object.keys(f.o)){if(l.hasAttribute(t)&&!["key","ref","style","class"].includes(t)){f.o[t]=l[t]}}}f.v=null;f.u|=4;t.j=f;f.p=i.p=l.shadowRoot||l;{n=l["s-sc"]}V(i,f)};const B=(t,n)=>{if(n&&!t.O&&n["s-p"]){n["s-p"].push(new Promise((n=>t.O=n)))}};const G=(t,n)=>{{t.u|=16}if(t.u&4){t.u|=512;return}B(t,t.C);const e=()=>J(t,n);return Nt(e)};const J=(t,n)=>{const e=l("scheduleUpdate",t.$.S);const s=t.M;let o;if(n){{t.u|=256;if(t.P){t.P.map((([t,n])=>nt(s,t,n)));t.P=undefined}}{o=nt(s,"componentWillLoad")}}{o=K(o,(()=>nt(s,"componentWillRender")))}e();return K(o,(()=>X(t,s,n)))};const K=(t,n)=>Q(t)?t.then(n):n();const Q=t=>t instanceof Promise||t&&t.then&&typeof t.then==="function";const X=async(t,n,e)=>{var s;const o=t.$hostElement$;const c=l("update",t.$.S);const i=o["s-rc"];if(e){E(t)}const f=l("render",t.$.S);{Y(t,n,o,e)}if(i){i.map((t=>t()));o["s-rc"]=undefined}f();c();{const n=(s=o["s-p"])!==null&&s!==void 0?s:[];const e=()=>Z(t);if(n.length===0){e()}else{Promise.all(n).then(e);t.u|=4;n.length=0}}};const Y=(t,n,e,s)=>{try{n=n.render();{t.u&=~16}{t.u|=2}{{{z(t,n,s)}}}}catch(n){gt(n,t.$hostElement$)}return null};const Z=t=>{const n=t.$.S;const e=t.$hostElement$;const s=l("postUpdate",n);const o=t.M;const c=t.C;{nt(o,"componentDidRender")}if(!(t.u&64)){t.u|=64;{et(e)}{nt(o,"componentDidLoad")}s();{t.R(e);if(!c){tt()}}}else{s()}{t.L(e)}{if(t.O){t.O();t.O=undefined}if(t.u&512){At((()=>G(t,false)))}t.u&=~(4|512)}};const tt=n=>{{et(Ct.documentElement)}At((()=>C(Ot,"appload",{detail:{namespace:t}})))};const nt=(t,n,e)=>{if(t&&t[n]){try{return t[n](e)}catch(t){gt(t)}}return undefined};const et=t=>t.classList.add("hydrated");const st=(t,n)=>mt(t).U.get(n);const ot=(t,n,e,s)=>{const o=mt(t);const l=o.$hostElement$;const c=o.U.get(n);const i=o.u;const f=o.M;e=j(e,s.W[n][0]);const r=Number.isNaN(c)&&Number.isNaN(e);const u=e!==c&&!r;if((!(i&8)||c===undefined)&&u){o.U.set(n,e);if(f){if(s.A&&i&128){const t=s.A[n];if(t){t.map((t=>{try{f[t](e,c,n)}catch(t){gt(t,l)}}))}}if((i&(2|16))===2){G(o,false)}}}};const lt=(t,n,e)=>{var s;const o=t.prototype;if(n.W){if(t.watchers){n.A=t.watchers}const l=Object.entries(n.W);l.map((([t,[s]])=>{if(s&31||e&2&&s&32){Object.defineProperty(o,t,{get(){return st(this,t)},set(e){ot(this,t,e,n)},configurable:true,enumerable:true})}else if(e&1&&s&64){Object.defineProperty(o,t,{value(...n){var e;const s=mt(this);return(e=s===null||s===void 0?void 0:s.N)===null||e===void 0?void 0:e.then((()=>{var e;return(e=s.M)===null||e===void 0?void 0:e[t](...n)}))}})}}));if(e&1){const e=new Map;o.attributeChangedCallback=function(t,s,l){xt.jmp((()=>{var c;const i=e.get(t);if(this.hasOwnProperty(i)){l=this[i];delete this[i]}else if(o.hasOwnProperty(i)&&typeof this[i]==="number"&&this[i]==l){return}else if(i==null){const e=mt(this);const o=e===null||e===void 0?void 0:e.u;if(o&&!(o&8)&&o&128&&l!==s){const o=e.M;const i=(c=n.A)===null||c===void 0?void 0:c[t];i===null||i===void 0?void 0:i.forEach((n=>{if(o[n]!=null){o[n].call(o,l,s,t)}}))}return}this[i]=l===null&&typeof this[i]==="boolean"?false:l}))};t.observedAttributes=Array.from(new Set([...Object.keys((s=n.A)!==null&&s!==void 0?s:{}),...l.filter((([t,n])=>n[0]&15)).map((([t,s])=>{var o;const l=s[1]||t;e.set(l,t);if(s[0]&512){(o=n.k)===null||o===void 0?void 0:o.push([t,l])}return l}))]))}}return t};const ct=async(t,n,e,s)=>{let o;if((n.u&32)===0){n.u|=32;{o=jt(e);if(o.then){const t=c();o=await o;t()}if(!o.isProxied){{e.A=o.watchers}lt(o,e,2);o.isProxied=true}const t=l("createInstance",e.S);{n.u|=8}try{new o(n)}catch(t){gt(t)}{n.u&=~8}{n.u|=128}t();it(n.M)}if(o.style){let t=o.style;const n=R(e);if(!kt.has(n)){const s=l("registerStyles",e.S);M(n,t,!!(e.u&1));s()}}}const i=n.C;const f=()=>G(n,true);if(i&&i["s-rc"]){i["s-rc"].push(f)}else{f()}};const it=t=>{{nt(t,"connectedCallback")}};const ft=t=>{if((xt.u&1)===0){const n=mt(t);const e=n.$;const s=l("connectedCallback",e.S);if(!(n.u&1)){n.u|=1;{let e=t;while(e=e.parentNode||e.host){if(e["s-p"]){B(n,n.C=e);break}}}if(e.W){Object.entries(e.W).map((([n,[e]])=>{if(e&31&&t.hasOwnProperty(n)){const e=t[n];delete t[n];t[n]=e}}))}{ct(t,n,e)}}else{dt(t,n,e.T);if(n===null||n===void 0?void 0:n.M){it(n.M)}else if(n===null||n===void 0?void 0:n.D){n.D.then((()=>it(n.M)))}}s()}};const rt=t=>{{nt(t,"disconnectedCallback")}};const ut=async t=>{if((xt.u&1)===0){const n=mt(t);{if(n.F){n.F.map((t=>t()));n.F=undefined}}if(n===null||n===void 0?void 0:n.M){rt(n.M)}else if(n===null||n===void 0?void 0:n.D){n.D.then((()=>rt(n.M)))}}};const at=(t,n={})=>{var e;const s=l();const o=[];const c=n.exclude||[];const r=Ot.customElements;const u=Ct.head;const a=u.querySelector("meta[charset]");const d=Ct.createElement("style");const v=[];let p;let h=true;Object.assign(xt,n);xt.H=new URL(n.resourcesUrl||"./",Ct.baseURI).href;let m=false;t.map((t=>{t[1].map((n=>{var e;const s={u:n[0],S:n[1],W:n[2],T:n[3]};if(s.u&4){m=true}{s.W=n[2]}{s.T=n[3]}{s.k=[]}{s.A=(e=n[4])!==null&&e!==void 0?e:{}}const l=s.S;const i=class extends HTMLElement{constructor(t){super(t);t=this;wt(t,s);if(s.u&1){{{t.attachShadow({mode:"open"})}}}}connectedCallback(){if(p){clearTimeout(p);p=null}if(h){v.push(this)}else{xt.jmp((()=>ft(this)))}}disconnectedCallback(){xt.jmp((()=>ut(this)))}componentOnReady(){return mt(this).D}};s.q=t[0];if(!c.includes(l)&&!r.get(l)){o.push(l);r.define(l,lt(i,s,1))}}))}));if(m){d.innerHTML+=f}{d.innerHTML+=o+i}if(d.innerHTML.length){d.setAttribute("data-styles","");u.insertBefore(d,a?a.nextSibling:u.firstChild);const t=(e=xt.m)!==null&&e!==void 0?e:y(Ct);if(t!=null){d.setAttribute("nonce",t)}}h=false;if(v.length){v.map((t=>t.connectedCallback()))}else{{xt.jmp((()=>p=setTimeout(tt,30)))}}s()};const dt=(t,n,e,s)=>{if(e){e.map((([e,s,o])=>{const l=t;const c=vt(n,o);const i=pt(e);xt.ael(l,s,c,i);(n.F=n.F||[]).push((()=>xt.rel(l,s,c,i)))}))}};const vt=(t,n)=>e=>{try{{if(t.u&256){t.M[n](e)}else{(t.P=t.P||[]).push([n,e])}}}catch(t){gt(t)}};const pt=t=>(t&2)!==0;const yt=t=>xt.m=t;const ht=new WeakMap;const mt=t=>ht.get(t);const bt=(t,n)=>ht.set(n.M=t,n);const wt=(t,n)=>{const e={u:0,$hostElement$:t,$:n,U:new Map};{e.N=new Promise((t=>e.L=t))}{e.D=new Promise((t=>e.R=t));t["s-p"]=[];t["s-rc"]=[]}dt(t,e,n.T);return ht.set(t,e)};const $t=(t,n)=>n in t;const gt=(t,n)=>(0,console.error)(t,n);const St=new Map;const jt=(t,n,e)=>{const s=t.S.replace(/-/g,"_");const o=t.q;const l=St.get(o);if(l){return l[s]}
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${o}.entry.js${""}`).then((t=>{{St.set(o,t)}return t[s]}),gt)};const kt=new Map;const Ot=typeof window!=="undefined"?window:{};const Ct=Ot.document||{head:{}};const xt={u:0,H:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,s)=>t.addEventListener(n,e,s),rel:(t,n,e,s)=>t.removeEventListener(n,e,s),ce:(t,n)=>new CustomEvent(t,n)};const Mt=t=>Promise.resolve(t);const Pt=(()=>{try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(t){}return false})();const Et=[];const Rt=[];const Lt=(t,n)=>e=>{t.push(e);if(!o){o=true;if(n&&xt.u&4){At(Wt)}else{xt.raf(Wt)}}};const Ut=t=>{for(let n=0;n<t.length;n++){try{t[n](performance.now())}catch(t){gt(t)}}t.length=0};const Wt=()=>{Ut(Et);{Ut(Rt);if(o=Et.length>0){xt.raf(Wt)}}};const At=t=>Mt().then(t);const Nt=Lt(Rt,true);export{b as H,at as b,O as c,k as g,h,Mt as p,bt as r,yt as s};
|
|
3
|
+
//# sourceMappingURL=p-6cd4fa1e.js.map
|