@dooboostore/simple-web-component 1.0.18 → 1.0.19
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/README.md +96 -77
- package/dist/cjs/config/config.js +2 -0
- package/dist/cjs/config/config.js.map +2 -2
- package/dist/cjs/decorators/addEventListener.js +4 -4
- package/dist/cjs/decorators/addEventListener.js.map +2 -2
- package/dist/cjs/decorators/appendChild.js +51 -7
- package/dist/cjs/decorators/appendChild.js.map +2 -2
- package/dist/cjs/decorators/classList.js +104 -0
- package/dist/cjs/decorators/classList.js.map +7 -0
- package/dist/cjs/decorators/elementDefine.js +306 -424
- package/dist/cjs/decorators/elementDefine.js.map +3 -3
- package/dist/cjs/decorators/emitCustomEvent.js +61 -9
- package/dist/cjs/decorators/emitCustomEvent.js.map +2 -2
- package/dist/cjs/decorators/index.js +3 -0
- package/dist/cjs/decorators/index.js.map +2 -2
- package/dist/cjs/decorators/query.js +56 -32
- package/dist/cjs/decorators/query.js.map +2 -2
- package/dist/cjs/decorators/queryAll.js +43 -19
- package/dist/cjs/decorators/queryAll.js.map +2 -2
- package/dist/cjs/decorators/replaceChildren.js +27 -1
- package/dist/cjs/decorators/replaceChildren.js.map +2 -2
- package/dist/cjs/decorators/setAttribute.js +35 -7
- package/dist/cjs/decorators/setAttribute.js.map +2 -2
- package/dist/cjs/decorators/style.js +88 -0
- package/dist/cjs/decorators/style.js.map +7 -0
- package/dist/cjs/elements/SwcAppEngine.js +23 -8
- package/dist/cjs/elements/SwcAppEngine.js.map +2 -2
- package/dist/cjs/elements/SwcAppMixin.js +52 -0
- package/dist/cjs/elements/SwcAppMixin.js.map +7 -0
- package/dist/cjs/elements/SwcAsync.js +57 -122
- package/dist/cjs/elements/SwcAsync.js.map +3 -3
- package/dist/cjs/elements/SwcChoose.js +51 -75
- package/dist/cjs/elements/SwcChoose.js.map +3 -3
- package/dist/cjs/elements/SwcIf.js +65 -93
- package/dist/cjs/elements/SwcIf.js.map +3 -3
- package/dist/cjs/elements/SwcLoop.js +72 -173
- package/dist/cjs/elements/SwcLoop.js.map +3 -3
- package/dist/cjs/elements/SwcSubTemplates.js +12 -37
- package/dist/cjs/elements/SwcSubTemplates.js.map +3 -3
- package/dist/cjs/elements/index.js +1 -8
- package/dist/cjs/elements/index.js.map +2 -2
- package/dist/cjs/elements/register.js +831 -0
- package/dist/cjs/elements/register.js.map +7 -0
- package/dist/cjs/index.js +13 -3
- package/dist/cjs/index.js.map +2 -2
- package/dist/cjs/types.js.map +1 -1
- package/dist/cjs/utils/TemplateUtils.js +103 -0
- package/dist/cjs/utils/TemplateUtils.js.map +7 -0
- package/dist/cjs/utils/Utils.js +10 -7
- package/dist/cjs/utils/Utils.js.map +2 -2
- package/dist/esm/config/config.js +2 -0
- package/dist/esm/config/config.js.map +2 -2
- package/dist/esm/decorators/addEventListener.js +4 -4
- package/dist/esm/decorators/addEventListener.js.map +2 -2
- package/dist/esm/decorators/appendChild.js +51 -7
- package/dist/esm/decorators/appendChild.js.map +2 -2
- package/dist/esm/decorators/classList.js +85 -0
- package/dist/esm/decorators/classList.js.map +7 -0
- package/dist/esm/decorators/elementDefine.js +306 -424
- package/dist/esm/decorators/elementDefine.js.map +3 -3
- package/dist/esm/decorators/emitCustomEvent.js +61 -9
- package/dist/esm/decorators/emitCustomEvent.js.map +2 -2
- package/dist/esm/decorators/index.js +3 -0
- package/dist/esm/decorators/index.js.map +2 -2
- package/dist/esm/decorators/query.js +57 -33
- package/dist/esm/decorators/query.js.map +2 -2
- package/dist/esm/decorators/queryAll.js +44 -20
- package/dist/esm/decorators/queryAll.js.map +2 -2
- package/dist/esm/decorators/replaceChildren.js +27 -1
- package/dist/esm/decorators/replaceChildren.js.map +2 -2
- package/dist/esm/decorators/setAttribute.js +35 -7
- package/dist/esm/decorators/setAttribute.js.map +2 -2
- package/dist/esm/decorators/style.js +69 -0
- package/dist/esm/decorators/style.js.map +7 -0
- package/dist/esm/elements/SwcAppEngine.js +23 -8
- package/dist/esm/elements/SwcAppEngine.js.map +2 -2
- package/dist/esm/elements/SwcAppMixin.js +33 -0
- package/dist/esm/elements/SwcAppMixin.js.map +7 -0
- package/dist/esm/elements/SwcAsync.js +57 -122
- package/dist/esm/elements/SwcAsync.js.map +3 -3
- package/dist/esm/elements/SwcChoose.js +51 -75
- package/dist/esm/elements/SwcChoose.js.map +3 -3
- package/dist/esm/elements/SwcIf.js +65 -93
- package/dist/esm/elements/SwcIf.js.map +3 -3
- package/dist/esm/elements/SwcLoop.js +71 -172
- package/dist/esm/elements/SwcLoop.js.map +3 -3
- package/dist/esm/elements/SwcSubTemplates.js +12 -37
- package/dist/esm/elements/SwcSubTemplates.js.map +3 -3
- package/dist/esm/elements/index.js +1 -8
- package/dist/esm/elements/index.js.map +2 -2
- package/dist/esm/elements/register.js +812 -0
- package/dist/esm/elements/register.js.map +7 -0
- package/dist/esm/index.js +13 -3
- package/dist/esm/index.js.map +2 -2
- package/dist/esm/types.js.map +1 -1
- package/dist/esm/utils/TemplateUtils.js +84 -0
- package/dist/esm/utils/TemplateUtils.js.map +7 -0
- package/dist/esm/utils/Utils.js +6 -3
- package/dist/esm/utils/Utils.js.map +2 -2
- package/dist/esm-bundle/dooboostore-simple-web-component.esm.js +1010 -5634
- package/dist/esm-bundle/dooboostore-simple-web-component.esm.js.map +4 -4
- package/dist/types/config/config.d.ts +1 -0
- package/dist/types/config/config.d.ts.map +1 -1
- package/dist/types/decorators/addEventListener.d.ts +11 -11
- package/dist/types/decorators/addEventListener.d.ts.map +1 -1
- package/dist/types/decorators/appendChild.d.ts +1 -1
- package/dist/types/decorators/appendChild.d.ts.map +1 -1
- package/dist/types/decorators/classList.d.ts +34 -0
- package/dist/types/decorators/classList.d.ts.map +1 -0
- package/dist/types/decorators/elementDefine.d.ts +9 -5
- package/dist/types/decorators/elementDefine.d.ts.map +1 -1
- package/dist/types/decorators/emitCustomEvent.d.ts +7 -4
- package/dist/types/decorators/emitCustomEvent.d.ts.map +1 -1
- package/dist/types/decorators/index.d.ts +3 -0
- package/dist/types/decorators/index.d.ts.map +1 -1
- package/dist/types/decorators/query.d.ts +7 -8
- package/dist/types/decorators/query.d.ts.map +1 -1
- package/dist/types/decorators/queryAll.d.ts +5 -9
- package/dist/types/decorators/queryAll.d.ts.map +1 -1
- package/dist/types/decorators/replaceChildren.d.ts.map +1 -1
- package/dist/types/decorators/setAttribute.d.ts +13 -3
- package/dist/types/decorators/setAttribute.d.ts.map +1 -1
- package/dist/types/decorators/style.d.ts +24 -0
- package/dist/types/decorators/style.d.ts.map +1 -0
- package/dist/types/elements/SwcAppEngine.d.ts +2 -2
- package/dist/types/elements/SwcAppEngine.d.ts.map +1 -1
- package/dist/types/elements/SwcAppMixin.d.ts +364 -0
- package/dist/types/elements/SwcAppMixin.d.ts.map +1 -0
- package/dist/types/elements/SwcAsync.d.ts +2 -6
- package/dist/types/elements/SwcAsync.d.ts.map +1 -1
- package/dist/types/elements/SwcChoose.d.ts +2 -1
- package/dist/types/elements/SwcChoose.d.ts.map +1 -1
- package/dist/types/elements/SwcIf.d.ts +5 -6
- package/dist/types/elements/SwcIf.d.ts.map +1 -1
- package/dist/types/elements/SwcLoop.d.ts +4 -10
- package/dist/types/elements/SwcLoop.d.ts.map +1 -1
- package/dist/types/elements/SwcSubTemplates.d.ts.map +1 -1
- package/dist/types/elements/index.d.ts +1 -8
- package/dist/types/elements/index.d.ts.map +1 -1
- package/dist/types/elements/register.d.ts +2 -0
- package/dist/types/elements/register.d.ts.map +1 -0
- package/dist/types/index.d.ts +7 -3
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/types.d.ts +6 -1
- package/dist/types/types.d.ts.map +1 -1
- package/dist/types/utils/TemplateUtils.d.ts +54 -0
- package/dist/types/utils/TemplateUtils.d.ts.map +1 -0
- package/dist/types/utils/Utils.d.ts.map +1 -1
- package/dist/umd-bundle/dooboostore-simple-web-component.umd.js +1010 -5634
- package/dist/umd-bundle/dooboostore-simple-web-component.umd.js.map +4 -4
- package/package.json +2 -2
- package/src/config/config.ts +2 -0
- package/src/decorators/addEventListener.ts +12 -11
- package/src/decorators/appendChild.ts +52 -8
- package/src/decorators/classList.ts +117 -0
- package/src/decorators/elementDefine.ts +340 -427
- package/src/decorators/emitCustomEvent.ts +76 -12
- package/src/decorators/index.ts +3 -0
- package/src/decorators/query.ts +57 -37
- package/src/decorators/queryAll.ts +44 -28
- package/src/decorators/replaceChildren.ts +30 -1
- package/src/decorators/setAttribute.ts +53 -11
- package/src/decorators/style.ts +89 -0
- package/src/elements/SwcAppEngine.ts +26 -11
- package/src/elements/SwcAppMixin.ts +34 -0
- package/src/elements/SwcAsync.ts +57 -127
- package/src/elements/SwcChoose.ts +50 -76
- package/src/elements/SwcIf.ts +63 -85
- package/src/elements/SwcLoop.ts +70 -167
- package/src/elements/SwcSubTemplates.ts +0 -13
- package/src/elements/index.ts +1 -8
- package/src/elements/register.ts +735 -0
- package/src/index.ts +16 -5
- package/src/types.ts +13 -5
- package/src/utils/TemplateUtils.ts +83 -0
- package/src/utils/Utils.ts +6 -3
- package/dist/cjs/elements/SwcApp.js +0 -55
- package/dist/cjs/elements/SwcApp.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppAnchor.js +0 -55
- package/dist/cjs/elements/is/SwcAppAnchor.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppArea.js +0 -55
- package/dist/cjs/elements/is/SwcAppArea.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppAudio.js +0 -55
- package/dist/cjs/elements/is/SwcAppAudio.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppBase.js +0 -55
- package/dist/cjs/elements/is/SwcAppBase.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppBody.js +0 -55
- package/dist/cjs/elements/is/SwcAppBody.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppButton.js +0 -55
- package/dist/cjs/elements/is/SwcAppButton.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppCanvas.js +0 -55
- package/dist/cjs/elements/is/SwcAppCanvas.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppData.js +0 -55
- package/dist/cjs/elements/is/SwcAppData.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppDataList.js +0 -55
- package/dist/cjs/elements/is/SwcAppDataList.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppDetails.js +0 -55
- package/dist/cjs/elements/is/SwcAppDetails.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppDialog.js +0 -55
- package/dist/cjs/elements/is/SwcAppDialog.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppDiv.js +0 -55
- package/dist/cjs/elements/is/SwcAppDiv.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppDl.js +0 -55
- package/dist/cjs/elements/is/SwcAppDl.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppEmbed.js +0 -55
- package/dist/cjs/elements/is/SwcAppEmbed.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppFieldSet.js +0 -55
- package/dist/cjs/elements/is/SwcAppFieldSet.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppForm.js +0 -55
- package/dist/cjs/elements/is/SwcAppForm.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppHeading.js +0 -55
- package/dist/cjs/elements/is/SwcAppHeading.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppHr.js +0 -55
- package/dist/cjs/elements/is/SwcAppHr.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppIFrame.js +0 -55
- package/dist/cjs/elements/is/SwcAppIFrame.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppImage.js +0 -55
- package/dist/cjs/elements/is/SwcAppImage.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppInput.js +0 -55
- package/dist/cjs/elements/is/SwcAppInput.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppLabel.js +0 -55
- package/dist/cjs/elements/is/SwcAppLabel.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppLegend.js +0 -55
- package/dist/cjs/elements/is/SwcAppLegend.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppLi.js +0 -55
- package/dist/cjs/elements/is/SwcAppLi.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppLink.js +0 -55
- package/dist/cjs/elements/is/SwcAppLink.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppMap.js +0 -55
- package/dist/cjs/elements/is/SwcAppMap.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppMeta.js +0 -55
- package/dist/cjs/elements/is/SwcAppMeta.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppMeter.js +0 -55
- package/dist/cjs/elements/is/SwcAppMeter.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppMod.js +0 -55
- package/dist/cjs/elements/is/SwcAppMod.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppObject.js +0 -55
- package/dist/cjs/elements/is/SwcAppObject.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppOl.js +0 -55
- package/dist/cjs/elements/is/SwcAppOl.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppOptGroup.js +0 -55
- package/dist/cjs/elements/is/SwcAppOptGroup.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppOption.js +0 -55
- package/dist/cjs/elements/is/SwcAppOption.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppOutput.js +0 -55
- package/dist/cjs/elements/is/SwcAppOutput.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppParagraph.js +0 -55
- package/dist/cjs/elements/is/SwcAppParagraph.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppParam.js +0 -55
- package/dist/cjs/elements/is/SwcAppParam.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppPicture.js +0 -55
- package/dist/cjs/elements/is/SwcAppPicture.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppPre.js +0 -55
- package/dist/cjs/elements/is/SwcAppPre.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppProgress.js +0 -55
- package/dist/cjs/elements/is/SwcAppProgress.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppQuote.js +0 -55
- package/dist/cjs/elements/is/SwcAppQuote.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppScript.js +0 -55
- package/dist/cjs/elements/is/SwcAppScript.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppSelect.js +0 -55
- package/dist/cjs/elements/is/SwcAppSelect.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppSlot.js +0 -55
- package/dist/cjs/elements/is/SwcAppSlot.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppSource.js +0 -55
- package/dist/cjs/elements/is/SwcAppSource.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppSpan.js +0 -55
- package/dist/cjs/elements/is/SwcAppSpan.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppStyle.js +0 -55
- package/dist/cjs/elements/is/SwcAppStyle.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppTable.js +0 -55
- package/dist/cjs/elements/is/SwcAppTable.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppTableCell.js +0 -55
- package/dist/cjs/elements/is/SwcAppTableCell.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppTableRow.js +0 -55
- package/dist/cjs/elements/is/SwcAppTableRow.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppTableSection.js +0 -55
- package/dist/cjs/elements/is/SwcAppTableSection.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppTemplate.js +0 -55
- package/dist/cjs/elements/is/SwcAppTemplate.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppTextArea.js +0 -55
- package/dist/cjs/elements/is/SwcAppTextArea.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppTime.js +0 -55
- package/dist/cjs/elements/is/SwcAppTime.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppTitle.js +0 -55
- package/dist/cjs/elements/is/SwcAppTitle.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppTrack.js +0 -55
- package/dist/cjs/elements/is/SwcAppTrack.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppUl.js +0 -55
- package/dist/cjs/elements/is/SwcAppUl.js.map +0 -7
- package/dist/cjs/elements/is/SwcAppVideo.js +0 -55
- package/dist/cjs/elements/is/SwcAppVideo.js.map +0 -7
- package/dist/cjs/elements/is/index.js +0 -74
- package/dist/cjs/elements/is/index.js.map +0 -7
- package/dist/esm/elements/SwcApp.js +0 -36
- package/dist/esm/elements/SwcApp.js.map +0 -7
- package/dist/esm/elements/is/SwcAppAnchor.js +0 -36
- package/dist/esm/elements/is/SwcAppAnchor.js.map +0 -7
- package/dist/esm/elements/is/SwcAppArea.js +0 -36
- package/dist/esm/elements/is/SwcAppArea.js.map +0 -7
- package/dist/esm/elements/is/SwcAppAudio.js +0 -36
- package/dist/esm/elements/is/SwcAppAudio.js.map +0 -7
- package/dist/esm/elements/is/SwcAppBase.js +0 -36
- package/dist/esm/elements/is/SwcAppBase.js.map +0 -7
- package/dist/esm/elements/is/SwcAppBody.js +0 -36
- package/dist/esm/elements/is/SwcAppBody.js.map +0 -7
- package/dist/esm/elements/is/SwcAppButton.js +0 -36
- package/dist/esm/elements/is/SwcAppButton.js.map +0 -7
- package/dist/esm/elements/is/SwcAppCanvas.js +0 -36
- package/dist/esm/elements/is/SwcAppCanvas.js.map +0 -7
- package/dist/esm/elements/is/SwcAppData.js +0 -36
- package/dist/esm/elements/is/SwcAppData.js.map +0 -7
- package/dist/esm/elements/is/SwcAppDataList.js +0 -36
- package/dist/esm/elements/is/SwcAppDataList.js.map +0 -7
- package/dist/esm/elements/is/SwcAppDetails.js +0 -36
- package/dist/esm/elements/is/SwcAppDetails.js.map +0 -7
- package/dist/esm/elements/is/SwcAppDialog.js +0 -36
- package/dist/esm/elements/is/SwcAppDialog.js.map +0 -7
- package/dist/esm/elements/is/SwcAppDiv.js +0 -36
- package/dist/esm/elements/is/SwcAppDiv.js.map +0 -7
- package/dist/esm/elements/is/SwcAppDl.js +0 -36
- package/dist/esm/elements/is/SwcAppDl.js.map +0 -7
- package/dist/esm/elements/is/SwcAppEmbed.js +0 -36
- package/dist/esm/elements/is/SwcAppEmbed.js.map +0 -7
- package/dist/esm/elements/is/SwcAppFieldSet.js +0 -36
- package/dist/esm/elements/is/SwcAppFieldSet.js.map +0 -7
- package/dist/esm/elements/is/SwcAppForm.js +0 -36
- package/dist/esm/elements/is/SwcAppForm.js.map +0 -7
- package/dist/esm/elements/is/SwcAppHeading.js +0 -36
- package/dist/esm/elements/is/SwcAppHeading.js.map +0 -7
- package/dist/esm/elements/is/SwcAppHr.js +0 -36
- package/dist/esm/elements/is/SwcAppHr.js.map +0 -7
- package/dist/esm/elements/is/SwcAppIFrame.js +0 -36
- package/dist/esm/elements/is/SwcAppIFrame.js.map +0 -7
- package/dist/esm/elements/is/SwcAppImage.js +0 -36
- package/dist/esm/elements/is/SwcAppImage.js.map +0 -7
- package/dist/esm/elements/is/SwcAppInput.js +0 -36
- package/dist/esm/elements/is/SwcAppInput.js.map +0 -7
- package/dist/esm/elements/is/SwcAppLabel.js +0 -36
- package/dist/esm/elements/is/SwcAppLabel.js.map +0 -7
- package/dist/esm/elements/is/SwcAppLegend.js +0 -36
- package/dist/esm/elements/is/SwcAppLegend.js.map +0 -7
- package/dist/esm/elements/is/SwcAppLi.js +0 -36
- package/dist/esm/elements/is/SwcAppLi.js.map +0 -7
- package/dist/esm/elements/is/SwcAppLink.js +0 -36
- package/dist/esm/elements/is/SwcAppLink.js.map +0 -7
- package/dist/esm/elements/is/SwcAppMap.js +0 -36
- package/dist/esm/elements/is/SwcAppMap.js.map +0 -7
- package/dist/esm/elements/is/SwcAppMeta.js +0 -36
- package/dist/esm/elements/is/SwcAppMeta.js.map +0 -7
- package/dist/esm/elements/is/SwcAppMeter.js +0 -36
- package/dist/esm/elements/is/SwcAppMeter.js.map +0 -7
- package/dist/esm/elements/is/SwcAppMod.js +0 -36
- package/dist/esm/elements/is/SwcAppMod.js.map +0 -7
- package/dist/esm/elements/is/SwcAppObject.js +0 -36
- package/dist/esm/elements/is/SwcAppObject.js.map +0 -7
- package/dist/esm/elements/is/SwcAppOl.js +0 -36
- package/dist/esm/elements/is/SwcAppOl.js.map +0 -7
- package/dist/esm/elements/is/SwcAppOptGroup.js +0 -36
- package/dist/esm/elements/is/SwcAppOptGroup.js.map +0 -7
- package/dist/esm/elements/is/SwcAppOption.js +0 -36
- package/dist/esm/elements/is/SwcAppOption.js.map +0 -7
- package/dist/esm/elements/is/SwcAppOutput.js +0 -36
- package/dist/esm/elements/is/SwcAppOutput.js.map +0 -7
- package/dist/esm/elements/is/SwcAppParagraph.js +0 -36
- package/dist/esm/elements/is/SwcAppParagraph.js.map +0 -7
- package/dist/esm/elements/is/SwcAppParam.js +0 -36
- package/dist/esm/elements/is/SwcAppParam.js.map +0 -7
- package/dist/esm/elements/is/SwcAppPicture.js +0 -36
- package/dist/esm/elements/is/SwcAppPicture.js.map +0 -7
- package/dist/esm/elements/is/SwcAppPre.js +0 -36
- package/dist/esm/elements/is/SwcAppPre.js.map +0 -7
- package/dist/esm/elements/is/SwcAppProgress.js +0 -36
- package/dist/esm/elements/is/SwcAppProgress.js.map +0 -7
- package/dist/esm/elements/is/SwcAppQuote.js +0 -36
- package/dist/esm/elements/is/SwcAppQuote.js.map +0 -7
- package/dist/esm/elements/is/SwcAppScript.js +0 -36
- package/dist/esm/elements/is/SwcAppScript.js.map +0 -7
- package/dist/esm/elements/is/SwcAppSelect.js +0 -36
- package/dist/esm/elements/is/SwcAppSelect.js.map +0 -7
- package/dist/esm/elements/is/SwcAppSlot.js +0 -36
- package/dist/esm/elements/is/SwcAppSlot.js.map +0 -7
- package/dist/esm/elements/is/SwcAppSource.js +0 -36
- package/dist/esm/elements/is/SwcAppSource.js.map +0 -7
- package/dist/esm/elements/is/SwcAppSpan.js +0 -36
- package/dist/esm/elements/is/SwcAppSpan.js.map +0 -7
- package/dist/esm/elements/is/SwcAppStyle.js +0 -36
- package/dist/esm/elements/is/SwcAppStyle.js.map +0 -7
- package/dist/esm/elements/is/SwcAppTable.js +0 -36
- package/dist/esm/elements/is/SwcAppTable.js.map +0 -7
- package/dist/esm/elements/is/SwcAppTableCell.js +0 -36
- package/dist/esm/elements/is/SwcAppTableCell.js.map +0 -7
- package/dist/esm/elements/is/SwcAppTableRow.js +0 -36
- package/dist/esm/elements/is/SwcAppTableRow.js.map +0 -7
- package/dist/esm/elements/is/SwcAppTableSection.js +0 -36
- package/dist/esm/elements/is/SwcAppTableSection.js.map +0 -7
- package/dist/esm/elements/is/SwcAppTemplate.js +0 -36
- package/dist/esm/elements/is/SwcAppTemplate.js.map +0 -7
- package/dist/esm/elements/is/SwcAppTextArea.js +0 -36
- package/dist/esm/elements/is/SwcAppTextArea.js.map +0 -7
- package/dist/esm/elements/is/SwcAppTime.js +0 -36
- package/dist/esm/elements/is/SwcAppTime.js.map +0 -7
- package/dist/esm/elements/is/SwcAppTitle.js +0 -36
- package/dist/esm/elements/is/SwcAppTitle.js.map +0 -7
- package/dist/esm/elements/is/SwcAppTrack.js +0 -36
- package/dist/esm/elements/is/SwcAppTrack.js.map +0 -7
- package/dist/esm/elements/is/SwcAppUl.js +0 -36
- package/dist/esm/elements/is/SwcAppUl.js.map +0 -7
- package/dist/esm/elements/is/SwcAppVideo.js +0 -36
- package/dist/esm/elements/is/SwcAppVideo.js.map +0 -7
- package/dist/esm/elements/is/index.js +0 -58
- package/dist/esm/elements/is/index.js.map +0 -7
- package/dist/types/elements/SwcApp.d.ts +0 -9
- package/dist/types/elements/SwcApp.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppAnchor.d.ts +0 -9
- package/dist/types/elements/is/SwcAppAnchor.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppArea.d.ts +0 -9
- package/dist/types/elements/is/SwcAppArea.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppAudio.d.ts +0 -9
- package/dist/types/elements/is/SwcAppAudio.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppBase.d.ts +0 -9
- package/dist/types/elements/is/SwcAppBase.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppBody.d.ts +0 -9
- package/dist/types/elements/is/SwcAppBody.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppButton.d.ts +0 -9
- package/dist/types/elements/is/SwcAppButton.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppCanvas.d.ts +0 -9
- package/dist/types/elements/is/SwcAppCanvas.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppData.d.ts +0 -9
- package/dist/types/elements/is/SwcAppData.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppDataList.d.ts +0 -9
- package/dist/types/elements/is/SwcAppDataList.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppDetails.d.ts +0 -9
- package/dist/types/elements/is/SwcAppDetails.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppDialog.d.ts +0 -9
- package/dist/types/elements/is/SwcAppDialog.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppDiv.d.ts +0 -9
- package/dist/types/elements/is/SwcAppDiv.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppDl.d.ts +0 -9
- package/dist/types/elements/is/SwcAppDl.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppEmbed.d.ts +0 -9
- package/dist/types/elements/is/SwcAppEmbed.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppFieldSet.d.ts +0 -9
- package/dist/types/elements/is/SwcAppFieldSet.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppForm.d.ts +0 -9
- package/dist/types/elements/is/SwcAppForm.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppHeading.d.ts +0 -9
- package/dist/types/elements/is/SwcAppHeading.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppHr.d.ts +0 -9
- package/dist/types/elements/is/SwcAppHr.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppIFrame.d.ts +0 -9
- package/dist/types/elements/is/SwcAppIFrame.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppImage.d.ts +0 -9
- package/dist/types/elements/is/SwcAppImage.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppInput.d.ts +0 -9
- package/dist/types/elements/is/SwcAppInput.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppLabel.d.ts +0 -9
- package/dist/types/elements/is/SwcAppLabel.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppLegend.d.ts +0 -9
- package/dist/types/elements/is/SwcAppLegend.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppLi.d.ts +0 -9
- package/dist/types/elements/is/SwcAppLi.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppLink.d.ts +0 -9
- package/dist/types/elements/is/SwcAppLink.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppMap.d.ts +0 -9
- package/dist/types/elements/is/SwcAppMap.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppMeta.d.ts +0 -9
- package/dist/types/elements/is/SwcAppMeta.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppMeter.d.ts +0 -9
- package/dist/types/elements/is/SwcAppMeter.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppMod.d.ts +0 -9
- package/dist/types/elements/is/SwcAppMod.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppObject.d.ts +0 -9
- package/dist/types/elements/is/SwcAppObject.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppOl.d.ts +0 -9
- package/dist/types/elements/is/SwcAppOl.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppOptGroup.d.ts +0 -9
- package/dist/types/elements/is/SwcAppOptGroup.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppOption.d.ts +0 -9
- package/dist/types/elements/is/SwcAppOption.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppOutput.d.ts +0 -9
- package/dist/types/elements/is/SwcAppOutput.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppParagraph.d.ts +0 -9
- package/dist/types/elements/is/SwcAppParagraph.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppParam.d.ts +0 -9
- package/dist/types/elements/is/SwcAppParam.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppPicture.d.ts +0 -9
- package/dist/types/elements/is/SwcAppPicture.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppPre.d.ts +0 -9
- package/dist/types/elements/is/SwcAppPre.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppProgress.d.ts +0 -9
- package/dist/types/elements/is/SwcAppProgress.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppQuote.d.ts +0 -9
- package/dist/types/elements/is/SwcAppQuote.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppScript.d.ts +0 -9
- package/dist/types/elements/is/SwcAppScript.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppSelect.d.ts +0 -9
- package/dist/types/elements/is/SwcAppSelect.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppSlot.d.ts +0 -9
- package/dist/types/elements/is/SwcAppSlot.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppSource.d.ts +0 -9
- package/dist/types/elements/is/SwcAppSource.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppSpan.d.ts +0 -9
- package/dist/types/elements/is/SwcAppSpan.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppStyle.d.ts +0 -9
- package/dist/types/elements/is/SwcAppStyle.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppTable.d.ts +0 -9
- package/dist/types/elements/is/SwcAppTable.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppTableCell.d.ts +0 -9
- package/dist/types/elements/is/SwcAppTableCell.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppTableRow.d.ts +0 -9
- package/dist/types/elements/is/SwcAppTableRow.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppTableSection.d.ts +0 -9
- package/dist/types/elements/is/SwcAppTableSection.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppTemplate.d.ts +0 -9
- package/dist/types/elements/is/SwcAppTemplate.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppTextArea.d.ts +0 -9
- package/dist/types/elements/is/SwcAppTextArea.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppTime.d.ts +0 -9
- package/dist/types/elements/is/SwcAppTime.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppTitle.d.ts +0 -9
- package/dist/types/elements/is/SwcAppTitle.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppTrack.d.ts +0 -9
- package/dist/types/elements/is/SwcAppTrack.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppUl.d.ts +0 -9
- package/dist/types/elements/is/SwcAppUl.d.ts.map +0 -1
- package/dist/types/elements/is/SwcAppVideo.d.ts +0 -9
- package/dist/types/elements/is/SwcAppVideo.d.ts.map +0 -1
- package/dist/types/elements/is/index.d.ts +0 -58
- package/dist/types/elements/is/index.d.ts.map +0 -1
- package/src/elements/SwcApp.ts +0 -26
- package/src/elements/is/SwcAppAnchor.ts +0 -26
- package/src/elements/is/SwcAppArea.ts +0 -26
- package/src/elements/is/SwcAppAudio.ts +0 -26
- package/src/elements/is/SwcAppBase.ts +0 -26
- package/src/elements/is/SwcAppBody.ts +0 -26
- package/src/elements/is/SwcAppButton.ts +0 -26
- package/src/elements/is/SwcAppCanvas.ts +0 -26
- package/src/elements/is/SwcAppData.ts +0 -26
- package/src/elements/is/SwcAppDataList.ts +0 -26
- package/src/elements/is/SwcAppDetails.ts +0 -26
- package/src/elements/is/SwcAppDialog.ts +0 -26
- package/src/elements/is/SwcAppDiv.ts +0 -26
- package/src/elements/is/SwcAppDl.ts +0 -26
- package/src/elements/is/SwcAppEmbed.ts +0 -26
- package/src/elements/is/SwcAppFieldSet.ts +0 -26
- package/src/elements/is/SwcAppForm.ts +0 -26
- package/src/elements/is/SwcAppHeading.ts +0 -26
- package/src/elements/is/SwcAppHr.ts +0 -26
- package/src/elements/is/SwcAppIFrame.ts +0 -26
- package/src/elements/is/SwcAppImage.ts +0 -26
- package/src/elements/is/SwcAppInput.ts +0 -26
- package/src/elements/is/SwcAppLabel.ts +0 -26
- package/src/elements/is/SwcAppLegend.ts +0 -26
- package/src/elements/is/SwcAppLi.ts +0 -26
- package/src/elements/is/SwcAppLink.ts +0 -26
- package/src/elements/is/SwcAppMap.ts +0 -26
- package/src/elements/is/SwcAppMeta.ts +0 -26
- package/src/elements/is/SwcAppMeter.ts +0 -26
- package/src/elements/is/SwcAppMod.ts +0 -26
- package/src/elements/is/SwcAppObject.ts +0 -26
- package/src/elements/is/SwcAppOl.ts +0 -26
- package/src/elements/is/SwcAppOptGroup.ts +0 -26
- package/src/elements/is/SwcAppOption.ts +0 -26
- package/src/elements/is/SwcAppOutput.ts +0 -26
- package/src/elements/is/SwcAppParagraph.ts +0 -26
- package/src/elements/is/SwcAppParam.ts +0 -26
- package/src/elements/is/SwcAppPicture.ts +0 -26
- package/src/elements/is/SwcAppPre.ts +0 -26
- package/src/elements/is/SwcAppProgress.ts +0 -26
- package/src/elements/is/SwcAppQuote.ts +0 -26
- package/src/elements/is/SwcAppScript.ts +0 -26
- package/src/elements/is/SwcAppSelect.ts +0 -26
- package/src/elements/is/SwcAppSlot.ts +0 -26
- package/src/elements/is/SwcAppSource.ts +0 -26
- package/src/elements/is/SwcAppSpan.ts +0 -26
- package/src/elements/is/SwcAppStyle.ts +0 -26
- package/src/elements/is/SwcAppTable.ts +0 -26
- package/src/elements/is/SwcAppTableCell.ts +0 -26
- package/src/elements/is/SwcAppTableRow.ts +0 -26
- package/src/elements/is/SwcAppTableSection.ts +0 -26
- package/src/elements/is/SwcAppTemplate.ts +0 -26
- package/src/elements/is/SwcAppTextArea.ts +0 -26
- package/src/elements/is/SwcAppTime.ts +0 -26
- package/src/elements/is/SwcAppTitle.ts +0 -26
- package/src/elements/is/SwcAppTrack.ts +0 -26
- package/src/elements/is/SwcAppUl.ts +0 -26
- package/src/elements/is/SwcAppVideo.ts +0 -26
- package/src/elements/is/index.ts +0 -57
|
@@ -0,0 +1,831 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var register_exports = {};
|
|
19
|
+
__export(register_exports, {
|
|
20
|
+
registerAllElements: () => registerAllElements
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(register_exports);
|
|
23
|
+
var import_elementDefine = require("../decorators/elementDefine");
|
|
24
|
+
var import_SwcAppMixin = require("./SwcAppMixin");
|
|
25
|
+
var import_Utils = require("../utils/Utils");
|
|
26
|
+
var import_FunctionUtils = require("@dooboostore/core/function/FunctionUtils");
|
|
27
|
+
var import_changedAttribute = require("../decorators/changedAttribute");
|
|
28
|
+
var __decorate = function(decorators, target, key, desc) {
|
|
29
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
30
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
31
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
32
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
33
|
+
};
|
|
34
|
+
var __metadata = function(k, v) {
|
|
35
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
36
|
+
};
|
|
37
|
+
const registerAllElements = (w) => {
|
|
38
|
+
const { HTMLElement: _HTMLElement, HTMLTemplateElement: _HTMLTemplateElement, DocumentFragment: _DocumentFragment, Node: _Node, Element: _Element, HTMLAnchorElement: _HTMLAnchorElement, HTMLAreaElement: _HTMLAreaElement, HTMLAudioElement: _HTMLAudioElement, HTMLBaseElement: _HTMLBaseElement, HTMLButtonElement: _HTMLButtonElement, HTMLCanvasElement: _HTMLCanvasElement, HTMLDataElement: _HTMLDataElement, HTMLDataListElement: _HTMLDataListElement, HTMLDetailsElement: _HTMLDetailsElement, HTMLDialogElement: _HTMLDialogElement, HTMLDivElement: _HTMLDivElement, HTMLDListElement: _HTMLDListElement, HTMLEmbedElement: _HTMLEmbedElement, HTMLFieldSetElement: _HTMLFieldSetElement, HTMLFormElement: _HTMLFormElement, HTMLHRElement: _HTMLHRElement, HTMLIFrameElement: _HTMLIFrameElement, HTMLImageElement: _HTMLImageElement, HTMLInputElement: _HTMLInputElement, HTMLLabelElement: _HTMLLabelElement, HTMLLegendElement: _HTMLLegendElement, HTMLLIElement: _HTMLLIElement, HTMLLinkElement: _HTMLLinkElement, HTMLMapElement: _HTMLMapElement, HTMLMetaElement: _HTMLMetaElement, HTMLMeterElement: _HTMLMeterElement, HTMLModElement: _HTMLModElement, HTMLObjectElement: _HTMLObjectElement, HTMLOListElement: _HTMLOListElement, HTMLOptGroupElement: _HTMLOptGroupElement, HTMLOptionElement: _HTMLOptionElement, HTMLOutputElement: _HTMLOutputElement, HTMLParagraphElement: _HTMLParagraphElement, HTMLParamElement: _HTMLParamElement, HTMLPictureElement: _HTMLPictureElement, HTMLPreElement: _HTMLPreElement, HTMLProgressElement: _HTMLProgressElement, HTMLQuoteElement: _HTMLQuoteElement, HTMLScriptElement: _HTMLScriptElement, HTMLSelectElement: _HTMLSelectElement, HTMLSlotElement: _HTMLSlotElement, HTMLSourceElement: _HTMLSourceElement, HTMLSpanElement: _HTMLSpanElement, HTMLStyleElement: _HTMLStyleElement, HTMLTableElement: _HTMLTableElement, HTMLTableSectionElement: _HTMLTableSectionElement, HTMLTableCellElement: _HTMLTableCellElement, HTMLTextAreaElement: _HTMLTextAreaElement, HTMLTimeElement: _HTMLTimeElement, HTMLTitleElement: _HTMLTitleElement, HTMLTableRowElement: _HTMLTableRowElement, HTMLTrackElement: _HTMLTrackElement, HTMLUListElement: _HTMLUListElement, HTMLVideoElement: _HTMLVideoElement, HTMLHeadingElement: _HTMLHeadingElement, HTMLBodyElement: _HTMLBodyElement } = w;
|
|
39
|
+
const HTMLElement = _HTMLElement;
|
|
40
|
+
const HTMLTemplateElement = _HTMLTemplateElement;
|
|
41
|
+
const DocumentFragment = _DocumentFragment;
|
|
42
|
+
const Node = _Node;
|
|
43
|
+
const Element = _Element;
|
|
44
|
+
const HTMLAnchorElement = _HTMLAnchorElement;
|
|
45
|
+
const HTMLAreaElement = _HTMLAreaElement;
|
|
46
|
+
const HTMLAudioElement = _HTMLAudioElement;
|
|
47
|
+
const HTMLBaseElement = _HTMLBaseElement;
|
|
48
|
+
const HTMLButtonElement = _HTMLButtonElement;
|
|
49
|
+
const HTMLCanvasElement = _HTMLCanvasElement;
|
|
50
|
+
const HTMLDataElement = _HTMLDataElement;
|
|
51
|
+
const HTMLDataListElement = _HTMLDataListElement;
|
|
52
|
+
const HTMLDetailsElement = _HTMLDetailsElement;
|
|
53
|
+
const HTMLDialogElement = _HTMLDialogElement;
|
|
54
|
+
const HTMLDivElement = _HTMLDivElement;
|
|
55
|
+
const HTMLDListElement = _HTMLDListElement;
|
|
56
|
+
const HTMLEmbedElement = _HTMLEmbedElement;
|
|
57
|
+
const HTMLFieldSetElement = _HTMLFieldSetElement;
|
|
58
|
+
const HTMLFormElement = _HTMLFormElement;
|
|
59
|
+
const HTMLHRElement = _HTMLHRElement;
|
|
60
|
+
const HTMLIFrameElement = _HTMLIFrameElement;
|
|
61
|
+
const HTMLImageElement = _HTMLImageElement;
|
|
62
|
+
const HTMLInputElement = _HTMLInputElement;
|
|
63
|
+
const HTMLLabelElement = _HTMLLabelElement;
|
|
64
|
+
const HTMLLegendElement = _HTMLLegendElement;
|
|
65
|
+
const HTMLLIElement = _HTMLLIElement;
|
|
66
|
+
const HTMLLinkElement = _HTMLLinkElement;
|
|
67
|
+
const HTMLMapElement = _HTMLMapElement;
|
|
68
|
+
const HTMLMetaElement = _HTMLMetaElement;
|
|
69
|
+
const HTMLMeterElement = _HTMLMeterElement;
|
|
70
|
+
const HTMLModElement = _HTMLModElement;
|
|
71
|
+
const HTMLObjectElement = _HTMLObjectElement;
|
|
72
|
+
const HTMLOListElement = _HTMLOListElement;
|
|
73
|
+
const HTMLOptGroupElement = _HTMLOptGroupElement;
|
|
74
|
+
const HTMLOptionElement = _HTMLOptionElement;
|
|
75
|
+
const HTMLOutputElement = _HTMLOutputElement;
|
|
76
|
+
const HTMLParagraphElement = _HTMLParagraphElement;
|
|
77
|
+
const HTMLParamElement = _HTMLParamElement;
|
|
78
|
+
const HTMLPictureElement = _HTMLPictureElement;
|
|
79
|
+
const HTMLPreElement = _HTMLPreElement;
|
|
80
|
+
const HTMLProgressElement = _HTMLProgressElement;
|
|
81
|
+
const HTMLQuoteElement = _HTMLQuoteElement;
|
|
82
|
+
const HTMLScriptElement = _HTMLScriptElement;
|
|
83
|
+
const HTMLSelectElement = _HTMLSelectElement;
|
|
84
|
+
const HTMLSlotElement = _HTMLSlotElement;
|
|
85
|
+
const HTMLSourceElement = _HTMLSourceElement;
|
|
86
|
+
const HTMLSpanElement = _HTMLSpanElement;
|
|
87
|
+
const HTMLStyleElement = _HTMLStyleElement;
|
|
88
|
+
const HTMLTableElement = _HTMLTableElement;
|
|
89
|
+
const HTMLTableSectionElement = _HTMLTableSectionElement;
|
|
90
|
+
const HTMLTableCellElement = _HTMLTableCellElement;
|
|
91
|
+
const HTMLTextAreaElement = _HTMLTextAreaElement;
|
|
92
|
+
const HTMLTimeElement = _HTMLTimeElement;
|
|
93
|
+
const HTMLTitleElement = _HTMLTitleElement;
|
|
94
|
+
const HTMLTableRowElement = _HTMLTableRowElement;
|
|
95
|
+
const HTMLTrackElement = _HTMLTrackElement;
|
|
96
|
+
const HTMLUListElement = _HTMLUListElement;
|
|
97
|
+
const HTMLVideoElement = _HTMLVideoElement;
|
|
98
|
+
const HTMLHeadingElement = _HTMLHeadingElement;
|
|
99
|
+
const HTMLBodyElement = _HTMLBodyElement;
|
|
100
|
+
let SwcLoading = class SwcLoading extends HTMLTemplateElement {
|
|
101
|
+
};
|
|
102
|
+
SwcLoading = __decorate([
|
|
103
|
+
(0, import_elementDefine.elementDefine)("swc-loading", { extends: "template", window: w })
|
|
104
|
+
], SwcLoading);
|
|
105
|
+
let SwcError = class SwcError extends HTMLTemplateElement {
|
|
106
|
+
};
|
|
107
|
+
SwcError = __decorate([
|
|
108
|
+
(0, import_elementDefine.elementDefine)("swc-error", { extends: "template", window: w })
|
|
109
|
+
], SwcError);
|
|
110
|
+
let SwcSuccess = class SwcSuccess extends HTMLTemplateElement {
|
|
111
|
+
};
|
|
112
|
+
SwcSuccess = __decorate([
|
|
113
|
+
(0, import_elementDefine.elementDefine)("swc-success", { extends: "template", window: w })
|
|
114
|
+
], SwcSuccess);
|
|
115
|
+
let SwcWhen = class SwcWhen extends HTMLTemplateElement {
|
|
116
|
+
};
|
|
117
|
+
SwcWhen = __decorate([
|
|
118
|
+
(0, import_elementDefine.elementDefine)("swc-when", { extends: "template", window: w })
|
|
119
|
+
], SwcWhen);
|
|
120
|
+
let SwcOtherwise = class SwcOtherwise extends HTMLTemplateElement {
|
|
121
|
+
};
|
|
122
|
+
SwcOtherwise = __decorate([
|
|
123
|
+
(0, import_elementDefine.elementDefine)("swc-otherwise", { extends: "template", window: w })
|
|
124
|
+
], SwcOtherwise);
|
|
125
|
+
let SwcDefault = class SwcDefault extends HTMLTemplateElement {
|
|
126
|
+
};
|
|
127
|
+
SwcDefault = __decorate([
|
|
128
|
+
(0, import_elementDefine.elementDefine)("swc-default", { extends: "template", window: w })
|
|
129
|
+
], SwcDefault);
|
|
130
|
+
let SwcApp = class SwcApp extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLElement) {
|
|
131
|
+
};
|
|
132
|
+
SwcApp = __decorate([
|
|
133
|
+
(0, import_elementDefine.elementDefine)("swc-app", { window: w })
|
|
134
|
+
], SwcApp);
|
|
135
|
+
let SwcIf = class SwcIf extends HTMLTemplateElement {
|
|
136
|
+
constructor() {
|
|
137
|
+
super(...arguments);
|
|
138
|
+
this._value = false;
|
|
139
|
+
this._nodes = [];
|
|
140
|
+
}
|
|
141
|
+
get value() {
|
|
142
|
+
return this._value;
|
|
143
|
+
}
|
|
144
|
+
set value(nv) {
|
|
145
|
+
this._value = Boolean(nv);
|
|
146
|
+
this.render();
|
|
147
|
+
}
|
|
148
|
+
_resolvePortal() {
|
|
149
|
+
const portalScript = this.getAttribute("on-get-portal");
|
|
150
|
+
if (!portalScript)
|
|
151
|
+
return this.parentElement;
|
|
152
|
+
const win = this.ownerDocument?.defaultView || window;
|
|
153
|
+
const res = import_FunctionUtils.FunctionUtils.executeReturn({
|
|
154
|
+
script: portalScript,
|
|
155
|
+
context: this,
|
|
156
|
+
args: import_Utils.SwcUtils.getHelperAndHostSet(win, this)
|
|
157
|
+
});
|
|
158
|
+
if (res instanceof HTMLElement)
|
|
159
|
+
return res;
|
|
160
|
+
if (typeof res === "string")
|
|
161
|
+
return win.document.querySelector(res);
|
|
162
|
+
return this.parentElement;
|
|
163
|
+
}
|
|
164
|
+
_executeCloneCallback(attr, args) {
|
|
165
|
+
const script = this.getAttribute(attr);
|
|
166
|
+
if (!script)
|
|
167
|
+
return;
|
|
168
|
+
import_FunctionUtils.FunctionUtils.execute({ script, context: this, args });
|
|
169
|
+
}
|
|
170
|
+
refreshValue() {
|
|
171
|
+
const script = this.getAttribute("on-get-value");
|
|
172
|
+
if (!script) {
|
|
173
|
+
this.value = false;
|
|
174
|
+
return;
|
|
175
|
+
}
|
|
176
|
+
const win = this.ownerDocument?.defaultView || window;
|
|
177
|
+
const res = import_FunctionUtils.FunctionUtils.executeReturn({
|
|
178
|
+
script,
|
|
179
|
+
context: this,
|
|
180
|
+
args: import_Utils.SwcUtils.getHelperAndHostSet(win, this)
|
|
181
|
+
});
|
|
182
|
+
if (res instanceof Promise) {
|
|
183
|
+
res.then((v) => this.value = v).catch(() => this.value = false);
|
|
184
|
+
} else {
|
|
185
|
+
this.value = res;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
render() {
|
|
189
|
+
this.cleanup();
|
|
190
|
+
const portal = this._resolvePortal();
|
|
191
|
+
if (!portal)
|
|
192
|
+
return;
|
|
193
|
+
const win = this.ownerDocument?.defaultView || window;
|
|
194
|
+
const helperSet = import_Utils.SwcUtils.getHelperAndHostSet(win, this);
|
|
195
|
+
let targetTpl = null;
|
|
196
|
+
if (this._value) {
|
|
197
|
+
targetTpl = this;
|
|
198
|
+
} else {
|
|
199
|
+
targetTpl = this.content.querySelector('template[is="swc-default"]');
|
|
200
|
+
}
|
|
201
|
+
if (targetTpl) {
|
|
202
|
+
const clone = targetTpl.content.cloneNode(true);
|
|
203
|
+
if (targetTpl === this) {
|
|
204
|
+
clone.querySelectorAll('template[is^="swc-"]').forEach((t) => t.remove());
|
|
205
|
+
}
|
|
206
|
+
this._nodes = Array.from(clone.childNodes);
|
|
207
|
+
const elements = this._nodes.filter((n) => n.nodeType === 1);
|
|
208
|
+
const groupArgs = { ...helperSet, $value: this._value, $nodes: this._nodes, $elements: elements, $firstElement: elements[0] };
|
|
209
|
+
this._nodes.forEach((node, nodeIdx) => {
|
|
210
|
+
if (node instanceof HTMLElement)
|
|
211
|
+
node.__swc_host = this;
|
|
212
|
+
this._executeCloneCallback("on-clone-node", { ...groupArgs, $node: node, $nodeIndex: nodeIdx, $isElement: node.nodeType === 1 });
|
|
213
|
+
});
|
|
214
|
+
this._executeCloneCallback("on-clone-nodes", groupArgs);
|
|
215
|
+
if (portal === this.parentElement) {
|
|
216
|
+
portal.insertBefore(clone, this.nextSibling);
|
|
217
|
+
} else {
|
|
218
|
+
portal.appendChild(clone);
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
cleanup() {
|
|
223
|
+
this._nodes.forEach((n) => n.parentElement?.removeChild(n));
|
|
224
|
+
this._nodes = [];
|
|
225
|
+
}
|
|
226
|
+
connectedCallback() {
|
|
227
|
+
this.refreshValue();
|
|
228
|
+
}
|
|
229
|
+
disconnectedCallback() {
|
|
230
|
+
this.cleanup();
|
|
231
|
+
}
|
|
232
|
+
};
|
|
233
|
+
__decorate([
|
|
234
|
+
(0, import_changedAttribute.changedAttribute)("on-get-value"),
|
|
235
|
+
__metadata("design:type", Function),
|
|
236
|
+
__metadata("design:paramtypes", []),
|
|
237
|
+
__metadata("design:returntype", void 0)
|
|
238
|
+
], SwcIf.prototype, "refreshValue", null);
|
|
239
|
+
SwcIf = __decorate([
|
|
240
|
+
(0, import_elementDefine.elementDefine)("swc-if", { extends: "template", window: w })
|
|
241
|
+
], SwcIf);
|
|
242
|
+
let SwcLoop = class SwcLoop extends HTMLTemplateElement {
|
|
243
|
+
constructor() {
|
|
244
|
+
super(...arguments);
|
|
245
|
+
this._value = [];
|
|
246
|
+
this._nodeGroups = [];
|
|
247
|
+
}
|
|
248
|
+
get value() {
|
|
249
|
+
return this._value;
|
|
250
|
+
}
|
|
251
|
+
set value(nv) {
|
|
252
|
+
this._value = Array.isArray(nv) ? [...nv] : [];
|
|
253
|
+
this.render();
|
|
254
|
+
}
|
|
255
|
+
_resolvePortal() {
|
|
256
|
+
const portalScript = this.getAttribute("on-get-portal");
|
|
257
|
+
if (!portalScript)
|
|
258
|
+
return this.parentElement;
|
|
259
|
+
const win = this.ownerDocument?.defaultView || window;
|
|
260
|
+
const res = import_FunctionUtils.FunctionUtils.executeReturn({
|
|
261
|
+
script: portalScript,
|
|
262
|
+
context: this,
|
|
263
|
+
args: import_Utils.SwcUtils.getHelperAndHostSet(win, this)
|
|
264
|
+
});
|
|
265
|
+
if (res instanceof HTMLElement)
|
|
266
|
+
return res;
|
|
267
|
+
if (typeof res === "string")
|
|
268
|
+
return win.document.querySelector(res);
|
|
269
|
+
return this.parentElement;
|
|
270
|
+
}
|
|
271
|
+
_executeCloneCallback(attr, args) {
|
|
272
|
+
const script = this.getAttribute(attr);
|
|
273
|
+
if (!script)
|
|
274
|
+
return;
|
|
275
|
+
import_FunctionUtils.FunctionUtils.execute({ script, context: this, args });
|
|
276
|
+
}
|
|
277
|
+
_cleanup() {
|
|
278
|
+
this._nodeGroups.forEach((nodes) => nodes.forEach((n) => n.parentElement?.removeChild(n)));
|
|
279
|
+
this._nodeGroups = [];
|
|
280
|
+
}
|
|
281
|
+
refreshValue() {
|
|
282
|
+
const script = this.getAttribute("on-get-value");
|
|
283
|
+
if (!script) {
|
|
284
|
+
this.value = [];
|
|
285
|
+
return;
|
|
286
|
+
}
|
|
287
|
+
const win = this.ownerDocument?.defaultView || window;
|
|
288
|
+
const res = import_FunctionUtils.FunctionUtils.executeReturn({
|
|
289
|
+
script,
|
|
290
|
+
context: this,
|
|
291
|
+
args: import_Utils.SwcUtils.getHelperAndHostSet(win, this)
|
|
292
|
+
});
|
|
293
|
+
if (res instanceof Promise) {
|
|
294
|
+
res.then((v) => this.value = v).catch(() => this.value = []);
|
|
295
|
+
} else {
|
|
296
|
+
this.value = res;
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
render() {
|
|
300
|
+
this._cleanup();
|
|
301
|
+
const portal = this._resolvePortal();
|
|
302
|
+
if (!portal)
|
|
303
|
+
return;
|
|
304
|
+
const win = this.ownerDocument?.defaultView || window;
|
|
305
|
+
const helperSet = import_Utils.SwcUtils.getHelperAndHostSet(win, this);
|
|
306
|
+
const fragment = win.document.createDocumentFragment();
|
|
307
|
+
if (this._value.length === 0) {
|
|
308
|
+
const defaultTpl = this.content.querySelector('template[is="swc-default"]');
|
|
309
|
+
if (defaultTpl) {
|
|
310
|
+
const clone = defaultTpl.content.cloneNode(true);
|
|
311
|
+
const nodes = Array.from(clone.childNodes);
|
|
312
|
+
this._nodeGroups.push(nodes);
|
|
313
|
+
fragment.appendChild(clone);
|
|
314
|
+
}
|
|
315
|
+
} else {
|
|
316
|
+
this._value.forEach((item, index) => {
|
|
317
|
+
const clone = this.content.cloneNode(true);
|
|
318
|
+
const subTemplates = clone.querySelectorAll('template[is^="swc-"]');
|
|
319
|
+
subTemplates.forEach((t) => t.remove());
|
|
320
|
+
const nodes = Array.from(clone.childNodes);
|
|
321
|
+
const elements = nodes.filter((n) => n.nodeType === 1);
|
|
322
|
+
const groupArgs = { ...helperSet, $item: item, $index: index, $value: this._value, $nodes: nodes, $elements: elements, $firstElement: elements[0] };
|
|
323
|
+
nodes.forEach((node, nodeIdx) => {
|
|
324
|
+
if (node instanceof HTMLElement)
|
|
325
|
+
node.__swc_host = this;
|
|
326
|
+
this._executeCloneCallback("on-clone-node", { ...groupArgs, $node: node, $nodeIndex: nodeIdx, $isElement: node.nodeType === 1 });
|
|
327
|
+
});
|
|
328
|
+
this._executeCloneCallback("on-clone-nodes", groupArgs);
|
|
329
|
+
this._nodeGroups.push(nodes);
|
|
330
|
+
fragment.appendChild(clone);
|
|
331
|
+
});
|
|
332
|
+
}
|
|
333
|
+
if (portal === this.parentElement) {
|
|
334
|
+
portal.insertBefore(fragment, this.nextSibling);
|
|
335
|
+
} else {
|
|
336
|
+
portal.appendChild(fragment);
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
connectedCallback() {
|
|
340
|
+
this.refreshValue();
|
|
341
|
+
}
|
|
342
|
+
disconnectedCallback() {
|
|
343
|
+
this._cleanup();
|
|
344
|
+
}
|
|
345
|
+
};
|
|
346
|
+
__decorate([
|
|
347
|
+
(0, import_changedAttribute.changedAttribute)("on-get-value"),
|
|
348
|
+
__metadata("design:type", Function),
|
|
349
|
+
__metadata("design:paramtypes", []),
|
|
350
|
+
__metadata("design:returntype", void 0)
|
|
351
|
+
], SwcLoop.prototype, "refreshValue", null);
|
|
352
|
+
SwcLoop = __decorate([
|
|
353
|
+
(0, import_elementDefine.elementDefine)("swc-loop", { extends: "template", window: w })
|
|
354
|
+
], SwcLoop);
|
|
355
|
+
let SwcChoose = class SwcChoose extends HTMLTemplateElement {
|
|
356
|
+
constructor() {
|
|
357
|
+
super(...arguments);
|
|
358
|
+
this._nodes = [];
|
|
359
|
+
this._value = null;
|
|
360
|
+
}
|
|
361
|
+
get value() {
|
|
362
|
+
return this._value;
|
|
363
|
+
}
|
|
364
|
+
set value(nv) {
|
|
365
|
+
this._value = nv;
|
|
366
|
+
this.render();
|
|
367
|
+
}
|
|
368
|
+
_resolvePortal() {
|
|
369
|
+
const portalScript = this.getAttribute("on-get-portal");
|
|
370
|
+
if (!portalScript)
|
|
371
|
+
return this.parentElement;
|
|
372
|
+
const win = this.ownerDocument?.defaultView || window;
|
|
373
|
+
const res = import_FunctionUtils.FunctionUtils.executeReturn({
|
|
374
|
+
script: portalScript,
|
|
375
|
+
context: this,
|
|
376
|
+
args: import_Utils.SwcUtils.getHelperAndHostSet(win, this)
|
|
377
|
+
});
|
|
378
|
+
if (res instanceof HTMLElement)
|
|
379
|
+
return res;
|
|
380
|
+
if (typeof res === "string")
|
|
381
|
+
return win.document.querySelector(res);
|
|
382
|
+
return this.parentElement;
|
|
383
|
+
}
|
|
384
|
+
_executeCloneCallback(attr, args) {
|
|
385
|
+
const script = this.getAttribute(attr);
|
|
386
|
+
if (!script)
|
|
387
|
+
return;
|
|
388
|
+
import_FunctionUtils.FunctionUtils.execute({ script, context: this, args });
|
|
389
|
+
}
|
|
390
|
+
refresh() {
|
|
391
|
+
const script = this.getAttribute("on-get-value");
|
|
392
|
+
if (!script) {
|
|
393
|
+
this.value = null;
|
|
394
|
+
return;
|
|
395
|
+
}
|
|
396
|
+
const win = this.ownerDocument?.defaultView || window;
|
|
397
|
+
const result = import_FunctionUtils.FunctionUtils.executeReturn({ script, context: this, args: import_Utils.SwcUtils.getHelperAndHostSet(win, this) });
|
|
398
|
+
this.value = result;
|
|
399
|
+
}
|
|
400
|
+
render() {
|
|
401
|
+
this.cleanup();
|
|
402
|
+
const portal = this._resolvePortal();
|
|
403
|
+
if (!portal)
|
|
404
|
+
return;
|
|
405
|
+
const win = this.ownerDocument?.defaultView || window;
|
|
406
|
+
const helperSet = import_Utils.SwcUtils.getHelperAndHostSet(win, this);
|
|
407
|
+
const templates = Array.from(this.content.querySelectorAll("template"));
|
|
408
|
+
let selected = null;
|
|
409
|
+
for (const t of templates) {
|
|
410
|
+
if (t.getAttribute("is") === "swc-when" && String(t.getAttribute("value")) === String(this._value)) {
|
|
411
|
+
selected = t;
|
|
412
|
+
break;
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
const target = selected || this.content.querySelector('template[is="swc-otherwise"]');
|
|
416
|
+
if (target) {
|
|
417
|
+
const clone = target.content.cloneNode(true);
|
|
418
|
+
this._nodes = Array.from(clone.childNodes);
|
|
419
|
+
const elements = this._nodes.filter((n) => n.nodeType === 1);
|
|
420
|
+
const groupArgs = { ...helperSet, $value: this._value, $nodes: this._nodes, $elements: elements, $firstElement: elements[0] };
|
|
421
|
+
this._nodes.forEach((n, nodeIdx) => {
|
|
422
|
+
if (n instanceof HTMLElement)
|
|
423
|
+
n.__swc_host = this;
|
|
424
|
+
this._executeCloneCallback("on-clone-node", { ...groupArgs, $node: n, $nodeIndex: nodeIdx, $isElement: n.nodeType === 1 });
|
|
425
|
+
});
|
|
426
|
+
this._executeCloneCallback("on-clone-nodes", groupArgs);
|
|
427
|
+
if (portal === this.parentElement) {
|
|
428
|
+
portal.insertBefore(clone, this.nextSibling);
|
|
429
|
+
} else {
|
|
430
|
+
portal.appendChild(clone);
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
cleanup() {
|
|
435
|
+
this._nodes.forEach((n) => n.parentElement?.removeChild(n));
|
|
436
|
+
this._nodes = [];
|
|
437
|
+
}
|
|
438
|
+
connectedCallback() {
|
|
439
|
+
this.refresh();
|
|
440
|
+
}
|
|
441
|
+
disconnectedCallback() {
|
|
442
|
+
this.cleanup();
|
|
443
|
+
}
|
|
444
|
+
};
|
|
445
|
+
__decorate([
|
|
446
|
+
(0, import_changedAttribute.changedAttribute)("on-get-value"),
|
|
447
|
+
__metadata("design:type", Function),
|
|
448
|
+
__metadata("design:paramtypes", []),
|
|
449
|
+
__metadata("design:returntype", void 0)
|
|
450
|
+
], SwcChoose.prototype, "refresh", null);
|
|
451
|
+
SwcChoose = __decorate([
|
|
452
|
+
(0, import_elementDefine.elementDefine)("swc-choose", { extends: "template", window: w })
|
|
453
|
+
], SwcChoose);
|
|
454
|
+
let SwcAsync = class SwcAsync extends HTMLTemplateElement {
|
|
455
|
+
constructor() {
|
|
456
|
+
super(...arguments);
|
|
457
|
+
this._nodes = [];
|
|
458
|
+
this._value = null;
|
|
459
|
+
}
|
|
460
|
+
_resolvePortal() {
|
|
461
|
+
const portalScript = this.getAttribute("on-get-portal");
|
|
462
|
+
if (!portalScript)
|
|
463
|
+
return this.parentElement;
|
|
464
|
+
const win = this.ownerDocument?.defaultView || window;
|
|
465
|
+
const res = import_FunctionUtils.FunctionUtils.executeReturn({
|
|
466
|
+
script: portalScript,
|
|
467
|
+
context: this,
|
|
468
|
+
args: import_Utils.SwcUtils.getHelperAndHostSet(win, this)
|
|
469
|
+
});
|
|
470
|
+
if (res instanceof HTMLElement)
|
|
471
|
+
return res;
|
|
472
|
+
if (typeof res === "string")
|
|
473
|
+
return win.document.querySelector(res);
|
|
474
|
+
return this.parentElement;
|
|
475
|
+
}
|
|
476
|
+
_executeCloneCallback(attr, args) {
|
|
477
|
+
const script = this.getAttribute(attr);
|
|
478
|
+
if (!script)
|
|
479
|
+
return;
|
|
480
|
+
import_FunctionUtils.FunctionUtils.execute({ script, context: this, args });
|
|
481
|
+
}
|
|
482
|
+
refresh() {
|
|
483
|
+
const script = this.getAttribute("on-get-value");
|
|
484
|
+
if (!script)
|
|
485
|
+
return;
|
|
486
|
+
const win = this.ownerDocument?.defaultView || window;
|
|
487
|
+
const result = import_FunctionUtils.FunctionUtils.executeReturn({ script, context: this, args: import_Utils.SwcUtils.getHelperAndHostSet(win, this) });
|
|
488
|
+
if (result instanceof Promise) {
|
|
489
|
+
this.render("loading");
|
|
490
|
+
result.then((v) => {
|
|
491
|
+
this._value = v;
|
|
492
|
+
this.render("success");
|
|
493
|
+
}).catch((e) => this.render("error"));
|
|
494
|
+
} else {
|
|
495
|
+
this._value = result;
|
|
496
|
+
this.render("success");
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
render(state) {
|
|
500
|
+
this.cleanup();
|
|
501
|
+
const portal = this._resolvePortal();
|
|
502
|
+
if (!portal)
|
|
503
|
+
return;
|
|
504
|
+
const win = this.ownerDocument?.defaultView || window;
|
|
505
|
+
const helperSet = import_Utils.SwcUtils.getHelperAndHostSet(win, this);
|
|
506
|
+
const t = this.content.querySelector(`template[is="swc-${state}"]`);
|
|
507
|
+
if (t) {
|
|
508
|
+
const clone = t.content.cloneNode(true);
|
|
509
|
+
this._nodes = Array.from(clone.childNodes);
|
|
510
|
+
const elements = this._nodes.filter((n) => n.nodeType === 1);
|
|
511
|
+
const groupArgs = { ...helperSet, $value: this._value, $nodes: this._nodes, $elements: elements, $firstElement: elements[0], $state: state };
|
|
512
|
+
this._nodes.forEach((n, nodeIdx) => {
|
|
513
|
+
if (n instanceof HTMLElement)
|
|
514
|
+
n.__swc_host = this;
|
|
515
|
+
this._executeCloneCallback("on-clone-node", { ...groupArgs, $node: n, $nodeIndex: nodeIdx, $isElement: n.nodeType === 1 });
|
|
516
|
+
});
|
|
517
|
+
this._executeCloneCallback("on-clone-nodes", groupArgs);
|
|
518
|
+
if (portal === this.parentElement) {
|
|
519
|
+
portal.insertBefore(clone, this.nextSibling);
|
|
520
|
+
} else {
|
|
521
|
+
portal.appendChild(clone);
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
cleanup() {
|
|
526
|
+
this._nodes.forEach((n) => n.parentElement?.removeChild(n));
|
|
527
|
+
this._nodes = [];
|
|
528
|
+
}
|
|
529
|
+
connectedCallback() {
|
|
530
|
+
this.refresh();
|
|
531
|
+
}
|
|
532
|
+
disconnectedCallback() {
|
|
533
|
+
this.cleanup();
|
|
534
|
+
}
|
|
535
|
+
};
|
|
536
|
+
__decorate([
|
|
537
|
+
(0, import_changedAttribute.changedAttribute)("on-get-value"),
|
|
538
|
+
__metadata("design:type", Function),
|
|
539
|
+
__metadata("design:paramtypes", []),
|
|
540
|
+
__metadata("design:returntype", void 0)
|
|
541
|
+
], SwcAsync.prototype, "refresh", null);
|
|
542
|
+
SwcAsync = __decorate([
|
|
543
|
+
(0, import_elementDefine.elementDefine)("swc-async", { extends: "template", window: w })
|
|
544
|
+
], SwcAsync);
|
|
545
|
+
let SwcAppAnchor = class SwcAppAnchor extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLAnchorElement) {
|
|
546
|
+
};
|
|
547
|
+
SwcAppAnchor = __decorate([
|
|
548
|
+
(0, import_elementDefine.elementDefine)("swc-app-a", { extends: "a", window: w })
|
|
549
|
+
], SwcAppAnchor);
|
|
550
|
+
let SwcAppArea = class SwcAppArea extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLAreaElement) {
|
|
551
|
+
};
|
|
552
|
+
SwcAppArea = __decorate([
|
|
553
|
+
(0, import_elementDefine.elementDefine)("swc-app-area", { extends: "area", window: w })
|
|
554
|
+
], SwcAppArea);
|
|
555
|
+
let SwcAppAudio = class SwcAppAudio extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLAudioElement) {
|
|
556
|
+
};
|
|
557
|
+
SwcAppAudio = __decorate([
|
|
558
|
+
(0, import_elementDefine.elementDefine)("swc-app-audio", { extends: "audio", window: w })
|
|
559
|
+
], SwcAppAudio);
|
|
560
|
+
let SwcAppBase = class SwcAppBase extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLBaseElement) {
|
|
561
|
+
};
|
|
562
|
+
SwcAppBase = __decorate([
|
|
563
|
+
(0, import_elementDefine.elementDefine)("swc-app-base", { extends: "base", window: w })
|
|
564
|
+
], SwcAppBase);
|
|
565
|
+
let SwcAppButton = class SwcAppButton extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLButtonElement) {
|
|
566
|
+
};
|
|
567
|
+
SwcAppButton = __decorate([
|
|
568
|
+
(0, import_elementDefine.elementDefine)("swc-app-button", { extends: "button", window: w })
|
|
569
|
+
], SwcAppButton);
|
|
570
|
+
let SwcAppCanvas = class SwcAppCanvas extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLCanvasElement) {
|
|
571
|
+
};
|
|
572
|
+
SwcAppCanvas = __decorate([
|
|
573
|
+
(0, import_elementDefine.elementDefine)("swc-app-canvas", { extends: "canvas", window: w })
|
|
574
|
+
], SwcAppCanvas);
|
|
575
|
+
let SwcAppData = class SwcAppData extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLDataElement) {
|
|
576
|
+
};
|
|
577
|
+
SwcAppData = __decorate([
|
|
578
|
+
(0, import_elementDefine.elementDefine)("swc-app-data", { extends: "data", window: w })
|
|
579
|
+
], SwcAppData);
|
|
580
|
+
let SwcAppDataList = class SwcAppDataList extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLDataListElement) {
|
|
581
|
+
};
|
|
582
|
+
SwcAppDataList = __decorate([
|
|
583
|
+
(0, import_elementDefine.elementDefine)("swc-app-datalist", { extends: "datalist", window: w })
|
|
584
|
+
], SwcAppDataList);
|
|
585
|
+
let SwcAppDetails = class SwcAppDetails extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLDetailsElement) {
|
|
586
|
+
};
|
|
587
|
+
SwcAppDetails = __decorate([
|
|
588
|
+
(0, import_elementDefine.elementDefine)("swc-app-details", { extends: "details", window: w })
|
|
589
|
+
], SwcAppDetails);
|
|
590
|
+
let SwcAppDialog = class SwcAppDialog extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLDialogElement) {
|
|
591
|
+
};
|
|
592
|
+
SwcAppDialog = __decorate([
|
|
593
|
+
(0, import_elementDefine.elementDefine)("swc-app-dialog", { extends: "dialog", window: w })
|
|
594
|
+
], SwcAppDialog);
|
|
595
|
+
let SwcAppDiv = class SwcAppDiv extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLDivElement) {
|
|
596
|
+
};
|
|
597
|
+
SwcAppDiv = __decorate([
|
|
598
|
+
(0, import_elementDefine.elementDefine)("swc-app-div", { extends: "div", window: w })
|
|
599
|
+
], SwcAppDiv);
|
|
600
|
+
let SwcAppDList = class SwcAppDList extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLDListElement) {
|
|
601
|
+
};
|
|
602
|
+
SwcAppDList = __decorate([
|
|
603
|
+
(0, import_elementDefine.elementDefine)("swc-app-dl", { extends: "dl", window: w })
|
|
604
|
+
], SwcAppDList);
|
|
605
|
+
let SwcAppEmbed = class SwcAppEmbed extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLEmbedElement) {
|
|
606
|
+
};
|
|
607
|
+
SwcAppEmbed = __decorate([
|
|
608
|
+
(0, import_elementDefine.elementDefine)("swc-app-embed", { extends: "embed", window: w })
|
|
609
|
+
], SwcAppEmbed);
|
|
610
|
+
let SwcAppFieldSet = class SwcAppFieldSet extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLFieldSetElement) {
|
|
611
|
+
};
|
|
612
|
+
SwcAppFieldSet = __decorate([
|
|
613
|
+
(0, import_elementDefine.elementDefine)("swc-app-fieldset", { extends: "fieldset", window: w })
|
|
614
|
+
], SwcAppFieldSet);
|
|
615
|
+
let SwcAppForm = class SwcAppForm extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLFormElement) {
|
|
616
|
+
};
|
|
617
|
+
SwcAppForm = __decorate([
|
|
618
|
+
(0, import_elementDefine.elementDefine)("swc-app-form", { extends: "form", window: w })
|
|
619
|
+
], SwcAppForm);
|
|
620
|
+
let SwcAppHR = class SwcAppHR extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLHRElement) {
|
|
621
|
+
};
|
|
622
|
+
SwcAppHR = __decorate([
|
|
623
|
+
(0, import_elementDefine.elementDefine)("swc-app-hr", { extends: "hr", window: w })
|
|
624
|
+
], SwcAppHR);
|
|
625
|
+
let SwcAppIFrame = class SwcAppIFrame extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLIFrameElement) {
|
|
626
|
+
};
|
|
627
|
+
SwcAppIFrame = __decorate([
|
|
628
|
+
(0, import_elementDefine.elementDefine)("swc-app-iframe", { extends: "iframe", window: w })
|
|
629
|
+
], SwcAppIFrame);
|
|
630
|
+
let SwcAppImage = class SwcAppImage extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLImageElement) {
|
|
631
|
+
};
|
|
632
|
+
SwcAppImage = __decorate([
|
|
633
|
+
(0, import_elementDefine.elementDefine)("swc-app-img", { extends: "img", window: w })
|
|
634
|
+
], SwcAppImage);
|
|
635
|
+
let SwcAppInput = class SwcAppInput extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLInputElement) {
|
|
636
|
+
};
|
|
637
|
+
SwcAppInput = __decorate([
|
|
638
|
+
(0, import_elementDefine.elementDefine)("swc-app-input", { extends: "input", window: w })
|
|
639
|
+
], SwcAppInput);
|
|
640
|
+
let SwcAppLabel = class SwcAppLabel extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLLabelElement) {
|
|
641
|
+
};
|
|
642
|
+
SwcAppLabel = __decorate([
|
|
643
|
+
(0, import_elementDefine.elementDefine)("swc-app-label", { extends: "label", window: w })
|
|
644
|
+
], SwcAppLabel);
|
|
645
|
+
let SwcAppLegend = class SwcAppLegend extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLLegendElement) {
|
|
646
|
+
};
|
|
647
|
+
SwcAppLegend = __decorate([
|
|
648
|
+
(0, import_elementDefine.elementDefine)("swc-app-legend", { extends: "legend", window: w })
|
|
649
|
+
], SwcAppLegend);
|
|
650
|
+
let SwcAppLI = class SwcAppLI extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLLIElement) {
|
|
651
|
+
};
|
|
652
|
+
SwcAppLI = __decorate([
|
|
653
|
+
(0, import_elementDefine.elementDefine)("swc-app-li", { extends: "li", window: w })
|
|
654
|
+
], SwcAppLI);
|
|
655
|
+
let SwcAppLink = class SwcAppLink extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLLinkElement) {
|
|
656
|
+
};
|
|
657
|
+
SwcAppLink = __decorate([
|
|
658
|
+
(0, import_elementDefine.elementDefine)("swc-app-link", { extends: "link", window: w })
|
|
659
|
+
], SwcAppLink);
|
|
660
|
+
let SwcAppMap = class SwcAppMap extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLMapElement) {
|
|
661
|
+
};
|
|
662
|
+
SwcAppMap = __decorate([
|
|
663
|
+
(0, import_elementDefine.elementDefine)("swc-app-map", { extends: "map", window: w })
|
|
664
|
+
], SwcAppMap);
|
|
665
|
+
let SwcAppMeta = class SwcAppMeta extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLMetaElement) {
|
|
666
|
+
};
|
|
667
|
+
SwcAppMeta = __decorate([
|
|
668
|
+
(0, import_elementDefine.elementDefine)("swc-app-meta", { extends: "meta", window: w })
|
|
669
|
+
], SwcAppMeta);
|
|
670
|
+
let SwcAppMeter = class SwcAppMeter extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLMeterElement) {
|
|
671
|
+
};
|
|
672
|
+
SwcAppMeter = __decorate([
|
|
673
|
+
(0, import_elementDefine.elementDefine)("swc-app-meter", { extends: "meter", window: w })
|
|
674
|
+
], SwcAppMeter);
|
|
675
|
+
let SwcAppMod = class SwcAppMod extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLModElement) {
|
|
676
|
+
};
|
|
677
|
+
SwcAppMod = __decorate([
|
|
678
|
+
(0, import_elementDefine.elementDefine)("swc-app-del", { extends: "del", window: w })
|
|
679
|
+
], SwcAppMod);
|
|
680
|
+
let SwcAppObject = class SwcAppObject extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLObjectElement) {
|
|
681
|
+
};
|
|
682
|
+
SwcAppObject = __decorate([
|
|
683
|
+
(0, import_elementDefine.elementDefine)("swc-app-object", { extends: "object", window: w })
|
|
684
|
+
], SwcAppObject);
|
|
685
|
+
let SwcAppOList = class SwcAppOList extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLOListElement) {
|
|
686
|
+
};
|
|
687
|
+
SwcAppOList = __decorate([
|
|
688
|
+
(0, import_elementDefine.elementDefine)("swc-app-ol", { extends: "ol", window: w })
|
|
689
|
+
], SwcAppOList);
|
|
690
|
+
let SwcAppOptGroup = class SwcAppOptGroup extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLOptGroupElement) {
|
|
691
|
+
};
|
|
692
|
+
SwcAppOptGroup = __decorate([
|
|
693
|
+
(0, import_elementDefine.elementDefine)("swc-app-optgroup", { extends: "optgroup", window: w })
|
|
694
|
+
], SwcAppOptGroup);
|
|
695
|
+
let SwcAppOption = class SwcAppOption extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLOptionElement) {
|
|
696
|
+
};
|
|
697
|
+
SwcAppOption = __decorate([
|
|
698
|
+
(0, import_elementDefine.elementDefine)("swc-app-option", { extends: "option", window: w })
|
|
699
|
+
], SwcAppOption);
|
|
700
|
+
let SwcAppOutput = class SwcAppOutput extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLOutputElement) {
|
|
701
|
+
};
|
|
702
|
+
SwcAppOutput = __decorate([
|
|
703
|
+
(0, import_elementDefine.elementDefine)("swc-app-output", { extends: "output", window: w })
|
|
704
|
+
], SwcAppOutput);
|
|
705
|
+
let SwcAppParagraph = class SwcAppParagraph extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLParagraphElement) {
|
|
706
|
+
};
|
|
707
|
+
SwcAppParagraph = __decorate([
|
|
708
|
+
(0, import_elementDefine.elementDefine)("swc-app-p", { extends: "p", window: w })
|
|
709
|
+
], SwcAppParagraph);
|
|
710
|
+
let SwcAppParam = class SwcAppParam extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLParamElement) {
|
|
711
|
+
};
|
|
712
|
+
SwcAppParam = __decorate([
|
|
713
|
+
(0, import_elementDefine.elementDefine)("swc-app-param", { extends: "param", window: w })
|
|
714
|
+
], SwcAppParam);
|
|
715
|
+
let SwcAppPicture = class SwcAppPicture extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLPictureElement) {
|
|
716
|
+
};
|
|
717
|
+
SwcAppPicture = __decorate([
|
|
718
|
+
(0, import_elementDefine.elementDefine)("swc-app-picture", { extends: "picture", window: w })
|
|
719
|
+
], SwcAppPicture);
|
|
720
|
+
let SwcAppPre = class SwcAppPre extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLPreElement) {
|
|
721
|
+
};
|
|
722
|
+
SwcAppPre = __decorate([
|
|
723
|
+
(0, import_elementDefine.elementDefine)("swc-app-pre", { extends: "pre", window: w })
|
|
724
|
+
], SwcAppPre);
|
|
725
|
+
let SwcAppProgress = class SwcAppProgress extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLProgressElement) {
|
|
726
|
+
};
|
|
727
|
+
SwcAppProgress = __decorate([
|
|
728
|
+
(0, import_elementDefine.elementDefine)("swc-app-progress", { extends: "progress", window: w })
|
|
729
|
+
], SwcAppProgress);
|
|
730
|
+
let SwcAppQuote = class SwcAppQuote extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLQuoteElement) {
|
|
731
|
+
};
|
|
732
|
+
SwcAppQuote = __decorate([
|
|
733
|
+
(0, import_elementDefine.elementDefine)("swc-app-blockquote", { extends: "blockquote", window: w })
|
|
734
|
+
], SwcAppQuote);
|
|
735
|
+
let SwcAppScript = class SwcAppScript extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLScriptElement) {
|
|
736
|
+
};
|
|
737
|
+
SwcAppScript = __decorate([
|
|
738
|
+
(0, import_elementDefine.elementDefine)("swc-app-script", { extends: "script", window: w })
|
|
739
|
+
], SwcAppScript);
|
|
740
|
+
let SwcAppSelect = class SwcAppSelect extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLSelectElement) {
|
|
741
|
+
};
|
|
742
|
+
SwcAppSelect = __decorate([
|
|
743
|
+
(0, import_elementDefine.elementDefine)("swc-app-select", { extends: "select", window: w })
|
|
744
|
+
], SwcAppSelect);
|
|
745
|
+
let SwcAppSlot = class SwcAppSlot extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLSlotElement) {
|
|
746
|
+
};
|
|
747
|
+
SwcAppSlot = __decorate([
|
|
748
|
+
(0, import_elementDefine.elementDefine)("swc-app-slot", { extends: "slot", window: w })
|
|
749
|
+
], SwcAppSlot);
|
|
750
|
+
let SwcAppSource = class SwcAppSource extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLSourceElement) {
|
|
751
|
+
};
|
|
752
|
+
SwcAppSource = __decorate([
|
|
753
|
+
(0, import_elementDefine.elementDefine)("swc-app-source", { extends: "source", window: w })
|
|
754
|
+
], SwcAppSource);
|
|
755
|
+
let SwcAppSpan = class SwcAppSpan extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLSpanElement) {
|
|
756
|
+
};
|
|
757
|
+
SwcAppSpan = __decorate([
|
|
758
|
+
(0, import_elementDefine.elementDefine)("swc-app-span", { extends: "span", window: w })
|
|
759
|
+
], SwcAppSpan);
|
|
760
|
+
let SwcAppStyle = class SwcAppStyle extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLStyleElement) {
|
|
761
|
+
};
|
|
762
|
+
SwcAppStyle = __decorate([
|
|
763
|
+
(0, import_elementDefine.elementDefine)("swc-app-style", { extends: "style", window: w })
|
|
764
|
+
], SwcAppStyle);
|
|
765
|
+
let SwcAppTable = class SwcAppTable extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLTableElement) {
|
|
766
|
+
};
|
|
767
|
+
SwcAppTable = __decorate([
|
|
768
|
+
(0, import_elementDefine.elementDefine)("swc-app-table", { extends: "table", window: w })
|
|
769
|
+
], SwcAppTable);
|
|
770
|
+
let SwcAppTableSection = class SwcAppTableSection extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLTableSectionElement) {
|
|
771
|
+
};
|
|
772
|
+
SwcAppTableSection = __decorate([
|
|
773
|
+
(0, import_elementDefine.elementDefine)("swc-app-tbody", { extends: "tbody", window: w })
|
|
774
|
+
], SwcAppTableSection);
|
|
775
|
+
let SwcAppTableCell = class SwcAppTableCell extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLTableCellElement) {
|
|
776
|
+
};
|
|
777
|
+
SwcAppTableCell = __decorate([
|
|
778
|
+
(0, import_elementDefine.elementDefine)("swc-app-td", { extends: "td", window: w })
|
|
779
|
+
], SwcAppTableCell);
|
|
780
|
+
let SwcAppTemplate = class SwcAppTemplate extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLTemplateElement) {
|
|
781
|
+
};
|
|
782
|
+
SwcAppTemplate = __decorate([
|
|
783
|
+
(0, import_elementDefine.elementDefine)("swc-app-template", { extends: "template", window: w })
|
|
784
|
+
], SwcAppTemplate);
|
|
785
|
+
let SwcAppTextArea = class SwcAppTextArea extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLTextAreaElement) {
|
|
786
|
+
};
|
|
787
|
+
SwcAppTextArea = __decorate([
|
|
788
|
+
(0, import_elementDefine.elementDefine)("swc-app-textarea", { extends: "textarea", window: w })
|
|
789
|
+
], SwcAppTextArea);
|
|
790
|
+
let SwcAppTime = class SwcAppTime extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLTimeElement) {
|
|
791
|
+
};
|
|
792
|
+
SwcAppTime = __decorate([
|
|
793
|
+
(0, import_elementDefine.elementDefine)("swc-app-time", { extends: "time", window: w })
|
|
794
|
+
], SwcAppTime);
|
|
795
|
+
let SwcAppTitle = class SwcAppTitle extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLTitleElement) {
|
|
796
|
+
};
|
|
797
|
+
SwcAppTitle = __decorate([
|
|
798
|
+
(0, import_elementDefine.elementDefine)("swc-app-title", { extends: "title", window: w })
|
|
799
|
+
], SwcAppTitle);
|
|
800
|
+
let SwcAppTableRow = class SwcAppTableRow extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLTableRowElement) {
|
|
801
|
+
};
|
|
802
|
+
SwcAppTableRow = __decorate([
|
|
803
|
+
(0, import_elementDefine.elementDefine)("swc-app-tr", { extends: "tr", window: w })
|
|
804
|
+
], SwcAppTableRow);
|
|
805
|
+
let SwcAppTrack = class SwcAppTrack extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLTrackElement) {
|
|
806
|
+
};
|
|
807
|
+
SwcAppTrack = __decorate([
|
|
808
|
+
(0, import_elementDefine.elementDefine)("swc-app-track", { extends: "track", window: w })
|
|
809
|
+
], SwcAppTrack);
|
|
810
|
+
let SwcAppUList = class SwcAppUList extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLUListElement) {
|
|
811
|
+
};
|
|
812
|
+
SwcAppUList = __decorate([
|
|
813
|
+
(0, import_elementDefine.elementDefine)("swc-app-ul", { extends: "ul", window: w })
|
|
814
|
+
], SwcAppUList);
|
|
815
|
+
let SwcAppVideo = class SwcAppVideo extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLVideoElement) {
|
|
816
|
+
};
|
|
817
|
+
SwcAppVideo = __decorate([
|
|
818
|
+
(0, import_elementDefine.elementDefine)("swc-app-video", { extends: "video", window: w })
|
|
819
|
+
], SwcAppVideo);
|
|
820
|
+
let SwcAppHeading = class SwcAppHeading extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLHeadingElement) {
|
|
821
|
+
};
|
|
822
|
+
SwcAppHeading = __decorate([
|
|
823
|
+
(0, import_elementDefine.elementDefine)("swc-app-h1", { extends: "h1", window: w })
|
|
824
|
+
], SwcAppHeading);
|
|
825
|
+
let SwcAppBody = class SwcAppBody extends (0, import_SwcAppMixin.SwcAppMixin)(HTMLBodyElement) {
|
|
826
|
+
};
|
|
827
|
+
SwcAppBody = __decorate([
|
|
828
|
+
(0, import_elementDefine.elementDefine)("swc-app-body", { extends: "body", window: w })
|
|
829
|
+
], SwcAppBody);
|
|
830
|
+
};
|
|
831
|
+
//# sourceMappingURL=register.js.map
|