@vunk/form 2.9.2 → 2.10.0

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.
@@ -400,6 +400,7 @@ var _sfc_main = vue.defineComponent({
400
400
  file.uid = elementPlus.genFileId();
401
401
  uploadRef.value?.handleStart(file);
402
402
  });
403
+ uploadRef.value?.submit();
403
404
  };
404
405
  if (props2.confirmExceed) {
405
406
  elementPlus.ElMessageBox.confirm(
@@ -4,7 +4,7 @@ import { uploadProps, ElProgress, ElIcon, useNamespace, useLocale, ElUpload, ElL
4
4
  import { defineComponent, resolveComponent, openBlock, createElementBlock, Fragment, createCommentVNode, normalizeClass, createBlock, createElementVNode, withModifiers, createVNode, withCtx, toDisplayString, normalizeStyle, shallowRef, normalizeProps, guardReactiveProps, mergeProps, createSlots, renderSlot, createTextVNode } from 'vue';
5
5
  import { pickObject } from '@vunk/core/shared/utils-object';
6
6
  import { createUploadBindProps } from '@vunk/form/shared/element-plus';
7
- import { f as check_default, z as zoom_in_default, g as delete_default, h as close_default, i as circle_check_default, j as document_default, d as download_default } from '../index2.mjs';
7
+ import { g as check_default, z as zoom_in_default, h as delete_default, i as close_default, j as circle_check_default, k as document_default, d as download_default } from '../index2.mjs';
8
8
  import { NOOP } from '@vunk/core/shared/utils-function';
9
9
  import { RestFetch } from '@vunk/core/shared/utils-fetch';
10
10
  import { _ as _export_sfc } from '../_plugin-vue_export-helper.mjs';
@@ -396,6 +396,7 @@ var _sfc_main = defineComponent({
396
396
  file.uid = genFileId();
397
397
  uploadRef.value?.handleStart(file);
398
398
  });
399
+ uploadRef.value?.submit();
399
400
  };
400
401
  if (props2.confirmExceed) {
401
402
  ElMessageBox.confirm(
@@ -219,11 +219,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
219
219
  abort: AnyFunc;
220
220
  clearFiles: AnyFunc;
221
221
  handleStart: Func<File>;
222
+ submit: AnyFunc;
222
223
  }, {
223
224
  handleRemove: AnyFunc;
224
225
  abort: AnyFunc;
225
226
  clearFiles: AnyFunc;
226
227
  handleStart: Func<File>;
228
+ submit: AnyFunc;
227
229
  }>;
228
230
  handleRemove: (file: UploadFile) => void;
229
231
  readonly: import("vue").ComputedRef<boolean>;
@@ -7,7 +7,7 @@ import '@vunk/core/shared/utils-promise';
7
7
  import { isPlainObject as isPlainObject$1 } from '@vunk/core/shared/utils-object';
8
8
  import { g as getToken } from '../index.mjs';
9
9
  import { restFetch as restFetch$1 } from '@skzz/platform/shared/fetch/platform';
10
- import { s as success_filled_default, c as circle_close_filled_default, k as upload_filled_default } from '../index2.mjs';
10
+ import { l as success_filled_default, c as circle_close_filled_default, n as upload_filled_default } from '../index2.mjs';
11
11
  import { useModelComputed } from '@vunk/core/composables';
12
12
  import { ToggleHandler } from '@vunk/core/shared/utils-class';
13
13
  import { _ as _export_sfc } from '../_plugin-vue_export-helper.mjs';
@@ -256,14 +256,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
256
256
  default: boolean;
257
257
  };
258
258
  }>> & Readonly<{
259
- onLoad?: (e: import("vditor").default) => any;
260
- "onUpdate:modelValue"?: (e: string) => any;
261
- "onUpdate:fullscreen"?: (e: boolean) => any;
262
- onCtrlEnter?: (e: string) => any;
259
+ onLoad?: ((e: import("vditor").default) => any) | undefined;
260
+ "onUpdate:modelValue"?: ((e: string) => any) | undefined;
261
+ "onUpdate:fullscreen"?: ((e: boolean) => any) | undefined;
262
+ onCtrlEnter?: ((e: string) => any) | undefined;
263
263
  }>, {
264
264
  modelValue: string;
265
- defaultOptions: IOptions;
266
265
  placeholder: string;
266
+ defaultOptions: IOptions;
267
267
  toolbar: string[];
268
268
  fullscreen: boolean;
269
269
  }, {}, {
@@ -272,15 +272,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
272
272
  type: StringConstructor;
273
273
  default: string;
274
274
  };
275
- }>, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
276
- "update:modelValue": any;
275
+ }>, () => null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
276
+ "update:modelValue": null;
277
277
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
278
278
  modelValue: {
279
279
  type: StringConstructor;
280
280
  default: string;
281
281
  };
282
282
  }>> & Readonly<{
283
- "onUpdate:modelValue"?: (...args: any[] | unknown[]) => any;
283
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
284
284
  }>, {
285
285
  modelValue: string;
286
286
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -289,19 +289,19 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
289
289
  type: BooleanConstructor;
290
290
  default: boolean;
291
291
  };
292
- }>, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
293
- "update:fullscreen": any;
292
+ }>, () => null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
293
+ "update:fullscreen": null;
294
294
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
295
295
  fullscreen: {
296
296
  type: BooleanConstructor;
297
297
  default: boolean;
298
298
  };
299
299
  }>> & Readonly<{
300
- "onUpdate:fullscreen"?: (...args: any[] | unknown[]) => any;
300
+ "onUpdate:fullscreen"?: ((...args: any[]) => any) | undefined;
301
301
  }>, {
302
302
  fullscreen: boolean;
303
303
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
304
- VkAsyncTeleport: import("vue").DefineComponent<{
304
+ VkAsyncTeleport: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
305
305
  to: {
306
306
  type: import("vue").PropType<string | import("vue").RendererElement>;
307
307
  default: any;
@@ -318,9 +318,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
318
318
  type: BooleanConstructor;
319
319
  default: boolean;
320
320
  };
321
- }, {
321
+ }>, {
322
322
  ready: import("vue").Ref<boolean, boolean>;
323
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
323
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
324
324
  to: {
325
325
  type: import("vue").PropType<string | import("vue").RendererElement>;
326
326
  default: any;
@@ -337,8 +337,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
337
337
  type: BooleanConstructor;
338
338
  default: boolean;
339
339
  };
340
- }>>, {
341
- to: any;
340
+ }>> & Readonly<{}>, {
341
+ to: string | import("vue").RendererElement;
342
342
  sleep: number;
343
343
  await: Promise<unknown>;
344
344
  teleport: boolean;
package/index.css CHANGED
@@ -149,6 +149,13 @@
149
149
  color: var(--el-color-danger);
150
150
  }
151
151
 
152
+ .vkf-editable-text-actions{
153
+ display: flex;
154
+ }
155
+ .vkf-editable-text-actions .el-avatar {
156
+ cursor: pointer;
157
+ }
158
+
152
159
  .el-button.vkf-esri-input-geojson__upload{
153
160
  border-color: transparent;
154
161
  background-color: transparent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vunk/form",
3
- "version": "2.9.2",
3
+ "version": "2.10.0",
4
4
  "description": "",
5
5
  "main": "index.esm.js",
6
6
  "scripts": {
@@ -255,6 +255,11 @@
255
255
  "types": "./components/esri-input-geojson/index.d.ts",
256
256
  "require": "./components/esri-input-geojson/index.cjs"
257
257
  },
258
+ "./components/editable-text": {
259
+ "import": "./components/editable-text/index.mjs",
260
+ "types": "./components/editable-text/index.d.ts",
261
+ "require": "./components/editable-text/index.cjs"
262
+ },
258
263
  "./components/download-plus": {
259
264
  "import": "./components/download-plus/index.mjs",
260
265
  "types": "./components/download-plus/index.d.ts",
@@ -357,6 +362,9 @@
357
362
  "./components/esri-input-geojson/index.css": {
358
363
  "import": "./components/esri-input-geojson/index.css"
359
364
  },
365
+ "./components/editable-text/index.css": {
366
+ "import": "./components/editable-text/index.css"
367
+ },
360
368
  "./components/download-plus/index.css": {
361
369
  "import": "./components/download-plus/index.css"
362
370
  },