@vunk/form 1.1.46 → 1.1.47

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.
@@ -125,6 +125,10 @@ const props = __spreadProps(__spreadValues({}, _VkfInputCtx.props), {
125
125
  layerIndex: {
126
126
  type: Number,
127
127
  default: 100
128
+ },
129
+ visibleElements: {
130
+ type: Object,
131
+ default: void 0
128
132
  }
129
133
  });
130
134
  const createBindProps = bindPropsFactory(props);
@@ -1382,6 +1386,14 @@ var _sfc_main = defineComponent({
1382
1386
  }) {
1383
1387
  const inputBindProps = _VkfInputCtx.createBindProps(props2, ["inputSlots", "readonly", "modelValue"]);
1384
1388
  const inputOnEmits = _VkfInputCtx.createOnEmits(emit, ["update:modelValue"]);
1389
+ const getInputModelValue = (v) => {
1390
+ const emptyStr = "\u6682\u65E0\u6570\u636E";
1391
+ if (!v)
1392
+ return emptyStr;
1393
+ if (!v.features.length)
1394
+ return emptyStr;
1395
+ return JSON.stringify(v);
1396
+ };
1385
1397
  const readonly = useComputedReadonly(props2);
1386
1398
  const sketchIf = ref(!props2.view);
1387
1399
  const sketchRef = shallowRef();
@@ -1555,7 +1567,8 @@ var _sfc_main = defineComponent({
1555
1567
  layerLoad,
1556
1568
  sketchIf,
1557
1569
  fly,
1558
- layerRef
1570
+ layerRef,
1571
+ getInputModelValue
1559
1572
  };
1560
1573
  }
1561
1574
  });
@@ -1590,11 +1603,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1590
1603
  }, () => [
1591
1604
  createVNode(_component_VkfInput, mergeProps({
1592
1605
  readonly: true,
1593
- "model-value": JSON.stringify(_ctx.modelValue)
1606
+ "model-value": _ctx.getInputModelValue(_ctx.modelValue)
1594
1607
  }, _ctx.inputBindProps, {
1595
1608
  "input-slots": {
1596
- append: _ctx.append
1597
- }
1609
+ append: _ctx.append
1610
+ }
1598
1611
  }, toHandlers(_ctx.inputOnEmits)), null, 16 /* FULL_PROPS */, ["model-value", "input-slots"])
1599
1612
  ]),
1600
1613
  createVNode(_component_VkAsyncTeleport, { to: _ctx.mapTo }, {
@@ -1621,7 +1634,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1621
1634
  "available-creature-tools": _ctx.availableCreatureTools,
1622
1635
  "model-value": _ctx.sketchValue,
1623
1636
  "onUpdate:modelValue": _ctx.handleUpdateSketchValue,
1624
- onLoad: _ctx.sketchLoad
1637
+ onLoad: _ctx.sketchLoad,
1638
+ visibleElements: _ctx.visibleElements
1625
1639
  }, {
1626
1640
  default: withCtx(() => [
1627
1641
  (!_ctx.skipSave && _ctx.shetchPanel)
@@ -1645,7 +1659,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1645
1659
  : createCommentVNode("v-if", true)
1646
1660
  ]),
1647
1661
  _: 1 /* STABLE */
1648
- }, 8 /* PROPS */, ["view-model-active-fill-symbol", "view-model-active-line-symbol", "view-model-active-point-symbol", "multiple", "available-creature-tools", "model-value", "onUpdate:modelValue", "onLoad"]))
1662
+ }, 8 /* PROPS */, ["view-model-active-fill-symbol", "view-model-active-line-symbol", "view-model-active-point-symbol", "multiple", "available-creature-tools", "model-value", "onUpdate:modelValue", "onLoad", "visibleElements"]))
1649
1663
  : createCommentVNode("v-if", true)
1650
1664
  ]),
1651
1665
  _: 1 /* STABLE */
@@ -69,6 +69,10 @@ export declare const props: {
69
69
  type: NumberConstructor;
70
70
  default: number;
71
71
  };
72
+ visibleElements: {
73
+ type: PropType<__esri.SketchVisibleElements | undefined>;
74
+ default: undefined;
75
+ };
72
76
  maxlength: {
73
77
  type: NumberConstructor;
74
78
  required: boolean;
@@ -191,7 +195,7 @@ export declare const props: {
191
195
  validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
192
196
  inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue) | ((new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
193
197
  };
194
- export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", keyof T2> | Extract<"type", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"multiple", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"view", keyof T2> | Extract<"viewComponent", keyof T2> | Extract<"viewComponentAttrs", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"flying", keyof T2> | Extract<"layerIndex", keyof T2>)[] | undefined>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"error", keyof T2>, KE> | Exclude<Extract<"validateStatus", keyof T2>, KE> | Exclude<Extract<"for", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"formItemSize", keyof T2>, KE> | Exclude<Extract<"formItemSlots", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"resize", keyof T2>, KE> | Exclude<Extract<"autosize", keyof T2>, KE> | Exclude<Extract<"autocomplete", keyof T2>, KE> | Exclude<Extract<"formatter", keyof T2>, KE> | Exclude<Extract<"parser", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"form", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"showPassword", keyof T2>, KE> | Exclude<Extract<"showWordLimit", keyof T2>, KE> | Exclude<Extract<"suffixIcon", keyof T2>, KE> | Exclude<Extract<"prefixIcon", keyof T2>, KE> | Exclude<Extract<"containerRole", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"inputStyle", keyof T2>, KE> | Exclude<Extract<"maxlength", keyof T2>, KE> | Exclude<Extract<"minlength", keyof T2>, KE> | Exclude<Extract<"inputSlots", keyof T2>, KE> | Exclude<Extract<"rows", keyof T2>, KE> | Exclude<Extract<"multiple", keyof T2>, KE> | Exclude<Extract<"editTypes", keyof T2>, KE> | Exclude<Extract<"showMap", keyof T2>, KE> | Exclude<Extract<"dialogEdit", keyof T2>, KE> | Exclude<Extract<"dialogEditFullscreen", keyof T2>, KE> | Exclude<Extract<"dialogEditTitle", keyof T2>, KE> | Exclude<Extract<"viewModelActiveFillSymbol", keyof T2>, KE> | Exclude<Extract<"view", keyof T2>, KE> | Exclude<Extract<"viewComponent", keyof T2>, KE> | Exclude<Extract<"viewComponentAttrs", keyof T2>, KE> | Exclude<Extract<"viewModelActiveLineSymbol", keyof T2>, KE> | Exclude<Extract<"viewModelActivePointSymbol", keyof T2>, KE> | Exclude<Extract<"skipSave", keyof T2>, KE> | Exclude<Extract<"flying", keyof T2>, KE> | Exclude<Extract<"layerIndex", keyof T2>, KE> : Extract<"required", keyof T2> | Extract<"type", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"multiple", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"view", keyof T2> | Extract<"viewComponent", keyof T2> | Extract<"viewComponentAttrs", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"flying", keyof T2> | Extract<"layerIndex", keyof T2>]: { [k in Extract<"required", keyof T2> | Extract<"type", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"multiple", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"view", keyof T2> | Extract<"viewComponent", keyof T2> | Extract<"viewComponentAttrs", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"flying", keyof T2> | Extract<"layerIndex", keyof T2>]: T2[k]; }[P]; }>;
198
+ export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", keyof T2> | Extract<"type", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"multiple", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"view", keyof T2> | Extract<"viewComponent", keyof T2> | Extract<"viewComponentAttrs", keyof T2> | Extract<"visibleElements", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"flying", keyof T2> | Extract<"layerIndex", keyof T2>)[] | undefined>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"error", keyof T2>, KE> | Exclude<Extract<"validateStatus", keyof T2>, KE> | Exclude<Extract<"for", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"formItemSize", keyof T2>, KE> | Exclude<Extract<"formItemSlots", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"resize", keyof T2>, KE> | Exclude<Extract<"autosize", keyof T2>, KE> | Exclude<Extract<"autocomplete", keyof T2>, KE> | Exclude<Extract<"formatter", keyof T2>, KE> | Exclude<Extract<"parser", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"form", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"showPassword", keyof T2>, KE> | Exclude<Extract<"showWordLimit", keyof T2>, KE> | Exclude<Extract<"suffixIcon", keyof T2>, KE> | Exclude<Extract<"prefixIcon", keyof T2>, KE> | Exclude<Extract<"containerRole", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"inputStyle", keyof T2>, KE> | Exclude<Extract<"maxlength", keyof T2>, KE> | Exclude<Extract<"minlength", keyof T2>, KE> | Exclude<Extract<"inputSlots", keyof T2>, KE> | Exclude<Extract<"rows", keyof T2>, KE> | Exclude<Extract<"multiple", keyof T2>, KE> | Exclude<Extract<"editTypes", keyof T2>, KE> | Exclude<Extract<"showMap", keyof T2>, KE> | Exclude<Extract<"dialogEdit", keyof T2>, KE> | Exclude<Extract<"dialogEditFullscreen", keyof T2>, KE> | Exclude<Extract<"dialogEditTitle", keyof T2>, KE> | Exclude<Extract<"viewModelActiveFillSymbol", keyof T2>, KE> | Exclude<Extract<"view", keyof T2>, KE> | Exclude<Extract<"viewComponent", keyof T2>, KE> | Exclude<Extract<"viewComponentAttrs", keyof T2>, KE> | Exclude<Extract<"visibleElements", keyof T2>, KE> | Exclude<Extract<"viewModelActiveLineSymbol", keyof T2>, KE> | Exclude<Extract<"viewModelActivePointSymbol", keyof T2>, KE> | Exclude<Extract<"skipSave", keyof T2>, KE> | Exclude<Extract<"flying", keyof T2>, KE> | Exclude<Extract<"layerIndex", keyof T2>, KE> : Extract<"required", keyof T2> | Extract<"type", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"multiple", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"view", keyof T2> | Extract<"viewComponent", keyof T2> | Extract<"viewComponentAttrs", keyof T2> | Extract<"visibleElements", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"flying", keyof T2> | Extract<"layerIndex", keyof T2>]: { [k in Extract<"required", keyof T2> | Extract<"type", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"multiple", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"view", keyof T2> | Extract<"viewComponent", keyof T2> | Extract<"viewComponentAttrs", keyof T2> | Extract<"visibleElements", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"flying", keyof T2> | Extract<"layerIndex", keyof T2>]: T2[k]; }[P]; }>;
195
199
  export declare const emits: {
196
200
  'update:modelValue': (e: FeatureCollection) => FeatureCollection<Geometry, import("geojson").GeoJsonProperties>;
197
201
  'update:flying': null;
@@ -110,6 +110,10 @@ const props = __spreadProps(__spreadValues({}, _VkfInputCtx.props), {
110
110
  layerIndex: {
111
111
  type: Number,
112
112
  default: 100
113
+ },
114
+ visibleElements: {
115
+ type: Object,
116
+ default: void 0
113
117
  }
114
118
  });
115
119
  const createBindProps = bindPropsFactory(props);
@@ -69,6 +69,10 @@ declare const _default: import("vue").DefineComponent<{
69
69
  type: NumberConstructor;
70
70
  default: number;
71
71
  };
72
+ visibleElements: {
73
+ type: import("vue").PropType<__esri.SketchVisibleElements | undefined>;
74
+ default: undefined;
75
+ };
72
76
  maxlength: {
73
77
  type: NumberConstructor;
74
78
  required: boolean;
@@ -264,6 +268,7 @@ declare const _default: import("vue").DefineComponent<{
264
268
  sketchIf: Ref<boolean>;
265
269
  fly: () => Promise<void>;
266
270
  layerRef: Ref<__esri.GraphicsLayer>;
271
+ getInputModelValue: (v: import("geojson").FeatureCollection<import("geojson").Geometry, any>) => string;
267
272
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
268
273
  'update:modelValue': (e: import("geojson").FeatureCollection<import("geojson").Geometry, import("geojson").GeoJsonProperties>) => import("geojson").FeatureCollection<import("geojson").Geometry, import("geojson").GeoJsonProperties>;
269
274
  'update:flying': null;
@@ -348,6 +353,10 @@ declare const _default: import("vue").DefineComponent<{
348
353
  type: NumberConstructor;
349
354
  default: number;
350
355
  };
356
+ visibleElements: {
357
+ type: import("vue").PropType<__esri.SketchVisibleElements | undefined>;
358
+ default: undefined;
359
+ };
351
360
  maxlength: {
352
361
  type: NumberConstructor;
353
362
  required: boolean;
@@ -517,6 +526,7 @@ declare const _default: import("vue").DefineComponent<{
517
526
  dialogEditFullscreen: boolean;
518
527
  dialogEditTitle: string;
519
528
  viewModelActiveFillSymbol: any;
529
+ visibleElements: __esri.SketchVisibleElements | undefined;
520
530
  skipSave: boolean;
521
531
  flying: boolean;
522
532
  layerIndex: number;
@@ -59,7 +59,7 @@ const restFetch = new RestFetch({
59
59
  const verify = async (params) => {
60
60
  return restFetch.request({
61
61
  method: "GET",
62
- url: "/dict/hdfs/getChunkList",
62
+ url: "/dict/nfs/getChunkList",
63
63
  params
64
64
  }).then((res) => {
65
65
  return res.data.map((item) => item.identifier);
@@ -70,7 +70,7 @@ const upload = async (data, init) => {
70
70
  var _a;
71
71
  const xhr = new XMLHttpRequest();
72
72
  xhr.upload.onprogress = (init == null ? void 0 : init.onprogress) || null;
73
- xhr.open("post", restFetch.baseURL + "/dict/hdfs/chunk/upload");
73
+ xhr.open("post", restFetch.baseURL + "/dict/nfs/chunk/upload");
74
74
  const form = new FormData();
75
75
  form.append("file", data.chunk);
76
76
  form.append("identifier", data.fileHash);
@@ -108,7 +108,7 @@ const upload = async (data, init) => {
108
108
  const merge = async (data) => {
109
109
  return restFetch.request({
110
110
  method: "POST",
111
- url: "/dict/hdfs/chunk/merge",
111
+ url: "/dict/nfs/chunk/merge",
112
112
  data
113
113
  }).then((res) => {
114
114
  return res.datas;
@@ -6,7 +6,7 @@ const restFetch = new RestFetch({
6
6
  const verify = async (params) => {
7
7
  return restFetch.request({
8
8
  method: "GET",
9
- url: "/dict/hdfs/getChunkList",
9
+ url: "/dict/nfs/getChunkList",
10
10
  params
11
11
  }).then((res) => {
12
12
  return res.data.map((item) => item.identifier);
@@ -17,7 +17,7 @@ const upload = async (data, init) => {
17
17
  var _a;
18
18
  const xhr = new XMLHttpRequest();
19
19
  xhr.upload.onprogress = (init == null ? void 0 : init.onprogress) || null;
20
- xhr.open("post", restFetch.baseURL + "/dict/hdfs/chunk/upload");
20
+ xhr.open("post", restFetch.baseURL + "/dict/nfs/chunk/upload");
21
21
  const form = new FormData();
22
22
  form.append("file", data.chunk);
23
23
  form.append("identifier", data.fileHash);
@@ -55,7 +55,7 @@ const upload = async (data, init) => {
55
55
  const merge = async (data) => {
56
56
  return restFetch.request({
57
57
  method: "POST",
58
- url: "/dict/hdfs/chunk/merge",
58
+ url: "/dict/nfs/chunk/merge",
59
59
  data
60
60
  }).then((res) => {
61
61
  return res.datas;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vunk/form",
3
- "version": "1.1.46",
3
+ "version": "1.1.47",
4
4
  "description": "",
5
5
  "main": "index.esm.js",
6
6
  "scripts": {