x-block-lib 0.10.23 → 0.10.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +250 -7
- package/dist/index.js +1993 -1992
- package/dist/{vendor.7ekzovn9.js → vendor.lsd4pit7.js} +74 -77
- package/package.json +9 -5
- package/dist/components/blockly/buildReactivity.d.ts +0 -3
- package/dist/components/blockly/clean/index.vue.d.ts +0 -8
- package/dist/components/blockly/index.vue.d.ts +0 -42
- package/dist/components/blockly/jsonHelper.d.ts +0 -3
- package/dist/components/blockly/lock/index.vue.d.ts +0 -10
- package/dist/components/blockly/navigator/blockList/index.vue.d.ts +0 -16
- package/dist/components/blockly/navigator/blockList/item.vue.d.ts +0 -13
- package/dist/components/blockly/navigator/blockTree/index.vue.d.ts +0 -12
- package/dist/components/blockly/navigator/index.vue.d.ts +0 -10
- package/dist/components/blockly/provideInject.d.ts +0 -6
- package/dist/components/blockly/workspace.d.ts +0 -3
- package/dist/components/index.d.ts +0 -4
- package/dist/components/sourceDlg/content/index.vue.d.ts +0 -7
- package/dist/components/sourceDlg/index.vue.d.ts +0 -3
- package/dist/core/blocks/app/argument/getPageArgument/v1/index.d.ts +0 -1
- package/dist/core/blocks/app/argument/index.d.ts +0 -1
- package/dist/core/blocks/app/define/index.d.ts +0 -2
- package/dist/core/blocks/app/define/items/v1/index.d.ts +0 -1
- package/dist/core/blocks/app/define/types/v1/index.d.ts +0 -1
- package/dist/core/blocks/app/event/appBind/v1/index.d.ts +0 -1
- package/dist/core/blocks/app/event/appBindEntry/v1/index.d.ts +0 -58
- package/dist/core/blocks/app/event/index.d.ts +0 -5
- package/dist/core/blocks/app/event/onAppEvent/v1/index.d.ts +0 -1
- package/dist/core/blocks/app/event/triggerAppEvent/v1/index.d.ts +0 -1
- package/dist/core/blocks/app/event/watchEffect/v1/index.d.ts +0 -1
- package/dist/core/blocks/app/index.d.ts +0 -8
- package/dist/core/blocks/app/message/appDebugTrace/v1/index.d.ts +0 -1
- package/dist/core/blocks/app/message/index.d.ts +0 -4
- package/dist/core/blocks/app/message/openConfirmDlg/v1/index.d.ts +0 -1
- package/dist/core/blocks/app/message/openPromptDlg/v1/index.d.ts +0 -1
- package/dist/core/blocks/app/message/popupMessage/v1/index.d.ts +0 -1
- package/dist/core/blocks/app/method/callAppMethod/v1/index.d.ts +0 -1
- package/dist/core/blocks/app/method/implementAppMethod/v1/index.d.ts +0 -1
- package/dist/core/blocks/app/method/index.d.ts +0 -3
- package/dist/core/blocks/app/method/setAppMethodOutput/v1/index.d.ts +0 -1
- package/dist/core/blocks/app/misc/appEnvIs/v1/index.d.ts +0 -1
- package/dist/core/blocks/app/misc/index.d.ts +0 -4
- package/dist/core/blocks/app/misc/navigateTo/v1/index.d.ts +0 -1
- package/dist/core/blocks/app/misc/selectComp/v1/index.d.ts +0 -1
- package/dist/core/blocks/app/misc/selectSlot/v1/index.d.ts +0 -1
- package/dist/core/blocks/app/property/getAppProperty/v1/index.d.ts +0 -42
- package/dist/core/blocks/app/property/index.d.ts +0 -2
- package/dist/core/blocks/app/property/setAppProperty/v1/index.d.ts +0 -1
- package/dist/core/blocks/app/state/getAppState/v1/index.d.ts +0 -28
- package/dist/core/blocks/app/state/index.d.ts +0 -2
- package/dist/core/blocks/app/state/setAppState/v1/index.d.ts +0 -1
- package/dist/core/blocks/color/colorBlend/v1/index.d.ts +0 -1
- package/dist/core/blocks/color/colorPicker/v1/index.d.ts +0 -1
- package/dist/core/blocks/color/colorRandom/v1/index.d.ts +0 -1
- package/dist/core/blocks/color/colorRgb/v1/index.d.ts +0 -1
- package/dist/core/blocks/color/index.d.ts +0 -4
- package/dist/core/blocks/common/index.d.ts +0 -1
- package/dist/core/blocks/common/parameter/v1/index.d.ts +0 -25
- package/dist/core/blocks/common/parameter/v1/whiteList.d.ts +0 -1
- package/dist/core/blocks/compute/flow/index.d.ts +0 -1
- package/dist/core/blocks/compute/flow/onFlowStateEvent/v1/index.d.ts +0 -1
- package/dist/core/blocks/compute/func/callFunc/v1/index.d.ts +0 -1
- package/dist/core/blocks/compute/func/callFuncInternal/v1/index.d.ts +0 -1
- package/dist/core/blocks/compute/func/funcEntry/v1/index.d.ts +0 -1
- package/dist/core/blocks/compute/func/index.d.ts +0 -4
- package/dist/core/blocks/compute/func/setFuncOutput/v1/index.d.ts +0 -1
- package/dist/core/blocks/compute/index.d.ts +0 -3
- package/dist/core/blocks/compute/misc/computeDebugTrace/v1/index.d.ts +0 -1
- package/dist/core/blocks/compute/misc/computeEnvIs/v1/index.d.ts +0 -1
- package/dist/core/blocks/compute/misc/index.d.ts +0 -2
- package/dist/core/blocks/data/addData/v1/blocks.d.ts +0 -3
- package/dist/core/blocks/data/addData/v1/index.d.ts +0 -1
- package/dist/core/blocks/data/condAtomic/v1/index.d.ts +0 -1
- package/dist/core/blocks/data/condLogic/v1/index.d.ts +0 -1
- package/dist/core/blocks/data/deleteData/v1/blocks.d.ts +0 -4
- package/dist/core/blocks/data/deleteData/v1/index.d.ts +0 -1
- package/dist/core/blocks/data/index.d.ts +0 -13
- package/dist/core/blocks/data/interruptTransaction/v1/index.d.ts +0 -1
- package/dist/core/blocks/data/queryData/v1/blocks.d.ts +0 -5
- package/dist/core/blocks/data/queryData/v1/index.d.ts +0 -1
- package/dist/core/blocks/data/queryExtraLimit/v1/index.d.ts +0 -1
- package/dist/core/blocks/data/queryExtraSortby/v1/index.d.ts +0 -1
- package/dist/core/blocks/data/selectColumn/v1/index.d.ts +0 -1
- package/dist/core/blocks/data/selectTable/v1/index.d.ts +0 -1
- package/dist/core/blocks/data/transaction/v1/index.d.ts +0 -1
- package/dist/core/blocks/data/updateColumn/v1/index.d.ts +0 -1
- package/dist/core/blocks/data/updateData/v1/blocks.d.ts +0 -4
- package/dist/core/blocks/data/updateData/v1/index.d.ts +0 -1
- package/dist/core/blocks/index.d.ts +0 -16
- package/dist/core/blocks/json/index.d.ts +0 -6
- package/dist/core/blocks/json/jsonArray/v1/index.d.ts +0 -1
- package/dist/core/blocks/json/jsonBoolean/v1/index.d.ts +0 -1
- package/dist/core/blocks/json/jsonMap/v1/index.d.ts +0 -1
- package/dist/core/blocks/json/jsonNumber/v1/index.d.ts +0 -1
- package/dist/core/blocks/json/jsonRoot/v1/index.d.ts +0 -1
- package/dist/core/blocks/json/jsonString/v1/index.d.ts +0 -1
- package/dist/core/blocks/list/index.d.ts +0 -9
- package/dist/core/blocks/list/listCreate/v1/index.d.ts +0 -1
- package/dist/core/blocks/list/listDelete/v1/index.d.ts +0 -1
- package/dist/core/blocks/list/listGet/v1/index.d.ts +0 -1
- package/dist/core/blocks/list/listGetSublist/v1/index.d.ts +0 -1
- package/dist/core/blocks/list/listIsEmpty/v1/index.d.ts +0 -1
- package/dist/core/blocks/list/listJoin/v1/index.d.ts +0 -1
- package/dist/core/blocks/list/listLength/v1/index.d.ts +0 -1
- package/dist/core/blocks/list/listReverse/v1/index.d.ts +0 -1
- package/dist/core/blocks/list/listSet/v1/index.d.ts +0 -1
- package/dist/core/blocks/logic/extensions/v1/index.d.ts +0 -1
- package/dist/core/blocks/logic/index.d.ts +0 -7
- package/dist/core/blocks/logic/logicBoolean/v1/index.d.ts +0 -1
- package/dist/core/blocks/logic/logicCompare/v1/index.d.ts +0 -1
- package/dist/core/blocks/logic/logicIf/v1/index.d.ts +0 -1
- package/dist/core/blocks/logic/logicNegate/v1/index.d.ts +0 -1
- package/dist/core/blocks/logic/logicOperation/v1/index.d.ts +0 -1
- package/dist/core/blocks/logic/logicTernary/v1/index.d.ts +0 -1
- package/dist/core/blocks/loop/extensions/v1/index.d.ts +0 -1
- package/dist/core/blocks/loop/flowControl/v1/extensions.d.ts +0 -10
- package/dist/core/blocks/loop/flowControl/v1/index.d.ts +0 -1
- package/dist/core/blocks/loop/for/v1/index.d.ts +0 -1
- package/dist/core/blocks/loop/forEach/v1/index.d.ts +0 -1
- package/dist/core/blocks/loop/index.d.ts +0 -6
- package/dist/core/blocks/loop/repeat/v1/index.d.ts +0 -1
- package/dist/core/blocks/loop/whileUntil/v1/index.d.ts +0 -1
- package/dist/core/blocks/math/extensions/v1/index.d.ts +0 -1
- package/dist/core/blocks/math/index.d.ts +0 -13
- package/dist/core/blocks/math/mathArithmetic/v1/index.d.ts +0 -1
- package/dist/core/blocks/math/mathConstant/v1/index.d.ts +0 -1
- package/dist/core/blocks/math/mathConstrain/v1/index.d.ts +0 -1
- package/dist/core/blocks/math/mathModulo/v1/index.d.ts +0 -1
- package/dist/core/blocks/math/mathNumber/v1/index.d.ts +0 -1
- package/dist/core/blocks/math/mathNumberProperty/v1/index.d.ts +0 -1
- package/dist/core/blocks/math/mathOnList/v1/index.d.ts +0 -1
- package/dist/core/blocks/math/mathRandomFloat/v1/index.d.ts +0 -1
- package/dist/core/blocks/math/mathRandomInt/v1/index.d.ts +0 -1
- package/dist/core/blocks/math/mathRound/v1/index.d.ts +0 -1
- package/dist/core/blocks/math/mathSingle/v1/index.d.ts +0 -1
- package/dist/core/blocks/math/mathTrig/v1/index.d.ts +0 -1
- package/dist/core/blocks/object/index.d.ts +0 -6
- package/dist/core/blocks/object/objectCreate/v1/index.d.ts +0 -1
- package/dist/core/blocks/object/objectDelete/v1/index.d.ts +0 -1
- package/dist/core/blocks/object/objectFromJson/v1/index.d.ts +0 -1
- package/dist/core/blocks/object/objectGet/v1/index.d.ts +0 -1
- package/dist/core/blocks/object/objectSet/v1/index.d.ts +0 -1
- package/dist/core/blocks/object/objectToJson/v1/index.d.ts +0 -1
- package/dist/core/blocks/procedure/index.d.ts +0 -2
- package/dist/core/blocks/procedure/procedureCall/v1/index.d.ts +0 -1
- package/dist/core/blocks/procedure/procedureDef/v1/index.d.ts +0 -29
- package/dist/core/blocks/procedure/procedureReturn/v1/index.d.ts +0 -1
- package/dist/core/blocks/resource/downloadResource/v1/index.d.ts +0 -1
- package/dist/core/blocks/resource/index.d.ts +0 -3
- package/dist/core/blocks/resource/selectResource/v1/index.d.ts +0 -1
- package/dist/core/blocks/resource/uploadResource/v1/index.d.ts +0 -1
- package/dist/core/blocks/text/index.d.ts +0 -14
- package/dist/core/blocks/text/text/v1/index.d.ts +0 -1
- package/dist/core/blocks/text/textAppend/v1/index.d.ts +0 -1
- package/dist/core/blocks/text/textChangeCase/v1/index.d.ts +0 -1
- package/dist/core/blocks/text/textCharAt/v1/index.d.ts +0 -1
- package/dist/core/blocks/text/textCount/v1/index.d.ts +0 -1
- package/dist/core/blocks/text/textIndexOf/v1/index.d.ts +0 -1
- package/dist/core/blocks/text/textIsEmpty/v1/index.d.ts +0 -1
- package/dist/core/blocks/text/textJoin/v1/index.d.ts +0 -21
- package/dist/core/blocks/text/textLength/v1/index.d.ts +0 -1
- package/dist/core/blocks/text/textReplace/v1/index.d.ts +0 -1
- package/dist/core/blocks/text/textReverse/v1/index.d.ts +0 -1
- package/dist/core/blocks/text/textSplit/v1/index.d.ts +0 -1
- package/dist/core/blocks/text/textSubstring/v1/index.d.ts +0 -1
- package/dist/core/blocks/text/textTrim/v1/index.d.ts +0 -1
- package/dist/core/blocks/text/utils/index.d.ts +0 -1
- package/dist/core/blocks/time/createTimer/v1/index.d.ts +0 -1
- package/dist/core/blocks/time/delay/v1/index.d.ts +0 -1
- package/dist/core/blocks/time/index.d.ts +0 -2
- package/dist/core/blocks/variable/extensions/v1/index.d.ts +0 -1
- package/dist/core/blocks/variable/index.d.ts +0 -3
- package/dist/core/blocks/variable/variableGet/v1/index.d.ts +0 -1
- package/dist/core/blocks/variable/variableSet/v1/index.d.ts +0 -1
- package/dist/core/category/app/comp/v1/index.d.ts +0 -7
- package/dist/core/category/app/compute/v1/index.d.ts +0 -7
- package/dist/core/category/app/index.d.ts +0 -6
- package/dist/core/category/app/message/v1/index.d.ts +0 -7
- package/dist/core/category/app/misc/v1/index.d.ts +0 -7
- package/dist/core/category/app/page/v1/index.d.ts +0 -7
- package/dist/core/category/app/resource/v1/index.d.ts +0 -7
- package/dist/core/category/common/index.d.ts +0 -2
- package/dist/core/category/common/procedure/v1/index.d.ts +0 -7
- package/dist/core/category/common/variable/v1/index.d.ts +0 -7
- package/dist/core/category/compute/data/v1/index.d.ts +0 -7
- package/dist/core/category/compute/flow/v1/index.d.ts +0 -7
- package/dist/core/category/compute/func/v1/index.d.ts +0 -7
- package/dist/core/category/compute/index.d.ts +0 -4
- package/dist/core/category/compute/misc/v1/index.d.ts +0 -7
- package/dist/core/category/index.d.ts +0 -3
- package/dist/core/category/utils/index.d.ts +0 -9
- package/dist/core/dialog/index.d.ts +0 -1
- package/dist/core/events/index.d.ts +0 -10
- package/dist/core/index.d.ts +0 -3
- package/dist/core/locale/index.d.ts +0 -2
- package/dist/core/locale/msg/en.d.ts +0 -517
- package/dist/core/locale/msg/zhHans.d.ts +0 -517
- package/dist/core/misc/index.d.ts +0 -3
- package/dist/core/plugins/disableTopBlocks/index.d.ts +0 -3
- package/dist/core/plugins/fieldDropdown/index.d.ts +0 -1
- package/dist/core/plugins/index.d.ts +0 -2
- package/dist/core/plugins/workspaceCleanUp/index.d.ts +0 -1
- package/dist/core/theme/index.d.ts +0 -1
- package/dist/core/toolbox/common/color/v1/index.d.ts +0 -74
- package/dist/core/toolbox/common/index.d.ts +0 -8
- package/dist/core/toolbox/common/list/v1/index.d.ts +0 -87
- package/dist/core/toolbox/common/logic/v1/index.d.ts +0 -14
- package/dist/core/toolbox/common/loop/v1/index.d.ts +0 -56
- package/dist/core/toolbox/common/math/v1/index.d.ts +0 -131
- package/dist/core/toolbox/common/message/v1/index.d.ts +0 -33
- package/dist/core/toolbox/common/object/v1/index.d.ts +0 -30
- package/dist/core/toolbox/common/text/v1/index.d.ts +0 -172
- package/dist/core/toolbox/common/time/v1/index.d.ts +0 -23
- package/dist/core/toolbox/comp/v1/index.d.ts +0 -172
- package/dist/core/toolbox/flow/v1/index.d.ts +0 -150
- package/dist/core/toolbox/func/v1/index.d.ts +0 -150
- package/dist/core/toolbox/index.d.ts +0 -5
- package/dist/core/toolbox/json/v1/index.d.ts +0 -12
- package/dist/core/toolbox/page/v1/index.d.ts +0 -172
- package/dist/core/utils/app/app.d.ts +0 -9
- package/dist/core/utils/app/argument.d.ts +0 -15
- package/dist/core/utils/app/bind.d.ts +0 -4
- package/dist/core/utils/app/comp.d.ts +0 -9
- package/dist/core/utils/app/event.d.ts +0 -22
- package/dist/core/utils/app/index.d.ts +0 -11
- package/dist/core/utils/app/method.d.ts +0 -27
- package/dist/core/utils/app/node.d.ts +0 -13
- package/dist/core/utils/app/page.d.ts +0 -9
- package/dist/core/utils/app/property.d.ts +0 -22
- package/dist/core/utils/app/slot.d.ts +0 -9
- package/dist/core/utils/app/state.d.ts +0 -12
- package/dist/core/utils/common/block.d.ts +0 -2
- package/dist/core/utils/common/check.d.ts +0 -4
- package/dist/core/utils/common/colour.d.ts +0 -1
- package/dist/core/utils/common/index.d.ts +0 -6
- package/dist/core/utils/common/misc.d.ts +0 -18
- package/dist/core/utils/common/parameter.d.ts +0 -3
- package/dist/core/utils/common/shadow.d.ts +0 -15
- package/dist/core/utils/compute/func.d.ts +0 -11
- package/dist/core/utils/compute/index.d.ts +0 -2
- package/dist/core/utils/compute/space.d.ts +0 -7
- package/dist/core/utils/data/index.d.ts +0 -2
- package/dist/core/utils/data/space.d.ts +0 -5
- package/dist/core/utils/data/table.d.ts +0 -17
- package/dist/core/utils/resource/dir.d.ts +0 -12
- package/dist/core/utils/resource/index.d.ts +0 -3
- package/dist/core/utils/resource/resource.d.ts +0 -5
- package/dist/core/utils/resource/space.d.ts +0 -5
- package/dist/i18n/index.d.ts +0 -1
|
@@ -23591,14 +23591,73 @@ var Zf = /* @__PURE__ */ t(((e, t) => {
|
|
|
23591
23591
|
return Object.assign(e, we), e;
|
|
23592
23592
|
}, Ke = Ge({});
|
|
23593
23593
|
Ke.newInstance = () => Ge({}), t.exports = Ke, Ke.HighlightJS = Ke, Ke.default = Ke;
|
|
23594
|
-
})))())).default, $f =
|
|
23594
|
+
})))())).default, $f = r({
|
|
23595
|
+
props: {
|
|
23596
|
+
code: {
|
|
23597
|
+
type: String,
|
|
23598
|
+
required: !0
|
|
23599
|
+
},
|
|
23600
|
+
language: {
|
|
23601
|
+
type: String,
|
|
23602
|
+
default: ""
|
|
23603
|
+
},
|
|
23604
|
+
autodetect: {
|
|
23605
|
+
type: Boolean,
|
|
23606
|
+
default: !0
|
|
23607
|
+
},
|
|
23608
|
+
ignoreIllegals: {
|
|
23609
|
+
type: Boolean,
|
|
23610
|
+
default: !0
|
|
23611
|
+
}
|
|
23612
|
+
},
|
|
23613
|
+
setup: function(e) {
|
|
23614
|
+
var t = p(e.language);
|
|
23615
|
+
v((function() {
|
|
23616
|
+
return e.language;
|
|
23617
|
+
}), (function(e) {
|
|
23618
|
+
t.value = e;
|
|
23619
|
+
}));
|
|
23620
|
+
var r = n((function() {
|
|
23621
|
+
return e.autodetect || !t.value;
|
|
23622
|
+
})), i = n((function() {
|
|
23623
|
+
return !r.value && !Qf.getLanguage(t.value);
|
|
23624
|
+
}));
|
|
23625
|
+
return {
|
|
23626
|
+
className: n((function() {
|
|
23627
|
+
return i.value ? "" : "hljs " + t.value;
|
|
23628
|
+
})),
|
|
23629
|
+
highlightedCode: n((function() {
|
|
23630
|
+
if (i.value) return console.warn("The language \"" + t.value + "\" you specified could not be found."), e.code.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
23631
|
+
if (r.value) {
|
|
23632
|
+
var n = Qf.highlightAuto(e.code);
|
|
23633
|
+
return t.value = n.language ?? "", n.value;
|
|
23634
|
+
}
|
|
23635
|
+
return (n = Qf.highlight(e.code, {
|
|
23636
|
+
language: t.value,
|
|
23637
|
+
ignoreIllegals: e.ignoreIllegals
|
|
23638
|
+
})).value;
|
|
23639
|
+
}))
|
|
23640
|
+
};
|
|
23641
|
+
},
|
|
23642
|
+
render: function() {
|
|
23643
|
+
return o("pre", {}, [o("code", {
|
|
23644
|
+
class: this.className,
|
|
23645
|
+
innerHTML: this.highlightedCode
|
|
23646
|
+
})]);
|
|
23647
|
+
}
|
|
23648
|
+
}), ep = {
|
|
23649
|
+
install: function(e) {
|
|
23650
|
+
e.component("highlightjs", $f);
|
|
23651
|
+
},
|
|
23652
|
+
component: $f
|
|
23653
|
+
}, tp = "[A-Za-z$_][0-9A-Za-z$_]*", np = /* @__PURE__ */ "as.in.of.if.for.while.finally.var.new.function.do.return.void.else.break.catch.instanceof.with.throw.case.default.try.switch.continue.typeof.delete.let.yield.const.class.debugger.async.await.static.import.from.export.extends.using".split("."), rp = [
|
|
23595
23654
|
"true",
|
|
23596
23655
|
"false",
|
|
23597
23656
|
"null",
|
|
23598
23657
|
"undefined",
|
|
23599
23658
|
"NaN",
|
|
23600
23659
|
"Infinity"
|
|
23601
|
-
],
|
|
23660
|
+
], ip = /* @__PURE__ */ "Object.Function.Boolean.Symbol.Math.Date.Number.BigInt.String.RegExp.Array.Float32Array.Float64Array.Int8Array.Uint8Array.Uint8ClampedArray.Int16Array.Int32Array.Uint16Array.Uint32Array.BigInt64Array.BigUint64Array.Set.Map.WeakSet.WeakMap.ArrayBuffer.SharedArrayBuffer.Atomics.DataView.JSON.Promise.Generator.GeneratorFunction.AsyncFunction.Reflect.Proxy.Intl.WebAssembly".split("."), ap = [
|
|
23602
23661
|
"Error",
|
|
23603
23662
|
"EvalError",
|
|
23604
23663
|
"InternalError",
|
|
@@ -23607,7 +23666,7 @@ var Zf = /* @__PURE__ */ t(((e, t) => {
|
|
|
23607
23666
|
"SyntaxError",
|
|
23608
23667
|
"TypeError",
|
|
23609
23668
|
"URIError"
|
|
23610
|
-
],
|
|
23669
|
+
], op = [
|
|
23611
23670
|
"setInterval",
|
|
23612
23671
|
"setTimeout",
|
|
23613
23672
|
"clearInterval",
|
|
@@ -23625,7 +23684,7 @@ var Zf = /* @__PURE__ */ t(((e, t) => {
|
|
|
23625
23684
|
"encodeURIComponent",
|
|
23626
23685
|
"escape",
|
|
23627
23686
|
"unescape"
|
|
23628
|
-
],
|
|
23687
|
+
], sp = [
|
|
23629
23688
|
"arguments",
|
|
23630
23689
|
"this",
|
|
23631
23690
|
"super",
|
|
@@ -23636,12 +23695,12 @@ var Zf = /* @__PURE__ */ t(((e, t) => {
|
|
|
23636
23695
|
"sessionStorage",
|
|
23637
23696
|
"module",
|
|
23638
23697
|
"global"
|
|
23639
|
-
],
|
|
23640
|
-
function
|
|
23698
|
+
], cp = [].concat(op, ip, ap);
|
|
23699
|
+
function lp(e) {
|
|
23641
23700
|
let t = e.regex, n = (e, { after: t }) => {
|
|
23642
23701
|
let n = "</" + e[0].slice(1);
|
|
23643
23702
|
return e.input.indexOf(n, t) !== -1;
|
|
23644
|
-
}, r =
|
|
23703
|
+
}, r = tp, i = {
|
|
23645
23704
|
begin: "<>",
|
|
23646
23705
|
end: "</>"
|
|
23647
23706
|
}, a = /<[A-Za-z0-9\\._:-]+\s*\/>/, o = {
|
|
@@ -23665,11 +23724,11 @@ function sp(e) {
|
|
|
23665
23724
|
}
|
|
23666
23725
|
}
|
|
23667
23726
|
}, s = {
|
|
23668
|
-
$pattern:
|
|
23669
|
-
keyword:
|
|
23670
|
-
literal:
|
|
23671
|
-
built_in:
|
|
23672
|
-
"variable.language":
|
|
23727
|
+
$pattern: tp,
|
|
23728
|
+
keyword: np,
|
|
23729
|
+
literal: rp,
|
|
23730
|
+
built_in: cp,
|
|
23731
|
+
"variable.language": sp
|
|
23673
23732
|
}, c = "[0-9](_?[0-9])*", l = `\\.(${c})`, u = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", d = {
|
|
23674
23733
|
className: "number",
|
|
23675
23734
|
variants: [
|
|
@@ -23816,7 +23875,7 @@ function sp(e) {
|
|
|
23816
23875
|
relevance: 0,
|
|
23817
23876
|
match: t.either(/\bJSON/, /\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/, /\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/, /\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),
|
|
23818
23877
|
className: "title.class",
|
|
23819
|
-
keywords: { _: [...
|
|
23878
|
+
keywords: { _: [...ip, ...ap] }
|
|
23820
23879
|
}, re = {
|
|
23821
23880
|
label: "use_strict",
|
|
23822
23881
|
className: "meta",
|
|
@@ -23846,7 +23905,7 @@ function sp(e) {
|
|
|
23846
23905
|
}
|
|
23847
23906
|
let se = {
|
|
23848
23907
|
match: t.concat(/\b/, oe([
|
|
23849
|
-
...
|
|
23908
|
+
...op,
|
|
23850
23909
|
"super",
|
|
23851
23910
|
"import"
|
|
23852
23911
|
].map((e) => `${e}\\s*\\(`)), r, t.lookahead(/\s*\(/)),
|
|
@@ -24025,66 +24084,4 @@ function sp(e) {
|
|
|
24025
24084
|
};
|
|
24026
24085
|
}
|
|
24027
24086
|
//#endregion
|
|
24028
|
-
|
|
24029
|
-
var cp = r({
|
|
24030
|
-
props: {
|
|
24031
|
-
code: {
|
|
24032
|
-
type: String,
|
|
24033
|
-
required: !0
|
|
24034
|
-
},
|
|
24035
|
-
language: {
|
|
24036
|
-
type: String,
|
|
24037
|
-
default: ""
|
|
24038
|
-
},
|
|
24039
|
-
autodetect: {
|
|
24040
|
-
type: Boolean,
|
|
24041
|
-
default: !0
|
|
24042
|
-
},
|
|
24043
|
-
ignoreIllegals: {
|
|
24044
|
-
type: Boolean,
|
|
24045
|
-
default: !0
|
|
24046
|
-
}
|
|
24047
|
-
},
|
|
24048
|
-
setup: function(e) {
|
|
24049
|
-
var t = p(e.language);
|
|
24050
|
-
v((function() {
|
|
24051
|
-
return e.language;
|
|
24052
|
-
}), (function(e) {
|
|
24053
|
-
t.value = e;
|
|
24054
|
-
}));
|
|
24055
|
-
var r = n((function() {
|
|
24056
|
-
return e.autodetect || !t.value;
|
|
24057
|
-
})), i = n((function() {
|
|
24058
|
-
return !r.value && !Qf.getLanguage(t.value);
|
|
24059
|
-
}));
|
|
24060
|
-
return {
|
|
24061
|
-
className: n((function() {
|
|
24062
|
-
return i.value ? "" : "hljs " + t.value;
|
|
24063
|
-
})),
|
|
24064
|
-
highlightedCode: n((function() {
|
|
24065
|
-
if (i.value) return console.warn("The language \"" + t.value + "\" you specified could not be found."), e.code.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
24066
|
-
if (r.value) {
|
|
24067
|
-
var n = Qf.highlightAuto(e.code);
|
|
24068
|
-
return t.value = n.language ?? "", n.value;
|
|
24069
|
-
}
|
|
24070
|
-
return (n = Qf.highlight(e.code, {
|
|
24071
|
-
language: t.value,
|
|
24072
|
-
ignoreIllegals: e.ignoreIllegals
|
|
24073
|
-
})).value;
|
|
24074
|
-
}))
|
|
24075
|
-
};
|
|
24076
|
-
},
|
|
24077
|
-
render: function() {
|
|
24078
|
-
return o("pre", {}, [o("code", {
|
|
24079
|
-
class: this.className,
|
|
24080
|
-
innerHTML: this.highlightedCode
|
|
24081
|
-
})]);
|
|
24082
|
-
}
|
|
24083
|
-
}), lp = {
|
|
24084
|
-
install: function(e) {
|
|
24085
|
-
e.component("highlightjs", cp);
|
|
24086
|
-
},
|
|
24087
|
-
component: cp
|
|
24088
|
-
};
|
|
24089
|
-
//#endregion
|
|
24090
|
-
export { Ze as A, en as B, Te as C, Ae as D, De as E, vt as F, fn as G, sn as H, Nt as I, jn as J, pn as K, Vt as L, ut as M, dt as N, je as O, gt as P, Ln as Q, Ht as R, Ce as S, C as T, cn as U, tn as V, dn as W, Nn as X, Mn as Y, Pn as Z, Hn as _, Yf as a, ge as b, Wl as c, Nl as d, Ml as f, Vn as g, Bc as h, Zf as i, it as j, Ye as k, V as l, Ol as m, sp as n, Ql as o, kl as p, kn as q, Qf as r, Gl as s, lp as t, Pl as u, re as v, Ee as w, Se as x, me as y, Zt as z };
|
|
24087
|
+
export { Ze as A, en as B, Te as C, Ae as D, De as E, vt as F, fn as G, sn as H, Nt as I, jn as J, pn as K, Vt as L, ut as M, dt as N, je as O, gt as P, Ln as Q, Ht as R, Ce as S, C as T, cn as U, tn as V, dn as W, Nn as X, Mn as Y, Pn as Z, Hn as _, Yf as a, ge as b, Wl as c, Nl as d, Ml as f, Vn as g, Bc as h, Zf as i, it as j, Ye as k, V as l, Ol as m, ep as n, Ql as o, kl as p, kn as q, Qf as r, Gl as s, lp as t, Pl as u, re as v, Ee as w, Se as x, me as y, Zt as z };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "x-block-lib",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.10.
|
|
4
|
+
"version": "0.10.25",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -40,19 +40,22 @@
|
|
|
40
40
|
"vuetify": "^4.0.2"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"x-error-lib": "^0.5.
|
|
44
|
-
"x-essential-lib": "^0.9.
|
|
45
|
-
"x-runtime-lib": "^0.9.
|
|
46
|
-
"x-state-lib": "^0.3.
|
|
43
|
+
"x-error-lib": "^0.5.17",
|
|
44
|
+
"x-essential-lib": "^0.9.30",
|
|
45
|
+
"x-runtime-lib": "^0.9.32",
|
|
46
|
+
"x-state-lib": "^0.3.43"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@eslint/js": "^10.0.1",
|
|
50
|
+
"@tsconfig/node24": "^24.0.4",
|
|
50
51
|
"@types/lodash-es": "^4.17.12",
|
|
51
52
|
"@types/node": "^25.4.0",
|
|
52
53
|
"@vitejs/plugin-vue": "^6.0.4",
|
|
54
|
+
"@vue/tsconfig": "^0.9.1",
|
|
53
55
|
"eslint": "^10.0.3",
|
|
54
56
|
"eslint-config-prettier": "^10.1.8",
|
|
55
57
|
"eslint-plugin-prettier": "^5.5.5",
|
|
58
|
+
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
56
59
|
"eslint-plugin-vue": "^10.8.0",
|
|
57
60
|
"globals": "^17.4.0",
|
|
58
61
|
"husky": "^9.1.7",
|
|
@@ -63,6 +66,7 @@
|
|
|
63
66
|
"typescript-eslint": "^8.57.0",
|
|
64
67
|
"vite": "^8.0.0",
|
|
65
68
|
"vite-plugin-css-injected-by-js": "^4.0.1",
|
|
69
|
+
"vite-plugin-dts": "^4.5.4",
|
|
66
70
|
"vite-plugin-vuetify": "^2.1.3",
|
|
67
71
|
"vue-eslint-parser": "^10.4.0",
|
|
68
72
|
"vue-tsc": "^3.2.5"
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
lock: boolean;
|
|
3
|
-
};
|
|
4
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
5
|
-
cleanWorkspace: () => void;
|
|
6
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
-
declare const _default: typeof __VLS_export;
|
|
8
|
-
export default _default;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import * as Blockly from 'blockly/core';
|
|
2
|
-
import { Type } from './workspace';
|
|
3
|
-
type __VLS_Props = {
|
|
4
|
-
type: Type;
|
|
5
|
-
version: string;
|
|
6
|
-
locale: string;
|
|
7
|
-
dark: boolean;
|
|
8
|
-
};
|
|
9
|
-
type __VLS_ModelProps = {
|
|
10
|
-
'lock': boolean;
|
|
11
|
-
'scale': number;
|
|
12
|
-
};
|
|
13
|
-
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
14
|
-
declare var __VLS_1: {};
|
|
15
|
-
type __VLS_Slots = {} & {
|
|
16
|
-
bottom?: (props: typeof __VLS_1) => any;
|
|
17
|
-
};
|
|
18
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
19
|
-
loading: import("vue").Ref<boolean, boolean>;
|
|
20
|
-
load: (state: any) => void;
|
|
21
|
-
save: () => any;
|
|
22
|
-
appendBlock: (state: Blockly.serialization.blocks.State) => void;
|
|
23
|
-
generateCode: () => string | undefined;
|
|
24
|
-
generateReactivity: () => import("x-runtime-lib").Reactivity;
|
|
25
|
-
fireStateChange: () => void;
|
|
26
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
|
-
ready: (...args: any[]) => void;
|
|
28
|
-
"update:lock": (value: boolean) => void;
|
|
29
|
-
"update:scale": (value: number) => void;
|
|
30
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
31
|
-
onReady?: ((...args: any[]) => any) | undefined;
|
|
32
|
-
"onUpdate:lock"?: ((value: boolean) => any) | undefined;
|
|
33
|
-
"onUpdate:scale"?: ((value: number) => any) | undefined;
|
|
34
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
36
|
-
declare const _default: typeof __VLS_export;
|
|
37
|
-
export default _default;
|
|
38
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
39
|
-
new (): {
|
|
40
|
-
$slots: S;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
type __VLS_ModelProps = {
|
|
2
|
-
modelValue: boolean;
|
|
3
|
-
};
|
|
4
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
-
"update:modelValue": (value: boolean) => any;
|
|
6
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
7
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
8
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
-
declare const _default: typeof __VLS_export;
|
|
10
|
-
export default _default;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
lock: boolean;
|
|
3
|
-
};
|
|
4
|
-
type __VLS_ModelProps = {
|
|
5
|
-
modelValue: boolean;
|
|
6
|
-
};
|
|
7
|
-
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
8
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
9
|
-
update: () => void;
|
|
10
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
-
"update:modelValue": (value: boolean) => any;
|
|
12
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
13
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
14
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
-
declare const _default: typeof __VLS_export;
|
|
16
|
-
export default _default;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
id: string;
|
|
3
|
-
title: string;
|
|
4
|
-
desc: string;
|
|
5
|
-
select: boolean;
|
|
6
|
-
};
|
|
7
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
-
"x-click": (...args: any[]) => void;
|
|
9
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
-
"onX-click"?: ((...args: any[]) => any) | undefined;
|
|
11
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
-
declare const _default: typeof __VLS_export;
|
|
13
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
type __VLS_ModelProps = {
|
|
2
|
-
modelValue: boolean;
|
|
3
|
-
};
|
|
4
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {
|
|
5
|
-
update: () => void;
|
|
6
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
-
"update:modelValue": (value: boolean) => any;
|
|
8
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
9
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
10
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
-
declare const _default: typeof __VLS_export;
|
|
12
|
-
export default _default;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
type: 'list' | 'tree';
|
|
3
|
-
lock: boolean;
|
|
4
|
-
};
|
|
5
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
6
|
-
open: import("vue").WritableComputedRef<boolean, boolean>;
|
|
7
|
-
update: () => void;
|
|
8
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
-
declare const _default: typeof __VLS_export;
|
|
10
|
-
export default _default;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import 'highlight.js/styles/default.min.css';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
code: string;
|
|
4
|
-
};
|
|
5
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
-
declare const _default: typeof __VLS_export;
|
|
7
|
-
export default _default;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
declare const _default: typeof __VLS_export;
|
|
3
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './getPageArgument/v1';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import * as Blockly from 'blockly/core';
|
|
2
|
-
import { Type } from 'x-essential-lib';
|
|
3
|
-
import { PropertyKind } from 'x-runtime-lib';
|
|
4
|
-
import { BindKind } from '@/core/utils/app';
|
|
5
|
-
type AppBindEntryV1Type = typeof APP_BIND_ENTRY_V1;
|
|
6
|
-
interface AppBindEntryV1 extends AppBindEntryV1Type {
|
|
7
|
-
kind: BindKind;
|
|
8
|
-
node: {
|
|
9
|
-
id: string;
|
|
10
|
-
key: string;
|
|
11
|
-
alias: string;
|
|
12
|
-
};
|
|
13
|
-
property: {
|
|
14
|
-
id: string;
|
|
15
|
-
kind: PropertyKind | '';
|
|
16
|
-
names: string[];
|
|
17
|
-
};
|
|
18
|
-
state: {
|
|
19
|
-
id: string;
|
|
20
|
-
name: string;
|
|
21
|
-
type: Type;
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
export type AppBindEntryBlockV1 = Blockly.BlockSvg & AppBindEntryV1;
|
|
25
|
-
declare const APP_BIND_ENTRY_V1: {
|
|
26
|
-
init: (this: AppBindEntryBlockV1) => void;
|
|
27
|
-
saveExtraState: (this: AppBindEntryBlockV1) => {
|
|
28
|
-
kind: BindKind;
|
|
29
|
-
node: {
|
|
30
|
-
id: string;
|
|
31
|
-
key: string;
|
|
32
|
-
alias: string;
|
|
33
|
-
};
|
|
34
|
-
property: {
|
|
35
|
-
id: string;
|
|
36
|
-
kind: PropertyKind | "";
|
|
37
|
-
names: string[];
|
|
38
|
-
};
|
|
39
|
-
state: {
|
|
40
|
-
id: string;
|
|
41
|
-
name: string;
|
|
42
|
-
type: Type;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
loadExtraState: (this: AppBindEntryBlockV1, state: any) => void;
|
|
46
|
-
genKindOpts_: (this: AppBindEntryBlockV1) => Blockly.MenuOption[];
|
|
47
|
-
genNodeOpts_: (this: AppBindEntryBlockV1) => Blockly.MenuOption[];
|
|
48
|
-
genPropertyOpts_: (this: AppBindEntryBlockV1) => Blockly.MenuOption[];
|
|
49
|
-
genStateOpts_: (this: AppBindEntryBlockV1) => Blockly.MenuOption[];
|
|
50
|
-
onchange: (this: AppBindEntryBlockV1, event: Blockly.Events.Abstract) => void;
|
|
51
|
-
onKindChange_: (this: AppBindEntryBlockV1, value: BindKind) => void;
|
|
52
|
-
onNodeChange_: (this: AppBindEntryBlockV1, value: string) => void;
|
|
53
|
-
onPropertyChange_: (this: AppBindEntryBlockV1, value: string) => void;
|
|
54
|
-
onStateChange_: (this: AppBindEntryBlockV1, value: string) => void;
|
|
55
|
-
updateShape_: (this: AppBindEntryBlockV1) => void;
|
|
56
|
-
checkWarning_: (this: AppBindEntryBlockV1) => void;
|
|
57
|
-
};
|
|
58
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import * as Blockly from 'blockly/core';
|
|
2
|
-
import { PropertyKind } from 'x-runtime-lib';
|
|
3
|
-
type GetAppPropertyV1Type = typeof GET_APP_PROPERTY_V1;
|
|
4
|
-
interface GetAppPropertyV1 extends GetAppPropertyV1Type {
|
|
5
|
-
node: {
|
|
6
|
-
id: string;
|
|
7
|
-
key: string;
|
|
8
|
-
alias: string;
|
|
9
|
-
};
|
|
10
|
-
property: {
|
|
11
|
-
id: string;
|
|
12
|
-
kind: PropertyKind | '';
|
|
13
|
-
names: string[];
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
export type GetAppPropertyBlockV1 = Blockly.Block & GetAppPropertyV1;
|
|
17
|
-
declare const GET_APP_PROPERTY_V1: {
|
|
18
|
-
init: (this: GetAppPropertyBlockV1) => void;
|
|
19
|
-
initData_: (this: GetAppPropertyBlockV1) => void;
|
|
20
|
-
saveExtraState: (this: GetAppPropertyBlockV1) => {
|
|
21
|
-
node: {
|
|
22
|
-
id: string;
|
|
23
|
-
key: string;
|
|
24
|
-
alias: string;
|
|
25
|
-
};
|
|
26
|
-
property: {
|
|
27
|
-
id: string;
|
|
28
|
-
kind: PropertyKind | "";
|
|
29
|
-
names: string[];
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
loadExtraState: (this: GetAppPropertyBlockV1, state: any) => void;
|
|
33
|
-
genNodeOpts_: (this: GetAppPropertyBlockV1) => Blockly.MenuOption[];
|
|
34
|
-
genPropertyOpts_: (this: GetAppPropertyBlockV1) => Blockly.MenuOption[];
|
|
35
|
-
onchange: (this: GetAppPropertyBlockV1, event: Blockly.Events.Abstract) => void;
|
|
36
|
-
onNodeChange_: (this: GetAppPropertyBlockV1, value: string) => void;
|
|
37
|
-
onPropertyChange_: (this: GetAppPropertyBlockV1, value: string) => void;
|
|
38
|
-
updateShape_: (this: GetAppPropertyBlockV1) => void;
|
|
39
|
-
updateShadow_: (this: GetAppPropertyBlockV1) => void;
|
|
40
|
-
checkWarning_: (this: GetAppPropertyBlockV1) => void;
|
|
41
|
-
};
|
|
42
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|