element-less 0.0.86 → 0.0.87

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.
@@ -46622,27 +46622,6 @@ class DatePicker extends TBaseFormItem {
46622
46622
  var day = currDate.getDate();
46623
46623
  return /* @__PURE__ */ new Date(currDate.getFullYear() + "-" + this.getFormatDate(month) + "-" + this.getFormatDate(day));
46624
46624
  });
46625
- __publicField(this, "handleReturnResult", (val) => {
46626
- if (!val) {
46627
- this._returnStartValue("");
46628
- this._returnEndValue("");
46629
- this._returnModelValue("");
46630
- } else {
46631
- if (this._props.type.indexOf("range") > -1) {
46632
- this._returnStartValue(val[0]);
46633
- this._returnEndValue(val[1]);
46634
- if (!val[0] && !val[1]) {
46635
- this._returnModelValue("");
46636
- } else {
46637
- this._returnModelValue(val.join(this._props.valueSeparator));
46638
- }
46639
- } else if (this._props.type == "dates" && Array.isArray(val)) {
46640
- this._returnModelValue(val.join(this._props.valueSeparator));
46641
- } else {
46642
- this._returnModelValue(val);
46643
- }
46644
- }
46645
- });
46646
46625
  __publicField(this, "initValue", () => {
46647
46626
  var _a;
46648
46627
  if (this._props.type == "daterange" || this._props.type == "datetimerange" || this._props.type == "monthrange" || this._props.type == "dates") {
@@ -46949,6 +46928,27 @@ class DatePicker extends TBaseFormItem {
46949
46928
  immediate: true
46950
46929
  });
46951
46930
  }
46931
+ returnValue(val) {
46932
+ if (!val) {
46933
+ this._returnStartValue("");
46934
+ this._returnEndValue("");
46935
+ this._returnModelValue("");
46936
+ } else {
46937
+ if (this._props.type.indexOf("range") > -1) {
46938
+ this._returnStartValue(val[0]);
46939
+ this._returnEndValue(val[1]);
46940
+ if (!val[0] && !val[1]) {
46941
+ this._returnModelValue("");
46942
+ } else {
46943
+ this._returnModelValue(val.join(this._props.valueSeparator));
46944
+ }
46945
+ } else if (this._props.type == "dates" && Array.isArray(val)) {
46946
+ this._returnModelValue(val.join(this._props.valueSeparator));
46947
+ } else {
46948
+ this._returnModelValue(val);
46949
+ }
46950
+ }
46951
+ }
46952
46952
  mobileRender() {
46953
46953
  return createVNode(Fragment$1, null, [this._props.type !== "datetime" ? createVNode(resolveComponent("van-date-picker"), mergeProps(this._componentProps.value, {
46954
46954
  "modelValue": this.mobileDateValue.value,
@@ -75220,7 +75220,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
75220
75220
  emits: /* @__PURE__ */ mergeModels(["removeItem"], ["update:children"]),
75221
75221
  setup(__props, { emit: __emit }) {
75222
75222
  const DynamicDesignerInnerItem = defineAsyncComponent(() => {
75223
- return import("./innerItem-BGg0Qb-p.js");
75223
+ return import("./innerItem-DI5uJhfV.js");
75224
75224
  });
75225
75225
  const { getValue: getValue2 } = useProps();
75226
75226
  const tagID = getValue2("tagID");
@@ -76258,10 +76258,10 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
76258
76258
  emits: ["update:modelValue"],
76259
76259
  setup(__props, { expose: __expose, emit: __emit }) {
76260
76260
  const DynamicRenderInner = defineAsyncComponent(() => {
76261
- return import("./inner-Yi3IwTs4.js").then((n) => n.i);
76261
+ return import("./inner-BW_uudp_.js").then((n) => n.i);
76262
76262
  });
76263
76263
  const DynamicRenderForm = defineAsyncComponent(() => {
76264
- return import("./inner-Yi3IwTs4.js").then((n) => n.f);
76264
+ return import("./inner-BW_uudp_.js").then((n) => n.f);
76265
76265
  });
76266
76266
  const props2 = __props;
76267
76267
  const { getValue: getValue2, setValue, formNodeProps } = useProps(props2);
@@ -76501,10 +76501,10 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
76501
76501
  emits: ["update:modelValue"],
76502
76502
  setup(__props, { expose: __expose, emit: __emit }) {
76503
76503
  const DynamicRenderInnerAsync = defineAsyncComponent(() => {
76504
- return import("./inner-Yi3IwTs4.js").then((n) => n.i);
76504
+ return import("./inner-BW_uudp_.js").then((n) => n.i);
76505
76505
  });
76506
76506
  const DynamicRenderFormAsync = defineAsyncComponent(() => {
76507
- return import("./inner-Yi3IwTs4.js").then((n) => n.f);
76507
+ return import("./inner-BW_uudp_.js").then((n) => n.f);
76508
76508
  });
76509
76509
  const props2 = __props;
76510
76510
  const { getValue: getValue2, setValue, formNodeProps } = useProps(props2);
@@ -82906,27 +82906,27 @@ let AceEditor$1 = class AceEditor extends TBaseFormItem {
82906
82906
  __publicField(this, "editor", ref());
82907
82907
  onMounted(() => {
82908
82908
  if (props2.language === "json") {
82909
- const currModule = import("./mode-json-6JP59WHw.js").then((n) => n.m);
82909
+ const currModule = import("./mode-json-D0IWpW42.js").then((n) => n.m);
82910
82910
  currModule.then(() => {
82911
82911
  this.init();
82912
82912
  });
82913
82913
  } else if (props2.language === "javascript") {
82914
- const currModule = import("./mode-javascript-DS6RUlTe.js").then((n) => n.m);
82914
+ const currModule = import("./mode-javascript-D9CChIqX.js").then((n) => n.m);
82915
82915
  currModule.then(() => {
82916
82916
  this.init();
82917
82917
  });
82918
82918
  } else if (props2.language === "csharp") {
82919
- const currModule = import("./mode-csharp-BFRhYlV-.js").then((n) => n.m);
82919
+ const currModule = import("./mode-csharp-CMyr5NsA.js").then((n) => n.m);
82920
82920
  currModule.then(() => {
82921
82921
  this.init();
82922
82922
  });
82923
82923
  } else if (props2.language === "mysql") {
82924
- const currModule = import("./mode-mysql-Cqw3IPhb.js").then((n) => n.m);
82924
+ const currModule = import("./mode-mysql-BIQQ9ILY.js").then((n) => n.m);
82925
82925
  currModule.then(() => {
82926
82926
  this.init();
82927
82927
  });
82928
82928
  } else if (props2.language === "css") {
82929
- const currModule = import("./mode-css-B9Q5FoBF.js").then((n) => n.m);
82929
+ const currModule = import("./mode-css-BT9LSt4G.js").then((n) => n.m);
82930
82930
  currModule.then(() => {
82931
82931
  this.init();
82932
82932
  });