@vunk/form 2.9.3 → 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.
- package/components/api-tables-select/src/ctx.d.ts +42 -40
- package/components/api-tables-select/src/index.vue.d.ts +55 -54
- package/components/editable-text/index.cjs +266 -0
- package/components/editable-text/index.css +6 -0
- package/components/editable-text/index.d.ts +4 -0
- package/components/editable-text/index.mjs +260 -0
- package/components/editable-text/src/ctx.d.ts +89 -0
- package/components/editable-text/src/index.vue.d.ts +823 -0
- package/components/editable-text/src/types.d.ts +1 -0
- package/components/esri-input-geojson/index.mjs +1 -1
- package/components/form-item/index.cjs +3 -2
- package/components/form-item/index.mjs +4 -3
- package/components/form-item/src/types.d.ts +4 -2
- package/components/index2.cjs +38 -0
- package/components/index2.mjs +37 -1
- package/components/input-collection/index.mjs +1 -1
- package/components/input-collection/src/index.vue.d.ts +24 -22
- package/components/monaco-editor/src/ctx.d.ts +1 -1
- package/components/monaco-editor/src/index.vue.d.ts +5 -5
- package/components/tables-select/src/ctx.d.ts +60 -58
- package/components/tables-select/src/index.vue.d.ts +2351 -2228
- package/components/upload/index.mjs +1 -1
- package/components/upload-plus/index.mjs +1 -1
- package/components/vditor/src/index.vue.d.ts +16 -16
- package/index.css +7 -0
- package/package.json +9 -1
|
@@ -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 {
|
|
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';
|
|
@@ -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 {
|
|
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
|
-
}>, () =>
|
|
276
|
-
"update:modelValue":
|
|
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[]
|
|
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
|
-
}>, () =>
|
|
293
|
-
"update:fullscreen":
|
|
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[]
|
|
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
|
-
},
|
|
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:
|
|
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.
|
|
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
|
},
|