@dooboostore/simple-web-component 1.0.6 → 1.0.7
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 +134 -87
- package/dist/cjs/decorators/addEventListener.js.map +1 -1
- package/dist/cjs/decorators/elementDefine.js +59 -35
- package/dist/cjs/decorators/elementDefine.js.map +2 -2
- package/dist/cjs/decorators/query.js +27 -5
- package/dist/cjs/decorators/query.js.map +2 -2
- package/dist/cjs/decorators/queryAll.js +27 -5
- package/dist/cjs/decorators/queryAll.js.map +2 -2
- package/dist/cjs/decorators/state.js.map +1 -1
- package/dist/cjs/elements/SwcChoose.js.map +2 -2
- package/dist/cjs/elements/SwcForOf.js +3 -1
- package/dist/cjs/elements/SwcForOf.js.map +2 -2
- package/dist/cjs/elements/SwcObject.js +8 -6
- package/dist/cjs/elements/SwcObject.js.map +2 -2
- package/dist/cjs/index.js +3 -6
- package/dist/cjs/index.js.map +2 -2
- package/dist/cjs/is/SwcIfAnchor.js +1 -1
- package/dist/cjs/is/SwcIfAnchor.js.map +2 -2
- package/dist/cjs/is/SwcIfArea.js +1 -1
- package/dist/cjs/is/SwcIfArea.js.map +2 -2
- package/dist/cjs/is/SwcIfAudio.js +1 -1
- package/dist/cjs/is/SwcIfAudio.js.map +2 -2
- package/dist/cjs/is/SwcIfBase.js +1 -1
- package/dist/cjs/is/SwcIfBase.js.map +2 -2
- package/dist/cjs/is/SwcIfButton.js +1 -1
- package/dist/cjs/is/SwcIfButton.js.map +2 -2
- package/dist/cjs/is/SwcIfCanvas.js +1 -1
- package/dist/cjs/is/SwcIfCanvas.js.map +2 -2
- package/dist/cjs/is/SwcIfData.js +1 -1
- package/dist/cjs/is/SwcIfData.js.map +2 -2
- package/dist/cjs/is/SwcIfDataList.js +1 -1
- package/dist/cjs/is/SwcIfDataList.js.map +2 -2
- package/dist/cjs/is/SwcIfDetails.js +1 -1
- package/dist/cjs/is/SwcIfDetails.js.map +2 -2
- package/dist/cjs/is/SwcIfDialog.js +1 -1
- package/dist/cjs/is/SwcIfDialog.js.map +2 -2
- package/dist/cjs/is/SwcIfDiv.js +1 -1
- package/dist/cjs/is/SwcIfDiv.js.map +2 -2
- package/dist/cjs/is/SwcIfDl.js +1 -1
- package/dist/cjs/is/SwcIfDl.js.map +2 -2
- package/dist/cjs/is/SwcIfEmbed.js +1 -1
- package/dist/cjs/is/SwcIfEmbed.js.map +2 -2
- package/dist/cjs/is/SwcIfFieldSet.js +1 -1
- package/dist/cjs/is/SwcIfFieldSet.js.map +2 -2
- package/dist/cjs/is/SwcIfForm.js +1 -1
- package/dist/cjs/is/SwcIfForm.js.map +2 -2
- package/dist/cjs/is/SwcIfHeading.js +1 -1
- package/dist/cjs/is/SwcIfHeading.js.map +2 -2
- package/dist/cjs/is/SwcIfHr.js +1 -1
- package/dist/cjs/is/SwcIfHr.js.map +2 -2
- package/dist/cjs/is/SwcIfIFrame.js +1 -1
- package/dist/cjs/is/SwcIfIFrame.js.map +2 -2
- package/dist/cjs/is/SwcIfImage.js +1 -1
- package/dist/cjs/is/SwcIfImage.js.map +2 -2
- package/dist/cjs/is/SwcIfInput.js +1 -1
- package/dist/cjs/is/SwcIfInput.js.map +2 -2
- package/dist/cjs/is/SwcIfLabel.js +1 -1
- package/dist/cjs/is/SwcIfLabel.js.map +2 -2
- package/dist/cjs/is/SwcIfLegend.js +1 -1
- package/dist/cjs/is/SwcIfLegend.js.map +2 -2
- package/dist/cjs/is/SwcIfLi.js +1 -1
- package/dist/cjs/is/SwcIfLi.js.map +2 -2
- package/dist/cjs/is/SwcIfLink.js +1 -1
- package/dist/cjs/is/SwcIfLink.js.map +2 -2
- package/dist/cjs/is/SwcIfMap.js +1 -1
- package/dist/cjs/is/SwcIfMap.js.map +2 -2
- package/dist/cjs/is/SwcIfMeta.js +1 -1
- package/dist/cjs/is/SwcIfMeta.js.map +2 -2
- package/dist/cjs/is/SwcIfMeter.js +1 -1
- package/dist/cjs/is/SwcIfMeter.js.map +2 -2
- package/dist/cjs/is/SwcIfMod.js +1 -1
- package/dist/cjs/is/SwcIfMod.js.map +2 -2
- package/dist/cjs/is/SwcIfObject.js +1 -1
- package/dist/cjs/is/SwcIfObject.js.map +2 -2
- package/dist/cjs/is/SwcIfOl.js +1 -1
- package/dist/cjs/is/SwcIfOl.js.map +2 -2
- package/dist/cjs/is/SwcIfOptGroup.js +1 -1
- package/dist/cjs/is/SwcIfOptGroup.js.map +2 -2
- package/dist/cjs/is/SwcIfOption.js +1 -1
- package/dist/cjs/is/SwcIfOption.js.map +2 -2
- package/dist/cjs/is/SwcIfOutput.js +1 -1
- package/dist/cjs/is/SwcIfOutput.js.map +2 -2
- package/dist/cjs/is/SwcIfParagraph.js +1 -1
- package/dist/cjs/is/SwcIfParagraph.js.map +2 -2
- package/dist/cjs/is/SwcIfParam.js +1 -1
- package/dist/cjs/is/SwcIfParam.js.map +2 -2
- package/dist/cjs/is/SwcIfPicture.js +1 -1
- package/dist/cjs/is/SwcIfPicture.js.map +2 -2
- package/dist/cjs/is/SwcIfPre.js +1 -1
- package/dist/cjs/is/SwcIfPre.js.map +2 -2
- package/dist/cjs/is/SwcIfProgress.js +1 -1
- package/dist/cjs/is/SwcIfProgress.js.map +2 -2
- package/dist/cjs/is/SwcIfQuote.js +1 -1
- package/dist/cjs/is/SwcIfQuote.js.map +2 -2
- package/dist/cjs/is/SwcIfScript.js +1 -1
- package/dist/cjs/is/SwcIfScript.js.map +2 -2
- package/dist/cjs/is/SwcIfSelect.js +1 -1
- package/dist/cjs/is/SwcIfSelect.js.map +2 -2
- package/dist/cjs/is/SwcIfSlot.js +1 -1
- package/dist/cjs/is/SwcIfSlot.js.map +2 -2
- package/dist/cjs/is/SwcIfSource.js +1 -1
- package/dist/cjs/is/SwcIfSource.js.map +2 -2
- package/dist/cjs/is/SwcIfSpan.js +1 -1
- package/dist/cjs/is/SwcIfSpan.js.map +2 -2
- package/dist/cjs/is/SwcIfStyle.js +1 -1
- package/dist/cjs/is/SwcIfStyle.js.map +2 -2
- package/dist/cjs/is/SwcIfTable.js +1 -1
- package/dist/cjs/is/SwcIfTable.js.map +2 -2
- package/dist/cjs/is/SwcIfTableCell.js +1 -1
- package/dist/cjs/is/SwcIfTableCell.js.map +2 -2
- package/dist/cjs/is/SwcIfTableRow.js +1 -1
- package/dist/cjs/is/SwcIfTableRow.js.map +2 -2
- package/dist/cjs/is/SwcIfTableSection.js +1 -1
- package/dist/cjs/is/SwcIfTableSection.js.map +2 -2
- package/dist/cjs/is/SwcIfTemplate.js +1 -1
- package/dist/cjs/is/SwcIfTemplate.js.map +2 -2
- package/dist/cjs/is/SwcIfTextArea.js +1 -1
- package/dist/cjs/is/SwcIfTextArea.js.map +2 -2
- package/dist/cjs/is/SwcIfTime.js +1 -1
- package/dist/cjs/is/SwcIfTime.js.map +2 -2
- package/dist/cjs/is/SwcIfTitle.js +1 -1
- package/dist/cjs/is/SwcIfTitle.js.map +2 -2
- package/dist/cjs/is/SwcIfTrack.js +1 -1
- package/dist/cjs/is/SwcIfTrack.js.map +2 -2
- package/dist/cjs/is/SwcIfUl.js +1 -1
- package/dist/cjs/is/SwcIfUl.js.map +2 -2
- package/dist/cjs/is/SwcIfVideo.js +1 -1
- package/dist/cjs/is/SwcIfVideo.js.map +2 -2
- package/dist/esm/decorators/addEventListener.js.map +1 -1
- package/dist/esm/decorators/elementDefine.js +59 -35
- package/dist/esm/decorators/elementDefine.js.map +2 -2
- package/dist/esm/decorators/query.js +27 -5
- package/dist/esm/decorators/query.js.map +2 -2
- package/dist/esm/decorators/queryAll.js +27 -5
- package/dist/esm/decorators/queryAll.js.map +2 -2
- package/dist/esm/decorators/state.js.map +1 -1
- package/dist/esm/elements/SwcChoose.js.map +2 -2
- package/dist/esm/elements/SwcForOf.js +3 -1
- package/dist/esm/elements/SwcForOf.js.map +2 -2
- package/dist/esm/elements/SwcObject.js +8 -6
- package/dist/esm/elements/SwcObject.js.map +2 -2
- package/dist/esm/index.js +3 -6
- package/dist/esm/index.js.map +2 -2
- package/dist/esm/is/SwcIfAnchor.js +1 -1
- package/dist/esm/is/SwcIfAnchor.js.map +2 -2
- package/dist/esm/is/SwcIfArea.js +1 -1
- package/dist/esm/is/SwcIfArea.js.map +2 -2
- package/dist/esm/is/SwcIfAudio.js +1 -1
- package/dist/esm/is/SwcIfAudio.js.map +2 -2
- package/dist/esm/is/SwcIfBase.js +1 -1
- package/dist/esm/is/SwcIfBase.js.map +2 -2
- package/dist/esm/is/SwcIfButton.js +1 -1
- package/dist/esm/is/SwcIfButton.js.map +2 -2
- package/dist/esm/is/SwcIfCanvas.js +1 -1
- package/dist/esm/is/SwcIfCanvas.js.map +2 -2
- package/dist/esm/is/SwcIfData.js +1 -1
- package/dist/esm/is/SwcIfData.js.map +2 -2
- package/dist/esm/is/SwcIfDataList.js +1 -1
- package/dist/esm/is/SwcIfDataList.js.map +2 -2
- package/dist/esm/is/SwcIfDetails.js +1 -1
- package/dist/esm/is/SwcIfDetails.js.map +2 -2
- package/dist/esm/is/SwcIfDialog.js +1 -1
- package/dist/esm/is/SwcIfDialog.js.map +2 -2
- package/dist/esm/is/SwcIfDiv.js +1 -1
- package/dist/esm/is/SwcIfDiv.js.map +2 -2
- package/dist/esm/is/SwcIfDl.js +1 -1
- package/dist/esm/is/SwcIfDl.js.map +2 -2
- package/dist/esm/is/SwcIfEmbed.js +1 -1
- package/dist/esm/is/SwcIfEmbed.js.map +2 -2
- package/dist/esm/is/SwcIfFieldSet.js +1 -1
- package/dist/esm/is/SwcIfFieldSet.js.map +2 -2
- package/dist/esm/is/SwcIfForm.js +1 -1
- package/dist/esm/is/SwcIfForm.js.map +2 -2
- package/dist/esm/is/SwcIfHeading.js +1 -1
- package/dist/esm/is/SwcIfHeading.js.map +2 -2
- package/dist/esm/is/SwcIfHr.js +1 -1
- package/dist/esm/is/SwcIfHr.js.map +2 -2
- package/dist/esm/is/SwcIfIFrame.js +1 -1
- package/dist/esm/is/SwcIfIFrame.js.map +2 -2
- package/dist/esm/is/SwcIfImage.js +1 -1
- package/dist/esm/is/SwcIfImage.js.map +2 -2
- package/dist/esm/is/SwcIfInput.js +1 -1
- package/dist/esm/is/SwcIfInput.js.map +2 -2
- package/dist/esm/is/SwcIfLabel.js +1 -1
- package/dist/esm/is/SwcIfLabel.js.map +2 -2
- package/dist/esm/is/SwcIfLegend.js +1 -1
- package/dist/esm/is/SwcIfLegend.js.map +2 -2
- package/dist/esm/is/SwcIfLi.js +1 -1
- package/dist/esm/is/SwcIfLi.js.map +2 -2
- package/dist/esm/is/SwcIfLink.js +1 -1
- package/dist/esm/is/SwcIfLink.js.map +2 -2
- package/dist/esm/is/SwcIfMap.js +1 -1
- package/dist/esm/is/SwcIfMap.js.map +2 -2
- package/dist/esm/is/SwcIfMeta.js +1 -1
- package/dist/esm/is/SwcIfMeta.js.map +2 -2
- package/dist/esm/is/SwcIfMeter.js +1 -1
- package/dist/esm/is/SwcIfMeter.js.map +2 -2
- package/dist/esm/is/SwcIfMod.js +1 -1
- package/dist/esm/is/SwcIfMod.js.map +2 -2
- package/dist/esm/is/SwcIfObject.js +1 -1
- package/dist/esm/is/SwcIfObject.js.map +2 -2
- package/dist/esm/is/SwcIfOl.js +1 -1
- package/dist/esm/is/SwcIfOl.js.map +2 -2
- package/dist/esm/is/SwcIfOptGroup.js +1 -1
- package/dist/esm/is/SwcIfOptGroup.js.map +2 -2
- package/dist/esm/is/SwcIfOption.js +1 -1
- package/dist/esm/is/SwcIfOption.js.map +2 -2
- package/dist/esm/is/SwcIfOutput.js +1 -1
- package/dist/esm/is/SwcIfOutput.js.map +2 -2
- package/dist/esm/is/SwcIfParagraph.js +1 -1
- package/dist/esm/is/SwcIfParagraph.js.map +2 -2
- package/dist/esm/is/SwcIfParam.js +1 -1
- package/dist/esm/is/SwcIfParam.js.map +2 -2
- package/dist/esm/is/SwcIfPicture.js +1 -1
- package/dist/esm/is/SwcIfPicture.js.map +2 -2
- package/dist/esm/is/SwcIfPre.js +1 -1
- package/dist/esm/is/SwcIfPre.js.map +2 -2
- package/dist/esm/is/SwcIfProgress.js +1 -1
- package/dist/esm/is/SwcIfProgress.js.map +2 -2
- package/dist/esm/is/SwcIfQuote.js +1 -1
- package/dist/esm/is/SwcIfQuote.js.map +2 -2
- package/dist/esm/is/SwcIfScript.js +1 -1
- package/dist/esm/is/SwcIfScript.js.map +2 -2
- package/dist/esm/is/SwcIfSelect.js +1 -1
- package/dist/esm/is/SwcIfSelect.js.map +2 -2
- package/dist/esm/is/SwcIfSlot.js +1 -1
- package/dist/esm/is/SwcIfSlot.js.map +2 -2
- package/dist/esm/is/SwcIfSource.js +1 -1
- package/dist/esm/is/SwcIfSource.js.map +2 -2
- package/dist/esm/is/SwcIfSpan.js +1 -1
- package/dist/esm/is/SwcIfSpan.js.map +2 -2
- package/dist/esm/is/SwcIfStyle.js +1 -1
- package/dist/esm/is/SwcIfStyle.js.map +2 -2
- package/dist/esm/is/SwcIfTable.js +1 -1
- package/dist/esm/is/SwcIfTable.js.map +2 -2
- package/dist/esm/is/SwcIfTableCell.js +1 -1
- package/dist/esm/is/SwcIfTableCell.js.map +2 -2
- package/dist/esm/is/SwcIfTableRow.js +1 -1
- package/dist/esm/is/SwcIfTableRow.js.map +2 -2
- package/dist/esm/is/SwcIfTableSection.js +1 -1
- package/dist/esm/is/SwcIfTableSection.js.map +2 -2
- package/dist/esm/is/SwcIfTemplate.js +1 -1
- package/dist/esm/is/SwcIfTemplate.js.map +2 -2
- package/dist/esm/is/SwcIfTextArea.js +1 -1
- package/dist/esm/is/SwcIfTextArea.js.map +2 -2
- package/dist/esm/is/SwcIfTime.js +1 -1
- package/dist/esm/is/SwcIfTime.js.map +2 -2
- package/dist/esm/is/SwcIfTitle.js +1 -1
- package/dist/esm/is/SwcIfTitle.js.map +2 -2
- package/dist/esm/is/SwcIfTrack.js +1 -1
- package/dist/esm/is/SwcIfTrack.js.map +2 -2
- package/dist/esm/is/SwcIfUl.js +1 -1
- package/dist/esm/is/SwcIfUl.js.map +2 -2
- package/dist/esm/is/SwcIfVideo.js +1 -1
- package/dist/esm/is/SwcIfVideo.js.map +2 -2
- package/dist/esm-bundle/dooboostore-simple-web-component.esm.js +1938 -2014
- package/dist/esm-bundle/dooboostore-simple-web-component.esm.js.map +4 -4
- package/dist/types/decorators/addEventListener.d.ts +1 -1
- package/dist/types/decorators/addEventListener.d.ts.map +1 -1
- package/dist/types/decorators/elementDefine.d.ts.map +1 -1
- package/dist/types/decorators/query.d.ts +5 -2
- package/dist/types/decorators/query.d.ts.map +1 -1
- package/dist/types/decorators/queryAll.d.ts +5 -2
- package/dist/types/decorators/queryAll.d.ts.map +1 -1
- package/dist/types/decorators/state.d.ts +1 -1
- package/dist/types/decorators/state.d.ts.map +1 -1
- package/dist/types/elements/SwcChoose.d.ts.map +1 -1
- package/dist/types/elements/SwcForOf.d.ts.map +1 -1
- package/dist/types/elements/SwcObject.d.ts.map +1 -1
- package/dist/types/index.d.ts +3 -6
- package/dist/types/index.d.ts.map +1 -1
- package/dist/umd-bundle/dooboostore-simple-web-component.umd.js +1938 -2014
- package/dist/umd-bundle/dooboostore-simple-web-component.umd.js.map +4 -4
- package/package.json +4 -4
- package/src/decorators/addEventListener.ts +1 -1
- package/src/decorators/elementDefine.ts +64 -35
- package/src/decorators/query.ts +35 -8
- package/src/decorators/queryAll.ts +35 -8
- package/src/decorators/state.ts +1 -1
- package/src/elements/SwcChoose.ts +1 -5
- package/src/elements/SwcForOf.ts +2 -1
- package/src/elements/SwcObject.ts +8 -6
- package/src/index.ts +3 -6
- package/src/is/SwcIfAnchor.ts +1 -1
- package/src/is/SwcIfArea.ts +1 -1
- package/src/is/SwcIfAudio.ts +1 -1
- package/src/is/SwcIfBase.ts +1 -1
- package/src/is/SwcIfButton.ts +1 -1
- package/src/is/SwcIfCanvas.ts +1 -1
- package/src/is/SwcIfData.ts +1 -1
- package/src/is/SwcIfDataList.ts +1 -1
- package/src/is/SwcIfDetails.ts +1 -1
- package/src/is/SwcIfDialog.ts +1 -1
- package/src/is/SwcIfDiv.ts +1 -1
- package/src/is/SwcIfDl.ts +1 -1
- package/src/is/SwcIfEmbed.ts +1 -1
- package/src/is/SwcIfFieldSet.ts +1 -1
- package/src/is/SwcIfForm.ts +1 -1
- package/src/is/SwcIfHeading.ts +1 -1
- package/src/is/SwcIfHr.ts +1 -1
- package/src/is/SwcIfIFrame.ts +1 -1
- package/src/is/SwcIfImage.ts +1 -1
- package/src/is/SwcIfInput.ts +1 -1
- package/src/is/SwcIfLabel.ts +1 -1
- package/src/is/SwcIfLegend.ts +1 -1
- package/src/is/SwcIfLi.ts +1 -1
- package/src/is/SwcIfLink.ts +1 -1
- package/src/is/SwcIfMap.ts +1 -1
- package/src/is/SwcIfMeta.ts +1 -1
- package/src/is/SwcIfMeter.ts +1 -1
- package/src/is/SwcIfMod.ts +1 -1
- package/src/is/SwcIfObject.ts +1 -1
- package/src/is/SwcIfOl.ts +1 -1
- package/src/is/SwcIfOptGroup.ts +1 -1
- package/src/is/SwcIfOption.ts +1 -1
- package/src/is/SwcIfOutput.ts +1 -1
- package/src/is/SwcIfParagraph.ts +1 -1
- package/src/is/SwcIfParam.ts +1 -1
- package/src/is/SwcIfPicture.ts +1 -1
- package/src/is/SwcIfPre.ts +1 -1
- package/src/is/SwcIfProgress.ts +1 -1
- package/src/is/SwcIfQuote.ts +1 -1
- package/src/is/SwcIfScript.ts +1 -1
- package/src/is/SwcIfSelect.ts +1 -1
- package/src/is/SwcIfSlot.ts +1 -1
- package/src/is/SwcIfSource.ts +1 -1
- package/src/is/SwcIfSpan.ts +1 -1
- package/src/is/SwcIfStyle.ts +1 -1
- package/src/is/SwcIfTable.ts +1 -1
- package/src/is/SwcIfTableCell.ts +1 -1
- package/src/is/SwcIfTableRow.ts +1 -1
- package/src/is/SwcIfTableSection.ts +1 -1
- package/src/is/SwcIfTemplate.ts +1 -1
- package/src/is/SwcIfTextArea.ts +1 -1
- package/src/is/SwcIfTime.ts +1 -1
- package/src/is/SwcIfTitle.ts +1 -1
- package/src/is/SwcIfTrack.ts +1 -1
- package/src/is/SwcIfUl.ts +1 -1
- package/src/is/SwcIfVideo.ts +1 -1
|
@@ -24,8 +24,8 @@ __export(query_exports, {
|
|
|
24
24
|
module.exports = __toCommonJS(query_exports);
|
|
25
25
|
var import_ReflectUtils = require("@dooboostore/core/reflect/ReflectUtils");
|
|
26
26
|
const QUERY_METADATA_KEY = Symbol("simple-web-component:query");
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
function query(arg1, arg2) {
|
|
28
|
+
const decorator = (selector, options, target, propertyKey, descriptor) => {
|
|
29
29
|
const isMethod = !!descriptor;
|
|
30
30
|
const constructor = target.constructor;
|
|
31
31
|
let queries = import_ReflectUtils.ReflectUtils.getMetadata(QUERY_METADATA_KEY, constructor);
|
|
@@ -37,15 +37,37 @@ const query = (selector, options = { useShadow: true }) => {
|
|
|
37
37
|
if (!isMethod) {
|
|
38
38
|
Object.defineProperty(target, propertyKey, {
|
|
39
39
|
get() {
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
if (!selector)
|
|
41
|
+
return this;
|
|
42
|
+
let searchRoot = this;
|
|
43
|
+
if (options.root === "shadow")
|
|
44
|
+
searchRoot = this.shadowRoot || this;
|
|
45
|
+
else if (options.root === "light")
|
|
46
|
+
searchRoot = this;
|
|
47
|
+
else
|
|
48
|
+
searchRoot = this.shadowRoot || this;
|
|
49
|
+
return searchRoot.querySelector(selector);
|
|
42
50
|
},
|
|
43
51
|
enumerable: true,
|
|
44
52
|
configurable: true
|
|
45
53
|
});
|
|
46
54
|
}
|
|
47
55
|
};
|
|
48
|
-
|
|
56
|
+
if (arg1 && typeof arg2 === "string") {
|
|
57
|
+
return decorator("", {}, arg1, arg2);
|
|
58
|
+
}
|
|
59
|
+
return (target, propertyKey, descriptor) => {
|
|
60
|
+
let selector = "";
|
|
61
|
+
let options = {};
|
|
62
|
+
if (typeof arg1 === "string") {
|
|
63
|
+
selector = arg1;
|
|
64
|
+
} else if (typeof arg1 === "object") {
|
|
65
|
+
options = arg1;
|
|
66
|
+
selector = options.selector || "";
|
|
67
|
+
}
|
|
68
|
+
decorator(selector, options, target, propertyKey, descriptor);
|
|
69
|
+
};
|
|
70
|
+
}
|
|
49
71
|
const getQueryMetadata = (target) => {
|
|
50
72
|
const constructor = target instanceof Function ? target : target.constructor;
|
|
51
73
|
return import_ReflectUtils.ReflectUtils.getMetadata(QUERY_METADATA_KEY, constructor);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/decorators/query.ts"],
|
|
4
|
-
"sourcesContent": ["import { ReflectUtils } from '@dooboostore/core/reflect/ReflectUtils';\n\nexport interface QueryOptions {\n
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;AAAA
|
|
4
|
+
"sourcesContent": ["import { ReflectUtils } from '@dooboostore/core/reflect/ReflectUtils';\n\nexport interface QueryOptions {\n selector?: string;\n root?: 'light' | 'shadow' | 'all' | 'auto';\n}\n\nexport interface QueryMetadata {\n selector: string;\n options: QueryOptions;\n propertyKey: string | symbol;\n isMethod: boolean;\n}\n\nexport const QUERY_METADATA_KEY = Symbol('simple-web-component:query');\n\nexport function query(selector: string): any;\nexport function query(options: QueryOptions): any;\nexport function query(target: Object, propertyKey: string | symbol): void;\nexport function query(arg1?: string | QueryOptions | Object, arg2?: string | symbol): any {\n const decorator = (selector: string, options: QueryOptions, target: Object, propertyKey: string | symbol, descriptor?: PropertyDescriptor) => {\n const isMethod = !!descriptor;\n const constructor = target.constructor;\n\n let queries = ReflectUtils.getMetadata<QueryMetadata[]>(QUERY_METADATA_KEY, constructor);\n if (!queries) {\n queries = [];\n ReflectUtils.defineMetadata(QUERY_METADATA_KEY, queries, constructor);\n }\n queries.push({ selector, options, propertyKey, isMethod });\n\n if (!isMethod) {\n Object.defineProperty(target, propertyKey, {\n get(this: HTMLElement) {\n if (!selector) return this;\n let searchRoot: Node = this;\n if (options.root === 'shadow') searchRoot = this.shadowRoot || this;\n else if (options.root === 'light') searchRoot = this;\n else searchRoot = this.shadowRoot || this; // Default: Auto (Shadow-First)\n\n return (searchRoot as HTMLElement).querySelector(selector);\n },\n enumerable: true,\n configurable: true\n });\n }\n };\n\n // Case: @query (parameterless decorator)\n if (arg1 && typeof arg2 === 'string') {\n return decorator('', {}, arg1 as Object, arg2 as string | symbol);\n }\n\n // Case: @query('selector') or @query({ selector: '...', ... })\n return (target: Object, propertyKey: string | symbol, descriptor?: PropertyDescriptor) => {\n let selector = '';\n let options: QueryOptions = {};\n\n if (typeof arg1 === 'string') {\n selector = arg1;\n } else if (typeof arg1 === 'object') {\n options = arg1 as QueryOptions;\n selector = options.selector || '';\n }\n\n decorator(selector, options, target, propertyKey, descriptor);\n };\n}\n\nexport const getQueryMetadata = (target: any): QueryMetadata[] | undefined => {\n const constructor = target instanceof Function ? target : target.constructor;\n return ReflectUtils.getMetadata(QUERY_METADATA_KEY, constructor);\n};\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;;;;;;;0BAA6B;AActB,MAAM,qBAAqB,OAAO,4BAA4B;AAK/D,SAAU,MAAM,MAAuC,MAAsB;AACjF,QAAM,YAAY,CAAC,UAAkB,SAAuB,QAAgB,aAA8B,eAAmC;AAC3I,UAAM,WAAW,CAAC,CAAC;AACnB,UAAM,cAAc,OAAO;AAE3B,QAAI,UAAU,iCAAa,YAA6B,oBAAoB,WAAW;AACvF,QAAI,CAAC,SAAS;AACZ,gBAAU,CAAA;AACV,uCAAa,eAAe,oBAAoB,SAAS,WAAW;IACtE;AACA,YAAQ,KAAK,EAAE,UAAU,SAAS,aAAa,SAAQ,CAAE;AAEzD,QAAI,CAAC,UAAU;AACb,aAAO,eAAe,QAAQ,aAAa;QACzC,MAAG;AACD,cAAI,CAAC;AAAU,mBAAO;AACtB,cAAI,aAAmB;AACvB,cAAI,QAAQ,SAAS;AAAU,yBAAa,KAAK,cAAc;mBACtD,QAAQ,SAAS;AAAS,yBAAa;;AAC3C,yBAAa,KAAK,cAAc;AAErC,iBAAQ,WAA2B,cAAc,QAAQ;QAC3D;QACA,YAAY;QACZ,cAAc;OACf;IACH;EACF;AAGA,MAAI,QAAQ,OAAO,SAAS,UAAU;AACpC,WAAO,UAAU,IAAI,CAAA,GAAI,MAAgB,IAAuB;EAClE;AAGA,SAAO,CAAC,QAAgB,aAA8B,eAAmC;AACvF,QAAI,WAAW;AACf,QAAI,UAAwB,CAAA;AAE5B,QAAI,OAAO,SAAS,UAAU;AAC5B,iBAAW;IACb,WAAW,OAAO,SAAS,UAAU;AACnC,gBAAU;AACV,iBAAW,QAAQ,YAAY;IACjC;AAEA,cAAU,UAAU,SAAS,QAAQ,aAAa,UAAU;EAC9D;AACF;AAEO,MAAM,mBAAmB,CAAC,WAA4C;AAC3E,QAAM,cAAc,kBAAkB,WAAW,SAAS,OAAO;AACjE,SAAO,iCAAa,YAAY,oBAAoB,WAAW;AACjE;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -24,8 +24,8 @@ __export(queryAll_exports, {
|
|
|
24
24
|
module.exports = __toCommonJS(queryAll_exports);
|
|
25
25
|
var import_ReflectUtils = require("@dooboostore/core/reflect/ReflectUtils");
|
|
26
26
|
const QUERY_ALL_METADATA_KEY = Symbol("simple-web-component:query-all");
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
function queryAll(arg1, arg2) {
|
|
28
|
+
const decorator = (selector, options, target, propertyKey, descriptor) => {
|
|
29
29
|
const isMethod = !!descriptor;
|
|
30
30
|
const constructor = target.constructor;
|
|
31
31
|
let queries = import_ReflectUtils.ReflectUtils.getMetadata(QUERY_ALL_METADATA_KEY, constructor);
|
|
@@ -37,15 +37,37 @@ const queryAll = (selector, options = { useShadow: true }) => {
|
|
|
37
37
|
if (!isMethod) {
|
|
38
38
|
Object.defineProperty(target, propertyKey, {
|
|
39
39
|
get() {
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
if (!selector)
|
|
41
|
+
return [this];
|
|
42
|
+
let searchRoot = this;
|
|
43
|
+
if (options.root === "shadow")
|
|
44
|
+
searchRoot = this.shadowRoot || this;
|
|
45
|
+
else if (options.root === "light")
|
|
46
|
+
searchRoot = this;
|
|
47
|
+
else
|
|
48
|
+
searchRoot = this.shadowRoot || this;
|
|
49
|
+
return searchRoot.querySelectorAll(selector);
|
|
42
50
|
},
|
|
43
51
|
enumerable: true,
|
|
44
52
|
configurable: true
|
|
45
53
|
});
|
|
46
54
|
}
|
|
47
55
|
};
|
|
48
|
-
|
|
56
|
+
if (arg1 && typeof arg2 === "string") {
|
|
57
|
+
return decorator("", {}, arg1, arg2);
|
|
58
|
+
}
|
|
59
|
+
return (target, propertyKey, descriptor) => {
|
|
60
|
+
let selector = "";
|
|
61
|
+
let options = {};
|
|
62
|
+
if (typeof arg1 === "string") {
|
|
63
|
+
selector = arg1;
|
|
64
|
+
} else if (typeof arg1 === "object") {
|
|
65
|
+
options = arg1;
|
|
66
|
+
selector = options.selector || "";
|
|
67
|
+
}
|
|
68
|
+
decorator(selector, options, target, propertyKey, descriptor);
|
|
69
|
+
};
|
|
70
|
+
}
|
|
49
71
|
const getQueryAllMetadata = (target) => {
|
|
50
72
|
const constructor = target instanceof Function ? target : target.constructor;
|
|
51
73
|
return import_ReflectUtils.ReflectUtils.getMetadata(QUERY_ALL_METADATA_KEY, constructor);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/decorators/queryAll.ts"],
|
|
4
|
-
"sourcesContent": ["import { ReflectUtils } from '@dooboostore/core/reflect/ReflectUtils';\n\nexport interface QueryAllOptions {\n
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;AAAA
|
|
4
|
+
"sourcesContent": ["import { ReflectUtils } from '@dooboostore/core/reflect/ReflectUtils';\n\nexport interface QueryAllOptions {\n selector?: string;\n root?: 'light' | 'shadow' | 'all' | 'auto';\n}\n\nexport interface QueryAllMetadata {\n selector: string;\n options: QueryAllOptions;\n propertyKey: string | symbol;\n isMethod: boolean;\n}\n\nexport const QUERY_ALL_METADATA_KEY = Symbol('simple-web-component:query-all');\n\nexport function queryAll(selector: string): any;\nexport function queryAll(options: QueryAllOptions): any;\nexport function queryAll(target: Object, propertyKey: string | symbol): void;\nexport function queryAll(arg1?: string | QueryAllOptions | Object, arg2?: string | symbol): any {\n const decorator = (selector: string, options: QueryAllOptions, target: Object, propertyKey: string | symbol, descriptor?: PropertyDescriptor) => {\n const isMethod = !!descriptor;\n const constructor = target.constructor;\n\n let queries = ReflectUtils.getMetadata<QueryAllMetadata[]>(QUERY_ALL_METADATA_KEY, constructor);\n if (!queries) {\n queries = [];\n ReflectUtils.defineMetadata(QUERY_ALL_METADATA_KEY, queries, constructor);\n }\n queries.push({ selector, options, propertyKey, isMethod });\n\n if (!isMethod) {\n Object.defineProperty(target, propertyKey, {\n get(this: HTMLElement) {\n if (!selector) return [this];\n let searchRoot: Node = this;\n if (options.root === 'shadow') searchRoot = this.shadowRoot || this;\n else if (options.root === 'light') searchRoot = this;\n else searchRoot = this.shadowRoot || this; // Default: Auto (Shadow-First)\n\n return (searchRoot as HTMLElement).querySelectorAll(selector);\n },\n enumerable: true,\n configurable: true\n });\n }\n };\n\n // Case: @queryAll (parameterless decorator)\n if (arg1 && typeof arg2 === 'string') {\n return decorator('', {}, arg1 as Object, arg2 as string | symbol);\n }\n\n // Case: @queryAll('selector') or @queryAll({ selector: '...', ... })\n return (target: Object, propertyKey: string | symbol, descriptor?: PropertyDescriptor) => {\n let selector = '';\n let options: QueryAllOptions = {};\n\n if (typeof arg1 === 'string') {\n selector = arg1;\n } else if (typeof arg1 === 'object') {\n options = arg1 as QueryAllOptions;\n selector = options.selector || '';\n }\n\n decorator(selector, options, target, propertyKey, descriptor);\n };\n}\n\nexport const getQueryAllMetadata = (target: any): QueryAllMetadata[] | undefined => {\n const constructor = target instanceof Function ? target : target.constructor;\n return ReflectUtils.getMetadata(QUERY_ALL_METADATA_KEY,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AAwB,WAAW;AACrE;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/decorators/state.ts"],
|
|
4
|
-
"sourcesContent": ["import { ReflectUtils } from '@dooboostore/core/reflect/ReflectUtils';\n\nexport interface StateOptions {\n name?: string;\n}\n\nexport interface StateMetadata {\n propertyKey: string | symbol;\n options: StateOptions;\n}\n\nexport const STATE_METADATA_KEY = Symbol('simple-web-component:state');\n\nexport function state(nameOrOptions
|
|
4
|
+
"sourcesContent": ["import { ReflectUtils } from '@dooboostore/core/reflect/ReflectUtils';\n\nexport interface StateOptions {\n name?: string;\n}\n\nexport interface StateMetadata {\n propertyKey: string | symbol;\n options: StateOptions;\n}\n\nexport const STATE_METADATA_KEY = Symbol('simple-web-component:state');\n\nexport function state(nameOrOptions?: string | StateOptions): PropertyDecorator;\nexport function state(target: Object, propertyKey: string | symbol): void;\nexport function state(arg1?: string | StateOptions | Object, arg2?: string | symbol): PropertyDecorator | void {\n const decorator = (options: StateOptions, target: Object, propertyKey: string | symbol) => {\n const constructor = target.constructor;\n if (!options.name) options.name = String(propertyKey);\n\n let list = ReflectUtils.getMetadata<StateMetadata[]>(STATE_METADATA_KEY, constructor);\n if (!list) {\n list = [];\n ReflectUtils.defineMetadata(STATE_METADATA_KEY, list, constructor);\n }\n list.push({ propertyKey, options });\n };\n\n if (arg2) {\n // Used as @state\n return decorator({}, arg1!, arg2);\n }\n\n // Used as @state(options)\n return (target: Object, propertyKey: string | symbol) => {\n const options: StateOptions = typeof arg1 === 'string' ? { name: arg1 } : (arg1 as StateOptions) || {};\n decorator(options, target, propertyKey);\n };\n}\n\nexport const getStateMetadataList = (target: any): StateMetadata[] | undefined => {\n const constructor = target instanceof Function ? target : target.constructor;\n return ReflectUtils.getMetadata(STATE_METADATA_KEY, constructor);\n};\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BAA6B;AAWtB,MAAM,qBAAqB,OAAO,4BAA4B;AAI9D,SAAS,MAAM,MAAuC,MAAkD;AAC7G,QAAM,YAAY,CAAC,SAAuB,QAAgB,gBAAiC;AACzF,UAAM,cAAc,OAAO;AAC3B,QAAI,CAAC,QAAQ,KAAM,SAAQ,OAAO,OAAO,WAAW;AAEpD,QAAI,OAAO,iCAAa,YAA6B,oBAAoB,WAAW;AACpF,QAAI,CAAC,MAAM;AACT,aAAO,CAAC;AACR,uCAAa,eAAe,oBAAoB,MAAM,WAAW;AAAA,IACnE;AACA,SAAK,KAAK,EAAE,aAAa,QAAQ,CAAC;AAAA,EACpC;AAEA,MAAI,MAAM;AAER,WAAO,UAAU,CAAC,GAAG,MAAO,IAAI;AAAA,EAClC;AAGA,SAAO,CAAC,QAAgB,gBAAiC;AACvD,UAAM,UAAwB,OAAO,SAAS,WAAW,EAAE,MAAM,KAAK,IAAK,QAAyB,CAAC;AACrG,cAAU,SAAS,QAAQ,WAAW;AAAA,EACxC;AACF;AAEO,MAAM,uBAAuB,CAAC,WAA6C;AAChF,QAAM,cAAc,kBAAkB,WAAW,SAAS,OAAO;AACjE,SAAO,iCAAa,YAAY,oBAAoB,WAAW;AACjE;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/elements/SwcChoose.ts"],
|
|
4
|
-
"sourcesContent": ["import { elementDefine, innerHtml } from '../index';\n\n@elementDefine({ name: 'swc-choose' })\nexport class SwcChoose extends HTMLElement {\n private _observer: MutationObserver | null = null;\n private _swcValue: any = undefined;\n\n set swcValue(val: any) {\n this._swcValue = val;\n this.evaluate();\n }\n\n get swcValue() {\n return this._swcValue;\n }\n\n @innerHtml({ useShadow: true })\n render() {\n return `\n <style>:host { display: contents; }</style>\n <slot id=\"choose-slot\"></slot>\n `;\n }\n\n connectedCallback() {\n this._observer = new MutationObserver(() => this.evaluate());\n this._observer.observe(this, { attributes: true, subtree: true, childList: true });\n this.evaluate();\n }\n\n disconnectedCallback() {\n this._observer?.disconnect();\n }\n\n private evaluate() {\n const whens = Array.from(this.querySelectorAll('swc-when'));\n const other = this.querySelector('swc-other');\n let matched = false;\n\n
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA,eAAyC;;;;;;;;;;AAGlC,IAAM,YAAN,MAAMA,mBAAkB,YAAW;EAAnC,cAAA;;AACG,SAAA,YAAqC;AACrC,SAAA,YAAiB;
|
|
4
|
+
"sourcesContent": ["import { elementDefine, innerHtml } from '../index';\n\n@elementDefine({ name: 'swc-choose' })\nexport class SwcChoose extends HTMLElement {\n private _observer: MutationObserver | null = null;\n private _swcValue: any = undefined;\n\n set swcValue(val: any) {\n this._swcValue = val;\n this.evaluate();\n }\n\n get swcValue() {\n return this._swcValue;\n }\n\n @innerHtml({ useShadow: true })\n render() {\n return `\n <style>:host { display: contents; }</style>\n <slot id=\"choose-slot\"></slot>\n `;\n }\n\n connectedCallback() {\n this._observer = new MutationObserver(() => this.evaluate());\n this._observer.observe(this, { attributes: true, subtree: true, childList: true });\n this.evaluate();\n }\n\n disconnectedCallback() {\n this._observer?.disconnect();\n }\n\n private evaluate() {\n const whens = Array.from(this.querySelectorAll('swc-when'));\n const other = this.querySelector('swc-other');\n let matched = false;\n\n const chooseValue = this.getAttribute('swc-value') ?? this.getAttribute('value') ?? this._swcValue;\n\n whens.forEach(when => {\n if (matched) {\n (when as HTMLElement).style.display = 'none';\n return;\n }\n\n const testAttr = when.getAttribute('test');\n if (testAttr === null) return;\n if (testAttr.includes('{{')) return;\n\n let isConditionMet = false;\n if (chooseValue !== undefined && chooseValue !== null) {\n isConditionMet = String(chooseValue) === String(testAttr);\n } else {\n try {\n if (testAttr === 'true') isConditionMet = true;\n else if (testAttr === 'false') isConditionMet = false;\n else isConditionMet = !!new Function(`return ${testAttr}`)();\n } catch (e) {\n isConditionMet = false;\n }\n }\n\n if (isConditionMet) {\n (when as HTMLElement).style.display = '';\n matched = true;\n } else {\n (when as HTMLElement).style.display = 'none';\n }\n });\n\n if (other) {\n (other as HTMLElement).style.display = matched ? 'none' : '';\n }\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA,eAAyC;;;;;;;;;;AAGlC,IAAM,YAAN,MAAMA,mBAAkB,YAAW;EAAnC,cAAA;;AACG,SAAA,YAAqC;AACrC,SAAA,YAAiB;EAuE3B;EArEE,IAAI,SAAS,KAAQ;AACnB,SAAK,YAAY;AACjB,SAAK,SAAQ;EACf;EAEA,IAAI,WAAQ;AACV,WAAO,KAAK;EACd;EAGA,SAAM;AACJ,WAAO;;;;EAIT;EAEA,oBAAiB;AACf,SAAK,YAAY,IAAI,iBAAiB,MAAM,KAAK,SAAQ,CAAE;AAC3D,SAAK,UAAU,QAAQ,MAAM,EAAE,YAAY,MAAM,SAAS,MAAM,WAAW,KAAI,CAAE;AACjF,SAAK,SAAQ;EACf;EAEA,uBAAoB;AAClB,SAAK,WAAW,WAAU;EAC5B;EAEQ,WAAQ;AACd,UAAM,QAAQ,MAAM,KAAK,KAAK,iBAAiB,UAAU,CAAC;AAC1D,UAAM,QAAQ,KAAK,cAAc,WAAW;AAC5C,QAAI,UAAU;AAEd,UAAM,cAAc,KAAK,aAAa,WAAW,KAAK,KAAK,aAAa,OAAO,KAAK,KAAK;AAEzF,UAAM,QAAQ,UAAO;AACnB,UAAI,SAAS;AACV,aAAqB,MAAM,UAAU;AACtC;MACF;AAEA,YAAM,WAAW,KAAK,aAAa,MAAM;AACzC,UAAI,aAAa;AAAM;AACvB,UAAI,SAAS,SAAS,IAAI;AAAG;AAE7B,UAAI,iBAAiB;AACrB,UAAI,gBAAgB,UAAa,gBAAgB,MAAM;AACrD,yBAAiB,OAAO,WAAW,MAAM,OAAO,QAAQ;MAC1D,OAAO;AACL,YAAI;AACF,cAAI,aAAa;AAAQ,6BAAiB;mBACjC,aAAa;AAAS,6BAAiB;;AAC3C,6BAAiB,CAAC,CAAC,IAAI,SAAS,UAAU,QAAQ,EAAE,EAAC;QAC5D,SAAS,GAAG;AACV,2BAAiB;QACnB;MACF;AAEA,UAAI,gBAAgB;AACjB,aAAqB,MAAM,UAAU;AACtC,kBAAU;MACZ,OAAO;AACJ,aAAqB,MAAM,UAAU;MACxC;IACF,CAAC;AAED,QAAI,OAAO;AACR,YAAsB,MAAM,UAAU,UAAU,SAAS;IAC5D;EACF;;AA1DA,WAAA;MADC,oBAAU,EAAE,WAAW,KAAI,CAAE;;;;;AAbnB,YAAS,WAAA;MADrB,wBAAc,EAAE,MAAM,aAAY,CAAE;GACxB,SAAS;",
|
|
6
6
|
"names": ["SwcChoose"]
|
|
7
7
|
}
|
|
@@ -39,7 +39,9 @@ let SwcForOf = class SwcForOf2 extends import_SwcHTMLElementBase.SwcHTMLElementB
|
|
|
39
39
|
set swcValue(val) {
|
|
40
40
|
if (!Array.isArray(val))
|
|
41
41
|
val = [];
|
|
42
|
-
this._swcValue = this.createReactiveProxy(val, () => this.
|
|
42
|
+
this._swcValue = this.createReactiveProxy(val, () => this._updateState(this._asKey), (idx, v) => this.updateSingleRow(idx, v));
|
|
43
|
+
if (this._masterTplNodes.length === 0)
|
|
44
|
+
this.initCore();
|
|
43
45
|
this.renderAll();
|
|
44
46
|
}
|
|
45
47
|
get swcValue() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/elements/SwcForOf.ts"],
|
|
4
|
-
"sourcesContent": ["import { elementDefine, innerHtml } from '../index';\nimport { SwcHTMLElementBase } from './SwcHTMLElementBase';\n\n@elementDefine({ name: 'swc-for-of' })\nexport class SwcForOf extends SwcHTMLElementBase {\n private _swcValue: any[] = [];\n\n constructor() {\n super();\n }\n\n set swcValue(val: any[]) {\n if (!Array.isArray(val)) val = [];\n this._swcValue = this.createReactiveProxy(\n val,\n () => this.
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA,eAAyC;AACzC,gCAAmC;;;;;;;;;;AAG5B,IAAM,WAAN,MAAMA,kBAAiB,6CAAkB;EAG9C,cAAA;AACE,UAAK;AAHC,SAAA,YAAmB,CAAA;EAI3B;EAEA,IAAI,SAAS,KAAU;AACrB,QAAI,CAAC,MAAM,QAAQ,GAAG;AAAG,YAAM,CAAA;AAC/B,SAAK,YAAY,KAAK,oBACpB,KACA,
|
|
4
|
+
"sourcesContent": ["import { elementDefine, innerHtml } from '../index';\nimport { SwcHTMLElementBase } from './SwcHTMLElementBase';\n\n@elementDefine({ name: 'swc-for-of' })\nexport class SwcForOf extends SwcHTMLElementBase {\n private _swcValue: any[] = [];\n\n constructor() {\n super();\n }\n\n set swcValue(val: any[]) {\n if (!Array.isArray(val)) val = [];\n this._swcValue = this.createReactiveProxy(\n val,\n () => (this as any)._updateState((this as any)._asKey),\n (idx, v) => this.updateSingleRow(idx, v)\n );\n if (this._masterTplNodes.length === 0) this.initCore();\n this.renderAll();\n }\n\n get swcValue(): any[] {\n return this._swcValue;\n }\n\n @innerHtml({ useShadow: true })\n renderTemplate() {\n return `\n <style>:host { display: contents; }</style>\n <slot id=\"tpl-slot\" style=\"display:none;\"></slot>\n `;\n }\n\n connectedCallback() {\n this.initCore();\n this.renderAll();\n }\n\n public updateSingleRow(index: number, newValue: any) {\n const targets = this.querySelectorAll(`[slot=\"row-${index}\"]`);\n if (targets.length > 0) {\n targets.forEach(target => this.applyData(target, newValue, index));\n } else {\n this.renderRow(newValue, index);\n }\n }\n\n private renderRow(item: any, index: number) {\n if (!this.shadowRoot || this._masterTplNodes.length === 0) return;\n\n const slotName = `row-${index}`;\n if (!this.shadowRoot.querySelector(`slot[name=\"${slotName}\"]`)) {\n const slot = document.createElement('slot');\n slot.name = slotName;\n this.shadowRoot.appendChild(slot);\n }\n\n this._masterTplNodes.forEach(tplNode => {\n const clone = tplNode.cloneNode(true);\n if (clone.nodeType === Node.ELEMENT_NODE) {\n (clone as HTMLElement).setAttribute('slot', slotName);\n (clone as HTMLElement).style.display = '';\n } else if (clone.nodeType === Node.TEXT_NODE) {\n if (clone.textContent?.trim().length === 0) return;\n const span = document.createElement('span');\n span.setAttribute('slot', slotName);\n span.appendChild(clone);\n this.appendChild(span);\n this.applyData(span, item, index);\n return;\n }\n this.appendChild(clone);\n this.applyData(clone, item, index);\n });\n }\n\n private renderAll() {\n if (this._masterTplNodes.length === 0 || !this.shadowRoot) return;\n\n Array.from(this.children).forEach(c => {\n const slot = c.getAttribute('slot');\n if (slot && slot.startsWith('row-')) {\n c.remove();\n }\n });\n\n Array.from(this.shadowRoot.querySelectorAll('slot')).forEach(s => {\n if (s.id !== 'tpl-slot') s.remove();\n });\n\n this._swcValue.forEach((item, index) => this.renderRow(item, index));\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA,eAAyC;AACzC,gCAAmC;;;;;;;;;;AAG5B,IAAM,WAAN,MAAMA,kBAAiB,6CAAkB;EAG9C,cAAA;AACE,UAAK;AAHC,SAAA,YAAmB,CAAA;EAI3B;EAEA,IAAI,SAAS,KAAU;AACrB,QAAI,CAAC,MAAM,QAAQ,GAAG;AAAG,YAAM,CAAA;AAC/B,SAAK,YAAY,KAAK,oBACpB,KACA,MAAO,KAAa,aAAc,KAAa,MAAM,GACrD,CAAC,KAAK,MAAM,KAAK,gBAAgB,KAAK,CAAC,CAAC;AAE1C,QAAI,KAAK,gBAAgB,WAAW;AAAG,WAAK,SAAQ;AACpD,SAAK,UAAS;EAChB;EAEA,IAAI,WAAQ;AACV,WAAO,KAAK;EACd;EAGA,iBAAc;AACZ,WAAO;;;;EAIT;EAEA,oBAAiB;AACf,SAAK,SAAQ;AACb,SAAK,UAAS;EAChB;EAEO,gBAAgB,OAAe,UAAa;AACjD,UAAM,UAAU,KAAK,iBAAiB,cAAc,KAAK,IAAI;AA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AO;AAAY,UAAE,OAAM;IACnC,CAAC;AAED,SAAK,UAAU,QAAQ,CAAC,MAAM,UAAU,KAAK,UAAU,MAAM,KAAK,CAAC;EACrE;;AAjEA,WAAA;MADC,oBAAU,EAAE,WAAW,KAAI,CAAE;;;;;AAtBnB,WAAQ,WAAA;MADpB,wBAAc,EAAE,MAAM,aAAY,CAAE;;GACxB,QAAQ;",
|
|
6
6
|
"names": ["SwcForOf"]
|
|
7
7
|
}
|
|
@@ -40,7 +40,12 @@ let SwcObject = class SwcObject2 extends import_SwcHTMLElementBase.SwcHTMLElemen
|
|
|
40
40
|
set swcValue(val) {
|
|
41
41
|
if (typeof val !== "object" || val === null)
|
|
42
42
|
val = {};
|
|
43
|
-
this._swcValue = this.createReactiveProxy(val, () =>
|
|
43
|
+
this._swcValue = this.createReactiveProxy(val, () => {
|
|
44
|
+
if (typeof this._updateState === "function") {
|
|
45
|
+
this._updateState(this._asKey);
|
|
46
|
+
}
|
|
47
|
+
this.updateUI();
|
|
48
|
+
});
|
|
44
49
|
if (this._masterTplNodes.length === 0)
|
|
45
50
|
this.initCore();
|
|
46
51
|
this.render();
|
|
@@ -64,13 +69,10 @@ let SwcObject = class SwcObject2 extends import_SwcHTMLElementBase.SwcHTMLElemen
|
|
|
64
69
|
});
|
|
65
70
|
}
|
|
66
71
|
render() {
|
|
72
|
+
this.innerHTML = "";
|
|
73
|
+
this._renderedNodes = [];
|
|
67
74
|
if (!this.shadowRoot || this._masterTplNodes.length === 0)
|
|
68
75
|
return;
|
|
69
|
-
this._renderedNodes.forEach((n) => {
|
|
70
|
-
if (n.parentElement === this)
|
|
71
|
-
this.removeChild(n);
|
|
72
|
-
});
|
|
73
|
-
this._renderedNodes = [];
|
|
74
76
|
let slot = this.shadowRoot.querySelector('slot[name="obj-content"]');
|
|
75
77
|
if (!slot) {
|
|
76
78
|
slot = document.createElement("slot");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/elements/SwcObject.ts"],
|
|
4
|
-
"sourcesContent": ["import { elementDefine, innerHtml } from '../index';\nimport { SwcHTMLElementBase } from './SwcHTMLElementBase';\n\n@elementDefine({ name: 'swc-object' })\nexport class SwcObject extends SwcHTMLElementBase {\n private _swcValue: any = {};\n private _renderedNodes: Node[] = [];\n\n constructor() {\n super();\n }\n\n set swcValue(val: any) {\n if (typeof val !== 'object' || val === null) val = {};\n this._swcValue = this.createReactiveProxy(val, () => this.updateUI());\n if (this._masterTplNodes.length === 0) this.initCore();\n this.render();\n }\n\n get swcValue(): any {\n return this._swcValue;\n }\n\n @innerHtml({ useShadow: true })\n renderTemplate() {\n return `\n <style>:host { display: contents; }</style>\n <slot id=\"tpl-slot\" style=\"display:none;\"></slot>\n `;\n }\n\n connectedCallback() {\n this.initCore();\n this.render();\n }\n\n private updateUI() {\n this._renderedNodes.forEach(node => {\n this.applyData(node, this._swcValue);\n });\n }\n\n private render() {\n
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA,eAAyC;AACzC,gCAAmC;;;;;;;;;;AAG5B,IAAM,YAAN,MAAMA,mBAAkB,6CAAkB;EAI/C,cAAA;AACE,UAAK;AAJC,SAAA,YAAiB,CAAA;AACjB,SAAA,iBAAyB,CAAA;EAIjC;EAEA,IAAI,SAAS,KAAQ;AACnB,QAAI,OAAO,QAAQ,YAAY,QAAQ;AAAM,YAAM,CAAA;AACnD,SAAK,YAAY,KAAK,oBAAoB,KAAK,MAAM,
|
|
4
|
+
"sourcesContent": ["import { elementDefine, innerHtml } from '../index';\nimport { SwcHTMLElementBase } from './SwcHTMLElementBase';\n\n@elementDefine({ name: 'swc-object' })\nexport class SwcObject extends SwcHTMLElementBase {\n private _swcValue: any = {};\n private _renderedNodes: Node[] = [];\n\n constructor() {\n super();\n }\n\n set swcValue(val: any) {\n if (typeof val !== 'object' || val === null) val = {};\n this._swcValue = this.createReactiveProxy(val, () => {\n if (typeof (this as any)._updateState === 'function') {\n (this as any)._updateState((this as any)._asKey);\n }\n this.updateUI();\n });\n if (this._masterTplNodes.length === 0) this.initCore();\n this.render();\n }\n\n get swcValue(): any {\n return this._swcValue;\n }\n\n @innerHtml({ useShadow: true })\n renderTemplate() {\n return `\n <style>:host { display: contents; }</style>\n <slot id=\"tpl-slot\" style=\"display:none;\"></slot>\n `;\n }\n\n connectedCallback() {\n this.initCore();\n this.render();\n }\n\n private updateUI() {\n this._renderedNodes.forEach(node => {\n this.applyData(node, this._swcValue);\n });\n }\n\n private render() {\n this.innerHTML = '';\n this._renderedNodes = [];\n if (!this.shadowRoot || this._masterTplNodes.length === 0) return;\n\n let slot = this.shadowRoot.querySelector('slot[name=\"obj-content\"]');\n if (!slot) {\n slot = document.createElement('slot');\n (slot as HTMLSlotElement).name = 'obj-content';\n this.shadowRoot.appendChild(slot);\n }\n\n this._masterTplNodes.forEach(tplNode => {\n const clone = tplNode.cloneNode(true);\n if (clone.nodeType === Node.ELEMENT_NODE) {\n (clone as HTMLElement).setAttribute('slot', 'obj-content');\n } else if (clone.nodeType === Node.TEXT_NODE) {\n if (clone.textContent?.trim().length === 0) return;\n const span = document.createElement('span');\n span.setAttribute('slot', 'obj-content');\n span.appendChild(clone);\n this.appendChild(span);\n this._renderedNodes.push(span);\n this.applyData(span, this._swcValue);\n return;\n }\n this.appendChild(clone);\n this._renderedNodes.push(clone);\n this.applyData(clone, this._swcValue);\n });\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA,eAAyC;AACzC,gCAAmC;;;;;;;;;;AAG5B,IAAM,YAAN,MAAMA,mBAAkB,6CAAkB;EAI/C,cAAA;AACE,UAAK;AAJC,SAAA,YAAiB,CAAA;AACjB,SAAA,iBAAyB,CAAA;EAIjC;EAEA,IAAI,SAAS,KAAQ;AACnB,QAAI,OAAO,QAAQ,YAAY,QAAQ;AAAM,YAAM,CAAA;AACnD,SAAK,YAAY,KAAK,oBAAoB,KAAK,MAAK;A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AE,WAAW,KAAI,CAAE;;;;;AAxBnB,YAAS,WAAA;MADrB,wBAAc,EAAE,MAAM,aAAY,CAAE;;GACxB,SAAS;",
|
|
6
6
|
"names": ["SwcObject"]
|
|
7
7
|
}
|
package/dist/cjs/index.js
CHANGED
|
@@ -24,13 +24,10 @@ __reExport(src_exports, require("./decorators/lifecycles"), module.exports);
|
|
|
24
24
|
__reExport(src_exports, require("./decorators/query"), module.exports);
|
|
25
25
|
__reExport(src_exports, require("./decorators/queryAll"), module.exports);
|
|
26
26
|
__reExport(src_exports, require("./decorators/addEventListener"), module.exports);
|
|
27
|
-
__reExport(src_exports, require("./elements/SwcForOf"), module.exports);
|
|
28
|
-
__reExport(src_exports, require("./elements/SwcIf"), module.exports);
|
|
29
|
-
__reExport(src_exports, require("./elements/SwcChoose"), module.exports);
|
|
30
|
-
__reExport(src_exports, require("./elements/SwcWhen"), module.exports);
|
|
31
|
-
__reExport(src_exports, require("./elements/SwcOther"), module.exports);
|
|
32
|
-
__reExport(src_exports, require("./elements/SwcObject"), module.exports);
|
|
33
27
|
__reExport(src_exports, require("./elements/SwcHTMLElementBase"), module.exports);
|
|
28
|
+
__reExport(src_exports, require("./elements/SwcObject"), module.exports);
|
|
29
|
+
__reExport(src_exports, require("./elements/SwcIf"), module.exports);
|
|
30
|
+
__reExport(src_exports, require("./elements/SwcForOf"), module.exports);
|
|
34
31
|
__reExport(src_exports, require("./utils/Utils"), module.exports);
|
|
35
32
|
__reExport(src_exports, require("./is/SwcHTMLAnchorElementBase"), module.exports);
|
|
36
33
|
__reExport(src_exports, require("./is/SwcForOfAnchor"), module.exports);
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.ts"],
|
|
4
|
-
"sourcesContent": ["import 'reflect-metadata';\nexport * from './decorators/elementDefine';\nexport * from './decorators/innerHtml';\nexport * from './decorators/attribute';\nexport * from './decorators/state';\nexport * from './decorators/emitCustomEvent';\nexport * from './decorators/lifecycles';\nexport * from './decorators/query';\nexport * from './decorators/queryAll';\nexport * from './decorators/addEventListener';\nexport * from './elements/SwcForOf';\nexport * from './elements/SwcIf';\nexport * from './elements/SwcChoose';\nexport * from './elements/SwcWhen';\nexport * from './elements/SwcOther';\nexport * from './elements/SwcObject';\nexport * from './elements/SwcHTMLElementBase';\nexport * from './utils/Utils';\nexport * from './is/SwcHTMLAnchorElementBase';\nexport * from './is/SwcForOfAnchor';\nexport * from './is/SwcIfAnchor';\nexport * from './is/SwcObjectAnchor';\nexport * from './is/SwcChooseAnchor';\nexport * from './is/SwcWhenAnchor';\nexport * from './is/SwcOtherAnchor';\nexport * from './is/SwcHTMLAreaElementBase';\nexport * from './is/SwcForOfArea';\nexport * from './is/SwcIfArea';\nexport * from './is/SwcObjectArea';\nexport * from './is/SwcChooseArea';\nexport * from './is/SwcWhenArea';\nexport * from './is/SwcOtherArea';\nexport * from './is/SwcHTMLAudioElementBase';\nexport * from './is/SwcForOfAudio';\nexport * from './is/SwcIfAudio';\nexport * from './is/SwcObjectAudio';\nexport * from './is/SwcChooseAudio';\nexport * from './is/SwcWhenAudio';\nexport * from './is/SwcOtherAudio';\nexport * from './is/SwcHTMLBaseElementBase';\nexport * from './is/SwcForOfBase';\nexport * from './is/SwcIfBase';\nexport * from './is/SwcObjectBase';\nexport * from './is/SwcChooseBase';\nexport * from './is/SwcWhenBase';\nexport * from './is/SwcOtherBase';\nexport * from './is/SwcHTMLButtonElementBase';\nexport * from './is/SwcForOfButton';\nexport * from './is/SwcIfButton';\nexport * from './is/SwcObjectButton';\nexport * from './is/SwcChooseButton';\nexport * from './is/SwcWhenButton';\nexport * from './is/SwcOtherButton';\nexport * from './is/SwcHTMLCanvasElementBase';\nexport * from './is/SwcForOfCanvas';\nexport * from './is/SwcIfCanvas';\nexport * from './is/SwcObjectCanvas';\nexport * from './is/SwcChooseCanvas';\nexport * from './is/SwcWhenCanvas';\nexport * from './is/SwcOtherCanvas';\nexport * from './is/SwcHTMLDataElementBase';\nexport * from './is/SwcForOfData';\nexport * from './is/SwcIfData';\nexport * from './is/SwcObjectData';\nexport * from './is/SwcChooseData';\nexport * from './is/SwcWhenData';\nexport * from './is/SwcOtherData';\nexport * from './is/SwcHTMLDataListElementBase';\nexport * from './is/SwcForOfDataList';\nexport * from './is/SwcIfDataList';\nexport * from './is/SwcObjectDataList';\nexport * from './is/SwcChooseDataList';\nexport * from './is/SwcWhenDataList';\nexport * from './is/SwcOtherDataList';\nexport * from './is/SwcHTMLDetailsElementBase';\nexport * from './is/SwcForOfDetails';\nexport * from './is/SwcIfDetails';\nexport * from './is/SwcObjectDetails';\nexport * from './is/SwcChooseDetails';\nexport * from './is/SwcWhenDetails';\nexport * from './is/SwcOtherDetails';\nexport * from './is/SwcHTMLDialogElementBase';\nexport * from './is/SwcForOfDialog';\nexport * from './is/SwcIfDialog';\nexport * from './is/SwcObjectDialog';\nexport * from './is/SwcChooseDialog';\nexport * from './is/SwcWhenDialog';\nexport * from './is/SwcOtherDialog';\nexport * from './is/SwcHTMLDivElementBase';\nexport * from './is/SwcForOfDiv';\nexport * from './is/SwcIfDiv';\nexport * from './is/SwcObjectDiv';\nexport * from './is/SwcChooseDiv';\nexport * from './is/SwcWhenDiv';\nexport * from './is/SwcOtherDiv';\nexport * from './is/SwcHTMLDListElementBase';\nexport * from './is/SwcForOfDl';\nexport * from './is/SwcIfDl';\nexport * from './is/SwcObjectDl';\nexport * from './is/SwcChooseDl';\nexport * from './is/SwcWhenDl';\nexport * from './is/SwcOtherDl';\nexport * from './is/SwcHTMLEmbedElementBase';\nexport * from './is/SwcForOfEmbed';\nexport * from './is/SwcIfEmbed';\nexport * from './is/SwcObjectEmbed';\nexport * from './is/SwcChooseEmbed';\nexport * from './is/SwcWhenEmbed';\nexport * from './is/SwcOtherEmbed';\nexport * from './is/SwcHTMLFieldSetElementBase';\nexport * from './is/SwcForOfFieldSet';\nexport * from './is/SwcIfFieldSet';\nexport * from './is/SwcObjectFieldSet';\nexport * from './is/SwcChooseFieldSet';\nexport * from './is/SwcWhenFieldSet';\nexport * from './is/SwcOtherFieldSet';\nexport * from './is/SwcHTMLFormElementBase';\nexport * from './is/SwcForOfForm';\nexport * from './is/SwcIfForm';\nexport * from './is/SwcObjectForm';\nexport * from './is/SwcChooseForm';\nexport * from './is/SwcWhenForm';\nexport * from './is/SwcOtherForm';\nexport * from './is/SwcHTMLHRElementBase';\nexport * from './is/SwcForOfHr';\nexport * from './is/SwcIfHr';\nexport * from './is/SwcObjectHr';\nexport * from './is/SwcChooseHr';\nexport * from './is/SwcWhenHr';\nexport * from './is/SwcOtherHr';\nexport * from './is/SwcHTMLIFrameElementBase';\nexport * from './is/SwcForOfIFrame';\nexport * from './is/SwcIfIFrame';\nexport * from './is/SwcObjectIFrame';\nexport * from './is/SwcChooseIFrame';\nexport * from './is/SwcWhenIFrame';\nexport * from './is/SwcOtherIFrame';\nexport * from './is/SwcHTMLImageElementBase';\nexport * from './is/SwcForOfImage';\nexport * from './is/SwcIfImage';\nexport * from './is/SwcObjectImage';\nexport * from './is/SwcChooseImage';\nexport * from './is/SwcWhenImage';\nexport * from './is/SwcOtherImage';\nexport * from './is/SwcHTMLInputElementBase';\nexport * from './is/SwcForOfInput';\nexport * from './is/SwcIfInput';\nexport * from './is/SwcObjectInput';\nexport * from './is/SwcChooseInput';\nexport * from './is/SwcWhenInput';\nexport * from './is/SwcOtherInput';\nexport * from './is/SwcHTMLLabelElementBase';\nexport * from './is/SwcForOfLabel';\nexport * from './is/SwcIfLabel';\nexport * from './is/SwcObjectLabel';\nexport * from './is/SwcChooseLabel';\nexport * from './is/SwcWhenLabel';\nexport * from './is/SwcOtherLabel';\nexport * from './is/SwcHTMLLegendElementBase';\nexport * from './is/SwcForOfLegend';\nexport * from './is/SwcIfLegend';\nexport * from './is/SwcObjectLegend';\nexport * from './is/SwcChooseLegend';\nexport * from './is/SwcWhenLegend';\nexport * from './is/SwcOtherLegend';\nexport * from './is/SwcHTMLLIElementBase';\nexport * from './is/SwcForOfLi';\nexport * from './is/SwcIfLi';\nexport * from './is/SwcObjectLi';\nexport * from './is/SwcChooseLi';\nexport * from './is/SwcWhenLi';\nexport * from './is/SwcOtherLi';\nexport * from './is/SwcHTMLLinkElementBase';\nexport * from './is/SwcForOfLink';\nexport * from './is/SwcIfLink';\nexport * from './is/SwcObjectLink';\nexport * from './is/SwcChooseLink';\nexport * from './is/SwcWhenLink';\nexport * from './is/SwcOtherLink';\nexport * from './is/SwcHTMLMapElementBase';\nexport * from './is/SwcForOfMap';\nexport * from './is/SwcIfMap';\nexport * from './is/SwcObjectMap';\nexport * from './is/SwcChooseMap';\nexport * from './is/SwcWhenMap';\nexport * from './is/SwcOtherMap';\nexport * from './is/SwcHTMLMetaElementBase';\nexport * from './is/SwcForOfMeta';\nexport * from './is/SwcIfMeta';\nexport * from './is/SwcObjectMeta';\nexport * from './is/SwcChooseMeta';\nexport * from './is/SwcWhenMeta';\nexport * from './is/SwcOtherMeta';\nexport * from './is/SwcHTMLMeterElementBase';\nexport * from './is/SwcForOfMeter';\nexport * from './is/SwcIfMeter';\nexport * from './is/SwcObjectMeter';\nexport * from './is/SwcChooseMeter';\nexport * from './is/SwcWhenMeter';\nexport * from './is/SwcOtherMeter';\nexport * from './is/SwcHTMLModElementBase';\nexport * from './is/SwcForOfMod';\nexport * from './is/SwcIfMod';\nexport * from './is/SwcObjectMod';\nexport * from './is/SwcChooseMod';\nexport * from './is/SwcWhenMod';\nexport * from './is/SwcOtherMod';\nexport * from './is/SwcHTMLObjectElementBase';\nexport * from './is/SwcForOfObject';\nexport * from './is/SwcIfObject';\nexport * from './is/SwcObjectObject';\nexport * from './is/SwcChooseObject';\nexport * from './is/SwcWhenObject';\nexport * from './is/SwcOtherObject';\nexport * from './is/SwcHTMLOListElementBase';\nexport * from './is/SwcForOfOl';\nexport * from './is/SwcIfOl';\nexport * from './is/SwcObjectOl';\nexport * from './is/SwcChooseOl';\nexport * from './is/SwcWhenOl';\nexport * from './is/SwcOtherOl';\nexport * from './is/SwcHTMLOptGroupElementBase';\nexport * from './is/SwcForOfOptGroup';\nexport * from './is/SwcIfOptGroup';\nexport * from './is/SwcObjectOptGroup';\nexport * from './is/SwcChooseOptGroup';\nexport * from './is/SwcWhenOptGroup';\nexport * from './is/SwcOtherOptGroup';\nexport * from './is/SwcHTMLOptionElementBase';\nexport * from './is/SwcForOfOption';\nexport * from './is/SwcIfOption';\nexport * from './is/SwcObjectOption';\nexport * from './is/SwcChooseOption';\nexport * from './is/SwcWhenOption';\nexport * from './is/SwcOtherOption';\nexport * from './is/SwcHTMLOutputElementBase';\nexport * from './is/SwcForOfOutput';\nexport * from './is/SwcIfOutput';\nexport * from './is/SwcObjectOutput';\nexport * from './is/SwcChooseOutput';\nexport * from './is/SwcWhenOutput';\nexport * from './is/SwcOtherOutput';\nexport * from './is/SwcHTMLParagraphElementBase';\nexport * from './is/SwcForOfParagraph';\nexport * from './is/SwcIfParagraph';\nexport * from './is/SwcObjectParagraph';\nexport * from './is/SwcChooseParagraph';\nexport * from './is/SwcWhenParagraph';\nexport * from './is/SwcOtherParagraph';\nexport * from './is/SwcHTMLParamElementBase';\nexport * from './is/SwcForOfParam';\nexport * from './is/SwcIfParam';\nexport * from './is/SwcObjectParam';\nexport * from './is/SwcChooseParam';\nexport * from './is/SwcWhenParam';\nexport * from './is/SwcOtherParam';\nexport * from './is/SwcHTMLPictureElementBase';\nexport * from './is/SwcForOfPicture';\nexport * from './is/SwcIfPicture';\nexport * from './is/SwcObjectPicture';\nexport * from './is/SwcChoosePicture';\nexport * from './is/SwcWhenPicture';\nexport * from './is/SwcOtherPicture';\nexport * from './is/SwcHTMLPreElementBase';\nexport * from './is/SwcForOfPre';\nexport * from './is/SwcIfPre';\nexport * from './is/SwcObjectPre';\nexport * from './is/SwcChoosePre';\nexport * from './is/SwcWhenPre';\nexport * from './is/SwcOtherPre';\nexport * from './is/SwcHTMLProgressElementBase';\nexport * from './is/SwcForOfProgress';\nexport * from './is/SwcIfProgress';\nexport * from './is/SwcObjectProgress';\nexport * from './is/SwcChooseProgress';\nexport * from './is/SwcWhenProgress';\nexport * from './is/SwcOtherProgress';\nexport * from './is/SwcHTMLQuoteElementBase';\nexport * from './is/SwcForOfQuote';\nexport * from './is/SwcIfQuote';\nexport * from './is/SwcObjectQuote';\nexport * from './is/SwcChooseQuote';\nexport * from './is/SwcWhenQuote';\nexport * from './is/SwcOtherQuote';\nexport * from './is/SwcHTMLScriptElementBase';\nexport * from './is/SwcForOfScript';\nexport * from './is/SwcIfScript';\nexport * from './is/SwcObjectScript';\nexport * from './is/SwcChooseScript';\nexport * from './is/SwcWhenScript';\nexport * from './is/SwcOtherScript';\nexport * from './is/SwcHTMLSelectElementBase';\nexport * from './is/SwcForOfSelect';\nexport * from './is/SwcIfSelect';\nexport * from './is/SwcObjectSelect';\nexport * from './is/SwcChooseSelect';\nexport * from './is/SwcWhenSelect';\nexport * from './is/SwcOtherSelect';\nexport * from './is/SwcHTMLSlotElementBase';\nexport * from './is/SwcForOfSlot';\nexport * from './is/SwcIfSlot';\nexport * from './is/SwcObjectSlot';\nexport * from './is/SwcChooseSlot';\nexport * from './is/SwcWhenSlot';\nexport * from './is/SwcOtherSlot';\nexport * from './is/SwcHTMLSourceElementBase';\nexport * from './is/SwcForOfSource';\nexport * from './is/SwcIfSource';\nexport * from './is/SwcObjectSource';\nexport * from './is/SwcChooseSource';\nexport * from './is/SwcWhenSource';\nexport * from './is/SwcOtherSource';\nexport * from './is/SwcHTMLSpanElementBase';\nexport * from './is/SwcForOfSpan';\nexport * from './is/SwcIfSpan';\nexport * from './is/SwcObjectSpan';\nexport * from './is/SwcChooseSpan';\nexport * from './is/SwcWhenSpan';\nexport * from './is/SwcOtherSpan';\nexport * from './is/SwcHTMLStyleElementBase';\nexport * from './is/SwcForOfStyle';\nexport * from './is/SwcIfStyle';\nexport * from './is/SwcObjectStyle';\nexport * from './is/SwcChooseStyle';\nexport * from './is/SwcWhenStyle';\nexport * from './is/SwcOtherStyle';\nexport * from './is/SwcHTMLTableElementBase';\nexport * from './is/SwcForOfTable';\nexport * from './is/SwcIfTable';\nexport * from './is/SwcObjectTable';\nexport * from './is/SwcChooseTable';\nexport * from './is/SwcWhenTable';\nexport * from './is/SwcOtherTable';\nexport * from './is/SwcHTMLTableSectionElementBase';\nexport * from './is/SwcForOfTableSection';\nexport * from './is/SwcIfTableSection';\nexport * from './is/SwcObjectTableSection';\nexport * from './is/SwcChooseTableSection';\nexport * from './is/SwcWhenTableSection';\nexport * from './is/SwcOtherTableSection';\nexport * from './is/SwcHTMLTableCellElementBase';\nexport * from './is/SwcForOfTableCell';\nexport * from './is/SwcIfTableCell';\nexport * from './is/SwcObjectTableCell';\nexport * from './is/SwcChooseTableCell';\nexport * from './is/SwcWhenTableCell';\nexport * from './is/SwcOtherTableCell';\nexport * from './is/SwcHTMLTemplateElementBase';\nexport * from './is/SwcForOfTemplate';\nexport * from './is/SwcIfTemplate';\nexport * from './is/SwcObjectTemplate';\nexport * from './is/SwcChooseTemplate';\nexport * from './is/SwcWhenTemplate';\nexport * from './is/SwcOtherTemplate';\nexport * from './is/SwcHTMLTextAreaElementBase';\nexport * from './is/SwcForOfTextArea';\nexport * from './is/SwcIfTextArea';\nexport * from './is/SwcObjectTextArea';\nexport * from './is/SwcChooseTextArea';\nexport * from './is/SwcWhenTextArea';\nexport * from './is/SwcOtherTextArea';\nexport * from './is/SwcHTMLTimeElementBase';\nexport * from './is/SwcForOfTime';\nexport * from './is/SwcIfTime';\nexport * from './is/SwcObjectTime';\nexport * from './is/SwcChooseTime';\nexport * from './is/SwcWhenTime';\nexport * from './is/SwcOtherTime';\nexport * from './is/SwcHTMLTitleElementBase';\nexport * from './is/SwcForOfTitle';\nexport * from './is/SwcIfTitle';\nexport * from './is/SwcObjectTitle';\nexport * from './is/SwcChooseTitle';\nexport * from './is/SwcWhenTitle';\nexport * from './is/SwcOtherTitle';\nexport * from './is/SwcHTMLTableRowElementBase';\nexport * from './is/SwcForOfTableRow';\nexport * from './is/SwcIfTableRow';\nexport * from './is/SwcObjectTableRow';\nexport * from './is/SwcChooseTableRow';\nexport * from './is/SwcWhenTableRow';\nexport * from './is/SwcOtherTableRow';\nexport * from './is/SwcHTMLTrackElementBase';\nexport * from './is/SwcForOfTrack';\nexport * from './is/SwcIfTrack';\nexport * from './is/SwcObjectTrack';\nexport * from './is/SwcChooseTrack';\nexport * from './is/SwcWhenTrack';\nexport * from './is/SwcOtherTrack';\nexport * from './is/SwcHTMLUListElementBase';\nexport * from './is/SwcForOfUl';\nexport * from './is/SwcIfUl';\nexport * from './is/SwcObjectUl';\nexport * from './is/SwcChooseUl';\nexport * from './is/SwcWhenUl';\nexport * from './is/SwcOtherUl';\nexport * from './is/SwcHTMLVideoElementBase';\nexport * from './is/SwcForOfVideo';\nexport * from './is/SwcIfVideo';\nexport * from './is/SwcObjectVideo';\nexport * from './is/SwcChooseVideo';\nexport * from './is/SwcWhenVideo';\nexport * from './is/SwcOtherVideo';\nexport * from './is/SwcHTMLHeadingElementBase';\nexport * from './is/SwcForOfHeading';\nexport * from './is/SwcIfHeading';\nexport * from './is/SwcObjectHeading';\nexport * from './is/SwcChooseHeading';\nexport * from './is/SwcWhenHeading';\nexport * from './is/SwcOtherHeading';\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA,8BAAO;AACP,wBAAc,uCADd;AAEA,wBAAc,mCAFd;AAGA,wBAAc,mCAHd;AAIA,wBAAc,+BAJd;AAKA,wBAAc,yCALd;AAMA,wBAAc,oCANd;AAOA,wBAAc,+BAPd;AAQA,wBAAc,kCARd;AASA,wBAAc,0CATd;AAUA,wBAAc,
|
|
4
|
+
"sourcesContent": ["import 'reflect-metadata';\nexport * from './decorators/elementDefine';\nexport * from './decorators/innerHtml';\nexport * from './decorators/attribute';\nexport * from './decorators/state';\nexport * from './decorators/emitCustomEvent';\nexport * from './decorators/lifecycles';\nexport * from './decorators/query';\nexport * from './decorators/queryAll';\nexport * from './decorators/addEventListener';\nexport * from './elements/SwcHTMLElementBase';\nexport * from './elements/SwcObject';\nexport * from './elements/SwcIf';\nexport * from './elements/SwcForOf';\nexport * from './utils/Utils';\nexport * from './is/SwcHTMLAnchorElementBase';\nexport * from './is/SwcForOfAnchor';\nexport * from './is/SwcIfAnchor';\nexport * from './is/SwcObjectAnchor';\nexport * from './is/SwcChooseAnchor';\nexport * from './is/SwcWhenAnchor';\nexport * from './is/SwcOtherAnchor';\nexport * from './is/SwcHTMLAreaElementBase';\nexport * from './is/SwcForOfArea';\nexport * from './is/SwcIfArea';\nexport * from './is/SwcObjectArea';\nexport * from './is/SwcChooseArea';\nexport * from './is/SwcWhenArea';\nexport * from './is/SwcOtherArea';\nexport * from './is/SwcHTMLAudioElementBase';\nexport * from './is/SwcForOfAudio';\nexport * from './is/SwcIfAudio';\nexport * from './is/SwcObjectAudio';\nexport * from './is/SwcChooseAudio';\nexport * from './is/SwcWhenAudio';\nexport * from './is/SwcOtherAudio';\nexport * from './is/SwcHTMLBaseElementBase';\nexport * from './is/SwcForOfBase';\nexport * from './is/SwcIfBase';\nexport * from './is/SwcObjectBase';\nexport * from './is/SwcChooseBase';\nexport * from './is/SwcWhenBase';\nexport * from './is/SwcOtherBase';\nexport * from './is/SwcHTMLButtonElementBase';\nexport * from './is/SwcForOfButton';\nexport * from './is/SwcIfButton';\nexport * from './is/SwcObjectButton';\nexport * from './is/SwcChooseButton';\nexport * from './is/SwcWhenButton';\nexport * from './is/SwcOtherButton';\nexport * from './is/SwcHTMLCanvasElementBase';\nexport * from './is/SwcForOfCanvas';\nexport * from './is/SwcIfCanvas';\nexport * from './is/SwcObjectCanvas';\nexport * from './is/SwcChooseCanvas';\nexport * from './is/SwcWhenCanvas';\nexport * from './is/SwcOtherCanvas';\nexport * from './is/SwcHTMLDataElementBase';\nexport * from './is/SwcForOfData';\nexport * from './is/SwcIfData';\nexport * from './is/SwcObjectData';\nexport * from './is/SwcChooseData';\nexport * from './is/SwcWhenData';\nexport * from './is/SwcOtherData';\nexport * from './is/SwcHTMLDataListElementBase';\nexport * from './is/SwcForOfDataList';\nexport * from './is/SwcIfDataList';\nexport * from './is/SwcObjectDataList';\nexport * from './is/SwcChooseDataList';\nexport * from './is/SwcWhenDataList';\nexport * from './is/SwcOtherDataList';\nexport * from './is/SwcHTMLDetailsElementBase';\nexport * from './is/SwcForOfDetails';\nexport * from './is/SwcIfDetails';\nexport * from './is/SwcObjectDetails';\nexport * from './is/SwcChooseDetails';\nexport * from './is/SwcWhenDetails';\nexport * from './is/SwcOtherDetails';\nexport * from './is/SwcHTMLDialogElementBase';\nexport * from './is/SwcForOfDialog';\nexport * from './is/SwcIfDialog';\nexport * from './is/SwcObjectDialog';\nexport * from './is/SwcChooseDialog';\nexport * from './is/SwcWhenDialog';\nexport * from './is/SwcOtherDialog';\nexport * from './is/SwcHTMLDivElementBase';\nexport * from './is/SwcForOfDiv';\nexport * from './is/SwcIfDiv';\nexport * from './is/SwcObjectDiv';\nexport * from './is/SwcChooseDiv';\nexport * from './is/SwcWhenDiv';\nexport * from './is/SwcOtherDiv';\nexport * from './is/SwcHTMLDListElementBase';\nexport * from './is/SwcForOfDl';\nexport * from './is/SwcIfDl';\nexport * from './is/SwcObjectDl';\nexport * from './is/SwcChooseDl';\nexport * from './is/SwcWhenDl';\nexport * from './is/SwcOtherDl';\nexport * from './is/SwcHTMLEmbedElementBase';\nexport * from './is/SwcForOfEmbed';\nexport * from './is/SwcIfEmbed';\nexport * from './is/SwcObjectEmbed';\nexport * from './is/SwcChooseEmbed';\nexport * from './is/SwcWhenEmbed';\nexport * from './is/SwcOtherEmbed';\nexport * from './is/SwcHTMLFieldSetElementBase';\nexport * from './is/SwcForOfFieldSet';\nexport * from './is/SwcIfFieldSet';\nexport * from './is/SwcObjectFieldSet';\nexport * from './is/SwcChooseFieldSet';\nexport * from './is/SwcWhenFieldSet';\nexport * from './is/SwcOtherFieldSet';\nexport * from './is/SwcHTMLFormElementBase';\nexport * from './is/SwcForOfForm';\nexport * from './is/SwcIfForm';\nexport * from './is/SwcObjectForm';\nexport * from './is/SwcChooseForm';\nexport * from './is/SwcWhenForm';\nexport * from './is/SwcOtherForm';\nexport * from './is/SwcHTMLHRElementBase';\nexport * from './is/SwcForOfHr';\nexport * from './is/SwcIfHr';\nexport * from './is/SwcObjectHr';\nexport * from './is/SwcChooseHr';\nexport * from './is/SwcWhenHr';\nexport * from './is/SwcOtherHr';\nexport * from './is/SwcHTMLIFrameElementBase';\nexport * from './is/SwcForOfIFrame';\nexport * from './is/SwcIfIFrame';\nexport * from './is/SwcObjectIFrame';\nexport * from './is/SwcChooseIFrame';\nexport * from './is/SwcWhenIFrame';\nexport * from './is/SwcOtherIFrame';\nexport * from './is/SwcHTMLImageElementBase';\nexport * from './is/SwcForOfImage';\nexport * from './is/SwcIfImage';\nexport * from './is/SwcObjectImage';\nexport * from './is/SwcChooseImage';\nexport * from './is/SwcWhenImage';\nexport * from './is/SwcOtherImage';\nexport * from './is/SwcHTMLInputElementBase';\nexport * from './is/SwcForOfInput';\nexport * from './is/SwcIfInput';\nexport * from './is/SwcObjectInput';\nexport * from './is/SwcChooseInput';\nexport * from './is/SwcWhenInput';\nexport * from './is/SwcOtherInput';\nexport * from './is/SwcHTMLLabelElementBase';\nexport * from './is/SwcForOfLabel';\nexport * from './is/SwcIfLabel';\nexport * from './is/SwcObjectLabel';\nexport * from './is/SwcChooseLabel';\nexport * from './is/SwcWhenLabel';\nexport * from './is/SwcOtherLabel';\nexport * from './is/SwcHTMLLegendElementBase';\nexport * from './is/SwcForOfLegend';\nexport * from './is/SwcIfLegend';\nexport * from './is/SwcObjectLegend';\nexport * from './is/SwcChooseLegend';\nexport * from './is/SwcWhenLegend';\nexport * from './is/SwcOtherLegend';\nexport * from './is/SwcHTMLLIElementBase';\nexport * from './is/SwcForOfLi';\nexport * from './is/SwcIfLi';\nexport * from './is/SwcObjectLi';\nexport * from './is/SwcChooseLi';\nexport * from './is/SwcWhenLi';\nexport * from './is/SwcOtherLi';\nexport * from './is/SwcHTMLLinkElementBase';\nexport * from './is/SwcForOfLink';\nexport * from './is/SwcIfLink';\nexport * from './is/SwcObjectLink';\nexport * from './is/SwcChooseLink';\nexport * from './is/SwcWhenLink';\nexport * from './is/SwcOtherLink';\nexport * from './is/SwcHTMLMapElementBase';\nexport * from './is/SwcForOfMap';\nexport * from './is/SwcIfMap';\nexport * from './is/SwcObjectMap';\nexport * from './is/SwcChooseMap';\nexport * from './is/SwcWhenMap';\nexport * from './is/SwcOtherMap';\nexport * from './is/SwcHTMLMetaElementBase';\nexport * from './is/SwcForOfMeta';\nexport * from './is/SwcIfMeta';\nexport * from './is/SwcObjectMeta';\nexport * from './is/SwcChooseMeta';\nexport * from './is/SwcWhenMeta';\nexport * from './is/SwcOtherMeta';\nexport * from './is/SwcHTMLMeterElementBase';\nexport * from './is/SwcForOfMeter';\nexport * from './is/SwcIfMeter';\nexport * from './is/SwcObjectMeter';\nexport * from './is/SwcChooseMeter';\nexport * from './is/SwcWhenMeter';\nexport * from './is/SwcOtherMeter';\nexport * from './is/SwcHTMLModElementBase';\nexport * from './is/SwcForOfMod';\nexport * from './is/SwcIfMod';\nexport * from './is/SwcObjectMod';\nexport * from './is/SwcChooseMod';\nexport * from './is/SwcWhenMod';\nexport * from './is/SwcOtherMod';\nexport * from './is/SwcHTMLObjectElementBase';\nexport * from './is/SwcForOfObject';\nexport * from './is/SwcIfObject';\nexport * from './is/SwcObjectObject';\nexport * from './is/SwcChooseObject';\nexport * from './is/SwcWhenObject';\nexport * from './is/SwcOtherObject';\nexport * from './is/SwcHTMLOListElementBase';\nexport * from './is/SwcForOfOl';\nexport * from './is/SwcIfOl';\nexport * from './is/SwcObjectOl';\nexport * from './is/SwcChooseOl';\nexport * from './is/SwcWhenOl';\nexport * from './is/SwcOtherOl';\nexport * from './is/SwcHTMLOptGroupElementBase';\nexport * from './is/SwcForOfOptGroup';\nexport * from './is/SwcIfOptGroup';\nexport * from './is/SwcObjectOptGroup';\nexport * from './is/SwcChooseOptGroup';\nexport * from './is/SwcWhenOptGroup';\nexport * from './is/SwcOtherOptGroup';\nexport * from './is/SwcHTMLOptionElementBase';\nexport * from './is/SwcForOfOption';\nexport * from './is/SwcIfOption';\nexport * from './is/SwcObjectOption';\nexport * from './is/SwcChooseOption';\nexport * from './is/SwcWhenOption';\nexport * from './is/SwcOtherOption';\nexport * from './is/SwcHTMLOutputElementBase';\nexport * from './is/SwcForOfOutput';\nexport * from './is/SwcIfOutput';\nexport * from './is/SwcObjectOutput';\nexport * from './is/SwcChooseOutput';\nexport * from './is/SwcWhenOutput';\nexport * from './is/SwcOtherOutput';\nexport * from './is/SwcHTMLParagraphElementBase';\nexport * from './is/SwcForOfParagraph';\nexport * from './is/SwcIfParagraph';\nexport * from './is/SwcObjectParagraph';\nexport * from './is/SwcChooseParagraph';\nexport * from './is/SwcWhenParagraph';\nexport * from './is/SwcOtherParagraph';\nexport * from './is/SwcHTMLParamElementBase';\nexport * from './is/SwcForOfParam';\nexport * from './is/SwcIfParam';\nexport * from './is/SwcObjectParam';\nexport * from './is/SwcChooseParam';\nexport * from './is/SwcWhenParam';\nexport * from './is/SwcOtherParam';\nexport * from './is/SwcHTMLPictureElementBase';\nexport * from './is/SwcForOfPicture';\nexport * from './is/SwcIfPicture';\nexport * from './is/SwcObjectPicture';\nexport * from './is/SwcChoosePicture';\nexport * from './is/SwcWhenPicture';\nexport * from './is/SwcOtherPicture';\nexport * from './is/SwcHTMLPreElementBase';\nexport * from './is/SwcForOfPre';\nexport * from './is/SwcIfPre';\nexport * from './is/SwcObjectPre';\nexport * from './is/SwcChoosePre';\nexport * from './is/SwcWhenPre';\nexport * from './is/SwcOtherPre';\nexport * from './is/SwcHTMLProgressElementBase';\nexport * from './is/SwcForOfProgress';\nexport * from './is/SwcIfProgress';\nexport * from './is/SwcObjectProgress';\nexport * from './is/SwcChooseProgress';\nexport * from './is/SwcWhenProgress';\nexport * from './is/SwcOtherProgress';\nexport * from './is/SwcHTMLQuoteElementBase';\nexport * from './is/SwcForOfQuote';\nexport * from './is/SwcIfQuote';\nexport * from './is/SwcObjectQuote';\nexport * from './is/SwcChooseQuote';\nexport * from './is/SwcWhenQuote';\nexport * from './is/SwcOtherQuote';\nexport * from './is/SwcHTMLScriptElementBase';\nexport * from './is/SwcForOfScript';\nexport * from './is/SwcIfScript';\nexport * from './is/SwcObjectScript';\nexport * from './is/SwcChooseScript';\nexport * from './is/SwcWhenScript';\nexport * from './is/SwcOtherScript';\nexport * from './is/SwcHTMLSelectElementBase';\nexport * from './is/SwcForOfSelect';\nexport * from './is/SwcIfSelect';\nexport * from './is/SwcObjectSelect';\nexport * from './is/SwcChooseSelect';\nexport * from './is/SwcWhenSelect';\nexport * from './is/SwcOtherSelect';\nexport * from './is/SwcHTMLSlotElementBase';\nexport * from './is/SwcForOfSlot';\nexport * from './is/SwcIfSlot';\nexport * from './is/SwcObjectSlot';\nexport * from './is/SwcChooseSlot';\nexport * from './is/SwcWhenSlot';\nexport * from './is/SwcOtherSlot';\nexport * from './is/SwcHTMLSourceElementBase';\nexport * from './is/SwcForOfSource';\nexport * from './is/SwcIfSource';\nexport * from './is/SwcObjectSource';\nexport * from './is/SwcChooseSource';\nexport * from './is/SwcWhenSource';\nexport * from './is/SwcOtherSource';\nexport * from './is/SwcHTMLSpanElementBase';\nexport * from './is/SwcForOfSpan';\nexport * from './is/SwcIfSpan';\nexport * from './is/SwcObjectSpan';\nexport * from './is/SwcChooseSpan';\nexport * from './is/SwcWhenSpan';\nexport * from './is/SwcOtherSpan';\nexport * from './is/SwcHTMLStyleElementBase';\nexport * from './is/SwcForOfStyle';\nexport * from './is/SwcIfStyle';\nexport * from './is/SwcObjectStyle';\nexport * from './is/SwcChooseStyle';\nexport * from './is/SwcWhenStyle';\nexport * from './is/SwcOtherStyle';\nexport * from './is/SwcHTMLTableElementBase';\nexport * from './is/SwcForOfTable';\nexport * from './is/SwcIfTable';\nexport * from './is/SwcObjectTable';\nexport * from './is/SwcChooseTable';\nexport * from './is/SwcWhenTable';\nexport * from './is/SwcOtherTable';\nexport * from './is/SwcHTMLTableSectionElementBase';\nexport * from './is/SwcForOfTableSection';\nexport * from './is/SwcIfTableSection';\nexport * from './is/SwcObjectTableSection';\nexport * from './is/SwcChooseTableSection';\nexport * from './is/SwcWhenTableSection';\nexport * from './is/SwcOtherTableSection';\nexport * from './is/SwcHTMLTableCellElementBase';\nexport * from './is/SwcForOfTableCell';\nexport * from './is/SwcIfTableCell';\nexport * from './is/SwcObjectTableCell';\nexport * from './is/SwcChooseTableCell';\nexport * from './is/SwcWhenTableCell';\nexport * from './is/SwcOtherTableCell';\nexport * from './is/SwcHTMLTemplateElementBase';\nexport * from './is/SwcForOfTemplate';\nexport * from './is/SwcIfTemplate';\nexport * from './is/SwcObjectTemplate';\nexport * from './is/SwcChooseTemplate';\nexport * from './is/SwcWhenTemplate';\nexport * from './is/SwcOtherTemplate';\nexport * from './is/SwcHTMLTextAreaElementBase';\nexport * from './is/SwcForOfTextArea';\nexport * from './is/SwcIfTextArea';\nexport * from './is/SwcObjectTextArea';\nexport * from './is/SwcChooseTextArea';\nexport * from './is/SwcWhenTextArea';\nexport * from './is/SwcOtherTextArea';\nexport * from './is/SwcHTMLTimeElementBase';\nexport * from './is/SwcForOfTime';\nexport * from './is/SwcIfTime';\nexport * from './is/SwcObjectTime';\nexport * from './is/SwcChooseTime';\nexport * from './is/SwcWhenTime';\nexport * from './is/SwcOtherTime';\nexport * from './is/SwcHTMLTitleElementBase';\nexport * from './is/SwcForOfTitle';\nexport * from './is/SwcIfTitle';\nexport * from './is/SwcObjectTitle';\nexport * from './is/SwcChooseTitle';\nexport * from './is/SwcWhenTitle';\nexport * from './is/SwcOtherTitle';\nexport * from './is/SwcHTMLTableRowElementBase';\nexport * from './is/SwcForOfTableRow';\nexport * from './is/SwcIfTableRow';\nexport * from './is/SwcObjectTableRow';\nexport * from './is/SwcChooseTableRow';\nexport * from './is/SwcWhenTableRow';\nexport * from './is/SwcOtherTableRow';\nexport * from './is/SwcHTMLTrackElementBase';\nexport * from './is/SwcForOfTrack';\nexport * from './is/SwcIfTrack';\nexport * from './is/SwcObjectTrack';\nexport * from './is/SwcChooseTrack';\nexport * from './is/SwcWhenTrack';\nexport * from './is/SwcOtherTrack';\nexport * from './is/SwcHTMLUListElementBase';\nexport * from './is/SwcForOfUl';\nexport * from './is/SwcIfUl';\nexport * from './is/SwcObjectUl';\nexport * from './is/SwcChooseUl';\nexport * from './is/SwcWhenUl';\nexport * from './is/SwcOtherUl';\nexport * from './is/SwcHTMLVideoElementBase';\nexport * from './is/SwcForOfVideo';\nexport * from './is/SwcIfVideo';\nexport * from './is/SwcObjectVideo';\nexport * from './is/SwcChooseVideo';\nexport * from './is/SwcWhenVideo';\nexport * from './is/SwcOtherVideo';\nexport * from './is/SwcHTMLHeadingElementBase';\nexport * from './is/SwcForOfHeading';\nexport * from './is/SwcIfHeading';\nexport * from './is/SwcObjectHeading';\nexport * from './is/SwcChooseHeading';\nexport * from './is/SwcWhenHeading';\nexport * from './is/SwcOtherHeading';\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA,8BAAO;AACP,wBAAc,uCADd;AAEA,wBAAc,mCAFd;AAGA,wBAAc,mCAHd;AAIA,wBAAc,+BAJd;AAKA,wBAAc,yCALd;AAMA,wBAAc,oCANd;AAOA,wBAAc,+BAPd;AAQA,wBAAc,kCARd;AASA,wBAAc,0CATd;AAUA,wBAAc,0CAVd;AAWA,wBAAc,iCAXd;AAYA,wBAAc,6BAZd;AAaA,wBAAc,gCAbd;AAcA,wBAAc,0BAdd;AAeA,wBAAc,0CAfd;AAgBA,wBAAc,gCAhBd;AAiBA,wBAAc,6BAjBd;AAkBA,wBAAc,iCAlBd;AAmBA,wBAAc,iCAnBd;AAoBA,wBAAc,+BApBd;AAqBA,wBAAc,gCArBd;AAsBA,wBAAc,wCAtBd;AAuBA,wBAAc,8BAvBd;AAwBA,w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AAc,8BA9Yd;AA+YA,wBAAc,+BA/Yd;AAgZA,wBAAc,2CAhZd;AAiZA,wBAAc,iCAjZd;AAkZA,wBAAc,8BAlZd;AAmZA,wBAAc,kCAnZd;AAoZA,wBAAc,kCApZd;AAqZA,wBAAc,gCArZd;AAsZA,wBAAc,iCAtZd;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -76,9 +76,9 @@ let SwcIfAnchor = class SwcIfAnchor2 extends import_SwcHTMLAnchorElementBase.Swc
|
|
|
76
76
|
if (isTruthy && this._masterTplNodes.length > 0) {
|
|
77
77
|
this._masterTplNodes.forEach((tplNode) => {
|
|
78
78
|
const clone = tplNode.cloneNode(true);
|
|
79
|
+
this.appendChild(clone);
|
|
79
80
|
if (clone.style)
|
|
80
81
|
clone.style.display = "contents";
|
|
81
|
-
this.appendChild(clone);
|
|
82
82
|
this.applyData(clone, this._swcValue);
|
|
83
83
|
});
|
|
84
84
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/is/SwcIfAnchor.ts"],
|
|
4
|
-
"sourcesContent": ["import { elementDefine, innerHtml } from '../index';\nimport { SwcHTMLAnchorElementBase } from './SwcHTMLAnchorElementBase';\n\n@elementDefine({ name: 'swc-if-a', extends: 'a' })\nexport class SwcIfAnchor extends SwcHTMLAnchorElementBase {\n private _swcValue: any = false;\n\n constructor() {\n super();\n }\n\n set swcValue(val: any) {\n this._swcValue = val;\n if (this._masterTplNodes.length === 0) this.initCore();\n this.render();\n }\n\n get swcValue(): any {\n return this._swcValue;\n }\n\n @innerHtml\n renderTemplate() {\n return `<slot id=\"tpl-slot\" style=\"display:none;\"></slot>`;\n }\n\n connectedCallback() {\n this.initCore();\n if (this._masterTplNodes.length > 0) {\n this.innerHTML = '';\n this.render();\n }\n }\n\n private render() {\n const attrValue = this.getAttribute('swc-value') || this.getAttribute('value');\n if (attrValue !== null && attrValue.includes('{{')) return;\n\n let displayValue = attrValue !== null ? attrValue : this._swcValue;\n let isTruthy = !!displayValue;\n if (typeof displayValue === 'string') {\n if (displayValue === 'false' || displayValue === '0' || displayValue === '') isTruthy = false;\n else {\n try {\n isTruthy = !!new Function('return ' + displayValue)();\n } catch (e) {\n isTruthy = true;\n }\n }\n }\n\n this.innerHTML = '';\n if (isTruthy && this._masterTplNodes.length > 0) {\n this._masterTplNodes.forEach(tplNode => {\n const clone = tplNode.cloneNode(true) as HTMLElement;\n if (clone.style) clone.style.display = 'contents';\n this.
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA,eAAyC;AACzC,sCAAyC;;;;;;;;;;AAGlC,IAAM,cAAN,MAAMA,qBAAoB,yDAAwB;EAGvD,cAAA;AACE,UAAK;AAHC,SAAA,YAAiB;EAIzB;EAEA,IAAI,SAAS,KAAQ;AACnB,SAAK,YAAY;AACjB,QAAI,KAAK,gBAAgB,WAAW;AAAG,WAAK,SAAQ;AACpD,SAAK,OAAM;EACb;EAEA,IAAI,WAAQ;AACV,WAAO,KAAK;EACd;EAGA,iBAAc;AACZ,WAAO;EACT;EAEA,oBAAiB;AACf,SAAK,SAAQ;AACb,QAAI,KAAK,gBAAgB,SAAS,GAAG;AACnC,WAAK,YAAY;AACjB,WAAK,OAAM;IACb;EACF;EAEQ,SAAM;AACZ,UAAM,YAAY,KAAK,aAAa,WAAW,KAAK,KAAK,aAAa,OAAO;AAC7E,QAAI,cAAc,QAAQ,UAAU,SAAS,IAAI;AAAG;AAEpD,QAAI,eAAe,cAAc,OAAO,YAAY,KAAK;AACzD,QAAI,WAAW,CAAC,CAAC;AACjB,QAAI,OAAO,iBAAiB,UAAU;AACpC,UAAI,iBAAiB,WAAW,iBAAiB,OAAO,iBAAiB;AAAI,mBAAW;WACnF;AACH,YAAI;AACF,qBAAW,CAAC,CAAC,IAAI,SAAS,YAAY,YAAY,EAAC;QACrD,SAAS,GAAG;AACV,qBAAW;QACb;MACF;IACF;AAEA,SAAK,YAAY;AACjB,QAAI,YAAY,KAAK,gBAAgB,SAAS,GAAG;AAC/C,WAAK,gBAAgB,QAAQ,aAAU;AACrC,cAAM,QAAQ,QAAQ,UAAU,IAAI;AACpC,YAAI,MAAM;AAAO,gBAAM,MAAM,UAAU;AACvC,aAAK,
|
|
4
|
+
"sourcesContent": ["import { elementDefine, innerHtml } from '../index';\nimport { SwcHTMLAnchorElementBase } from './SwcHTMLAnchorElementBase';\n\n@elementDefine({ name: 'swc-if-a', extends: 'a' })\nexport class SwcIfAnchor extends SwcHTMLAnchorElementBase {\n private _swcValue: any = false;\n\n constructor() {\n super();\n }\n\n set swcValue(val: any) {\n this._swcValue = val;\n if (this._masterTplNodes.length === 0) this.initCore();\n this.render();\n }\n\n get swcValue(): any {\n return this._swcValue;\n }\n\n @innerHtml\n renderTemplate() {\n return `<slot id=\"tpl-slot\" style=\"display:none;\"></slot>`;\n }\n\n connectedCallback() {\n this.initCore();\n if (this._masterTplNodes.length > 0) {\n this.innerHTML = '';\n this.render();\n }\n }\n\n private render() {\n const attrValue = this.getAttribute('swc-value') || this.getAttribute('value');\n if (attrValue !== null && attrValue.includes('{{')) return;\n\n let displayValue = attrValue !== null ? attrValue : this._swcValue;\n let isTruthy = !!displayValue;\n if (typeof displayValue === 'string') {\n if (displayValue === 'false' || displayValue === '0' || displayValue === '') isTruthy = false;\n else {\n try {\n isTruthy = !!new Function('return ' + displayValue)();\n } catch (e) {\n isTruthy = true;\n }\n }\n }\n\n this.innerHTML = '';\n if (isTruthy && this._masterTplNodes.length > 0) {\n this._masterTplNodes.forEach(tplNode => {\n const clone = tplNode.cloneNode(true) as HTMLElement;\n this.appendChild(clone);\n if (clone.style) clone.style.display = 'contents';\n this.applyData(clone, this._swcValue);\n });\n }\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA,eAAyC;AACzC,sCAAyC;;;;;;;;;;AAGlC,IAAM,cAAN,MAAMA,qBAAoB,yDAAwB;EAGv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SwcIfArea = class SwcIfArea2 extends import_SwcHTMLAreaElementBase.SwcHTMLAr
|
|
|
76
76
|
if (isTruthy && this._masterTplNodes.length > 0) {
|
|
77
77
|
this._masterTplNodes.forEach((tplNode) => {
|
|
78
78
|
const clone = tplNode.cloneNode(true);
|
|
79
|
+
this.appendChild(clone);
|
|
79
80
|
if (clone.style)
|
|
80
81
|
clone.style.display = "contents";
|
|
81
|
-
this.appendChild(clone);
|
|
82
82
|
this.applyData(clone, this._swcValue);
|
|
83
83
|
});
|
|
84
84
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/is/SwcIfArea.ts"],
|
|
4
|
-
"sourcesContent": ["import { elementDefine, innerHtml } from '../index';\nimport { SwcHTMLAreaElementBase } from './SwcHTMLAreaElementBase';\n\n@elementDefine({ name: 'swc-if-area', extends: 'area' })\nexport class SwcIfArea extends SwcHTMLAreaElementBase {\n private _swcValue: any = false;\n\n constructor() {\n super();\n }\n\n set swcValue(val: any) {\n this._swcValue = val;\n if (this._masterTplNodes.length === 0) this.initCore();\n this.render();\n }\n\n get swcValue(): any {\n return this._swcValue;\n }\n\n @innerHtml\n renderTemplate() {\n return `<slot id=\"tpl-slot\" style=\"display:none;\"></slot>`;\n }\n\n connectedCallback() {\n this.initCore();\n if (this._masterTplNodes.length > 0) {\n this.innerHTML = '';\n this.render();\n }\n }\n\n private render() {\n const attrValue = this.getAttribute('swc-value') || this.getAttribute('value');\n if (attrValue !== null && attrValue.includes('{{')) return;\n\n let displayValue = attrValue !== null ? attrValue : this._swcValue;\n let isTruthy = !!displayValue;\n if (typeof displayValue === 'string') {\n if (displayValue === 'false' || displayValue === '0' || displayValue === '') isTruthy = false;\n else {\n try {\n isTruthy = !!new Function('return ' + displayValue)();\n } catch (e) {\n isTruthy = true;\n }\n }\n }\n\n this.innerHTML = '';\n if (isTruthy && this._masterTplNodes.length > 0) {\n this._masterTplNodes.forEach(tplNode => {\n const clone = tplNode.cloneNode(true) as HTMLElement;\n if (clone.style) clone.style.display = 'contents';\n this.
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA,eAAyC;AACzC,oCAAuC;;;;;;;;;;AAGhC,IAAM,YAAN,MAAMA,mBAAkB,qDAAsB;EAGnD,cAAA;AACE,UAAK;AAHC,SAAA,YAAiB;EAIzB;EAEA,IAAI,SAAS,KAAQ;AACnB,SAAK,YAAY;AACjB,QAAI,KAAK,gBAAgB,WAAW;AAAG,WAAK,SAAQ;AACpD,SAAK,OAAM;EACb;EAEA,IAAI,WAAQ;AACV,WAAO,KAAK;EACd;EAGA,iBAAc;AACZ,WAAO;EACT;EAEA,oBAAiB;AACf,SAAK,SAAQ;AACb,QAAI,KAAK,gBAAgB,SAAS,GAAG;AACnC,WAAK,YAAY;AACjB,WAAK,OAAM;IACb;EACF;EAEQ,SAAM;AACZ,UAAM,YAAY,KAAK,aAAa,WAAW,KAAK,KAAK,aAAa,OAAO;AAC7E,QAAI,cAAc,QAAQ,UAAU,SAAS,IAAI;AAAG;AAEpD,QAAI,eAAe,cAAc,OAAO,YAAY,KAAK;AACzD,QAAI,WAAW,CAAC,CAAC;AACjB,QAAI,OAAO,iBAAiB,UAAU;AACpC,UAAI,iBAAiB,WAAW,iBAAiB,OAAO,iBAAiB;AAAI,mBAAW;WACnF;AACH,YAAI;AACF,qBAAW,CAAC,CAAC,IAAI,SAAS,YAAY,YAAY,EAAC;QACrD,SAAS,GAAG;AACV,qBAAW;QACb;MACF;IACF;AAEA,SAAK,YAAY;AACjB,QAAI,YAAY,KAAK,gBAAgB,SAAS,GAAG;AAC/C,WAAK,gBAAgB,QAAQ,aAAU;AACrC,cAAM,QAAQ,QAAQ,UAAU,IAAI;AACpC,YAAI,MAAM;AAAO,gBAAM,MAAM,UAAU;AACvC,aAAK,
|
|
4
|
+
"sourcesContent": ["import { elementDefine, innerHtml } from '../index';\nimport { SwcHTMLAreaElementBase } from './SwcHTMLAreaElementBase';\n\n@elementDefine({ name: 'swc-if-area', extends: 'area' })\nexport class SwcIfArea extends SwcHTMLAreaElementBase {\n private _swcValue: any = false;\n\n constructor() {\n super();\n }\n\n set swcValue(val: any) {\n this._swcValue = val;\n if (this._masterTplNodes.length === 0) this.initCore();\n this.render();\n }\n\n get swcValue(): any {\n return this._swcValue;\n }\n\n @innerHtml\n renderTemplate() {\n return `<slot id=\"tpl-slot\" style=\"display:none;\"></slot>`;\n }\n\n connectedCallback() {\n this.initCore();\n if (this._masterTplNodes.length > 0) {\n this.innerHTML = '';\n this.render();\n }\n }\n\n private render() {\n const attrValue = this.getAttribute('swc-value') || this.getAttribute('value');\n if (attrValue !== null && attrValue.includes('{{')) return;\n\n let displayValue = attrValue !== null ? attrValue : this._swcValue;\n let isTruthy = !!displayValue;\n if (typeof displayValue === 'string') {\n if (displayValue === 'false' || displayValue === '0' || displayValue === '') isTruthy = false;\n else {\n try {\n isTruthy = !!new Function('return ' + displayValue)();\n } catch (e) {\n isTruthy = true;\n }\n }\n }\n\n this.innerHTML = '';\n if (isTruthy && this._masterTplNodes.length > 0) {\n this._masterTplNodes.forEach(tplNode => {\n const clone = tplNode.cloneNode(true) as HTMLElement;\n this.appendChild(clone);\n if (clone.style) clone.style.display = 'contents';\n this.applyData(clone, this._swcValue);\n });\n }\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA,eAAyC;AACzC,oCAAuC;;;;;;;;;;AAGhC,IAAM,YAAN,MAAMA,mBAAkB,qDAAsB;EAGnD,cAAA;AACE,UAAK;AAHC,SAAA,YAAiB;EAIzB;EAEA,IAAI,SAAS,KAAQ;AACnB,SAAK,YAAY;AACjB,QAAI,KAAK,gBAAgB,WAAW;AAAG,WAAK,SAAQ;AACpD,SAAK,OAAM;EACb;EAEA,IAAI,WAAQ;AACV,WAAO,KAAK;EACd;EAGA,iBAAc;AACZ,WAAO;EACT;EAEA,oBAAiB;AACf,SAAK,SAAQ;AACb,QAAI,KAAK,gBAAgB,SAAS,GAAG;AACnC,WAAK,YAAY;AACjB,WAAK,OAAM;IACb;EACF;EAEQ,SAAM;AACZ,UAAM,YAAY,KAAK,aAAa,WAAW,KAAK,KAAK,aAAa,OAAO;AAC7E,QAAI,cAAc,QAAQ,UAAU,SAAS,IAAI;AAAG;AAEpD,QAAI,eAAe,cAAc,OAAO,YAAY,KAAK;AACzD,QAAI,WAAW,CAAC,CAAC;AACjB,QAAI,OAAO,iBAAiB,UAAU;AACpC,UAAI,iBAAiB,WAAW,iBAAiB,OAAO,iBAAiB;AAAI,mBAAW;WACnF;AACH,YAAI;AACF,qBAAW,CAAC,CAAC,IAAI,SAAS,YAAY,YAAY,EAAC;QACrD,SAAS,GAAG;AACV,qBAAW;QACb;MACF;IACF;AAEA,SAAK,YAAY;AACjB,QAAI,YAAY,KAAK,gBAAgB,SAAS,GAAG;AAC/C,WAAK,gBAAgB,QAAQ,aAAU;AACrC,cAAM,QAAQ,QAAQ,UAAU,IAAI;AACpC,aAAK,YAAY,KAAK;AACtB,YAAI,MAAM;AAAO,gBAAM,MAAM,UAAU;AACvC,aAAK,UAAU,OAAO,KAAK,SAAS;MACtC,CAAC;IACH;EACF;;AAtCA,WAAA;EADC;;;;;AAjBU,YAAS,WAAA;MADrB,wBAAc,EAAE,MAAM,eAAe,SAAS,OAAM,CAAE;;GAC1C,SAAS;",
|
|
6
6
|
"names": ["SwcIfArea"]
|
|
7
7
|
}
|
|
@@ -76,9 +76,9 @@ let SwcIfAudio = class SwcIfAudio2 extends import_SwcHTMLAudioElementBase.SwcHTM
|
|
|
76
76
|
if (isTruthy && this._masterTplNodes.length > 0) {
|
|
77
77
|
this._masterTplNodes.forEach((tplNode) => {
|
|
78
78
|
const clone = tplNode.cloneNode(true);
|
|
79
|
+
this.appendChild(clone);
|
|
79
80
|
if (clone.style)
|
|
80
81
|
clone.style.display = "contents";
|
|
81
|
-
this.appendChild(clone);
|
|
82
82
|
this.applyData(clone, this._swcValue);
|
|
83
83
|
});
|
|
84
84
|
}
|