@swisspost/design-system-components 10.0.0-next.70 → 10.0.0-next.72
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/cjs/breakpoints-B0Olgvgc.js +206 -0
- package/dist/cjs/component-on-ready-CifOTqw1.js +24 -0
- package/dist/cjs/create-validator-decorator-Bnx17kwi.js +223 -0
- package/dist/cjs/{focusable-ZqET_zrB.js → focusable-COT2uiEV.js} +25 -4
- package/dist/cjs/{index-DPdHkdGf.js → index-ngUOBQot.js} +17 -13
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/nanoid-CmjyF1Cm.js +20 -0
- package/dist/cjs/one-of-BHyX4vYq.js +27 -0
- package/dist/cjs/{package-Ds_LS1pB.js → package-Bi-tiNRc.js} +1 -1
- package/dist/cjs/pattern-BgBx5zGQ.js +27 -0
- package/dist/cjs/post-accordion_2.cjs.entry.js +18 -24
- package/dist/cjs/post-autocomplete.cjs.entry.js +27 -14
- package/dist/cjs/post-avatar.cjs.entry.js +33 -54
- package/dist/cjs/post-back-to-top.cjs.entry.js +21 -12
- package/dist/cjs/post-banner.cjs.entry.js +9 -14
- package/dist/cjs/post-breadcrumb-item.cjs.entry.js +48 -41
- package/dist/cjs/post-breadcrumbs.cjs.entry.js +106 -105
- package/dist/cjs/post-closebutton_14.cjs.entry.js +257 -288
- package/dist/cjs/post-collapsible_2.cjs.entry.js +57 -40
- package/dist/cjs/post-components.cjs.js +2 -2
- package/dist/cjs/post-date-picker.cjs.entry.js +154 -144
- package/dist/cjs/post-footer.cjs.entry.js +26 -19
- package/dist/cjs/post-linkarea.cjs.entry.js +3 -3
- package/dist/cjs/post-listbox-option.cjs.entry.js +4 -4
- package/dist/cjs/post-listbox.cjs.entry.js +4 -6
- package/dist/cjs/post-login-widget.cjs.entry.js +35 -3
- package/dist/cjs/post-number-input.cjs.entry.js +6 -6
- package/dist/cjs/post-pagination.cjs.entry.js +53 -83
- package/dist/cjs/post-popover-trigger.cjs.entry.js +22 -19
- package/dist/cjs/post-popover.cjs.entry.js +25 -23
- package/dist/cjs/post-progressbar.cjs.entry.js +147 -0
- package/dist/cjs/post-rating.cjs.entry.js +34 -35
- package/dist/cjs/post-stepper-item.cjs.entry.js +3 -3
- package/dist/cjs/post-stepper.cjs.entry.js +49 -38
- package/dist/cjs/post-tab-item.cjs.entry.js +23 -15
- package/dist/cjs/post-tab-panel.cjs.entry.js +23 -16
- package/dist/cjs/post-tabs.cjs.entry.js +24 -30
- package/dist/cjs/post-tooltip-trigger.cjs.entry.js +34 -21
- package/dist/cjs/post-tooltip.cjs.entry.js +19 -16
- package/dist/cjs/required-lRDOdbd6.js +44 -0
- package/dist/cjs/type-shT641Eo.js +30 -0
- package/dist/cjs/url-DRUMqVBq.js +34 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/post-accordion/post-accordion.js +11 -8
- package/dist/collection/components/post-accordion-item/post-accordion-item.js +4 -18
- package/dist/collection/components/post-autocomplete/post-autocomplete.js +23 -13
- package/dist/collection/components/post-avatar/avatar-utils.js +2 -2
- package/dist/collection/components/post-avatar/post-avatar.js +29 -72
- package/dist/collection/components/post-back-to-top/post-back-to-top.js +17 -10
- package/dist/collection/components/post-banner/post-banner.js +7 -14
- package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.css +1 -1
- package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.js +92 -47
- package/dist/collection/components/post-breadcrumb-item/variants.js +1 -0
- package/dist/collection/components/post-breadcrumbs/post-breadcrumbs.css +1 -1
- package/dist/collection/components/post-breadcrumbs/post-breadcrumbs.js +110 -114
- package/dist/collection/components/post-closebutton/post-closebutton.js +24 -27
- package/dist/collection/components/post-collapsible/post-collapsible.js +26 -16
- package/dist/collection/components/post-collapsible-trigger/post-collapsible-trigger.js +34 -30
- package/dist/collection/components/post-date-picker/post-date-picker.css +1 -1
- package/dist/collection/components/post-date-picker/post-date-picker.js +64 -96
- package/dist/collection/components/post-footer/post-footer.js +17 -13
- package/dist/collection/components/post-header/post-header.js +18 -24
- package/dist/collection/components/post-icon/post-icon.js +36 -48
- package/dist/collection/components/post-language-menu/post-language-menu.js +16 -22
- package/dist/collection/components/post-language-menu-item/post-language-menu-item.js +28 -39
- package/dist/collection/components/post-linkarea/post-linkarea.js +2 -2
- package/dist/collection/components/post-listbox/post-listbox.js +3 -5
- package/dist/collection/components/post-listbox-option/post-listbox-option.js +3 -3
- package/dist/collection/components/post-login-widget/post-login-widget.css +1 -0
- package/dist/collection/components/post-login-widget/post-login-widget.js +103 -5
- package/dist/collection/components/post-logo/post-logo.js +16 -13
- package/dist/collection/components/post-mainnavigation/post-mainnavigation.js +17 -13
- package/dist/collection/components/post-megadropdown/post-megadropdown.js +24 -23
- package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.js +7 -15
- package/dist/collection/components/post-menu/post-menu.js +14 -24
- package/dist/collection/components/post-menu-item/post-menu-item.css +1 -1
- package/dist/collection/components/post-menu-trigger/post-menu-trigger.js +17 -13
- package/dist/collection/components/post-number-input/post-number-input.js +5 -5
- package/dist/collection/components/post-pagination/post-pagination.js +47 -83
- package/dist/collection/components/post-popover/post-popover.js +20 -22
- package/dist/collection/components/post-popover-trigger/post-popover-trigger.js +16 -14
- package/dist/collection/components/post-popovercontainer/post-popovercontainer.css +1 -1
- package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +28 -34
- package/dist/collection/components/post-progressbar/post-progressbar.css +1 -0
- package/dist/collection/components/post-progressbar/post-progressbar.js +136 -0
- package/dist/collection/components/post-rating/post-rating.js +25 -29
- package/dist/collection/components/post-stepper/post-stepper.js +44 -36
- package/dist/collection/components/post-stepper-item/post-stepper-item.js +2 -2
- package/dist/collection/components/post-tab-item/post-tab-item.js +17 -13
- package/dist/collection/components/post-tab-panel/post-tab-panel.js +17 -14
- package/dist/collection/components/post-tabs/post-tabs.js +20 -7
- package/dist/collection/components/post-togglebutton/post-togglebutton.js +5 -3
- package/dist/collection/components/post-tooltip/post-tooltip.js +17 -16
- package/dist/collection/components/post-tooltip-trigger/post-tooltip-trigger.js +30 -19
- package/dist/collection/hydrate-stub/index.stub.js +5 -0
- package/dist/collection/test-setup.js +7 -0
- package/dist/collection/utils/index.js +4 -3
- package/dist/collection/utils/is-value-empty.js +1 -1
- package/dist/collection/utils/locales.js +9 -2
- package/dist/collection/utils/nanoid.js +16 -0
- package/dist/collection/utils/property-decorators/array-of.js +22 -0
- package/dist/collection/utils/property-decorators/bound.js +75 -0
- package/dist/collection/utils/property-decorators/create-validator-decorator.js +211 -0
- package/dist/collection/utils/property-decorators/date.js +21 -0
- package/dist/collection/utils/property-decorators/index.js +9 -0
- package/dist/collection/utils/property-decorators/iso-date.js +21 -0
- package/dist/collection/utils/property-decorators/one-of.js +22 -0
- package/dist/collection/utils/property-decorators/pattern.js +22 -0
- package/dist/collection/utils/property-decorators/required.js +40 -0
- package/dist/collection/utils/property-decorators/type.js +25 -0
- package/dist/collection/utils/property-decorators/url.js +29 -0
- package/dist/component-names.json +1 -0
- package/dist/components/breakpoints.js +1 -0
- package/dist/components/component-on-ready.js +1 -0
- package/dist/components/focusable.js +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +1 -1
- package/dist/components/nanoid.js +1 -0
- package/dist/components/one-of.js +1 -0
- package/dist/components/package.js +1 -1
- package/dist/components/pattern.js +1 -0
- package/dist/components/post-accordion-item2.js +1 -1
- package/dist/components/post-accordion2.js +1 -1
- package/dist/components/post-autocomplete.js +1 -1
- package/dist/components/post-avatar.js +1 -1
- package/dist/components/post-avatar2.js +1 -0
- package/dist/components/post-back-to-top.js +1 -1
- package/dist/components/post-banner.js +1 -1
- package/dist/components/post-breadcrumb-item.js +1 -1
- package/dist/components/post-breadcrumbs.js +1 -1
- package/dist/components/post-closebutton2.js +1 -1
- package/dist/components/post-collapsible-trigger2.js +1 -1
- package/dist/components/post-collapsible2.js +1 -1
- package/dist/components/post-date-picker.js +1 -1
- package/dist/components/post-footer.js +1 -1
- package/dist/components/post-header.js +1 -1
- package/dist/components/post-icon2.js +1 -1
- package/dist/components/post-language-menu-item.js +1 -1
- package/dist/components/post-language-menu.js +1 -1
- package/dist/components/post-linkarea.js +1 -1
- package/dist/components/post-listbox-option.js +1 -1
- package/dist/components/post-listbox.js +1 -1
- package/dist/components/post-login-widget.js +1 -1
- package/dist/components/post-logo.js +1 -1
- package/dist/components/post-mainnavigation.js +1 -1
- package/dist/components/post-megadropdown-trigger.js +1 -1
- package/dist/components/post-megadropdown.js +1 -1
- package/dist/components/post-menu-item2.js +1 -1
- package/dist/components/post-menu-trigger2.js +1 -1
- package/dist/components/post-menu2.js +1 -1
- package/dist/components/post-number-input.js +1 -1
- package/dist/components/post-pagination.js +1 -1
- package/dist/components/post-popover-trigger.js +1 -1
- package/dist/components/post-popover.js +1 -1
- package/dist/components/post-popovercontainer2.js +1 -1
- package/dist/components/post-progressbar.d.ts +11 -0
- package/dist/components/post-progressbar.js +1 -0
- package/dist/components/post-rating.js +1 -1
- package/dist/components/post-stepper-item.js +1 -1
- package/dist/components/post-stepper.js +1 -1
- package/dist/components/post-tab-item.js +1 -1
- package/dist/components/post-tab-panel.js +1 -1
- package/dist/components/post-tabs.js +1 -1
- package/dist/components/post-togglebutton2.js +1 -1
- package/dist/components/post-tooltip-trigger.js +1 -1
- package/dist/components/post-tooltip.js +1 -1
- package/dist/components/react/index.js +1 -1
- package/dist/components/react/p-4wtxqxXu.js +1 -0
- package/dist/components/react/p-85IGlhtB.js +1 -0
- package/dist/components/react/p-8LXe8Zt_.js +1 -0
- package/dist/components/react/p-B9ZFuYey.js +1 -0
- package/dist/components/react/p-BXqGI600.js +1 -0
- package/dist/components/react/p-BZSAV0-K.js +1 -0
- package/dist/components/react/p-B_WnO-QF.js +1 -0
- package/dist/components/react/p-BaB8wJvk.js +1 -0
- package/dist/components/react/p-Bg9dtyzK.js +1 -0
- package/dist/components/react/p-Bji_4dfL.js +1 -0
- package/dist/components/react/p-Bn66acGG.js +1 -0
- package/dist/components/react/p-BrY4VWTQ.js +1 -0
- package/dist/components/react/p-Bu2JeHDf.js +1 -0
- package/dist/components/react/p-BxoRVIIr.js +1 -0
- package/dist/components/react/p-CX2E_IXB.js +1 -0
- package/dist/components/react/p-Cd1TsNm7.js +1 -0
- package/dist/components/react/p-CkTAQJGd.js +1 -0
- package/dist/components/react/p-ClG-N42b.js +1 -0
- package/dist/components/react/p-D1zw8FxT.js +1 -0
- package/dist/components/react/p-DwuW52g5.js +1 -0
- package/dist/components/react/p-PM7l--ff.js +1 -0
- package/dist/components/react/p-lpWRZjJp.js +1 -0
- package/dist/components/react/post-accordion-item.js +1 -1
- package/dist/components/react/post-accordion.js +1 -1
- package/dist/components/react/post-autocomplete.js +1 -1
- package/dist/components/react/post-avatar.js +1 -1
- package/dist/components/react/post-back-to-top.js +1 -1
- package/dist/components/react/post-banner.js +1 -1
- package/dist/components/react/post-breadcrumb-item.js +1 -1
- package/dist/components/react/post-breadcrumbs.js +1 -1
- package/dist/components/react/post-closebutton.js +1 -1
- package/dist/components/react/post-collapsible-trigger.js +1 -1
- package/dist/components/react/post-collapsible.js +1 -1
- package/dist/components/react/post-date-picker.js +1 -1
- package/dist/components/react/post-footer.js +1 -1
- package/dist/components/react/post-header.js +1 -1
- package/dist/components/react/post-icon.js +1 -1
- package/dist/components/react/post-language-menu-item.js +1 -1
- package/dist/components/react/post-language-menu.js +1 -1
- package/dist/components/react/post-linkarea.js +1 -1
- package/dist/components/react/post-listbox-option.js +1 -1
- package/dist/components/react/post-listbox.js +1 -1
- package/dist/components/react/post-login-widget.js +1 -1
- package/dist/components/react/post-logo.js +1 -1
- package/dist/components/react/post-mainnavigation.js +1 -1
- package/dist/components/react/post-megadropdown-trigger.js +1 -1
- package/dist/components/react/post-megadropdown.js +1 -1
- package/dist/components/react/post-menu-item.js +1 -1
- package/dist/components/react/post-menu-trigger.js +1 -1
- package/dist/components/react/post-menu.js +1 -1
- package/dist/components/react/post-number-input.js +1 -1
- package/dist/components/react/post-pagination.js +1 -1
- package/dist/components/react/post-popover-trigger.js +1 -1
- package/dist/components/react/post-popover.js +1 -1
- package/dist/components/react/post-popovercontainer.js +1 -1
- package/dist/components/react/post-progressbar.d.ts +11 -0
- package/dist/components/react/post-progressbar.js +1 -0
- package/dist/components/react/post-rating.js +1 -1
- package/dist/components/react/post-stepper-item.js +1 -1
- package/dist/components/react/post-stepper.js +1 -1
- package/dist/components/react/post-tab-item.js +1 -1
- package/dist/components/react/post-tab-panel.js +1 -1
- package/dist/components/react/post-tabs.js +1 -1
- package/dist/components/react/post-togglebutton.js +1 -1
- package/dist/components/react/post-tooltip-trigger.js +1 -1
- package/dist/components/react/post-tooltip.js +1 -1
- package/dist/components/required.js +1 -0
- package/dist/components/type.js +1 -0
- package/dist/components/url.js +1 -0
- package/dist/docs.json +307 -72
- package/dist/esm/breakpoints-BQ3HlJPr.js +202 -0
- package/dist/esm/component-on-ready-lpWRZjJp.js +22 -0
- package/dist/esm/create-validator-decorator-D8qwF5Qe.js +218 -0
- package/dist/esm/{focusable-BD_WT2MO.js → focusable-C7afHKmo.js} +25 -5
- package/dist/esm/{index-DmAi35UF.js → index-BbDawWJ5.js} +17 -13
- package/dist/esm/loader.js +3 -3
- package/dist/esm/nanoid-8LXe8Zt_.js +18 -0
- package/dist/esm/one-of-GPr3FflU.js +25 -0
- package/dist/esm/package-ClG-N42b.js +3 -0
- package/dist/esm/pattern-BWPRYpYv.js +25 -0
- package/dist/esm/post-accordion_2.entry.js +17 -23
- package/dist/esm/post-autocomplete.entry.js +27 -14
- package/dist/esm/post-avatar.entry.js +33 -54
- package/dist/esm/post-back-to-top.entry.js +21 -12
- package/dist/esm/post-banner.entry.js +9 -14
- package/dist/esm/post-breadcrumb-item.entry.js +48 -41
- package/dist/esm/post-breadcrumbs.entry.js +106 -105
- package/dist/esm/post-closebutton_14.entry.js +252 -283
- package/dist/esm/post-collapsible_2.entry.js +57 -40
- package/dist/esm/post-components.js +3 -3
- package/dist/esm/post-date-picker.entry.js +151 -141
- package/dist/esm/post-footer.entry.js +21 -14
- package/dist/esm/post-linkarea.entry.js +3 -3
- package/dist/esm/post-listbox-option.entry.js +4 -4
- package/dist/esm/post-listbox.entry.js +4 -6
- package/dist/esm/post-login-widget.entry.js +35 -3
- package/dist/esm/post-number-input.entry.js +5 -5
- package/dist/esm/post-pagination.entry.js +52 -82
- package/dist/esm/post-popover-trigger.entry.js +20 -17
- package/dist/esm/post-popover.entry.js +25 -23
- package/dist/esm/post-progressbar.entry.js +145 -0
- package/dist/esm/post-rating.entry.js +29 -30
- package/dist/esm/post-stepper-item.entry.js +3 -3
- package/dist/esm/post-stepper.entry.js +49 -38
- package/dist/esm/post-tab-item.entry.js +22 -14
- package/dist/esm/post-tab-panel.entry.js +22 -15
- package/dist/esm/post-tabs.entry.js +23 -29
- package/dist/esm/post-tooltip-trigger.entry.js +34 -21
- package/dist/esm/post-tooltip.entry.js +19 -16
- package/dist/esm/required-uK-rZZjy.js +42 -0
- package/dist/esm/type-obmwEgkM.js +28 -0
- package/dist/esm/url-B28ByZCe.js +32 -0
- package/dist/post-components/p-00f55af5.entry.js +1 -0
- package/dist/post-components/p-0288484f.entry.js +1 -0
- package/dist/post-components/p-07cdd022.entry.js +1 -0
- package/dist/post-components/{p-c2e05ba0.entry.js → p-12047216.entry.js} +1 -1
- package/dist/post-components/p-17df4e91.entry.js +1 -0
- package/dist/post-components/p-17e046fa.entry.js +1 -0
- package/dist/post-components/p-29bd31a0.entry.js +1 -0
- package/dist/post-components/p-2c6b4e6a.entry.js +1 -0
- package/dist/post-components/p-3b05e01d.entry.js +1 -0
- package/dist/post-components/p-53fd5230.entry.js +1 -0
- package/dist/post-components/p-5b7e6369.entry.js +1 -0
- package/dist/post-components/p-5f4ca179.entry.js +1 -0
- package/dist/post-components/p-62b6154a.entry.js +1 -0
- package/dist/post-components/{p-77d5e17b.entry.js → p-686a6e22.entry.js} +1 -1
- package/dist/post-components/p-758fc84f.entry.js +1 -0
- package/dist/post-components/{p-570d64dd.entry.js → p-7f929bb9.entry.js} +1 -1
- package/dist/post-components/p-8LXe8Zt_.js +1 -0
- package/dist/post-components/p-9865f72c.entry.js +1 -0
- package/dist/post-components/p-99803d57.entry.js +1 -0
- package/dist/post-components/p-BQ3HlJPr.js +1 -0
- package/dist/post-components/p-BRNqUiXj.js +1 -0
- package/dist/post-components/p-BbDawWJ5.js +2 -0
- package/dist/post-components/p-BrY4VWTQ.js +1 -0
- package/dist/post-components/p-CVsNfXZd.js +1 -0
- package/dist/post-components/p-Ck2qPht6.js +1 -0
- package/dist/post-components/p-ClG-N42b.js +1 -0
- package/dist/post-components/p-D4F0BqBW.js +1 -0
- package/dist/post-components/p-DSNGJB58.js +1 -0
- package/dist/post-components/p-IUnDBhPg.js +1 -0
- package/dist/post-components/p-a0e0a760.entry.js +1 -0
- package/dist/post-components/p-a850652d.entry.js +1 -0
- package/dist/post-components/p-aac1a8ea.entry.js +1 -0
- package/dist/post-components/{p-092f8795.entry.js → p-b3f0f9a2.entry.js} +1 -1
- package/dist/post-components/p-c37dba4b.entry.js +1 -0
- package/dist/post-components/p-d061773b.entry.js +1 -0
- package/dist/post-components/p-e2370e94.entry.js +1 -0
- package/dist/post-components/p-f1ca1d3f.entry.js +1 -0
- package/dist/post-components/p-f2e5f44e.entry.js +1 -0
- package/dist/post-components/p-ff98ada4.entry.js +1 -0
- package/dist/post-components/p-lpWRZjJp.js +1 -0
- package/dist/post-components/post-components.css +2 -2
- package/dist/post-components/post-components.esm.js +1 -1
- package/dist/types/components/post-accordion/post-accordion.d.ts +1 -1
- package/dist/types/components/post-accordion-item/post-accordion-item.d.ts +0 -2
- package/dist/types/components/post-autocomplete/post-autocomplete.d.ts +0 -1
- package/dist/types/components/post-avatar/avatar-utils.d.ts +1 -1
- package/dist/types/components/post-avatar/post-avatar.d.ts +0 -13
- package/dist/types/components/post-back-to-top/post-back-to-top.d.ts +0 -1
- package/dist/types/components/post-banner/post-banner.d.ts +0 -1
- package/dist/types/components/post-breadcrumb-item/post-breadcrumb-item.d.ts +11 -11
- package/dist/types/components/post-breadcrumb-item/variants.d.ts +2 -0
- package/dist/types/components/post-breadcrumbs/post-breadcrumbs.d.ts +20 -26
- package/dist/types/components/post-closebutton/post-closebutton.d.ts +0 -3
- package/dist/types/components/post-collapsible/post-collapsible.d.ts +1 -2
- package/dist/types/components/post-collapsible-trigger/post-collapsible-trigger.d.ts +3 -6
- package/dist/types/components/post-date-picker/post-date-picker.d.ts +0 -12
- package/dist/types/components/post-footer/post-footer.d.ts +0 -1
- package/dist/types/components/post-header/post-header.d.ts +0 -2
- package/dist/types/components/post-icon/post-icon.d.ts +0 -6
- package/dist/types/components/post-language-menu/post-language-menu.d.ts +1 -3
- package/dist/types/components/post-language-menu-item/post-language-menu-item.d.ts +0 -5
- package/dist/types/components/post-login-widget/post-login-widget.d.ts +17 -2
- package/dist/types/components/post-logo/post-logo.d.ts +0 -1
- package/dist/types/components/post-mainnavigation/post-mainnavigation.d.ts +0 -1
- package/dist/types/components/post-megadropdown/post-megadropdown.d.ts +1 -3
- package/dist/types/components/post-megadropdown-trigger/post-megadropdown-trigger.d.ts +0 -2
- package/dist/types/components/post-menu/post-menu.d.ts +1 -4
- package/dist/types/components/post-menu-trigger/post-menu-trigger.d.ts +0 -1
- package/dist/types/components/post-pagination/post-pagination.d.ts +0 -17
- package/dist/types/components/post-popover/post-popover.d.ts +0 -3
- package/dist/types/components/post-popover-trigger/post-popover-trigger.d.ts +0 -1
- package/dist/types/components/post-popovercontainer/post-popovercontainer.d.ts +0 -3
- package/dist/types/components/post-progressbar/post-progressbar.d.ts +23 -0
- package/dist/types/components/post-rating/post-rating.d.ts +0 -4
- package/dist/types/components/post-stepper/post-stepper.d.ts +1 -4
- package/dist/types/components/post-tab-item/post-tab-item.d.ts +0 -1
- package/dist/types/components/post-tab-panel/post-tab-panel.d.ts +0 -1
- package/dist/types/components/post-tooltip/post-tooltip.d.ts +1 -3
- package/dist/types/components/post-tooltip-trigger/post-tooltip-trigger.d.ts +1 -1
- package/dist/types/components.d.ts +119 -29
- package/dist/types/modules.d.ts +2 -0
- package/dist/types/utils/index.d.ts +4 -3
- package/dist/types/utils/nanoid.d.ts +8 -0
- package/dist/types/utils/property-decorators/array-of.d.ts +9 -0
- package/dist/types/utils/property-decorators/bound.d.ts +36 -0
- package/dist/types/utils/property-decorators/create-validator-decorator.d.ts +48 -0
- package/dist/types/utils/property-decorators/date.d.ts +6 -0
- package/dist/types/utils/property-decorators/index.d.ts +9 -0
- package/dist/types/utils/property-decorators/iso-date.d.ts +6 -0
- package/dist/types/utils/property-decorators/one-of.d.ts +8 -0
- package/dist/types/utils/property-decorators/pattern.d.ts +8 -0
- package/dist/types/utils/property-decorators/required.d.ts +17 -0
- package/dist/types/utils/property-decorators/type.d.ts +9 -0
- package/dist/types/utils/property-decorators/url.d.ts +6 -0
- package/hydrate/index.js +1536 -115469
- package/hydrate/index.mjs +1536 -115469
- package/hydrate/index.stub.js +5 -0
- package/package.json +28 -18
- package/dist/cjs/index-YBj3gUJp.js +0 -114540
- package/dist/cjs/index-qCzRmwgB.js +0 -114
- package/dist/cjs/index.browser-BVb9l9T_.js +0 -16
- package/dist/collection/utils/property-checkers/check-array-of.js +0 -8
- package/dist/collection/utils/property-checkers/check-date.js +0 -13
- package/dist/collection/utils/property-checkers/check-iso-date.js +0 -9
- package/dist/collection/utils/property-checkers/check-one-of.js +0 -8
- package/dist/collection/utils/property-checkers/check-pattern.js +0 -8
- package/dist/collection/utils/property-checkers/check-type.js +0 -15
- package/dist/collection/utils/property-checkers/check-url.js +0 -15
- package/dist/collection/utils/property-checkers/constants.js +0 -1
- package/dist/collection/utils/property-checkers/empty-or.js +0 -9
- package/dist/collection/utils/property-checkers/index.js +0 -20
- package/dist/collection/utils/property-checkers/required-and.js +0 -14
- package/dist/components/heading-levels.js +0 -1
- package/dist/components/index.browser.js +0 -1
- package/dist/components/index2.js +0 -1
- package/dist/components/index3.js +0 -6
- package/dist/components/post-breadcrumb-item2.js +0 -1
- package/dist/components/react/p-B076QoO3.js +0 -1
- package/dist/components/react/p-B2BDAeHI.js +0 -1
- package/dist/components/react/p-B2iQay0-.js +0 -1
- package/dist/components/react/p-B_RL4AOE.js +0 -1
- package/dist/components/react/p-BoFDru4R.js +0 -1
- package/dist/components/react/p-BuL0WAoF.js +0 -1
- package/dist/components/react/p-C8b6-YQl.js +0 -1
- package/dist/components/react/p-CJcRbvrI.js +0 -6
- package/dist/components/react/p-Cu9RsvYK.js +0 -1
- package/dist/components/react/p-D6uA8DbL.js +0 -1
- package/dist/components/react/p-DSSN7xW4.js +0 -1
- package/dist/components/react/p-DW7sbg9f.js +0 -1
- package/dist/components/react/p-DgdnwpId.js +0 -1
- package/dist/components/react/p-Dmnnz3fB.js +0 -1
- package/dist/components/react/p-PuHMz_9_.js +0 -1
- package/dist/components/react/p-nA1BKco0.js +0 -1
- package/dist/components/react/p-r4txK0AC.js +0 -1
- package/dist/components/react/p-tpgRP2Dr.js +0 -1
- package/dist/esm/index-CJcRbvrI.js +0 -114535
- package/dist/esm/index-D9bU2pIE.js +0 -104
- package/dist/esm/index.browser-nA1BKco0.js +0 -14
- package/dist/esm/package-DW7sbg9f.js +0 -3
- package/dist/post-components/p-17ccebe6.entry.js +0 -1
- package/dist/post-components/p-1d58bec1.entry.js +0 -1
- package/dist/post-components/p-25c28493.entry.js +0 -1
- package/dist/post-components/p-29ada3d7.entry.js +0 -1
- package/dist/post-components/p-2fcca5ec.entry.js +0 -1
- package/dist/post-components/p-3cefd49e.entry.js +0 -1
- package/dist/post-components/p-3fea238c.entry.js +0 -1
- package/dist/post-components/p-5068ae7e.entry.js +0 -1
- package/dist/post-components/p-521178f5.entry.js +0 -1
- package/dist/post-components/p-534fed55.entry.js +0 -1
- package/dist/post-components/p-5f52cba3.entry.js +0 -1
- package/dist/post-components/p-86697a58.entry.js +0 -1
- package/dist/post-components/p-987bebe8.entry.js +0 -1
- package/dist/post-components/p-9ca5c297.entry.js +0 -1
- package/dist/post-components/p-9ea3066f.entry.js +0 -1
- package/dist/post-components/p-CJcRbvrI.js +0 -6
- package/dist/post-components/p-D9bU2pIE.js +0 -1
- package/dist/post-components/p-DW7sbg9f.js +0 -1
- package/dist/post-components/p-DmAi35UF.js +0 -2
- package/dist/post-components/p-PuHMz_9_.js +0 -1
- package/dist/post-components/p-a6fc33fa.entry.js +0 -1
- package/dist/post-components/p-ac853d6b.entry.js +0 -1
- package/dist/post-components/p-bd09bc20.entry.js +0 -1
- package/dist/post-components/p-c55b537b.entry.js +0 -1
- package/dist/post-components/p-dded4f13.entry.js +0 -1
- package/dist/post-components/p-e6ba44b1.entry.js +0 -1
- package/dist/post-components/p-ead1094e.entry.js +0 -1
- package/dist/post-components/p-f12e59a0.entry.js +0 -1
- package/dist/post-components/p-nA1BKco0.js +0 -1
- package/dist/types/home/runner/work/design-system/design-system/packages/components/.stencil/types/language-tags.d.ts +0 -1
- package/dist/types/utils/property-checkers/check-array-of.d.ts +0 -4
- package/dist/types/utils/property-checkers/check-date.d.ts +0 -3
- package/dist/types/utils/property-checkers/check-iso-date.d.ts +0 -3
- package/dist/types/utils/property-checkers/check-one-of.d.ts +0 -3
- package/dist/types/utils/property-checkers/check-pattern.d.ts +0 -3
- package/dist/types/utils/property-checkers/check-type.d.ts +0 -4
- package/dist/types/utils/property-checkers/check-url.d.ts +0 -3
- package/dist/types/utils/property-checkers/constants.d.ts +0 -1
- package/dist/types/utils/property-checkers/empty-or.d.ts +0 -3
- package/dist/types/utils/property-checkers/index.d.ts +0 -34
- package/dist/types/utils/property-checkers/required-and.d.ts +0 -3
- /package/dist/types/{language-tags.js → test-setup.d.ts} +0 -0
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/* eslint-disable no-undefined,no-param-reassign,no-shadow */
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Throttle execution of a function. Especially useful for rate limiting
|
|
7
|
+
* execution of handlers on events like resize and scroll.
|
|
8
|
+
*
|
|
9
|
+
* @param {number} delay - A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher)
|
|
10
|
+
* are most useful.
|
|
11
|
+
* @param {Function} callback - A function to be executed after delay milliseconds. The `this` context and all arguments are passed through,
|
|
12
|
+
* as-is, to `callback` when the throttled-function is executed.
|
|
13
|
+
* @param {object} [options] - An object to configure options.
|
|
14
|
+
* @param {boolean} [options.noTrailing] - Optional, defaults to false. If noTrailing is true, callback will only execute every `delay` milliseconds
|
|
15
|
+
* while the throttled-function is being called. If noTrailing is false or unspecified, callback will be executed
|
|
16
|
+
* one final time after the last throttled-function call. (After the throttled-function has not been called for
|
|
17
|
+
* `delay` milliseconds, the internal counter is reset).
|
|
18
|
+
* @param {boolean} [options.noLeading] - Optional, defaults to false. If noLeading is false, the first throttled-function call will execute callback
|
|
19
|
+
* immediately. If noLeading is true, the first the callback execution will be skipped. It should be noted that
|
|
20
|
+
* callback will never executed if both noLeading = true and noTrailing = true.
|
|
21
|
+
* @param {boolean} [options.debounceMode] - If `debounceMode` is true (at begin), schedule `clear` to execute after `delay` ms. If `debounceMode` is
|
|
22
|
+
* false (at end), schedule `callback` to execute after `delay` ms.
|
|
23
|
+
*
|
|
24
|
+
* @returns {Function} A new, throttled, function.
|
|
25
|
+
*/
|
|
26
|
+
function throttle (delay, callback, options) {
|
|
27
|
+
var _ref = options || {},
|
|
28
|
+
_ref$noTrailing = _ref.noTrailing,
|
|
29
|
+
noTrailing = _ref$noTrailing === void 0 ? false : _ref$noTrailing,
|
|
30
|
+
_ref$noLeading = _ref.noLeading,
|
|
31
|
+
noLeading = _ref$noLeading === void 0 ? false : _ref$noLeading,
|
|
32
|
+
_ref$debounceMode = _ref.debounceMode,
|
|
33
|
+
debounceMode = _ref$debounceMode === void 0 ? undefined : _ref$debounceMode;
|
|
34
|
+
/*
|
|
35
|
+
* After wrapper has stopped being called, this timeout ensures that
|
|
36
|
+
* `callback` is executed at the proper times in `throttle` and `end`
|
|
37
|
+
* debounce modes.
|
|
38
|
+
*/
|
|
39
|
+
var timeoutID;
|
|
40
|
+
var cancelled = false;
|
|
41
|
+
|
|
42
|
+
// Keep track of the last time `callback` was executed.
|
|
43
|
+
var lastExec = 0;
|
|
44
|
+
|
|
45
|
+
// Function to clear existing timeout
|
|
46
|
+
function clearExistingTimeout() {
|
|
47
|
+
if (timeoutID) {
|
|
48
|
+
clearTimeout(timeoutID);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
// Function to cancel next exec
|
|
53
|
+
function cancel(options) {
|
|
54
|
+
var _ref2 = options || {},
|
|
55
|
+
_ref2$upcomingOnly = _ref2.upcomingOnly,
|
|
56
|
+
upcomingOnly = _ref2$upcomingOnly === void 0 ? false : _ref2$upcomingOnly;
|
|
57
|
+
clearExistingTimeout();
|
|
58
|
+
cancelled = !upcomingOnly;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/*
|
|
62
|
+
* The `wrapper` function encapsulates all of the throttling / debouncing
|
|
63
|
+
* functionality and when executed will limit the rate at which `callback`
|
|
64
|
+
* is executed.
|
|
65
|
+
*/
|
|
66
|
+
function wrapper() {
|
|
67
|
+
for (var _len = arguments.length, arguments_ = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
68
|
+
arguments_[_key] = arguments[_key];
|
|
69
|
+
}
|
|
70
|
+
var self = this;
|
|
71
|
+
var elapsed = Date.now() - lastExec;
|
|
72
|
+
if (cancelled) {
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
// Execute `callback` and update the `lastExec` timestamp.
|
|
77
|
+
function exec() {
|
|
78
|
+
lastExec = Date.now();
|
|
79
|
+
callback.apply(self, arguments_);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/*
|
|
83
|
+
* If `debounceMode` is true (at begin) this is used to clear the flag
|
|
84
|
+
* to allow future `callback` executions.
|
|
85
|
+
*/
|
|
86
|
+
function clear() {
|
|
87
|
+
timeoutID = undefined;
|
|
88
|
+
}
|
|
89
|
+
if (!noLeading && debounceMode && !timeoutID) {
|
|
90
|
+
/*
|
|
91
|
+
* Since `wrapper` is being called for the first time and
|
|
92
|
+
* `debounceMode` is true (at begin), execute `callback`
|
|
93
|
+
* and noLeading != true.
|
|
94
|
+
*/
|
|
95
|
+
exec();
|
|
96
|
+
}
|
|
97
|
+
clearExistingTimeout();
|
|
98
|
+
if (debounceMode === undefined && elapsed > delay) {
|
|
99
|
+
if (noLeading) {
|
|
100
|
+
/*
|
|
101
|
+
* In throttle mode with noLeading, if `delay` time has
|
|
102
|
+
* been exceeded, update `lastExec` and schedule `callback`
|
|
103
|
+
* to execute after `delay` ms.
|
|
104
|
+
*/
|
|
105
|
+
lastExec = Date.now();
|
|
106
|
+
if (!noTrailing) {
|
|
107
|
+
timeoutID = setTimeout(debounceMode ? clear : exec, delay);
|
|
108
|
+
}
|
|
109
|
+
} else {
|
|
110
|
+
/*
|
|
111
|
+
* In throttle mode without noLeading, if `delay` time has been exceeded, execute
|
|
112
|
+
* `callback`.
|
|
113
|
+
*/
|
|
114
|
+
exec();
|
|
115
|
+
}
|
|
116
|
+
} else if (noTrailing !== true) {
|
|
117
|
+
/*
|
|
118
|
+
* In trailing throttle mode, since `delay` time has not been
|
|
119
|
+
* exceeded, schedule `callback` to execute `delay` ms after most
|
|
120
|
+
* recent execution.
|
|
121
|
+
*
|
|
122
|
+
* If `debounceMode` is true (at begin), schedule `clear` to execute
|
|
123
|
+
* after `delay` ms.
|
|
124
|
+
*
|
|
125
|
+
* If `debounceMode` is false (at end), schedule `callback` to
|
|
126
|
+
* execute after `delay` ms.
|
|
127
|
+
*/
|
|
128
|
+
timeoutID = setTimeout(debounceMode ? clear : exec, debounceMode === undefined ? delay - elapsed : delay);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
wrapper.cancel = cancel;
|
|
132
|
+
|
|
133
|
+
// Return the wrapper function.
|
|
134
|
+
return wrapper;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/* eslint-disable no-undefined */
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Debounce execution of a function. Debouncing, unlike throttling,
|
|
141
|
+
* guarantees that a function is only executed a single time, either at the
|
|
142
|
+
* very beginning of a series of calls, or at the very end.
|
|
143
|
+
*
|
|
144
|
+
* @param {number} delay - A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.
|
|
145
|
+
* @param {Function} callback - A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is,
|
|
146
|
+
* to `callback` when the debounced-function is executed.
|
|
147
|
+
* @param {object} [options] - An object to configure options.
|
|
148
|
+
* @param {boolean} [options.atBegin] - Optional, defaults to false. If atBegin is false or unspecified, callback will only be executed `delay` milliseconds
|
|
149
|
+
* after the last debounced-function call. If atBegin is true, callback will be executed only at the first debounced-function call.
|
|
150
|
+
* (After the throttled-function has not been called for `delay` milliseconds, the internal counter is reset).
|
|
151
|
+
*
|
|
152
|
+
* @returns {Function} A new, debounced function.
|
|
153
|
+
*/
|
|
154
|
+
function debounce (delay, callback, options) {
|
|
155
|
+
var _ref = {},
|
|
156
|
+
_ref$atBegin = _ref.atBegin,
|
|
157
|
+
atBegin = _ref$atBegin === void 0 ? false : _ref$atBegin;
|
|
158
|
+
return throttle(delay, callback, {
|
|
159
|
+
debounceMode: atBegin !== false
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
class Breakpoint {
|
|
164
|
+
constructor() {
|
|
165
|
+
this.breakpoints = [
|
|
166
|
+
{ key: 'xl', device: 'desktop', minWidth: 1280 },
|
|
167
|
+
{ key: 'lg', device: 'desktop', minWidth: 1024 },
|
|
168
|
+
{ key: 'md', device: 'tablet', minWidth: 780 },
|
|
169
|
+
{ key: 'sm', device: 'tablet', minWidth: 600 },
|
|
170
|
+
{ key: 'xs', device: 'mobile', minWidth: 0 },
|
|
171
|
+
];
|
|
172
|
+
this.resizeObserver = globalThis.ResizeObserver
|
|
173
|
+
? new ResizeObserver(() => this.updateCurrentBreakpoint())
|
|
174
|
+
: null;
|
|
175
|
+
this.updateCurrentBreakpoint = throttle(50, (options = { emitEvents: true }) => {
|
|
176
|
+
const previousBreakpoint = this.currentBreakpoint;
|
|
177
|
+
const newBreakpoint = this.breakpoints.find(breakpoint => {
|
|
178
|
+
return breakpoint.minWidth <= innerWidth;
|
|
179
|
+
});
|
|
180
|
+
if (!newBreakpoint)
|
|
181
|
+
return;
|
|
182
|
+
this.currentBreakpoint = newBreakpoint;
|
|
183
|
+
if (!options.emitEvents)
|
|
184
|
+
return;
|
|
185
|
+
Object.keys(this.currentBreakpoint)
|
|
186
|
+
.filter(key => !previousBreakpoint || this.currentBreakpoint[key] !== previousBreakpoint[key])
|
|
187
|
+
.forEach((key) => this.dispatchEvent(key));
|
|
188
|
+
});
|
|
189
|
+
if (this.resizeObserver) {
|
|
190
|
+
this.updateCurrentBreakpoint({ emitEvents: false });
|
|
191
|
+
this.resizeObserver.observe(document.body);
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
dispatchEvent(property) {
|
|
195
|
+
globalThis.dispatchEvent(new CustomEvent(`postBreakpoint:${property}`, { detail: this.currentBreakpoint[property] }));
|
|
196
|
+
}
|
|
197
|
+
get(property) {
|
|
198
|
+
this.updateCurrentBreakpoint({ emitEvents: false });
|
|
199
|
+
return this.currentBreakpoint[property];
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
const breakpoint = new Breakpoint();
|
|
203
|
+
|
|
204
|
+
exports.breakpoint = breakpoint;
|
|
205
|
+
exports.debounce = debounce;
|
|
206
|
+
exports.throttle = throttle;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Invoke the `componentOnReady` method if it is available, simulate it otherwise
|
|
5
|
+
* @see https://stenciljs.com/docs/api#componentonready
|
|
6
|
+
*/
|
|
7
|
+
function componentOnReady(el) {
|
|
8
|
+
if (typeof el.componentOnReady === 'function') {
|
|
9
|
+
return el.componentOnReady();
|
|
10
|
+
}
|
|
11
|
+
else {
|
|
12
|
+
return new Promise(resolve => customOnReady(() => {
|
|
13
|
+
resolve(el);
|
|
14
|
+
}));
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
function customOnReady(callback) {
|
|
18
|
+
if (typeof requestAnimationFrame === 'function') {
|
|
19
|
+
return requestAnimationFrame(callback);
|
|
20
|
+
}
|
|
21
|
+
return setTimeout(callback);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
exports.componentOnReady = componentOnReady;
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-ngUOBQot.js');
|
|
4
|
+
|
|
5
|
+
const EMPTY_VALUES = [undefined, null, '', Number.NaN];
|
|
6
|
+
function isValueEmpty(value) {
|
|
7
|
+
return EMPTY_VALUES.some(v => Object.is(v, value));
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/** Tracks prototypes whose `componentDidLoad` lifecycle has already been wrapped. */
|
|
11
|
+
const patchedTargets = new WeakSet();
|
|
12
|
+
/** Tracks component instances that already completed the first load cycle. */
|
|
13
|
+
const loadedInstances = new WeakSet();
|
|
14
|
+
/** Stores validators per component prototype and property name. */
|
|
15
|
+
const validatorsByTarget = new WeakMap();
|
|
16
|
+
/** Stores all properties that use a validator decorator for each component prototype. */
|
|
17
|
+
const decoratedPropertiesByTarget = new WeakMap();
|
|
18
|
+
/** Stores per-instance property values captured by dynamically created accessors. */
|
|
19
|
+
const propertyValuesByInstance = new WeakMap();
|
|
20
|
+
/** Stores dependency relationships per prototype: dependencyProp -> Set<dependentProp>. */
|
|
21
|
+
const dependenciesByTarget = new WeakMap();
|
|
22
|
+
/**
|
|
23
|
+
* Returns the value for a key in a {@link WeakMap} and lazily creates it when missing.
|
|
24
|
+
*
|
|
25
|
+
* @template K WeakMap key type.
|
|
26
|
+
* @template T WeakMap value type.
|
|
27
|
+
* @param map WeakMap used as storage.
|
|
28
|
+
* @param key Object key used to retrieve or initialize the value.
|
|
29
|
+
* @param factory Factory creating the value when no entry exists for the key.
|
|
30
|
+
* @returns Existing or newly created value associated with the key.
|
|
31
|
+
*/
|
|
32
|
+
function getOrCreate(map, key, factory) {
|
|
33
|
+
let value = map.get(key);
|
|
34
|
+
if (!value) {
|
|
35
|
+
value = factory();
|
|
36
|
+
map.set(key, value);
|
|
37
|
+
}
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Returns the mutable validator list registered for a property on a component prototype.
|
|
42
|
+
*
|
|
43
|
+
* @param target Component prototype where decorators were applied.
|
|
44
|
+
* @param property Decorated property name.
|
|
45
|
+
* @returns Validator list for the property.
|
|
46
|
+
*/
|
|
47
|
+
function getValidators(target, property) {
|
|
48
|
+
const validatorsByProperty = getOrCreate(validatorsByTarget, target, () => new Map());
|
|
49
|
+
return getOrCreate(validatorsByProperty, property, () => []);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Returns all property names decorated with validator decorators for a prototype.
|
|
53
|
+
*
|
|
54
|
+
* @param target Component prototype where decorators were applied.
|
|
55
|
+
* @returns Set of decorated property names.
|
|
56
|
+
*/
|
|
57
|
+
function getDecoratedProperties(target) {
|
|
58
|
+
return getOrCreate(decoratedPropertiesByTarget, target, () => new Set());
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Returns the map containing tracked property values for a component instance.
|
|
62
|
+
*
|
|
63
|
+
* @param instance Component instance.
|
|
64
|
+
* @returns Map keyed by property name with last assigned values.
|
|
65
|
+
*/
|
|
66
|
+
function getValuesByProperty(instance) {
|
|
67
|
+
return getOrCreate(propertyValuesByInstance, instance, () => new Map());
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Registers that `dependentProp` should be re-validated when `dependencyProp` changes.
|
|
71
|
+
* Ensures the dependency property has an accessor so its setter can trigger dependents.
|
|
72
|
+
*/
|
|
73
|
+
function registerDependency(target, dependencyProp, dependentProp) {
|
|
74
|
+
// Ensure dependency has an accessor so its setter can run dependent validators
|
|
75
|
+
createPropertyAccessor(target, dependencyProp);
|
|
76
|
+
const depsByProp = getOrCreate(dependenciesByTarget, target, () => new Map());
|
|
77
|
+
const dependents = getOrCreate(depsByProp, dependencyProp, () => new Set());
|
|
78
|
+
dependents.add(dependentProp);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Defines an accessor for a decorated property that stores values per instance and
|
|
82
|
+
* triggers validation after the component first loads.
|
|
83
|
+
*
|
|
84
|
+
* Accessor creation is skipped when a getter already exists to avoid overriding
|
|
85
|
+
* component-defined accessors.
|
|
86
|
+
*
|
|
87
|
+
* @param target Component prototype receiving the accessor.
|
|
88
|
+
* @param property Decorated property name.
|
|
89
|
+
*/
|
|
90
|
+
function createPropertyAccessor(target, property) {
|
|
91
|
+
const descriptor = Object.getOwnPropertyDescriptor(target, property);
|
|
92
|
+
if (descriptor && descriptor.get)
|
|
93
|
+
return;
|
|
94
|
+
Object.defineProperty(target, property, {
|
|
95
|
+
get() {
|
|
96
|
+
return getValuesByProperty(this).get(property);
|
|
97
|
+
},
|
|
98
|
+
set(newValue) {
|
|
99
|
+
getValuesByProperty(this).set(property, newValue);
|
|
100
|
+
if (loadedInstances.has(this)) {
|
|
101
|
+
runValidators(this, property);
|
|
102
|
+
// Run validators for any properties that depend on this property.
|
|
103
|
+
const proto = Object.getPrototypeOf(this);
|
|
104
|
+
const depsByProp = dependenciesByTarget.get(proto);
|
|
105
|
+
if (depsByProp) {
|
|
106
|
+
const dependents = depsByProp.get(property);
|
|
107
|
+
if (dependents) {
|
|
108
|
+
for (const dependent of dependents) {
|
|
109
|
+
runValidators(this, dependent);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
enumerable: true,
|
|
116
|
+
configurable: true,
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* Wraps `componentDidLoad` once per prototype to execute validators on initial render.
|
|
121
|
+
*
|
|
122
|
+
* Existing `componentDidLoad` behavior is preserved and called after validation.
|
|
123
|
+
*
|
|
124
|
+
* @param target Component prototype to patch.
|
|
125
|
+
*/
|
|
126
|
+
function patchComponentDidLoad(target) {
|
|
127
|
+
if (patchedTargets.has(target))
|
|
128
|
+
return;
|
|
129
|
+
patchedTargets.add(target);
|
|
130
|
+
const original = 'componentDidLoad' in target && typeof target.componentDidLoad === 'function'
|
|
131
|
+
? target.componentDidLoad
|
|
132
|
+
: undefined;
|
|
133
|
+
Object.defineProperty(target, 'componentDidLoad', {
|
|
134
|
+
writable: true,
|
|
135
|
+
configurable: true,
|
|
136
|
+
value: function (...args) {
|
|
137
|
+
loadedInstances.add(this);
|
|
138
|
+
const decoratedProperties = getDecoratedProperties(Object.getPrototypeOf(this));
|
|
139
|
+
for (const property of decoratedProperties) {
|
|
140
|
+
runValidators(this, property);
|
|
141
|
+
}
|
|
142
|
+
if (original) {
|
|
143
|
+
return original.apply(this, args);
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* Executes all validators for a property in ascending priority order.
|
|
150
|
+
*
|
|
151
|
+
* Validation is skipped for empty values unless a validator explicitly opts in via
|
|
152
|
+
* `validateEmptyValues`. Execution stops when a blocking validator fails.
|
|
153
|
+
*
|
|
154
|
+
* @param component Component instance.
|
|
155
|
+
* @param property Property name to validate.
|
|
156
|
+
*/
|
|
157
|
+
function runValidators(component, property) {
|
|
158
|
+
const prototype = Object.getPrototypeOf(component);
|
|
159
|
+
const validatorsByProperty = validatorsByTarget.get(prototype);
|
|
160
|
+
if (!validatorsByProperty)
|
|
161
|
+
return;
|
|
162
|
+
const validators = validatorsByProperty.get(property);
|
|
163
|
+
if (!validators || validators.length === 0)
|
|
164
|
+
return;
|
|
165
|
+
const sortedValidators = [...validators].sort((a, b) => a.priority - b.priority);
|
|
166
|
+
const value = component[property];
|
|
167
|
+
const valueIsEmpty = isValueEmpty(value);
|
|
168
|
+
for (const validator of sortedValidators) {
|
|
169
|
+
if (valueIsEmpty && !validator.validateEmptyValues) {
|
|
170
|
+
continue;
|
|
171
|
+
}
|
|
172
|
+
const passed = validator.run(component, property);
|
|
173
|
+
if (!passed && validator.blocking)
|
|
174
|
+
break;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* Creates a property decorator that registers a validator for a component property.
|
|
179
|
+
*
|
|
180
|
+
* The returned decorator ensures property access is intercepted, initial-load
|
|
181
|
+
* validation is enabled, and the provided validator is stored for execution.
|
|
182
|
+
*
|
|
183
|
+
* @param validator Validator definition to register.
|
|
184
|
+
* @returns Property decorator compatible with TypeScript decorator syntax.
|
|
185
|
+
*/
|
|
186
|
+
function createValidatorDecorator(validator) {
|
|
187
|
+
return function (target, property) {
|
|
188
|
+
createPropertyAccessor(target, property);
|
|
189
|
+
patchComponentDidLoad(target);
|
|
190
|
+
getDecoratedProperties(target).add(property);
|
|
191
|
+
getValidators(target, property).push(validator);
|
|
192
|
+
};
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* Builds a validation context for a decorated component property.
|
|
196
|
+
*
|
|
197
|
+
* The returned context includes:
|
|
198
|
+
* - `value`: current property value.
|
|
199
|
+
* - `showError(constraint)`: helper that logs a consistent error format and includes
|
|
200
|
+
* the host element for easier debugging in browser consoles.
|
|
201
|
+
*
|
|
202
|
+
* Message format: `[componentName] Property "property" <constraint>. Received: <value>.`
|
|
203
|
+
*
|
|
204
|
+
* @param component Component instance containing the validated property.
|
|
205
|
+
* @param property Property name being validated.
|
|
206
|
+
* @returns Validation context used by individual validator implementations.
|
|
207
|
+
*/
|
|
208
|
+
function getValidationContext(component, property) {
|
|
209
|
+
const host = index.getElement(component);
|
|
210
|
+
const componentName = host.localName;
|
|
211
|
+
const value = component[property];
|
|
212
|
+
return {
|
|
213
|
+
value,
|
|
214
|
+
showError(constraint) {
|
|
215
|
+
console.error(`[${componentName}] Property "${String(property)}" ${constraint}. Received: ${JSON.stringify(value)}.`, host);
|
|
216
|
+
},
|
|
217
|
+
};
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
exports.createValidatorDecorator = createValidatorDecorator;
|
|
221
|
+
exports.getValidationContext = getValidationContext;
|
|
222
|
+
exports.isValueEmpty = isValueEmpty;
|
|
223
|
+
exports.registerDependency = registerDependency;
|
|
@@ -2,7 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
var _commonjsHelpers = require('./_commonjsHelpers-BJu3ubxk.js');
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
function _mergeNamespaces(n, m) {
|
|
6
|
+
m.forEach(function (e) {
|
|
7
|
+
e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
|
|
8
|
+
if (k !== 'default' && !(k in n)) {
|
|
9
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
10
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () { return e[k]; }
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
return Object.freeze(n);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
var focusable$1 = {exports: {}};
|
|
6
21
|
|
|
7
22
|
var focusRelevant = {exports: {}};
|
|
8
23
|
|
|
@@ -4795,7 +4810,7 @@ function requireOnlyTabbable () {
|
|
|
4795
4810
|
var hasRequiredFocusable;
|
|
4796
4811
|
|
|
4797
4812
|
function requireFocusable () {
|
|
4798
|
-
if (hasRequiredFocusable) return focusable.exports;
|
|
4813
|
+
if (hasRequiredFocusable) return focusable$1.exports;
|
|
4799
4814
|
hasRequiredFocusable = 1;
|
|
4800
4815
|
(function (module, exports) {
|
|
4801
4816
|
|
|
@@ -5006,11 +5021,17 @@ function requireFocusable () {
|
|
|
5006
5021
|
exports.default = isFocusable;
|
|
5007
5022
|
module.exports = exports['default'];
|
|
5008
5023
|
|
|
5009
|
-
} (focusable, focusable.exports));
|
|
5010
|
-
return focusable.exports;
|
|
5024
|
+
} (focusable$1, focusable$1.exports));
|
|
5025
|
+
return focusable$1.exports;
|
|
5011
5026
|
}
|
|
5012
5027
|
|
|
5013
5028
|
var focusableExports = requireFocusable();
|
|
5014
5029
|
var isFocusable = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(focusableExports);
|
|
5015
5030
|
|
|
5031
|
+
var focusable = /*#__PURE__*/_mergeNamespaces({
|
|
5032
|
+
__proto__: null,
|
|
5033
|
+
default: isFocusable
|
|
5034
|
+
}, [focusableExports]);
|
|
5035
|
+
|
|
5036
|
+
exports.focusable = focusable;
|
|
5016
5037
|
exports.isFocusable = isFocusable;
|
|
@@ -22,7 +22,7 @@ const NAMESPACE = 'post-components';
|
|
|
22
22
|
const BUILD = /* post-components */ { hotModuleReplacement: false, hydratedSelectorName: "data-hydrated", lazyLoad: true, propChangeCallback: true, slotRelocation: true, state: true, updatable: true};
|
|
23
23
|
|
|
24
24
|
const globalScripts = () => {};
|
|
25
|
-
const globalStyles = ":where(post-accordion,post-accordion-item,post-autocomplete,post-avatar,post-back-to-top,post-banner,post-breadcrumb-item,post-breadcrumbs,post-closebutton,post-collapsible,post-collapsible-trigger,post-date-picker,post-footer,post-header,post-icon,post-language-menu,post-language-menu-item,post-linkarea,post-listbox,post-listbox-option,post-login-widget,post-logo,post-mainnavigation,post-megadropdown,post-megadropdown-trigger,post-menu,post-menu-item,post-menu-trigger,post-number-input,post-pagination,post-popover,post-popover-trigger,post-popovercontainer,post-rating,post-stepper,post-stepper-item,post-tab-item,post-tab-panel,post-tabs,post-togglebutton,post-tooltip,post-tooltip-trigger):not(:defined):not(.hydrated,[data-hydrated]){visibility:hidden}@media (scripting: none){:where(post-accordion,post-accordion-item,post-autocomplete,post-avatar,post-back-to-top,post-banner,post-breadcrumb-item,post-breadcrumbs,post-closebutton,post-collapsible,post-collapsible-trigger,post-date-picker,post-footer,post-header,post-icon,post-language-menu,post-language-menu-item,post-linkarea,post-listbox,post-listbox-option,post-login-widget,post-logo,post-mainnavigation,post-megadropdown,post-megadropdown-trigger,post-menu,post-menu-item,post-menu-trigger,post-number-input,post-pagination,post-popover,post-popover-trigger,post-popovercontainer,post-rating,post-stepper,post-stepper-item,post-tab-item,post-tab-panel,post-tabs,post-togglebutton,post-tooltip,post-tooltip-trigger):not(:defined):not(.hydrated,[data-hydrated]){visibility:visible}}post-accordion:not([multiple]):not(:has([collapsed]))>post-accordion-item~post-accordion-item{--post-collapsible-initial-height:0;--post-collapsible-initial-overflow:hidden;--post-accordion-icon-initial-transform:rotate(-180deg)}.form-label:has(+post-number-input){display:block}.form-label:has(+post-number-input.number-input-sm){padding-inline:var(--post-device-spacing-padding-2);padding-block:var(--post-device-spacing-padding-30);font-weight:var(--post-device-font-weight-bold);font-size:var(--post-device-font-size-7)}.form-label:has(+post-number-input.disabled){color:var(--post-scheme-color-interactive-input-disabled-fg)}post-number-input.form-floating>input.form-control{padding:var(--post-device-spacing-padding-block-29) var(--post-device-spacing-padding-inline-1) var(--post-device-spacing-padding-block-3)}post-number-input.form-floating>input.form-control:focus~label,post-number-input.form-floating>input.form-control:not(:placeholder-shown)~label{padding-block-start:var(--post-device-spacing-padding-block-3);padding-inline:var(--post-device-spacing-padding-inline-1) var(--post-device-spacing-padding-15);font-size:var(--post-device-font-size-10)}post-number-input.form-floating::after{width:var(--post-device-sizing-notification-1);height:var(--post-device-sizing-notification-1)}post-number-input.form-floating:has(>input.form-control.is-valid:not(:disabled))::after,post-number-input.form-floating:has(>input.form-control:-webkit-autofill.is-valid)::after,post-number-input.form-floating:has(>input.form-control.is-invalid:not(:disabled))::after,post-number-input.form-floating:has(>input.form-control:-webkit-autofill.is-invalid)::after{top:calc(var(--post-device-sizing-interactive-button-height-6) / 2);right:calc(\n var(--post-device-spacing-padding-inline-1) +\n (var(--post-device-spacing-padding-23)* 2) +\n var(--post-device-sizing-interactive-icon-size6) +\n (var(--post-device-border-width-default) * 2)\n )}post-number-input input[type=number]{appearance:textfield}post-number-input input[type=number]::-webkit-inner-spin-button,post-number-input input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}post-login-widget>[slot=
|
|
25
|
+
const globalStyles = ":where(post-accordion,post-accordion-item,post-autocomplete,post-avatar,post-back-to-top,post-banner,post-breadcrumb-item,post-breadcrumbs,post-closebutton,post-collapsible,post-collapsible-trigger,post-date-picker,post-footer,post-header,post-icon,post-language-menu,post-language-menu-item,post-linkarea,post-listbox,post-listbox-option,post-login-widget,post-logo,post-mainnavigation,post-megadropdown,post-megadropdown-trigger,post-menu,post-menu-item,post-menu-trigger,post-number-input,post-pagination,post-popover,post-popover-trigger,post-popovercontainer,post-progressbar,post-rating,post-stepper,post-stepper-item,post-tab-item,post-tab-panel,post-tabs,post-togglebutton,post-tooltip,post-tooltip-trigger):not(:defined):not(.hydrated,[data-hydrated]){visibility:hidden}@media (scripting: none){:where(post-accordion,post-accordion-item,post-autocomplete,post-avatar,post-back-to-top,post-banner,post-breadcrumb-item,post-breadcrumbs,post-closebutton,post-collapsible,post-collapsible-trigger,post-date-picker,post-footer,post-header,post-icon,post-language-menu,post-language-menu-item,post-linkarea,post-listbox,post-listbox-option,post-login-widget,post-logo,post-mainnavigation,post-megadropdown,post-megadropdown-trigger,post-menu,post-menu-item,post-menu-trigger,post-number-input,post-pagination,post-popover,post-popover-trigger,post-popovercontainer,post-progressbar,post-rating,post-stepper,post-stepper-item,post-tab-item,post-tab-panel,post-tabs,post-togglebutton,post-tooltip,post-tooltip-trigger):not(:defined):not(.hydrated,[data-hydrated]){visibility:visible}}post-accordion:not([multiple]):not(:has([collapsed]))>post-accordion-item~post-accordion-item{--post-collapsible-initial-height:0;--post-collapsible-initial-overflow:hidden;--post-accordion-icon-initial-transform:rotate(-180deg)}.form-label:has(+post-number-input){display:block}.form-label:has(+post-number-input.number-input-sm){padding-inline:var(--post-device-spacing-padding-2);padding-block:var(--post-device-spacing-padding-30);font-weight:var(--post-device-font-weight-bold);font-size:var(--post-device-font-size-7)}.form-label:has(+post-number-input.disabled){color:var(--post-scheme-color-interactive-input-disabled-fg)}post-number-input.form-floating>input.form-control{padding:var(--post-device-spacing-padding-block-29) var(--post-device-spacing-padding-inline-1) var(--post-device-spacing-padding-block-3)}post-number-input.form-floating>input.form-control:focus~label,post-number-input.form-floating>input.form-control:not(:placeholder-shown)~label{padding-block-start:var(--post-device-spacing-padding-block-3);padding-inline:var(--post-device-spacing-padding-inline-1) var(--post-device-spacing-padding-15);font-size:var(--post-device-font-size-10)}post-number-input.form-floating::after{width:var(--post-device-sizing-notification-1);height:var(--post-device-sizing-notification-1)}post-number-input.form-floating:has(>input.form-control.is-valid:not(:disabled))::after,post-number-input.form-floating:has(>input.form-control:-webkit-autofill.is-valid)::after,post-number-input.form-floating:has(>input.form-control.is-invalid:not(:disabled))::after,post-number-input.form-floating:has(>input.form-control:-webkit-autofill.is-invalid)::after{top:calc(var(--post-device-sizing-interactive-button-height-6) / 2);right:calc(\n var(--post-device-spacing-padding-inline-1) +\n (var(--post-device-spacing-padding-23)* 2) +\n var(--post-device-sizing-interactive-icon-size6) +\n (var(--post-device-border-width-default) * 2)\n )}post-number-input input[type=number]{appearance:textfield}post-number-input input[type=number]::-webkit-inner-spin-button,post-number-input input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}post-login-widget>[slot=login-link]{display:inline-flex;position:relative;align-items:center;justify-content:center;max-width:100%;overflow:hidden;transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;border-width:var(--post-device-border-width-default);border-style:solid;border-color:rgba(0,0,0,0);border-radius:var(--post-device-border-radius-round);background-color:rgba(0,0,0,0);box-shadow:none;font-family:inherit;font-weight:var(--post-device-font-weight-bold);text-decoration:none;white-space:nowrap;cursor:pointer;border:unset;font-weight:unset;display:flex;padding:.25rem .625rem;gap:.375rem;font-size:1rem;border-color:var(--post-scheme-color-interactive-button-tertiary-enabled-stroke);background-color:var(--post-scheme-color-interactive-button-tertiary-enabled-bg);color:var(--post-scheme-color-interactive-button-tertiary-enabled-fg)}post-login-widget>[slot=login-link]:hover{text-decoration:none}post-login-widget>[slot=login-link]:disabled{border-style:var(--post-core-border-style-dash)}post-login-widget>[slot=login-link]{outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}post-login-widget>[slot=login-link]:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-login-widget>[slot=login-link]:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){post-login-widget>[slot=login-link]:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-login-widget>[slot=login-link]:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-login-widget>[slot=login-link]:is(a){color:LinkText;border:unset}post-login-widget>[slot=login-link]:is(button){background-color:ButtonFace !important;border:1px solid ButtonBorder !important}post-login-widget>[slot=login-link]:not(:disabled,.disabled):is(button):hover{background-color:Highlight !important}post-login-widget>[slot=login-link]:not(:disabled,.disabled):is(button):hover>post-icon{color:HighlightText !important}}post-login-widget>[slot=login-link]:hover{border-color:var(--post-scheme-color-interactive-button-tertiary-hover-stroke);background-color:var(--post-scheme-color-interactive-button-tertiary-hover-bg);color:var(--post-scheme-color-interactive-button-tertiary-hover-fg)}post-login-widget>[slot=login-link]:is([aria-current],[aria-pressed=true],[aria-expanded=true],.active){box-shadow:var(--post-device-elevation-100);border-color:var(--post-scheme-color-interactive-button-primary-enabled-stroke);background-color:var(--post-scheme-color-interactive-button-primary-enabled-bg);color:var(--post-scheme-color-interactive-button-primary-enabled-fg)}post-login-widget>[slot=login-link]:is([aria-current],[aria-pressed=true],[aria-expanded=true],.active):hover{border-color:var(--post-scheme-color-interactive-button-primary-hover-stroke);background-color:var(--post-scheme-color-interactive-button-primary-hover-bg);color:var(--post-scheme-color-interactive-button-primary-hover-fg)}post-login-widget>[slot=login-link]{width:fit-content}@media screen and (min-width: 0)and (max-width: 599.98px){post-login-widget>[slot=login-link]>:not(post-icon){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}post-login-widget>[slot=login-link]>post-icon{font-size:1.5rem}}";
|
|
26
26
|
|
|
27
27
|
/*
|
|
28
28
|
Stencil Client Platform v4.43.3 | MIT Licensed | https://stenciljs.com
|
|
@@ -159,10 +159,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
159
159
|
}
|
|
160
160
|
switch(bundleId) {
|
|
161
161
|
|
|
162
|
-
case 'post-login-widget.cjs':
|
|
163
|
-
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
164
|
-
/* webpackMode: "lazy" */
|
|
165
|
-
'./post-login-widget.cjs.entry.js')); }).then(processMod, consoleError);
|
|
166
162
|
case 'post-autocomplete.cjs':
|
|
167
163
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
168
164
|
/* webpackMode: "lazy" */
|
|
@@ -191,6 +187,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
191
187
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
192
188
|
/* webpackMode: "lazy" */
|
|
193
189
|
'./post-listbox-option.cjs.entry.js')); }).then(processMod, consoleError);
|
|
190
|
+
case 'post-login-widget.cjs':
|
|
191
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
192
|
+
/* webpackMode: "lazy" */
|
|
193
|
+
'./post-login-widget.cjs.entry.js')); }).then(processMod, consoleError);
|
|
194
194
|
case 'post-pagination.cjs':
|
|
195
195
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
196
196
|
/* webpackMode: "lazy" */
|
|
@@ -223,6 +223,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
223
223
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
224
224
|
/* webpackMode: "lazy" */
|
|
225
225
|
'./post-tab-panel.cjs.entry.js')); }).then(processMod, consoleError);
|
|
226
|
+
case 'post-tabs.cjs':
|
|
227
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
228
|
+
/* webpackMode: "lazy" */
|
|
229
|
+
'./post-tabs.cjs.entry.js')); }).then(processMod, consoleError);
|
|
226
230
|
case 'post-tooltip.cjs':
|
|
227
231
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
228
232
|
/* webpackMode: "lazy" */
|
|
@@ -231,22 +235,22 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
231
235
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
232
236
|
/* webpackMode: "lazy" */
|
|
233
237
|
'./post-tooltip-trigger.cjs.entry.js')); }).then(processMod, consoleError);
|
|
234
|
-
case 'post-
|
|
238
|
+
case 'post-banner.cjs':
|
|
235
239
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
236
240
|
/* webpackMode: "lazy" */
|
|
237
|
-
'./post-
|
|
238
|
-
case 'post-
|
|
241
|
+
'./post-banner.cjs.entry.js')); }).then(processMod, consoleError);
|
|
242
|
+
case 'post-breadcrumb-item.cjs':
|
|
239
243
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
240
244
|
/* webpackMode: "lazy" */
|
|
241
|
-
'./post-
|
|
242
|
-
case 'post-
|
|
245
|
+
'./post-breadcrumb-item.cjs.entry.js')); }).then(processMod, consoleError);
|
|
246
|
+
case 'post-progressbar.cjs':
|
|
243
247
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
244
248
|
/* webpackMode: "lazy" */
|
|
245
|
-
'./post-
|
|
246
|
-
case 'post-
|
|
249
|
+
'./post-progressbar.cjs.entry.js')); }).then(processMod, consoleError);
|
|
250
|
+
case 'post-avatar.cjs':
|
|
247
251
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
248
252
|
/* webpackMode: "lazy" */
|
|
249
|
-
'./post-
|
|
253
|
+
'./post-avatar.cjs.entry.js')); }).then(processMod, consoleError);
|
|
250
254
|
case 'post-number-input.cjs':
|
|
251
255
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
252
256
|
/* webpackMode: "lazy" */
|