@venite/components 0.16.32 → 0.16.35
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/{app-globals-60a4f972.js → app-globals-d7a28815.js} +1 -1
- package/dist/cjs/{index-8fe0df8d.js → index-245c99ad.js} +199 -100
- package/dist/cjs/{index-e4c51e4d.js → index-540b2c5f.js} +1 -1
- package/dist/cjs/{index-1a73a70c.js → index-f791bafa.js} +3 -3
- package/dist/cjs/ion-action-sheet.cjs.entry.js +3 -3
- package/dist/cjs/ion-alert.cjs.entry.js +3 -3
- package/dist/cjs/ion-app.cjs.entry.js +3 -3
- package/dist/cjs/ion-avatar.cjs.entry.js +2 -2
- package/dist/cjs/ion-back-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/ion-badge.cjs.entry.js +2 -2
- package/dist/cjs/ion-button_13.cjs.entry.js +4 -4
- package/dist/cjs/ion-card-content_6.cjs.entry.js +5 -6
- package/dist/cjs/ion-card-subtitle.cjs.entry.js +2 -2
- package/dist/cjs/ion-card_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-checkbox_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-chip.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-fab-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-fab-list.cjs.entry.js +2 -2
- package/dist/cjs/ion-fab.cjs.entry.js +2 -2
- package/dist/cjs/ion-footer.cjs.entry.js +2 -2
- package/dist/cjs/ion-img.cjs.entry.js +2 -2
- package/dist/cjs/ion-infinite-scroll-content.cjs.entry.js +2 -2
- package/dist/cjs/ion-infinite-scroll.cjs.entry.js +2 -2
- package/dist/cjs/ion-input_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-item-divider.cjs.entry.js +2 -2
- package/dist/cjs/ion-item-group.cjs.entry.js +2 -2
- package/dist/cjs/ion-item-option.cjs.entry.js +2 -2
- package/dist/cjs/ion-item-options.cjs.entry.js +2 -2
- package/dist/cjs/ion-item-sliding.cjs.entry.js +2 -2
- package/dist/cjs/ion-list-header.cjs.entry.js +2 -2
- package/dist/cjs/ion-loading.cjs.entry.js +3 -3
- package/dist/cjs/ion-menu-button.cjs.entry.js +4 -4
- package/dist/cjs/ion-menu-toggle.cjs.entry.js +4 -4
- package/dist/cjs/ion-menu.cjs.entry.js +3 -3
- package/dist/cjs/ion-modal.cjs.entry.js +4 -4
- package/dist/cjs/ion-nav-link.cjs.entry.js +1 -1
- package/dist/cjs/ion-nav.cjs.entry.js +3 -3
- package/dist/cjs/ion-note.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker.cjs.entry.js +3 -3
- package/dist/cjs/ion-popover.cjs.entry.js +4 -4
- package/dist/cjs/ion-progress-bar.cjs.entry.js +2 -2
- package/dist/cjs/ion-radio_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-range.cjs.entry.js +2 -2
- package/dist/cjs/ion-refresher-content.cjs.entry.js +2 -2
- package/dist/cjs/ion-refresher.cjs.entry.js +2 -2
- package/dist/cjs/ion-reorder-group.cjs.entry.js +2 -2
- package/dist/cjs/ion-reorder.cjs.entry.js +2 -2
- package/dist/cjs/ion-route-redirect.cjs.entry.js +1 -1
- package/dist/cjs/ion-route.cjs.entry.js +1 -1
- package/dist/cjs/ion-router-link.cjs.entry.js +2 -2
- package/dist/cjs/ion-router-outlet.cjs.entry.js +3 -3
- package/dist/cjs/ion-router.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment_16.cjs.entry.js +5 -6
- package/dist/cjs/ion-select-popover.cjs.entry.js +3 -3
- package/dist/cjs/ion-select_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-slide.cjs.entry.js +2 -2
- package/dist/cjs/ion-slides.cjs.entry.js +2 -2
- package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab.cjs.entry.js +1 -1
- package/dist/cjs/ion-tabs.cjs.entry.js +1 -1
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
- package/dist/cjs/ion-thumbnail.cjs.entry.js +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +3 -3
- package/dist/cjs/ion-virtual-scroll.cjs.entry.js +1 -1
- package/dist/cjs/{ionic-global-581fb4f8.js → ionic-global-b20a04a0.js} +1 -1
- package/dist/cjs/{ios.transition-7244ac4e.js → ios.transition-3f81acc9.js} +2 -2
- package/dist/cjs/ldf-day-name_5.cjs.entry.js +298 -22
- package/dist/cjs/ldf-editable-add-block-menu.cjs.entry.js +2 -2
- package/dist/cjs/ldf-editable-condition-piece.cjs.entry.js +2 -2
- package/dist/cjs/ldf-editable-condition.cjs.entry.js +2 -2
- package/dist/cjs/ldf-editable-filter-documents.cjs.entry.js +2 -2
- package/dist/cjs/ldf-editable-lookup_2.cjs.entry.js +2 -2
- package/dist/cjs/ldf-editable-metadata.cjs.entry.js +2 -2
- package/dist/cjs/ldf-editable-preference-option.cjs.entry.js +2 -2
- package/dist/cjs/ldf-editable-preference.cjs.entry.js +2 -2
- package/dist/cjs/ldf-editable-preferences.cjs.entry.js +4 -4
- package/dist/cjs/ldf-editable-string-list.cjs.entry.js +2 -2
- package/dist/cjs/ldf-editor-cursors.cjs.entry.js +1 -1
- package/dist/cjs/ldf-editor.cjs.entry.js +1 -1
- package/dist/cjs/ldf.cjs.js +4 -4
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-d4e925b1.js → locale-13a47c0e.js} +2 -2
- package/dist/cjs/{md.transition-d86b1ef0.js → md.transition-3c79bea3.js} +2 -2
- package/dist/cjs/{menu-toggle-util-293e388b.js → menu-toggle-util-97867373.js} +1 -1
- package/dist/cjs/{overlays-eb464d6d.js → overlays-1f6ff53c.js} +1 -1
- package/dist/cjs/{status-tap-7afb25f5.js → status-tap-f6d57467.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/bible-reading/bible-reading.js +1 -2
- package/dist/collection/components/day-name/day-name.i18n.es.json +265 -0
- package/dist/collection/components/day-name/day-name.js +18 -12
- package/dist/collection/components/day-name/dist/day-name.js +163 -0
- package/dist/collection/components/editable-antiphon-field/editable-antiphon-field.js +1 -2
- package/dist/collection/components/heading/dist/heading.js +5 -5
- package/dist/collection/components/heading/heading.js +5 -5
- package/dist/collection/i18n/day-name.i18n.es.json +265 -0
- package/dist/collection/utils/dist/locale.js +82 -0
- package/dist/collection/utils/locale.js +5 -6
- package/dist/esm/{app-globals-729b03cf.js → app-globals-3bd068b6.js} +1 -1
- package/dist/esm/{index-734a6b69.js → index-5d6128a2.js} +1 -1
- package/dist/esm/{index-f0f6a379.js → index-67fab020.js} +199 -100
- package/dist/esm/{index-9579282b.js → index-b24f5ce0.js} +3 -3
- package/dist/esm/ion-action-sheet.entry.js +3 -3
- package/dist/esm/ion-alert.entry.js +3 -3
- package/dist/esm/ion-app.entry.js +3 -3
- package/dist/esm/ion-avatar.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +2 -2
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-badge.entry.js +2 -2
- package/dist/esm/ion-button_13.entry.js +4 -4
- package/dist/esm/ion-card-content_6.entry.js +5 -6
- package/dist/esm/ion-card-subtitle.entry.js +2 -2
- package/dist/esm/ion-card_2.entry.js +2 -2
- package/dist/esm/ion-checkbox_3.entry.js +4 -4
- package/dist/esm/ion-chip.entry.js +2 -2
- package/dist/esm/ion-datetime_2.entry.js +3 -3
- package/dist/esm/ion-fab-button.entry.js +2 -2
- package/dist/esm/ion-fab-list.entry.js +2 -2
- package/dist/esm/ion-fab.entry.js +2 -2
- package/dist/esm/ion-footer.entry.js +2 -2
- package/dist/esm/ion-img.entry.js +2 -2
- package/dist/esm/ion-infinite-scroll-content.entry.js +2 -2
- package/dist/esm/ion-infinite-scroll.entry.js +2 -2
- package/dist/esm/ion-input_2.entry.js +3 -3
- package/dist/esm/ion-item-divider.entry.js +2 -2
- package/dist/esm/ion-item-group.entry.js +2 -2
- package/dist/esm/ion-item-option.entry.js +2 -2
- package/dist/esm/ion-item-options.entry.js +2 -2
- package/dist/esm/ion-item-sliding.entry.js +2 -2
- package/dist/esm/ion-list-header.entry.js +2 -2
- package/dist/esm/ion-loading.entry.js +3 -3
- package/dist/esm/ion-menu-button.entry.js +4 -4
- package/dist/esm/ion-menu-toggle.entry.js +4 -4
- package/dist/esm/ion-menu.entry.js +3 -3
- package/dist/esm/ion-modal.entry.js +4 -4
- package/dist/esm/ion-nav-link.entry.js +1 -1
- package/dist/esm/ion-nav.entry.js +3 -3
- package/dist/esm/ion-note.entry.js +2 -2
- package/dist/esm/ion-picker-column.entry.js +2 -2
- package/dist/esm/ion-picker.entry.js +3 -3
- package/dist/esm/ion-popover.entry.js +4 -4
- package/dist/esm/ion-progress-bar.entry.js +2 -2
- package/dist/esm/ion-radio_2.entry.js +2 -2
- package/dist/esm/ion-range.entry.js +2 -2
- package/dist/esm/ion-refresher-content.entry.js +2 -2
- package/dist/esm/ion-refresher.entry.js +2 -2
- package/dist/esm/ion-reorder-group.entry.js +2 -2
- package/dist/esm/ion-reorder.entry.js +2 -2
- package/dist/esm/ion-route-redirect.entry.js +1 -1
- package/dist/esm/ion-route.entry.js +1 -1
- package/dist/esm/ion-router-link.entry.js +2 -2
- package/dist/esm/ion-router-outlet.entry.js +3 -3
- package/dist/esm/ion-router.entry.js +1 -1
- package/dist/esm/ion-segment_16.entry.js +5 -6
- package/dist/esm/ion-select-popover.entry.js +3 -3
- package/dist/esm/ion-select_2.entry.js +3 -3
- package/dist/esm/ion-slide.entry.js +2 -2
- package/dist/esm/ion-slides.entry.js +2 -2
- package/dist/esm/ion-spinner.entry.js +2 -2
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar.entry.js +2 -2
- package/dist/esm/ion-tab-button.entry.js +2 -2
- package/dist/esm/ion-tab.entry.js +1 -1
- package/dist/esm/ion-tabs.entry.js +1 -1
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +2 -2
- package/dist/esm/ion-thumbnail.entry.js +2 -2
- package/dist/esm/ion-toast.entry.js +3 -3
- package/dist/esm/ion-virtual-scroll.entry.js +1 -1
- package/dist/esm/{ionic-global-ef89a0a5.js → ionic-global-6ad8a48f.js} +1 -1
- package/dist/esm/{ios.transition-b1be0863.js → ios.transition-c199f54e.js} +2 -2
- package/dist/esm/ldf-day-name_5.entry.js +298 -22
- package/dist/esm/ldf-editable-add-block-menu.entry.js +2 -2
- package/dist/esm/ldf-editable-condition-piece.entry.js +2 -2
- package/dist/esm/ldf-editable-condition.entry.js +2 -2
- package/dist/esm/ldf-editable-filter-documents.entry.js +2 -2
- package/dist/esm/ldf-editable-lookup_2.entry.js +2 -2
- package/dist/esm/ldf-editable-metadata.entry.js +2 -2
- package/dist/esm/ldf-editable-preference-option.entry.js +2 -2
- package/dist/esm/ldf-editable-preference.entry.js +2 -2
- package/dist/esm/ldf-editable-preferences.entry.js +4 -4
- package/dist/esm/ldf-editable-string-list.entry.js +2 -2
- package/dist/esm/ldf-editor-cursors.entry.js +1 -1
- package/dist/esm/ldf-editor.entry.js +1 -1
- package/dist/esm/ldf.js +4 -4
- package/dist/esm/loader.js +4 -4
- package/dist/esm/locale-de430ca1.js +6 -0
- package/dist/esm/{md.transition-1763f475.js → md.transition-56bc869f.js} +2 -2
- package/dist/esm/{menu-toggle-util-29e61ff3.js → menu-toggle-util-51d7da57.js} +1 -1
- package/dist/esm/{overlays-06b43b65.js → overlays-5eeb3167.js} +1 -1
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{status-tap-7458bd71.js → status-tap-2cbdf8de.js} +1 -1
- package/dist/ldf/i18n/day-name.i18n.es.json +265 -0
- package/dist/ldf/ldf.esm.js +1 -1
- package/dist/ldf/{p-ba021918.entry.js → p-006c710d.entry.js} +1 -1
- package/dist/ldf/{p-7abeb82c.entry.js → p-01581cbc.entry.js} +1 -1
- package/dist/ldf/{p-25a736f1.entry.js → p-042680be.entry.js} +1 -1
- package/dist/ldf/{p-374118d7.entry.js → p-04997f29.entry.js} +1 -1
- package/dist/ldf/{p-b78336d7.entry.js → p-0689482a.entry.js} +1 -1
- package/dist/ldf/{p-30ffc0cd.entry.js → p-0b79caea.entry.js} +1 -1
- package/dist/ldf/{p-7efa633b.entry.js → p-10ec8b2b.entry.js} +1 -1
- package/dist/ldf/{p-068e9f88.entry.js → p-111e555e.entry.js} +1 -1
- package/dist/ldf/{p-48e44122.js → p-120689cd.js} +1 -1
- package/dist/ldf/{p-c6163f81.entry.js → p-13d8cb5b.entry.js} +1 -1
- package/dist/ldf/p-172c9cba.js +1 -0
- package/dist/ldf/{p-cd2e39ca.entry.js → p-173d8b2f.entry.js} +1 -1
- package/dist/ldf/{p-018e57db.entry.js → p-1e4af691.entry.js} +1 -1
- package/dist/ldf/{p-63b5daf6.entry.js → p-2aa465f0.entry.js} +1 -1
- package/dist/ldf/{p-9e2c172e.entry.js → p-2b9f0d69.entry.js} +1 -1
- package/dist/ldf/{p-c3042920.entry.js → p-2da568a8.entry.js} +1 -1
- package/dist/ldf/{p-b923eab2.entry.js → p-33ae7830.entry.js} +1 -1
- package/dist/ldf/{p-c82dd468.entry.js → p-345c5e11.entry.js} +1 -1
- package/dist/ldf/{p-9c397c49.entry.js → p-382f88f5.entry.js} +1 -1
- package/dist/ldf/{p-d282d4f9.js → p-393fa8f4.js} +1 -1
- package/dist/ldf/{p-84f38db6.entry.js → p-3de38226.entry.js} +1 -1
- package/dist/ldf/{p-32f7ba8e.entry.js → p-4191dac5.entry.js} +1 -1
- package/dist/ldf/{p-79a526a1.entry.js → p-430c6d5f.entry.js} +1 -1
- package/dist/ldf/{p-5be7ff17.entry.js → p-433731ed.entry.js} +1 -1
- package/dist/ldf/{p-c3841978.entry.js → p-435074f2.entry.js} +1 -1
- package/dist/ldf/{p-c8389a67.entry.js → p-43c61174.entry.js} +1 -1
- package/dist/ldf/{p-1411d9f8.entry.js → p-458ac1ec.entry.js} +1 -1
- package/dist/ldf/{p-79eb1b06.entry.js → p-47acdcab.entry.js} +1 -1
- package/dist/ldf/p-4b6362b2.entry.js +1 -0
- package/dist/ldf/{p-fe59a676.entry.js → p-4b7d8b62.entry.js} +1 -1
- package/dist/ldf/{p-f43df90f.entry.js → p-4b86d456.entry.js} +1 -1
- package/dist/ldf/{p-e215fd02.entry.js → p-4cc8d2a1.entry.js} +1 -1
- package/dist/ldf/{p-8767a74e.entry.js → p-510128a4.entry.js} +1 -1
- package/dist/ldf/{p-c3279ab4.entry.js → p-53a9caff.entry.js} +1 -1
- package/dist/ldf/{p-0491d1d2.js → p-546bb0de.js} +0 -0
- package/dist/ldf/{p-66a7385e.entry.js → p-5a762d2a.entry.js} +1 -1
- package/dist/ldf/{p-d7f8c770.js → p-5c3b9b37.js} +1 -1
- package/dist/ldf/{p-327b14ac.entry.js → p-600d6548.entry.js} +1 -1
- package/dist/ldf/{p-55d797c1.js → p-602a0299.js} +1 -1
- package/dist/ldf/{p-9bd5d1d4.entry.js → p-64d13931.entry.js} +1 -1
- package/dist/ldf/{p-8932ec85.entry.js → p-6b79fb6b.entry.js} +1 -1
- package/dist/ldf/p-708a2765.js +1 -0
- package/dist/ldf/{p-d7966e9b.entry.js → p-70aa018b.entry.js} +1 -1
- package/dist/ldf/p-722e669a.entry.js +1 -0
- package/dist/ldf/{p-70e47f8b.entry.js → p-72327c41.entry.js} +1 -1
- package/dist/ldf/{p-04715bf0.entry.js → p-75074730.entry.js} +1 -1
- package/dist/ldf/{p-302dc0d5.entry.js → p-76ca41b9.entry.js} +1 -1
- package/dist/ldf/{p-52656429.entry.js → p-797ec4a1.entry.js} +1 -1
- package/dist/ldf/{p-de5bb5ad.js → p-8099b44a.js} +1 -1
- package/dist/ldf/{p-a6a44bf6.entry.js → p-80b738b0.entry.js} +1 -1
- package/dist/ldf/{p-c41e055c.entry.js → p-8193a55d.entry.js} +1 -1
- package/dist/ldf/{p-3c9930ff.entry.js → p-81f06492.entry.js} +1 -1
- package/dist/ldf/{p-cbfbb80c.entry.js → p-85ca7b1f.entry.js} +1 -1
- package/dist/ldf/{p-c6b42618.entry.js → p-86fb785f.entry.js} +1 -1
- package/dist/ldf/p-88399264.js +1 -0
- package/dist/ldf/{p-e4be11ad.entry.js → p-89ebccac.entry.js} +1 -1
- package/dist/ldf/{p-ca698b8f.entry.js → p-9082c830.entry.js} +1 -1
- package/dist/ldf/{p-f6afaa8f.entry.js → p-91023ea2.entry.js} +1 -1
- package/dist/ldf/{p-1a8e2899.entry.js → p-915ae850.entry.js} +1 -1
- package/dist/ldf/{p-4e0b3c0f.entry.js → p-91845728.entry.js} +1 -1
- package/dist/ldf/{p-d195c957.entry.js → p-94d323b0.entry.js} +1 -1
- package/dist/ldf/{p-b7388aec.entry.js → p-954b7ebe.entry.js} +1 -1
- package/dist/ldf/{p-3545fcdc.entry.js → p-97a68615.entry.js} +1 -1
- package/dist/ldf/{p-35bfe3eb.entry.js → p-99604e1e.entry.js} +1 -1
- package/dist/ldf/{p-8c2727db.entry.js → p-9ce93c07.entry.js} +1 -1
- package/dist/ldf/{p-69f85ad3.entry.js → p-a126f96a.entry.js} +1 -1
- package/dist/ldf/p-a2e0ee0d.entry.js +1 -0
- package/dist/ldf/{p-ec5eecdc.entry.js → p-a47f442f.entry.js} +1 -1
- package/dist/ldf/{p-ea66c343.entry.js → p-a98802f4.entry.js} +1 -1
- package/dist/ldf/{p-dc445c36.entry.js → p-a9ababd2.entry.js} +1 -1
- package/dist/ldf/{p-5642949a.entry.js → p-a9da3559.entry.js} +1 -1
- package/dist/ldf/p-aa8b3088.entry.js +1 -0
- package/dist/ldf/{p-b971af53.entry.js → p-adbba5f6.entry.js} +1 -1
- package/dist/ldf/p-b2d5bbfc.js +2 -0
- package/dist/ldf/{p-acbbd1ec.js → p-baadede3.js} +1 -1
- package/dist/ldf/{p-380f8655.entry.js → p-bf3e16ef.entry.js} +1 -1
- package/dist/ldf/{p-ac7a17ce.entry.js → p-c349d611.entry.js} +1 -1
- package/dist/ldf/{p-9d849fad.entry.js → p-c73f9f17.entry.js} +1 -1
- package/dist/ldf/{p-07d6d3ad.entry.js → p-c948a07b.entry.js} +1 -1
- package/dist/ldf/{p-2c36a583.entry.js → p-cbf796b6.entry.js} +1 -1
- package/dist/ldf/p-cd11c8fa.entry.js +1 -0
- package/dist/ldf/{p-dd99e42a.entry.js → p-cf2372bd.entry.js} +1 -1
- package/dist/ldf/{p-a3b9dc24.entry.js → p-cfdad003.entry.js} +1 -1
- package/dist/ldf/{p-430c418a.entry.js → p-d1093b15.entry.js} +1 -1
- package/dist/ldf/{p-c74d3fd0.entry.js → p-d5357e25.entry.js} +1 -1
- package/dist/ldf/{p-e0e12ae3.entry.js → p-e5182028.entry.js} +1 -1
- package/dist/ldf/{p-c3807857.entry.js → p-e63fcb3a.entry.js} +1 -1
- package/dist/ldf/{p-3f39c2ad.entry.js → p-e87f7e0b.entry.js} +1 -1
- package/dist/ldf/{p-6fe24d85.entry.js → p-f406e95e.entry.js} +1 -1
- package/dist/ldf/{p-c1df632d.entry.js → p-f58ceb34.entry.js} +1 -1
- package/dist/ldf/p-f59945d9.entry.js +1 -0
- package/dist/types/components.d.ts +163 -51
- package/dist/types/stencil-public-runtime.d.ts +196 -186
- package/loader/index.d.ts +0 -1
- package/package.json +2 -2
- package/dist/esm/locale-ec8e14e6.js +0 -6
- package/dist/ldf/p-08584ccc.entry.js +0 -1
- package/dist/ldf/p-0873a34a.entry.js +0 -1
- package/dist/ldf/p-21e2f0a3.entry.js +0 -1
- package/dist/ldf/p-4a4380fa.entry.js +0 -1
- package/dist/ldf/p-4b80de48.js +0 -1
- package/dist/ldf/p-59340423.entry.js +0 -1
- package/dist/ldf/p-978e2c6d.js +0 -1
- package/dist/ldf/p-aea73748.entry.js +0 -1
- package/dist/ldf/p-b1242016.js +0 -1
- package/dist/ldf/p-f2ce126e.js +0 -1
|
@@ -35,17 +35,17 @@ const doc = win.document || { head: {} };
|
|
|
35
35
|
const plt = {
|
|
36
36
|
$flags$: 0,
|
|
37
37
|
$resourcesUrl$: '',
|
|
38
|
-
jmp: h => h(),
|
|
39
|
-
raf: h => requestAnimationFrame(h),
|
|
38
|
+
jmp: (h) => h(),
|
|
39
|
+
raf: (h) => requestAnimationFrame(h),
|
|
40
40
|
ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
|
|
41
41
|
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
42
42
|
ce: (eventName, opts) => new CustomEvent(eventName, opts),
|
|
43
43
|
};
|
|
44
44
|
const promiseResolve = (v) => Promise.resolve(v);
|
|
45
|
-
const
|
|
45
|
+
const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
|
|
46
46
|
try {
|
|
47
47
|
new CSSStyleSheet();
|
|
48
|
-
return typeof
|
|
48
|
+
return typeof new CSSStyleSheet().replaceSync === 'function';
|
|
49
49
|
}
|
|
50
50
|
catch (e) { }
|
|
51
51
|
return false;
|
|
@@ -129,9 +129,14 @@ const uniqueTime = (key, measureText) => {
|
|
|
129
129
|
const rootAppliedStyles = new WeakMap();
|
|
130
130
|
const registerStyle = (scopeId, cssText, allowCS) => {
|
|
131
131
|
let style = styles.get(scopeId);
|
|
132
|
-
if (
|
|
132
|
+
if (supportsConstructableStylesheets && allowCS) {
|
|
133
133
|
style = (style || new CSSStyleSheet());
|
|
134
|
-
style
|
|
134
|
+
if (typeof style === 'string') {
|
|
135
|
+
style = cssText;
|
|
136
|
+
}
|
|
137
|
+
else {
|
|
138
|
+
style.replaceSync(cssText);
|
|
139
|
+
}
|
|
135
140
|
}
|
|
136
141
|
else {
|
|
137
142
|
style = cssText;
|
|
@@ -140,7 +145,7 @@ const registerStyle = (scopeId, cssText, allowCS) => {
|
|
|
140
145
|
};
|
|
141
146
|
const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
142
147
|
let scopeId = getScopeId(cmpMeta, mode);
|
|
143
|
-
|
|
148
|
+
const style = styles.get(scopeId);
|
|
144
149
|
// if an element is NOT connected then getRootNode() will return the wrong root node
|
|
145
150
|
// so the fallback is to always use the document for the root node in those cases
|
|
146
151
|
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
|
|
@@ -195,7 +200,7 @@ const attachStyles = (hostRef) => {
|
|
|
195
200
|
};
|
|
196
201
|
const getScopeId = (cmp, mode) => 'sc-' + (mode && cmp.$flags$ & 32 /* hasMode */ ? cmp.$tagName$ + '-' + mode : cmp.$tagName$);
|
|
197
202
|
// Private
|
|
198
|
-
const computeMode = (elm) => modeResolutionChain.map(h => h(elm)).find(m => !!m);
|
|
203
|
+
const computeMode = (elm) => modeResolutionChain.map((h) => h(elm)).find((m) => !!m);
|
|
199
204
|
// Public
|
|
200
205
|
const setMode = (handler) => modeResolutionChain.push(handler);
|
|
201
206
|
const getMode = (ref) => getHostRef(ref).$modeName$;
|
|
@@ -235,7 +240,7 @@ const h = (nodeName, vnodeData, ...children) => {
|
|
|
235
240
|
let slotName = null;
|
|
236
241
|
let simple = false;
|
|
237
242
|
let lastSimple = false;
|
|
238
|
-
|
|
243
|
+
const vNodeChildren = [];
|
|
239
244
|
const walk = (c) => {
|
|
240
245
|
for (let i = 0; i < c.length; i++) {
|
|
241
246
|
child = c[i];
|
|
@@ -274,7 +279,7 @@ const h = (nodeName, vnodeData, ...children) => {
|
|
|
274
279
|
typeof classData !== 'object'
|
|
275
280
|
? classData
|
|
276
281
|
: Object.keys(classData)
|
|
277
|
-
.filter(k => classData[k])
|
|
282
|
+
.filter((k) => classData[k])
|
|
278
283
|
.join(' ');
|
|
279
284
|
}
|
|
280
285
|
}
|
|
@@ -363,8 +368,8 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
363
368
|
const classList = elm.classList;
|
|
364
369
|
const oldClasses = parseClassList(oldValue);
|
|
365
370
|
const newClasses = parseClassList(newValue);
|
|
366
|
-
classList.remove(...oldClasses.filter(c => c && !newClasses.includes(c)));
|
|
367
|
-
classList.add(...newClasses.filter(c => c && !oldClasses.includes(c)));
|
|
371
|
+
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
372
|
+
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
368
373
|
}
|
|
369
374
|
else if (memberName === 'style') {
|
|
370
375
|
// update style attribute, css properties and values
|
|
@@ -399,7 +404,9 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
399
404
|
newValue(elm);
|
|
400
405
|
}
|
|
401
406
|
}
|
|
402
|
-
else if ((!isProp ) &&
|
|
407
|
+
else if ((!isProp ) &&
|
|
408
|
+
memberName[0] === 'o' &&
|
|
409
|
+
memberName[1] === 'n') {
|
|
403
410
|
// Event Handlers
|
|
404
411
|
// so if the member name starts with "on" and the 3rd characters is
|
|
405
412
|
// a capital letter, and it's not already a member on the element,
|
|
@@ -442,11 +449,10 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
442
449
|
if ((isProp || (isComplex && newValue !== null)) && !isSvg) {
|
|
443
450
|
try {
|
|
444
451
|
if (!elm.tagName.includes('-')) {
|
|
445
|
-
|
|
452
|
+
const n = newValue == null ? '' : newValue;
|
|
446
453
|
// Workaround for Safari, moving the <input> caret when re-assigning the same valued
|
|
447
454
|
if (memberName === 'list') {
|
|
448
455
|
isProp = false;
|
|
449
|
-
// tslint:disable-next-line: triple-equals
|
|
450
456
|
}
|
|
451
457
|
else if (oldValue == null || elm[memberName] != n) {
|
|
452
458
|
elm[memberName] = n;
|
|
@@ -500,7 +506,9 @@ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
|
|
|
500
506
|
// if the element passed in is a shadow root, which is a document fragment
|
|
501
507
|
// then we want to be adding attrs/props to the shadow root's "host" element
|
|
502
508
|
// if it's not a shadow root, then we add attrs/props to the same element
|
|
503
|
-
const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host
|
|
509
|
+
const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host
|
|
510
|
+
? newVnode.$elm$.host
|
|
511
|
+
: newVnode.$elm$;
|
|
504
512
|
const oldVnodeAttrs = (oldVnode && oldVnode.$attrs$) || EMPTY_OBJ;
|
|
505
513
|
const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
|
|
506
514
|
{
|
|
@@ -518,7 +526,7 @@ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
|
|
|
518
526
|
};
|
|
519
527
|
const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
520
528
|
// tslint:disable-next-line: prefer-const
|
|
521
|
-
|
|
529
|
+
const newVNode = newParentVNode.$children$[childIndex];
|
|
522
530
|
let i = 0;
|
|
523
531
|
let elm;
|
|
524
532
|
let childNode;
|
|
@@ -544,14 +552,17 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
544
552
|
}
|
|
545
553
|
else if (newVNode.$flags$ & 1 /* isSlotReference */) {
|
|
546
554
|
// create a slot reference node
|
|
547
|
-
elm = newVNode.$elm$ =
|
|
555
|
+
elm = newVNode.$elm$ =
|
|
556
|
+
doc.createTextNode('');
|
|
548
557
|
}
|
|
549
558
|
else {
|
|
550
559
|
if (!isSvgMode) {
|
|
551
560
|
isSvgMode = newVNode.$tag$ === 'svg';
|
|
552
561
|
}
|
|
553
562
|
// create element
|
|
554
|
-
elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* isSlotFallback */
|
|
563
|
+
elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* isSlotFallback */
|
|
564
|
+
? 'slot-fb'
|
|
565
|
+
: newVNode.$tag$)
|
|
555
566
|
);
|
|
556
567
|
if (isSvgMode && newVNode.$tag$ === 'foreignObject') {
|
|
557
568
|
isSvgMode = false;
|
|
@@ -848,7 +859,7 @@ const patch = (oldVNode, newVNode) => {
|
|
|
848
859
|
};
|
|
849
860
|
const updateFallbackSlotVisibility = (elm) => {
|
|
850
861
|
// tslint:disable-next-line: prefer-const
|
|
851
|
-
|
|
862
|
+
const childNodes = elm.childNodes;
|
|
852
863
|
let childNode;
|
|
853
864
|
let i;
|
|
854
865
|
let ilen;
|
|
@@ -901,8 +912,8 @@ const relocateSlotContent = (elm) => {
|
|
|
901
912
|
let relocateNodeData;
|
|
902
913
|
let j;
|
|
903
914
|
let i = 0;
|
|
904
|
-
|
|
905
|
-
|
|
915
|
+
const childNodes = elm.childNodes;
|
|
916
|
+
const ilen = childNodes.length;
|
|
906
917
|
for (; i < ilen; i++) {
|
|
907
918
|
childNode = childNodes[i];
|
|
908
919
|
if (childNode['s-sr'] && (node = childNode['s-cr']) && node.parentNode) {
|
|
@@ -918,7 +929,7 @@ const relocateSlotContent = (elm) => {
|
|
|
918
929
|
// that is suppose to always represent the original content location
|
|
919
930
|
if (isNodeLocatedInSlot(node, slotNameAttr)) {
|
|
920
931
|
// it's possible we've already decided to relocate this node
|
|
921
|
-
relocateNodeData = relocateNodes.find(r => r.$nodeToRelocate$ === node);
|
|
932
|
+
relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
|
|
922
933
|
// made some changes to slots
|
|
923
934
|
// let's make sure we also double check
|
|
924
935
|
// fallbacks are correctly hidden or shown
|
|
@@ -937,9 +948,9 @@ const relocateSlotContent = (elm) => {
|
|
|
937
948
|
});
|
|
938
949
|
}
|
|
939
950
|
if (node['s-sr']) {
|
|
940
|
-
relocateNodes.map(relocateNode => {
|
|
951
|
+
relocateNodes.map((relocateNode) => {
|
|
941
952
|
if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node['s-sn'])) {
|
|
942
|
-
relocateNodeData = relocateNodes.find(r => r.$nodeToRelocate$ === node);
|
|
953
|
+
relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
|
|
943
954
|
if (relocateNodeData && !relocateNode.$slotRefNode$) {
|
|
944
955
|
relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;
|
|
945
956
|
}
|
|
@@ -947,7 +958,7 @@ const relocateSlotContent = (elm) => {
|
|
|
947
958
|
});
|
|
948
959
|
}
|
|
949
960
|
}
|
|
950
|
-
else if (!relocateNodes.some(r => r.$nodeToRelocate$ === node)) {
|
|
961
|
+
else if (!relocateNodes.some((r) => r.$nodeToRelocate$ === node)) {
|
|
951
962
|
// so far this element does not have a slot home, not setting slotRefNode on purpose
|
|
952
963
|
// if we never find a home for this element then we'll need to hide it
|
|
953
964
|
relocateNodes.push({
|
|
@@ -1027,7 +1038,8 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
1027
1038
|
if (!nodeToRelocate['s-ol']) {
|
|
1028
1039
|
// add a reference node marking this node's original location
|
|
1029
1040
|
// keep a reference to this node for later lookups
|
|
1030
|
-
orgLocationNode =
|
|
1041
|
+
orgLocationNode =
|
|
1042
|
+
doc.createTextNode('');
|
|
1031
1043
|
orgLocationNode['s-nr'] = nodeToRelocate;
|
|
1032
1044
|
nodeToRelocate.parentNode.insertBefore((nodeToRelocate['s-ol'] = orgLocationNode), nodeToRelocate);
|
|
1033
1045
|
}
|
|
@@ -1051,7 +1063,8 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
1051
1063
|
}
|
|
1052
1064
|
}
|
|
1053
1065
|
}
|
|
1054
|
-
if ((!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode) ||
|
|
1066
|
+
if ((!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode) ||
|
|
1067
|
+
nodeToRelocate.nextSibling !== insertBeforeNode) {
|
|
1055
1068
|
// we've checked that it's worth while to relocate
|
|
1056
1069
|
// since that the node to relocate
|
|
1057
1070
|
// has a different next sibling or parent relocated
|
|
@@ -1097,6 +1110,13 @@ const createEvent = (ref, name, flags) => {
|
|
|
1097
1110
|
},
|
|
1098
1111
|
};
|
|
1099
1112
|
};
|
|
1113
|
+
/**
|
|
1114
|
+
* Helper function to create & dispatch a custom Event on a provided target
|
|
1115
|
+
* @param elm the target of the Event
|
|
1116
|
+
* @param name the name to give the custom Event
|
|
1117
|
+
* @param opts options for configuring a custom Event
|
|
1118
|
+
* @returns the custom Event
|
|
1119
|
+
*/
|
|
1100
1120
|
const emitEvent = (elm, name, opts) => {
|
|
1101
1121
|
const ev = plt.ce(name, opts);
|
|
1102
1122
|
elm.dispatchEvent(ev);
|
|
@@ -1104,7 +1124,7 @@ const emitEvent = (elm, name, opts) => {
|
|
|
1104
1124
|
};
|
|
1105
1125
|
const attachToAncestor = (hostRef, ancestorComponent) => {
|
|
1106
1126
|
if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
|
|
1107
|
-
ancestorComponent['s-p'].push(new Promise(r => (hostRef.$onRenderResolve$ = r)));
|
|
1127
|
+
ancestorComponent['s-p'].push(new Promise((r) => (hostRef.$onRenderResolve$ = r)));
|
|
1108
1128
|
}
|
|
1109
1129
|
};
|
|
1110
1130
|
const scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
@@ -1161,7 +1181,7 @@ const updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
|
1161
1181
|
// ok, so turns out there are some child host elements
|
|
1162
1182
|
// waiting on this parent element to load
|
|
1163
1183
|
// let's fire off all update callbacks waiting
|
|
1164
|
-
rc.map(cb => cb());
|
|
1184
|
+
rc.map((cb) => cb());
|
|
1165
1185
|
elm['s-rc'] = undefined;
|
|
1166
1186
|
}
|
|
1167
1187
|
endRender();
|
|
@@ -1259,7 +1279,8 @@ const forceUpdate = (ref) => {
|
|
|
1259
1279
|
{
|
|
1260
1280
|
const hostRef = getHostRef(ref);
|
|
1261
1281
|
const isConnected = hostRef.$hostElement$.isConnected;
|
|
1262
|
-
if (isConnected &&
|
|
1282
|
+
if (isConnected &&
|
|
1283
|
+
(hostRef.$flags$ & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
|
|
1263
1284
|
scheduleUpdate(hostRef, false);
|
|
1264
1285
|
}
|
|
1265
1286
|
// Returns "true" when the forced update was successfully scheduled
|
|
@@ -1288,7 +1309,31 @@ const safeCall = (instance, method, arg) => {
|
|
|
1288
1309
|
const then = (promise, thenFn) => {
|
|
1289
1310
|
return promise && promise.then ? promise.then(thenFn) : thenFn();
|
|
1290
1311
|
};
|
|
1291
|
-
const addHydratedFlag = (elm) =>
|
|
1312
|
+
const addHydratedFlag = (elm) => elm.classList.add('hydrated')
|
|
1313
|
+
;
|
|
1314
|
+
/**
|
|
1315
|
+
* Parse a new property value for a given property type.
|
|
1316
|
+
*
|
|
1317
|
+
* While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
|
|
1318
|
+
* it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
|
|
1319
|
+
* 1. `any`, the type given to `propValue` in the function signature
|
|
1320
|
+
* 2. the type stored from `propType`.
|
|
1321
|
+
*
|
|
1322
|
+
* This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
|
|
1323
|
+
*
|
|
1324
|
+
* Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
|
|
1325
|
+
* a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
|
|
1326
|
+
* based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
|
|
1327
|
+
* ```tsx
|
|
1328
|
+
* <my-cmp prop-val={0}></my-cmp>
|
|
1329
|
+
* ```
|
|
1330
|
+
*
|
|
1331
|
+
* HTML prop values on the other hand, will always a string
|
|
1332
|
+
*
|
|
1333
|
+
* @param propValue the new value to coerce to some type
|
|
1334
|
+
* @param propType the type of the prop, expressed as a binary number
|
|
1335
|
+
* @returns the parsed/coerced value
|
|
1336
|
+
*/
|
|
1292
1337
|
const parsePropertyValue = (propValue, propType) => {
|
|
1293
1338
|
// ensure this value is of the correct prop type
|
|
1294
1339
|
if (propValue != null && !isComplexType(propValue)) {
|
|
@@ -1322,7 +1367,10 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1322
1367
|
const flags = hostRef.$flags$;
|
|
1323
1368
|
const instance = hostRef.$lazyInstance$ ;
|
|
1324
1369
|
newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
|
|
1325
|
-
|
|
1370
|
+
// explicitly check for NaN on both sides, as `NaN === NaN` is always false
|
|
1371
|
+
const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
|
|
1372
|
+
const didValueChange = newVal !== oldVal && !areBothNaN;
|
|
1373
|
+
if ((!(flags & 8 /* isConstructingInstance */) || oldVal === undefined) && didValueChange) {
|
|
1326
1374
|
// gadzooks! the property's value has changed!!
|
|
1327
1375
|
// set our new value!
|
|
1328
1376
|
hostRef.$instanceValues$.set(propName, newVal);
|
|
@@ -1332,7 +1380,7 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1332
1380
|
const watchMethods = cmpMeta.$watchers$[propName];
|
|
1333
1381
|
if (watchMethods) {
|
|
1334
1382
|
// this instance is watching for when this property changed
|
|
1335
|
-
watchMethods.map(watchMethodName => {
|
|
1383
|
+
watchMethods.map((watchMethodName) => {
|
|
1336
1384
|
try {
|
|
1337
1385
|
// fire off each of the watch methods that are watching this property
|
|
1338
1386
|
instance[watchMethodName](newVal, oldVal, propName);
|
|
@@ -1362,7 +1410,8 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1362
1410
|
const members = Object.entries(cmpMeta.$members$);
|
|
1363
1411
|
const prototype = Cstr.prototype;
|
|
1364
1412
|
members.map(([memberName, [memberFlags]]) => {
|
|
1365
|
-
if ((memberFlags & 31 /* Prop */ ||
|
|
1413
|
+
if ((memberFlags & 31 /* Prop */ ||
|
|
1414
|
+
((flags & 2 /* proxyState */) && memberFlags & 32 /* State */))) {
|
|
1366
1415
|
// proxyComponent - prop
|
|
1367
1416
|
Object.defineProperty(prototype, memberName, {
|
|
1368
1417
|
get() {
|
|
@@ -1377,7 +1426,8 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1377
1426
|
enumerable: true,
|
|
1378
1427
|
});
|
|
1379
1428
|
}
|
|
1380
|
-
else if (flags & 1 /* isElementConstructor */ &&
|
|
1429
|
+
else if (flags & 1 /* isElementConstructor */ &&
|
|
1430
|
+
memberFlags & 64 /* Method */) {
|
|
1381
1431
|
// proxyComponent - method
|
|
1382
1432
|
Object.defineProperty(prototype, memberName, {
|
|
1383
1433
|
value(...args) {
|
|
@@ -1392,6 +1442,51 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1392
1442
|
prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
|
|
1393
1443
|
plt.jmp(() => {
|
|
1394
1444
|
const propName = attrNameToPropName.get(attrName);
|
|
1445
|
+
// In a web component lifecycle the attributeChangedCallback runs prior to connectedCallback
|
|
1446
|
+
// in the case where an attribute was set inline.
|
|
1447
|
+
// ```html
|
|
1448
|
+
// <my-component some-attribute="some-value"></my-component>
|
|
1449
|
+
// ```
|
|
1450
|
+
//
|
|
1451
|
+
// There is an edge case where a developer sets the attribute inline on a custom element and then
|
|
1452
|
+
// programmatically changes it before it has been upgraded as shown below:
|
|
1453
|
+
//
|
|
1454
|
+
// ```html
|
|
1455
|
+
// <!-- this component has _not_ been upgraded yet -->
|
|
1456
|
+
// <my-component id="test" some-attribute="some-value"></my-component>
|
|
1457
|
+
// <script>
|
|
1458
|
+
// // grab non-upgraded component
|
|
1459
|
+
// el = document.querySelector("#test");
|
|
1460
|
+
// el.someAttribute = "another-value";
|
|
1461
|
+
// // upgrade component
|
|
1462
|
+
// customElements.define('my-component', MyComponent);
|
|
1463
|
+
// </script>
|
|
1464
|
+
// ```
|
|
1465
|
+
// In this case if we do not unshadow here and use the value of the shadowing property, attributeChangedCallback
|
|
1466
|
+
// will be called with `newValue = "some-value"` and will set the shadowed property (this.someAttribute = "another-value")
|
|
1467
|
+
// to the value that was set inline i.e. "some-value" from above example. When
|
|
1468
|
+
// the connectedCallback attempts to unshadow it will use "some-value" as the initial value rather than "another-value"
|
|
1469
|
+
//
|
|
1470
|
+
// The case where the attribute was NOT set inline but was not set programmatically shall be handled/unshadowed
|
|
1471
|
+
// by connectedCallback as this attributeChangedCallback will not fire.
|
|
1472
|
+
//
|
|
1473
|
+
// https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
|
|
1474
|
+
//
|
|
1475
|
+
// TODO(STENCIL-16) we should think about whether or not we actually want to be reflecting the attributes to
|
|
1476
|
+
// properties here given that this goes against best practices outlined here
|
|
1477
|
+
// https://developers.google.com/web/fundamentals/web-components/best-practices#avoid-reentrancy
|
|
1478
|
+
if (this.hasOwnProperty(propName)) {
|
|
1479
|
+
newValue = this[propName];
|
|
1480
|
+
delete this[propName];
|
|
1481
|
+
}
|
|
1482
|
+
else if (prototype.hasOwnProperty(propName) &&
|
|
1483
|
+
typeof this[propName] === 'number' &&
|
|
1484
|
+
this[propName] == newValue) {
|
|
1485
|
+
// if the propName exists on the prototype of `Cstr`, this update may be a result of Stencil using native
|
|
1486
|
+
// APIs to reflect props as attributes. Calls to `setAttribute(someElement, propName)` will result in
|
|
1487
|
+
// `propName` to be converted to a `DOMString`, which may not be what we want for other primitive props.
|
|
1488
|
+
return;
|
|
1489
|
+
}
|
|
1395
1490
|
this[propName] = newValue === null && typeof this[propName] === 'boolean' ? false : newValue;
|
|
1396
1491
|
});
|
|
1397
1492
|
};
|
|
@@ -1428,7 +1523,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1428
1523
|
endLoad();
|
|
1429
1524
|
}
|
|
1430
1525
|
if (!Cstr.isProxied) {
|
|
1431
|
-
// we'
|
|
1526
|
+
// we've never proxied this Constructor before
|
|
1432
1527
|
// let's add the getters/setters to its prototype before
|
|
1433
1528
|
// the first time we create an instance of the implementation
|
|
1434
1529
|
{
|
|
@@ -1481,7 +1576,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1481
1576
|
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
1482
1577
|
const schedule = () => scheduleUpdate(hostRef, true);
|
|
1483
1578
|
if (ancestorComponent && ancestorComponent['s-rc']) {
|
|
1484
|
-
// this is the
|
|
1579
|
+
// this is the initial load and this component it has an ancestor component
|
|
1485
1580
|
// but the ancestor component has NOT fired its will update lifecycle yet
|
|
1486
1581
|
// so let's just cool our jets and wait for the ancestor to continue first
|
|
1487
1582
|
// this will get fired off when the ancestor component
|
|
@@ -1577,7 +1672,7 @@ const disconnectedCallback = (elm) => {
|
|
|
1577
1672
|
const instance = hostRef.$lazyInstance$ ;
|
|
1578
1673
|
{
|
|
1579
1674
|
if (hostRef.$rmListeners$) {
|
|
1580
|
-
hostRef.$rmListeners$.map(rmListener => rmListener());
|
|
1675
|
+
hostRef.$rmListeners$.map((rmListener) => rmListener());
|
|
1581
1676
|
hostRef.$rmListeners$ = undefined;
|
|
1582
1677
|
}
|
|
1583
1678
|
}
|
|
@@ -1602,71 +1697,73 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1602
1697
|
let isBootstrapping = true;
|
|
1603
1698
|
Object.assign(plt, options);
|
|
1604
1699
|
plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
|
|
1605
|
-
lazyBundles.map(lazyBundle =>
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1700
|
+
lazyBundles.map((lazyBundle) => {
|
|
1701
|
+
lazyBundle[1].map((compactMeta) => {
|
|
1702
|
+
const cmpMeta = {
|
|
1703
|
+
$flags$: compactMeta[0],
|
|
1704
|
+
$tagName$: compactMeta[1],
|
|
1705
|
+
$members$: compactMeta[2],
|
|
1706
|
+
$listeners$: compactMeta[3],
|
|
1707
|
+
};
|
|
1708
|
+
{
|
|
1709
|
+
cmpMeta.$members$ = compactMeta[2];
|
|
1710
|
+
}
|
|
1711
|
+
{
|
|
1712
|
+
cmpMeta.$listeners$ = compactMeta[3];
|
|
1713
|
+
}
|
|
1714
|
+
{
|
|
1715
|
+
cmpMeta.$attrsToReflect$ = [];
|
|
1716
|
+
}
|
|
1717
|
+
{
|
|
1718
|
+
cmpMeta.$watchers$ = {};
|
|
1719
|
+
}
|
|
1720
|
+
const tagName = cmpMeta.$tagName$;
|
|
1721
|
+
const HostElement = class extends HTMLElement {
|
|
1722
|
+
// StencilLazyHost
|
|
1723
|
+
constructor(self) {
|
|
1724
|
+
// @ts-ignore
|
|
1725
|
+
super(self);
|
|
1726
|
+
self = this;
|
|
1727
|
+
registerHost(self, cmpMeta);
|
|
1728
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
1729
|
+
// this component is using shadow dom
|
|
1730
|
+
// and this browser supports shadow dom
|
|
1731
|
+
// add the read-only property "shadowRoot" to the host element
|
|
1732
|
+
// adding the shadow root build conditionals to minimize runtime
|
|
1638
1733
|
{
|
|
1639
|
-
|
|
1734
|
+
{
|
|
1735
|
+
self.attachShadow({ mode: 'open' });
|
|
1736
|
+
}
|
|
1640
1737
|
}
|
|
1641
1738
|
}
|
|
1642
1739
|
}
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1740
|
+
connectedCallback() {
|
|
1741
|
+
if (appLoadFallback) {
|
|
1742
|
+
clearTimeout(appLoadFallback);
|
|
1743
|
+
appLoadFallback = null;
|
|
1744
|
+
}
|
|
1745
|
+
if (isBootstrapping) {
|
|
1746
|
+
// connectedCallback will be processed once all components have been registered
|
|
1747
|
+
deferredConnectedCallbacks.push(this);
|
|
1748
|
+
}
|
|
1749
|
+
else {
|
|
1750
|
+
plt.jmp(() => connectedCallback(this));
|
|
1751
|
+
}
|
|
1648
1752
|
}
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
deferredConnectedCallbacks.push(this);
|
|
1753
|
+
disconnectedCallback() {
|
|
1754
|
+
plt.jmp(() => disconnectedCallback(this));
|
|
1652
1755
|
}
|
|
1653
|
-
|
|
1654
|
-
|
|
1756
|
+
componentOnReady() {
|
|
1757
|
+
return getHostRef(this).$onReadyPromise$;
|
|
1655
1758
|
}
|
|
1759
|
+
};
|
|
1760
|
+
cmpMeta.$lazyBundleId$ = lazyBundle[0];
|
|
1761
|
+
if (!exclude.includes(tagName) && !customElements.get(tagName)) {
|
|
1762
|
+
cmpTags.push(tagName);
|
|
1763
|
+
customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */));
|
|
1656
1764
|
}
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
}
|
|
1660
|
-
componentOnReady() {
|
|
1661
|
-
return getHostRef(this).$onReadyPromise$;
|
|
1662
|
-
}
|
|
1663
|
-
};
|
|
1664
|
-
cmpMeta.$lazyBundleId$ = lazyBundle[0];
|
|
1665
|
-
if (!exclude.includes(tagName) && !customElements.get(tagName)) {
|
|
1666
|
-
cmpTags.push(tagName);
|
|
1667
|
-
customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */));
|
|
1668
|
-
}
|
|
1669
|
-
}));
|
|
1765
|
+
});
|
|
1766
|
+
});
|
|
1670
1767
|
{
|
|
1671
1768
|
visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;
|
|
1672
1769
|
visibilityStyle.setAttribute('data-styles', '');
|
|
@@ -1675,7 +1772,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1675
1772
|
// Process deferred connectedCallbacks now all components have been registered
|
|
1676
1773
|
isBootstrapping = false;
|
|
1677
1774
|
if (deferredConnectedCallbacks.length) {
|
|
1678
|
-
deferredConnectedCallbacks.map(host => host.connectedCallback());
|
|
1775
|
+
deferredConnectedCallbacks.map((host) => host.connectedCallback());
|
|
1679
1776
|
}
|
|
1680
1777
|
else {
|
|
1681
1778
|
{
|
|
@@ -1700,10 +1797,10 @@ const registerHost = (elm, cmpMeta) => {
|
|
|
1700
1797
|
$instanceValues$: new Map(),
|
|
1701
1798
|
};
|
|
1702
1799
|
{
|
|
1703
|
-
hostRef.$onInstancePromise$ = new Promise(r => (hostRef.$onInstanceResolve$ = r));
|
|
1800
|
+
hostRef.$onInstancePromise$ = new Promise((r) => (hostRef.$onInstanceResolve$ = r));
|
|
1704
1801
|
}
|
|
1705
1802
|
{
|
|
1706
|
-
hostRef.$onReadyPromise$ = new Promise(r => (hostRef.$onReadyResolve$ = r));
|
|
1803
|
+
hostRef.$onReadyPromise$ = new Promise((r) => (hostRef.$onReadyResolve$ = r));
|
|
1707
1804
|
elm['s-p'] = [];
|
|
1708
1805
|
elm['s-rc'] = [];
|
|
1709
1806
|
}
|
|
@@ -1721,11 +1818,13 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
1721
1818
|
if (module) {
|
|
1722
1819
|
return module[exportName];
|
|
1723
1820
|
}
|
|
1821
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/
|
|
1724
1822
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
1823
|
+
/* @vite-ignore */
|
|
1725
1824
|
/* webpackInclude: /\.entry\.js$/ */
|
|
1726
1825
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
1727
1826
|
/* webpackMode: "lazy" */
|
|
1728
|
-
`./${bundleId}.entry.js${''}`)); }).then(importedModule => {
|
|
1827
|
+
`./${bundleId}.entry.js${''}`)); }).then((importedModule) => {
|
|
1729
1828
|
{
|
|
1730
1829
|
cmpModules.set(bundleId, importedModule);
|
|
1731
1830
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const hardwareBackButton = require('./hardware-back-button-8c2f48d2.js');
|
|
4
|
-
const ionicGlobal = require('./ionic-global-
|
|
4
|
+
const ionicGlobal = require('./ionic-global-b20a04a0.js');
|
|
5
5
|
const animation = require('./animation-34a434a2.js');
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
3
|
+
const index = require('./index-245c99ad.js');
|
|
4
4
|
|
|
5
5
|
const LIFECYCLE_WILL_ENTER = 'ionViewWillEnter';
|
|
6
6
|
const LIFECYCLE_DID_ENTER = 'ionViewDidEnter';
|
|
@@ -8,8 +8,8 @@ const LIFECYCLE_WILL_LEAVE = 'ionViewWillLeave';
|
|
|
8
8
|
const LIFECYCLE_DID_LEAVE = 'ionViewDidLeave';
|
|
9
9
|
const LIFECYCLE_WILL_UNLOAD = 'ionViewWillUnload';
|
|
10
10
|
|
|
11
|
-
const iosTransitionAnimation = () => Promise.resolve().then(function () { return require('./ios.transition-
|
|
12
|
-
const mdTransitionAnimation = () => Promise.resolve().then(function () { return require('./md.transition-
|
|
11
|
+
const iosTransitionAnimation = () => Promise.resolve().then(function () { return require('./ios.transition-3f81acc9.js'); });
|
|
12
|
+
const mdTransitionAnimation = () => Promise.resolve().then(function () { return require('./md.transition-3c79bea3.js'); });
|
|
13
13
|
const transition = (opts) => {
|
|
14
14
|
return new Promise((resolve, reject) => {
|
|
15
15
|
index.writeTask(() => {
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const ionicGlobal = require('./ionic-global-
|
|
7
|
-
const overlays = require('./overlays-
|
|
5
|
+
const index = require('./index-245c99ad.js');
|
|
6
|
+
const ionicGlobal = require('./ionic-global-b20a04a0.js');
|
|
7
|
+
const overlays = require('./overlays-1f6ff53c.js');
|
|
8
8
|
const theme = require('./theme-81caa5b0.js');
|
|
9
9
|
const animation = require('./animation-34a434a2.js');
|
|
10
10
|
require('./hardware-back-button-8c2f48d2.js');
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const ionicGlobal = require('./ionic-global-
|
|
7
|
-
const overlays = require('./overlays-
|
|
5
|
+
const index = require('./index-245c99ad.js');
|
|
6
|
+
const ionicGlobal = require('./ionic-global-b20a04a0.js');
|
|
7
|
+
const overlays = require('./overlays-1f6ff53c.js');
|
|
8
8
|
const index$1 = require('./index-4b7e4228.js');
|
|
9
9
|
const theme = require('./theme-81caa5b0.js');
|
|
10
10
|
const animation = require('./animation-34a434a2.js');
|