element-less 0.0.7 → 0.0.8
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 +22 -0
- package/element-less.cjs +1 -0
- package/element-less.iife.js +1 -1
- package/element-less.js +136 -0
- package/element-less.umd.cjs +1 -0
- package/{index-CDGY8ILg.js → index-B27t8vvK.js} +14 -13
- package/index-Cz4dUhf5.cjs +1 -0
- package/{innerItem-BVWTDqnD.cjs → innerItem-BsOfvFCR.cjs} +1 -1
- package/{innerItem-Cpx4nkTI.js → innerItem-DAz6yQRH.js} +1 -1
- package/{mode-csharp-BNc3VLot.cjs → mode-csharp-9AYRI2vd.cjs} +1 -1
- package/{mode-csharp-BJ4X1pJt.js → mode-csharp-BH3u3Lz_.js} +1 -1
- package/{mode-css-HYq2PUC6.cjs → mode-css-ByDEfSiE.cjs} +1 -1
- package/{mode-css-BLUueeBd.js → mode-css-CHfB4rk0.js} +1 -1
- package/{mode-javascript-C8LDLGan.js → mode-javascript-BUpWtpG0.js} +1 -1
- package/{mode-javascript-IBkBxOaF.cjs → mode-javascript-DPO3g1nW.cjs} +1 -1
- package/{mode-json-CsIiWn4L.js → mode-json-BwaIV5ov.js} +1 -1
- package/{mode-json-NP0AlCc3.cjs → mode-json-DqanYWit.cjs} +1 -1
- package/{mode-mysql-D-cd9iEc.cjs → mode-mysql-BPs90ZRf.cjs} +1 -1
- package/{mode-mysql-DeOFwO4p.js → mode-mysql-DzS4SCkv.js} +1 -1
- package/package.json +1 -11
- package/style.css +1 -1
- package/index-BA-DnTlN.cjs +0 -1
|
@@ -11079,7 +11079,7 @@ const _sfc_main$1O = /* @__PURE__ */ defineComponent({
|
|
|
11079
11079
|
emits: ["update:modelValue", "update:select", "update:select-label", "select"],
|
|
11080
11080
|
setup(__props, { emit: __emit }) {
|
|
11081
11081
|
const props = __props;
|
|
11082
|
-
const { formNodeProps } = useProps(props);
|
|
11082
|
+
const { formNodeProps, componentProps } = useProps(props);
|
|
11083
11083
|
const { $codeField, $messageField, $dataField, $success } = utils.getApiConfig();
|
|
11084
11084
|
const attrs = useAttrs();
|
|
11085
11085
|
const currProps = ref({
|
|
@@ -11568,7 +11568,8 @@ const _sfc_main$1O = /* @__PURE__ */ defineComponent({
|
|
|
11568
11568
|
default: withCtx(() => [
|
|
11569
11569
|
withDirectives((openBlock(), createBlock(_component_el_tree_select, mergeProps({
|
|
11570
11570
|
ref_key: "dataTree",
|
|
11571
|
-
ref: dataTree
|
|
11571
|
+
ref: dataTree
|
|
11572
|
+
}, unref(componentProps), {
|
|
11572
11573
|
load: handleLoadNode,
|
|
11573
11574
|
modelValue: defaultSelectValue.value,
|
|
11574
11575
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => defaultSelectValue.value = $event),
|
|
@@ -11585,7 +11586,7 @@ const _sfc_main$1O = /* @__PURE__ */ defineComponent({
|
|
|
11585
11586
|
"expand-on-click-node": !unref(currMultiple) ? true : _ctx.expandOnClickNode,
|
|
11586
11587
|
"filter-node-method": filterNode,
|
|
11587
11588
|
"show-checkbox": unref(currShowCheckbox)
|
|
11588
|
-
}
|
|
11589
|
+
}), {
|
|
11589
11590
|
default: withCtx(({ node, data }) => [
|
|
11590
11591
|
renderSlot(_ctx.$slots, "default", {
|
|
11591
11592
|
node,
|
|
@@ -11619,7 +11620,7 @@ const _sfc_main$1O = /* @__PURE__ */ defineComponent({
|
|
|
11619
11620
|
};
|
|
11620
11621
|
}
|
|
11621
11622
|
});
|
|
11622
|
-
const TreeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$1O, [["__scopeId", "data-v-
|
|
11623
|
+
const TreeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$1O, [["__scopeId", "data-v-b31deac0"]]);
|
|
11623
11624
|
const ElsTreeSelect = withInstall(TreeSelect);
|
|
11624
11625
|
const menuProps = buildProps({
|
|
11625
11626
|
...menuProps$1,
|
|
@@ -13646,10 +13647,10 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
|
13646
13647
|
const _component_el_dropdown_menu = resolveComponent("el-dropdown-menu");
|
|
13647
13648
|
const _component_el_dropdown = resolveComponent("el-dropdown");
|
|
13648
13649
|
const _component_van_dropdown_item = resolveComponent("van-dropdown-item");
|
|
13649
|
-
return !unref(isMobile) ? (openBlock(), createBlock(_component_el_dropdown, {
|
|
13650
|
+
return !unref(isMobile) ? (openBlock(), createBlock(_component_el_dropdown, mergeProps({
|
|
13650
13651
|
key: 0,
|
|
13651
13652
|
onCommand: handleCommand
|
|
13652
|
-
}, {
|
|
13653
|
+
}, props), {
|
|
13653
13654
|
dropdown: withCtx(() => [
|
|
13654
13655
|
createVNode(_component_el_dropdown_menu, null, {
|
|
13655
13656
|
default: withCtx(() => [
|
|
@@ -13686,7 +13687,7 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
|
13686
13687
|
])
|
|
13687
13688
|
]),
|
|
13688
13689
|
_: 3
|
|
13689
|
-
})) : (openBlock(), createBlock(_component_van_dropdown_item, {
|
|
13690
|
+
}, 16)) : (openBlock(), createBlock(_component_van_dropdown_item, {
|
|
13690
13691
|
key: 1,
|
|
13691
13692
|
lazyRender: _ctx.lazyRender,
|
|
13692
13693
|
modelValue: modelValue.value,
|
|
@@ -38600,7 +38601,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
38600
38601
|
emits: /* @__PURE__ */ mergeModels(["removeItem"], ["update:children"]),
|
|
38601
38602
|
setup(__props, { emit: __emit }) {
|
|
38602
38603
|
const DynamicDesignerInnerItem = defineAsyncComponent(() => {
|
|
38603
|
-
return import("./innerItem-
|
|
38604
|
+
return import("./innerItem-DAz6yQRH.js");
|
|
38604
38605
|
});
|
|
38605
38606
|
const { getValue: getValue2 } = useProps();
|
|
38606
38607
|
const tagID = getValue2("tagID");
|
|
@@ -45149,31 +45150,31 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
45149
45150
|
}
|
|
45150
45151
|
onMounted(() => {
|
|
45151
45152
|
if (props.language === "json") {
|
|
45152
|
-
const currModule = import("./mode-json-
|
|
45153
|
+
const currModule = import("./mode-json-BwaIV5ov.js").then((n) => n.m);
|
|
45153
45154
|
currModule.then((res) => {
|
|
45154
45155
|
ace.config.setModuleUrl("ace/mode/json", res);
|
|
45155
45156
|
init();
|
|
45156
45157
|
});
|
|
45157
45158
|
} else if (props.language === "javascript") {
|
|
45158
|
-
const currModule = import("./mode-javascript-
|
|
45159
|
+
const currModule = import("./mode-javascript-BUpWtpG0.js").then((n) => n.m);
|
|
45159
45160
|
currModule.then((res) => {
|
|
45160
45161
|
ace.config.setModuleUrl("ace/mode/javascript", res);
|
|
45161
45162
|
init();
|
|
45162
45163
|
});
|
|
45163
45164
|
} else if (props.language === "csharp") {
|
|
45164
|
-
const currModule = import("./mode-csharp-
|
|
45165
|
+
const currModule = import("./mode-csharp-BH3u3Lz_.js").then((n) => n.m);
|
|
45165
45166
|
currModule.then((res) => {
|
|
45166
45167
|
ace.config.setModuleUrl("ace/mode/csharp", res);
|
|
45167
45168
|
init();
|
|
45168
45169
|
});
|
|
45169
45170
|
} else if (props.language === "mysql") {
|
|
45170
|
-
const currModule = import("./mode-mysql-
|
|
45171
|
+
const currModule = import("./mode-mysql-DzS4SCkv.js").then((n) => n.m);
|
|
45171
45172
|
currModule.then((res) => {
|
|
45172
45173
|
ace.config.setModuleUrl("ace/mode/mysql", res);
|
|
45173
45174
|
init();
|
|
45174
45175
|
});
|
|
45175
45176
|
} else if (props.language === "css") {
|
|
45176
|
-
const currModule = import("./mode-css-
|
|
45177
|
+
const currModule = import("./mode-css-CHfB4rk0.js").then((n) => n.m);
|
|
45177
45178
|
currModule.then((res) => {
|
|
45178
45179
|
ace.config.setModuleUrl("ace/mode/css", res);
|
|
45179
45180
|
init();
|