element-less 0.0.20 → 0.0.23

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.
@@ -25,13 +25,13 @@ export declare const ElsCol: import('element-plus/es/utils/index').SFCWithInstal
25
25
  readonly push: number;
26
26
  readonly offset: number;
27
27
  readonly span: number;
28
- readonly tag: string;
29
28
  readonly pull: number;
30
29
  readonly xs: import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize) | ((new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize))[], unknown, unknown>;
31
30
  readonly sm: import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize) | ((new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize))[], unknown, unknown>;
32
31
  readonly md: import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize) | ((new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize))[], unknown, unknown>;
33
32
  readonly lg: import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize) | ((new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize))[], unknown, unknown>;
34
33
  readonly xl: import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize) | ((new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize))[], unknown, unknown>;
34
+ readonly tag: string;
35
35
  }, true, {}, {}, {
36
36
  P: {};
37
37
  B: {};
@@ -54,13 +54,13 @@ export declare const ElsCol: import('element-plus/es/utils/index').SFCWithInstal
54
54
  readonly push: number;
55
55
  readonly offset: number;
56
56
  readonly span: number;
57
- readonly tag: string;
58
57
  readonly pull: number;
59
58
  readonly xs: import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize) | ((new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize))[], unknown, unknown>;
60
59
  readonly sm: import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize) | ((new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize))[], unknown, unknown>;
61
60
  readonly md: import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize) | ((new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize))[], unknown, unknown>;
62
61
  readonly lg: import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize) | ((new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize))[], unknown, unknown>;
63
62
  readonly xl: import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize) | ((new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize))[], unknown, unknown>;
63
+ readonly tag: string;
64
64
  }>;
65
65
  __isFragment?: never;
66
66
  __isTeleport?: never;
@@ -80,13 +80,13 @@ export declare const ElsCol: import('element-plus/es/utils/index').SFCWithInstal
80
80
  readonly push: number;
81
81
  readonly offset: number;
82
82
  readonly span: number;
83
- readonly tag: string;
84
83
  readonly pull: number;
85
84
  readonly xs: import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize) | ((new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize))[], unknown, unknown>;
86
85
  readonly sm: import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize) | ((new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize))[], unknown, unknown>;
87
86
  readonly md: import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize) | ((new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize))[], unknown, unknown>;
88
87
  readonly lg: import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize) | ((new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize))[], unknown, unknown>;
89
88
  readonly xl: import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize) | ((new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize))[], unknown, unknown>;
89
+ readonly tag: string;
90
90
  }, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
91
91
  $slots: {
92
92
  default?(_: {}): any;
@@ -27,13 +27,13 @@ declare const __VLS_component: import('vue').DefineComponent<{
27
27
  readonly push: number;
28
28
  readonly offset: number;
29
29
  readonly span: number;
30
- readonly tag: string;
31
30
  readonly pull: number;
32
31
  readonly xs: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize) | ((new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize))[], unknown, unknown>;
33
32
  readonly sm: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize) | ((new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize))[], unknown, unknown>;
34
33
  readonly md: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize) | ((new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize))[], unknown, unknown>;
35
34
  readonly lg: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize) | ((new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize))[], unknown, unknown>;
36
35
  readonly xl: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize) | ((new (...args: any[]) => import('element-plus').ColSize & {}) | (() => import('element-plus').ColSize))[], unknown, unknown>;
36
+ readonly tag: string;
37
37
  }, {}>;
38
38
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
39
39
  export default _default;
@@ -15129,8 +15129,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
15129
15129
  props: colorPickerProps,
15130
15130
  setup(__props) {
15131
15131
  const props = __props;
15132
- const { formNodeProps } = useProps(props);
15133
- useAttrs();
15132
+ const { formNodeProps, componentProps } = useProps(props);
15134
15133
  const currValue = ref();
15135
15134
  const formNode = ref();
15136
15135
  const {
@@ -15154,15 +15153,16 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
15154
15153
  }), {
15155
15154
  default: withCtx(() => [
15156
15155
  createElementVNode("div", _hoisted_2$$, [
15157
- createVNode(_component_el_input, {
15156
+ _ctx.showInput ? (openBlock(), createBlock(_component_el_input, {
15157
+ key: 0,
15158
15158
  modelValue: currValue.value,
15159
15159
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => currValue.value = $event),
15160
15160
  style: normalizeStyle([{ width: _ctx.inputWidth.appendPx() }])
15161
- }, null, 8, ["modelValue", "style"]),
15161
+ }, null, 8, ["modelValue", "style"])) : createCommentVNode("", true),
15162
15162
  createVNode(_component_el_color_picker, mergeProps({
15163
15163
  modelValue: currValue.value,
15164
15164
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => currValue.value = $event)
15165
- }, props), null, 16, ["modelValue"])
15165
+ }, unref(componentProps)), null, 16, ["modelValue"])
15166
15166
  ])
15167
15167
  ]),
15168
15168
  _: 1
@@ -15171,7 +15171,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
15171
15171
  };
15172
15172
  }
15173
15173
  });
15174
- const ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__scopeId", "data-v-f6b8402e"]]);
15174
+ const ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__scopeId", "data-v-a15742c7"]]);
15175
15175
  const ElsColorPicker = withInstall(ColorPicker);
15176
15176
  const segmentedProps = buildProps({
15177
15177
  ...segmentedProps$1,
@@ -36919,7 +36919,7 @@ const dynamicComponentTypes = [
36919
36919
  label: "Tabs标签页",
36920
36920
  value: "Tabs",
36921
36921
  type: "Tabs",
36922
- dataTypes: ["Object"],
36922
+ dataTypes: ["None"],
36923
36923
  defaultPropertys: {},
36924
36924
  propertys: property_tabs,
36925
36925
  group: "Container",
@@ -36933,7 +36933,7 @@ const dynamicComponentTypes = [
36933
36933
  label: "Tabs选项",
36934
36934
  value: "TabPane",
36935
36935
  type: "Option",
36936
- dataTypes: ["Object"],
36936
+ dataTypes: ["None"],
36937
36937
  defaultPropertys: {},
36938
36938
  propertys: property_tabPane,
36939
36939
  group: "Container",
@@ -37444,7 +37444,7 @@ class DynamicHandler {
37444
37444
  this.initTypeName(ele);
37445
37445
  if (ele.dataTypeName == "Array" && ele.arrayDataTypeName == "Object" && !ele.componentTypeName) {
37446
37446
  this.recoverArrayData(ele, valueData[ele.keyCode]);
37447
- } else if (ele.dataTypeName == "Object" || ele.componentGroup === "Container" && ele.formItem && ele.keyCode) {
37447
+ } else if ((ele.dataTypeName == "Object" || ele.componentGroup === "Container" && ele.formItem) && ele.keyCode) {
37448
37448
  this.recoverData(ele.children, valueData[ele.keyCode]);
37449
37449
  } else if (ele.componentGroup === "Container") {
37450
37450
  this.recoverData(ele.children, valueData);
@@ -38707,7 +38707,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
38707
38707
  emits: /* @__PURE__ */ mergeModels(["removeItem"], ["update:children"]),
38708
38708
  setup(__props, { emit: __emit }) {
38709
38709
  const DynamicDesignerInnerItem = defineAsyncComponent(() => {
38710
- return import("./innerItem-CJcQLAcJ.js");
38710
+ return import("./innerItem-BZYX-bX8.js");
38711
38711
  });
38712
38712
  const { getValue: getValue2 } = useProps();
38713
38713
  const tagID = getValue2("tagID");
@@ -39550,10 +39550,10 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
39550
39550
  emits: ["update:modelValue"],
39551
39551
  setup(__props, { expose: __expose, emit: __emit }) {
39552
39552
  const DynamicRenderInner = defineAsyncComponent(() => {
39553
- return import("./inner-BX0N_tDo.js").then((n) => n.i);
39553
+ return import("./inner-Bgkt112R.js").then((n) => n.i);
39554
39554
  });
39555
39555
  const DynamicRenderForm = defineAsyncComponent(() => {
39556
- return import("./inner-BX0N_tDo.js").then((n) => n.f);
39556
+ return import("./inner-Bgkt112R.js").then((n) => n.f);
39557
39557
  });
39558
39558
  const props = __props;
39559
39559
  const { getValue: getValue2, setValue, formNodeProps } = useProps(props);
@@ -39783,10 +39783,10 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
39783
39783
  emits: ["update:modelValue"],
39784
39784
  setup(__props, { expose: __expose, emit: __emit }) {
39785
39785
  const DynamicRenderInnerAsync = defineAsyncComponent(() => {
39786
- return import("./inner-BX0N_tDo.js").then((n) => n.i);
39786
+ return import("./inner-Bgkt112R.js").then((n) => n.i);
39787
39787
  });
39788
39788
  const DynamicRenderFormAsync = defineAsyncComponent(() => {
39789
- return import("./inner-BX0N_tDo.js").then((n) => n.f);
39789
+ return import("./inner-Bgkt112R.js").then((n) => n.f);
39790
39790
  });
39791
39791
  const props = __props;
39792
39792
  const { getValue: getValue2, setValue, formNodeProps } = useProps(props);
@@ -42562,7 +42562,7 @@ const useDesign = defineStore("dynamic-design", () => {
42562
42562
  clear
42563
42563
  };
42564
42564
  });
42565
- const _withScopeId = (n) => (pushScopeId("data-v-00688673"), n = n(), popScopeId(), n);
42565
+ const _withScopeId = (n) => (pushScopeId("data-v-a5b2aacb"), n = n(), popScopeId(), n);
42566
42566
  const _hoisted_1$c = {
42567
42567
  style: { "display": "flex", "background": "#f8f8f8" },
42568
42568
  class: "els-dynamic-d-view"
@@ -43029,7 +43029,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
43029
43029
  {
43030
43030
  "keyID": "id_" + utils.randomNumber(),
43031
43031
  "keyName": "Form",
43032
- "keyCode": "key_" + utils.randomNumber(),
43032
+ "keyCode": "",
43033
43033
  "children": [],
43034
43034
  "dataType": "None",
43035
43035
  "dataTypeName": "None",
@@ -43835,7 +43835,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
43835
43835
  };
43836
43836
  }
43837
43837
  });
43838
- const DesignerView = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-00688673"]]);
43838
+ const DesignerView = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-a5b2aacb"]]);
43839
43839
  const ElsDesignerView = withInstall(DesignerView);
43840
43840
  (function(Prism2) {
43841
43841
  var string = /(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;
@@ -44642,31 +44642,31 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
44642
44642
  }
44643
44643
  onMounted(() => {
44644
44644
  if (props.language === "json") {
44645
- const currModule = import("./mode-json-CawFjkwS.js").then((n) => n.m);
44645
+ const currModule = import("./mode-json-D_XNlvhQ.js").then((n) => n.m);
44646
44646
  currModule.then((res) => {
44647
44647
  ace.config.setModuleUrl("ace/mode/json", res);
44648
44648
  init();
44649
44649
  });
44650
44650
  } else if (props.language === "javascript") {
44651
- const currModule = import("./mode-javascript-EI_Mq_JY.js").then((n) => n.m);
44651
+ const currModule = import("./mode-javascript-CNNbmrBT.js").then((n) => n.m);
44652
44652
  currModule.then((res) => {
44653
44653
  ace.config.setModuleUrl("ace/mode/javascript", res);
44654
44654
  init();
44655
44655
  });
44656
44656
  } else if (props.language === "csharp") {
44657
- const currModule = import("./mode-csharp-_OmY5x-p.js").then((n) => n.m);
44657
+ const currModule = import("./mode-csharp-BcERfx17.js").then((n) => n.m);
44658
44658
  currModule.then((res) => {
44659
44659
  ace.config.setModuleUrl("ace/mode/csharp", res);
44660
44660
  init();
44661
44661
  });
44662
44662
  } else if (props.language === "mysql") {
44663
- const currModule = import("./mode-mysql-DA0dFpRa.js").then((n) => n.m);
44663
+ const currModule = import("./mode-mysql-CQxu4LZy.js").then((n) => n.m);
44664
44664
  currModule.then((res) => {
44665
44665
  ace.config.setModuleUrl("ace/mode/mysql", res);
44666
44666
  init();
44667
44667
  });
44668
44668
  } else if (props.language === "css") {
44669
- const currModule = import("./mode-css-Bl-HLzih.js").then((n) => n.m);
44669
+ const currModule = import("./mode-css-DV1KYeHm.js").then((n) => n.m);
44670
44670
  currModule.then((res) => {
44671
44671
  ace.config.setModuleUrl("ace/mode/css", res);
44672
44672
  init();