@roadtrip/components 3.32.0 → 3.32.2
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/{index-aadb3ac9.js → index-2a80bffb.js} +58 -22
- package/dist/cjs/index-2a80bffb.js.map +1 -0
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/road-accordion.cjs.entry.js +1 -1
- package/dist/cjs/road-alert.cjs.entry.js +1 -1
- package/dist/cjs/road-area-code.cjs.entry.js +1 -1
- package/dist/cjs/road-asset.cjs.entry.js +2 -2
- package/dist/cjs/road-autocomplete.cjs.entry.js +1 -1
- package/dist/cjs/road-avatar.cjs.entry.js +1 -1
- package/dist/cjs/road-badge_14.cjs.entry.js +6 -6
- package/dist/cjs/road-badge_14.cjs.entry.js.map +1 -1
- package/dist/cjs/road-banner.cjs.entry.js +1 -1
- package/dist/cjs/road-button-floating.cjs.entry.js +1 -1
- package/dist/cjs/road-card.cjs.entry.js +1 -1
- package/dist/cjs/road-carousel-item.cjs.entry.js +1 -1
- package/dist/cjs/road-carousel.cjs.entry.js +1 -1
- package/dist/cjs/road-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/road-chip.cjs.entry.js +1 -1
- package/dist/cjs/road-collapse.cjs.entry.js +1 -1
- package/dist/cjs/road-content-card.cjs.entry.js +1 -1
- package/dist/cjs/road-dialog.cjs.entry.js +1 -1
- package/dist/cjs/road-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/road-duration.cjs.entry.js +1 -1
- package/dist/cjs/road-flap.cjs.entry.js +1 -1
- package/dist/cjs/road-global-navigation-v2.cjs.entry.js +1 -1
- package/dist/cjs/road-global-navigation.cjs.entry.js +1 -1
- package/dist/cjs/road-illustration.cjs.entry.js +2 -2
- package/dist/cjs/road-img.cjs.entry.js +1 -1
- package/dist/cjs/road-modal.cjs.entry.js +1 -1
- package/dist/cjs/road-navbar-item-v2.cjs.entry.js +1 -1
- package/dist/cjs/road-navbar-item.cjs.entry.js +1 -1
- package/dist/cjs/road-navbar-v2.cjs.entry.js +1 -1
- package/dist/cjs/road-navbar.cjs.entry.js +1 -1
- package/dist/cjs/road-phone-number-input.cjs.entry.js +1 -1
- package/dist/cjs/road-plate-number.cjs.entry.js +1 -1
- package/dist/cjs/road-profil-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/road-progress-indicator-horizontal.cjs.entry.js +1 -1
- package/dist/cjs/road-progress-indicator-vertical-item.cjs.entry.js +1 -1
- package/dist/cjs/road-progress-indicator-vertical.cjs.entry.js +1 -1
- package/dist/cjs/road-progress-tracker-item.cjs.entry.js +1 -1
- package/dist/cjs/road-progress-tracker.cjs.entry.js +1 -1
- package/dist/cjs/road-progress.cjs.entry.js +1 -1
- package/dist/cjs/road-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/road-radio.cjs.entry.js +1 -1
- package/dist/cjs/road-range.cjs.entry.js +1 -1
- package/dist/cjs/road-rating.cjs.entry.js +1 -1
- package/dist/cjs/road-segmented-button-bar.cjs.entry.js +1 -1
- package/dist/cjs/road-segmented-button.cjs.entry.js +1 -1
- package/dist/cjs/road-segmented-buttons.cjs.entry.js +1 -1
- package/dist/cjs/road-select-filter.cjs.entry.js +1 -1
- package/dist/cjs/road-select.cjs.entry.js +1 -1
- package/dist/cjs/road-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/road-spinner.cjs.entry.js +1 -1
- package/dist/cjs/road-switch.cjs.entry.js +1 -1
- package/dist/cjs/road-tab-bar.cjs.entry.js +1 -1
- package/dist/cjs/road-tab-button.cjs.entry.js +1 -1
- package/dist/cjs/road-tab.cjs.entry.js +1 -1
- package/dist/cjs/road-table.cjs.entry.js +1 -1
- package/dist/cjs/road-tabs.cjs.entry.js +1 -1
- package/dist/cjs/road-tag.cjs.entry.js +1 -1
- package/dist/cjs/road-text.cjs.entry.js +1 -1
- package/dist/cjs/road-textarea.cjs.entry.js +1 -1
- package/dist/cjs/road-toast.cjs.entry.js +1 -1
- package/dist/cjs/road-toggle.cjs.entry.js +1 -1
- package/dist/cjs/road-toolbar-title-page.cjs.entry.js +1 -1
- package/dist/cjs/road-toolbar-title.cjs.entry.js +1 -1
- package/dist/cjs/road-toolbar-v2.cjs.entry.js +1 -1
- package/dist/cjs/road-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/roadtrip.cjs.js +3 -3
- package/dist/cjs/roadtrip.cjs.js.map +1 -1
- package/dist/cjs/{utils-25752683.js → utils-1301c43c.js} +2 -2
- package/dist/cjs/{utils-25752683.js.map → utils-1301c43c.js.map} +1 -1
- package/dist/cjs/{utils-11a0a9e6.js → utils-c951aa69.js} +2 -2
- package/dist/cjs/{utils-11a0a9e6.js.map → utils-c951aa69.js.map} +1 -1
- package/dist/cjs/{utils-e0016ab3.js → utils-f0685862.js} +2 -2
- package/dist/cjs/{utils-e0016ab3.js.map → utils-f0685862.js.map} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/accordion/accordion.stories.js +1 -1
- package/dist/collection/components/alert/alert.stories.js +1 -1
- package/dist/collection/components/asset/asset.stories.js +1 -1
- package/dist/collection/components/avatar/avatar.stories.js +1 -1
- package/dist/collection/components/badge/badge.stories.js +1 -1
- package/dist/collection/components/banner/banner.stories.js +1 -1
- package/dist/collection/components/button/button.stories.js +1 -1
- package/dist/collection/components/button-floating/button-floating.stories.js +1 -1
- package/dist/collection/components/card/card.stories.js +1 -1
- package/dist/collection/components/carousel/carousel.stories.js +1 -1
- package/dist/collection/components/checkbox/checkbox.stories.js +1 -1
- package/dist/collection/components/chip/chip.stories.js +1 -1
- package/dist/collection/components/collapse/collapse.stories.js +1 -1
- package/dist/collection/components/content-card/content-card.stories.js +1 -1
- package/dist/collection/components/counter/counter.stories.js +1 -1
- package/dist/collection/components/dialog/dialog.stories.js +1 -1
- package/dist/collection/components/drawer/drawer.stories.js +1 -1
- package/dist/collection/components/dropdown/dropdown.stories.js +1 -1
- package/dist/collection/components/duration/duration.stories.js +1 -1
- package/dist/collection/components/flap/flap.stories.js +1 -1
- package/dist/collection/components/global-navigation/global-navigation.stories.js +1 -1
- package/dist/collection/components/global-navigation-v2/global-navigation-v2.stories.js +1 -1
- package/dist/collection/components/icon/icon.stories.js +1 -1
- package/dist/collection/components/illustration/illustration.stories.js +1 -1
- package/dist/collection/components/input/input.js +6 -6
- package/dist/collection/components/input/input.js.map +1 -1
- package/dist/collection/components/input/input.stories.js +6 -1
- package/dist/collection/components/item/item.stories.js +1 -1
- package/dist/collection/components/list/list.stories.js +1 -1
- package/dist/collection/components/modal/modal.stories.js +1 -1
- package/dist/collection/components/navbar/navbar.stories.js +1 -1
- package/dist/collection/components/navbar-v2/navbar-v2.stories.js +1 -1
- package/dist/collection/components/phone-number-input/phone-number-input.stories.js +1 -1
- package/dist/collection/components/plate-number/plate-number.stories.js +1 -1
- package/dist/collection/components/profil-dropdown/profil-dropdown.stories.js +1 -1
- package/dist/collection/components/progress-indicator-horizontal/progress-indicator-horizontal.stories.js +1 -1
- package/dist/collection/components/progress-indicator-vertical/progress-indicator-vertical.stories.js +1 -1
- package/dist/collection/components/progress-tracker/progress-tracker.stories.js +1 -1
- package/dist/collection/components/radio/radio.stories.js +1 -1
- package/dist/collection/components/range/range.stories.js +1 -1
- package/dist/collection/components/rating/rating.stories.js +1 -1
- package/dist/collection/components/segmented-buttons/segmented-buttons.stories.js +1 -1
- package/dist/collection/components/select/select.stories.js +1 -1
- package/dist/collection/components/select-filter/select-filter.stories.js +1 -1
- package/dist/collection/components/spinner/spinner.stories.js +1 -1
- package/dist/collection/components/tag/tag.stories.js +1 -1
- package/dist/collection/components/textarea/textarea.stories.js +1 -1
- package/dist/collection/components/toast/toast.stories.js +1 -1
- package/dist/collection/components/toggle/toggle.stories.js +1 -1
- package/dist/collection/components/toolbar/toolbar.stories.js +1 -1
- package/dist/collection/components/toolbar-v2/toolbar-v2.stories.js +1 -1
- package/dist/collection/components/tooltip/tooltip.stories.js +1 -1
- package/dist/esm/{index-f3c5b68e.js → index-4c1f5d1f.js} +58 -22
- package/dist/esm/index-4c1f5d1f.js.map +1 -0
- package/dist/esm/index.js +4 -4
- package/dist/esm/loader.js +3 -3
- package/dist/esm/road-accordion.entry.js +1 -1
- package/dist/esm/road-alert.entry.js +1 -1
- package/dist/esm/road-area-code.entry.js +1 -1
- package/dist/esm/road-asset.entry.js +2 -2
- package/dist/esm/road-autocomplete.entry.js +1 -1
- package/dist/esm/road-avatar.entry.js +1 -1
- package/dist/esm/road-badge_14.entry.js +6 -6
- package/dist/esm/road-badge_14.entry.js.map +1 -1
- package/dist/esm/road-banner.entry.js +1 -1
- package/dist/esm/road-button-floating.entry.js +1 -1
- package/dist/esm/road-card.entry.js +1 -1
- package/dist/esm/road-carousel-item.entry.js +1 -1
- package/dist/esm/road-carousel.entry.js +1 -1
- package/dist/esm/road-checkbox.entry.js +1 -1
- package/dist/esm/road-chip.entry.js +1 -1
- package/dist/esm/road-collapse.entry.js +1 -1
- package/dist/esm/road-content-card.entry.js +1 -1
- package/dist/esm/road-dialog.entry.js +1 -1
- package/dist/esm/road-dropdown.entry.js +1 -1
- package/dist/esm/road-duration.entry.js +1 -1
- package/dist/esm/road-flap.entry.js +1 -1
- package/dist/esm/road-global-navigation-v2.entry.js +1 -1
- package/dist/esm/road-global-navigation.entry.js +1 -1
- package/dist/esm/road-illustration.entry.js +2 -2
- package/dist/esm/road-img.entry.js +1 -1
- package/dist/esm/road-modal.entry.js +1 -1
- package/dist/esm/road-navbar-item-v2.entry.js +1 -1
- package/dist/esm/road-navbar-item.entry.js +1 -1
- package/dist/esm/road-navbar-v2.entry.js +1 -1
- package/dist/esm/road-navbar.entry.js +1 -1
- package/dist/esm/road-phone-number-input.entry.js +1 -1
- package/dist/esm/road-plate-number.entry.js +1 -1
- package/dist/esm/road-profil-dropdown.entry.js +1 -1
- package/dist/esm/road-progress-indicator-horizontal.entry.js +1 -1
- package/dist/esm/road-progress-indicator-vertical-item.entry.js +1 -1
- package/dist/esm/road-progress-indicator-vertical.entry.js +1 -1
- package/dist/esm/road-progress-tracker-item.entry.js +1 -1
- package/dist/esm/road-progress-tracker.entry.js +1 -1
- package/dist/esm/road-progress.entry.js +1 -1
- package/dist/esm/road-radio-group.entry.js +1 -1
- package/dist/esm/road-radio.entry.js +1 -1
- package/dist/esm/road-range.entry.js +1 -1
- package/dist/esm/road-rating.entry.js +1 -1
- package/dist/esm/road-segmented-button-bar.entry.js +1 -1
- package/dist/esm/road-segmented-button.entry.js +1 -1
- package/dist/esm/road-segmented-buttons.entry.js +1 -1
- package/dist/esm/road-select-filter.entry.js +1 -1
- package/dist/esm/road-select.entry.js +1 -1
- package/dist/esm/road-skeleton.entry.js +1 -1
- package/dist/esm/road-spinner.entry.js +1 -1
- package/dist/esm/road-switch.entry.js +1 -1
- package/dist/esm/road-tab-bar.entry.js +1 -1
- package/dist/esm/road-tab-button.entry.js +1 -1
- package/dist/esm/road-tab.entry.js +1 -1
- package/dist/esm/road-table.entry.js +1 -1
- package/dist/esm/road-tabs.entry.js +1 -1
- package/dist/esm/road-tag.entry.js +1 -1
- package/dist/esm/road-text.entry.js +1 -1
- package/dist/esm/road-textarea.entry.js +1 -1
- package/dist/esm/road-toast.entry.js +1 -1
- package/dist/esm/road-toggle.entry.js +1 -1
- package/dist/esm/road-toolbar-title-page.entry.js +1 -1
- package/dist/esm/road-toolbar-title.entry.js +1 -1
- package/dist/esm/road-toolbar-v2.entry.js +1 -1
- package/dist/esm/road-tooltip.entry.js +1 -1
- package/dist/esm/roadtrip.js +4 -4
- package/dist/esm/roadtrip.js.map +1 -1
- package/dist/esm/{utils-65e8eef3.js → utils-78ae85c5.js} +2 -2
- package/dist/esm/{utils-65e8eef3.js.map → utils-78ae85c5.js.map} +1 -1
- package/dist/esm/{utils-d3cec86c.js → utils-964ae527.js} +2 -2
- package/dist/esm/{utils-d3cec86c.js.map → utils-964ae527.js.map} +1 -1
- package/dist/esm/{utils-8148deff.js → utils-c6a028c5.js} +2 -2
- package/dist/esm/{utils-8148deff.js.map → utils-c6a028c5.js.map} +1 -1
- package/dist/html.html-data.json +1 -1
- package/dist/roadtrip/index.esm.js +1 -1
- package/dist/roadtrip/{p-dac4736d.entry.js → p-01618daf.entry.js} +2 -2
- package/dist/roadtrip/{p-23142511.entry.js → p-07633780.entry.js} +2 -2
- package/dist/roadtrip/p-0b68e487.entry.js +2 -0
- package/dist/roadtrip/{p-f9c66715.entry.js.map → p-0b68e487.entry.js.map} +1 -1
- package/dist/roadtrip/p-0e2f57a3.js +2 -0
- package/dist/roadtrip/{p-698abbdb.entry.js → p-10927dd4.entry.js} +2 -2
- package/dist/roadtrip/{p-c70a6f75.entry.js → p-111df76e.entry.js} +2 -2
- package/dist/roadtrip/{p-6e822465.entry.js → p-1269f911.entry.js} +2 -2
- package/dist/roadtrip/{p-200d5c89.entry.js → p-1724566a.entry.js} +2 -2
- package/dist/roadtrip/{p-4de6e537.entry.js → p-1aaaf2b1.entry.js} +2 -2
- package/dist/roadtrip/{p-0801cc18.entry.js → p-1bc42c19.entry.js} +2 -2
- package/dist/roadtrip/{p-6709e3f4.entry.js → p-20459c08.entry.js} +2 -2
- package/dist/roadtrip/{p-52f26ae9.entry.js → p-264ec254.entry.js} +2 -2
- package/dist/roadtrip/p-274069da.entry.js +2 -0
- package/dist/roadtrip/{p-37135c95.entry.js → p-2b9ea6a5.entry.js} +2 -2
- package/dist/roadtrip/{p-6fc769fc.entry.js → p-2dd0333d.entry.js} +2 -2
- package/dist/roadtrip/{p-f155064c.entry.js → p-31aa3829.entry.js} +2 -2
- package/dist/roadtrip/{p-3c567881.entry.js → p-340c1fd7.entry.js} +2 -2
- package/dist/roadtrip/{p-9e7807f4.entry.js → p-3471dbc6.entry.js} +2 -2
- package/dist/roadtrip/{p-3823247f.entry.js → p-399a7d0b.entry.js} +2 -2
- package/dist/roadtrip/{p-3750f911.entry.js → p-3ce2e672.entry.js} +2 -2
- package/dist/roadtrip/{p-79acc6ae.entry.js → p-4bf63a98.entry.js} +2 -2
- package/dist/roadtrip/{p-c5b01dda.entry.js → p-4ecf466e.entry.js} +2 -2
- package/dist/roadtrip/{p-63582e9c.entry.js → p-5880437b.entry.js} +2 -2
- package/dist/roadtrip/{p-d6867247.entry.js → p-5d1b98e6.entry.js} +2 -2
- package/dist/roadtrip/{p-30d74a80.entry.js → p-5d41e85f.entry.js} +2 -2
- package/dist/roadtrip/{p-4688d888.entry.js → p-5ed1f4c0.entry.js} +2 -2
- package/dist/roadtrip/{p-44b6f632.entry.js → p-5f1eebe1.entry.js} +2 -2
- package/dist/roadtrip/{p-b85b7e2b.entry.js → p-604d917f.entry.js} +2 -2
- package/dist/roadtrip/p-6f5174da.entry.js +2 -0
- package/dist/roadtrip/{p-c4ffc419.entry.js.map → p-6f5174da.entry.js.map} +1 -1
- package/dist/roadtrip/{p-aa2721e5.entry.js → p-70406e7e.entry.js} +2 -2
- package/dist/roadtrip/{p-1e73c3ce.entry.js → p-7112119b.entry.js} +2 -2
- package/dist/roadtrip/{p-c8438d35.entry.js → p-73d3c4c3.entry.js} +2 -2
- package/dist/roadtrip/{p-00c5b2d9.entry.js → p-7487724c.entry.js} +2 -2
- package/dist/roadtrip/{p-05088511.entry.js → p-7e6aee16.entry.js} +2 -2
- package/dist/roadtrip/{p-668553e9.entry.js → p-80d87dbd.entry.js} +2 -2
- package/dist/roadtrip/{p-71769ef4.entry.js → p-84938814.entry.js} +2 -2
- package/dist/roadtrip/{p-7684978a.entry.js → p-97683034.entry.js} +2 -2
- package/dist/roadtrip/p-99029235.js +2 -0
- package/dist/roadtrip/{p-43335414.entry.js → p-9c432882.entry.js} +2 -2
- package/dist/roadtrip/{p-b18add2d.entry.js → p-9cc75bae.entry.js} +2 -2
- package/dist/roadtrip/{p-bb33c1b5.entry.js → p-a36d5d3c.entry.js} +2 -2
- package/dist/roadtrip/{p-4b2920f6.entry.js → p-ab58de35.entry.js} +2 -2
- package/dist/roadtrip/{p-d8dcd2d2.entry.js → p-ac169742.entry.js} +2 -2
- package/dist/roadtrip/{p-1fd97505.entry.js → p-ac93c5e0.entry.js} +2 -2
- package/dist/roadtrip/{p-b4ba1b47.entry.js → p-b0fc1a99.entry.js} +3 -3
- package/dist/roadtrip/{p-b4ba1b47.entry.js.map → p-b0fc1a99.entry.js.map} +1 -1
- package/dist/roadtrip/{p-0236ce0a.entry.js → p-b6223198.entry.js} +2 -2
- package/dist/roadtrip/{p-c8ea6b4e.entry.js → p-b87a0f45.entry.js} +2 -2
- package/dist/roadtrip/{p-504c0354.entry.js → p-be114fac.entry.js} +2 -2
- package/dist/roadtrip/{p-5dfc9c10.entry.js → p-be57dbfc.entry.js} +2 -2
- package/dist/roadtrip/{p-6dfdd9e2.entry.js → p-bec6c1c6.entry.js} +2 -2
- package/dist/roadtrip/{p-eabdd6ce.entry.js → p-c29b58de.entry.js} +2 -2
- package/dist/roadtrip/p-c6a3fafd.js +3 -0
- package/dist/roadtrip/p-c6a3fafd.js.map +1 -0
- package/dist/roadtrip/{p-eec578a2.entry.js → p-c9496fa4.entry.js} +2 -2
- package/dist/roadtrip/{p-c1fc3902.entry.js → p-cad3a806.entry.js} +2 -2
- package/dist/roadtrip/{p-cff73fff.entry.js → p-cf7dd5b3.entry.js} +2 -2
- package/dist/roadtrip/{p-d8ff2277.entry.js → p-d1c7020d.entry.js} +2 -2
- package/dist/roadtrip/{p-b55e3657.entry.js → p-d3b3f2c3.entry.js} +2 -2
- package/dist/roadtrip/{p-98fdbcfb.entry.js → p-d78990ab.entry.js} +2 -2
- package/dist/roadtrip/{p-2e26072a.entry.js → p-d8be8638.entry.js} +2 -2
- package/dist/roadtrip/{p-848de0f1.entry.js → p-e3ac1271.entry.js} +2 -2
- package/dist/roadtrip/{p-4a14e21e.entry.js → p-e62e919d.entry.js} +2 -2
- package/dist/roadtrip/{p-18db551b.entry.js → p-e71ed819.entry.js} +2 -2
- package/dist/roadtrip/{p-a8b369c3.entry.js → p-ea3df1ce.entry.js} +2 -2
- package/dist/roadtrip/{p-484f7c99.entry.js → p-ec989647.entry.js} +2 -2
- package/dist/roadtrip/{p-ad43e5f0.entry.js → p-f8994de8.entry.js} +2 -2
- package/dist/roadtrip/p-fab30e42.js +2 -0
- package/dist/roadtrip/{p-4dc8a165.entry.js → p-fd611bb9.entry.js} +2 -2
- package/dist/roadtrip/{p-908e3634.entry.js → p-ffd851b4.entry.js} +2 -2
- package/dist/roadtrip/roadtrip.esm.js +1 -1
- package/dist/roadtrip/roadtrip.esm.js.map +1 -1
- package/dist/types/components/input/input.d.ts +1 -1
- package/dist/types/components.d.ts +2 -2
- package/hydrate/index.d.ts +22 -5
- package/hydrate/index.js +480 -42
- package/hydrate/index.mjs +480 -42
- package/package.json +12 -20
- package/dist/cjs/index-aadb3ac9.js.map +0 -1
- package/dist/esm/index-f3c5b68e.js.map +0 -1
- package/dist/roadtrip/p-38ab0443.js +0 -2
- package/dist/roadtrip/p-4ad903fe.js +0 -2
- package/dist/roadtrip/p-763109be.js +0 -3
- package/dist/roadtrip/p-763109be.js.map +0 -1
- package/dist/roadtrip/p-a1ea2f84.entry.js +0 -2
- package/dist/roadtrip/p-c4ffc419.entry.js +0 -2
- package/dist/roadtrip/p-d9195195.js +0 -2
- package/dist/roadtrip/p-f9c66715.entry.js +0 -2
- /package/dist/roadtrip/{p-dac4736d.entry.js.map → p-01618daf.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-23142511.entry.js.map → p-07633780.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-38ab0443.js.map → p-0e2f57a3.js.map} +0 -0
- /package/dist/roadtrip/{p-698abbdb.entry.js.map → p-10927dd4.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c70a6f75.entry.js.map → p-111df76e.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-6e822465.entry.js.map → p-1269f911.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-200d5c89.entry.js.map → p-1724566a.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-4de6e537.entry.js.map → p-1aaaf2b1.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-0801cc18.entry.js.map → p-1bc42c19.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-6709e3f4.entry.js.map → p-20459c08.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-52f26ae9.entry.js.map → p-264ec254.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-a1ea2f84.entry.js.map → p-274069da.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-37135c95.entry.js.map → p-2b9ea6a5.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-6fc769fc.entry.js.map → p-2dd0333d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-f155064c.entry.js.map → p-31aa3829.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-3c567881.entry.js.map → p-340c1fd7.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-9e7807f4.entry.js.map → p-3471dbc6.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-3823247f.entry.js.map → p-399a7d0b.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-3750f911.entry.js.map → p-3ce2e672.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-79acc6ae.entry.js.map → p-4bf63a98.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c5b01dda.entry.js.map → p-4ecf466e.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-63582e9c.entry.js.map → p-5880437b.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-d6867247.entry.js.map → p-5d1b98e6.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-30d74a80.entry.js.map → p-5d41e85f.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-4688d888.entry.js.map → p-5ed1f4c0.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-44b6f632.entry.js.map → p-5f1eebe1.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-b85b7e2b.entry.js.map → p-604d917f.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-aa2721e5.entry.js.map → p-70406e7e.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-1e73c3ce.entry.js.map → p-7112119b.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c8438d35.entry.js.map → p-73d3c4c3.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-00c5b2d9.entry.js.map → p-7487724c.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-05088511.entry.js.map → p-7e6aee16.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-668553e9.entry.js.map → p-80d87dbd.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-71769ef4.entry.js.map → p-84938814.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-7684978a.entry.js.map → p-97683034.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-4ad903fe.js.map → p-99029235.js.map} +0 -0
- /package/dist/roadtrip/{p-43335414.entry.js.map → p-9c432882.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-b18add2d.entry.js.map → p-9cc75bae.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-bb33c1b5.entry.js.map → p-a36d5d3c.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-4b2920f6.entry.js.map → p-ab58de35.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-d8dcd2d2.entry.js.map → p-ac169742.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-1fd97505.entry.js.map → p-ac93c5e0.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-0236ce0a.entry.js.map → p-b6223198.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c8ea6b4e.entry.js.map → p-b87a0f45.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-504c0354.entry.js.map → p-be114fac.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-5dfc9c10.entry.js.map → p-be57dbfc.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-6dfdd9e2.entry.js.map → p-bec6c1c6.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-eabdd6ce.entry.js.map → p-c29b58de.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-eec578a2.entry.js.map → p-c9496fa4.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c1fc3902.entry.js.map → p-cad3a806.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-cff73fff.entry.js.map → p-cf7dd5b3.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-d8ff2277.entry.js.map → p-d1c7020d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-b55e3657.entry.js.map → p-d3b3f2c3.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-98fdbcfb.entry.js.map → p-d78990ab.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-2e26072a.entry.js.map → p-d8be8638.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-848de0f1.entry.js.map → p-e3ac1271.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-4a14e21e.entry.js.map → p-e62e919d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-18db551b.entry.js.map → p-e71ed819.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-a8b369c3.entry.js.map → p-ea3df1ce.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-484f7c99.entry.js.map → p-ec989647.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-ad43e5f0.entry.js.map → p-f8994de8.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-d9195195.js.map → p-fab30e42.js.map} +0 -0
- /package/dist/roadtrip/{p-4dc8a165.entry.js.map → p-fd611bb9.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-908e3634.entry.js.map → p-ffd851b4.entry.js.map} +0 -0
package/hydrate/index.js
CHANGED
|
@@ -131,7 +131,7 @@ const NAMESPACE = 'roadtrip';
|
|
|
131
131
|
const BUILD = /* roadtrip */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: false, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: true, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, modernPropertyDecls: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: true, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, shadowDomShim: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
|
|
132
132
|
|
|
133
133
|
/*
|
|
134
|
-
Stencil Hydrate Platform v4.
|
|
134
|
+
Stencil Hydrate Platform v4.26.0 | MIT Licensed | https://stenciljs.com
|
|
135
135
|
*/
|
|
136
136
|
var __defProp = Object.defineProperty;
|
|
137
137
|
var __export = (target, all) => {
|
|
@@ -156,6 +156,11 @@ function queryNonceMetaTagContent(doc2) {
|
|
|
156
156
|
return (_c = (_b = (_a = doc2.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
|
|
157
157
|
}
|
|
158
158
|
|
|
159
|
+
// src/utils/regular-expression.ts
|
|
160
|
+
var escapeRegExpSpecialCharacters = (text) => {
|
|
161
|
+
return text.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
162
|
+
};
|
|
163
|
+
|
|
159
164
|
// src/utils/result.ts
|
|
160
165
|
var result_exports = {};
|
|
161
166
|
__export(result_exports, {
|
|
@@ -459,7 +464,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
459
464
|
delete hostElm["s-sc"];
|
|
460
465
|
}
|
|
461
466
|
}
|
|
462
|
-
if (!plt.$orgLocNodes$) {
|
|
467
|
+
if (!plt.$orgLocNodes$ || !plt.$orgLocNodes$.size) {
|
|
463
468
|
initializeDocumentHydrate(doc.body, plt.$orgLocNodes$ = /* @__PURE__ */ new Map());
|
|
464
469
|
}
|
|
465
470
|
hostElm[HYDRATE_ID] = hostId;
|
|
@@ -489,6 +494,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
489
494
|
}
|
|
490
495
|
}
|
|
491
496
|
if (childRenderNode.$tag$ === "slot") {
|
|
497
|
+
childRenderNode.$name$ = childRenderNode.$elm$["s-sn"] || childRenderNode.$elm$["name"] || null;
|
|
492
498
|
if (childRenderNode.$children$) {
|
|
493
499
|
childRenderNode.$flags$ |= 2 /* isSlotFallback */;
|
|
494
500
|
if (!childRenderNode.$elm$.childNodes.length) {
|
|
@@ -549,18 +555,25 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
549
555
|
slot.$elm$.parentElement.classList.add(scopeId2 + "-s");
|
|
550
556
|
});
|
|
551
557
|
}
|
|
552
|
-
if (shadowRoot) {
|
|
558
|
+
if (shadowRoot && !shadowRoot.childNodes.length) {
|
|
553
559
|
let rnIdex = 0;
|
|
554
560
|
const rnLen = shadowRootNodes.length;
|
|
555
|
-
|
|
556
|
-
|
|
561
|
+
if (rnLen) {
|
|
562
|
+
for (rnIdex; rnIdex < rnLen; rnIdex++) {
|
|
563
|
+
shadowRoot.appendChild(shadowRootNodes[rnIdex]);
|
|
564
|
+
}
|
|
565
|
+
Array.from(hostElm.childNodes).forEach((node) => {
|
|
566
|
+
if (typeof node["s-sn"] !== "string") {
|
|
567
|
+
if (node.nodeType === 1 /* ElementNode */ && node.slot && node.hidden) {
|
|
568
|
+
node.removeAttribute("hidden");
|
|
569
|
+
} else if (node.nodeType === 8 /* CommentNode */ || node.nodeType === 3 /* TextNode */ && !node.wholeText.trim()) {
|
|
570
|
+
node.parentNode.removeChild(node);
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
});
|
|
557
574
|
}
|
|
558
|
-
Array.from(hostElm.childNodes).forEach((node) => {
|
|
559
|
-
if (node.nodeType === 8 /* CommentNode */ && typeof node["s-sn"] !== "string") {
|
|
560
|
-
node.parentNode.removeChild(node);
|
|
561
|
-
}
|
|
562
|
-
});
|
|
563
575
|
}
|
|
576
|
+
plt.$orgLocNodes$.delete(hostElm["s-id"]);
|
|
564
577
|
hostRef.$hostElement$ = hostElm;
|
|
565
578
|
endHydrate();
|
|
566
579
|
};
|
|
@@ -671,7 +684,7 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
671
684
|
$text$: null
|
|
672
685
|
});
|
|
673
686
|
if (childNodeType === TEXT_NODE_ID) {
|
|
674
|
-
childVNode.$elm$ = node
|
|
687
|
+
childVNode.$elm$ = findCorrespondingNode(node, 3 /* TextNode */);
|
|
675
688
|
if (childVNode.$elm$ && childVNode.$elm$.nodeType === 3 /* TextNode */) {
|
|
676
689
|
childVNode.$text$ = childVNode.$elm$.textContent;
|
|
677
690
|
childRenderNodes.push(childVNode);
|
|
@@ -687,7 +700,7 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
687
700
|
}
|
|
688
701
|
}
|
|
689
702
|
} else if (childNodeType === COMMENT_NODE_ID) {
|
|
690
|
-
childVNode.$elm$ = node
|
|
703
|
+
childVNode.$elm$ = findCorrespondingNode(node, 8 /* CommentNode */);
|
|
691
704
|
if (childVNode.$elm$ && childVNode.$elm$.nodeType === 8 /* CommentNode */) {
|
|
692
705
|
childRenderNodes.push(childVNode);
|
|
693
706
|
node.remove();
|
|
@@ -721,6 +734,10 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
721
734
|
vnode.$elm$ = node;
|
|
722
735
|
vnode.$index$ = "0";
|
|
723
736
|
parentVNode.$children$ = [vnode];
|
|
737
|
+
} else {
|
|
738
|
+
if (node.nodeType === 3 /* TextNode */ && !node.wholeText.trim()) {
|
|
739
|
+
node.remove();
|
|
740
|
+
}
|
|
724
741
|
}
|
|
725
742
|
return parentVNode;
|
|
726
743
|
};
|
|
@@ -810,6 +827,363 @@ var addSlottedNodes = (slottedNodes, slotNodeId, slotName, slotNode, hostId) =>
|
|
|
810
827
|
slottedNode = slottedNode.nextSibling;
|
|
811
828
|
}
|
|
812
829
|
};
|
|
830
|
+
var findCorrespondingNode = (node, type) => {
|
|
831
|
+
let sibling = node;
|
|
832
|
+
do {
|
|
833
|
+
sibling = sibling.nextSibling;
|
|
834
|
+
} while (sibling && (sibling.nodeType !== type || !sibling.nodeValue));
|
|
835
|
+
return sibling;
|
|
836
|
+
};
|
|
837
|
+
|
|
838
|
+
// src/utils/shadow-css.ts
|
|
839
|
+
/**
|
|
840
|
+
* @license
|
|
841
|
+
* Copyright Google Inc. All Rights Reserved.
|
|
842
|
+
*
|
|
843
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
844
|
+
* found in the LICENSE file at https://angular.io/license
|
|
845
|
+
*
|
|
846
|
+
* This file is a port of shadowCSS from `webcomponents.js` to TypeScript.
|
|
847
|
+
* https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js
|
|
848
|
+
* https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts
|
|
849
|
+
*/
|
|
850
|
+
var safeSelector = (selector) => {
|
|
851
|
+
const placeholders = [];
|
|
852
|
+
let index = 0;
|
|
853
|
+
selector = selector.replace(/(\[[^\]]*\])/g, (_, keep) => {
|
|
854
|
+
const replaceBy = `__ph-${index}__`;
|
|
855
|
+
placeholders.push(keep);
|
|
856
|
+
index++;
|
|
857
|
+
return replaceBy;
|
|
858
|
+
});
|
|
859
|
+
const content = selector.replace(/(:nth-[-\w]+)(\([^)]+\))/g, (_, pseudo, exp) => {
|
|
860
|
+
const replaceBy = `__ph-${index}__`;
|
|
861
|
+
placeholders.push(exp);
|
|
862
|
+
index++;
|
|
863
|
+
return pseudo + replaceBy;
|
|
864
|
+
});
|
|
865
|
+
const ss = {
|
|
866
|
+
content,
|
|
867
|
+
placeholders
|
|
868
|
+
};
|
|
869
|
+
return ss;
|
|
870
|
+
};
|
|
871
|
+
var restoreSafeSelector = (placeholders, content) => {
|
|
872
|
+
return content.replace(/__ph-(\d+)__/g, (_, index) => placeholders[+index]);
|
|
873
|
+
};
|
|
874
|
+
var _polyfillHost = "-shadowcsshost";
|
|
875
|
+
var _polyfillSlotted = "-shadowcssslotted";
|
|
876
|
+
var _polyfillHostContext = "-shadowcsscontext";
|
|
877
|
+
var _parenSuffix = ")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)";
|
|
878
|
+
var _cssColonHostRe = new RegExp("(" + _polyfillHost + _parenSuffix, "gim");
|
|
879
|
+
var _cssColonHostContextRe = new RegExp("(" + _polyfillHostContext + _parenSuffix, "gim");
|
|
880
|
+
var _cssColonSlottedRe = new RegExp("(" + _polyfillSlotted + _parenSuffix, "gim");
|
|
881
|
+
var _polyfillHostNoCombinator = _polyfillHost + "-no-combinator";
|
|
882
|
+
var _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\s]*)/;
|
|
883
|
+
var _shadowDOMSelectorsRe = [/::shadow/g, /::content/g];
|
|
884
|
+
var _selectorReSuffix = "([>\\s~+[.,{:][\\s\\S]*)?$";
|
|
885
|
+
var _polyfillHostRe = /-shadowcsshost/gim;
|
|
886
|
+
var createSupportsRuleRe = (selector) => new RegExp(`((?<!(^@supports(.*)))|(?<={.*))(${selector}\\b)`, "gim");
|
|
887
|
+
var _colonSlottedRe = createSupportsRuleRe("::slotted");
|
|
888
|
+
var _colonHostRe = createSupportsRuleRe(":host");
|
|
889
|
+
var _colonHostContextRe = createSupportsRuleRe(":host-context");
|
|
890
|
+
var _commentRe = /\/\*\s*[\s\S]*?\*\//g;
|
|
891
|
+
var stripComments = (input) => {
|
|
892
|
+
return input.replace(_commentRe, "");
|
|
893
|
+
};
|
|
894
|
+
var _commentWithHashRe = /\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g;
|
|
895
|
+
var extractCommentsWithHash = (input) => {
|
|
896
|
+
return input.match(_commentWithHashRe) || [];
|
|
897
|
+
};
|
|
898
|
+
var _ruleRe = /(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g;
|
|
899
|
+
var _curlyRe = /([{}])/g;
|
|
900
|
+
var _selectorPartsRe = /(^.*?[^\\])??((:+)(.*)|$)/;
|
|
901
|
+
var OPEN_CURLY = "{";
|
|
902
|
+
var CLOSE_CURLY = "}";
|
|
903
|
+
var BLOCK_PLACEHOLDER = "%BLOCK%";
|
|
904
|
+
var processRules = (input, ruleCallback) => {
|
|
905
|
+
const inputWithEscapedBlocks = escapeBlocks(input);
|
|
906
|
+
let nextBlockIndex = 0;
|
|
907
|
+
return inputWithEscapedBlocks.escapedString.replace(_ruleRe, (...m) => {
|
|
908
|
+
const selector = m[2];
|
|
909
|
+
let content = "";
|
|
910
|
+
let suffix = m[4];
|
|
911
|
+
let contentPrefix = "";
|
|
912
|
+
if (suffix && suffix.startsWith("{" + BLOCK_PLACEHOLDER)) {
|
|
913
|
+
content = inputWithEscapedBlocks.blocks[nextBlockIndex++];
|
|
914
|
+
suffix = suffix.substring(BLOCK_PLACEHOLDER.length + 1);
|
|
915
|
+
contentPrefix = "{";
|
|
916
|
+
}
|
|
917
|
+
const cssRule = {
|
|
918
|
+
selector,
|
|
919
|
+
content
|
|
920
|
+
};
|
|
921
|
+
const rule = ruleCallback(cssRule);
|
|
922
|
+
return `${m[1]}${rule.selector}${m[3]}${contentPrefix}${rule.content}${suffix}`;
|
|
923
|
+
});
|
|
924
|
+
};
|
|
925
|
+
var escapeBlocks = (input) => {
|
|
926
|
+
const inputParts = input.split(_curlyRe);
|
|
927
|
+
const resultParts = [];
|
|
928
|
+
const escapedBlocks = [];
|
|
929
|
+
let bracketCount = 0;
|
|
930
|
+
let currentBlockParts = [];
|
|
931
|
+
for (let partIndex = 0; partIndex < inputParts.length; partIndex++) {
|
|
932
|
+
const part = inputParts[partIndex];
|
|
933
|
+
if (part === CLOSE_CURLY) {
|
|
934
|
+
bracketCount--;
|
|
935
|
+
}
|
|
936
|
+
if (bracketCount > 0) {
|
|
937
|
+
currentBlockParts.push(part);
|
|
938
|
+
} else {
|
|
939
|
+
if (currentBlockParts.length > 0) {
|
|
940
|
+
escapedBlocks.push(currentBlockParts.join(""));
|
|
941
|
+
resultParts.push(BLOCK_PLACEHOLDER);
|
|
942
|
+
currentBlockParts = [];
|
|
943
|
+
}
|
|
944
|
+
resultParts.push(part);
|
|
945
|
+
}
|
|
946
|
+
if (part === OPEN_CURLY) {
|
|
947
|
+
bracketCount++;
|
|
948
|
+
}
|
|
949
|
+
}
|
|
950
|
+
if (currentBlockParts.length > 0) {
|
|
951
|
+
escapedBlocks.push(currentBlockParts.join(""));
|
|
952
|
+
resultParts.push(BLOCK_PLACEHOLDER);
|
|
953
|
+
}
|
|
954
|
+
const strEscapedBlocks = {
|
|
955
|
+
escapedString: resultParts.join(""),
|
|
956
|
+
blocks: escapedBlocks
|
|
957
|
+
};
|
|
958
|
+
return strEscapedBlocks;
|
|
959
|
+
};
|
|
960
|
+
var insertPolyfillHostInCssText = (cssText) => {
|
|
961
|
+
cssText = cssText.replace(_colonHostContextRe, `$1${_polyfillHostContext}`).replace(_colonHostRe, `$1${_polyfillHost}`).replace(_colonSlottedRe, `$1${_polyfillSlotted}`);
|
|
962
|
+
return cssText;
|
|
963
|
+
};
|
|
964
|
+
var convertColonRule = (cssText, regExp, partReplacer) => {
|
|
965
|
+
return cssText.replace(regExp, (...m) => {
|
|
966
|
+
if (m[2]) {
|
|
967
|
+
const parts = m[2].split(",");
|
|
968
|
+
const r = [];
|
|
969
|
+
for (let i2 = 0; i2 < parts.length; i2++) {
|
|
970
|
+
const p = parts[i2].trim();
|
|
971
|
+
if (!p) break;
|
|
972
|
+
r.push(partReplacer(_polyfillHostNoCombinator, p, m[3]));
|
|
973
|
+
}
|
|
974
|
+
return r.join(",");
|
|
975
|
+
} else {
|
|
976
|
+
return _polyfillHostNoCombinator + m[3];
|
|
977
|
+
}
|
|
978
|
+
});
|
|
979
|
+
};
|
|
980
|
+
var colonHostPartReplacer = (host, part, suffix) => {
|
|
981
|
+
return host + part.replace(_polyfillHost, "") + suffix;
|
|
982
|
+
};
|
|
983
|
+
var convertColonHost = (cssText) => {
|
|
984
|
+
return convertColonRule(cssText, _cssColonHostRe, colonHostPartReplacer);
|
|
985
|
+
};
|
|
986
|
+
var colonHostContextPartReplacer = (host, part, suffix) => {
|
|
987
|
+
if (part.indexOf(_polyfillHost) > -1) {
|
|
988
|
+
return colonHostPartReplacer(host, part, suffix);
|
|
989
|
+
} else {
|
|
990
|
+
return host + part + suffix + ", " + part + " " + host + suffix;
|
|
991
|
+
}
|
|
992
|
+
};
|
|
993
|
+
var convertColonSlotted = (cssText, slotScopeId) => {
|
|
994
|
+
const slotClass = "." + slotScopeId + " > ";
|
|
995
|
+
const selectors = [];
|
|
996
|
+
cssText = cssText.replace(_cssColonSlottedRe, (...m) => {
|
|
997
|
+
if (m[2]) {
|
|
998
|
+
const compound = m[2].trim();
|
|
999
|
+
const suffix = m[3];
|
|
1000
|
+
const slottedSelector = slotClass + compound + suffix;
|
|
1001
|
+
let prefixSelector = "";
|
|
1002
|
+
for (let i2 = m[4] - 1; i2 >= 0; i2--) {
|
|
1003
|
+
const char = m[5][i2];
|
|
1004
|
+
if (char === "}" || char === ",") {
|
|
1005
|
+
break;
|
|
1006
|
+
}
|
|
1007
|
+
prefixSelector = char + prefixSelector;
|
|
1008
|
+
}
|
|
1009
|
+
const orgSelector = (prefixSelector + slottedSelector).trim();
|
|
1010
|
+
const addedSelector = `${prefixSelector.trimEnd()}${slottedSelector.trim()}`.trim();
|
|
1011
|
+
if (orgSelector !== addedSelector) {
|
|
1012
|
+
const updatedSelector = `${addedSelector}, ${orgSelector}`;
|
|
1013
|
+
selectors.push({
|
|
1014
|
+
orgSelector,
|
|
1015
|
+
updatedSelector
|
|
1016
|
+
});
|
|
1017
|
+
}
|
|
1018
|
+
return slottedSelector;
|
|
1019
|
+
} else {
|
|
1020
|
+
return _polyfillHostNoCombinator + m[3];
|
|
1021
|
+
}
|
|
1022
|
+
});
|
|
1023
|
+
return {
|
|
1024
|
+
selectors,
|
|
1025
|
+
cssText
|
|
1026
|
+
};
|
|
1027
|
+
};
|
|
1028
|
+
var convertColonHostContext = (cssText) => {
|
|
1029
|
+
return convertColonRule(cssText, _cssColonHostContextRe, colonHostContextPartReplacer);
|
|
1030
|
+
};
|
|
1031
|
+
var convertShadowDOMSelectors = (cssText) => {
|
|
1032
|
+
return _shadowDOMSelectorsRe.reduce((result, pattern) => result.replace(pattern, " "), cssText);
|
|
1033
|
+
};
|
|
1034
|
+
var makeScopeMatcher = (scopeSelector2) => {
|
|
1035
|
+
const lre = /\[/g;
|
|
1036
|
+
const rre = /\]/g;
|
|
1037
|
+
scopeSelector2 = scopeSelector2.replace(lre, "\\[").replace(rre, "\\]");
|
|
1038
|
+
return new RegExp("^(" + scopeSelector2 + ")" + _selectorReSuffix, "m");
|
|
1039
|
+
};
|
|
1040
|
+
var selectorNeedsScoping = (selector, scopeSelector2) => {
|
|
1041
|
+
const re = makeScopeMatcher(scopeSelector2);
|
|
1042
|
+
return !re.test(selector);
|
|
1043
|
+
};
|
|
1044
|
+
var injectScopingSelector = (selector, scopingSelector) => {
|
|
1045
|
+
return selector.replace(_selectorPartsRe, (_, before = "", _colonGroup, colon = "", after = "") => {
|
|
1046
|
+
return before + scopingSelector + colon + after;
|
|
1047
|
+
});
|
|
1048
|
+
};
|
|
1049
|
+
var applySimpleSelectorScope = (selector, scopeSelector2, hostSelector) => {
|
|
1050
|
+
_polyfillHostRe.lastIndex = 0;
|
|
1051
|
+
if (_polyfillHostRe.test(selector)) {
|
|
1052
|
+
const replaceBy = `.${hostSelector}`;
|
|
1053
|
+
return selector.replace(_polyfillHostNoCombinatorRe, (_, selector2) => injectScopingSelector(selector2, replaceBy)).replace(_polyfillHostRe, replaceBy + " ");
|
|
1054
|
+
}
|
|
1055
|
+
return scopeSelector2 + " " + selector;
|
|
1056
|
+
};
|
|
1057
|
+
var applyStrictSelectorScope = (selector, scopeSelector2, hostSelector) => {
|
|
1058
|
+
const isRe = /\[is=([^\]]*)\]/g;
|
|
1059
|
+
scopeSelector2 = scopeSelector2.replace(isRe, (_, ...parts) => parts[0]);
|
|
1060
|
+
const className = "." + scopeSelector2;
|
|
1061
|
+
const _scopeSelectorPart = (p) => {
|
|
1062
|
+
let scopedP = p.trim();
|
|
1063
|
+
if (!scopedP) {
|
|
1064
|
+
return "";
|
|
1065
|
+
}
|
|
1066
|
+
if (p.indexOf(_polyfillHostNoCombinator) > -1) {
|
|
1067
|
+
scopedP = applySimpleSelectorScope(p, scopeSelector2, hostSelector);
|
|
1068
|
+
} else {
|
|
1069
|
+
const t = p.replace(_polyfillHostRe, "");
|
|
1070
|
+
if (t.length > 0) {
|
|
1071
|
+
scopedP = injectScopingSelector(t, className);
|
|
1072
|
+
}
|
|
1073
|
+
}
|
|
1074
|
+
return scopedP;
|
|
1075
|
+
};
|
|
1076
|
+
const safeContent = safeSelector(selector);
|
|
1077
|
+
selector = safeContent.content;
|
|
1078
|
+
let scopedSelector = "";
|
|
1079
|
+
let startIndex = 0;
|
|
1080
|
+
let res;
|
|
1081
|
+
const sep = /( |>|\+|~(?!=))\s*/g;
|
|
1082
|
+
const hasHost = selector.indexOf(_polyfillHostNoCombinator) > -1;
|
|
1083
|
+
let shouldScope = !hasHost;
|
|
1084
|
+
while ((res = sep.exec(selector)) !== null) {
|
|
1085
|
+
const separator = res[1];
|
|
1086
|
+
const part2 = selector.slice(startIndex, res.index).trim();
|
|
1087
|
+
shouldScope = shouldScope || part2.indexOf(_polyfillHostNoCombinator) > -1;
|
|
1088
|
+
const scopedPart = shouldScope ? _scopeSelectorPart(part2) : part2;
|
|
1089
|
+
scopedSelector += `${scopedPart} ${separator} `;
|
|
1090
|
+
startIndex = sep.lastIndex;
|
|
1091
|
+
}
|
|
1092
|
+
const part = selector.substring(startIndex);
|
|
1093
|
+
shouldScope = shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1;
|
|
1094
|
+
scopedSelector += shouldScope ? _scopeSelectorPart(part) : part;
|
|
1095
|
+
return restoreSafeSelector(safeContent.placeholders, scopedSelector);
|
|
1096
|
+
};
|
|
1097
|
+
var scopeSelector = (selector, scopeSelectorText, hostSelector, slotSelector) => {
|
|
1098
|
+
return selector.split(",").map((shallowPart) => {
|
|
1099
|
+
if (slotSelector && shallowPart.indexOf("." + slotSelector) > -1) {
|
|
1100
|
+
return shallowPart.trim();
|
|
1101
|
+
}
|
|
1102
|
+
if (selectorNeedsScoping(shallowPart, scopeSelectorText)) {
|
|
1103
|
+
return applyStrictSelectorScope(shallowPart, scopeSelectorText, hostSelector).trim();
|
|
1104
|
+
} else {
|
|
1105
|
+
return shallowPart.trim();
|
|
1106
|
+
}
|
|
1107
|
+
}).join(", ");
|
|
1108
|
+
};
|
|
1109
|
+
var scopeSelectors = (cssText, scopeSelectorText, hostSelector, slotSelector, commentOriginalSelector) => {
|
|
1110
|
+
return processRules(cssText, (rule) => {
|
|
1111
|
+
let selector = rule.selector;
|
|
1112
|
+
let content = rule.content;
|
|
1113
|
+
if (rule.selector[0] !== "@") {
|
|
1114
|
+
selector = scopeSelector(rule.selector, scopeSelectorText, hostSelector, slotSelector);
|
|
1115
|
+
} else if (rule.selector.startsWith("@media") || rule.selector.startsWith("@supports") || rule.selector.startsWith("@page") || rule.selector.startsWith("@document")) {
|
|
1116
|
+
content = scopeSelectors(rule.content, scopeSelectorText, hostSelector, slotSelector);
|
|
1117
|
+
}
|
|
1118
|
+
const cssRule = {
|
|
1119
|
+
selector: selector.replace(/\s{2,}/g, " ").trim(),
|
|
1120
|
+
content
|
|
1121
|
+
};
|
|
1122
|
+
return cssRule;
|
|
1123
|
+
});
|
|
1124
|
+
};
|
|
1125
|
+
var scopeCssText = (cssText, scopeId2, hostScopeId, slotScopeId, commentOriginalSelector) => {
|
|
1126
|
+
cssText = insertPolyfillHostInCssText(cssText);
|
|
1127
|
+
cssText = convertColonHost(cssText);
|
|
1128
|
+
cssText = convertColonHostContext(cssText);
|
|
1129
|
+
const slotted = convertColonSlotted(cssText, slotScopeId);
|
|
1130
|
+
cssText = slotted.cssText;
|
|
1131
|
+
cssText = convertShadowDOMSelectors(cssText);
|
|
1132
|
+
if (scopeId2) {
|
|
1133
|
+
cssText = scopeSelectors(cssText, scopeId2, hostScopeId, slotScopeId);
|
|
1134
|
+
}
|
|
1135
|
+
cssText = replaceShadowCssHost(cssText, hostScopeId);
|
|
1136
|
+
cssText = cssText.replace(/>\s*\*\s+([^{, ]+)/gm, " $1 ");
|
|
1137
|
+
return {
|
|
1138
|
+
cssText: cssText.trim(),
|
|
1139
|
+
// We need to replace the shadow CSS host string in each of these selectors since we created
|
|
1140
|
+
// them prior to the replacement happening in the components CSS text.
|
|
1141
|
+
slottedSelectors: slotted.selectors.map((ref) => ({
|
|
1142
|
+
orgSelector: replaceShadowCssHost(ref.orgSelector, hostScopeId),
|
|
1143
|
+
updatedSelector: replaceShadowCssHost(ref.updatedSelector, hostScopeId)
|
|
1144
|
+
}))
|
|
1145
|
+
};
|
|
1146
|
+
};
|
|
1147
|
+
var replaceShadowCssHost = (cssText, hostScopeId) => {
|
|
1148
|
+
return cssText.replace(/-shadowcsshost-no-combinator/g, `.${hostScopeId}`);
|
|
1149
|
+
};
|
|
1150
|
+
var scopeCss = (cssText, scopeId2, commentOriginalSelector) => {
|
|
1151
|
+
const hostScopeId = scopeId2 + "-h";
|
|
1152
|
+
const slotScopeId = scopeId2 + "-s";
|
|
1153
|
+
const commentsWithHash = extractCommentsWithHash(cssText);
|
|
1154
|
+
cssText = stripComments(cssText);
|
|
1155
|
+
const orgSelectors = [];
|
|
1156
|
+
if (commentOriginalSelector) {
|
|
1157
|
+
const processCommentedSelector = (rule) => {
|
|
1158
|
+
const placeholder = `/*!@___${orgSelectors.length}___*/`;
|
|
1159
|
+
const comment = `/*!@${rule.selector}*/`;
|
|
1160
|
+
orgSelectors.push({ placeholder, comment });
|
|
1161
|
+
rule.selector = placeholder + rule.selector;
|
|
1162
|
+
return rule;
|
|
1163
|
+
};
|
|
1164
|
+
cssText = processRules(cssText, (rule) => {
|
|
1165
|
+
if (rule.selector[0] !== "@") {
|
|
1166
|
+
return processCommentedSelector(rule);
|
|
1167
|
+
} else if (rule.selector.startsWith("@media") || rule.selector.startsWith("@supports") || rule.selector.startsWith("@page") || rule.selector.startsWith("@document")) {
|
|
1168
|
+
rule.content = processRules(rule.content, processCommentedSelector);
|
|
1169
|
+
return rule;
|
|
1170
|
+
}
|
|
1171
|
+
return rule;
|
|
1172
|
+
});
|
|
1173
|
+
}
|
|
1174
|
+
const scoped = scopeCssText(cssText, scopeId2, hostScopeId, slotScopeId);
|
|
1175
|
+
cssText = [scoped.cssText, ...commentsWithHash].join("\n");
|
|
1176
|
+
if (commentOriginalSelector) {
|
|
1177
|
+
orgSelectors.forEach(({ placeholder, comment }) => {
|
|
1178
|
+
cssText = cssText.replace(placeholder, comment);
|
|
1179
|
+
});
|
|
1180
|
+
}
|
|
1181
|
+
scoped.slottedSelectors.forEach((slottedSelector) => {
|
|
1182
|
+
const regex = new RegExp(escapeRegExpSpecialCharacters(slottedSelector.orgSelector), "g");
|
|
1183
|
+
cssText = cssText.replace(regex, slottedSelector.updatedSelector);
|
|
1184
|
+
});
|
|
1185
|
+
return cssText;
|
|
1186
|
+
};
|
|
813
1187
|
var parsePropertyValue = (propValue, propType) => {
|
|
814
1188
|
if (propValue != null && !isComplexType(propValue)) {
|
|
815
1189
|
if (propType & 4 /* Boolean */) {
|
|
@@ -877,7 +1251,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
877
1251
|
if (nonce != null) {
|
|
878
1252
|
styleElm.setAttribute("nonce", nonce);
|
|
879
1253
|
}
|
|
880
|
-
if (cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
|
|
1254
|
+
if ((cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */ || cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */)) {
|
|
881
1255
|
styleElm.setAttribute(HYDRATED_STYLE_ID, scopeId2);
|
|
882
1256
|
}
|
|
883
1257
|
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
@@ -901,7 +1275,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
901
1275
|
styleContainerNode.append(styleElm);
|
|
902
1276
|
}
|
|
903
1277
|
}
|
|
904
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */
|
|
1278
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
905
1279
|
styleContainerNode.insertBefore(styleElm, null);
|
|
906
1280
|
}
|
|
907
1281
|
}
|
|
@@ -924,7 +1298,7 @@ var attachStyles = (hostRef) => {
|
|
|
924
1298
|
const scopeId2 = addStyle(
|
|
925
1299
|
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
926
1300
|
cmpMeta);
|
|
927
|
-
if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
|
|
1301
|
+
if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
|
|
928
1302
|
elm["s-sc"] = scopeId2;
|
|
929
1303
|
elm.classList.add(scopeId2 + "-h");
|
|
930
1304
|
}
|
|
@@ -1453,13 +1827,13 @@ var insertBefore = (parent, newNode, reference) => {
|
|
|
1453
1827
|
}
|
|
1454
1828
|
};
|
|
1455
1829
|
function addRemoveSlotScopedClass(reference, slotNode, newParent, oldParent) {
|
|
1456
|
-
var _a;
|
|
1830
|
+
var _a, _b;
|
|
1457
1831
|
let scopeId2;
|
|
1458
1832
|
if (reference && typeof slotNode["s-sn"] === "string" && !!slotNode["s-sr"] && reference.parentNode && reference.parentNode["s-sc"] && (scopeId2 = slotNode["s-si"] || reference.parentNode["s-sc"])) {
|
|
1459
1833
|
const scopeName = slotNode["s-sn"];
|
|
1460
1834
|
const hostName = slotNode["s-hn"];
|
|
1461
1835
|
(_a = newParent.classList) == null ? void 0 : _a.add(scopeId2 + "-s");
|
|
1462
|
-
if (oldParent && oldParent.classList.contains(scopeId2 + "-s")) {
|
|
1836
|
+
if (oldParent && ((_b = oldParent.classList) == null ? void 0 : _b.contains(scopeId2 + "-s"))) {
|
|
1463
1837
|
let child = (oldParent.__childNodes || oldParent.childNodes)[0];
|
|
1464
1838
|
let found = false;
|
|
1465
1839
|
while (child) {
|
|
@@ -1500,7 +1874,7 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
1500
1874
|
{
|
|
1501
1875
|
scopeId = hostElm["s-sc"];
|
|
1502
1876
|
}
|
|
1503
|
-
useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)
|
|
1877
|
+
useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
|
|
1504
1878
|
{
|
|
1505
1879
|
contentRef = hostElm["s-cr"];
|
|
1506
1880
|
checkSlotFallbackVisibility = false;
|
|
@@ -1725,9 +2099,6 @@ var postUpdateComponent = (hostRef) => {
|
|
|
1725
2099
|
}
|
|
1726
2100
|
};
|
|
1727
2101
|
var appDidLoad = (who) => {
|
|
1728
|
-
{
|
|
1729
|
-
addHydratedFlag(doc.documentElement);
|
|
1730
|
-
}
|
|
1731
2102
|
nextTick$1(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
|
|
1732
2103
|
};
|
|
1733
2104
|
var safeCall = (instance, method, arg, elm) => {
|
|
@@ -1939,7 +2310,8 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1939
2310
|
let Cstr;
|
|
1940
2311
|
if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
|
|
1941
2312
|
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
1942
|
-
|
|
2313
|
+
const bundleId = cmpMeta.$lazyBundleId$;
|
|
2314
|
+
if (bundleId) {
|
|
1943
2315
|
const CstrImport = loadModule(cmpMeta);
|
|
1944
2316
|
if (CstrImport && "then" in CstrImport) {
|
|
1945
2317
|
const endLoad = uniqueTime();
|
|
@@ -1975,6 +2347,10 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1975
2347
|
}
|
|
1976
2348
|
endNewInstance();
|
|
1977
2349
|
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
|
2350
|
+
} else {
|
|
2351
|
+
Cstr = elm.constructor;
|
|
2352
|
+
const cmpTag = elm.localName;
|
|
2353
|
+
customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
|
|
1978
2354
|
}
|
|
1979
2355
|
if (Cstr && Cstr.style) {
|
|
1980
2356
|
let style;
|
|
@@ -1984,6 +2360,9 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1984
2360
|
const scopeId2 = getScopeId(cmpMeta);
|
|
1985
2361
|
if (!styles$1.has(scopeId2)) {
|
|
1986
2362
|
const endRegisterStyles = createTime("registerStyles", cmpMeta.$tagName$);
|
|
2363
|
+
if (cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */) {
|
|
2364
|
+
style = scopeCss(style, scopeId2, true);
|
|
2365
|
+
}
|
|
1987
2366
|
registerStyle(scopeId2, style);
|
|
1988
2367
|
endRegisterStyles();
|
|
1989
2368
|
}
|
|
@@ -2260,7 +2639,7 @@ function proxyHostElement(elm, cstr) {
|
|
|
2260
2639
|
if (typeof elm.forceUpdate !== "function") {
|
|
2261
2640
|
elm.forceUpdate = forceUpdate2;
|
|
2262
2641
|
}
|
|
2263
|
-
if (!elm.shadowRoot && !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
2642
|
+
if (!elm.shadowRoot && !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */)) {
|
|
2264
2643
|
{
|
|
2265
2644
|
elm.attachShadow({ mode: "open" });
|
|
2266
2645
|
}
|
|
@@ -2306,16 +2685,21 @@ function proxyHostElement(elm, cstr) {
|
|
|
2306
2685
|
configurable: true,
|
|
2307
2686
|
enumerable: true
|
|
2308
2687
|
});
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2688
|
+
if (!cstr.prototype.__stencilAugmented) {
|
|
2689
|
+
Object.defineProperty(cstr.prototype, memberName, {
|
|
2690
|
+
get: function() {
|
|
2691
|
+
var _a2;
|
|
2692
|
+
const ref = getHostRef(this);
|
|
2693
|
+
const attrPropVal2 = (_a2 = ref.$instanceValues$) == null ? void 0 : _a2.get(memberName);
|
|
2694
|
+
if (origGetter && attrPropVal2 === void 0 && !getValue(this, memberName)) {
|
|
2695
|
+
setValue(this, memberName, origGetter.apply(this), cmpMeta);
|
|
2696
|
+
}
|
|
2697
|
+
return attrPropVal2 !== void 0 ? attrPropVal2 : origGetter ? origGetter.apply(this) : getValue(this, memberName);
|
|
2698
|
+
},
|
|
2699
|
+
configurable: true,
|
|
2700
|
+
enumerable: true
|
|
2701
|
+
});
|
|
2702
|
+
}
|
|
2319
2703
|
} else if (memberFlags & 64 /* Method */) {
|
|
2320
2704
|
Object.defineProperty(elm, memberName, {
|
|
2321
2705
|
value(...args) {
|
|
@@ -2331,6 +2715,7 @@ function proxyHostElement(elm, cstr) {
|
|
|
2331
2715
|
});
|
|
2332
2716
|
}
|
|
2333
2717
|
});
|
|
2718
|
+
cstr.prototype.__stencilAugmented = true;
|
|
2334
2719
|
}
|
|
2335
2720
|
}
|
|
2336
2721
|
function componentOnReady() {
|
|
@@ -2389,6 +2774,15 @@ function hydrateApp(win2, opts, results, afterHydrate, resolve) {
|
|
|
2389
2774
|
$flags$: null
|
|
2390
2775
|
});
|
|
2391
2776
|
if (Cstr != null && Cstr.cmpMeta != null) {
|
|
2777
|
+
if (opts.serializeShadowRoot !== false && !!(Cstr.cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && tagRequiresScoped(elm.tagName, opts.serializeShadowRoot)) {
|
|
2778
|
+
const cmpMeta = Cstr.cmpMeta;
|
|
2779
|
+
cmpMeta.$flags$ |= 128 /* shadowNeedsScopedCss */;
|
|
2780
|
+
Object.defineProperty(Cstr, "cmpMeta", {
|
|
2781
|
+
get: function() {
|
|
2782
|
+
return cmpMeta;
|
|
2783
|
+
}
|
|
2784
|
+
});
|
|
2785
|
+
}
|
|
2392
2786
|
createdElements.add(elm);
|
|
2393
2787
|
elm.connectedCallback = patchedConnectedCallback2;
|
|
2394
2788
|
registerHost(elm, Cstr.cmpMeta);
|
|
@@ -2581,6 +2975,25 @@ ${indent}${ln}`;
|
|
|
2581
2975
|
function waitingOnElementsMsg(waitingElements) {
|
|
2582
2976
|
return Array.from(waitingElements).map(waitingOnElementMsg);
|
|
2583
2977
|
}
|
|
2978
|
+
function tagRequiresScoped(tagName, opts) {
|
|
2979
|
+
if (typeof opts === "string") {
|
|
2980
|
+
return opts === "scoped";
|
|
2981
|
+
}
|
|
2982
|
+
if (typeof opts === "boolean") {
|
|
2983
|
+
return opts === true ? false : true;
|
|
2984
|
+
}
|
|
2985
|
+
if (typeof opts === "object") {
|
|
2986
|
+
tagName = tagName.toLowerCase();
|
|
2987
|
+
if (Array.isArray(opts["declarative-shadow-dom"]) && opts["declarative-shadow-dom"].includes(tagName)) {
|
|
2988
|
+
return false;
|
|
2989
|
+
} else if ((!Array.isArray(opts.scoped) || !opts.scoped.includes(tagName)) && opts.default === "declarative-shadow-dom") {
|
|
2990
|
+
return false;
|
|
2991
|
+
} else {
|
|
2992
|
+
return true;
|
|
2993
|
+
}
|
|
2994
|
+
}
|
|
2995
|
+
return false;
|
|
2996
|
+
}
|
|
2584
2997
|
var cmpModules = /* @__PURE__ */ new Map();
|
|
2585
2998
|
var getModule = (tagName) => {
|
|
2586
2999
|
if (typeof tagName === "string") {
|
|
@@ -28925,7 +29338,7 @@ class Input {
|
|
|
28925
29338
|
/**
|
|
28926
29339
|
* If `true`, block decimal.
|
|
28927
29340
|
*/
|
|
28928
|
-
this.
|
|
29341
|
+
this.blockdecimal = false;
|
|
28929
29342
|
/**
|
|
28930
29343
|
* Whether auto correction should be enabled when the user is entering/editing the text value.
|
|
28931
29344
|
*/
|
|
@@ -28978,7 +29391,7 @@ class Input {
|
|
|
28978
29391
|
this.onInput = (ev) => {
|
|
28979
29392
|
const input = ev.target;
|
|
28980
29393
|
let newValue = input.value;
|
|
28981
|
-
if (this.type === 'number' && this.
|
|
29394
|
+
if (this.type === 'number' && this.blockdecimal) {
|
|
28982
29395
|
newValue = newValue.replace(/[.,]/g, ''); // Supprime les décimales si blockDecimal est activé
|
|
28983
29396
|
}
|
|
28984
29397
|
this.value = newValue;
|
|
@@ -29003,7 +29416,7 @@ class Input {
|
|
|
29003
29416
|
};
|
|
29004
29417
|
}
|
|
29005
29418
|
handleKeyDown(event) {
|
|
29006
|
-
if (this.type === 'number' && this.
|
|
29419
|
+
if (this.type === 'number' && this.blockdecimal) {
|
|
29007
29420
|
const forbiddenKeys = ['.', ',', 'e', '-', '¨', '^', '`', '+'];
|
|
29008
29421
|
if (forbiddenKeys.includes(event.key)) {
|
|
29009
29422
|
event.preventDefault();
|
|
@@ -29052,7 +29465,7 @@ class Input {
|
|
|
29052
29465
|
const hasValueClass = this.value !== '' && this.value !== null ? 'has-value' : '';
|
|
29053
29466
|
const lessLabelClass = this.label !== '' ? '' : 'less-label';
|
|
29054
29467
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
29055
|
-
return (hAsync(Host, { key: '
|
|
29468
|
+
return (hAsync(Host, { key: '9251985e0b07d2b85f319d30bd6e4cc46cf78147', "aria-disabled": this.disabled ? 'true' : null, class: this.sizes && `input-${this.sizes}`, value: value, blockdecimal: this.blockdecimal }, hAsync("input", { key: 'b0d87d5bde0d232615d200c1b4c611a997931595', class: `form-control ${hasValueClass} ${isInvalidClass} ${lessLabelClass}`, id: this.inputId, "aria-disabled": this.disabled ? 'true' : null, "aria-labelledby": labelId, disabled: this.disabled, autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, enterKeyHint: this.enterkeyhint, autoFocus: this.autofocus, inputMode: this.inputmode, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, step: this.step, size: this.size, type: this.type, value: value, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.type === 'number' ? (event) => this.handleKeyDown(event) : undefined, onKeyUp: (event) => this.enforceMinMax(event.target), "data-cy": 'road-input' }), hAsync("label", { key: '910506a3f147908dd802d645c9d985862cf4126b', class: "form-label", id: labelId, htmlFor: this.inputId }, this.label), this.error && this.error !== '' && hAsync("p", { key: 'feb2985f978e936bcde5328233a433eda6f2d16c', class: "invalid-feedback" }, hAsync("road-icon", { key: 'f5d8a3c8edc1ccac2d5b9f9d6b2bcc3f3f7bc283', slot: "start", name: "alert-error-solid", "aria-hidden": "true", size: "sm" }), this.error), this.helper && this.helper !== '' && hAsync("p", { key: '3e11fd43dc68951c17d3ab267bc4a25316e1efce', class: "helper" }, this.helper), this.type && this.type == 'password' && hAsync("slot", { key: '0a2df2f8c92a52d18b6d1063765eaf47809a60b3', name: "checklistPassword" })));
|
|
29056
29469
|
}
|
|
29057
29470
|
static get watchers() { return {
|
|
29058
29471
|
"debounce": ["debounceChanged"],
|
|
@@ -29066,7 +29479,7 @@ class Input {
|
|
|
29066
29479
|
"inputId": [1, "input-id"],
|
|
29067
29480
|
"autocapitalize": [1],
|
|
29068
29481
|
"autocomplete": [1],
|
|
29069
|
-
"
|
|
29482
|
+
"blockdecimal": [4],
|
|
29070
29483
|
"autocorrect": [1],
|
|
29071
29484
|
"autofocus": [4],
|
|
29072
29485
|
"disabled": [4],
|
|
@@ -36015,7 +36428,7 @@ var NAMESPACE = (
|
|
|
36015
36428
|
);
|
|
36016
36429
|
|
|
36017
36430
|
/*
|
|
36018
|
-
Stencil Hydrate Runner v4.
|
|
36431
|
+
Stencil Hydrate Runner v4.26.0 | MIT Licensed | https://stenciljs.com
|
|
36019
36432
|
*/
|
|
36020
36433
|
var __defProp = Object.defineProperty;
|
|
36021
36434
|
var __export = (target, all) => {
|
|
@@ -46432,7 +46845,7 @@ function normalizeSerializationOptions(opts = {}) {
|
|
|
46432
46845
|
removeAttributeQuotes: typeof opts.removeAttributeQuotes !== "boolean" ? false : opts.removeAttributeQuotes,
|
|
46433
46846
|
removeBooleanAttributeQuotes: typeof opts.removeBooleanAttributeQuotes !== "boolean" ? false : opts.removeBooleanAttributeQuotes,
|
|
46434
46847
|
removeHtmlComments: typeof opts.removeHtmlComments !== "boolean" ? false : opts.removeHtmlComments,
|
|
46435
|
-
serializeShadowRoot: typeof opts.serializeShadowRoot
|
|
46848
|
+
serializeShadowRoot: typeof opts.serializeShadowRoot === "undefined" ? "declarative-shadow-dom" : opts.serializeShadowRoot,
|
|
46436
46849
|
fullDocument: typeof opts.fullDocument !== "boolean" ? true : opts.fullDocument
|
|
46437
46850
|
};
|
|
46438
46851
|
}
|
|
@@ -46561,7 +46974,7 @@ style="${cssText}">`;
|
|
|
46561
46974
|
}
|
|
46562
46975
|
if (EMPTY_ELEMENTS.has(tagName) === false) {
|
|
46563
46976
|
const shadowRoot = node.shadowRoot;
|
|
46564
|
-
if (shadowRoot != null && opts.serializeShadowRoot) {
|
|
46977
|
+
if (shadowRoot != null && opts.serializeShadowRoot !== false) {
|
|
46565
46978
|
output.indent = output.indent + ((_c = opts.indentSpaces) != null ? _c : 0);
|
|
46566
46979
|
yield* streamToHtml(shadowRoot, opts, output);
|
|
46567
46980
|
output.indent = output.indent - ((_d = opts.indentSpaces) != null ? _d : 0);
|
|
@@ -50303,6 +50716,31 @@ var unwrapErr = (result) => {
|
|
|
50303
50716
|
}
|
|
50304
50717
|
};
|
|
50305
50718
|
|
|
50719
|
+
// src/utils/shadow-css.ts
|
|
50720
|
+
/**
|
|
50721
|
+
* @license
|
|
50722
|
+
* Copyright Google Inc. All Rights Reserved.
|
|
50723
|
+
*
|
|
50724
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
50725
|
+
* found in the LICENSE file at https://angular.io/license
|
|
50726
|
+
*
|
|
50727
|
+
* This file is a port of shadowCSS from `webcomponents.js` to TypeScript.
|
|
50728
|
+
* https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js
|
|
50729
|
+
* https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts
|
|
50730
|
+
*/
|
|
50731
|
+
var _polyfillHost = "-shadowcsshost";
|
|
50732
|
+
var _polyfillSlotted = "-shadowcssslotted";
|
|
50733
|
+
var _polyfillHostContext = "-shadowcsscontext";
|
|
50734
|
+
var _parenSuffix = ")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)";
|
|
50735
|
+
var _cssColonHostRe = new RegExp("(" + _polyfillHost + _parenSuffix, "gim");
|
|
50736
|
+
var _cssColonHostContextRe = new RegExp("(" + _polyfillHostContext + _parenSuffix, "gim");
|
|
50737
|
+
var _cssColonSlottedRe = new RegExp("(" + _polyfillSlotted + _parenSuffix, "gim");
|
|
50738
|
+
var _polyfillHostNoCombinator = _polyfillHost + "-no-combinator";
|
|
50739
|
+
var createSupportsRuleRe = (selector) => new RegExp(`((?<!(^@supports(.*)))|(?<={.*))(${selector}\\b)`, "gim");
|
|
50740
|
+
var _colonSlottedRe = createSupportsRuleRe("::slotted");
|
|
50741
|
+
var _colonHostRe = createSupportsRuleRe(":host");
|
|
50742
|
+
var _colonHostContextRe = createSupportsRuleRe(":host-context");
|
|
50743
|
+
|
|
50306
50744
|
// src/runtime/mode.ts
|
|
50307
50745
|
var setMode = (handler) => modeResolutionChain.push(handler);
|
|
50308
50746
|
var CAPTURE_EVENT_SUFFIX = "Capture";
|
|
@@ -51491,7 +51929,7 @@ function renderToString(html, options, asStream) {
|
|
|
51491
51929
|
const opts = normalizeHydrateOptions(options);
|
|
51492
51930
|
opts.serializeToHtml = true;
|
|
51493
51931
|
opts.fullDocument = typeof opts.fullDocument === "boolean" ? opts.fullDocument : true;
|
|
51494
|
-
opts.serializeShadowRoot = typeof opts.serializeShadowRoot === "
|
|
51932
|
+
opts.serializeShadowRoot = typeof opts.serializeShadowRoot === "undefined" ? "declarative-shadow-dom" : opts.serializeShadowRoot;
|
|
51495
51933
|
opts.constrainTimeouts = false;
|
|
51496
51934
|
return hydrateDocument(html, opts, asStream);
|
|
51497
51935
|
}
|