@siemens/ix 1.5.0-beta.3 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{index-478a4b66.js → index-931d1fb5.js} +82 -34
- package/dist/cjs/index-931d1fb5.js.map +1 -0
- package/dist/cjs/ix-animated-tab_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-application-header.cjs.entry.js +1 -1
- package/dist/cjs/ix-basic-navigation.cjs.entry.js +1 -1
- package/dist/cjs/ix-blind.cjs.entry.js +1 -1
- package/dist/cjs/ix-breadcrumb_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-burger-menu.cjs.entry.js +1 -1
- package/dist/cjs/ix-button.cjs.entry.js +1 -1
- package/dist/cjs/ix-category-filter.cjs.entry.js +1 -1
- package/dist/cjs/ix-chip.cjs.entry.js +1 -1
- package/dist/cjs/ix-counter-pill.cjs.entry.js +1 -1
- package/dist/cjs/ix-date-picker_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-date-time-card.cjs.entry.js +1 -1
- package/dist/cjs/ix-datetime-picker.cjs.entry.js +1 -1
- package/dist/cjs/ix-divider.cjs.entry.js +1 -1
- package/dist/cjs/ix-drawer.cjs.entry.js +1 -1
- package/dist/cjs/ix-dropdown-button.cjs.entry.js +1 -1
- package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +1 -1
- package/dist/cjs/ix-dropdown_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-event-list_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-expanding-search.cjs.entry.js +1 -1
- package/dist/cjs/ix-filter-chip.cjs.entry.js +1 -1
- package/dist/cjs/ix-flip-tile_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-group-context-menu.cjs.entry.js +1 -1
- package/dist/cjs/ix-group_3.cjs.entry.js +1 -1
- package/dist/cjs/ix-icon-button.cjs.entry.js +1 -1
- package/dist/cjs/ix-icon.cjs.entry.js +1 -1
- package/dist/cjs/ix-index-button.cjs.entry.js +1 -1
- package/dist/cjs/ix-input-group.cjs.entry.js +1 -1
- package/dist/cjs/ix-kpi.cjs.entry.js +1 -1
- package/dist/cjs/ix-map-navigation_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu_9.cjs.entry.js +1 -1
- package/dist/cjs/ix-message-bar.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal-example.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-pagination.cjs.entry.js +1 -1
- package/dist/cjs/ix-pill.cjs.entry.js +1 -1
- package/dist/cjs/ix-select_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ix-split-button_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-tab-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-tabs.cjs.entry.js +1 -1
- package/dist/cjs/ix-tile.cjs.entry.js +1 -1
- package/dist/cjs/ix-toast_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-toggle.cjs.entry.js +1 -1
- package/dist/cjs/ix-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/ix-tree_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-typography.cjs.entry.js +1 -1
- package/dist/cjs/ix-upload.cjs.entry.js +1 -1
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/ix-workflow-step_2.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/my-component.cjs.entry.js +1 -1
- package/dist/cjs/siemens-ix.cjs.js +2 -2
- package/dist/cjs/siemens-ix.cjs.js.map +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/esm/{index-3d163acd.js → index-57424926.js} +82 -34
- package/dist/esm/index-57424926.js.map +1 -0
- package/dist/esm/ix-animated-tab_2.entry.js +1 -1
- package/dist/esm/ix-application-header.entry.js +1 -1
- package/dist/esm/ix-basic-navigation.entry.js +1 -1
- package/dist/esm/ix-blind.entry.js +1 -1
- package/dist/esm/ix-breadcrumb_2.entry.js +1 -1
- package/dist/esm/ix-burger-menu.entry.js +1 -1
- package/dist/esm/ix-button.entry.js +1 -1
- package/dist/esm/ix-category-filter.entry.js +1 -1
- package/dist/esm/ix-chip.entry.js +1 -1
- package/dist/esm/ix-counter-pill.entry.js +1 -1
- package/dist/esm/ix-date-picker_2.entry.js +1 -1
- package/dist/esm/ix-date-time-card.entry.js +1 -1
- package/dist/esm/ix-datetime-picker.entry.js +1 -1
- package/dist/esm/ix-divider.entry.js +1 -1
- package/dist/esm/ix-drawer.entry.js +1 -1
- package/dist/esm/ix-dropdown-button.entry.js +1 -1
- package/dist/esm/ix-dropdown-quick-actions.entry.js +1 -1
- package/dist/esm/ix-dropdown_2.entry.js +1 -1
- package/dist/esm/ix-event-list_2.entry.js +1 -1
- package/dist/esm/ix-expanding-search.entry.js +1 -1
- package/dist/esm/ix-filter-chip.entry.js +1 -1
- package/dist/esm/ix-flip-tile_2.entry.js +1 -1
- package/dist/esm/ix-group-context-menu.entry.js +1 -1
- package/dist/esm/ix-group_3.entry.js +1 -1
- package/dist/esm/ix-icon-button.entry.js +1 -1
- package/dist/esm/ix-icon.entry.js +1 -1
- package/dist/esm/ix-index-button.entry.js +1 -1
- package/dist/esm/ix-input-group.entry.js +1 -1
- package/dist/esm/ix-kpi.entry.js +1 -1
- package/dist/esm/ix-map-navigation_2.entry.js +1 -1
- package/dist/esm/ix-menu_9.entry.js +1 -1
- package/dist/esm/ix-message-bar.entry.js +1 -1
- package/dist/esm/ix-modal-example.entry.js +1 -1
- package/dist/esm/ix-modal_2.entry.js +1 -1
- package/dist/esm/ix-pagination.entry.js +1 -1
- package/dist/esm/ix-pill.entry.js +1 -1
- package/dist/esm/ix-select_2.entry.js +1 -1
- package/dist/esm/ix-spinner.entry.js +1 -1
- package/dist/esm/ix-split-button_2.entry.js +1 -1
- package/dist/esm/ix-tab-item.entry.js +1 -1
- package/dist/esm/ix-tabs.entry.js +1 -1
- package/dist/esm/ix-tile.entry.js +1 -1
- package/dist/esm/ix-toast_2.entry.js +1 -1
- package/dist/esm/ix-toggle.entry.js +1 -1
- package/dist/esm/ix-tooltip.entry.js +1 -1
- package/dist/esm/ix-tree_2.entry.js +1 -1
- package/dist/esm/ix-typography.entry.js +1 -1
- package/dist/esm/ix-upload.entry.js +1 -1
- package/dist/esm/ix-validation-tooltip.entry.js +1 -1
- package/dist/esm/ix-workflow-step_2.entry.js +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/siemens-ix.js +3 -3
- package/dist/esm/siemens-ix.js.map +1 -1
- package/dist/siemens-ix/{p-7fb5fa79.entry.js → p-091accfc.entry.js} +2 -2
- package/dist/siemens-ix/{p-63666529.entry.js → p-0dd51d53.entry.js} +2 -2
- package/dist/siemens-ix/{p-c9c9f2b5.entry.js → p-0fcfac90.entry.js} +2 -2
- package/dist/siemens-ix/{p-0f864265.entry.js → p-15335e01.entry.js} +2 -2
- package/dist/siemens-ix/{p-5d7e1440.entry.js → p-189cdc59.entry.js} +2 -2
- package/dist/siemens-ix/{p-c19c2492.entry.js → p-1c1dd6d6.entry.js} +2 -2
- package/dist/siemens-ix/{p-dbcf33de.entry.js → p-2149ce72.entry.js} +2 -2
- package/dist/siemens-ix/p-2206924a.entry.js +2 -0
- package/dist/siemens-ix/{p-1666b0e2.entry.js.map → p-2206924a.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-a30c7b5a.entry.js → p-272b771c.entry.js} +2 -2
- package/dist/siemens-ix/{p-3776a37f.entry.js → p-2850e6b1.entry.js} +2 -2
- package/dist/siemens-ix/{p-d7cf7a1a.entry.js → p-2e2fca5f.entry.js} +2 -2
- package/dist/siemens-ix/{p-2ea2fc07.entry.js → p-2ecb0ffd.entry.js} +2 -2
- package/dist/siemens-ix/{p-9546cbdd.entry.js → p-3b4c5e4b.entry.js} +2 -2
- package/dist/siemens-ix/{p-eb799bdd.entry.js → p-46e468af.entry.js} +2 -2
- package/dist/siemens-ix/p-57a5d3d0.js +3 -0
- package/dist/siemens-ix/p-57a5d3d0.js.map +1 -0
- package/dist/siemens-ix/{p-65b6330a.entry.js → p-63663ccd.entry.js} +2 -2
- package/dist/siemens-ix/{p-b998abe4.entry.js → p-65d38367.entry.js} +2 -2
- package/dist/siemens-ix/{p-f6509805.entry.js → p-69c4d72b.entry.js} +2 -2
- package/dist/siemens-ix/{p-6bdfaf91.entry.js → p-729c8d31.entry.js} +2 -2
- package/dist/siemens-ix/{p-63e1264b.entry.js → p-75045a73.entry.js} +2 -2
- package/dist/siemens-ix/{p-62b4d696.entry.js → p-77c1e1e7.entry.js} +2 -2
- package/dist/siemens-ix/{p-a4a16daa.entry.js → p-7cdbc92b.entry.js} +2 -2
- package/dist/siemens-ix/{p-042b490c.entry.js → p-7ed22ba1.entry.js} +2 -2
- package/dist/siemens-ix/{p-16ec6f50.entry.js → p-7f7657ec.entry.js} +2 -2
- package/dist/siemens-ix/{p-1a87eb66.entry.js → p-89b7ae4c.entry.js} +2 -2
- package/dist/siemens-ix/{p-283686d7.entry.js → p-8cf56736.entry.js} +2 -2
- package/dist/siemens-ix/{p-0e8a6997.entry.js → p-908afbed.entry.js} +2 -2
- package/dist/siemens-ix/{p-b9fbd029.entry.js → p-925b7d63.entry.js} +2 -2
- package/dist/siemens-ix/{p-eb301ea2.entry.js → p-93d6bfe1.entry.js} +2 -2
- package/dist/siemens-ix/{p-55d0fabf.entry.js → p-9a4a825a.entry.js} +2 -2
- package/dist/siemens-ix/{p-caae2fa5.entry.js → p-9c2ae88d.entry.js} +2 -2
- package/dist/siemens-ix/{p-fef2f9e0.entry.js → p-9da2881b.entry.js} +2 -2
- package/dist/siemens-ix/{p-78f2b858.entry.js → p-a36c0c05.entry.js} +2 -2
- package/dist/siemens-ix/{p-34e3a10e.entry.js → p-a6e443df.entry.js} +2 -2
- package/dist/siemens-ix/{p-4ec66090.entry.js → p-ae29d220.entry.js} +2 -2
- package/dist/siemens-ix/{p-53c69375.entry.js → p-af533e73.entry.js} +2 -2
- package/dist/siemens-ix/{p-d7a3acce.entry.js → p-b46713aa.entry.js} +2 -2
- package/dist/siemens-ix/{p-43965bd0.entry.js → p-b54c8bba.entry.js} +2 -2
- package/dist/siemens-ix/{p-aa4141e4.entry.js → p-bbda3133.entry.js} +2 -2
- package/dist/siemens-ix/{p-2dafa048.entry.js → p-bdaae206.entry.js} +2 -2
- package/dist/siemens-ix/{p-13adcf62.entry.js → p-c11ebe2f.entry.js} +2 -2
- package/dist/siemens-ix/{p-07fd8298.entry.js → p-c29d31ea.entry.js} +2 -2
- package/dist/siemens-ix/{p-7d4a7388.entry.js → p-c4b1210b.entry.js} +2 -2
- package/dist/siemens-ix/{p-f6c54047.entry.js → p-d57afc21.entry.js} +2 -2
- package/dist/siemens-ix/{p-909ccf09.entry.js → p-d985e147.entry.js} +2 -2
- package/dist/siemens-ix/{p-33160fe4.entry.js → p-dae58ef8.entry.js} +2 -2
- package/dist/siemens-ix/{p-4c8d5207.entry.js → p-de1e7c64.entry.js} +2 -2
- package/dist/siemens-ix/{p-20bed29f.entry.js → p-e4f9db28.entry.js} +2 -2
- package/dist/siemens-ix/{p-afd1f351.entry.js → p-f20dc192.entry.js} +2 -2
- package/dist/siemens-ix/{p-626b3af5.entry.js → p-f2355beb.entry.js} +2 -2
- package/dist/siemens-ix/{p-88a47c9b.entry.js → p-f72d10e6.entry.js} +2 -2
- package/dist/siemens-ix/{p-663724a8.entry.js → p-f7f07386.entry.js} +2 -2
- package/dist/siemens-ix/siemens-ix.esm.js +1 -1
- package/dist/siemens-ix/siemens-ix.esm.js.map +1 -1
- package/dist/types/stencil-public-runtime.d.ts +1 -0
- package/package.json +1 -1
- package/dist/cjs/index-478a4b66.js.map +0 -1
- package/dist/esm/index-3d163acd.js.map +0 -1
- package/dist/siemens-ix/p-1666b0e2.entry.js +0 -2
- package/dist/siemens-ix/p-8fcd6f85.js +0 -3
- package/dist/siemens-ix/p-8fcd6f85.js.map +0 -1
- /package/dist/siemens-ix/{p-7fb5fa79.entry.js.map → p-091accfc.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-63666529.entry.js.map → p-0dd51d53.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c9c9f2b5.entry.js.map → p-0fcfac90.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0f864265.entry.js.map → p-15335e01.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-5d7e1440.entry.js.map → p-189cdc59.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c19c2492.entry.js.map → p-1c1dd6d6.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-dbcf33de.entry.js.map → p-2149ce72.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a30c7b5a.entry.js.map → p-272b771c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-3776a37f.entry.js.map → p-2850e6b1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d7cf7a1a.entry.js.map → p-2e2fca5f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-2ea2fc07.entry.js.map → p-2ecb0ffd.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9546cbdd.entry.js.map → p-3b4c5e4b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-eb799bdd.entry.js.map → p-46e468af.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-65b6330a.entry.js.map → p-63663ccd.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b998abe4.entry.js.map → p-65d38367.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f6509805.entry.js.map → p-69c4d72b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-6bdfaf91.entry.js.map → p-729c8d31.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-63e1264b.entry.js.map → p-75045a73.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-62b4d696.entry.js.map → p-77c1e1e7.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a4a16daa.entry.js.map → p-7cdbc92b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-042b490c.entry.js.map → p-7ed22ba1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-16ec6f50.entry.js.map → p-7f7657ec.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1a87eb66.entry.js.map → p-89b7ae4c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-283686d7.entry.js.map → p-8cf56736.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0e8a6997.entry.js.map → p-908afbed.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b9fbd029.entry.js.map → p-925b7d63.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-eb301ea2.entry.js.map → p-93d6bfe1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-55d0fabf.entry.js.map → p-9a4a825a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-caae2fa5.entry.js.map → p-9c2ae88d.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-fef2f9e0.entry.js.map → p-9da2881b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-78f2b858.entry.js.map → p-a36c0c05.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-34e3a10e.entry.js.map → p-a6e443df.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-4ec66090.entry.js.map → p-ae29d220.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-53c69375.entry.js.map → p-af533e73.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d7a3acce.entry.js.map → p-b46713aa.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-43965bd0.entry.js.map → p-b54c8bba.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-aa4141e4.entry.js.map → p-bbda3133.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-2dafa048.entry.js.map → p-bdaae206.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-13adcf62.entry.js.map → p-c11ebe2f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-07fd8298.entry.js.map → p-c29d31ea.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-7d4a7388.entry.js.map → p-c4b1210b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f6c54047.entry.js.map → p-d57afc21.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-909ccf09.entry.js.map → p-d985e147.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-33160fe4.entry.js.map → p-dae58ef8.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-4c8d5207.entry.js.map → p-de1e7c64.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-20bed29f.entry.js.map → p-e4f9db28.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-afd1f351.entry.js.map → p-f20dc192.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-626b3af5.entry.js.map → p-f2355beb.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-88a47c9b.entry.js.map → p-f72d10e6.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-663724a8.entry.js.map → p-f7f07386.entry.js.map} +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-931d1fb5.js');
|
|
6
6
|
const uploadFileState = require('./upload-file-state-a79acf2b.js');
|
|
7
7
|
|
|
8
8
|
const uploadCss = ".sc-ix-upload-h{display:block;min-height:4rem;height:4rem}.sc-ix-upload-h .file-upload-area.sc-ix-upload{display:flex;flex-direction:row;align-items:center;justify-content:space-between;overflow:hidden;height:100%;width:100%;padding:1rem;border:1px dashed var(--theme-upload--border-color);border-radius:var(--theme-upload--border-radius);color:var(--theme-upload-text--color)}.sc-ix-upload-h .file-upload-area.multiline.sc-ix-upload{max-height:unset;height:auto}.sc-ix-upload-h .file-upload-area.multiline.sc-ix-upload .glyph.sc-ix-upload{align-self:flex-start;-webkit-margin-before:3px;margin-block-start:3px}.sc-ix-upload-h .file-upload-area.multiline.sc-ix-upload>div.sc-ix-upload{align-self:flex-start}.sc-ix-upload-h .file-upload-area.sc-ix-upload:not(.multiline) .state.sc-ix-upload,.sc-ix-upload-h .file-upload-area.sc-ix-upload:not(.multiline) .upload-text.sc-ix-upload{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sc-ix-upload-h .file-upload-area.file-over.sc-ix-upload{border-color:var(--theme-upload--border-color--dragover);border-style:solid}.sc-ix-upload-h .file-upload-area.checking.sc-ix-upload{color:var(--theme-upload-text--color--checking);border-style:solid}.sc-ix-upload-h .file-upload-area.disabled.sc-ix-upload{border-style:solid;color:var(--theme-upload-text--color--disabled)}.sc-ix-upload-h .file-upload-area.sc-ix-upload ix-button.sc-ix-upload{-webkit-margin-start:1rem;margin-inline-start:1rem}.sc-ix-upload-h .file-upload-area.sc-ix-upload .upload-browser.sc-ix-upload{opacity:0;overflow:hidden;position:absolute;z-index:-1}.sc-ix-upload-h .file-upload-area.sc-ix-upload .loader.sc-ix-upload{margin:2.187rem auto;font-size:0.937rem;width:1rem;height:1rem;border-radius:50%;position:relative;text-indent:-9999em;animation:optimise-loading 1.1s infinite ease;transform:translateZ(0)}.sc-ix-upload-h .file-upload-area.sc-ix-upload .upload-filename.sc-ix-upload{margin-bottom:1rem}.sc-ix-upload-h .file-upload-area.sc-ix-upload .state.sc-ix-upload{display:flex;align-items:center}.sc-ix-upload-h .file-upload-area.sc-ix-upload .state.sc-ix-upload>ix-spinner.sc-ix-upload{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem;height:1.5rem;width:1.5rem}.sc-ix-upload-h .file-upload-area.sc-ix-upload .state.sc-ix-upload>i.sc-ix-upload{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}.sc-ix-upload-h .file-upload-area.sc-ix-upload .state.sc-ix-upload>i.glyph-error.sc-ix-upload{color:var(--theme-color-alarm)}.sc-ix-upload-h .file-upload-area.sc-ix-upload .state.sc-ix-upload>i.glyph-success.sc-ix-upload{color:var(--theme-color-success)}";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-931d1fb5.js');
|
|
6
6
|
const floatingUi_dom_esm = require('./floating-ui.dom.esm-01fe5abe.js');
|
|
7
7
|
|
|
8
8
|
function getAlignment(placement) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-931d1fb5.js');
|
|
6
6
|
const mutationObserver = require('./mutation-observer-eaaa5399.js');
|
|
7
7
|
|
|
8
8
|
const workflowStepCss = ".sc-ix-workflow-step-h .step.sc-ix-workflow-step{display:flex;flex-direction:column;align-items:center;background-color:var(--theme-workflow-step--background);border-radius:var(--theme-workflow--border-radius);width:auto;padding:1.125rem 0 0.5rem 0;height:4rem;width:12.75rem}.sc-ix-workflow-step-h .step.sc-ix-workflow-step .wrapper.sc-ix-workflow-step{display:flex;width:100%;align-items:center;justify-content:center;position:relative}.sc-ix-workflow-step-h .step.sc-ix-workflow-step .wrapper.sc-ix-workflow-step .line.sc-ix-workflow-step{width:100%;height:0.125rem;background-color:var(--theme-workflow-step-icon-default--color)}.sc-ix-workflow-step-h .step.sc-ix-workflow-step .wrapper.sc-ix-workflow-step .line.first.sc-ix-workflow-step,.sc-ix-workflow-step-h .step.sc-ix-workflow-step .wrapper.sc-ix-workflow-step .line.last.sc-ix-workflow-step{width:50%;margin:0 0 0 auto}.sc-ix-workflow-step-h .step.sc-ix-workflow-step .wrapper.sc-ix-workflow-step .line.last.sc-ix-workflow-step{margin:0 auto 0 0}.sc-ix-workflow-step-h .step.sc-ix-workflow-step .wrapper.sc-ix-workflow-step .line.single.sc-ix-workflow-step{width:0}.sc-ix-workflow-step-h .step.sc-ix-workflow-step .wrapper.sc-ix-workflow-step .line.selected.sc-ix-workflow-step{background-color:var(--theme-workflow-step-icon-default--color--selected)}.sc-ix-workflow-step-h .step.sc-ix-workflow-step .wrapper.sc-ix-workflow-step .line.done.sc-ix-workflow-step{background-color:var(--theme-workflow-step-icon-done--color)}.sc-ix-workflow-step-h .step.sc-ix-workflow-step .wrapper.sc-ix-workflow-step .line.done.selected.sc-ix-workflow-step{background-color:var(--theme-workflow-step-icon-done--color--selected)}.sc-ix-workflow-step-h .step.sc-ix-workflow-step .wrapper.sc-ix-workflow-step .line.warning.sc-ix-workflow-step{background-color:var(--theme-color-warning)}.sc-ix-workflow-step-h .step.sc-ix-workflow-step .wrapper.sc-ix-workflow-step .line.success.sc-ix-workflow-step{background-color:var(--theme-color-success)}.sc-ix-workflow-step-h .step.sc-ix-workflow-step .wrapper.sc-ix-workflow-step .line.error.sc-ix-workflow-step{background-color:var(--theme-color-alarm)}.sc-ix-workflow-step-h .step.sc-ix-workflow-step .wrapper.sc-ix-workflow-step .iconWrapper.sc-ix-workflow-step{display:flex;align-items:center;justify-content:center;position:absolute}.sc-ix-workflow-step-h .step.sc-ix-workflow-step .wrapper.sc-ix-workflow-step .iconWrapper.sc-ix-workflow-step .absolute.sc-ix-workflow-step{position:absolute}.sc-ix-workflow-step-h .step.sc-ix-workflow-step .text.sc-ix-workflow-step{margin-top:1rem;width:auto;padding:0 0.5rem}.sc-ix-workflow-step-h .step.vertical.sc-ix-workflow-step{flex-direction:row;padding:0}.sc-ix-workflow-step-h .step.vertical.sc-ix-workflow-step .wrapper.sc-ix-workflow-step{width:auto;padding-left:1.125rem;height:4rem}.sc-ix-workflow-step-h .step.vertical.sc-ix-workflow-step .wrapper.sc-ix-workflow-step .line.sc-ix-workflow-step{width:0.125rem;height:100%}.sc-ix-workflow-step-h .step.vertical.sc-ix-workflow-step .wrapper.sc-ix-workflow-step .line.first.sc-ix-workflow-step,.sc-ix-workflow-step-h .step.vertical.sc-ix-workflow-step .wrapper.sc-ix-workflow-step .line.last.sc-ix-workflow-step{height:50%;margin:auto 0 0 0}.sc-ix-workflow-step-h .step.vertical.sc-ix-workflow-step .wrapper.sc-ix-workflow-step .line.last.sc-ix-workflow-step{margin:0 0 auto 0}.sc-ix-workflow-step-h .step.vertical.sc-ix-workflow-step .wrapper.sc-ix-workflow-step .line.single.sc-ix-workflow-step{width:0}.sc-ix-workflow-step-h .step.vertical.sc-ix-workflow-step .text.sc-ix-workflow-step{margin-top:0;margin-left:1rem;padding:0}.sc-ix-workflow-step-h .step.sc-ix-workflow-step:hover{background-color:var(--theme-workflow-step--background--hover)}.sc-ix-workflow-step-h .step.sc-ix-workflow-step:active{background-color:var(--theme-workflow-step--background--active)}.sc-ix-workflow-step-h .step.sc-ix-workflow-step:focus-visible{outline:1px solid var(--focus--border-color);border-radius:0}.sc-ix-workflow-step-h .step.selected.sc-ix-workflow-step{background-color:var(--theme-workflow-step--background--selected)}.sc-ix-workflow-step-h .step.disabled.sc-ix-workflow-step{background-color:var(--theme-workflow-step--background--disabled)}.sc-ix-workflow-step-h .step.disabled.sc-ix-workflow-step .line.sc-ix-workflow-step{background-color:var(--theme-workflow-step-icon-default--color--disabled) !important}.sc-ix-workflow-step-h .step.disabled.sc-ix-workflow-step .text.sc-ix-workflow-step{color:var(--theme-workflow-step--color--disabled)}";
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-931d1fb5.js');
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Patch Esm v3.2.
|
|
8
|
+
Stencil Client Patch Esm v3.2.2 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
10
|
const patchEsm = () => {
|
|
11
11
|
return index.promiseResolve();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"loader.cjs.js","mappings":";;;;;;AAAA;AACA;AACA;AAGA,MAAM,QAAQ,GAAG,MAAM;AAiBvB,IAAI,OAAOA,oBAAc,EAAE,CAAC;AAC5B,CAAC;;ACnBW,MAAC,oBAAoB,GAAG,CAAC,GAAG,EAAE,OAAO,KAAK;AACtD,EAAE,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC;AAC9D,EAAE,OAAO,QAAQ,EAAE,CAAC,IAAI,CAAC,MAAM;AAE/B,EAAE,OAAOC,mBAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;AAC9D,GAAG,CAAC,CAAC;AACL;;;;;","names":["promiseResolve","bootstrapLazy"],"sources":["../../node_modules/@stencil/core/internal/client/patch-esm.js","@lazy-external-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Esm v3.2.
|
|
1
|
+
{"file":"loader.cjs.js","mappings":";;;;;;AAAA;AACA;AACA;AAGA,MAAM,QAAQ,GAAG,MAAM;AAiBvB,IAAI,OAAOA,oBAAc,EAAE,CAAC;AAC5B,CAAC;;ACnBW,MAAC,oBAAoB,GAAG,CAAC,GAAG,EAAE,OAAO,KAAK;AACtD,EAAE,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC;AAC9D,EAAE,OAAO,QAAQ,EAAE,CAAC,IAAI,CAAC,MAAM;AAE/B,EAAE,OAAOC,mBAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;AAC9D,GAAG,CAAC,CAAC;AACL;;;;;","names":["promiseResolve","bootstrapLazy"],"sources":["../../node_modules/@stencil/core/internal/client/patch-esm.js","@lazy-external-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Esm v3.2.2 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD } from '@stencil/core/internal/app-data';\nimport { CSS, plt, win, promiseResolve } from '@stencil/core';\nconst patchEsm = () => {\n // NOTE!! This fn cannot use async/await!\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n // @ts-ignore\n if (BUILD.cssVarShim && !(CSS && CSS.supports && CSS.supports('color', 'var(--c)'))) {\n // @ts-ignore\n return import(/* webpackChunkName: \"polyfills-css-shim\" */ './css-shim.js').then(() => {\n if ((plt.$cssShim$ = win.__cssshim)) {\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n return plt.$cssShim$.i();\n }\n else {\n // for better minification\n return 0;\n }\n });\n }\n return promiseResolve();\n};\nexport { patchEsm };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchEsm } from '@stencil/core/internal/client/patch-esm';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\nexport const defineCustomElements = (win, options) => {\n if (typeof window === 'undefined') return Promise.resolve();\n return patchEsm().then(() => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n });\n};\n"],"version":3}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-931d1fb5.js');
|
|
6
6
|
|
|
7
7
|
const myComponentCss = ".sc-my-component-h{display:block;position:relative;width:100vw;height:100vh}";
|
|
8
8
|
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-931d1fb5.js');
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Patch Browser v3.2.
|
|
8
|
+
Stencil Client Patch Browser v3.2.2 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
10
|
const patchBrowser = () => {
|
|
11
11
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('siemens-ix.cjs.js', document.baseURI).href));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"siemens-ix.cjs.js","mappings":";;;;;;AAAA;AACA;AACA;AAiBA,MAAM,YAAY,GAAG,MAAM;AAkC3B,IAAI,MAAM,UAAU,GAAG,4MAAe,CAAC;AACvC,IAAI,MAAM,IAAI,GAAiE,EAAE,CAAC;AAgBlF;AACA,IAAI,IAAuB,UAAU,KAAK,EAAE,EAAE;AAC9C,QAAQ,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC;AAC1D;AACA;AACA,KAaK;AACL,IAAI,OAAOA,oBAAc,CAAC,IAAI,CAAC,CAAC;AAChC,CAAC;;ACtFD,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,IAAI;AAE/B,EAAE,OAAOC,mBAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;AAC9D,CAAC,CAAC;;;;","names":["promiseResolve","bootstrapLazy"],"sources":["../../node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v3.2.
|
|
1
|
+
{"file":"siemens-ix.cjs.js","mappings":";;;;;;AAAA;AACA;AACA;AAiBA,MAAM,YAAY,GAAG,MAAM;AAkC3B,IAAI,MAAM,UAAU,GAAG,4MAAe,CAAC;AACvC,IAAI,MAAM,IAAI,GAAiE,EAAE,CAAC;AAgBlF;AACA,IAAI,IAAuB,UAAU,KAAK,EAAE,EAAE;AAC9C,QAAQ,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC;AAC1D;AACA;AACA,KAaK;AACL,IAAI,OAAOA,oBAAc,CAAC,IAAI,CAAC,CAAC;AAChC,CAAC;;ACtFD,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,IAAI;AAE/B,EAAE,OAAOC,mBAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;AAC9D,CAAC,CAAC;;;;","names":["promiseResolve","bootstrapLazy"],"sources":["../../node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v3.2.2 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, plt, win, doc, promiseResolve, H } from '@stencil/core';\n/**\n * Helper method for querying a `meta` tag that contains a nonce value\n * out of a DOM's head.\n *\n * @param doc The DOM containing the `head` to query against\n * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag\n * exists or the tag has no content.\n */\nfunction queryNonceMetaTagContent(doc) {\n var _a, _b, _c;\n return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name=\"csp-nonce\"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;\n}\n// TODO(STENCIL-661): Remove code related to the dynamic import shim\nconst getDynamicImportFunction = (namespace) => `__sc_import_${namespace.replace(/\\s|-/g, '_')}`;\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n if (BUILD.cssVarShim) {\n // shim css vars\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n plt.$cssShim$ = win.__cssshim;\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n if (BUILD.profile && !performance.mark) {\n // not all browsers support performance.mark/measure (Safari 10)\n // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,\n // simply stub the implementations out.\n // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)\n // @ts-ignore\n performance.mark = performance.measure = () => {\n /*noop*/\n };\n performance.getEntriesByName = () => [];\n }\n // @ts-ignore\n const scriptElm = \n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n BUILD.scriptDataOpts || BUILD.safari10 || BUILD.dynamicImportShim\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n if (BUILD.safari10 && 'onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) {\n // Safari < v11 support: This IF is true if it's Safari below v11.\n // This fn cannot use async/await since Safari didn't support it until v11,\n // however, Safari 10 did support modules. Safari 10 also didn't support \"nomodule\",\n // so both the ESM file and nomodule file would get downloaded. Only Safari\n // has 'onbeforeload' in the script, and \"history.scrollRestoration\" was added\n // to Safari in v11. Return a noop then() so the async/await ESM code doesn't continue.\n // IS_ESM_BUILD is replaced at build time so this check doesn't happen in systemjs builds.\n return {\n then() {\n /* promise noop */\n },\n };\n }\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n if (!BUILD.safari10 && importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n }\n else if (BUILD.dynamicImportShim || BUILD.safari10) {\n opts.resourcesUrl = new URL('.', new URL(scriptElm.getAttribute('data-resources-url') || scriptElm.src, win.location.href)).href;\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n if (BUILD.dynamicImportShim) {\n patchDynamicImport(opts.resourcesUrl, scriptElm);\n }\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n if (BUILD.dynamicImportShim && !win.customElements) {\n // module support, but no custom elements support (Old Edge)\n // @ts-ignore\n return import(/* webpackChunkName: \"polyfills-dom\" */ './dom.js').then(() => opts);\n }\n }\n return promiseResolve(opts);\n};\n// TODO(STENCIL-661): Remove code related to the dynamic import shim\nconst patchDynamicImport = (base, orgScriptElm) => {\n const importFunctionName = getDynamicImportFunction(NAMESPACE);\n try {\n // test if this browser supports dynamic imports\n // There is a caching issue in V8, that breaks using import() in Function\n // By generating a random string, we can workaround it\n // Check https://bugs.chromium.org/p/chromium/issues/detail?id=990810 for more info\n win[importFunctionName] = new Function('w', `return import(w);//${Math.random()}`);\n }\n catch (e) {\n // this shim is specifically for browsers that do support \"esm\" imports\n // however, they do NOT support \"dynamic\" imports\n // basically this code is for old Edge, v18 and below\n const moduleMap = new Map();\n win[importFunctionName] = (src) => {\n var _a;\n const url = new URL(src, base).href;\n let mod = moduleMap.get(url);\n if (!mod) {\n const script = doc.createElement('script');\n script.type = 'module';\n script.crossOrigin = orgScriptElm.crossOrigin;\n script.src = URL.createObjectURL(new Blob([`import * as m from '${url}'; window.${importFunctionName}.m = m;`], {\n type: 'application/javascript',\n }));\n // Apply CSP nonce to the script tag if it exists\n const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);\n if (nonce != null) {\n script.setAttribute('nonce', nonce);\n }\n mod = new Promise((resolve) => {\n script.onload = () => {\n resolve(win[importFunctionName].m);\n script.remove();\n };\n });\n moduleMap.set(url, mod);\n doc.head.appendChild(script);\n }\n return mod;\n };\n }\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"version":3}
|
|
@@ -709,30 +709,31 @@ const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) =>
|
|
|
709
709
|
* @param vnodes a list of virtual DOM nodes to remove
|
|
710
710
|
* @param startIdx the index at which to start removing nodes (inclusive)
|
|
711
711
|
* @param endIdx the index at which to stop removing nodes (inclusive)
|
|
712
|
-
* @param vnode a VNode
|
|
713
|
-
* @param elm an element
|
|
714
712
|
*/
|
|
715
|
-
const removeVnodes = (vnodes, startIdx, endIdx
|
|
716
|
-
for (
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
elm['s-ol']
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
713
|
+
const removeVnodes = (vnodes, startIdx, endIdx) => {
|
|
714
|
+
for (let index = startIdx; index <= endIdx; ++index) {
|
|
715
|
+
const vnode = vnodes[index];
|
|
716
|
+
if (vnode) {
|
|
717
|
+
const elm = vnode.$elm$;
|
|
718
|
+
nullifyVNodeRefs(vnode);
|
|
719
|
+
if (elm) {
|
|
720
|
+
{
|
|
721
|
+
// we're removing this element
|
|
722
|
+
// so it's possible we need to show slot fallback content now
|
|
723
|
+
checkSlotFallbackVisibility = true;
|
|
724
|
+
if (elm['s-ol']) {
|
|
725
|
+
// remove the original location comment
|
|
726
|
+
elm['s-ol'].remove();
|
|
727
|
+
}
|
|
728
|
+
else {
|
|
729
|
+
// it's possible that child nodes of the node
|
|
730
|
+
// that's being removed are slot nodes
|
|
731
|
+
putBackInOriginalLocation(elm, true);
|
|
732
|
+
}
|
|
732
733
|
}
|
|
734
|
+
// remove the vnode's element from the dom
|
|
735
|
+
elm.remove();
|
|
733
736
|
}
|
|
734
|
-
// remove the vnode's element from the dom
|
|
735
|
-
elm.remove();
|
|
736
737
|
}
|
|
737
738
|
}
|
|
738
739
|
};
|
|
@@ -1213,10 +1214,17 @@ const isNodeLocatedInSlot = (nodeToRelocate, slotNameAttr) => {
|
|
|
1213
1214
|
}
|
|
1214
1215
|
return slotNameAttr === '';
|
|
1215
1216
|
};
|
|
1216
|
-
|
|
1217
|
+
/**
|
|
1218
|
+
* 'Nullify' any VDom `ref` callbacks on a VDom node or its children by
|
|
1219
|
+
* calling them with `null`. This signals that the DOM element corresponding to
|
|
1220
|
+
* the VDom node has been removed from the DOM.
|
|
1221
|
+
*
|
|
1222
|
+
* @param vNode a virtual DOM node
|
|
1223
|
+
*/
|
|
1224
|
+
const nullifyVNodeRefs = (vNode) => {
|
|
1217
1225
|
{
|
|
1218
1226
|
vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
|
|
1219
|
-
vNode.$children$ && vNode.$children$.map(
|
|
1227
|
+
vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
|
|
1220
1228
|
}
|
|
1221
1229
|
};
|
|
1222
1230
|
/**
|
|
@@ -1353,10 +1361,32 @@ const scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
|
1353
1361
|
const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
|
|
1354
1362
|
return writeTask(dispatch) ;
|
|
1355
1363
|
};
|
|
1364
|
+
/**
|
|
1365
|
+
* Dispatch initial-render and update lifecycle hooks, enqueuing calls to
|
|
1366
|
+
* component lifecycle methods like `componentWillLoad` as well as
|
|
1367
|
+
* {@link updateComponent}, which will kick off the virtual DOM re-render.
|
|
1368
|
+
*
|
|
1369
|
+
* @param hostRef a reference to a host DOM node
|
|
1370
|
+
* @param isInitialLoad whether we're on the initial load or not
|
|
1371
|
+
* @returns an empty Promise which is used to enqueue a series of operations for
|
|
1372
|
+
* the component
|
|
1373
|
+
*/
|
|
1356
1374
|
const dispatchHooks = (hostRef, isInitialLoad) => {
|
|
1357
1375
|
const endSchedule = createTime('scheduleUpdate', hostRef.$cmpMeta$.$tagName$);
|
|
1358
1376
|
const instance = hostRef.$lazyInstance$ ;
|
|
1359
|
-
|
|
1377
|
+
// We're going to use this variable together with `enqueue` to implement a
|
|
1378
|
+
// little promise-based queue. We start out with it `undefined`. When we add
|
|
1379
|
+
// the first function to the queue we'll set this variable to be that
|
|
1380
|
+
// function's return value. When we attempt to add subsequent values to the
|
|
1381
|
+
// queue we'll check that value and, if it was a `Promise`, we'll then chain
|
|
1382
|
+
// the new function off of that `Promise` using `.then()`. This will give our
|
|
1383
|
+
// queue two nice properties:
|
|
1384
|
+
//
|
|
1385
|
+
// 1. If all functions added to the queue are synchronous they'll be called
|
|
1386
|
+
// synchronously right away.
|
|
1387
|
+
// 2. If all functions added to the queue are asynchronous they'll all be
|
|
1388
|
+
// called in order after `dispatchHooks` exits.
|
|
1389
|
+
let maybePromise;
|
|
1360
1390
|
if (isInitialLoad) {
|
|
1361
1391
|
{
|
|
1362
1392
|
hostRef.$flags$ |= 256 /* HOST_FLAGS.isListenReady */;
|
|
@@ -1366,17 +1396,38 @@ const dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
1366
1396
|
}
|
|
1367
1397
|
}
|
|
1368
1398
|
{
|
|
1369
|
-
|
|
1399
|
+
// If `componentWillLoad` returns a `Promise` then we want to wait on
|
|
1400
|
+
// whatever's going on in that `Promise` before we launch into
|
|
1401
|
+
// rendering the component, doing other lifecycle stuff, etc. So
|
|
1402
|
+
// in that case we assign the returned promise to the variable we
|
|
1403
|
+
// declared above to hold a possible 'queueing' Promise
|
|
1404
|
+
maybePromise = safeCall(instance, 'componentWillLoad');
|
|
1370
1405
|
}
|
|
1371
1406
|
}
|
|
1372
1407
|
{
|
|
1373
|
-
|
|
1408
|
+
maybePromise = enqueue(maybePromise, () => safeCall(instance, 'componentWillRender'));
|
|
1374
1409
|
}
|
|
1375
1410
|
endSchedule();
|
|
1376
|
-
return
|
|
1411
|
+
return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
|
|
1377
1412
|
};
|
|
1413
|
+
/**
|
|
1414
|
+
* This function uses a Promise to implement a simple first-in, first-out queue
|
|
1415
|
+
* of functions to be called.
|
|
1416
|
+
*
|
|
1417
|
+
* The queue is ordered on the basis of the first argument. If it's
|
|
1418
|
+
* `undefined`, then nothing is on the queue yet, so the provided function can
|
|
1419
|
+
* be called synchronously (although note that this function may return a
|
|
1420
|
+
* `Promise`). The idea is that then the return value of that enqueueing
|
|
1421
|
+
* operation is kept around, so that if it was a `Promise` then subsequent
|
|
1422
|
+
* functions can be enqueued by calling this function again with that `Promise`
|
|
1423
|
+
* as the first argument.
|
|
1424
|
+
*
|
|
1425
|
+
* @param maybePromise either a `Promise` which should resolve before the next function is called or an 'empty' sentinel
|
|
1426
|
+
* @param fn a function to enqueue
|
|
1427
|
+
* @returns either a `Promise` or the return value of the provided function
|
|
1428
|
+
*/
|
|
1429
|
+
const enqueue = (maybePromise, fn) => maybePromise instanceof Promise ? maybePromise.then(fn) : fn();
|
|
1378
1430
|
const updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
1379
|
-
// updateComponent
|
|
1380
1431
|
const elm = hostRef.$hostElement$;
|
|
1381
1432
|
const endUpdate = createTime('update', hostRef.$cmpMeta$.$tagName$);
|
|
1382
1433
|
const rc = elm['s-rc'];
|
|
@@ -1514,9 +1565,6 @@ const safeCall = (instance, method, arg) => {
|
|
|
1514
1565
|
}
|
|
1515
1566
|
return undefined;
|
|
1516
1567
|
};
|
|
1517
|
-
const then = (promise, thenFn) => {
|
|
1518
|
-
return promise && promise.then ? promise.then(thenFn) : thenFn();
|
|
1519
|
-
};
|
|
1520
1568
|
const addHydratedFlag = (elm) => elm.classList.add('hydrated')
|
|
1521
1569
|
;
|
|
1522
1570
|
const getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
|
|
@@ -1680,9 +1728,9 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1680
1728
|
const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) => {
|
|
1681
1729
|
// initializeComponent
|
|
1682
1730
|
if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
|
|
1731
|
+
// Let the runtime know that the component has been initialized
|
|
1732
|
+
hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;
|
|
1683
1733
|
{
|
|
1684
|
-
// we haven't initialized this element yet
|
|
1685
|
-
hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;
|
|
1686
1734
|
// lazy loaded components
|
|
1687
1735
|
// request the component's implementation to be
|
|
1688
1736
|
// wired up with the host element
|
|
@@ -2454,4 +2502,4 @@ const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
|
|
|
2454
2502
|
|
|
2455
2503
|
export { Fragment as F, Host as H, bootstrapLazy as b, createEvent as c, forceUpdate as f, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
|
|
2456
2504
|
|
|
2457
|
-
//# sourceMappingURL=index-
|
|
2505
|
+
//# sourceMappingURL=index-57424926.js.map
|