@govbr-ds/webcomponents 2.0.0-next.26 → 2.0.0-next.27
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/README.md → README.md} +64 -16
- package/package.json +4 -13
- package/dist/cjs/app-globals-1c41bab0.js +0 -10
- package/dist/cjs/app-globals-1c41bab0.js.map +0 -1
- package/dist/cjs/br-avatar.cjs.entry.js +0 -72
- package/dist/cjs/br-avatar.cjs.entry.js.map +0 -1
- package/dist/cjs/br-button_2.cjs.entry.js +0 -2605
- package/dist/cjs/br-button_2.cjs.entry.js.map +0 -1
- package/dist/cjs/br-checkbox.cjs.entry.js +0 -109
- package/dist/cjs/br-checkbox.cjs.entry.js.map +0 -1
- package/dist/cjs/br-checkgroup.cjs.entry.js +0 -93
- package/dist/cjs/br-checkgroup.cjs.entry.js.map +0 -1
- package/dist/cjs/br-dropdown.cjs.entry.js +0 -101
- package/dist/cjs/br-dropdown.cjs.entry.js.map +0 -1
- package/dist/cjs/br-input_3.cjs.entry.js +0 -335
- package/dist/cjs/br-input_3.cjs.entry.js.map +0 -1
- package/dist/cjs/br-item.cjs.entry.js +0 -181
- package/dist/cjs/br-item.cjs.entry.js.map +0 -1
- package/dist/cjs/br-loading.cjs.entry.js +0 -39
- package/dist/cjs/br-loading.cjs.entry.js.map +0 -1
- package/dist/cjs/br-message.cjs.entry.js +0 -69
- package/dist/cjs/br-message.cjs.entry.js.map +0 -1
- package/dist/cjs/br-select.cjs.entry.js +0 -272
- package/dist/cjs/br-select.cjs.entry.js.map +0 -1
- package/dist/cjs/br-switch.cjs.entry.js +0 -86
- package/dist/cjs/br-switch.cjs.entry.js.map +0 -1
- package/dist/cjs/br-tag.cjs.entry.js +0 -83
- package/dist/cjs/br-tag.cjs.entry.js.map +0 -1
- package/dist/cjs/br-textarea.cjs.entry.js +0 -88
- package/dist/cjs/br-textarea.cjs.entry.js.map +0 -1
- package/dist/cjs/br-upload.cjs.entry.js +0 -116
- package/dist/cjs/br-upload.cjs.entry.js.map +0 -1
- package/dist/cjs/index-38d8aa64.js +0 -2090
- package/dist/cjs/index-38d8aa64.js.map +0 -1
- package/dist/cjs/index.cjs.js +0 -7
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/loader.cjs.js +0 -20
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/cjs/webcomponents.cjs.js +0 -51
- package/dist/cjs/webcomponents.cjs.js.map +0 -1
- package/dist/collection/assets/wc.svg +0 -1
- package/dist/collection/collection-manifest.json +0 -28
- package/dist/collection/components/avatar/avatar.css +0 -1
- package/dist/collection/components/avatar/avatar.js +0 -258
- package/dist/collection/components/avatar/avatar.js.map +0 -1
- package/dist/collection/components/button/button.css +0 -1
- package/dist/collection/components/button/button.js +0 -276
- package/dist/collection/components/button/button.js.map +0 -1
- package/dist/collection/components/checkbox/checkbox.css +0 -1
- package/dist/collection/components/checkbox/checkbox.js +0 -376
- package/dist/collection/components/checkbox/checkbox.js.map +0 -1
- package/dist/collection/components/checkgroup/checkgroup.css +0 -1
- package/dist/collection/components/checkgroup/checkgroup.js +0 -214
- package/dist/collection/components/checkgroup/checkgroup.js.map +0 -1
- package/dist/collection/components/dropdown/dropdown.css +0 -1
- package/dist/collection/components/dropdown/dropdown.js +0 -213
- package/dist/collection/components/dropdown/dropdown.js.map +0 -1
- package/dist/collection/components/icon/icon.css +0 -1
- package/dist/collection/components/icon/icon.js +0 -211
- package/dist/collection/components/icon/icon.js.map +0 -1
- package/dist/collection/components/input/input.css +0 -1
- package/dist/collection/components/input/input.js +0 -677
- package/dist/collection/components/input/input.js.map +0 -1
- package/dist/collection/components/item/item.css +0 -1
- package/dist/collection/components/item/item.js +0 -462
- package/dist/collection/components/item/item.js.map +0 -1
- package/dist/collection/components/list/list.css +0 -1
- package/dist/collection/components/list/list.js +0 -165
- package/dist/collection/components/list/list.js.map +0 -1
- package/dist/collection/components/loading/loading.css +0 -1
- package/dist/collection/components/loading/loading.js +0 -148
- package/dist/collection/components/loading/loading.js.map +0 -1
- package/dist/collection/components/message/message.css +0 -1
- package/dist/collection/components/message/message.js +0 -271
- package/dist/collection/components/message/message.js.map +0 -1
- package/dist/collection/components/radio/radio.css +0 -1
- package/dist/collection/components/radio/radio.js +0 -296
- package/dist/collection/components/radio/radio.js.map +0 -1
- package/dist/collection/components/select/select.css +0 -1
- package/dist/collection/components/select/select.js +0 -506
- package/dist/collection/components/select/select.js.map +0 -1
- package/dist/collection/components/switch/switch.css +0 -1
- package/dist/collection/components/switch/switch.js +0 -351
- package/dist/collection/components/switch/switch.js.map +0 -1
- package/dist/collection/components/tag/tag.css +0 -1
- package/dist/collection/components/tag/tag.js +0 -275
- package/dist/collection/components/tag/tag.js.map +0 -1
- package/dist/collection/components/textarea/textarea.css +0 -1
- package/dist/collection/components/textarea/textarea.js +0 -340
- package/dist/collection/components/textarea/textarea.js.map +0 -1
- package/dist/collection/components/upload/upload.css +0 -1
- package/dist/collection/components/upload/upload.js +0 -229
- package/dist/collection/components/upload/upload.js.map +0 -1
- package/dist/collection/index.js +0 -2
- package/dist/collection/index.js.map +0 -1
- package/dist/collection/pages/components/button/index.js +0 -18
- package/dist/collection/pages/components/checkbox/index.js +0 -18
- package/dist/collection/pages/components/checkgroup/index.js +0 -20
- package/dist/collection/pages/components/dropdown/index.js +0 -18
- package/dist/collection/pages/components/icon/index.js +0 -18
- package/dist/collection/pages/components/input/index.js +0 -27
- package/dist/collection/pages/components/item/index.js +0 -18
- package/dist/collection/pages/components/list/index.js +0 -19
- package/dist/collection/pages/components/message/index.js +0 -18
- package/dist/collection/pages/components/radio/index.js +0 -19
- package/dist/collection/pages/components/select/index.js +0 -18
- package/dist/collection/pages/components/switch/index.js +0 -18
- package/dist/collection/pages/components/tag/index.js +0 -18
- package/dist/collection/pages/components/textarea/index.js +0 -19
- package/dist/collection/pages/components/upload/index.js +0 -19
- package/dist/collection/pages/scripts/menu.js +0 -246
- package/dist/collection/pages/scripts/pageLoader.js +0 -180
- package/dist/collection/utils/interfaces.js +0 -2
- package/dist/collection/utils/interfaces.js.map +0 -1
- package/dist/collection/value-accessors/angular-value-accessor-config.js +0 -42
- package/dist/collection/value-accessors/angular-value-accessor-config.js.map +0 -1
- package/dist/collection/value-accessors/index.js +0 -6
- package/dist/collection/value-accessors/index.js.map +0 -1
- package/dist/collection/value-accessors/vue-model-config.js +0 -16
- package/dist/collection/value-accessors/vue-model-config.js.map +0 -1
- package/dist/components/br-avatar.d.ts +0 -11
- package/dist/components/br-avatar.js +0 -148
- package/dist/components/br-avatar.js.map +0 -1
- package/dist/components/br-button.d.ts +0 -11
- package/dist/components/br-button.js +0 -11
- package/dist/components/br-button.js.map +0 -1
- package/dist/components/br-checkbox.d.ts +0 -11
- package/dist/components/br-checkbox.js +0 -11
- package/dist/components/br-checkbox.js.map +0 -1
- package/dist/components/br-checkgroup.d.ts +0 -11
- package/dist/components/br-checkgroup.js +0 -154
- package/dist/components/br-checkgroup.js.map +0 -1
- package/dist/components/br-dropdown.d.ts +0 -11
- package/dist/components/br-dropdown.js +0 -157
- package/dist/components/br-dropdown.js.map +0 -1
- package/dist/components/br-icon.d.ts +0 -11
- package/dist/components/br-icon.js +0 -11
- package/dist/components/br-icon.js.map +0 -1
- package/dist/components/br-input.d.ts +0 -11
- package/dist/components/br-input.js +0 -11
- package/dist/components/br-input.js.map +0 -1
- package/dist/components/br-item.d.ts +0 -11
- package/dist/components/br-item.js +0 -244
- package/dist/components/br-item.js.map +0 -1
- package/dist/components/br-list.d.ts +0 -11
- package/dist/components/br-list.js +0 -11
- package/dist/components/br-list.js.map +0 -1
- package/dist/components/br-loading.d.ts +0 -11
- package/dist/components/br-loading.js +0 -98
- package/dist/components/br-loading.js.map +0 -1
- package/dist/components/br-message.d.ts +0 -11
- package/dist/components/br-message.js +0 -153
- package/dist/components/br-message.js.map +0 -1
- package/dist/components/br-radio.d.ts +0 -11
- package/dist/components/br-radio.js +0 -11
- package/dist/components/br-radio.js.map +0 -1
- package/dist/components/br-select.d.ts +0 -11
- package/dist/components/br-select.js +0 -408
- package/dist/components/br-select.js.map +0 -1
- package/dist/components/br-switch.d.ts +0 -11
- package/dist/components/br-switch.js +0 -143
- package/dist/components/br-switch.js.map +0 -1
- package/dist/components/br-tag.d.ts +0 -11
- package/dist/components/br-tag.js +0 -159
- package/dist/components/br-tag.js.map +0 -1
- package/dist/components/br-textarea.d.ts +0 -11
- package/dist/components/br-textarea.js +0 -165
- package/dist/components/br-textarea.js.map +0 -1
- package/dist/components/br-upload.d.ts +0 -11
- package/dist/components/br-upload.js +0 -217
- package/dist/components/br-upload.js.map +0 -1
- package/dist/components/index.d.ts +0 -70
- package/dist/components/index.js +0 -39
- package/dist/components/index.js.map +0 -1
- package/dist/components/p-37223c41.js +0 -299
- package/dist/components/p-37223c41.js.map +0 -1
- package/dist/components/p-596c9250.js +0 -1973
- package/dist/components/p-596c9250.js.map +0 -1
- package/dist/components/p-6b65d09e.js +0 -117
- package/dist/components/p-6b65d09e.js.map +0 -1
- package/dist/components/p-8b746a9a.js +0 -2536
- package/dist/components/p-8b746a9a.js.map +0 -1
- package/dist/components/p-96b78fb9.js +0 -157
- package/dist/components/p-96b78fb9.js.map +0 -1
- package/dist/components/p-c0095860.js +0 -113
- package/dist/components/p-c0095860.js.map +0 -1
- package/dist/components/p-f86640a9.js +0 -133
- package/dist/components/p-f86640a9.js.map +0 -1
- package/dist/custom-docs/docs-utils.js +0 -123
- package/dist/custom-docs/docs-utils.js.map +0 -1
- package/dist/custom-docs/markdown-css-props.js +0 -25
- package/dist/custom-docs/markdown-css-props.js.map +0 -1
- package/dist/custom-docs/markdown-dependencies.js +0 -58
- package/dist/custom-docs/markdown-dependencies.js.map +0 -1
- package/dist/custom-docs/markdown-events-all.js +0 -28
- package/dist/custom-docs/markdown-events-all.js.map +0 -1
- package/dist/custom-docs/markdown-events.js +0 -33
- package/dist/custom-docs/markdown-events.js.map +0 -1
- package/dist/custom-docs/markdown-examples.js +0 -22
- package/dist/custom-docs/markdown-examples.js.map +0 -1
- package/dist/custom-docs/markdown-methods-all.js +0 -27
- package/dist/custom-docs/markdown-methods-all.js.map +0 -1
- package/dist/custom-docs/markdown-methods.js +0 -55
- package/dist/custom-docs/markdown-methods.js.map +0 -1
- package/dist/custom-docs/markdown-overview.js +0 -20
- package/dist/custom-docs/markdown-overview.js.map +0 -1
- package/dist/custom-docs/markdown-parts.js +0 -29
- package/dist/custom-docs/markdown-parts.js.map +0 -1
- package/dist/custom-docs/markdown-props-all.js +0 -53
- package/dist/custom-docs/markdown-props-all.js.map +0 -1
- package/dist/custom-docs/markdown-props.js +0 -56
- package/dist/custom-docs/markdown-props.js.map +0 -1
- package/dist/custom-docs/markdown-sections.js +0 -29
- package/dist/custom-docs/markdown-sections.js.map +0 -1
- package/dist/custom-docs/markdown-slots-all.js +0 -21
- package/dist/custom-docs/markdown-slots-all.js.map +0 -1
- package/dist/custom-docs/markdown-slots.js +0 -29
- package/dist/custom-docs/markdown-slots.js.map +0 -1
- package/dist/custom-docs/output-docs.js +0 -150
- package/dist/custom-docs/output-docs.js.map +0 -1
- package/dist/custom-docs/path.js +0 -188
- package/dist/custom-docs/path.js.map +0 -1
- package/dist/custom-docs/sort-markdown-tables.js +0 -31
- package/dist/custom-docs/sort-markdown-tables.js.map +0 -1
- package/dist/esm/app-globals-85a24810.js +0 -8
- package/dist/esm/app-globals-85a24810.js.map +0 -1
- package/dist/esm/br-avatar.entry.js +0 -68
- package/dist/esm/br-avatar.entry.js.map +0 -1
- package/dist/esm/br-button_2.entry.js +0 -2600
- package/dist/esm/br-button_2.entry.js.map +0 -1
- package/dist/esm/br-checkbox.entry.js +0 -105
- package/dist/esm/br-checkbox.entry.js.map +0 -1
- package/dist/esm/br-checkgroup.entry.js +0 -89
- package/dist/esm/br-checkgroup.entry.js.map +0 -1
- package/dist/esm/br-dropdown.entry.js +0 -97
- package/dist/esm/br-dropdown.entry.js.map +0 -1
- package/dist/esm/br-input_3.entry.js +0 -329
- package/dist/esm/br-input_3.entry.js.map +0 -1
- package/dist/esm/br-item.entry.js +0 -177
- package/dist/esm/br-item.entry.js.map +0 -1
- package/dist/esm/br-loading.entry.js +0 -35
- package/dist/esm/br-loading.entry.js.map +0 -1
- package/dist/esm/br-message.entry.js +0 -65
- package/dist/esm/br-message.entry.js.map +0 -1
- package/dist/esm/br-select.entry.js +0 -268
- package/dist/esm/br-select.entry.js.map +0 -1
- package/dist/esm/br-switch.entry.js +0 -82
- package/dist/esm/br-switch.entry.js.map +0 -1
- package/dist/esm/br-tag.entry.js +0 -79
- package/dist/esm/br-tag.entry.js.map +0 -1
- package/dist/esm/br-textarea.entry.js +0 -84
- package/dist/esm/br-textarea.entry.js.map +0 -1
- package/dist/esm/br-upload.entry.js +0 -112
- package/dist/esm/br-upload.entry.js.map +0 -1
- package/dist/esm/index-cf439c7a.js +0 -2060
- package/dist/esm/index-cf439c7a.js.map +0 -1
- package/dist/esm/index.js +0 -5
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/loader.js +0 -16
- package/dist/esm/loader.js.map +0 -1
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/webcomponents.js +0 -46
- package/dist/esm/webcomponents.js.map +0 -1
- package/dist/esm-es5/app-globals-85a24810.js +0 -8
- package/dist/esm-es5/app-globals-85a24810.js.map +0 -1
- package/dist/esm-es5/br-avatar.entry.js +0 -114
- package/dist/esm-es5/br-avatar.entry.js.map +0 -1
- package/dist/esm-es5/br-button_2.entry.js +0 -2670
- package/dist/esm-es5/br-button_2.entry.js.map +0 -1
- package/dist/esm-es5/br-checkbox.entry.js +0 -263
- package/dist/esm-es5/br-checkbox.entry.js.map +0 -1
- package/dist/esm-es5/br-checkgroup.entry.js +0 -136
- package/dist/esm-es5/br-checkgroup.entry.js.map +0 -1
- package/dist/esm-es5/br-dropdown.entry.js +0 -266
- package/dist/esm-es5/br-dropdown.entry.js.map +0 -1
- package/dist/esm-es5/br-input_3.entry.js +0 -590
- package/dist/esm-es5/br-input_3.entry.js.map +0 -1
- package/dist/esm-es5/br-item.entry.js +0 -232
- package/dist/esm-es5/br-item.entry.js.map +0 -1
- package/dist/esm-es5/br-loading.entry.js +0 -79
- package/dist/esm-es5/br-loading.entry.js.map +0 -1
- package/dist/esm-es5/br-message.entry.js +0 -117
- package/dist/esm-es5/br-message.entry.js.map +0 -1
- package/dist/esm-es5/br-select.entry.js +0 -496
- package/dist/esm-es5/br-select.entry.js.map +0 -1
- package/dist/esm-es5/br-switch.entry.js +0 -236
- package/dist/esm-es5/br-switch.entry.js.map +0 -1
- package/dist/esm-es5/br-tag.entry.js +0 -120
- package/dist/esm-es5/br-tag.entry.js.map +0 -1
- package/dist/esm-es5/br-textarea.entry.js +0 -278
- package/dist/esm-es5/br-textarea.entry.js.map +0 -1
- package/dist/esm-es5/br-upload.entry.js +0 -201
- package/dist/esm-es5/br-upload.entry.js.map +0 -1
- package/dist/esm-es5/index-cf439c7a.js +0 -2539
- package/dist/esm-es5/index-cf439c7a.js.map +0 -1
- package/dist/esm-es5/index.js +0 -6
- package/dist/esm-es5/index.js.map +0 -1
- package/dist/esm-es5/loader.js +0 -347
- package/dist/esm-es5/loader.js.map +0 -1
- package/dist/esm-es5/webcomponents.js +0 -377
- package/dist/esm-es5/webcomponents.js.map +0 -1
- package/dist/hydrate/index.d.ts +0 -242
- package/dist/hydrate/index.js +0 -22777
- package/dist/hydrate/index.mjs +0 -22769
- package/dist/hydrate/package.json +0 -12
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/loader/cdn.js +0 -5
- package/dist/loader/index.cjs.js +0 -5
- package/dist/loader/index.d.ts +0 -24
- package/dist/loader/index.es2017.js +0 -5
- package/dist/loader/index.js +0 -6
- package/dist/loader/package.json +0 -11
- package/dist/playwright.config.js +0 -38
- package/dist/playwright.config.js.map +0 -1
- package/dist/stencil.config.js +0 -155
- package/dist/stencil.config.js.map +0 -1
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/docs-utils.d.ts +0 -7
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-css-props.d.ts +0 -2
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-dependencies.d.ts +0 -2
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-events-all.d.ts +0 -2
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-events.d.ts +0 -2
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-examples.d.ts +0 -2
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-methods-all.d.ts +0 -2
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-methods.d.ts +0 -2
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-overview.d.ts +0 -6
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-parts.d.ts +0 -7
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-props-all.d.ts +0 -2
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-props.d.ts +0 -2
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-sections.d.ts +0 -2
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-slots-all.d.ts +0 -2
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-slots.d.ts +0 -7
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/output-docs.d.ts +0 -2
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/path.d.ts +0 -36
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/sort-markdown-tables.d.ts +0 -1
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/playwright.config.d.ts +0 -5
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/stencil.config.d.ts +0 -2
- package/dist/types/components/avatar/avatar.d.ts +0 -63
- package/dist/types/components/button/button.d.ts +0 -67
- package/dist/types/components/checkbox/checkbox.d.ts +0 -88
- package/dist/types/components/checkgroup/checkgroup.d.ts +0 -52
- package/dist/types/components/dropdown/dropdown.d.ts +0 -67
- package/dist/types/components/icon/icon.d.ts +0 -61
- package/dist/types/components/input/input.d.ts +0 -158
- package/dist/types/components/item/item.d.ts +0 -102
- package/dist/types/components/list/list.d.ts +0 -37
- package/dist/types/components/loading/loading.d.ts +0 -37
- package/dist/types/components/message/message.d.ts +0 -75
- package/dist/types/components/radio/radio.d.ts +0 -77
- package/dist/types/components/select/select.d.ts +0 -93
- package/dist/types/components/switch/switch.d.ts +0 -80
- package/dist/types/components/tag/tag.d.ts +0 -69
- package/dist/types/components/textarea/textarea.d.ts +0 -70
- package/dist/types/components/upload/upload.d.ts +0 -66
- package/dist/types/components.d.ts +0 -1874
- package/dist/types/index.d.ts +0 -10
- package/dist/types/stencil-public-runtime.d.ts +0 -1680
- package/dist/types/utils/interfaces.d.ts +0 -3
- package/dist/types/value-accessors/angular-value-accessor-config.d.ts +0 -6
- package/dist/types/value-accessors/index.d.ts +0 -2
- package/dist/types/value-accessors/vue-model-config.d.ts +0 -2
- package/dist/webcomponents/index.esm.js +0 -5
- package/dist/webcomponents/index.esm.js.map +0 -1
- package/dist/webcomponents/p-0f563c6d.system.js +0 -386
- package/dist/webcomponents/p-0f563c6d.system.js.map +0 -1
- package/dist/webcomponents/p-14a384f2.entry.js +0 -109
- package/dist/webcomponents/p-14a384f2.entry.js.map +0 -1
- package/dist/webcomponents/p-179b51f2.js +0 -7
- package/dist/webcomponents/p-179b51f2.js.map +0 -1
- package/dist/webcomponents/p-1db3ac45.entry.js +0 -111
- package/dist/webcomponents/p-1db3ac45.entry.js.map +0 -1
- package/dist/webcomponents/p-1f892306.entry.js +0 -175
- package/dist/webcomponents/p-1f892306.entry.js.map +0 -1
- package/dist/webcomponents/p-1fce4e35.system.entry.js +0 -2529
- package/dist/webcomponents/p-1fce4e35.system.entry.js.map +0 -1
- package/dist/webcomponents/p-25ce77ce.entry.js +0 -69
- package/dist/webcomponents/p-25ce77ce.entry.js.map +0 -1
- package/dist/webcomponents/p-2912177b.system.js +0 -11
- package/dist/webcomponents/p-2912177b.system.js.map +0 -1
- package/dist/webcomponents/p-3303bca8.system.js +0 -2340
- package/dist/webcomponents/p-3303bca8.system.js.map +0 -1
- package/dist/webcomponents/p-353f7a8d.entry.js +0 -107
- package/dist/webcomponents/p-353f7a8d.entry.js.map +0 -1
- package/dist/webcomponents/p-4494271d.system.entry.js +0 -273
- package/dist/webcomponents/p-4494271d.system.entry.js.map +0 -1
- package/dist/webcomponents/p-46b03580.system.entry.js +0 -587
- package/dist/webcomponents/p-46b03580.system.entry.js.map +0 -1
- package/dist/webcomponents/p-47dc547d.system.entry.js +0 -126
- package/dist/webcomponents/p-47dc547d.system.entry.js.map +0 -1
- package/dist/webcomponents/p-48acc4df.entry.js +0 -132
- package/dist/webcomponents/p-48acc4df.entry.js.map +0 -1
- package/dist/webcomponents/p-4ae4d905.system.js +0 -13
- package/dist/webcomponents/p-4ae4d905.system.js.map +0 -1
- package/dist/webcomponents/p-4b224106.system.entry.js +0 -243
- package/dist/webcomponents/p-4b224106.system.entry.js.map +0 -1
- package/dist/webcomponents/p-4f5174af.entry.js +0 -114
- package/dist/webcomponents/p-4f5174af.entry.js.map +0 -1
- package/dist/webcomponents/p-595446b3.entry.js +0 -433
- package/dist/webcomponents/p-595446b3.entry.js.map +0 -1
- package/dist/webcomponents/p-5df2f563.entry.js +0 -128
- package/dist/webcomponents/p-5df2f563.entry.js.map +0 -1
- package/dist/webcomponents/p-5f5dc571.system.entry.js +0 -502
- package/dist/webcomponents/p-5f5dc571.system.entry.js.map +0 -1
- package/dist/webcomponents/p-758d622a.system.entry.js +0 -206
- package/dist/webcomponents/p-758d622a.system.entry.js.map +0 -1
- package/dist/webcomponents/p-78f72c1c.entry.js +0 -120
- package/dist/webcomponents/p-78f72c1c.entry.js.map +0 -1
- package/dist/webcomponents/p-7aa13069.system.entry.js +0 -270
- package/dist/webcomponents/p-7aa13069.system.entry.js.map +0 -1
- package/dist/webcomponents/p-89082a8e.system.entry.js +0 -142
- package/dist/webcomponents/p-89082a8e.system.entry.js.map +0 -1
- package/dist/webcomponents/p-90ed54f3.entry.js +0 -324
- package/dist/webcomponents/p-90ed54f3.entry.js.map +0 -1
- package/dist/webcomponents/p-93dc120b.system.entry.js +0 -124
- package/dist/webcomponents/p-93dc120b.system.entry.js.map +0 -1
- package/dist/webcomponents/p-b61b6b8c.system.entry.js +0 -85
- package/dist/webcomponents/p-b61b6b8c.system.entry.js.map +0 -1
- package/dist/webcomponents/p-bde61e4e.js +0 -2092
- package/dist/webcomponents/p-bde61e4e.js.map +0 -1
- package/dist/webcomponents/p-ca959987.system.entry.js +0 -239
- package/dist/webcomponents/p-ca959987.system.entry.js.map +0 -1
- package/dist/webcomponents/p-e7abbcad.system.entry.js +0 -120
- package/dist/webcomponents/p-e7abbcad.system.entry.js.map +0 -1
- package/dist/webcomponents/p-ecd2abe7.entry.js +0 -132
- package/dist/webcomponents/p-ecd2abe7.entry.js.map +0 -1
- package/dist/webcomponents/p-f0cfa247.entry.js +0 -210
- package/dist/webcomponents/p-f0cfa247.entry.js.map +0 -1
- package/dist/webcomponents/p-f3417a97.entry.js +0 -2589
- package/dist/webcomponents/p-f3417a97.entry.js.map +0 -1
- package/dist/webcomponents/p-f466c5b5.system.entry.js +0 -285
- package/dist/webcomponents/p-f466c5b5.system.entry.js.map +0 -1
- package/dist/webcomponents/webcomponents.esm.js +0 -249
- package/dist/webcomponents/webcomponents.esm.js.map +0 -1
- package/dist/webcomponents/webcomponents.js +0 -127
- /package/{dist/LICENSE → LICENSE} +0 -0
|
@@ -1,1973 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Construído com @govbr-ds/webcomponents
|
|
3
|
-
*/
|
|
4
|
-
const e = "webcomponents";
|
|
5
|
-
|
|
6
|
-
const t = /* webcomponents */ {
|
|
7
|
-
allRenderFn: true,
|
|
8
|
-
appendChildSlotFix: true,
|
|
9
|
-
asyncLoading: true,
|
|
10
|
-
asyncQueue: false,
|
|
11
|
-
attachStyles: true,
|
|
12
|
-
cloneNodeFix: true,
|
|
13
|
-
cmpDidLoad: true,
|
|
14
|
-
cmpDidRender: false,
|
|
15
|
-
cmpDidUnload: false,
|
|
16
|
-
cmpDidUpdate: false,
|
|
17
|
-
cmpShouldUpdate: false,
|
|
18
|
-
cmpWillLoad: true,
|
|
19
|
-
cmpWillRender: false,
|
|
20
|
-
cmpWillUpdate: false,
|
|
21
|
-
connectedCallback: true,
|
|
22
|
-
constructableCSS: true,
|
|
23
|
-
cssAnnotations: true,
|
|
24
|
-
devTools: false,
|
|
25
|
-
disconnectedCallback: true,
|
|
26
|
-
element: false,
|
|
27
|
-
event: true,
|
|
28
|
-
experimentalScopedSlotChanges: false,
|
|
29
|
-
experimentalSlotFixes: false,
|
|
30
|
-
formAssociated: true,
|
|
31
|
-
hasRenderFn: true,
|
|
32
|
-
hostListener: true,
|
|
33
|
-
hostListenerTarget: true,
|
|
34
|
-
hostListenerTargetBody: false,
|
|
35
|
-
hostListenerTargetDocument: true,
|
|
36
|
-
hostListenerTargetParent: false,
|
|
37
|
-
hostListenerTargetWindow: true,
|
|
38
|
-
hotModuleReplacement: false,
|
|
39
|
-
hydrateClientSide: true,
|
|
40
|
-
hydrateServerSide: false,
|
|
41
|
-
hydratedAttribute: false,
|
|
42
|
-
hydratedClass: true,
|
|
43
|
-
hydratedSelectorName: "hydrated",
|
|
44
|
-
invisiblePrehydration: true,
|
|
45
|
-
isDebug: true,
|
|
46
|
-
isDev: false,
|
|
47
|
-
isTesting: false,
|
|
48
|
-
lazyLoad: false,
|
|
49
|
-
lifecycle: true,
|
|
50
|
-
lifecycleDOMEvents: true,
|
|
51
|
-
member: true,
|
|
52
|
-
method: true,
|
|
53
|
-
mode: false,
|
|
54
|
-
observeAttribute: true,
|
|
55
|
-
profile: false,
|
|
56
|
-
prop: true,
|
|
57
|
-
propBoolean: true,
|
|
58
|
-
propMutable: true,
|
|
59
|
-
propNumber: true,
|
|
60
|
-
propString: true,
|
|
61
|
-
reflect: true,
|
|
62
|
-
scoped: false,
|
|
63
|
-
scopedSlotTextContentFix: false,
|
|
64
|
-
scriptDataOpts: false,
|
|
65
|
-
shadowDelegatesFocus: false,
|
|
66
|
-
shadowDom: true,
|
|
67
|
-
slot: true,
|
|
68
|
-
slotChildNodesFix: false,
|
|
69
|
-
slotRelocation: false,
|
|
70
|
-
state: true,
|
|
71
|
-
style: true,
|
|
72
|
-
svg: false,
|
|
73
|
-
taskQueue: true,
|
|
74
|
-
updatable: true,
|
|
75
|
-
vdomAttribute: true,
|
|
76
|
-
vdomClass: true,
|
|
77
|
-
vdomFunctional: true,
|
|
78
|
-
vdomKey: true,
|
|
79
|
-
vdomListener: true,
|
|
80
|
-
vdomPropOrAttr: true,
|
|
81
|
-
vdomRef: true,
|
|
82
|
-
vdomRender: true,
|
|
83
|
-
vdomStyle: true,
|
|
84
|
-
vdomText: true,
|
|
85
|
-
vdomXlink: true,
|
|
86
|
-
watchCallback: true
|
|
87
|
-
};
|
|
88
|
-
|
|
89
|
-
/*
|
|
90
|
-
Stencil Client Platform v4.23.0 | MIT Licensed | https://stenciljs.com
|
|
91
|
-
*/ var n = Object.defineProperty;
|
|
92
|
-
|
|
93
|
-
var __export = (e, t) => {
|
|
94
|
-
for (var s in t) n(e, s, {
|
|
95
|
-
get: t[s],
|
|
96
|
-
enumerable: true
|
|
97
|
-
});
|
|
98
|
-
};
|
|
99
|
-
|
|
100
|
-
var s = new WeakMap;
|
|
101
|
-
|
|
102
|
-
var getHostRef = e => s.get(e);
|
|
103
|
-
|
|
104
|
-
var registerHost = (e, t) => {
|
|
105
|
-
const n = {
|
|
106
|
-
t: 0,
|
|
107
|
-
$hostElement$: e,
|
|
108
|
-
l: t,
|
|
109
|
-
o: new Map
|
|
110
|
-
};
|
|
111
|
-
{
|
|
112
|
-
n.i = new Promise((e => n.u = e));
|
|
113
|
-
e["s-p"] = [];
|
|
114
|
-
e["s-rc"] = [];
|
|
115
|
-
}
|
|
116
|
-
return s.set(e, n);
|
|
117
|
-
};
|
|
118
|
-
|
|
119
|
-
var isMemberInElement = (e, t) => t in e;
|
|
120
|
-
|
|
121
|
-
var consoleError = (e, t) => (0, console.error)(e, t)
|
|
122
|
-
// src/client/client-load-module.ts
|
|
123
|
-
;
|
|
124
|
-
|
|
125
|
-
var r = new Map;
|
|
126
|
-
|
|
127
|
-
var loadModule = (e, t, n) => {
|
|
128
|
-
const s = e.v.replace(/-/g, "_");
|
|
129
|
-
const l = e.h;
|
|
130
|
-
if (!l) {
|
|
131
|
-
return void 0;
|
|
132
|
-
}
|
|
133
|
-
const o = r.get(l);
|
|
134
|
-
if (o) {
|
|
135
|
-
return o[s];
|
|
136
|
-
}
|
|
137
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/ return import(
|
|
138
|
-
/* @vite-ignore */
|
|
139
|
-
/* webpackInclude: /\.entry\.js$/ */
|
|
140
|
-
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
141
|
-
/* webpackMode: "lazy" */
|
|
142
|
-
`./${l}.entry.js${""}`).then((e => {
|
|
143
|
-
{
|
|
144
|
-
r.set(l, e);
|
|
145
|
-
}
|
|
146
|
-
return e[s];
|
|
147
|
-
}), consoleError);
|
|
148
|
-
};
|
|
149
|
-
|
|
150
|
-
// src/client/client-style.ts
|
|
151
|
-
var l = new Map;
|
|
152
|
-
|
|
153
|
-
// src/runtime/runtime-constants.ts
|
|
154
|
-
var o = "r";
|
|
155
|
-
|
|
156
|
-
var i = "o";
|
|
157
|
-
|
|
158
|
-
var a = "s";
|
|
159
|
-
|
|
160
|
-
var f = "t";
|
|
161
|
-
|
|
162
|
-
var c = "c";
|
|
163
|
-
|
|
164
|
-
var u = "s-id";
|
|
165
|
-
|
|
166
|
-
var v = "sty-id";
|
|
167
|
-
|
|
168
|
-
var d = "c-id";
|
|
169
|
-
|
|
170
|
-
var p = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
|
171
|
-
|
|
172
|
-
var m = "http://www.w3.org/1999/xlink";
|
|
173
|
-
|
|
174
|
-
var $ = [ "formAssociatedCallback", "formResetCallback", "formDisabledCallback", "formStateRestoreCallback" ];
|
|
175
|
-
|
|
176
|
-
var y = typeof window !== "undefined" ? window : {};
|
|
177
|
-
|
|
178
|
-
var b = y.document || {
|
|
179
|
-
head: {}
|
|
180
|
-
};
|
|
181
|
-
|
|
182
|
-
var w = y.HTMLElement || class {};
|
|
183
|
-
|
|
184
|
-
var g = {
|
|
185
|
-
t: 0,
|
|
186
|
-
p: "",
|
|
187
|
-
jmp: e => e(),
|
|
188
|
-
raf: e => requestAnimationFrame(e),
|
|
189
|
-
ael: (e, t, n, s) => e.addEventListener(t, n, s),
|
|
190
|
-
rel: (e, t, n, s) => e.removeEventListener(t, n, s),
|
|
191
|
-
ce: (e, t) => new CustomEvent(e, t)
|
|
192
|
-
};
|
|
193
|
-
|
|
194
|
-
var S = t.shadowDom;
|
|
195
|
-
|
|
196
|
-
var k = (() => {
|
|
197
|
-
let e = false;
|
|
198
|
-
try {
|
|
199
|
-
b.addEventListener("e", null, Object.defineProperty({}, "passive", {
|
|
200
|
-
get() {
|
|
201
|
-
e = true;
|
|
202
|
-
}
|
|
203
|
-
}));
|
|
204
|
-
} catch (e) {}
|
|
205
|
-
return e;
|
|
206
|
-
})();
|
|
207
|
-
|
|
208
|
-
var promiseResolve = e => Promise.resolve(e);
|
|
209
|
-
|
|
210
|
-
var C = (() => {
|
|
211
|
-
try {
|
|
212
|
-
new CSSStyleSheet;
|
|
213
|
-
return typeof (new CSSStyleSheet).replaceSync === "function";
|
|
214
|
-
} catch (e) {}
|
|
215
|
-
return false;
|
|
216
|
-
})();
|
|
217
|
-
|
|
218
|
-
var x = false;
|
|
219
|
-
|
|
220
|
-
var j = [];
|
|
221
|
-
|
|
222
|
-
var O = [];
|
|
223
|
-
|
|
224
|
-
var queueTask = (e, t) => n => {
|
|
225
|
-
e.push(n);
|
|
226
|
-
if (!x) {
|
|
227
|
-
x = true;
|
|
228
|
-
if (t && g.t & 4 /* queueSync */) {
|
|
229
|
-
nextTick(flush);
|
|
230
|
-
} else {
|
|
231
|
-
g.raf(flush);
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
};
|
|
235
|
-
|
|
236
|
-
var consume = e => {
|
|
237
|
-
for (let t = 0; t < e.length; t++) {
|
|
238
|
-
try {
|
|
239
|
-
e[t](performance.now());
|
|
240
|
-
} catch (e) {
|
|
241
|
-
consoleError(e);
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
e.length = 0;
|
|
245
|
-
};
|
|
246
|
-
|
|
247
|
-
var flush = () => {
|
|
248
|
-
consume(j);
|
|
249
|
-
{
|
|
250
|
-
consume(O);
|
|
251
|
-
if (x = j.length > 0) {
|
|
252
|
-
g.raf(flush);
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
};
|
|
256
|
-
|
|
257
|
-
var nextTick = e => promiseResolve().then(e);
|
|
258
|
-
|
|
259
|
-
var D = queueTask(O, true);
|
|
260
|
-
|
|
261
|
-
// src/runtime/asset-path.ts
|
|
262
|
-
var getAssetPath = e => {
|
|
263
|
-
const t = new URL(e, g.p);
|
|
264
|
-
return t.origin !== y.location.origin ? t.href : t.pathname;
|
|
265
|
-
};
|
|
266
|
-
|
|
267
|
-
var setAssetPath = e => g.p = e
|
|
268
|
-
// src/utils/constants.ts
|
|
269
|
-
;
|
|
270
|
-
|
|
271
|
-
var A = {};
|
|
272
|
-
|
|
273
|
-
// src/utils/helpers.ts
|
|
274
|
-
var isDef = e => e != null;
|
|
275
|
-
|
|
276
|
-
var isComplexType = e => {
|
|
277
|
-
e = typeof e;
|
|
278
|
-
return e === "object" || e === "function";
|
|
279
|
-
};
|
|
280
|
-
|
|
281
|
-
// src/utils/query-nonce-meta-tag-content.ts
|
|
282
|
-
function queryNonceMetaTagContent(e) {
|
|
283
|
-
var t, n, s;
|
|
284
|
-
return (s = (n = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : n.getAttribute("content")) != null ? s : void 0;
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
// src/utils/result.ts
|
|
288
|
-
var L = {};
|
|
289
|
-
|
|
290
|
-
__export(L, {
|
|
291
|
-
err: () => err,
|
|
292
|
-
map: () => map,
|
|
293
|
-
ok: () => ok,
|
|
294
|
-
unwrap: () => unwrap,
|
|
295
|
-
unwrapErr: () => unwrapErr
|
|
296
|
-
});
|
|
297
|
-
|
|
298
|
-
var ok = e => ({
|
|
299
|
-
isOk: true,
|
|
300
|
-
isErr: false,
|
|
301
|
-
value: e
|
|
302
|
-
});
|
|
303
|
-
|
|
304
|
-
var err = e => ({
|
|
305
|
-
isOk: false,
|
|
306
|
-
isErr: true,
|
|
307
|
-
value: e
|
|
308
|
-
});
|
|
309
|
-
|
|
310
|
-
function map(e, t) {
|
|
311
|
-
if (e.isOk) {
|
|
312
|
-
const n = t(e.value);
|
|
313
|
-
if (n instanceof Promise) {
|
|
314
|
-
return n.then((e => ok(e)));
|
|
315
|
-
} else {
|
|
316
|
-
return ok(n);
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
if (e.isErr) {
|
|
320
|
-
const t = e.value;
|
|
321
|
-
return err(t);
|
|
322
|
-
}
|
|
323
|
-
throw "should never get here";
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
var unwrap = e => {
|
|
327
|
-
if (e.isOk) {
|
|
328
|
-
return e.value;
|
|
329
|
-
} else {
|
|
330
|
-
throw e.value;
|
|
331
|
-
}
|
|
332
|
-
};
|
|
333
|
-
|
|
334
|
-
var unwrapErr = e => {
|
|
335
|
-
if (e.isErr) {
|
|
336
|
-
return e.value;
|
|
337
|
-
} else {
|
|
338
|
-
throw e.value;
|
|
339
|
-
}
|
|
340
|
-
};
|
|
341
|
-
|
|
342
|
-
var h = (e, t, ...n) => {
|
|
343
|
-
let s = null;
|
|
344
|
-
let r = null;
|
|
345
|
-
let l = false;
|
|
346
|
-
let o = false;
|
|
347
|
-
const i = [];
|
|
348
|
-
const walk = t => {
|
|
349
|
-
for (let n = 0; n < t.length; n++) {
|
|
350
|
-
s = t[n];
|
|
351
|
-
if (Array.isArray(s)) {
|
|
352
|
-
walk(s);
|
|
353
|
-
} else if (s != null && typeof s !== "boolean") {
|
|
354
|
-
if (l = typeof e !== "function" && !isComplexType(s)) {
|
|
355
|
-
s = String(s);
|
|
356
|
-
}
|
|
357
|
-
if (l && o) {
|
|
358
|
-
i[i.length - 1].m += s;
|
|
359
|
-
} else {
|
|
360
|
-
i.push(l ? newVNode(null, s) : s);
|
|
361
|
-
}
|
|
362
|
-
o = l;
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
};
|
|
366
|
-
walk(n);
|
|
367
|
-
if (t) {
|
|
368
|
-
if (t.key) {
|
|
369
|
-
r = t.key;
|
|
370
|
-
}
|
|
371
|
-
{
|
|
372
|
-
const e = t.className || t.class;
|
|
373
|
-
if (e) {
|
|
374
|
-
t.class = typeof e !== "object" ? e : Object.keys(e).filter((t => e[t])).join(" ");
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
if (typeof e === "function") {
|
|
379
|
-
return e(t === null ? {} : t, i, R);
|
|
380
|
-
}
|
|
381
|
-
const a = newVNode(e, null);
|
|
382
|
-
a.$ = t;
|
|
383
|
-
if (i.length > 0) {
|
|
384
|
-
a.S = i;
|
|
385
|
-
}
|
|
386
|
-
{
|
|
387
|
-
a.k = r;
|
|
388
|
-
}
|
|
389
|
-
return a;
|
|
390
|
-
};
|
|
391
|
-
|
|
392
|
-
var newVNode = (e, t) => {
|
|
393
|
-
const n = {
|
|
394
|
-
t: 0,
|
|
395
|
-
C: e,
|
|
396
|
-
m: t,
|
|
397
|
-
j: null,
|
|
398
|
-
S: null
|
|
399
|
-
};
|
|
400
|
-
{
|
|
401
|
-
n.$ = null;
|
|
402
|
-
}
|
|
403
|
-
{
|
|
404
|
-
n.k = null;
|
|
405
|
-
}
|
|
406
|
-
return n;
|
|
407
|
-
};
|
|
408
|
-
|
|
409
|
-
var M = {};
|
|
410
|
-
|
|
411
|
-
var isHost = e => e && e.C === M;
|
|
412
|
-
|
|
413
|
-
var R = {
|
|
414
|
-
forEach: (e, t) => e.map(convertToPublic).forEach(t),
|
|
415
|
-
map: (e, t) => e.map(convertToPublic).map(t).map(convertToPrivate)
|
|
416
|
-
};
|
|
417
|
-
|
|
418
|
-
var convertToPublic = e => ({
|
|
419
|
-
vattrs: e.$,
|
|
420
|
-
vchildren: e.S,
|
|
421
|
-
vkey: e.k,
|
|
422
|
-
vname: e.O,
|
|
423
|
-
vtag: e.C,
|
|
424
|
-
vtext: e.m
|
|
425
|
-
});
|
|
426
|
-
|
|
427
|
-
var convertToPrivate = e => {
|
|
428
|
-
if (typeof e.vtag === "function") {
|
|
429
|
-
const t = {
|
|
430
|
-
...e.vattrs
|
|
431
|
-
};
|
|
432
|
-
if (e.vkey) {
|
|
433
|
-
t.key = e.vkey;
|
|
434
|
-
}
|
|
435
|
-
if (e.vname) {
|
|
436
|
-
t.name = e.vname;
|
|
437
|
-
}
|
|
438
|
-
return h(e.vtag, t, ...e.vchildren || []);
|
|
439
|
-
}
|
|
440
|
-
const t = newVNode(e.vtag, e.vtext);
|
|
441
|
-
t.$ = e.vattrs;
|
|
442
|
-
t.S = e.vchildren;
|
|
443
|
-
t.k = e.vkey;
|
|
444
|
-
t.O = e.vname;
|
|
445
|
-
return t;
|
|
446
|
-
};
|
|
447
|
-
|
|
448
|
-
var setAccessor = (e, t, n, s, r, l) => {
|
|
449
|
-
if (n !== s) {
|
|
450
|
-
let o = isMemberInElement(e, t);
|
|
451
|
-
let i = t.toLowerCase();
|
|
452
|
-
if (t === "class") {
|
|
453
|
-
const t = e.classList;
|
|
454
|
-
const r = parseClassList(n);
|
|
455
|
-
const l = parseClassList(s);
|
|
456
|
-
if (e["s-si"] && l.indexOf(e["s-si"]) < 0) {
|
|
457
|
-
l.push(e["s-si"]);
|
|
458
|
-
}
|
|
459
|
-
t.remove(...r.filter((e => e && !l.includes(e))));
|
|
460
|
-
t.add(...l.filter((e => e && !r.includes(e))));
|
|
461
|
-
} else if (t === "style") {
|
|
462
|
-
{
|
|
463
|
-
for (const t in n) {
|
|
464
|
-
if (!s || s[t] == null) {
|
|
465
|
-
if (t.includes("-")) {
|
|
466
|
-
e.style.removeProperty(t);
|
|
467
|
-
} else {
|
|
468
|
-
e.style[t] = "";
|
|
469
|
-
}
|
|
470
|
-
}
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
for (const t in s) {
|
|
474
|
-
if (!n || s[t] !== n[t]) {
|
|
475
|
-
if (t.includes("-")) {
|
|
476
|
-
e.style.setProperty(t, s[t]);
|
|
477
|
-
} else {
|
|
478
|
-
e.style[t] = s[t];
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
}
|
|
482
|
-
} else if (t === "key") ; else if (t === "ref") {
|
|
483
|
-
if (s) {
|
|
484
|
-
s(e);
|
|
485
|
-
}
|
|
486
|
-
} else if (!e.__lookupSetter__(t) && t[0] === "o" && t[1] === "n") {
|
|
487
|
-
if (t[2] === "-") {
|
|
488
|
-
t = t.slice(3);
|
|
489
|
-
} else if (isMemberInElement(y, i)) {
|
|
490
|
-
t = i.slice(2);
|
|
491
|
-
} else {
|
|
492
|
-
t = i[2] + t.slice(3);
|
|
493
|
-
}
|
|
494
|
-
if (n || s) {
|
|
495
|
-
const r = t.endsWith(F);
|
|
496
|
-
t = t.replace(N, "");
|
|
497
|
-
if (n) {
|
|
498
|
-
g.rel(e, t, n, r);
|
|
499
|
-
}
|
|
500
|
-
if (s) {
|
|
501
|
-
g.ael(e, t, s, r);
|
|
502
|
-
}
|
|
503
|
-
}
|
|
504
|
-
} else {
|
|
505
|
-
const a = isComplexType(s);
|
|
506
|
-
if ((o || a && s !== null) && !r) {
|
|
507
|
-
try {
|
|
508
|
-
if (!e.tagName.includes("-")) {
|
|
509
|
-
const r = s == null ? "" : s;
|
|
510
|
-
if (t === "list") {
|
|
511
|
-
o = false;
|
|
512
|
-
} else if (n == null || e[t] != r) {
|
|
513
|
-
if (typeof e.__lookupSetter__(t) === "function") {
|
|
514
|
-
e[t] = r;
|
|
515
|
-
} else {
|
|
516
|
-
e.setAttribute(t, r);
|
|
517
|
-
}
|
|
518
|
-
}
|
|
519
|
-
} else {
|
|
520
|
-
e[t] = s;
|
|
521
|
-
}
|
|
522
|
-
} catch (e) {}
|
|
523
|
-
}
|
|
524
|
-
let f = false;
|
|
525
|
-
{
|
|
526
|
-
if (i !== (i = i.replace(/^xlink\:?/, ""))) {
|
|
527
|
-
t = i;
|
|
528
|
-
f = true;
|
|
529
|
-
}
|
|
530
|
-
}
|
|
531
|
-
if (s == null || s === false) {
|
|
532
|
-
if (s !== false || e.getAttribute(t) === "") {
|
|
533
|
-
if (f) {
|
|
534
|
-
e.removeAttributeNS(m, t);
|
|
535
|
-
} else {
|
|
536
|
-
e.removeAttribute(t);
|
|
537
|
-
}
|
|
538
|
-
}
|
|
539
|
-
} else if ((!o || l & 4 /* isHost */ || r) && !a) {
|
|
540
|
-
s = s === true ? "" : s;
|
|
541
|
-
if (f) {
|
|
542
|
-
e.setAttributeNS(m, t, s);
|
|
543
|
-
} else {
|
|
544
|
-
e.setAttribute(t, s);
|
|
545
|
-
}
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
}
|
|
549
|
-
};
|
|
550
|
-
|
|
551
|
-
var E = /\s/;
|
|
552
|
-
|
|
553
|
-
var parseClassList = e => !e ? [] : e.split(E);
|
|
554
|
-
|
|
555
|
-
var F = "Capture";
|
|
556
|
-
|
|
557
|
-
var N = new RegExp(F + "$");
|
|
558
|
-
|
|
559
|
-
// src/runtime/vdom/update-element.ts
|
|
560
|
-
var updateElement = (e, t, n) => {
|
|
561
|
-
const s = t.j.nodeType === 11 /* DocumentFragment */ && t.j.host ? t.j.host : t.j;
|
|
562
|
-
const r = e && e.$ || A;
|
|
563
|
-
const l = t.$ || A;
|
|
564
|
-
{
|
|
565
|
-
for (const e of sortedAttrNames(Object.keys(r))) {
|
|
566
|
-
if (!(e in l)) {
|
|
567
|
-
setAccessor(s, e, r[e], void 0, n, t.t);
|
|
568
|
-
}
|
|
569
|
-
}
|
|
570
|
-
}
|
|
571
|
-
for (const e of sortedAttrNames(Object.keys(l))) {
|
|
572
|
-
setAccessor(s, e, r[e], l[e], n, t.t);
|
|
573
|
-
}
|
|
574
|
-
};
|
|
575
|
-
|
|
576
|
-
function sortedAttrNames(e) {
|
|
577
|
-
return e.includes("ref") ?
|
|
578
|
-
// we need to sort these to ensure that `'ref'` is the last attr
|
|
579
|
-
[ ...e.filter((e => e !== "ref")), "ref" ] :
|
|
580
|
-
// no need to sort, return the original array
|
|
581
|
-
e;
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
// src/runtime/vdom/vdom-render.ts
|
|
585
|
-
var T;
|
|
586
|
-
|
|
587
|
-
var U;
|
|
588
|
-
|
|
589
|
-
var W = false;
|
|
590
|
-
|
|
591
|
-
var I = false;
|
|
592
|
-
|
|
593
|
-
var createElm = (e, n, s, r) => {
|
|
594
|
-
const l = n.S[s];
|
|
595
|
-
let o = 0;
|
|
596
|
-
let i;
|
|
597
|
-
let a;
|
|
598
|
-
if (l.m !== null) {
|
|
599
|
-
i = l.j = b.createTextNode(l.m);
|
|
600
|
-
} else {
|
|
601
|
-
i = l.j = b.createElement(!W && t.slotRelocation && l.t & 2 /* isSlotFallback */ ? "slot-fb" : l.C);
|
|
602
|
-
{
|
|
603
|
-
updateElement(null, l, I);
|
|
604
|
-
}
|
|
605
|
-
const n = i.getRootNode();
|
|
606
|
-
const s = !n.querySelector("body");
|
|
607
|
-
if (!s && t.scoped && isDef(T) && i["s-si"] !== T) {
|
|
608
|
-
i.classList.add(i["s-si"] = T);
|
|
609
|
-
}
|
|
610
|
-
if (l.S) {
|
|
611
|
-
for (o = 0; o < l.S.length; ++o) {
|
|
612
|
-
a = createElm(e, l, o);
|
|
613
|
-
if (a) {
|
|
614
|
-
i.appendChild(a);
|
|
615
|
-
}
|
|
616
|
-
}
|
|
617
|
-
}
|
|
618
|
-
}
|
|
619
|
-
i["s-hn"] = U;
|
|
620
|
-
return i;
|
|
621
|
-
};
|
|
622
|
-
|
|
623
|
-
var addVnodes = (e, t, n, s, r, l) => {
|
|
624
|
-
let o = e;
|
|
625
|
-
let i;
|
|
626
|
-
if (o.shadowRoot && o.tagName === U) {
|
|
627
|
-
o = o.shadowRoot;
|
|
628
|
-
}
|
|
629
|
-
for (;r <= l; ++r) {
|
|
630
|
-
if (s[r]) {
|
|
631
|
-
i = createElm(null, n, r);
|
|
632
|
-
if (i) {
|
|
633
|
-
s[r].j = i;
|
|
634
|
-
insertBefore(o, i, t);
|
|
635
|
-
}
|
|
636
|
-
}
|
|
637
|
-
}
|
|
638
|
-
};
|
|
639
|
-
|
|
640
|
-
var removeVnodes = (e, t, n) => {
|
|
641
|
-
for (let s = t; s <= n; ++s) {
|
|
642
|
-
const t = e[s];
|
|
643
|
-
if (t) {
|
|
644
|
-
const e = t.j;
|
|
645
|
-
nullifyVNodeRefs(t);
|
|
646
|
-
if (e) {
|
|
647
|
-
e.remove();
|
|
648
|
-
}
|
|
649
|
-
}
|
|
650
|
-
}
|
|
651
|
-
};
|
|
652
|
-
|
|
653
|
-
var updateChildren = (e, t, n, s, r = false) => {
|
|
654
|
-
let l = 0;
|
|
655
|
-
let o = 0;
|
|
656
|
-
let i = 0;
|
|
657
|
-
let a = 0;
|
|
658
|
-
let f = t.length - 1;
|
|
659
|
-
let c = t[0];
|
|
660
|
-
let u = t[f];
|
|
661
|
-
let v = s.length - 1;
|
|
662
|
-
let d = s[0];
|
|
663
|
-
let p = s[v];
|
|
664
|
-
let m;
|
|
665
|
-
let $;
|
|
666
|
-
while (l <= f && o <= v) {
|
|
667
|
-
if (c == null) {
|
|
668
|
-
c = t[++l];
|
|
669
|
-
} else if (u == null) {
|
|
670
|
-
u = t[--f];
|
|
671
|
-
} else if (d == null) {
|
|
672
|
-
d = s[++o];
|
|
673
|
-
} else if (p == null) {
|
|
674
|
-
p = s[--v];
|
|
675
|
-
} else if (isSameVnode(c, d, r)) {
|
|
676
|
-
patch(c, d, r);
|
|
677
|
-
c = t[++l];
|
|
678
|
-
d = s[++o];
|
|
679
|
-
} else if (isSameVnode(u, p, r)) {
|
|
680
|
-
patch(u, p, r);
|
|
681
|
-
u = t[--f];
|
|
682
|
-
p = s[--v];
|
|
683
|
-
} else if (isSameVnode(c, p, r)) {
|
|
684
|
-
patch(c, p, r);
|
|
685
|
-
insertBefore(e, c.j, u.j.nextSibling);
|
|
686
|
-
c = t[++l];
|
|
687
|
-
p = s[--v];
|
|
688
|
-
} else if (isSameVnode(u, d, r)) {
|
|
689
|
-
patch(u, d, r);
|
|
690
|
-
insertBefore(e, u.j, c.j);
|
|
691
|
-
u = t[--f];
|
|
692
|
-
d = s[++o];
|
|
693
|
-
} else {
|
|
694
|
-
i = -1;
|
|
695
|
-
{
|
|
696
|
-
for (a = l; a <= f; ++a) {
|
|
697
|
-
if (t[a] && t[a].k !== null && t[a].k === d.k) {
|
|
698
|
-
i = a;
|
|
699
|
-
break;
|
|
700
|
-
}
|
|
701
|
-
}
|
|
702
|
-
}
|
|
703
|
-
if (i >= 0) {
|
|
704
|
-
$ = t[i];
|
|
705
|
-
if ($.C !== d.C) {
|
|
706
|
-
m = createElm(t && t[o], n, i);
|
|
707
|
-
} else {
|
|
708
|
-
patch($, d, r);
|
|
709
|
-
t[i] = void 0;
|
|
710
|
-
m = $.j;
|
|
711
|
-
}
|
|
712
|
-
d = s[++o];
|
|
713
|
-
} else {
|
|
714
|
-
m = createElm(t && t[o], n, o);
|
|
715
|
-
d = s[++o];
|
|
716
|
-
}
|
|
717
|
-
if (m) {
|
|
718
|
-
{
|
|
719
|
-
insertBefore(c.j.parentNode, m, c.j);
|
|
720
|
-
}
|
|
721
|
-
}
|
|
722
|
-
}
|
|
723
|
-
}
|
|
724
|
-
if (l > f) {
|
|
725
|
-
addVnodes(e, s[v + 1] == null ? null : s[v + 1].j, n, s, o, v);
|
|
726
|
-
} else if (o > v) {
|
|
727
|
-
removeVnodes(t, l, f);
|
|
728
|
-
}
|
|
729
|
-
};
|
|
730
|
-
|
|
731
|
-
var isSameVnode = (e, t, n = false) => {
|
|
732
|
-
if (e.C === t.C) {
|
|
733
|
-
if (!n) {
|
|
734
|
-
return e.k === t.k;
|
|
735
|
-
}
|
|
736
|
-
return true;
|
|
737
|
-
}
|
|
738
|
-
return false;
|
|
739
|
-
};
|
|
740
|
-
|
|
741
|
-
var patch = (e, n, s = false) => {
|
|
742
|
-
const r = n.j = e.j;
|
|
743
|
-
const l = e.S;
|
|
744
|
-
const o = n.S;
|
|
745
|
-
const i = n.C;
|
|
746
|
-
const a = n.m;
|
|
747
|
-
if (a === null) {
|
|
748
|
-
{
|
|
749
|
-
if (i === "slot" && !W) ; else {
|
|
750
|
-
updateElement(e, n, I);
|
|
751
|
-
}
|
|
752
|
-
}
|
|
753
|
-
if (l !== null && o !== null) {
|
|
754
|
-
updateChildren(r, l, n, o, s);
|
|
755
|
-
} else if (o !== null) {
|
|
756
|
-
if (e.m !== null) {
|
|
757
|
-
r.textContent = "";
|
|
758
|
-
}
|
|
759
|
-
addVnodes(r, null, n, o, 0, o.length - 1);
|
|
760
|
-
} else if (
|
|
761
|
-
// don't do this on initial render as it can cause non-hydrated content to be removed
|
|
762
|
-
!s && t.updatable && l !== null) {
|
|
763
|
-
removeVnodes(l, 0, l.length - 1);
|
|
764
|
-
}
|
|
765
|
-
} else if (e.m !== a) {
|
|
766
|
-
r.data = a;
|
|
767
|
-
}
|
|
768
|
-
};
|
|
769
|
-
|
|
770
|
-
var updateFallbackSlotVisibility = e => {
|
|
771
|
-
const t = e.__childNodes || e.childNodes;
|
|
772
|
-
for (const e of t) {
|
|
773
|
-
if (e.nodeType === 1 /* ElementNode */) {
|
|
774
|
-
if (e["s-sr"]) {
|
|
775
|
-
const n = e["s-sn"];
|
|
776
|
-
e.hidden = false;
|
|
777
|
-
for (const s of t) {
|
|
778
|
-
if (s !== e) {
|
|
779
|
-
if (s["s-hn"] !== e["s-hn"] || n !== "") {
|
|
780
|
-
if (s.nodeType === 1 /* ElementNode */ && (n === s.getAttribute("slot") || n === s["s-sn"]) || s.nodeType === 3 /* TextNode */ && n === s["s-sn"]) {
|
|
781
|
-
e.hidden = true;
|
|
782
|
-
break;
|
|
783
|
-
}
|
|
784
|
-
} else if (n === s["s-sn"]) {
|
|
785
|
-
if (s.nodeType === 1 /* ElementNode */ || s.nodeType === 3 /* TextNode */ && s.textContent.trim() !== "") {
|
|
786
|
-
e.hidden = true;
|
|
787
|
-
break;
|
|
788
|
-
}
|
|
789
|
-
}
|
|
790
|
-
}
|
|
791
|
-
}
|
|
792
|
-
}
|
|
793
|
-
updateFallbackSlotVisibility(e);
|
|
794
|
-
}
|
|
795
|
-
}
|
|
796
|
-
};
|
|
797
|
-
|
|
798
|
-
var nullifyVNodeRefs = e => {
|
|
799
|
-
{
|
|
800
|
-
e.$ && e.$.ref && e.$.ref(null);
|
|
801
|
-
e.S && e.S.map(nullifyVNodeRefs);
|
|
802
|
-
}
|
|
803
|
-
};
|
|
804
|
-
|
|
805
|
-
var insertBefore = (e, t, n) => {
|
|
806
|
-
const s = e == null ? void 0 : e.insertBefore(t, n);
|
|
807
|
-
return s;
|
|
808
|
-
};
|
|
809
|
-
|
|
810
|
-
var renderVdom = (e, t, n = false) => {
|
|
811
|
-
const s = e.$hostElement$;
|
|
812
|
-
const r = e.l;
|
|
813
|
-
const l = e.D || newVNode(null, null);
|
|
814
|
-
const o = isHost(t) ? t : h(null, null, t);
|
|
815
|
-
U = s.tagName;
|
|
816
|
-
if (r.A) {
|
|
817
|
-
o.$ = o.$ || {};
|
|
818
|
-
r.A.map((([e, t]) => o.$[t] = s[e]));
|
|
819
|
-
}
|
|
820
|
-
if (n && o.$) {
|
|
821
|
-
for (const e of Object.keys(o.$)) {
|
|
822
|
-
if (s.hasAttribute(e) && ![ "key", "ref", "style", "class" ].includes(e)) {
|
|
823
|
-
o.$[e] = s[e];
|
|
824
|
-
}
|
|
825
|
-
}
|
|
826
|
-
}
|
|
827
|
-
o.C = null;
|
|
828
|
-
o.t |= 4 /* isHost */;
|
|
829
|
-
e.D = o;
|
|
830
|
-
o.j = l.j = s.shadowRoot || s;
|
|
831
|
-
{
|
|
832
|
-
T = s["s-sc"];
|
|
833
|
-
}
|
|
834
|
-
W = (r.t & 1 /* shadowDomEncapsulation */) !== 0;
|
|
835
|
-
patch(l, o, n);
|
|
836
|
-
};
|
|
837
|
-
|
|
838
|
-
var patchCloneNode = e => {
|
|
839
|
-
const t = e.cloneNode;
|
|
840
|
-
e.cloneNode = function(e) {
|
|
841
|
-
const n = this;
|
|
842
|
-
const s = n.shadowRoot && S;
|
|
843
|
-
const r = t.call(n, s ? e : false);
|
|
844
|
-
if (!s && e) {
|
|
845
|
-
let e = 0;
|
|
846
|
-
let t, n;
|
|
847
|
-
const s = [ "s-id", "s-cr", "s-lr", "s-rc", "s-sc", "s-p", "s-cn", "s-sr", "s-sn", "s-hn", "s-ol", "s-nr", "s-si", "s-rf", "s-scs" ];
|
|
848
|
-
const l = this.__childNodes || this.childNodes;
|
|
849
|
-
for (;e < l.length; e++) {
|
|
850
|
-
t = l[e]["s-nr"];
|
|
851
|
-
n = s.every((t => !l[e][t]));
|
|
852
|
-
if (t) {
|
|
853
|
-
if (r.__appendChild) {
|
|
854
|
-
r.__appendChild(t.cloneNode(true));
|
|
855
|
-
} else {
|
|
856
|
-
r.appendChild(t.cloneNode(true));
|
|
857
|
-
}
|
|
858
|
-
}
|
|
859
|
-
if (n) {
|
|
860
|
-
r.appendChild(l[e].cloneNode(true));
|
|
861
|
-
}
|
|
862
|
-
}
|
|
863
|
-
}
|
|
864
|
-
return r;
|
|
865
|
-
};
|
|
866
|
-
};
|
|
867
|
-
|
|
868
|
-
var patchSlotAppendChild = e => {
|
|
869
|
-
e.__appendChild = e.appendChild;
|
|
870
|
-
e.appendChild = function(e) {
|
|
871
|
-
const t = e["s-sn"] = getSlotName(e);
|
|
872
|
-
const n = getHostSlotNode(this.__childNodes || this.childNodes, t, this.tagName);
|
|
873
|
-
if (n) {
|
|
874
|
-
addSlotRelocateNode(e, n);
|
|
875
|
-
const s = getHostSlotChildNodes(n, t);
|
|
876
|
-
const r = s[s.length - 1];
|
|
877
|
-
const l = insertBefore(r.parentNode, e, r.nextSibling);
|
|
878
|
-
updateFallbackSlotVisibility(this);
|
|
879
|
-
return l;
|
|
880
|
-
}
|
|
881
|
-
return this.__appendChild(e);
|
|
882
|
-
};
|
|
883
|
-
};
|
|
884
|
-
|
|
885
|
-
var addSlotRelocateNode = (e, t, n, s) => {
|
|
886
|
-
let r;
|
|
887
|
-
if (e["s-ol"] && e["s-ol"].isConnected) {
|
|
888
|
-
r = e["s-ol"];
|
|
889
|
-
} else {
|
|
890
|
-
r = document.createTextNode("");
|
|
891
|
-
r["s-nr"] = e;
|
|
892
|
-
}
|
|
893
|
-
if (!t["s-cr"] || !t["s-cr"].parentNode) return;
|
|
894
|
-
const l = t["s-cr"].parentNode;
|
|
895
|
-
const o = n ? l.__prepend || l.prepend : l.__appendChild || l.appendChild;
|
|
896
|
-
if (typeof s !== "undefined") {
|
|
897
|
-
{
|
|
898
|
-
r["s-oo"] = s;
|
|
899
|
-
const e = l.__childNodes || l.childNodes;
|
|
900
|
-
const t = [ r ];
|
|
901
|
-
e.forEach((e => {
|
|
902
|
-
if (e["s-nr"]) t.push(e);
|
|
903
|
-
}));
|
|
904
|
-
t.sort(((e, t) => {
|
|
905
|
-
if (!e["s-oo"] || e["s-oo"] < t["s-oo"]) return -1; else if (!t["s-oo"] || t["s-oo"] < e["s-oo"]) return 1;
|
|
906
|
-
return 0;
|
|
907
|
-
}));
|
|
908
|
-
t.forEach((e => o.call(l, e)));
|
|
909
|
-
}
|
|
910
|
-
} else {
|
|
911
|
-
o.call(l, r);
|
|
912
|
-
}
|
|
913
|
-
e["s-ol"] = r;
|
|
914
|
-
e["s-sh"] = t["s-hn"];
|
|
915
|
-
};
|
|
916
|
-
|
|
917
|
-
var getSlotName = e => e["s-sn"] || e.nodeType === 1 && e.getAttribute("slot") || "";
|
|
918
|
-
|
|
919
|
-
var getHostSlotNode = (e, t, n) => {
|
|
920
|
-
let s = 0;
|
|
921
|
-
let r;
|
|
922
|
-
for (;s < e.length; s++) {
|
|
923
|
-
r = e[s];
|
|
924
|
-
if (r["s-sr"] && r["s-sn"] === t && r["s-hn"] === n) {
|
|
925
|
-
return r;
|
|
926
|
-
}
|
|
927
|
-
r = getHostSlotNode(r.childNodes, t, n);
|
|
928
|
-
if (r) {
|
|
929
|
-
return r;
|
|
930
|
-
}
|
|
931
|
-
}
|
|
932
|
-
return null;
|
|
933
|
-
};
|
|
934
|
-
|
|
935
|
-
var getHostSlotChildNodes = (e, t) => {
|
|
936
|
-
const n = [ e ];
|
|
937
|
-
while ((e = e.nextSibling) && e["s-sn"] === t) {
|
|
938
|
-
n.push(e);
|
|
939
|
-
}
|
|
940
|
-
return n;
|
|
941
|
-
};
|
|
942
|
-
|
|
943
|
-
var createTime = (e, t = "") => {
|
|
944
|
-
{
|
|
945
|
-
return () => {};
|
|
946
|
-
}
|
|
947
|
-
};
|
|
948
|
-
|
|
949
|
-
var uniqueTime = (e, t) => {
|
|
950
|
-
{
|
|
951
|
-
return () => {};
|
|
952
|
-
}
|
|
953
|
-
};
|
|
954
|
-
|
|
955
|
-
// src/runtime/client-hydrate.ts
|
|
956
|
-
var initializeClientHydrate = (e, t, n, s) => {
|
|
957
|
-
const r = createTime("hydrateClient", t);
|
|
958
|
-
const l = e.shadowRoot;
|
|
959
|
-
const o = [];
|
|
960
|
-
const i = [];
|
|
961
|
-
const a = [];
|
|
962
|
-
const f = l ? [] : null;
|
|
963
|
-
const c = newVNode(t, null);
|
|
964
|
-
c.j = e;
|
|
965
|
-
if (!g.L) {
|
|
966
|
-
initializeDocumentHydrate(b.body, g.L = new Map);
|
|
967
|
-
}
|
|
968
|
-
e[u] = n;
|
|
969
|
-
e.removeAttribute(u);
|
|
970
|
-
s.D = clientHydrate(c, o, i, f, e, e, n, a);
|
|
971
|
-
let v = 0;
|
|
972
|
-
const d = o.length;
|
|
973
|
-
let p;
|
|
974
|
-
for (v; v < d; v++) {
|
|
975
|
-
p = o[v];
|
|
976
|
-
const n = p.M + "." + p.R;
|
|
977
|
-
const s = g.L.get(n);
|
|
978
|
-
const r = p.j;
|
|
979
|
-
if (!l) {
|
|
980
|
-
r["s-hn"] = t.toUpperCase();
|
|
981
|
-
if (p.C === "slot") {
|
|
982
|
-
r["s-cr"] = e["s-cr"];
|
|
983
|
-
}
|
|
984
|
-
}
|
|
985
|
-
if (s && s.isConnected) {
|
|
986
|
-
if (l && s["s-en"] === "") {
|
|
987
|
-
s.parentNode.insertBefore(r, s.nextSibling);
|
|
988
|
-
}
|
|
989
|
-
s.parentNode.removeChild(s);
|
|
990
|
-
if (!l) {
|
|
991
|
-
r["s-oo"] = parseInt(p.R);
|
|
992
|
-
}
|
|
993
|
-
}
|
|
994
|
-
g.L.delete(n);
|
|
995
|
-
}
|
|
996
|
-
const m = [];
|
|
997
|
-
let $ = 0;
|
|
998
|
-
const y = a.length;
|
|
999
|
-
let w;
|
|
1000
|
-
let S;
|
|
1001
|
-
let k;
|
|
1002
|
-
let C;
|
|
1003
|
-
for ($; $ < y; $++) {
|
|
1004
|
-
w = a[$];
|
|
1005
|
-
if (!w || !w.length) continue;
|
|
1006
|
-
k = w.length;
|
|
1007
|
-
S = 0;
|
|
1008
|
-
for (S; S < k; S++) {
|
|
1009
|
-
C = w[S];
|
|
1010
|
-
if (!m[C.hostId]) {
|
|
1011
|
-
m[C.hostId] = g.L.get(C.hostId);
|
|
1012
|
-
}
|
|
1013
|
-
if (!m[C.hostId]) continue;
|
|
1014
|
-
const e = m[C.hostId];
|
|
1015
|
-
if (!e.shadowRoot || !l) {
|
|
1016
|
-
C.slot["s-cr"] = e["s-cr"];
|
|
1017
|
-
if (!C.slot["s-cr"] && e.shadowRoot) {
|
|
1018
|
-
C.slot["s-cr"] = e;
|
|
1019
|
-
} else {
|
|
1020
|
-
const t = e.__childNodes || e.childNodes;
|
|
1021
|
-
C.slot["s-cr"] = t[0];
|
|
1022
|
-
}
|
|
1023
|
-
addSlotRelocateNode(C.node, C.slot, false, C.node["s-oo"]);
|
|
1024
|
-
}
|
|
1025
|
-
if (e.shadowRoot && C.node.parentElement !== e) {
|
|
1026
|
-
e.appendChild(C.node);
|
|
1027
|
-
}
|
|
1028
|
-
}
|
|
1029
|
-
}
|
|
1030
|
-
if (l) {
|
|
1031
|
-
let t = 0;
|
|
1032
|
-
const n = f.length;
|
|
1033
|
-
for (t; t < n; t++) {
|
|
1034
|
-
l.appendChild(f[t]);
|
|
1035
|
-
}
|
|
1036
|
-
Array.from(e.childNodes).forEach((e => {
|
|
1037
|
-
if (e.nodeType === 8 /* CommentNode */ && typeof e["s-sn"] !== "string") {
|
|
1038
|
-
e.parentNode.removeChild(e);
|
|
1039
|
-
}
|
|
1040
|
-
}));
|
|
1041
|
-
}
|
|
1042
|
-
s.$hostElement$ = e;
|
|
1043
|
-
r();
|
|
1044
|
-
};
|
|
1045
|
-
|
|
1046
|
-
var clientHydrate = (e, t, n, s, r, l, i, u = []) => {
|
|
1047
|
-
let v;
|
|
1048
|
-
let p;
|
|
1049
|
-
let m;
|
|
1050
|
-
let $;
|
|
1051
|
-
const y = r["s-sc"];
|
|
1052
|
-
if (l.nodeType === 1 /* ElementNode */) {
|
|
1053
|
-
v = l.getAttribute(d);
|
|
1054
|
-
if (v) {
|
|
1055
|
-
p = v.split(".");
|
|
1056
|
-
if (p[0] === i || p[0] === "0") {
|
|
1057
|
-
m = createSimpleVNode({
|
|
1058
|
-
t: 0,
|
|
1059
|
-
M: p[0],
|
|
1060
|
-
R: p[1],
|
|
1061
|
-
F: p[2],
|
|
1062
|
-
N: p[3],
|
|
1063
|
-
C: l.tagName.toLowerCase(),
|
|
1064
|
-
j: l,
|
|
1065
|
-
// If we don't add the initial classes to the VNode, the first `vdom-render.ts` reconciliation will fail:
|
|
1066
|
-
// client side changes before componentDidLoad will be ignored, `set-accessor.ts` will just take the element's initial classes
|
|
1067
|
-
$: {
|
|
1068
|
-
class: l.className
|
|
1069
|
-
}
|
|
1070
|
-
});
|
|
1071
|
-
t.push(m);
|
|
1072
|
-
l.removeAttribute(d);
|
|
1073
|
-
if (!e.S) {
|
|
1074
|
-
e.S = [];
|
|
1075
|
-
}
|
|
1076
|
-
const r = m.j.getAttribute("s-sn");
|
|
1077
|
-
if (typeof r === "string") {
|
|
1078
|
-
if (m.C === "slot-fb") {
|
|
1079
|
-
addSlot(r, p[2], m, l, e, t, n, s, u);
|
|
1080
|
-
}
|
|
1081
|
-
m.j["s-sn"] = r;
|
|
1082
|
-
m.j.removeAttribute("s-sn");
|
|
1083
|
-
}
|
|
1084
|
-
if (m.N !== void 0) {
|
|
1085
|
-
e.S[m.N] = m;
|
|
1086
|
-
}
|
|
1087
|
-
if (y) l["s-si"] = y;
|
|
1088
|
-
e = m;
|
|
1089
|
-
if (s && m.F === "0") {
|
|
1090
|
-
s[m.N] = m.j;
|
|
1091
|
-
}
|
|
1092
|
-
}
|
|
1093
|
-
}
|
|
1094
|
-
if (l.shadowRoot) {
|
|
1095
|
-
for ($ = l.shadowRoot.childNodes.length - 1; $ >= 0; $--) {
|
|
1096
|
-
clientHydrate(e, t, n, s, r, l.shadowRoot.childNodes[$], i, u);
|
|
1097
|
-
}
|
|
1098
|
-
}
|
|
1099
|
-
const o = l.__childNodes || l.childNodes;
|
|
1100
|
-
for ($ = o.length - 1; $ >= 0; $--) {
|
|
1101
|
-
clientHydrate(e, t, n, s, r, o[$], i, u);
|
|
1102
|
-
}
|
|
1103
|
-
} else if (l.nodeType === 8 /* CommentNode */) {
|
|
1104
|
-
p = l.nodeValue.split(".");
|
|
1105
|
-
if (p[1] === i || p[1] === "0") {
|
|
1106
|
-
v = p[0];
|
|
1107
|
-
m = createSimpleVNode({
|
|
1108
|
-
M: p[1],
|
|
1109
|
-
R: p[2],
|
|
1110
|
-
F: p[3],
|
|
1111
|
-
N: p[4] || "0",
|
|
1112
|
-
j: l,
|
|
1113
|
-
$: null,
|
|
1114
|
-
S: null,
|
|
1115
|
-
k: null,
|
|
1116
|
-
O: null,
|
|
1117
|
-
C: null,
|
|
1118
|
-
m: null
|
|
1119
|
-
});
|
|
1120
|
-
if (v === f) {
|
|
1121
|
-
m.j = l.nextSibling;
|
|
1122
|
-
if (m.j && m.j.nodeType === 3 /* TextNode */) {
|
|
1123
|
-
m.m = m.j.textContent;
|
|
1124
|
-
t.push(m);
|
|
1125
|
-
l.remove();
|
|
1126
|
-
if (i === m.M) {
|
|
1127
|
-
if (!e.S) {
|
|
1128
|
-
e.S = [];
|
|
1129
|
-
}
|
|
1130
|
-
e.S[m.N] = m;
|
|
1131
|
-
}
|
|
1132
|
-
if (s && m.F === "0") {
|
|
1133
|
-
s[m.N] = m.j;
|
|
1134
|
-
}
|
|
1135
|
-
}
|
|
1136
|
-
} else if (v === c) {
|
|
1137
|
-
m.j = l.nextSibling;
|
|
1138
|
-
if (m.j && m.j.nodeType === 8 /* CommentNode */) {
|
|
1139
|
-
t.push(m);
|
|
1140
|
-
l.remove();
|
|
1141
|
-
}
|
|
1142
|
-
} else if (m.M === i) {
|
|
1143
|
-
if (v === a) {
|
|
1144
|
-
m.C = "slot";
|
|
1145
|
-
const r = l["s-sn"] = m.O = p[5] || "";
|
|
1146
|
-
addSlot(r, p[2], m, l, e, t, n, s, u);
|
|
1147
|
-
} else if (v === o) {
|
|
1148
|
-
if (s) {
|
|
1149
|
-
l.remove();
|
|
1150
|
-
}
|
|
1151
|
-
}
|
|
1152
|
-
}
|
|
1153
|
-
}
|
|
1154
|
-
} else if (e && e.C === "style") {
|
|
1155
|
-
const t = newVNode(null, l.textContent);
|
|
1156
|
-
t.j = l;
|
|
1157
|
-
t.N = "0";
|
|
1158
|
-
e.S = [ t ];
|
|
1159
|
-
}
|
|
1160
|
-
return e;
|
|
1161
|
-
};
|
|
1162
|
-
|
|
1163
|
-
var initializeDocumentHydrate = (e, t) => {
|
|
1164
|
-
if (e.nodeType === 1 /* ElementNode */) {
|
|
1165
|
-
const n = e[u] || e.getAttribute(u);
|
|
1166
|
-
if (n) {
|
|
1167
|
-
t.set(n, e);
|
|
1168
|
-
}
|
|
1169
|
-
let s = 0;
|
|
1170
|
-
if (e.shadowRoot) {
|
|
1171
|
-
for (;s < e.shadowRoot.childNodes.length; s++) {
|
|
1172
|
-
initializeDocumentHydrate(e.shadowRoot.childNodes[s], t);
|
|
1173
|
-
}
|
|
1174
|
-
}
|
|
1175
|
-
const r = e.__childNodes || e.childNodes;
|
|
1176
|
-
for (s = 0; s < r.length; s++) {
|
|
1177
|
-
initializeDocumentHydrate(r[s], t);
|
|
1178
|
-
}
|
|
1179
|
-
} else if (e.nodeType === 8 /* CommentNode */) {
|
|
1180
|
-
const n = e.nodeValue.split(".");
|
|
1181
|
-
if (n[0] === i) {
|
|
1182
|
-
t.set(n[1] + "." + n[2], e);
|
|
1183
|
-
e.nodeValue = "";
|
|
1184
|
-
e["s-en"] = n[3];
|
|
1185
|
-
}
|
|
1186
|
-
}
|
|
1187
|
-
};
|
|
1188
|
-
|
|
1189
|
-
var createSimpleVNode = e => {
|
|
1190
|
-
const t = {
|
|
1191
|
-
t: 0,
|
|
1192
|
-
M: null,
|
|
1193
|
-
R: null,
|
|
1194
|
-
F: null,
|
|
1195
|
-
N: "0",
|
|
1196
|
-
j: null,
|
|
1197
|
-
$: null,
|
|
1198
|
-
S: null,
|
|
1199
|
-
k: null,
|
|
1200
|
-
O: null,
|
|
1201
|
-
C: null,
|
|
1202
|
-
m: null
|
|
1203
|
-
};
|
|
1204
|
-
return {
|
|
1205
|
-
...t,
|
|
1206
|
-
...e
|
|
1207
|
-
};
|
|
1208
|
-
};
|
|
1209
|
-
|
|
1210
|
-
function addSlot(e, t, n, s, r, l, o, i, a) {
|
|
1211
|
-
s["s-sr"] = true;
|
|
1212
|
-
const f = (r == null ? void 0 : r.j) ? r.j["s-id"] || r.j.getAttribute("s-id") : "";
|
|
1213
|
-
if (i) {
|
|
1214
|
-
const l = n.j = b.createElement(n.C);
|
|
1215
|
-
if (n.O) {
|
|
1216
|
-
n.j.setAttribute("name", e);
|
|
1217
|
-
}
|
|
1218
|
-
if (f && f !== n.M) {
|
|
1219
|
-
r.j.insertBefore(l, r.j.children[0]);
|
|
1220
|
-
} else {
|
|
1221
|
-
s.parentNode.insertBefore(n.j, s);
|
|
1222
|
-
}
|
|
1223
|
-
addSlottedNodes(a, t, e, s, n.M);
|
|
1224
|
-
s.remove();
|
|
1225
|
-
if (n.F === "0") {
|
|
1226
|
-
i[n.N] = n.j;
|
|
1227
|
-
}
|
|
1228
|
-
} else {
|
|
1229
|
-
const o = n.j;
|
|
1230
|
-
const i = f && f !== n.M && r.j.shadowRoot;
|
|
1231
|
-
addSlottedNodes(a, t, e, s, i ? f : n.M);
|
|
1232
|
-
if (i) {
|
|
1233
|
-
r.j.insertBefore(o, r.j.children[0]);
|
|
1234
|
-
}
|
|
1235
|
-
l.push(n);
|
|
1236
|
-
}
|
|
1237
|
-
o.push(n);
|
|
1238
|
-
if (!r.S) {
|
|
1239
|
-
r.S = [];
|
|
1240
|
-
}
|
|
1241
|
-
r.S[n.N] = n;
|
|
1242
|
-
}
|
|
1243
|
-
|
|
1244
|
-
var addSlottedNodes = (e, t, n, s, r) => {
|
|
1245
|
-
let l = s.nextSibling;
|
|
1246
|
-
e[t] = e[t] || [];
|
|
1247
|
-
while (l && ((l["getAttribute"] && l.getAttribute("slot") || l["s-sn"]) === n || n === "" && !l["s-sn"] && (l.nodeType === 8 /* CommentNode */ && l.nodeValue.indexOf(".") !== 1 || l.nodeType === 3 /* TextNode */))) {
|
|
1248
|
-
l["s-sn"] = n;
|
|
1249
|
-
e[t].push({
|
|
1250
|
-
slot: s,
|
|
1251
|
-
node: l,
|
|
1252
|
-
hostId: r
|
|
1253
|
-
});
|
|
1254
|
-
l = l.nextSibling;
|
|
1255
|
-
}
|
|
1256
|
-
};
|
|
1257
|
-
|
|
1258
|
-
var parsePropertyValue = (e, t) => {
|
|
1259
|
-
if (e != null && !isComplexType(e)) {
|
|
1260
|
-
if (t & 4 /* Boolean */) {
|
|
1261
|
-
return e === "false" ? false : e === "" || !!e;
|
|
1262
|
-
}
|
|
1263
|
-
if (t & 2 /* Number */) {
|
|
1264
|
-
return parseFloat(e);
|
|
1265
|
-
}
|
|
1266
|
-
if (t & 1 /* String */) {
|
|
1267
|
-
return String(e);
|
|
1268
|
-
}
|
|
1269
|
-
return e;
|
|
1270
|
-
}
|
|
1271
|
-
return e;
|
|
1272
|
-
};
|
|
1273
|
-
|
|
1274
|
-
var getElement = e => e
|
|
1275
|
-
// src/runtime/event-emitter.ts
|
|
1276
|
-
;
|
|
1277
|
-
|
|
1278
|
-
var createEvent = (e, t, n) => {
|
|
1279
|
-
const s = getElement(e);
|
|
1280
|
-
return {
|
|
1281
|
-
emit: e => emitEvent(s, t, {
|
|
1282
|
-
bubbles: !!(n & 4 /* Bubbles */),
|
|
1283
|
-
composed: !!(n & 2 /* Composed */),
|
|
1284
|
-
cancelable: !!(n & 1 /* Cancellable */),
|
|
1285
|
-
detail: e
|
|
1286
|
-
})
|
|
1287
|
-
};
|
|
1288
|
-
};
|
|
1289
|
-
|
|
1290
|
-
var emitEvent = (e, t, n) => {
|
|
1291
|
-
const s = g.ce(t, n);
|
|
1292
|
-
e.dispatchEvent(s);
|
|
1293
|
-
return s;
|
|
1294
|
-
};
|
|
1295
|
-
|
|
1296
|
-
var P = new WeakMap;
|
|
1297
|
-
|
|
1298
|
-
var registerStyle = (e, t, n) => {
|
|
1299
|
-
let s = l.get(e);
|
|
1300
|
-
if (C && n) {
|
|
1301
|
-
s = s || new CSSStyleSheet;
|
|
1302
|
-
if (typeof s === "string") {
|
|
1303
|
-
s = t;
|
|
1304
|
-
} else {
|
|
1305
|
-
s.replaceSync(t);
|
|
1306
|
-
}
|
|
1307
|
-
} else {
|
|
1308
|
-
s = t;
|
|
1309
|
-
}
|
|
1310
|
-
l.set(e, s);
|
|
1311
|
-
};
|
|
1312
|
-
|
|
1313
|
-
var addStyle = (e, t, n) => {
|
|
1314
|
-
var s;
|
|
1315
|
-
const r = getScopeId(t);
|
|
1316
|
-
const o = l.get(r);
|
|
1317
|
-
e = e.nodeType === 11 /* DocumentFragment */ ? e : b;
|
|
1318
|
-
if (o) {
|
|
1319
|
-
if (typeof o === "string") {
|
|
1320
|
-
e = e.head || e;
|
|
1321
|
-
let n = P.get(e);
|
|
1322
|
-
let l;
|
|
1323
|
-
if (!n) {
|
|
1324
|
-
P.set(e, n = new Set);
|
|
1325
|
-
}
|
|
1326
|
-
if (!n.has(r)) {
|
|
1327
|
-
if (e.host && (l = e.querySelector(`[${v}="${r}"]`))) {
|
|
1328
|
-
l.innerHTML = o;
|
|
1329
|
-
} else {
|
|
1330
|
-
l = b.createElement("style");
|
|
1331
|
-
l.innerHTML = o;
|
|
1332
|
-
const n = (s = g.T) != null ? s : queryNonceMetaTagContent(b);
|
|
1333
|
-
if (n != null) {
|
|
1334
|
-
l.setAttribute("nonce", n);
|
|
1335
|
-
}
|
|
1336
|
-
if (!(t.t & 1 /* shadowDomEncapsulation */)) {
|
|
1337
|
-
if (e.nodeName === "HEAD") {
|
|
1338
|
-
const t = e.querySelectorAll("link[rel=preconnect]");
|
|
1339
|
-
const n = t.length > 0 ? t[t.length - 1].nextSibling : e.querySelector("style");
|
|
1340
|
-
e.insertBefore(l, n);
|
|
1341
|
-
} else if ("host" in e) {
|
|
1342
|
-
if (C) {
|
|
1343
|
-
const t = new CSSStyleSheet;
|
|
1344
|
-
t.replaceSync(o);
|
|
1345
|
-
e.adoptedStyleSheets = [ t, ...e.adoptedStyleSheets ];
|
|
1346
|
-
} else {
|
|
1347
|
-
const t = e.querySelector("style");
|
|
1348
|
-
if (t) {
|
|
1349
|
-
t.innerHTML = o + t.innerHTML;
|
|
1350
|
-
} else {
|
|
1351
|
-
e.prepend(l);
|
|
1352
|
-
}
|
|
1353
|
-
}
|
|
1354
|
-
} else {
|
|
1355
|
-
e.append(l);
|
|
1356
|
-
}
|
|
1357
|
-
}
|
|
1358
|
-
if (t.t & 1 /* shadowDomEncapsulation */ && e.nodeName !== "HEAD") {
|
|
1359
|
-
e.insertBefore(l, null);
|
|
1360
|
-
}
|
|
1361
|
-
}
|
|
1362
|
-
if (t.t & 4 /* hasSlotRelocation */) {
|
|
1363
|
-
l.innerHTML += p;
|
|
1364
|
-
}
|
|
1365
|
-
if (n) {
|
|
1366
|
-
n.add(r);
|
|
1367
|
-
}
|
|
1368
|
-
}
|
|
1369
|
-
} else if (!e.adoptedStyleSheets.includes(o)) {
|
|
1370
|
-
e.adoptedStyleSheets = [ ...e.adoptedStyleSheets, o ];
|
|
1371
|
-
}
|
|
1372
|
-
}
|
|
1373
|
-
return r;
|
|
1374
|
-
};
|
|
1375
|
-
|
|
1376
|
-
var attachStyles = e => {
|
|
1377
|
-
const t = e.l;
|
|
1378
|
-
const n = e.$hostElement$;
|
|
1379
|
-
const s = t.t;
|
|
1380
|
-
const r = createTime("attachStyles", t.v);
|
|
1381
|
-
const l = addStyle(n.shadowRoot ? n.shadowRoot : n.getRootNode(), t);
|
|
1382
|
-
if (s & 10 /* needsScopedEncapsulation */ && s & 2 /* scopedCssEncapsulation */) {
|
|
1383
|
-
n["s-sc"] = l;
|
|
1384
|
-
n.classList.add(l + "-h");
|
|
1385
|
-
}
|
|
1386
|
-
r();
|
|
1387
|
-
};
|
|
1388
|
-
|
|
1389
|
-
var getScopeId = (e, t) => "sc-" + e.v
|
|
1390
|
-
// src/runtime/update-component.ts
|
|
1391
|
-
;
|
|
1392
|
-
|
|
1393
|
-
var attachToAncestor = (e, t) => {
|
|
1394
|
-
if (t && !e.U && t["s-p"]) {
|
|
1395
|
-
t["s-p"].push(new Promise((t => e.U = t)));
|
|
1396
|
-
}
|
|
1397
|
-
};
|
|
1398
|
-
|
|
1399
|
-
var scheduleUpdate = (e, t) => {
|
|
1400
|
-
{
|
|
1401
|
-
e.t |= 16 /* isQueuedForUpdate */;
|
|
1402
|
-
}
|
|
1403
|
-
if (e.t & 4 /* isWaitingForChildren */) {
|
|
1404
|
-
e.t |= 512 /* needsRerender */;
|
|
1405
|
-
return;
|
|
1406
|
-
}
|
|
1407
|
-
attachToAncestor(e, e.W);
|
|
1408
|
-
const dispatch = () => dispatchHooks(e, t);
|
|
1409
|
-
return D(dispatch);
|
|
1410
|
-
};
|
|
1411
|
-
|
|
1412
|
-
var dispatchHooks = (e, t) => {
|
|
1413
|
-
const n = e.$hostElement$;
|
|
1414
|
-
const s = createTime("scheduleUpdate", e.l.v);
|
|
1415
|
-
const r = n;
|
|
1416
|
-
if (!r) {
|
|
1417
|
-
throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);
|
|
1418
|
-
}
|
|
1419
|
-
let l;
|
|
1420
|
-
if (t) {
|
|
1421
|
-
emitLifecycleEvent(n, "componentWillLoad");
|
|
1422
|
-
{
|
|
1423
|
-
l = safeCall(r, "componentWillLoad");
|
|
1424
|
-
}
|
|
1425
|
-
} else {
|
|
1426
|
-
emitLifecycleEvent(n, "componentWillUpdate");
|
|
1427
|
-
}
|
|
1428
|
-
emitLifecycleEvent(n, "componentWillRender");
|
|
1429
|
-
s();
|
|
1430
|
-
return enqueue(l, (() => updateComponent(e, r, t)));
|
|
1431
|
-
};
|
|
1432
|
-
|
|
1433
|
-
var enqueue = (e, t) => isPromisey(e) ? e.then(t).catch((e => {
|
|
1434
|
-
console.error(e);
|
|
1435
|
-
t();
|
|
1436
|
-
})) : t();
|
|
1437
|
-
|
|
1438
|
-
var isPromisey = e => e instanceof Promise || e && e.then && typeof e.then === "function";
|
|
1439
|
-
|
|
1440
|
-
var updateComponent = async (e, t, n) => {
|
|
1441
|
-
var s;
|
|
1442
|
-
const r = e.$hostElement$;
|
|
1443
|
-
const l = createTime("update", e.l.v);
|
|
1444
|
-
const o = r["s-rc"];
|
|
1445
|
-
if (n) {
|
|
1446
|
-
attachStyles(e);
|
|
1447
|
-
}
|
|
1448
|
-
const i = createTime("render", e.l.v);
|
|
1449
|
-
{
|
|
1450
|
-
callRender(e, t, r, n);
|
|
1451
|
-
}
|
|
1452
|
-
if (o) {
|
|
1453
|
-
o.map((e => e()));
|
|
1454
|
-
r["s-rc"] = void 0;
|
|
1455
|
-
}
|
|
1456
|
-
i();
|
|
1457
|
-
l();
|
|
1458
|
-
{
|
|
1459
|
-
const t = (s = r["s-p"]) != null ? s : [];
|
|
1460
|
-
const postUpdate = () => postUpdateComponent(e);
|
|
1461
|
-
if (t.length === 0) {
|
|
1462
|
-
postUpdate();
|
|
1463
|
-
} else {
|
|
1464
|
-
Promise.all(t).then(postUpdate);
|
|
1465
|
-
e.t |= 4 /* isWaitingForChildren */;
|
|
1466
|
-
t.length = 0;
|
|
1467
|
-
}
|
|
1468
|
-
}
|
|
1469
|
-
};
|
|
1470
|
-
|
|
1471
|
-
var callRender = (e, t, n, s) => {
|
|
1472
|
-
try {
|
|
1473
|
-
t = t.render();
|
|
1474
|
-
{
|
|
1475
|
-
e.t &= ~16 /* isQueuedForUpdate */;
|
|
1476
|
-
}
|
|
1477
|
-
{
|
|
1478
|
-
e.t |= 2 /* hasRendered */;
|
|
1479
|
-
}
|
|
1480
|
-
{
|
|
1481
|
-
{
|
|
1482
|
-
{
|
|
1483
|
-
renderVdom(e, t, s);
|
|
1484
|
-
}
|
|
1485
|
-
}
|
|
1486
|
-
}
|
|
1487
|
-
} catch (t) {
|
|
1488
|
-
consoleError(t, e.$hostElement$);
|
|
1489
|
-
}
|
|
1490
|
-
return null;
|
|
1491
|
-
};
|
|
1492
|
-
|
|
1493
|
-
var postUpdateComponent = e => {
|
|
1494
|
-
const t = e.l.v;
|
|
1495
|
-
const n = e.$hostElement$;
|
|
1496
|
-
const s = createTime("postUpdate", t);
|
|
1497
|
-
const r = n;
|
|
1498
|
-
const l = e.W;
|
|
1499
|
-
emitLifecycleEvent(n, "componentDidRender");
|
|
1500
|
-
if (!(e.t & 64 /* hasLoadedComponent */)) {
|
|
1501
|
-
e.t |= 64 /* hasLoadedComponent */;
|
|
1502
|
-
{
|
|
1503
|
-
addHydratedFlag(n);
|
|
1504
|
-
}
|
|
1505
|
-
{
|
|
1506
|
-
safeCall(r, "componentDidLoad");
|
|
1507
|
-
}
|
|
1508
|
-
emitLifecycleEvent(n, "componentDidLoad");
|
|
1509
|
-
s();
|
|
1510
|
-
{
|
|
1511
|
-
e.u(n);
|
|
1512
|
-
if (!l) {
|
|
1513
|
-
appDidLoad();
|
|
1514
|
-
}
|
|
1515
|
-
}
|
|
1516
|
-
} else {
|
|
1517
|
-
emitLifecycleEvent(n, "componentDidUpdate");
|
|
1518
|
-
s();
|
|
1519
|
-
}
|
|
1520
|
-
{
|
|
1521
|
-
if (e.U) {
|
|
1522
|
-
e.U();
|
|
1523
|
-
e.U = void 0;
|
|
1524
|
-
}
|
|
1525
|
-
if (e.t & 512 /* needsRerender */) {
|
|
1526
|
-
nextTick((() => scheduleUpdate(e, false)));
|
|
1527
|
-
}
|
|
1528
|
-
e.t &= ~(4 /* isWaitingForChildren */ | 512 /* needsRerender */);
|
|
1529
|
-
}
|
|
1530
|
-
};
|
|
1531
|
-
|
|
1532
|
-
var appDidLoad = t => {
|
|
1533
|
-
{
|
|
1534
|
-
addHydratedFlag(b.documentElement);
|
|
1535
|
-
}
|
|
1536
|
-
nextTick((() => emitEvent(y, "appload", {
|
|
1537
|
-
detail: {
|
|
1538
|
-
namespace: e
|
|
1539
|
-
}
|
|
1540
|
-
})));
|
|
1541
|
-
};
|
|
1542
|
-
|
|
1543
|
-
var safeCall = (e, t, n) => {
|
|
1544
|
-
if (e && e[t]) {
|
|
1545
|
-
try {
|
|
1546
|
-
return e[t](n);
|
|
1547
|
-
} catch (e) {
|
|
1548
|
-
consoleError(e);
|
|
1549
|
-
}
|
|
1550
|
-
}
|
|
1551
|
-
return void 0;
|
|
1552
|
-
};
|
|
1553
|
-
|
|
1554
|
-
var emitLifecycleEvent = (t, n) => {
|
|
1555
|
-
{
|
|
1556
|
-
emitEvent(t, "stencil_" + n, {
|
|
1557
|
-
bubbles: true,
|
|
1558
|
-
composed: true,
|
|
1559
|
-
detail: {
|
|
1560
|
-
namespace: e
|
|
1561
|
-
}
|
|
1562
|
-
});
|
|
1563
|
-
}
|
|
1564
|
-
};
|
|
1565
|
-
|
|
1566
|
-
var addHydratedFlag = e => {
|
|
1567
|
-
var n;
|
|
1568
|
-
return e.classList.add((n = t.hydratedSelectorName) != null ? n : "hydrated");
|
|
1569
|
-
};
|
|
1570
|
-
|
|
1571
|
-
// src/runtime/set-value.ts
|
|
1572
|
-
var getValue = (e, t) => getHostRef(e).o.get(t);
|
|
1573
|
-
|
|
1574
|
-
var setValue = (e, t, n, s) => {
|
|
1575
|
-
const r = getHostRef(e);
|
|
1576
|
-
const l = e;
|
|
1577
|
-
const o = r.o.get(t);
|
|
1578
|
-
const i = r.t;
|
|
1579
|
-
const a = l;
|
|
1580
|
-
n = parsePropertyValue(n, s.I[t][0]);
|
|
1581
|
-
const f = Number.isNaN(o) && Number.isNaN(n);
|
|
1582
|
-
const c = n !== o && !f;
|
|
1583
|
-
if (c) {
|
|
1584
|
-
r.o.set(t, n);
|
|
1585
|
-
{
|
|
1586
|
-
if (s.P && i & 128 /* isWatchReady */) {
|
|
1587
|
-
const e = s.P[t];
|
|
1588
|
-
if (e) {
|
|
1589
|
-
e.map((e => {
|
|
1590
|
-
try {
|
|
1591
|
-
a[e](n, o, t);
|
|
1592
|
-
} catch (e) {
|
|
1593
|
-
consoleError(e, l);
|
|
1594
|
-
}
|
|
1595
|
-
}));
|
|
1596
|
-
}
|
|
1597
|
-
}
|
|
1598
|
-
if ((i & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
|
|
1599
|
-
scheduleUpdate(r, false);
|
|
1600
|
-
}
|
|
1601
|
-
}
|
|
1602
|
-
}
|
|
1603
|
-
};
|
|
1604
|
-
|
|
1605
|
-
// src/runtime/proxy-component.ts
|
|
1606
|
-
var proxyComponent = (e, t, n) => {
|
|
1607
|
-
var s, r;
|
|
1608
|
-
const l = e.prototype;
|
|
1609
|
-
if (t.t & 64 /* formAssociated */ && n & 1 /* isElementConstructor */) {
|
|
1610
|
-
$.forEach((e => {
|
|
1611
|
-
const t = l[e];
|
|
1612
|
-
Object.defineProperty(l, e, {
|
|
1613
|
-
value(...n) {
|
|
1614
|
-
const s = getHostRef(this);
|
|
1615
|
-
const r = this;
|
|
1616
|
-
if (!r) {
|
|
1617
|
-
s.i.then((t => {
|
|
1618
|
-
const s = t[e];
|
|
1619
|
-
typeof s === "function" && s.call(t, ...n);
|
|
1620
|
-
}));
|
|
1621
|
-
} else {
|
|
1622
|
-
const e = t;
|
|
1623
|
-
typeof e === "function" && e.call(r, ...n);
|
|
1624
|
-
}
|
|
1625
|
-
}
|
|
1626
|
-
});
|
|
1627
|
-
}));
|
|
1628
|
-
}
|
|
1629
|
-
if (t.I || (t.P || e.watchers)) {
|
|
1630
|
-
if (e.watchers && !t.P) {
|
|
1631
|
-
t.P = e.watchers;
|
|
1632
|
-
}
|
|
1633
|
-
const o = Object.entries((s = t.I) != null ? s : {});
|
|
1634
|
-
o.map((([e, [s]]) => {
|
|
1635
|
-
if (s & 31 /* Prop */ || s & 32 /* State */) {
|
|
1636
|
-
if ((s & 2048 /* Getter */) === 0) {
|
|
1637
|
-
Object.defineProperty(l, e, {
|
|
1638
|
-
get() {
|
|
1639
|
-
return getValue(this, e);
|
|
1640
|
-
},
|
|
1641
|
-
set(n) {
|
|
1642
|
-
setValue(this, e, n, t);
|
|
1643
|
-
},
|
|
1644
|
-
configurable: true,
|
|
1645
|
-
enumerable: true
|
|
1646
|
-
});
|
|
1647
|
-
} else if (n & 1 /* isElementConstructor */ && s & 2048 /* Getter */) {
|
|
1648
|
-
if (s & 4096 /* Setter */) {
|
|
1649
|
-
const n = Object.getOwnPropertyDescriptor(l, e).set;
|
|
1650
|
-
Object.defineProperty(l, e, {
|
|
1651
|
-
set(s) {
|
|
1652
|
-
const r = getHostRef(this);
|
|
1653
|
-
if (n) {
|
|
1654
|
-
const l = r.$hostElement$[e];
|
|
1655
|
-
if (!r.o.get(e) && l) {
|
|
1656
|
-
r.o.set(e, l);
|
|
1657
|
-
}
|
|
1658
|
-
n.apply(this, [ parsePropertyValue(s, t.I[e][0]) ]);
|
|
1659
|
-
setValue(this, e, r.$hostElement$[e], t);
|
|
1660
|
-
return;
|
|
1661
|
-
}
|
|
1662
|
-
if (!r) return;
|
|
1663
|
-
const setterSetVal = () => {
|
|
1664
|
-
const n = r._[e];
|
|
1665
|
-
if (!r.o.get(e) && n) {
|
|
1666
|
-
r.o.set(e, n);
|
|
1667
|
-
}
|
|
1668
|
-
r._[e] = parsePropertyValue(s, t.I[e][0]);
|
|
1669
|
-
setValue(this, e, r._[e], t);
|
|
1670
|
-
};
|
|
1671
|
-
if (r._) {
|
|
1672
|
-
setterSetVal();
|
|
1673
|
-
} else {
|
|
1674
|
-
r.i.then((() => setterSetVal()));
|
|
1675
|
-
}
|
|
1676
|
-
}
|
|
1677
|
-
});
|
|
1678
|
-
}
|
|
1679
|
-
}
|
|
1680
|
-
}
|
|
1681
|
-
}));
|
|
1682
|
-
{
|
|
1683
|
-
const n = new Map;
|
|
1684
|
-
l.attributeChangedCallback = function(e, s, r) {
|
|
1685
|
-
g.jmp((() => {
|
|
1686
|
-
var o;
|
|
1687
|
-
const i = n.get(e);
|
|
1688
|
-
if (this.hasOwnProperty(i)) {
|
|
1689
|
-
r = this[i];
|
|
1690
|
-
delete this[i];
|
|
1691
|
-
} else if (l.hasOwnProperty(i) && typeof this[i] === "number" && // cast type to number to avoid TS compiler issues
|
|
1692
|
-
this[i] == r) {
|
|
1693
|
-
return;
|
|
1694
|
-
} else if (i == null) {
|
|
1695
|
-
const n = getHostRef(this);
|
|
1696
|
-
const l = n == null ? void 0 : n.t;
|
|
1697
|
-
if (l && !(l & 8 /* isConstructingInstance */) && l & 128 /* isWatchReady */ && r !== s) {
|
|
1698
|
-
const n = this;
|
|
1699
|
-
const l = n;
|
|
1700
|
-
const i = (o = t.P) == null ? void 0 : o[e];
|
|
1701
|
-
i == null ? void 0 : i.forEach((t => {
|
|
1702
|
-
if (l[t] != null) {
|
|
1703
|
-
l[t].call(l, r, s, e);
|
|
1704
|
-
}
|
|
1705
|
-
}));
|
|
1706
|
-
}
|
|
1707
|
-
return;
|
|
1708
|
-
}
|
|
1709
|
-
const a = Object.getOwnPropertyDescriptor(l, i);
|
|
1710
|
-
if (!a.get || !!a.set) {
|
|
1711
|
-
this[i] = r === null && typeof this[i] === "boolean" ? false : r;
|
|
1712
|
-
}
|
|
1713
|
-
}));
|
|
1714
|
-
};
|
|
1715
|
-
e.observedAttributes = Array.from(
|
|
1716
|
-
new Set([ ...Object.keys((r = t.P) != null ? r : {}), ...o.filter((([e, t]) => t[0] & 15 /* HasAttribute */)).map((([e, s]) => {
|
|
1717
|
-
var r;
|
|
1718
|
-
const l = s[1] || e;
|
|
1719
|
-
n.set(l, e);
|
|
1720
|
-
if (s[0] & 512 /* ReflectAttr */) {
|
|
1721
|
-
(r = t.A) == null ? void 0 : r.push([ e, l ]);
|
|
1722
|
-
}
|
|
1723
|
-
return l;
|
|
1724
|
-
})) ]));
|
|
1725
|
-
}
|
|
1726
|
-
}
|
|
1727
|
-
return e;
|
|
1728
|
-
};
|
|
1729
|
-
|
|
1730
|
-
// src/runtime/initialize-component.ts
|
|
1731
|
-
var initializeComponent = async (e, t, n, s) => {
|
|
1732
|
-
let r;
|
|
1733
|
-
if ((t.t & 32 /* hasInitializedComponent */) === 0) {
|
|
1734
|
-
t.t |= 32 /* hasInitializedComponent */;
|
|
1735
|
-
const s = n.h;
|
|
1736
|
-
if (s) {
|
|
1737
|
-
const e = loadModule(n);
|
|
1738
|
-
if (e && "then" in e) {
|
|
1739
|
-
const t = uniqueTime();
|
|
1740
|
-
r = await e;
|
|
1741
|
-
t();
|
|
1742
|
-
} else {
|
|
1743
|
-
r = e;
|
|
1744
|
-
}
|
|
1745
|
-
if (!r) {
|
|
1746
|
-
throw new Error(`Constructor for "${n.v}#${t.H}" was not found`);
|
|
1747
|
-
}
|
|
1748
|
-
if (!r.isProxied) {
|
|
1749
|
-
{
|
|
1750
|
-
n.P = r.watchers;
|
|
1751
|
-
}
|
|
1752
|
-
proxyComponent(r, n, 2 /* proxyState */);
|
|
1753
|
-
r.isProxied = true;
|
|
1754
|
-
}
|
|
1755
|
-
const s = createTime("createInstance", n.v);
|
|
1756
|
-
{
|
|
1757
|
-
t.t |= 8 /* isConstructingInstance */;
|
|
1758
|
-
}
|
|
1759
|
-
try {
|
|
1760
|
-
new r(t);
|
|
1761
|
-
} catch (e) {
|
|
1762
|
-
consoleError(e);
|
|
1763
|
-
}
|
|
1764
|
-
{
|
|
1765
|
-
t.t &= ~8 /* isConstructingInstance */;
|
|
1766
|
-
}
|
|
1767
|
-
{
|
|
1768
|
-
t.t |= 128 /* isWatchReady */;
|
|
1769
|
-
}
|
|
1770
|
-
s();
|
|
1771
|
-
} else {
|
|
1772
|
-
r = e.constructor;
|
|
1773
|
-
const n = e.localName;
|
|
1774
|
-
customElements.whenDefined(n).then((() => t.t |= 128 /* isWatchReady */));
|
|
1775
|
-
}
|
|
1776
|
-
if (r && r.style) {
|
|
1777
|
-
let e;
|
|
1778
|
-
if (typeof r.style === "string") {
|
|
1779
|
-
e = r.style;
|
|
1780
|
-
}
|
|
1781
|
-
const t = getScopeId(n);
|
|
1782
|
-
if (!l.has(t)) {
|
|
1783
|
-
const s = createTime("registerStyles", n.v);
|
|
1784
|
-
registerStyle(t, e, !!(n.t & 1 /* shadowDomEncapsulation */));
|
|
1785
|
-
s();
|
|
1786
|
-
}
|
|
1787
|
-
}
|
|
1788
|
-
}
|
|
1789
|
-
const o = t.W;
|
|
1790
|
-
const schedule = () => scheduleUpdate(t, true);
|
|
1791
|
-
if (o && o["s-rc"]) {
|
|
1792
|
-
o["s-rc"].push(schedule);
|
|
1793
|
-
} else {
|
|
1794
|
-
schedule();
|
|
1795
|
-
}
|
|
1796
|
-
};
|
|
1797
|
-
|
|
1798
|
-
var fireConnectedCallback = e => {};
|
|
1799
|
-
|
|
1800
|
-
// src/runtime/connected-callback.ts
|
|
1801
|
-
var connectedCallback = e => {
|
|
1802
|
-
if ((g.t & 1 /* isTmpDisconnected */) === 0) {
|
|
1803
|
-
const t = getHostRef(e);
|
|
1804
|
-
const n = t.l;
|
|
1805
|
-
const s = createTime("connectedCallback", n.v);
|
|
1806
|
-
if (!(t.t & 1 /* hasConnected */)) {
|
|
1807
|
-
t.t |= 1 /* hasConnected */;
|
|
1808
|
-
let s;
|
|
1809
|
-
{
|
|
1810
|
-
s = e.getAttribute(u);
|
|
1811
|
-
if (s) {
|
|
1812
|
-
if (n.t & 1 /* shadowDomEncapsulation */) {
|
|
1813
|
-
const t = addStyle(e.shadowRoot, n);
|
|
1814
|
-
e.classList.remove(t + "-h", t + "-s");
|
|
1815
|
-
}
|
|
1816
|
-
initializeClientHydrate(e, n.v, s, t);
|
|
1817
|
-
}
|
|
1818
|
-
}
|
|
1819
|
-
{
|
|
1820
|
-
let n = e;
|
|
1821
|
-
while (n = n.parentNode || n.host) {
|
|
1822
|
-
if (n.nodeType === 1 /* ElementNode */ && n.hasAttribute("s-id") && n["s-p"] || n["s-p"]) {
|
|
1823
|
-
attachToAncestor(t, t.W = n);
|
|
1824
|
-
break;
|
|
1825
|
-
}
|
|
1826
|
-
}
|
|
1827
|
-
}
|
|
1828
|
-
if (n.I) {
|
|
1829
|
-
Object.entries(n.I).map((([t, [n]]) => {
|
|
1830
|
-
if (n & 31 /* Prop */ && e.hasOwnProperty(t)) {
|
|
1831
|
-
const n = e[t];
|
|
1832
|
-
delete e[t];
|
|
1833
|
-
e[t] = n;
|
|
1834
|
-
}
|
|
1835
|
-
}));
|
|
1836
|
-
}
|
|
1837
|
-
{
|
|
1838
|
-
initializeComponent(e, t, n);
|
|
1839
|
-
}
|
|
1840
|
-
} else {
|
|
1841
|
-
addHostEventListeners(e, t, n.q);
|
|
1842
|
-
if (t == null ? void 0 : t._) ; else if (t == null ? void 0 : t.i) {
|
|
1843
|
-
t.i.then((() => fireConnectedCallback()));
|
|
1844
|
-
}
|
|
1845
|
-
}
|
|
1846
|
-
s();
|
|
1847
|
-
}
|
|
1848
|
-
};
|
|
1849
|
-
|
|
1850
|
-
var disconnectedCallback = async e => {
|
|
1851
|
-
if ((g.t & 1 /* isTmpDisconnected */) === 0) {
|
|
1852
|
-
const t = getHostRef(e);
|
|
1853
|
-
{
|
|
1854
|
-
if (t.B) {
|
|
1855
|
-
t.B.map((e => e()));
|
|
1856
|
-
t.B = void 0;
|
|
1857
|
-
}
|
|
1858
|
-
}
|
|
1859
|
-
}
|
|
1860
|
-
};
|
|
1861
|
-
|
|
1862
|
-
var proxyCustomElement = (e, t) => {
|
|
1863
|
-
const n = {
|
|
1864
|
-
t: t[0],
|
|
1865
|
-
v: t[1]
|
|
1866
|
-
};
|
|
1867
|
-
{
|
|
1868
|
-
n.I = t[2];
|
|
1869
|
-
}
|
|
1870
|
-
{
|
|
1871
|
-
n.q = t[3];
|
|
1872
|
-
}
|
|
1873
|
-
{
|
|
1874
|
-
n.P = e.P;
|
|
1875
|
-
}
|
|
1876
|
-
{
|
|
1877
|
-
n.A = [];
|
|
1878
|
-
}
|
|
1879
|
-
{
|
|
1880
|
-
{
|
|
1881
|
-
patchCloneNode(e.prototype);
|
|
1882
|
-
}
|
|
1883
|
-
{
|
|
1884
|
-
patchSlotAppendChild(e.prototype);
|
|
1885
|
-
}
|
|
1886
|
-
}
|
|
1887
|
-
const s = e.prototype.connectedCallback;
|
|
1888
|
-
const r = e.prototype.disconnectedCallback;
|
|
1889
|
-
Object.assign(e.prototype, {
|
|
1890
|
-
__hasHostListenerAttached: false,
|
|
1891
|
-
__registerHost() {
|
|
1892
|
-
registerHost(this, n);
|
|
1893
|
-
},
|
|
1894
|
-
connectedCallback() {
|
|
1895
|
-
if (!this.__hasHostListenerAttached) {
|
|
1896
|
-
const e = getHostRef(this);
|
|
1897
|
-
addHostEventListeners(this, e, n.q);
|
|
1898
|
-
this.__hasHostListenerAttached = true;
|
|
1899
|
-
}
|
|
1900
|
-
connectedCallback(this);
|
|
1901
|
-
if (s) {
|
|
1902
|
-
s.call(this);
|
|
1903
|
-
}
|
|
1904
|
-
},
|
|
1905
|
-
disconnectedCallback() {
|
|
1906
|
-
disconnectedCallback(this);
|
|
1907
|
-
if (r) {
|
|
1908
|
-
r.call(this);
|
|
1909
|
-
}
|
|
1910
|
-
},
|
|
1911
|
-
__attachShadow() {
|
|
1912
|
-
{
|
|
1913
|
-
if (!this.shadowRoot) {
|
|
1914
|
-
{
|
|
1915
|
-
this.attachShadow({
|
|
1916
|
-
mode: "open"
|
|
1917
|
-
});
|
|
1918
|
-
}
|
|
1919
|
-
} else {
|
|
1920
|
-
if (this.shadowRoot.mode !== "open") {
|
|
1921
|
-
throw new Error(`Unable to re-use existing shadow root for ${n.v}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`);
|
|
1922
|
-
}
|
|
1923
|
-
}
|
|
1924
|
-
}
|
|
1925
|
-
}
|
|
1926
|
-
});
|
|
1927
|
-
e.is = n.v;
|
|
1928
|
-
return proxyComponent(e, n, 1 /* isElementConstructor */ | 2 /* proxyState */);
|
|
1929
|
-
};
|
|
1930
|
-
|
|
1931
|
-
var addHostEventListeners = (e, t, n, s) => {
|
|
1932
|
-
if (n) {
|
|
1933
|
-
n.map((([n, s, r]) => {
|
|
1934
|
-
const l = getHostListenerTarget(e, n);
|
|
1935
|
-
const o = hostListenerProxy(t, r);
|
|
1936
|
-
const i = hostListenerOpts(n);
|
|
1937
|
-
g.ael(l, s, o, i);
|
|
1938
|
-
(t.B = t.B || []).push((() => g.rel(l, s, o, i)));
|
|
1939
|
-
}));
|
|
1940
|
-
}
|
|
1941
|
-
};
|
|
1942
|
-
|
|
1943
|
-
var hostListenerProxy = (e, t) => n => {
|
|
1944
|
-
try {
|
|
1945
|
-
{
|
|
1946
|
-
e.$hostElement$[t](n);
|
|
1947
|
-
}
|
|
1948
|
-
} catch (e) {
|
|
1949
|
-
consoleError(e);
|
|
1950
|
-
}
|
|
1951
|
-
};
|
|
1952
|
-
|
|
1953
|
-
var getHostListenerTarget = (e, t) => {
|
|
1954
|
-
if (t & 4 /* TargetDocument */) return b;
|
|
1955
|
-
if (t & 8 /* TargetWindow */) return y;
|
|
1956
|
-
return e;
|
|
1957
|
-
};
|
|
1958
|
-
|
|
1959
|
-
var hostListenerOpts = e => k ? {
|
|
1960
|
-
passive: (e & 1 /* Passive */) !== 0,
|
|
1961
|
-
capture: (e & 2 /* Capture */) !== 0
|
|
1962
|
-
} : (e & 2 /* Capture */) !== 0
|
|
1963
|
-
// src/runtime/nonce.ts
|
|
1964
|
-
;
|
|
1965
|
-
|
|
1966
|
-
var setNonce = e => g.T = e
|
|
1967
|
-
// src/runtime/platform-options.ts
|
|
1968
|
-
;
|
|
1969
|
-
|
|
1970
|
-
var setPlatformOptions = e => Object.assign(g, e);
|
|
1971
|
-
|
|
1972
|
-
export { w as H, setNonce as a, setPlatformOptions as b, M as c, createEvent as d, getAssetPath as g, h, proxyCustomElement as p, setAssetPath as s };
|
|
1973
|
-
//# sourceMappingURL=p-596c9250.js.map
|