@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
|
@@ -13,17 +13,17 @@ const doc = win.document || { head: {} };
|
|
|
13
13
|
const plt = {
|
|
14
14
|
$flags$: 0,
|
|
15
15
|
$resourcesUrl$: '',
|
|
16
|
-
jmp: h => h(),
|
|
17
|
-
raf: h => requestAnimationFrame(h),
|
|
16
|
+
jmp: (h) => h(),
|
|
17
|
+
raf: (h) => requestAnimationFrame(h),
|
|
18
18
|
ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
|
|
19
19
|
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
20
20
|
ce: (eventName, opts) => new CustomEvent(eventName, opts),
|
|
21
21
|
};
|
|
22
22
|
const promiseResolve = (v) => Promise.resolve(v);
|
|
23
|
-
const
|
|
23
|
+
const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
|
|
24
24
|
try {
|
|
25
25
|
new CSSStyleSheet();
|
|
26
|
-
return typeof
|
|
26
|
+
return typeof new CSSStyleSheet().replaceSync === 'function';
|
|
27
27
|
}
|
|
28
28
|
catch (e) { }
|
|
29
29
|
return false;
|
|
@@ -107,9 +107,14 @@ const uniqueTime = (key, measureText) => {
|
|
|
107
107
|
const rootAppliedStyles = new WeakMap();
|
|
108
108
|
const registerStyle = (scopeId, cssText, allowCS) => {
|
|
109
109
|
let style = styles.get(scopeId);
|
|
110
|
-
if (
|
|
110
|
+
if (supportsConstructableStylesheets && allowCS) {
|
|
111
111
|
style = (style || new CSSStyleSheet());
|
|
112
|
-
style
|
|
112
|
+
if (typeof style === 'string') {
|
|
113
|
+
style = cssText;
|
|
114
|
+
}
|
|
115
|
+
else {
|
|
116
|
+
style.replaceSync(cssText);
|
|
117
|
+
}
|
|
113
118
|
}
|
|
114
119
|
else {
|
|
115
120
|
style = cssText;
|
|
@@ -118,7 +123,7 @@ const registerStyle = (scopeId, cssText, allowCS) => {
|
|
|
118
123
|
};
|
|
119
124
|
const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
120
125
|
let scopeId = getScopeId(cmpMeta, mode);
|
|
121
|
-
|
|
126
|
+
const style = styles.get(scopeId);
|
|
122
127
|
// if an element is NOT connected then getRootNode() will return the wrong root node
|
|
123
128
|
// so the fallback is to always use the document for the root node in those cases
|
|
124
129
|
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
|
|
@@ -173,7 +178,7 @@ const attachStyles = (hostRef) => {
|
|
|
173
178
|
};
|
|
174
179
|
const getScopeId = (cmp, mode) => 'sc-' + (mode && cmp.$flags$ & 32 /* hasMode */ ? cmp.$tagName$ + '-' + mode : cmp.$tagName$);
|
|
175
180
|
// Private
|
|
176
|
-
const computeMode = (elm) => modeResolutionChain.map(h => h(elm)).find(m => !!m);
|
|
181
|
+
const computeMode = (elm) => modeResolutionChain.map((h) => h(elm)).find((m) => !!m);
|
|
177
182
|
// Public
|
|
178
183
|
const setMode = (handler) => modeResolutionChain.push(handler);
|
|
179
184
|
const getMode = (ref) => getHostRef(ref).$modeName$;
|
|
@@ -213,7 +218,7 @@ const h = (nodeName, vnodeData, ...children) => {
|
|
|
213
218
|
let slotName = null;
|
|
214
219
|
let simple = false;
|
|
215
220
|
let lastSimple = false;
|
|
216
|
-
|
|
221
|
+
const vNodeChildren = [];
|
|
217
222
|
const walk = (c) => {
|
|
218
223
|
for (let i = 0; i < c.length; i++) {
|
|
219
224
|
child = c[i];
|
|
@@ -252,7 +257,7 @@ const h = (nodeName, vnodeData, ...children) => {
|
|
|
252
257
|
typeof classData !== 'object'
|
|
253
258
|
? classData
|
|
254
259
|
: Object.keys(classData)
|
|
255
|
-
.filter(k => classData[k])
|
|
260
|
+
.filter((k) => classData[k])
|
|
256
261
|
.join(' ');
|
|
257
262
|
}
|
|
258
263
|
}
|
|
@@ -341,8 +346,8 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
341
346
|
const classList = elm.classList;
|
|
342
347
|
const oldClasses = parseClassList(oldValue);
|
|
343
348
|
const newClasses = parseClassList(newValue);
|
|
344
|
-
classList.remove(...oldClasses.filter(c => c && !newClasses.includes(c)));
|
|
345
|
-
classList.add(...newClasses.filter(c => c && !oldClasses.includes(c)));
|
|
349
|
+
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
350
|
+
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
346
351
|
}
|
|
347
352
|
else if (memberName === 'style') {
|
|
348
353
|
// update style attribute, css properties and values
|
|
@@ -377,7 +382,9 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
377
382
|
newValue(elm);
|
|
378
383
|
}
|
|
379
384
|
}
|
|
380
|
-
else if ((!isProp ) &&
|
|
385
|
+
else if ((!isProp ) &&
|
|
386
|
+
memberName[0] === 'o' &&
|
|
387
|
+
memberName[1] === 'n') {
|
|
381
388
|
// Event Handlers
|
|
382
389
|
// so if the member name starts with "on" and the 3rd characters is
|
|
383
390
|
// a capital letter, and it's not already a member on the element,
|
|
@@ -420,11 +427,10 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
420
427
|
if ((isProp || (isComplex && newValue !== null)) && !isSvg) {
|
|
421
428
|
try {
|
|
422
429
|
if (!elm.tagName.includes('-')) {
|
|
423
|
-
|
|
430
|
+
const n = newValue == null ? '' : newValue;
|
|
424
431
|
// Workaround for Safari, moving the <input> caret when re-assigning the same valued
|
|
425
432
|
if (memberName === 'list') {
|
|
426
433
|
isProp = false;
|
|
427
|
-
// tslint:disable-next-line: triple-equals
|
|
428
434
|
}
|
|
429
435
|
else if (oldValue == null || elm[memberName] != n) {
|
|
430
436
|
elm[memberName] = n;
|
|
@@ -478,7 +484,9 @@ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
|
|
|
478
484
|
// if the element passed in is a shadow root, which is a document fragment
|
|
479
485
|
// then we want to be adding attrs/props to the shadow root's "host" element
|
|
480
486
|
// if it's not a shadow root, then we add attrs/props to the same element
|
|
481
|
-
const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host
|
|
487
|
+
const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host
|
|
488
|
+
? newVnode.$elm$.host
|
|
489
|
+
: newVnode.$elm$;
|
|
482
490
|
const oldVnodeAttrs = (oldVnode && oldVnode.$attrs$) || EMPTY_OBJ;
|
|
483
491
|
const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
|
|
484
492
|
{
|
|
@@ -496,7 +504,7 @@ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
|
|
|
496
504
|
};
|
|
497
505
|
const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
498
506
|
// tslint:disable-next-line: prefer-const
|
|
499
|
-
|
|
507
|
+
const newVNode = newParentVNode.$children$[childIndex];
|
|
500
508
|
let i = 0;
|
|
501
509
|
let elm;
|
|
502
510
|
let childNode;
|
|
@@ -522,14 +530,17 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
522
530
|
}
|
|
523
531
|
else if (newVNode.$flags$ & 1 /* isSlotReference */) {
|
|
524
532
|
// create a slot reference node
|
|
525
|
-
elm = newVNode.$elm$ =
|
|
533
|
+
elm = newVNode.$elm$ =
|
|
534
|
+
doc.createTextNode('');
|
|
526
535
|
}
|
|
527
536
|
else {
|
|
528
537
|
if (!isSvgMode) {
|
|
529
538
|
isSvgMode = newVNode.$tag$ === 'svg';
|
|
530
539
|
}
|
|
531
540
|
// create element
|
|
532
|
-
elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* isSlotFallback */
|
|
541
|
+
elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* isSlotFallback */
|
|
542
|
+
? 'slot-fb'
|
|
543
|
+
: newVNode.$tag$)
|
|
533
544
|
);
|
|
534
545
|
if (isSvgMode && newVNode.$tag$ === 'foreignObject') {
|
|
535
546
|
isSvgMode = false;
|
|
@@ -826,7 +837,7 @@ const patch = (oldVNode, newVNode) => {
|
|
|
826
837
|
};
|
|
827
838
|
const updateFallbackSlotVisibility = (elm) => {
|
|
828
839
|
// tslint:disable-next-line: prefer-const
|
|
829
|
-
|
|
840
|
+
const childNodes = elm.childNodes;
|
|
830
841
|
let childNode;
|
|
831
842
|
let i;
|
|
832
843
|
let ilen;
|
|
@@ -879,8 +890,8 @@ const relocateSlotContent = (elm) => {
|
|
|
879
890
|
let relocateNodeData;
|
|
880
891
|
let j;
|
|
881
892
|
let i = 0;
|
|
882
|
-
|
|
883
|
-
|
|
893
|
+
const childNodes = elm.childNodes;
|
|
894
|
+
const ilen = childNodes.length;
|
|
884
895
|
for (; i < ilen; i++) {
|
|
885
896
|
childNode = childNodes[i];
|
|
886
897
|
if (childNode['s-sr'] && (node = childNode['s-cr']) && node.parentNode) {
|
|
@@ -896,7 +907,7 @@ const relocateSlotContent = (elm) => {
|
|
|
896
907
|
// that is suppose to always represent the original content location
|
|
897
908
|
if (isNodeLocatedInSlot(node, slotNameAttr)) {
|
|
898
909
|
// it's possible we've already decided to relocate this node
|
|
899
|
-
relocateNodeData = relocateNodes.find(r => r.$nodeToRelocate$ === node);
|
|
910
|
+
relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
|
|
900
911
|
// made some changes to slots
|
|
901
912
|
// let's make sure we also double check
|
|
902
913
|
// fallbacks are correctly hidden or shown
|
|
@@ -915,9 +926,9 @@ const relocateSlotContent = (elm) => {
|
|
|
915
926
|
});
|
|
916
927
|
}
|
|
917
928
|
if (node['s-sr']) {
|
|
918
|
-
relocateNodes.map(relocateNode => {
|
|
929
|
+
relocateNodes.map((relocateNode) => {
|
|
919
930
|
if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node['s-sn'])) {
|
|
920
|
-
relocateNodeData = relocateNodes.find(r => r.$nodeToRelocate$ === node);
|
|
931
|
+
relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
|
|
921
932
|
if (relocateNodeData && !relocateNode.$slotRefNode$) {
|
|
922
933
|
relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;
|
|
923
934
|
}
|
|
@@ -925,7 +936,7 @@ const relocateSlotContent = (elm) => {
|
|
|
925
936
|
});
|
|
926
937
|
}
|
|
927
938
|
}
|
|
928
|
-
else if (!relocateNodes.some(r => r.$nodeToRelocate$ === node)) {
|
|
939
|
+
else if (!relocateNodes.some((r) => r.$nodeToRelocate$ === node)) {
|
|
929
940
|
// so far this element does not have a slot home, not setting slotRefNode on purpose
|
|
930
941
|
// if we never find a home for this element then we'll need to hide it
|
|
931
942
|
relocateNodes.push({
|
|
@@ -1005,7 +1016,8 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
1005
1016
|
if (!nodeToRelocate['s-ol']) {
|
|
1006
1017
|
// add a reference node marking this node's original location
|
|
1007
1018
|
// keep a reference to this node for later lookups
|
|
1008
|
-
orgLocationNode =
|
|
1019
|
+
orgLocationNode =
|
|
1020
|
+
doc.createTextNode('');
|
|
1009
1021
|
orgLocationNode['s-nr'] = nodeToRelocate;
|
|
1010
1022
|
nodeToRelocate.parentNode.insertBefore((nodeToRelocate['s-ol'] = orgLocationNode), nodeToRelocate);
|
|
1011
1023
|
}
|
|
@@ -1029,7 +1041,8 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
1029
1041
|
}
|
|
1030
1042
|
}
|
|
1031
1043
|
}
|
|
1032
|
-
if ((!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode) ||
|
|
1044
|
+
if ((!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode) ||
|
|
1045
|
+
nodeToRelocate.nextSibling !== insertBeforeNode) {
|
|
1033
1046
|
// we've checked that it's worth while to relocate
|
|
1034
1047
|
// since that the node to relocate
|
|
1035
1048
|
// has a different next sibling or parent relocated
|
|
@@ -1075,6 +1088,13 @@ const createEvent = (ref, name, flags) => {
|
|
|
1075
1088
|
},
|
|
1076
1089
|
};
|
|
1077
1090
|
};
|
|
1091
|
+
/**
|
|
1092
|
+
* Helper function to create & dispatch a custom Event on a provided target
|
|
1093
|
+
* @param elm the target of the Event
|
|
1094
|
+
* @param name the name to give the custom Event
|
|
1095
|
+
* @param opts options for configuring a custom Event
|
|
1096
|
+
* @returns the custom Event
|
|
1097
|
+
*/
|
|
1078
1098
|
const emitEvent = (elm, name, opts) => {
|
|
1079
1099
|
const ev = plt.ce(name, opts);
|
|
1080
1100
|
elm.dispatchEvent(ev);
|
|
@@ -1082,7 +1102,7 @@ const emitEvent = (elm, name, opts) => {
|
|
|
1082
1102
|
};
|
|
1083
1103
|
const attachToAncestor = (hostRef, ancestorComponent) => {
|
|
1084
1104
|
if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
|
|
1085
|
-
ancestorComponent['s-p'].push(new Promise(r => (hostRef.$onRenderResolve$ = r)));
|
|
1105
|
+
ancestorComponent['s-p'].push(new Promise((r) => (hostRef.$onRenderResolve$ = r)));
|
|
1086
1106
|
}
|
|
1087
1107
|
};
|
|
1088
1108
|
const scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
@@ -1139,7 +1159,7 @@ const updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
|
1139
1159
|
// ok, so turns out there are some child host elements
|
|
1140
1160
|
// waiting on this parent element to load
|
|
1141
1161
|
// let's fire off all update callbacks waiting
|
|
1142
|
-
rc.map(cb => cb());
|
|
1162
|
+
rc.map((cb) => cb());
|
|
1143
1163
|
elm['s-rc'] = undefined;
|
|
1144
1164
|
}
|
|
1145
1165
|
endRender();
|
|
@@ -1237,7 +1257,8 @@ const forceUpdate = (ref) => {
|
|
|
1237
1257
|
{
|
|
1238
1258
|
const hostRef = getHostRef(ref);
|
|
1239
1259
|
const isConnected = hostRef.$hostElement$.isConnected;
|
|
1240
|
-
if (isConnected &&
|
|
1260
|
+
if (isConnected &&
|
|
1261
|
+
(hostRef.$flags$ & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
|
|
1241
1262
|
scheduleUpdate(hostRef, false);
|
|
1242
1263
|
}
|
|
1243
1264
|
// Returns "true" when the forced update was successfully scheduled
|
|
@@ -1266,7 +1287,31 @@ const safeCall = (instance, method, arg) => {
|
|
|
1266
1287
|
const then = (promise, thenFn) => {
|
|
1267
1288
|
return promise && promise.then ? promise.then(thenFn) : thenFn();
|
|
1268
1289
|
};
|
|
1269
|
-
const addHydratedFlag = (elm) =>
|
|
1290
|
+
const addHydratedFlag = (elm) => elm.classList.add('hydrated')
|
|
1291
|
+
;
|
|
1292
|
+
/**
|
|
1293
|
+
* Parse a new property value for a given property type.
|
|
1294
|
+
*
|
|
1295
|
+
* While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
|
|
1296
|
+
* it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
|
|
1297
|
+
* 1. `any`, the type given to `propValue` in the function signature
|
|
1298
|
+
* 2. the type stored from `propType`.
|
|
1299
|
+
*
|
|
1300
|
+
* This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
|
|
1301
|
+
*
|
|
1302
|
+
* Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
|
|
1303
|
+
* a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
|
|
1304
|
+
* based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
|
|
1305
|
+
* ```tsx
|
|
1306
|
+
* <my-cmp prop-val={0}></my-cmp>
|
|
1307
|
+
* ```
|
|
1308
|
+
*
|
|
1309
|
+
* HTML prop values on the other hand, will always a string
|
|
1310
|
+
*
|
|
1311
|
+
* @param propValue the new value to coerce to some type
|
|
1312
|
+
* @param propType the type of the prop, expressed as a binary number
|
|
1313
|
+
* @returns the parsed/coerced value
|
|
1314
|
+
*/
|
|
1270
1315
|
const parsePropertyValue = (propValue, propType) => {
|
|
1271
1316
|
// ensure this value is of the correct prop type
|
|
1272
1317
|
if (propValue != null && !isComplexType(propValue)) {
|
|
@@ -1300,7 +1345,10 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1300
1345
|
const flags = hostRef.$flags$;
|
|
1301
1346
|
const instance = hostRef.$lazyInstance$ ;
|
|
1302
1347
|
newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
|
|
1303
|
-
|
|
1348
|
+
// explicitly check for NaN on both sides, as `NaN === NaN` is always false
|
|
1349
|
+
const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
|
|
1350
|
+
const didValueChange = newVal !== oldVal && !areBothNaN;
|
|
1351
|
+
if ((!(flags & 8 /* isConstructingInstance */) || oldVal === undefined) && didValueChange) {
|
|
1304
1352
|
// gadzooks! the property's value has changed!!
|
|
1305
1353
|
// set our new value!
|
|
1306
1354
|
hostRef.$instanceValues$.set(propName, newVal);
|
|
@@ -1310,7 +1358,7 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1310
1358
|
const watchMethods = cmpMeta.$watchers$[propName];
|
|
1311
1359
|
if (watchMethods) {
|
|
1312
1360
|
// this instance is watching for when this property changed
|
|
1313
|
-
watchMethods.map(watchMethodName => {
|
|
1361
|
+
watchMethods.map((watchMethodName) => {
|
|
1314
1362
|
try {
|
|
1315
1363
|
// fire off each of the watch methods that are watching this property
|
|
1316
1364
|
instance[watchMethodName](newVal, oldVal, propName);
|
|
@@ -1340,7 +1388,8 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1340
1388
|
const members = Object.entries(cmpMeta.$members$);
|
|
1341
1389
|
const prototype = Cstr.prototype;
|
|
1342
1390
|
members.map(([memberName, [memberFlags]]) => {
|
|
1343
|
-
if ((memberFlags & 31 /* Prop */ ||
|
|
1391
|
+
if ((memberFlags & 31 /* Prop */ ||
|
|
1392
|
+
((flags & 2 /* proxyState */) && memberFlags & 32 /* State */))) {
|
|
1344
1393
|
// proxyComponent - prop
|
|
1345
1394
|
Object.defineProperty(prototype, memberName, {
|
|
1346
1395
|
get() {
|
|
@@ -1355,7 +1404,8 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1355
1404
|
enumerable: true,
|
|
1356
1405
|
});
|
|
1357
1406
|
}
|
|
1358
|
-
else if (flags & 1 /* isElementConstructor */ &&
|
|
1407
|
+
else if (flags & 1 /* isElementConstructor */ &&
|
|
1408
|
+
memberFlags & 64 /* Method */) {
|
|
1359
1409
|
// proxyComponent - method
|
|
1360
1410
|
Object.defineProperty(prototype, memberName, {
|
|
1361
1411
|
value(...args) {
|
|
@@ -1370,6 +1420,51 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1370
1420
|
prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
|
|
1371
1421
|
plt.jmp(() => {
|
|
1372
1422
|
const propName = attrNameToPropName.get(attrName);
|
|
1423
|
+
// In a web component lifecycle the attributeChangedCallback runs prior to connectedCallback
|
|
1424
|
+
// in the case where an attribute was set inline.
|
|
1425
|
+
// ```html
|
|
1426
|
+
// <my-component some-attribute="some-value"></my-component>
|
|
1427
|
+
// ```
|
|
1428
|
+
//
|
|
1429
|
+
// There is an edge case where a developer sets the attribute inline on a custom element and then
|
|
1430
|
+
// programmatically changes it before it has been upgraded as shown below:
|
|
1431
|
+
//
|
|
1432
|
+
// ```html
|
|
1433
|
+
// <!-- this component has _not_ been upgraded yet -->
|
|
1434
|
+
// <my-component id="test" some-attribute="some-value"></my-component>
|
|
1435
|
+
// <script>
|
|
1436
|
+
// // grab non-upgraded component
|
|
1437
|
+
// el = document.querySelector("#test");
|
|
1438
|
+
// el.someAttribute = "another-value";
|
|
1439
|
+
// // upgrade component
|
|
1440
|
+
// customElements.define('my-component', MyComponent);
|
|
1441
|
+
// </script>
|
|
1442
|
+
// ```
|
|
1443
|
+
// In this case if we do not unshadow here and use the value of the shadowing property, attributeChangedCallback
|
|
1444
|
+
// will be called with `newValue = "some-value"` and will set the shadowed property (this.someAttribute = "another-value")
|
|
1445
|
+
// to the value that was set inline i.e. "some-value" from above example. When
|
|
1446
|
+
// the connectedCallback attempts to unshadow it will use "some-value" as the initial value rather than "another-value"
|
|
1447
|
+
//
|
|
1448
|
+
// The case where the attribute was NOT set inline but was not set programmatically shall be handled/unshadowed
|
|
1449
|
+
// by connectedCallback as this attributeChangedCallback will not fire.
|
|
1450
|
+
//
|
|
1451
|
+
// https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
|
|
1452
|
+
//
|
|
1453
|
+
// TODO(STENCIL-16) we should think about whether or not we actually want to be reflecting the attributes to
|
|
1454
|
+
// properties here given that this goes against best practices outlined here
|
|
1455
|
+
// https://developers.google.com/web/fundamentals/web-components/best-practices#avoid-reentrancy
|
|
1456
|
+
if (this.hasOwnProperty(propName)) {
|
|
1457
|
+
newValue = this[propName];
|
|
1458
|
+
delete this[propName];
|
|
1459
|
+
}
|
|
1460
|
+
else if (prototype.hasOwnProperty(propName) &&
|
|
1461
|
+
typeof this[propName] === 'number' &&
|
|
1462
|
+
this[propName] == newValue) {
|
|
1463
|
+
// if the propName exists on the prototype of `Cstr`, this update may be a result of Stencil using native
|
|
1464
|
+
// APIs to reflect props as attributes. Calls to `setAttribute(someElement, propName)` will result in
|
|
1465
|
+
// `propName` to be converted to a `DOMString`, which may not be what we want for other primitive props.
|
|
1466
|
+
return;
|
|
1467
|
+
}
|
|
1373
1468
|
this[propName] = newValue === null && typeof this[propName] === 'boolean' ? false : newValue;
|
|
1374
1469
|
});
|
|
1375
1470
|
};
|
|
@@ -1406,7 +1501,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1406
1501
|
endLoad();
|
|
1407
1502
|
}
|
|
1408
1503
|
if (!Cstr.isProxied) {
|
|
1409
|
-
// we'
|
|
1504
|
+
// we've never proxied this Constructor before
|
|
1410
1505
|
// let's add the getters/setters to its prototype before
|
|
1411
1506
|
// the first time we create an instance of the implementation
|
|
1412
1507
|
{
|
|
@@ -1459,7 +1554,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1459
1554
|
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
1460
1555
|
const schedule = () => scheduleUpdate(hostRef, true);
|
|
1461
1556
|
if (ancestorComponent && ancestorComponent['s-rc']) {
|
|
1462
|
-
// this is the
|
|
1557
|
+
// this is the initial load and this component it has an ancestor component
|
|
1463
1558
|
// but the ancestor component has NOT fired its will update lifecycle yet
|
|
1464
1559
|
// so let's just cool our jets and wait for the ancestor to continue first
|
|
1465
1560
|
// this will get fired off when the ancestor component
|
|
@@ -1555,7 +1650,7 @@ const disconnectedCallback = (elm) => {
|
|
|
1555
1650
|
const instance = hostRef.$lazyInstance$ ;
|
|
1556
1651
|
{
|
|
1557
1652
|
if (hostRef.$rmListeners$) {
|
|
1558
|
-
hostRef.$rmListeners$.map(rmListener => rmListener());
|
|
1653
|
+
hostRef.$rmListeners$.map((rmListener) => rmListener());
|
|
1559
1654
|
hostRef.$rmListeners$ = undefined;
|
|
1560
1655
|
}
|
|
1561
1656
|
}
|
|
@@ -1580,71 +1675,73 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1580
1675
|
let isBootstrapping = true;
|
|
1581
1676
|
Object.assign(plt, options);
|
|
1582
1677
|
plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
|
|
1583
|
-
lazyBundles.map(lazyBundle =>
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1678
|
+
lazyBundles.map((lazyBundle) => {
|
|
1679
|
+
lazyBundle[1].map((compactMeta) => {
|
|
1680
|
+
const cmpMeta = {
|
|
1681
|
+
$flags$: compactMeta[0],
|
|
1682
|
+
$tagName$: compactMeta[1],
|
|
1683
|
+
$members$: compactMeta[2],
|
|
1684
|
+
$listeners$: compactMeta[3],
|
|
1685
|
+
};
|
|
1686
|
+
{
|
|
1687
|
+
cmpMeta.$members$ = compactMeta[2];
|
|
1688
|
+
}
|
|
1689
|
+
{
|
|
1690
|
+
cmpMeta.$listeners$ = compactMeta[3];
|
|
1691
|
+
}
|
|
1692
|
+
{
|
|
1693
|
+
cmpMeta.$attrsToReflect$ = [];
|
|
1694
|
+
}
|
|
1695
|
+
{
|
|
1696
|
+
cmpMeta.$watchers$ = {};
|
|
1697
|
+
}
|
|
1698
|
+
const tagName = cmpMeta.$tagName$;
|
|
1699
|
+
const HostElement = class extends HTMLElement {
|
|
1700
|
+
// StencilLazyHost
|
|
1701
|
+
constructor(self) {
|
|
1702
|
+
// @ts-ignore
|
|
1703
|
+
super(self);
|
|
1704
|
+
self = this;
|
|
1705
|
+
registerHost(self, cmpMeta);
|
|
1706
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
1707
|
+
// this component is using shadow dom
|
|
1708
|
+
// and this browser supports shadow dom
|
|
1709
|
+
// add the read-only property "shadowRoot" to the host element
|
|
1710
|
+
// adding the shadow root build conditionals to minimize runtime
|
|
1616
1711
|
{
|
|
1617
|
-
|
|
1712
|
+
{
|
|
1713
|
+
self.attachShadow({ mode: 'open' });
|
|
1714
|
+
}
|
|
1618
1715
|
}
|
|
1619
1716
|
}
|
|
1620
1717
|
}
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1718
|
+
connectedCallback() {
|
|
1719
|
+
if (appLoadFallback) {
|
|
1720
|
+
clearTimeout(appLoadFallback);
|
|
1721
|
+
appLoadFallback = null;
|
|
1722
|
+
}
|
|
1723
|
+
if (isBootstrapping) {
|
|
1724
|
+
// connectedCallback will be processed once all components have been registered
|
|
1725
|
+
deferredConnectedCallbacks.push(this);
|
|
1726
|
+
}
|
|
1727
|
+
else {
|
|
1728
|
+
plt.jmp(() => connectedCallback(this));
|
|
1729
|
+
}
|
|
1626
1730
|
}
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
deferredConnectedCallbacks.push(this);
|
|
1731
|
+
disconnectedCallback() {
|
|
1732
|
+
plt.jmp(() => disconnectedCallback(this));
|
|
1630
1733
|
}
|
|
1631
|
-
|
|
1632
|
-
|
|
1734
|
+
componentOnReady() {
|
|
1735
|
+
return getHostRef(this).$onReadyPromise$;
|
|
1633
1736
|
}
|
|
1737
|
+
};
|
|
1738
|
+
cmpMeta.$lazyBundleId$ = lazyBundle[0];
|
|
1739
|
+
if (!exclude.includes(tagName) && !customElements.get(tagName)) {
|
|
1740
|
+
cmpTags.push(tagName);
|
|
1741
|
+
customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */));
|
|
1634
1742
|
}
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
}
|
|
1638
|
-
componentOnReady() {
|
|
1639
|
-
return getHostRef(this).$onReadyPromise$;
|
|
1640
|
-
}
|
|
1641
|
-
};
|
|
1642
|
-
cmpMeta.$lazyBundleId$ = lazyBundle[0];
|
|
1643
|
-
if (!exclude.includes(tagName) && !customElements.get(tagName)) {
|
|
1644
|
-
cmpTags.push(tagName);
|
|
1645
|
-
customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */));
|
|
1646
|
-
}
|
|
1647
|
-
}));
|
|
1743
|
+
});
|
|
1744
|
+
});
|
|
1648
1745
|
{
|
|
1649
1746
|
visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;
|
|
1650
1747
|
visibilityStyle.setAttribute('data-styles', '');
|
|
@@ -1653,7 +1750,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1653
1750
|
// Process deferred connectedCallbacks now all components have been registered
|
|
1654
1751
|
isBootstrapping = false;
|
|
1655
1752
|
if (deferredConnectedCallbacks.length) {
|
|
1656
|
-
deferredConnectedCallbacks.map(host => host.connectedCallback());
|
|
1753
|
+
deferredConnectedCallbacks.map((host) => host.connectedCallback());
|
|
1657
1754
|
}
|
|
1658
1755
|
else {
|
|
1659
1756
|
{
|
|
@@ -1678,10 +1775,10 @@ const registerHost = (elm, cmpMeta) => {
|
|
|
1678
1775
|
$instanceValues$: new Map(),
|
|
1679
1776
|
};
|
|
1680
1777
|
{
|
|
1681
|
-
hostRef.$onInstancePromise$ = new Promise(r => (hostRef.$onInstanceResolve$ = r));
|
|
1778
|
+
hostRef.$onInstancePromise$ = new Promise((r) => (hostRef.$onInstanceResolve$ = r));
|
|
1682
1779
|
}
|
|
1683
1780
|
{
|
|
1684
|
-
hostRef.$onReadyPromise$ = new Promise(r => (hostRef.$onReadyResolve$ = r));
|
|
1781
|
+
hostRef.$onReadyPromise$ = new Promise((r) => (hostRef.$onReadyResolve$ = r));
|
|
1685
1782
|
elm['s-p'] = [];
|
|
1686
1783
|
elm['s-rc'] = [];
|
|
1687
1784
|
}
|
|
@@ -1699,11 +1796,13 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
1699
1796
|
if (module) {
|
|
1700
1797
|
return module[exportName];
|
|
1701
1798
|
}
|
|
1799
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/
|
|
1702
1800
|
return import(
|
|
1801
|
+
/* @vite-ignore */
|
|
1703
1802
|
/* webpackInclude: /\.entry\.js$/ */
|
|
1704
1803
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
1705
1804
|
/* webpackMode: "lazy" */
|
|
1706
|
-
`./${bundleId}.entry.js${''}`).then(importedModule => {
|
|
1805
|
+
`./${bundleId}.entry.js${''}`).then((importedModule) => {
|
|
1707
1806
|
{
|
|
1708
1807
|
cmpModules.set(bundleId, importedModule);
|
|
1709
1808
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { w as writeTask, B as Build } from './index-
|
|
1
|
+
import { w as writeTask, B as Build } from './index-67fab020.js';
|
|
2
2
|
|
|
3
3
|
const LIFECYCLE_WILL_ENTER = 'ionViewWillEnter';
|
|
4
4
|
const LIFECYCLE_DID_ENTER = 'ionViewDidEnter';
|
|
@@ -6,8 +6,8 @@ const LIFECYCLE_WILL_LEAVE = 'ionViewWillLeave';
|
|
|
6
6
|
const LIFECYCLE_DID_LEAVE = 'ionViewDidLeave';
|
|
7
7
|
const LIFECYCLE_WILL_UNLOAD = 'ionViewWillUnload';
|
|
8
8
|
|
|
9
|
-
const iosTransitionAnimation = () => import('./ios.transition-
|
|
10
|
-
const mdTransitionAnimation = () => import('./md.transition-
|
|
9
|
+
const iosTransitionAnimation = () => import('./ios.transition-c199f54e.js');
|
|
10
|
+
const mdTransitionAnimation = () => import('./md.transition-56bc869f.js');
|
|
11
11
|
const transition = (opts) => {
|
|
12
12
|
return new Promise((resolve, reject) => {
|
|
13
13
|
writeTask(() => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
2
|
-
import { g as getIonMode } from './ionic-global-
|
|
3
|
-
import { B as BACKDROP, i as isCancel, a as prepareOverlay, b as present, d as dismiss, e as eventMethod, s as safeCall } from './overlays-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-67fab020.js';
|
|
2
|
+
import { g as getIonMode } from './ionic-global-6ad8a48f.js';
|
|
3
|
+
import { B as BACKDROP, i as isCancel, a as prepareOverlay, b as present, d as dismiss, e as eventMethod, s as safeCall } from './overlays-5eeb3167.js';
|
|
4
4
|
import { g as getClassMap } from './theme-74c22054.js';
|
|
5
5
|
import { c as createAnimation } from './animation-7a1025d0.js';
|
|
6
6
|
import './hardware-back-button-b3b61715.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, a as getElement } from './index-
|
|
2
|
-
import { g as getIonMode } from './ionic-global-
|
|
3
|
-
import { B as BACKDROP, i as isCancel, a as prepareOverlay, b as present, d as dismiss, e as eventMethod, s as safeCall } from './overlays-
|
|
1
|
+
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, a as getElement } from './index-67fab020.js';
|
|
2
|
+
import { g as getIonMode } from './ionic-global-6ad8a48f.js';
|
|
3
|
+
import { B as BACKDROP, i as isCancel, a as prepareOverlay, b as present, d as dismiss, e as eventMethod, s as safeCall } from './overlays-5eeb3167.js';
|
|
4
4
|
import { s as sanitizeDOMString } from './index-86d5f3ab.js';
|
|
5
5
|
import { g as getClassMap } from './theme-74c22054.js';
|
|
6
6
|
import { c as createAnimation } from './animation-7a1025d0.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
2
|
-
import { g as getIonMode, c as config, i as isPlatform } from './ionic-global-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-67fab020.js';
|
|
2
|
+
import { g as getIonMode, c as config, i as isPlatform } from './ionic-global-6ad8a48f.js';
|
|
3
3
|
|
|
4
4
|
const appCss = "html.plt-mobile ion-app{user-select:none}ion-app.force-statusbar-padding{--ion-safe-area-top:20px}";
|
|
5
5
|
|
|
@@ -15,7 +15,7 @@ const App = class {
|
|
|
15
15
|
import('./tap-click-9b3d603b.js').then(module => module.startTapClick(config));
|
|
16
16
|
}
|
|
17
17
|
if (config.getBoolean('statusTap', isHybrid)) {
|
|
18
|
-
import('./status-tap-
|
|
18
|
+
import('./status-tap-2cbdf8de.js').then(module => module.startStatusTap());
|
|
19
19
|
}
|
|
20
20
|
if (config.getBoolean('inputShims', needInputShims())) {
|
|
21
21
|
import('./input-shims-a4ad2743.js').then(module => module.startInputShims(config));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
2
|
-
import { g as getIonMode } from './ionic-global-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-67fab020.js';
|
|
2
|
+
import { g as getIonMode } from './ionic-global-6ad8a48f.js';
|
|
3
3
|
|
|
4
4
|
const avatarIosCss = ":host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;object-fit:cover;overflow:hidden}:host{--border-radius:50%;width:48px;height:48px}";
|
|
5
5
|
|