page-schema-enginer-shun 1.0.17 → 1.0.19

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.es.js CHANGED
@@ -1,7 +1,7 @@
1
- import { defineComponent, inject, ref as ref$1, watch, onMounted, resolveComponent as resolveComponent$1, createElementBlock, openBlock, createElementVNode, createCommentVNode, createVNode, toDisplayString, mergeProps, unref, withCtx, Fragment, renderList, createBlock, createTextVNode, provide, resolveDynamicComponent, toRefs, computed, resolveDirective, withDirectives, nextTick, renderSlot, normalizeProps, guardReactiveProps } from "vue";
1
+ import { defineComponent, inject, ref as ref$1, watch, onMounted, createElementBlock, openBlock, createElementVNode, createCommentVNode, createVNode, toDisplayString, unref, mergeProps, withCtx, Fragment, renderList, createBlock, createTextVNode, provide, resolveDynamicComponent, toRefs, computed, resolveDirective, withDirectives, nextTick, renderSlot, normalizeProps, guardReactiveProps } from "vue";
2
2
  import { useRouter, useRoute } from "vue-router";
3
3
  import { defineStore } from "pinia";
4
- import { ElRadioGroup, ElRadio, ElSelect, ElOption, ElDialog, ElButton, ElNotification, ElTable, ElTableColumn, ElPagination, ElMessage, ElRow, ElInput, ElForm, ElFormItem, ElMessageBox } from "element-plus";
4
+ import { ElInput, ElRadioGroup, ElRadio, ElInputNumber, ElSelect, ElOption, ElDialog, ElButton, ElNotification, ElTable, ElTableColumn, ElPagination, ElMessage, ElRow, ElForm, ElFormItem, ElMessageBox } from "element-plus";
5
5
  function _mergeNamespaces(n, m) {
6
6
  for (var i = 0; i < m.length; i++) {
7
7
  const e = m[i];
@@ -91,12 +91,11 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
91
91
  });
92
92
  return (_ctx, _cache) => {
93
93
  var _a, _b;
94
- const _component_el_input = resolveComponent$1("el-input");
95
94
  return openBlock(), createElementBlock("div", _hoisted_1$b, [
96
95
  createElementVNode("div", _hoisted_2$5, [
97
96
  createElementVNode("span", _hoisted_3$4, toDisplayString((_a = __props.schema) == null ? void 0 : _a.label), 1),
98
97
  ((_b = __props.schema.option) == null ? void 0 : _b.required) ? (openBlock(), createElementBlock("span", _hoisted_4$2, "*")) : createCommentVNode("", true),
99
- createVNode(_component_el_input, mergeProps({
98
+ createVNode(unref(ElInput), mergeProps({
100
99
  modelValue: dataValue.value,
101
100
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dataValue.value = $event)
102
101
  }, __props.schema.option, {
@@ -116,7 +115,7 @@ const _export_sfc = (sfc, props) => {
116
115
  }
117
116
  return target;
118
117
  };
119
- const input = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-5d94c475"]]);
118
+ const input = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-d323ff77"]]);
120
119
  const _hoisted_1$a = { class: "schema-form-radio-container" };
121
120
  const _hoisted_2$4 = { class: "schema-form-radio" };
122
121
  const _hoisted_3$3 = { class: "schema-form-radio-label" };
@@ -230,11 +229,10 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
230
229
  reset
231
230
  });
232
231
  return (_ctx, _cache) => {
233
- const _component_el_input_number = resolveComponent$1("el-input-number");
234
232
  return openBlock(), createElementBlock("div", _hoisted_1$9, [
235
233
  createElementVNode("div", _hoisted_2$3, [
236
234
  createElementVNode("div", _hoisted_3$2, toDisplayString(__props.schema.label), 1),
237
- createVNode(_component_el_input_number, mergeProps({
235
+ createVNode(unref(ElInputNumber), mergeProps({
238
236
  modelValue: num.value,
239
237
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => num.value = $event)
240
238
  }, __props.schema.option, { onChange: handleChange }), null, 16, ["modelValue"])
@@ -243,7 +241,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
243
241
  };
244
242
  }
245
243
  });
246
- const inputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-44583072"]]);
244
+ const inputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-87d45394"]]);
247
245
  const _hoisted_1$8 = { class: "schema-form-select-container" };
248
246
  const _hoisted_2$2 = { class: "schema-form-select" };
249
247
  const _hoisted_3$1 = { class: "schema-form-select-label" };