@haiilo/catalyst 8.1.0 → 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 +4 -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 +2 -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 +2 -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
|
@@ -1,67 +1,67 @@
|
|
|
1
1
|
import { Placement } from '@floating-ui/dom';
|
|
2
2
|
export declare class CatTooltip {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
3
|
+
private static readonly OFFSET;
|
|
4
|
+
private static readonly SHIFT_PADDING;
|
|
5
|
+
private readonly id;
|
|
6
|
+
private tooltip?;
|
|
7
|
+
private trigger?;
|
|
8
|
+
private showTimeout?;
|
|
9
|
+
private hideTimeout?;
|
|
10
|
+
private touchTimeout?;
|
|
11
|
+
private inactive;
|
|
12
|
+
private cleanupFloatingUi?;
|
|
13
|
+
private readonly boundShowListener;
|
|
14
|
+
private readonly boundHideListener;
|
|
15
|
+
private readonly boundWindowTouchStartListener;
|
|
16
|
+
private readonly boundTouchStartListener;
|
|
17
|
+
private readonly boundTouchEndListener;
|
|
18
|
+
constructor();
|
|
19
|
+
hostElement: HTMLElement;
|
|
20
|
+
open: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* The content of the tooltip.
|
|
23
|
+
*/
|
|
24
|
+
content: string;
|
|
25
|
+
/**
|
|
26
|
+
* Specifies that the tooltip should be disabled. A disabled tooltip is unusable,
|
|
27
|
+
* and invisible. Corresponds with the native HTML disabled attribute.
|
|
28
|
+
*/
|
|
29
|
+
disabled: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* The placement of the tooltip.
|
|
32
|
+
*/
|
|
33
|
+
placement: Placement;
|
|
34
|
+
/**
|
|
35
|
+
* Use round tooltip edges.
|
|
36
|
+
*/
|
|
37
|
+
round: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* The size of the tooltip.
|
|
40
|
+
*/
|
|
41
|
+
size: 's' | 'm' | 'l';
|
|
42
|
+
/**
|
|
43
|
+
* The delay time for showing tooltip in ms.
|
|
44
|
+
*/
|
|
45
|
+
showDelay: number;
|
|
46
|
+
/**
|
|
47
|
+
* The delay time for hiding tooltip in ms.
|
|
48
|
+
*/
|
|
49
|
+
hideDelay: number;
|
|
50
|
+
/**
|
|
51
|
+
* The duration of tap to show the tooltip.
|
|
52
|
+
*/
|
|
53
|
+
longTouchDuration: number;
|
|
54
|
+
handleKeyDown({ key }: KeyboardEvent): void;
|
|
55
|
+
componentDidLoad(): void;
|
|
56
|
+
componentWillRender(): void;
|
|
57
|
+
disconnectedCallback(): void;
|
|
58
|
+
render(): any;
|
|
59
|
+
private update;
|
|
60
|
+
private showListener;
|
|
61
|
+
private hideListener;
|
|
62
|
+
private touchStartListener;
|
|
63
|
+
private touchEndListener;
|
|
64
|
+
private windowTouchStartListener;
|
|
65
|
+
private showTooltip;
|
|
66
|
+
private hideTooltip;
|
|
67
67
|
}
|
|
@@ -932,6 +932,10 @@ export namespace Components {
|
|
|
932
932
|
* Specifies that the tab should be deactivated.
|
|
933
933
|
*/
|
|
934
934
|
"deactivated": boolean;
|
|
935
|
+
/**
|
|
936
|
+
* Specifies that the tab content pane contains an error. This will color the tab in an error state and also switch to an error icon if an icon is specified.
|
|
937
|
+
*/
|
|
938
|
+
"error": boolean;
|
|
935
939
|
/**
|
|
936
940
|
* The name of an icon to be displayed in the tab.
|
|
937
941
|
*/
|
|
@@ -1571,7 +1575,7 @@ declare global {
|
|
|
1571
1575
|
new (): HTMLCatSpinnerElement;
|
|
1572
1576
|
};
|
|
1573
1577
|
interface HTMLCatTabElementEventMap {
|
|
1574
|
-
"
|
|
1578
|
+
"catClick": MouseEvent;
|
|
1575
1579
|
}
|
|
1576
1580
|
/**
|
|
1577
1581
|
* A single tab inside a tabs component.
|
|
@@ -2664,6 +2668,10 @@ declare namespace LocalJSX {
|
|
|
2664
2668
|
* Specifies that the tab should be deactivated.
|
|
2665
2669
|
*/
|
|
2666
2670
|
"deactivated"?: boolean;
|
|
2671
|
+
/**
|
|
2672
|
+
* Specifies that the tab content pane contains an error. This will color the tab in an error state and also switch to an error icon if an icon is specified.
|
|
2673
|
+
*/
|
|
2674
|
+
"error"?: boolean;
|
|
2667
2675
|
/**
|
|
2668
2676
|
* The name of an icon to be displayed in the tab.
|
|
2669
2677
|
*/
|
|
@@ -2687,7 +2695,7 @@ declare namespace LocalJSX {
|
|
|
2687
2695
|
/**
|
|
2688
2696
|
* Emitted when tab is clicked.
|
|
2689
2697
|
*/
|
|
2690
|
-
"
|
|
2698
|
+
"onCatClick"?: (event: CatTabCustomEvent<MouseEvent>) => void;
|
|
2691
2699
|
/**
|
|
2692
2700
|
* A destination to link to, rendered in the href attribute of a link.
|
|
2693
2701
|
*/
|
|
@@ -810,6 +810,9 @@ export declare namespace JSXBase {
|
|
|
810
810
|
name?: string;
|
|
811
811
|
type?: string;
|
|
812
812
|
value?: string | string[] | number;
|
|
813
|
+
popoverTargetAction?: string;
|
|
814
|
+
popoverTargetElement?: Element | null;
|
|
815
|
+
popoverTarget?: string;
|
|
813
816
|
}
|
|
814
817
|
interface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
815
818
|
height?: number | string;
|
|
@@ -971,6 +974,9 @@ export declare namespace JSXBase {
|
|
|
971
974
|
webkitdirectory?: boolean;
|
|
972
975
|
webkitEntries?: any;
|
|
973
976
|
width?: number | string;
|
|
977
|
+
popoverTargetAction?: string;
|
|
978
|
+
popoverTargetElement?: Element | null;
|
|
979
|
+
popoverTarget?: string;
|
|
974
980
|
}
|
|
975
981
|
interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
976
982
|
autoFocus?: boolean;
|
|
@@ -1223,6 +1229,7 @@ export declare namespace JSXBase {
|
|
|
1223
1229
|
draggable?: boolean;
|
|
1224
1230
|
hidden?: boolean;
|
|
1225
1231
|
id?: string;
|
|
1232
|
+
inert?: boolean;
|
|
1226
1233
|
lang?: string;
|
|
1227
1234
|
spellcheck?: 'true' | 'false' | any;
|
|
1228
1235
|
style?: {
|
|
@@ -1231,6 +1238,7 @@ export declare namespace JSXBase {
|
|
|
1231
1238
|
tabIndex?: number;
|
|
1232
1239
|
tabindex?: number | string;
|
|
1233
1240
|
title?: string;
|
|
1241
|
+
popover?: string | null;
|
|
1234
1242
|
inputMode?: string;
|
|
1235
1243
|
inputmode?: string;
|
|
1236
1244
|
enterKeyHint?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const _breakpoints: readonly ["xs", "s", "m", "l", "xl"];
|
|
2
2
|
export type Breakpoint = (typeof _breakpoints)[number];
|
|
3
3
|
export declare const Breakpoints: {
|
|
4
|
-
|
|
4
|
+
[breakpoint in Breakpoint]: string;
|
|
5
5
|
};
|
|
6
6
|
export declare function isBreakpoint(value: unknown): value is Breakpoint;
|
|
7
7
|
export {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/** A utility for calling matchMedia queries. */
|
|
2
2
|
export declare class MediaMatcher {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
3
|
+
private _platform;
|
|
4
|
+
private _matchMedia;
|
|
5
|
+
constructor();
|
|
6
|
+
/**
|
|
7
|
+
* Evaluates the given media query and returns the native MediaQueryList from which results
|
|
8
|
+
* can be retrieved.
|
|
9
|
+
* Confirms the layout engine will trigger for the selector query provided and returns the
|
|
10
|
+
* MediaQueryList for the query provided.
|
|
11
|
+
*/
|
|
12
|
+
matchMedia(query: string): MediaQueryList;
|
|
13
13
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
export declare class Platform {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
2
|
+
/** Whether the current browser is Microsoft Edge. */
|
|
3
|
+
EDGE: boolean;
|
|
4
|
+
/** Whether the current rendering engine is Microsoft Trident. */
|
|
5
|
+
TRIDENT: boolean;
|
|
6
|
+
/** Whether the current rendering engine is Blink. */
|
|
7
|
+
BLINK: boolean;
|
|
8
|
+
/** Whether the current rendering engine is WebKit. */
|
|
9
|
+
WEBKIT: boolean;
|
|
10
|
+
/** Whether the current platform is Apple iOS. */
|
|
11
|
+
IOS: boolean;
|
|
12
|
+
/** Whether the current browser is Firefox. */
|
|
13
|
+
FIREFOX: boolean;
|
|
14
|
+
/** Whether the current platform is Android. */
|
|
15
|
+
ANDROID: boolean;
|
|
16
|
+
/** Whether the current browser is Safari. */
|
|
17
|
+
SAFARI: boolean;
|
|
18
18
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare function setAttributeDefault<T extends {
|
|
2
|
-
|
|
2
|
+
hostElement: HTMLElement;
|
|
3
3
|
}>(host: T, attr: string, value: unknown): void;
|
|
4
4
|
export declare function setAttribute<T extends {
|
|
5
|
-
|
|
5
|
+
hostElement: HTMLElement;
|
|
6
6
|
}>(host: T, attr: string, value: unknown): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@haiilo/catalyst",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.2.0",
|
|
4
4
|
"description": "Catalyst Design System",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@floating-ui/dom": "1.5.3",
|
|
32
|
-
"@stencil/core": "4.
|
|
32
|
+
"@stencil/core": "4.8.0",
|
|
33
33
|
"autosize": "6.0.1",
|
|
34
34
|
"autosize-input": "1.0.2",
|
|
35
35
|
"flatpickr": "4.6.13",
|
|
@@ -38,35 +38,35 @@
|
|
|
38
38
|
"sanitize.css": "13.0.0",
|
|
39
39
|
"tabbable": "6.2.0",
|
|
40
40
|
"toastify-js": "1.12.0",
|
|
41
|
-
"@haiilo/catalyst-tokens": "8.
|
|
41
|
+
"@haiilo/catalyst-tokens": "8.2.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@babel/core": "^7.
|
|
45
|
-
"@haiilo/catalyst-icons": "^1.0
|
|
44
|
+
"@babel/core": "^7.23.3",
|
|
45
|
+
"@haiilo/catalyst-icons": "^2.1.0",
|
|
46
46
|
"@stencil/angular-output-target": "^0.8.3",
|
|
47
47
|
"@stencil/react-output-target": "^0.5.3",
|
|
48
48
|
"@stencil/sass": "^3.0.7",
|
|
49
49
|
"@stencil/vue-output-target": "^0.8.7",
|
|
50
|
-
"@types/autosize": "^4.0.
|
|
51
|
-
"@types/jest": "^
|
|
52
|
-
"@types/node": "^18.18.
|
|
53
|
-
"@types/toastify-js": "^1.12.
|
|
54
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
55
|
-
"@typescript-eslint/parser": "^6.
|
|
50
|
+
"@types/autosize": "^4.0.3",
|
|
51
|
+
"@types/jest": "^29.5.10",
|
|
52
|
+
"@types/node": "^18.18.13",
|
|
53
|
+
"@types/toastify-js": "^1.12.3",
|
|
54
|
+
"@typescript-eslint/eslint-plugin": "^6.13.1",
|
|
55
|
+
"@typescript-eslint/parser": "^6.13.1",
|
|
56
56
|
"babel-loader": "^9.1.3",
|
|
57
|
-
"eslint": "^8.
|
|
57
|
+
"eslint": "^8.54.0",
|
|
58
58
|
"eslint-config-prettier": "^9.0.0",
|
|
59
|
-
"jest": "^
|
|
60
|
-
"jest-cli": "^
|
|
61
|
-
"prettier": "^3.0
|
|
62
|
-
"puppeteer": "^
|
|
63
|
-
"replace-in-file": "^7.0.
|
|
59
|
+
"jest": "^29.7.0",
|
|
60
|
+
"jest-cli": "^29.7.0",
|
|
61
|
+
"prettier": "^3.1.0",
|
|
62
|
+
"puppeteer": "^21.5.2",
|
|
63
|
+
"replace-in-file": "^7.0.2",
|
|
64
64
|
"rxjs": "^7.5.5",
|
|
65
65
|
"stencil-inline-svg": "^1.1.0",
|
|
66
66
|
"stylelint": "^15.11.0",
|
|
67
67
|
"stylelint-config-prettier-scss": "^1.0.0",
|
|
68
68
|
"stylelint-config-standard-scss": "^11.1.0",
|
|
69
|
-
"typescript": "~5.
|
|
69
|
+
"typescript": "~5.3.2"
|
|
70
70
|
},
|
|
71
71
|
"scripts": {
|
|
72
72
|
"build": "stencil build --docs",
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
const t="catalyst";let e;let n;let s=false;let o=false;const l=(t,e="")=>{{return()=>{}}};const c=(t,e)=>{{return()=>{}}};const i="{visibility:hidden}.hydrated{visibility:inherit}";const f="http://www.w3.org/1999/xlink";const r={};const u="http://www.w3.org/2000/svg";const a="http://www.w3.org/1999/xhtml";const d=t=>t!=null;const p=t=>{t=typeof t;return t==="object"||t==="function"};function h(t){var e,n,s;return(s=(n=(e=t.head)===null||e===void 0?void 0:e.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&s!==void 0?s:undefined}const y=(t,e,...n)=>{let s=null;let o=null;let l=false;let c=false;const i=[];const f=e=>{for(let n=0;n<e.length;n++){s=e[n];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?v(null,s):s)}c=l}}};f(n);if(e){if(e.key){o=e.key}{const t=e.className||e.class;if(t){e.class=typeof t!=="object"?t:Object.keys(t).filter((e=>t[e])).join(" ")}}}if(typeof t==="function"){return t(e===null?{}:e,i,b)}const r=v(t,null);r.o=e;if(i.length>0){r.l=i}{r.i=o}return r};const v=(t,e)=>{const n={u:0,p:t,t:e,h:null,l:null};{n.o=null}{n.i=null}return n};const m={};const w=t=>t&&t.p===m;const b={forEach:(t,e)=>t.map($).forEach(e),map:(t,e)=>t.map($).map(e).map(g)};const $=t=>({vattrs:t.o,vchildren:t.l,vkey:t.i,vname:t.v,vtag:t.p,vtext:t.t});const g=t=>{if(typeof t.vtag==="function"){const e=Object.assign({},t.vattrs);if(t.vkey){e.key=t.vkey}if(t.vname){e.name=t.vname}return y(t.vtag,e,...t.vchildren||[])}const e=v(t.vtag,t.vtext);e.o=t.vattrs;e.l=t.vchildren;e.i=t.vkey;e.v=t.vname;return e};const S=(t,e)=>{if(t!=null&&!p(t)){if(e&4){return t==="false"?false:t===""||!!t}if(e&2){return parseFloat(t)}if(e&1){return String(t)}return t}return t};const j=t=>vt(t).$hostElement$;const k=(t,e,n)=>{const s=j(t);return{emit:t=>O(s,e,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:t})}};const O=(t,e,n)=>{const s=Ct.ce(e,n);t.dispatchEvent(s);return s};const C=new WeakMap;const x=(t,e,n)=>{let s=jt.get(t);if(Mt&&n){s=s||new CSSStyleSheet;if(typeof s==="string"){s=e}else{s.replaceSync(e)}}else{s=e}jt.set(t,s)};const M=(t,e,n)=>{var s;const o=E(e);const l=jt.get(o);t=t.nodeType===11?t:Ot;if(l){if(typeof l==="string"){t=t.head||t;let e=C.get(t);let n;if(!e){C.set(t,e=new Set)}if(!e.has(o)){{n=Ot.createElement("style");n.innerHTML=l;const e=(s=Ct.m)!==null&&s!==void 0?s:h(Ot);if(e!=null){n.setAttribute("nonce",e)}t.insertBefore(n,t.querySelector("link"))}if(e){e.add(o)}}}else if(!t.adoptedStyleSheets.includes(l)){t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]}}return o};const P=t=>{const e=t.$;const n=t.$hostElement$;const s=e.u;const o=l("attachStyles",e.S);const c=M(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);if(s&10){n["s-sc"]=c;n.classList.add(c+"-h")}o()};const E=(t,e)=>"sc-"+t.S;const R=(t,e,n,s,o,l)=>{if(n!==s){let c=bt(t,e);let i=e.toLowerCase();if(e==="class"){const e=t.classList;const o=U(n);const l=U(s);e.remove(...o.filter((t=>t&&!l.includes(t))));e.add(...l.filter((t=>t&&!o.includes(t))))}else if(e==="style"){{for(const e in n){if(!s||s[e]==null){if(e.includes("-")){t.style.removeProperty(e)}else{t.style[e]=""}}}}for(const e in s){if(!n||s[e]!==n[e]){if(e.includes("-")){t.style.setProperty(e,s[e])}else{t.style[e]=s[e]}}}}else if(e==="key");else if(e==="ref"){if(s){s(t)}}else if(!c&&e[0]==="o"&&e[1]==="n"){if(e[2]==="-"){e=e.slice(3)}else if(bt(kt,i)){e=i.slice(2)}else{e=i[2]+e.slice(3)}if(n||s){const o=e.endsWith(W);e=e.replace(A,"");if(n){Ct.rel(t,e,n,o)}if(s){Ct.ael(t,e,s,o)}}}else{const r=p(s);if((c||r&&s!==null)&&!o){try{if(!t.tagName.includes("-")){const o=s==null?"":s;if(e==="list"){c=false}else if(n==null||t[e]!=o){t[e]=o}}else{t[e]=s}}catch(t){}}let u=false;{if(i!==(i=i.replace(/^xlink\:?/,""))){e=i;u=true}}if(s==null||s===false){if(s!==false||t.getAttribute(e)===""){if(u){t.removeAttributeNS(f,e)}else{t.removeAttribute(e)}}}else if((!c||l&4||o)&&!r){s=s===true?"":s;if(u){t.setAttributeNS(f,e,s)}else{t.setAttribute(e,s)}}}}};const L=/\s/;const U=t=>!t?[]:t.split(L);const W="Capture";const A=new RegExp(W+"$");const N=(t,e,n,s)=>{const o=e.h.nodeType===11&&e.h.host?e.h.host:e.h;const l=t&&t.o||r;const c=e.o||r;{for(s in l){if(!(s in c)){R(o,s,l[s],undefined,n,e.u)}}}for(s in c){R(o,s,l[s],c[s],n,e.u)}};const T=(t,n,o,l)=>{const c=n.l[o];let i=0;let f;let r;if(c.t!==null){f=c.h=Ot.createTextNode(c.t)}else{if(!s){s=c.p==="svg"}f=c.h=Ot.createElementNS(s?u:a,c.p);if(s&&c.p==="foreignObject"){s=false}{N(null,c,s)}if(d(e)&&f["s-si"]!==e){f.classList.add(f["s-si"]=e)}if(c.l){for(i=0;i<c.l.length;++i){r=T(t,c,i);if(r){f.appendChild(r)}}}{if(c.p==="svg"){s=false}else if(f.tagName==="foreignObject"){s=true}}}return f};const D=(t,e,s,o,l,c)=>{let i=t;let f;if(i.shadowRoot&&i.tagName===n){i=i.shadowRoot}for(;l<=c;++l){if(o[l]){f=T(null,s,l);if(f){o[l].h=f;i.insertBefore(f,e)}}}};const F=(t,e,n)=>{for(let s=e;s<=n;++s){const e=t[s];if(e){const t=e.h;V(e);if(t){t.remove()}}}};const H=(t,e,n,s)=>{let o=0;let l=0;let c=0;let i=0;let f=e.length-1;let r=e[0];let u=e[f];let a=s.length-1;let d=s[0];let p=s[a];let h;let y;while(o<=f&&l<=a){if(r==null){r=e[++o]}else if(u==null){u=e[--f]}else if(d==null){d=s[++l]}else if(p==null){p=s[--a]}else if(q(r,d)){I(r,d);r=e[++o];d=s[++l]}else if(q(u,p)){I(u,p);u=e[--f];p=s[--a]}else if(q(r,p)){I(r,p);t.insertBefore(r.h,u.h.nextSibling);r=e[++o];p=s[--a]}else if(q(u,d)){I(u,d);t.insertBefore(u.h,r.h);u=e[--f];d=s[++l]}else{c=-1;{for(i=o;i<=f;++i){if(e[i]&&e[i].i!==null&&e[i].i===d.i){c=i;break}}}if(c>=0){y=e[c];if(y.p!==d.p){h=T(e&&e[l],n,c)}else{I(y,d);e[c]=undefined;h=y.h}d=s[++l]}else{h=T(e&&e[l],n,l);d=s[++l]}if(h){{r.h.parentNode.insertBefore(h,r.h)}}}}if(o>f){D(t,s[a+1]==null?null:s[a+1].h,n,s,l,a)}else if(l>a){F(e,o,f)}};const q=(t,e)=>{if(t.p===e.p){{return t.i===e.i}}return false};const I=(t,e)=>{const n=e.h=t.h;const o=t.l;const l=e.l;const c=e.p;const i=e.t;if(i===null){{s=c==="svg"?true:c==="foreignObject"?false:s}{if(c==="slot");else{N(t,e,s)}}if(o!==null&&l!==null){H(n,o,e,l)}else if(l!==null){if(t.t!==null){n.textContent=""}D(n,null,e,l,0,l.length-1)}else if(o!==null){F(o,0,o.length-1)}if(s&&c==="svg"){s=false}}else if(t.t!==i){n.data=i}};const V=t=>{{t.o&&t.o.ref&&t.o.ref(null);t.l&&t.l.map(V)}};const _=(t,s,o=false)=>{const l=t.$hostElement$;const c=t.$;const i=t.j||v(null,null);const f=w(s)?s:y(null,null,s);n=l.tagName;if(c.k){f.o=f.o||{};c.k.map((([t,e])=>f.o[e]=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.p=null;f.u|=4;t.j=f;f.h=i.h=l.shadowRoot||l;{e=l["s-sc"]}I(i,f)};const z=(t,e)=>{if(e&&!t.O&&e["s-p"]){e["s-p"].push(new Promise((e=>t.O=e)))}};const B=(t,e)=>{{t.u|=16}if(t.u&4){t.u|=512;return}z(t,t.C);const n=()=>G(t,e);return At(n)};const G=(t,e)=>{const n=l("scheduleUpdate",t.$.S);const s=t.M;let o;if(e){{t.u|=256;if(t.P){t.P.map((([t,e])=>tt(s,t,e)));t.P=undefined}}{o=tt(s,"componentWillLoad")}}{o=J(o,(()=>tt(s,"componentWillRender")))}n();return J(o,(()=>Q(t,s,e)))};const J=(t,e)=>K(t)?t.then(e):e();const K=t=>t instanceof Promise||t&&t.then&&typeof t.then==="function";const Q=async(t,e,n)=>{var s;const o=t.$hostElement$;const c=l("update",t.$.S);const i=o["s-rc"];if(n){P(t)}const f=l("render",t.$.S);{X(t,e,o,n)}if(i){i.map((t=>t()));o["s-rc"]=undefined}f();c();{const e=(s=o["s-p"])!==null&&s!==void 0?s:[];const n=()=>Y(t);if(e.length===0){n()}else{Promise.all(e).then(n);t.u|=4;e.length=0}}};const X=(t,e,n,s)=>{try{e=e.render();{t.u&=~16}{t.u|=2}{{{_(t,e,s)}}}}catch(e){$t(e,t.$hostElement$)}return null};const Y=t=>{const e=t.$.S;const n=t.$hostElement$;const s=l("postUpdate",e);const o=t.M;const c=t.C;{tt(o,"componentDidRender")}if(!(t.u&64)){t.u|=64;{et(n)}{tt(o,"componentDidLoad")}s();{t.R(n);if(!c){Z()}}}else{s()}{t.L(n)}{if(t.O){t.O();t.O=undefined}if(t.u&512){Wt((()=>B(t,false)))}t.u&=~(4|512)}};const Z=e=>{{et(Ot.documentElement)}Wt((()=>O(kt,"appload",{detail:{namespace:t}})))};const tt=(t,e,n)=>{if(t&&t[e]){try{return t[e](n)}catch(t){$t(t)}}return undefined};const et=t=>t.classList.add("hydrated");const nt=(t,e)=>vt(t).U.get(e);const st=(t,e,n,s)=>{const o=vt(t);const l=o.$hostElement$;const c=o.U.get(e);const i=o.u;const f=o.M;n=S(n,s.W[e][0]);const r=Number.isNaN(c)&&Number.isNaN(n);const u=n!==c&&!r;if((!(i&8)||c===undefined)&&u){o.U.set(e,n);if(f){if(s.A&&i&128){const t=s.A[e];if(t){t.map((t=>{try{f[t](n,c,e)}catch(t){$t(t,l)}}))}}if((i&(2|16))===2){B(o,false)}}}};const ot=(t,e,n)=>{var s;if(e.W){if(t.watchers){e.A=t.watchers}const o=Object.entries(e.W);const l=t.prototype;o.map((([t,[s]])=>{if(s&31||n&2&&s&32){Object.defineProperty(l,t,{get(){return nt(this,t)},set(n){st(this,t,n,e)},configurable:true,enumerable:true})}else if(n&1&&s&64){Object.defineProperty(l,t,{value(...e){const n=vt(this);return n.N.then((()=>n.M[t](...e)))}})}}));if(n&1){const n=new Map;l.attributeChangedCallback=function(t,s,o){Ct.jmp((()=>{const c=n.get(t);if(this.hasOwnProperty(c)){o=this[c];delete this[c]}else if(l.hasOwnProperty(c)&&typeof this[c]==="number"&&this[c]==o){return}else if(c==null){const n=vt(this);const l=n===null||n===void 0?void 0:n.u;if(!(l&8)&&l&128&&o!==s){const l=n.M;const c=e.A[t];c===null||c===void 0?void 0:c.forEach((e=>{if(l[e]!=null){l[e].call(l,o,s,t)}}))}return}this[c]=o===null&&typeof this[c]==="boolean"?false:o}))};t.observedAttributes=Array.from(new Set([...Object.keys((s=e.A)!==null&&s!==void 0?s:{}),...o.filter((([t,e])=>e[0]&15)).map((([t,s])=>{const o=s[1]||t;n.set(o,t);if(s[0]&512){e.k.push([t,o])}return o}))]))}}return t};const lt=async(t,e,n,s)=>{let o;if((e.u&32)===0){e.u|=32;{o=St(n);if(o.then){const t=c();o=await o;t()}if(!o.isProxied){{n.A=o.watchers}ot(o,n,2);o.isProxied=true}const t=l("createInstance",n.S);{e.u|=8}try{new o(e)}catch(t){$t(t)}{e.u&=~8}{e.u|=128}t();ct(e.M)}if(o.style){let t=o.style;const e=E(n);if(!jt.has(e)){const s=l("registerStyles",n.S);x(e,t,!!(n.u&1));s()}}}const i=e.C;const f=()=>B(e,true);if(i&&i["s-rc"]){i["s-rc"].push(f)}else{f()}};const ct=t=>{{tt(t,"connectedCallback")}};const it=t=>{if((Ct.u&1)===0){const e=vt(t);const n=e.$;const s=l("connectedCallback",n.S);if(!(e.u&1)){e.u|=1;{let n=t;while(n=n.parentNode||n.host){if(n["s-p"]){z(e,e.C=n);break}}}if(n.W){Object.entries(n.W).map((([e,[n]])=>{if(n&31&&t.hasOwnProperty(e)){const n=t[e];delete t[e];t[e]=n}}))}{lt(t,e,n)}}else{at(t,e,n.T);if(e===null||e===void 0?void 0:e.M){ct(e.M)}else if(e===null||e===void 0?void 0:e.D){e.D.then((()=>ct(e.M)))}}s()}};const ft=t=>{{tt(t,"disconnectedCallback")}};const rt=async t=>{if((Ct.u&1)===0){const e=vt(t);{if(e.F){e.F.map((t=>t()));e.F=undefined}}if(e===null||e===void 0?void 0:e.M){ft(e.M)}else if(e===null||e===void 0?void 0:e.D){e.D.then((()=>ft(e.M)))}}};const ut=(t,e={})=>{var n;const s=l();const o=[];const c=e.exclude||[];const f=kt.customElements;const r=Ot.head;const u=r.querySelector("meta[charset]");const a=Ot.createElement("style");const d=[];let p;let y=true;Object.assign(Ct,e);Ct.H=new URL(e.resourcesUrl||"./",Ot.baseURI).href;t.map((t=>{t[1].map((e=>{var n;const s={u:e[0],S:e[1],W:e[2],T:e[3]};{s.W=e[2]}{s.T=e[3]}{s.k=[]}{s.A=(n=e[4])!==null&&n!==void 0?n:{}}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(y){d.push(this)}else{Ct.jmp((()=>it(this)))}}disconnectedCallback(){Ct.jmp((()=>rt(this)))}componentOnReady(){return vt(this).D}};s.q=t[0];if(!c.includes(l)&&!f.get(l)){o.push(l);f.define(l,ot(i,s,1))}}))}));{a.innerHTML=o+i;a.setAttribute("data-styles","");const t=(n=Ct.m)!==null&&n!==void 0?n:h(Ot);if(t!=null){a.setAttribute("nonce",t)}r.insertBefore(a,u?u.nextSibling:r.firstChild)}y=false;if(d.length){d.map((t=>t.connectedCallback()))}else{{Ct.jmp((()=>p=setTimeout(Z,30)))}}s()};const at=(t,e,n,s)=>{if(n){n.map((([n,s,o])=>{const l=t;const c=dt(e,o);const i=pt(n);Ct.ael(l,s,c,i);(e.F=e.F||[]).push((()=>Ct.rel(l,s,c,i)))}))}};const dt=(t,e)=>n=>{try{{if(t.u&256){t.M[e](n)}else{(t.P=t.P||[]).push([e,n])}}}catch(t){$t(t)}};const pt=t=>(t&2)!==0;const ht=t=>Ct.m=t;const yt=new WeakMap;const vt=t=>yt.get(t);const mt=(t,e)=>yt.set(e.M=t,e);const wt=(t,e)=>{const n={u:0,$hostElement$:t,$:e,U:new Map};{n.N=new Promise((t=>n.L=t))}{n.D=new Promise((t=>n.R=t));t["s-p"]=[];t["s-rc"]=[]}at(t,n,e.T);return yt.set(t,n)};const bt=(t,e)=>e in t;const $t=(t,e)=>(0,console.error)(t,e);const gt=new Map;const St=(t,e,n)=>{const s=t.S.replace(/-/g,"_");const o=t.q;const l=gt.get(o);if(l){return l[s]}
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${o}.entry.js${""}`).then((t=>{{gt.set(o,t)}return t[s]}),$t)};const jt=new Map;const kt=typeof window!=="undefined"?window:{};const Ot=kt.document||{head:{}};const Ct={u:0,H:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,s)=>t.addEventListener(e,n,s),rel:(t,e,n,s)=>t.removeEventListener(e,n,s),ce:(t,e)=>new CustomEvent(t,e)};const xt=t=>Promise.resolve(t);const Mt=(()=>{try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(t){}return false})();const Pt=[];const Et=[];const Rt=(t,e)=>n=>{t.push(n);if(!o){o=true;if(e&&Ct.u&4){Wt(Ut)}else{Ct.raf(Ut)}}};const Lt=t=>{for(let e=0;e<t.length;e++){try{t[e](performance.now())}catch(t){$t(t)}}t.length=0};const Ut=()=>{Lt(Pt);{Lt(Et);if(o=Pt.length>0){Ct.raf(Ut)}}};const Wt=t=>xt().then(t);const At=Rt(Et,true);export{m as H,ut as b,k as c,j as g,y as h,xt as p,mt as r,ht as s};
|
|
3
|
-
//# sourceMappingURL=p-1bd44896.js.map
|