@robot-admin/naive-ui-components 0.3.4 → 0.3.5

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.
@@ -110,17 +110,17 @@ declare const __VLS_export: vue.DefineComponent<CronProps, {
110
110
  reset: typeof handleReset;
111
111
  validate: () => CronValidation;
112
112
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
113
- change: (value: string) => any;
114
113
  "update:modelValue": (value: string) => any;
114
+ change: (value: string) => any;
115
115
  "validation-change": (result: CronValidation) => any;
116
116
  }, string, vue.PublicProps, Readonly<CronProps> & Readonly<{
117
- onChange?: ((value: string) => any) | undefined;
118
117
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
118
+ onChange?: ((value: string) => any) | undefined;
119
119
  "onValidation-change"?: ((result: CronValidation) => any) | undefined;
120
120
  }>, {
121
- disabled: boolean;
122
121
  height: string | number;
123
122
  modelValue: string;
123
+ disabled: boolean;
124
124
  showPreview: boolean;
125
125
  previewCount: number;
126
126
  showTemplates: boolean;
@@ -112,18 +112,18 @@ interface FormulaEditorExpose {
112
112
  //#endregion
113
113
  //#region src/components/C_FormulaEditor/index.vue.d.ts
114
114
  declare const __VLS_export: vue.DefineComponent<FormulaEditorProps, FormulaEditorExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
115
- change: (value: string) => any;
116
115
  "update:modelValue": (value: string) => any;
116
+ change: (value: string) => any;
117
117
  "validation-change": (result: FormulaValidation) => any;
118
118
  }, string, vue.PublicProps, Readonly<FormulaEditorProps> & Readonly<{
119
- onChange?: ((value: string) => any) | undefined;
120
119
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
120
+ onChange?: ((value: string) => any) | undefined;
121
121
  "onValidation-change"?: ((result: FormulaValidation) => any) | undefined;
122
122
  }>, {
123
- disabled: boolean;
124
123
  height: string | number;
125
124
  modelValue: string;
126
125
  placeholder: string;
126
+ disabled: boolean;
127
127
  variables: FormulaVariable[];
128
128
  functions: FormulaFunction[];
129
129
  sampleData: Record<string, number | string | boolean>;
@@ -151,8 +151,8 @@ interface NotificationCenterExpose {
151
151
  //#region src/components/C_NotificationCenter/index.vue.d.ts
152
152
  declare const __VLS_export: vue.DefineComponent<NotificationCenterProps, NotificationCenterExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
153
153
  delete: (ids: string[]) => any;
154
- read: (ids: string[]) => any;
155
154
  itemClick: (message: NotificationMessage) => any;
155
+ read: (ids: string[]) => any;
156
156
  allRead: (category?: NotificationCategory | undefined) => any;
157
157
  unreadChange: (count: number) => any;
158
158
  wsStatusChange: (status: string) => any;
@@ -160,19 +160,19 @@ declare const __VLS_export: vue.DefineComponent<NotificationCenterProps, Notific
160
160
  navigate: (url: string) => any;
161
161
  }, string, vue.PublicProps, Readonly<NotificationCenterProps> & Readonly<{
162
162
  onDelete?: ((ids: string[]) => any) | undefined;
163
- onRead?: ((ids: string[]) => any) | undefined;
164
163
  onItemClick?: ((message: NotificationMessage) => any) | undefined;
164
+ onRead?: ((ids: string[]) => any) | undefined;
165
165
  onAllRead?: ((category?: NotificationCategory | undefined) => any) | undefined;
166
166
  onUnreadChange?: ((count: number) => any) | undefined;
167
167
  onWsStatusChange?: ((status: string) => any) | undefined;
168
168
  onNewMessage?: ((message: NotificationMessage) => any) | undefined;
169
169
  onNavigate?: ((url: string) => any) | undefined;
170
170
  }>, {
171
- pageSize: number;
172
- storageKey: string;
173
171
  desktopNotification: boolean;
174
172
  maxBadgeCount: number;
175
173
  pollingInterval: number;
174
+ pageSize: number;
175
+ storageKey: string;
176
176
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
177
177
  declare const _default: typeof __VLS_export;
178
178
  //#endregion
@@ -196,25 +196,25 @@ type __VLS_Slots = {} & {
196
196
  area?: (props: typeof __VLS_11) => any;
197
197
  };
198
198
  declare const __VLS_base: vue.DefineComponent<UploadProps, UploadExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
199
- success: (file: UploadFileItem, response: any) => any;
200
- change: (fileList: UploadFileItem[]) => any;
201
199
  error: (file: UploadFileItem, error: Error) => any;
200
+ change: (fileList: UploadFileItem[]) => any;
201
+ success: (file: UploadFileItem, response: any) => any;
202
202
  progress: (file: UploadFileItem, percent: number) => any;
203
203
  remove: (file: UploadFileItem) => any;
204
204
  finish: (fileList: UploadFileItem[]) => any;
205
205
  exceed: (files: File[], fileList: UploadFileItem[]) => any;
206
206
  }, string, vue.PublicProps, Readonly<UploadProps> & Readonly<{
207
- onSuccess?: ((file: UploadFileItem, response: any) => any) | undefined;
208
- onChange?: ((fileList: UploadFileItem[]) => any) | undefined;
209
207
  onError?: ((file: UploadFileItem, error: Error) => any) | undefined;
208
+ onChange?: ((fileList: UploadFileItem[]) => any) | undefined;
209
+ onSuccess?: ((file: UploadFileItem, response: any) => any) | undefined;
210
210
  onProgress?: ((file: UploadFileItem, percent: number) => any) | undefined;
211
211
  onRemove?: ((file: UploadFileItem) => any) | undefined;
212
212
  onFinish?: ((fileList: UploadFileItem[]) => any) | undefined;
213
213
  onExceed?: ((files: File[], fileList: UploadFileItem[]) => any) | undefined;
214
214
  }>, {
215
+ data: Record<string, any>;
215
216
  disabled: boolean;
216
217
  multiple: boolean;
217
- data: Record<string, any>;
218
218
  draggable: boolean;
219
219
  maxSize: number;
220
220
  action: string;
package/dist/data.d.ts CHANGED
@@ -26,8 +26,8 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
26
26
  center: [number, number];
27
27
  zoom: number;
28
28
  markers: MapMarker$1[];
29
- amapKey: string;
30
29
  mapType: "osm" | "amap";
30
+ amapKey: string;
31
31
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
32
32
  declare const _default: typeof __VLS_export;
33
33
  //#endregion
@@ -11,11 +11,11 @@ type __VLS_Props = {
11
11
  options?: LanguageOption[];
12
12
  };
13
13
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
14
- change: (key: string) => any;
15
14
  "update:modelValue": (key: string) => any;
15
+ change: (key: string) => any;
16
16
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
17
- onChange?: ((key: string) => any) | undefined;
18
17
  "onUpdate:modelValue"?: ((key: string) => any) | undefined;
18
+ onChange?: ((key: string) => any) | undefined;
19
19
  }>, {
20
20
  modelValue: string;
21
21
  options: LanguageOption[];
@@ -38,8 +38,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
38
38
  insertText: (text: string) => void;
39
39
  wordCount: vue.ComputedRef<number>;
40
40
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
41
- change: (text: string, html: string) => any;
42
41
  "update:modelValue": (value: string) => any;
42
+ change: (text: string, html: string) => any;
43
43
  save: (text: string, html: string) => any;
44
44
  "upload-image": (event: Event, insertImage: InsertImageFunction, files: FileList) => any;
45
45
  "fullscreen-change": (isFullscreen: boolean) => any;
@@ -48,8 +48,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
48
48
  "auto-save": (text: string) => any;
49
49
  "max-length-exceeded": (currentLength: number, maxLength: number) => any;
50
50
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
51
- onChange?: ((text: string, html: string) => any) | undefined;
52
51
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
52
+ onChange?: ((text: string, html: string) => any) | undefined;
53
53
  onSave?: ((text: string, html: string) => any) | undefined;
54
54
  "onUpload-image"?: ((event: Event, insertImage: InsertImageFunction, files: FileList) => any) | undefined;
55
55
  "onFullscreen-change"?: ((isFullscreen: boolean) => any) | undefined;
@@ -58,12 +58,11 @@ declare const __VLS_export: vue.DefineComponent<Props, {
58
58
  "onAuto-save"?: ((text: string) => any) | undefined;
59
59
  "onMax-length-exceeded"?: ((currentLength: number, maxLength: number) => any) | undefined;
60
60
  }>, {
61
- disabled: boolean;
62
61
  height: string | number;
63
62
  modelValue: string;
64
63
  placeholder: string;
64
+ disabled: boolean;
65
65
  mode: "edit" | "editable" | "preview";
66
- autoSave: boolean;
67
66
  tocNavPosition: "left" | "right";
68
67
  defaultFullscreen: boolean;
69
68
  autofocus: boolean;
@@ -72,6 +71,7 @@ declare const __VLS_export: vue.DefineComponent<Props, {
72
71
  rightToolbar: string;
73
72
  maxLength: number;
74
73
  showWordCount: boolean;
74
+ autoSave: boolean;
75
75
  autoSaveInterval: number;
76
76
  isDark: boolean;
77
77
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -23,8 +23,8 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
23
23
  onChange?: ((args_0: number) => any) | undefined;
24
24
  "onUpdate:current"?: ((args_0: number) => any) | undefined;
25
25
  }>, {
26
- clickable: boolean;
27
26
  direction: "horizontal" | "vertical";
27
+ clickable: boolean;
28
28
  current: number;
29
29
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
30
30
  declare const _default: typeof __VLS_export;
@@ -647,12 +647,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
647
647
  onTaskClick?: ((task: GanttTask, event: Event) => any) | undefined;
648
648
  onTaskChange?: ((task: GanttTask, changes: any) => any) | undefined;
649
649
  }>, {
650
- theme: "light" | "dark";
651
650
  height: string | number;
652
- options: GanttOptions;
653
- title: string;
654
651
  data: GanttTask[];
655
652
  showToolbar: boolean;
653
+ theme: "light" | "dark";
654
+ options: GanttOptions;
655
+ title: string;
656
656
  preset: GanttPreset;
657
657
  showFullscreenButton: boolean;
658
658
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -1 +1 @@
1
- {"version":3,"file":"index16.vue.d.ts","names":[],"sources":["../src/components/C_VtableGantt/data.ts","../src/components/C_VtableGantt/index.vue"],"mappings":";;;UAGiB,SAAA;EACf,EAAA;EACA,KAAA;EACA,KAAA,W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AA,uBAAA;AAAA,+BAgYM,YAAA"}
1
+ {"version":3,"file":"index16.vue.d.ts","names":[],"sources":["../src/components/C_VtableGantt/data.ts","../src/components/C_VtableGantt/index.vue"],"mappings":";;;UAGiB,SAAA;EACf,EAAA;EACA,KAAA;EACA,KAAA,WAAgB,IAAA;EAChB,GAAA,YAAe,IAAA;EACf,QAAA;EACA,QAAA;EACA,IAAA;EACA,QAAA,GAAW,SAAA;EAAA,CACV,GAAA;AAAA;AAAA,UAGc,YAAA;EAAA,CACd,GAAA;AAAA;AAAA,KAGS,WAAA;AAAA,cA0BC,aAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UCsSH,KAAA;EACR,IAAA,GAAO,SAAA;EACP,OAAA,GAAU,YAAA;EACV,MAAA,GAAS,WAAA;EACT,MAAA;EACA,KAAA;EACA,WAAA;EACA,oBAAA;EACA,KAAA;AAAA;AAAA,cAqXI,YAAA,MAAY,eAAA,CAAA,KAAA;iBAAA,GAAA,CAAA,GAAA;wBAlLW,SAAA;8BAUM,YAAA;;;;;;;;;;;;QApN1B,SAAA;;;WACG,YAAA;;UACD,WAAA;;uBAAW,GAAA,CAAA,uBAAA;AAAA,+BAgYM,YAAA"}
@@ -18,26 +18,26 @@ declare const __VLS_export: vue.DefineComponent<CaptchaProps, {
18
18
  reset: () => void;
19
19
  show: () => void;
20
20
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
21
+ change: (valid: boolean) => any;
21
22
  success: (data: {
22
23
  token: string;
23
24
  timestamp: number;
24
25
  }) => any;
25
- fail: (error: string) => any;
26
- change: (valid: boolean) => any;
27
26
  reset: () => any;
27
+ fail: (error: string) => any;
28
28
  }, string, vue.PublicProps, Readonly<CaptchaProps> & Readonly<{
29
+ onChange?: ((valid: boolean) => any) | undefined;
29
30
  onSuccess?: ((data: {
30
31
  token: string;
31
32
  timestamp: number;
32
33
  }) => any) | undefined;
33
- onFail?: ((error: string) => any) | undefined;
34
- onChange?: ((valid: boolean) => any) | undefined;
35
34
  onReset?: (() => any) | undefined;
35
+ onFail?: ((error: string) => any) | undefined;
36
36
  }>, {
37
+ theme: "light" | "dark";
38
+ disabled: boolean;
37
39
  triggerText: string;
38
40
  images: string[];
39
- disabled: boolean;
40
- theme: "light" | "dark";
41
41
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
42
42
  declare const _default: typeof __VLS_export;
43
43
  //#endregion
@@ -17,11 +17,11 @@ type __VLS_Props = {
17
17
  modelValue?: CascadeValue;
18
18
  };
19
19
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
20
- change: (value: CascadeValue) => any;
21
20
  "update:modelValue": (value: CascadeValue) => any;
21
+ change: (value: CascadeValue) => any;
22
22
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
23
- onChange?: ((value: CascadeValue) => any) | undefined;
24
23
  "onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
24
+ onChange?: ((value: CascadeValue) => any) | undefined;
25
25
  }>, {
26
26
  placeholders: string[];
27
27
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -14,11 +14,11 @@ type __VLS_Slots = {} & {
14
14
  trigger?: (props: typeof __VLS_9) => any;
15
15
  };
16
16
  declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
17
- change: (value: string) => any;
18
17
  "update:modelValue": (value: string) => any;
18
+ change: (value: string) => any;
19
19
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
20
- onChange?: ((value: string) => any) | undefined;
21
20
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
21
+ onChange?: ((value: string) => any) | undefined;
22
22
  }>, {
23
23
  placeholder: string;
24
24
  showLetters: boolean;
@@ -39,8 +39,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
39
39
  "onUpdate:dateTimeRange"?: ((value: DateRangeValue) => any) | undefined;
40
40
  "onUpdate:smartRange"?: ((value: DateRangeValue) => any) | undefined;
41
41
  }>, {
42
- disabled: boolean;
43
42
  placeholder: string;
43
+ disabled: boolean;
44
44
  mode: DatePickerMode;
45
45
  startPlaceholder: string;
46
46
  endPlaceholder: string;
@@ -28,12 +28,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
28
28
  "onEditor-mounted"?: ((editor: any) => any) | undefined;
29
29
  "onEditor-change"?: ((html: string) => any) | undefined;
30
30
  }>, {
31
- disabled: boolean;
32
- theme: "light" | "dark";
33
31
  height: number;
34
32
  modelValue: string;
35
- placeholder: string;
36
33
  readonly: boolean;
34
+ theme: "light" | "dark";
35
+ placeholder: string;
36
+ disabled: boolean;
37
37
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
38
38
  declare const _default: typeof __VLS_export;
39
39
  //#endregion