@robot-admin/naive-ui-components 0.6.0 → 0.6.1

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.
@@ -121,9 +121,9 @@ declare const __VLS_export: vue.DefineComponent<CronProps, {
121
121
  height: string | number;
122
122
  modelValue: string;
123
123
  disabled: boolean;
124
- showPreview: boolean;
125
124
  previewCount: number;
126
125
  showTemplates: boolean;
126
+ showPreview: boolean;
127
127
  showSecond: boolean;
128
128
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
129
129
  declare const _default: typeof __VLS_export;
@@ -122,8 +122,8 @@ declare const __VLS_export: vue.DefineComponent<FormulaEditorProps, FormulaEdito
122
122
  }>, {
123
123
  height: string | number;
124
124
  modelValue: string;
125
- placeholder: string;
126
125
  disabled: boolean;
126
+ placeholder: string;
127
127
  showPreview: boolean;
128
128
  variables: FormulaVariable[];
129
129
  functions: FormulaFunction[];
@@ -217,7 +217,7 @@ declare function useNotificationCore(props: NotificationCenterProps): {
217
217
  actionText?: string | undefined;
218
218
  extra?: Record<string, unknown> | undefined;
219
219
  }[]>;
220
- activeCategory: vue.Ref<"all" | NotificationCategory, "all" | NotificationCategory>;
220
+ activeCategory: vue.Ref<NotificationCategory | "all", NotificationCategory | "all">;
221
221
  loading: vue.Ref<boolean, boolean>;
222
222
  total: vue.Ref<number, number>;
223
223
  page: vue.Ref<number, number>;
@@ -196,31 +196,31 @@ 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
+ error: (file: UploadFileItem, error: Error) => any;
199
200
  change: (fileList: UploadFileItem[]) => any;
200
201
  success: (file: UploadFileItem, response: any) => any;
201
- error: (file: UploadFileItem, error: Error) => 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
+ onError?: ((file: UploadFileItem, error: Error) => any) | undefined;
207
208
  onChange?: ((fileList: UploadFileItem[]) => any) | undefined;
208
209
  onSuccess?: ((file: UploadFileItem, response: any) => any) | undefined;
209
- onError?: ((file: UploadFileItem, error: Error) => 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>;
216
215
  disabled: boolean;
217
- multiple: boolean;
218
- maxSize: number;
216
+ data: Record<string, any>;
219
217
  draggable: boolean;
220
218
  action: string;
221
219
  headers: Record<string, string>;
220
+ multiple: boolean;
222
221
  directory: boolean;
223
222
  accept: string;
223
+ maxSize: number;
224
224
  maxCount: number;
225
225
  pasteable: boolean;
226
226
  chunked: boolean;
@@ -259,11 +259,11 @@ type PlayerInstance = InstanceType<typeof xgplayer.default>;
259
259
  //#endregion
260
260
  //#region src/components/C_VideoPlayer/index.vue.d.ts
261
261
  declare const __VLS_export: vue.DefineComponent<VideoPlayerProps, VideoPlayerExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
262
- ready: () => any;
263
262
  error: (error: Error) => any;
264
- ended: () => any;
263
+ ready: () => any;
265
264
  stateChange: (state: PlayerState) => any;
266
265
  timeUpdate: (currentTime: number, duration: number) => any;
266
+ ended: () => any;
267
267
  qualityChange: (quality: QualityLevel) => any;
268
268
  rateChange: (rate: number) => any;
269
269
  fullscreenChange: (isFullscreen: boolean) => any;
@@ -272,11 +272,11 @@ declare const __VLS_export: vue.DefineComponent<VideoPlayerProps, VideoPlayerExp
272
272
  chapterChange: (chapter: Chapter) => any;
273
273
  progressUpdate: (data: ProgressData) => any;
274
274
  }, string, vue.PublicProps, Readonly<VideoPlayerProps> & Readonly<{
275
- onReady?: (() => any) | undefined;
276
275
  onError?: ((error: Error) => any) | undefined;
277
- onEnded?: (() => any) | undefined;
276
+ onReady?: (() => any) | undefined;
278
277
  onStateChange?: ((state: PlayerState) => any) | undefined;
279
278
  onTimeUpdate?: ((currentTime: number, duration: number) => any) | undefined;
279
+ onEnded?: (() => any) | undefined;
280
280
  onQualityChange?: ((quality: QualityLevel) => any) | undefined;
281
281
  onRateChange?: ((rate: number) => any) | undefined;
282
282
  onFullscreenChange?: ((isFullscreen: boolean) => any) | undefined;
package/dist/data.d.ts CHANGED
@@ -23,8 +23,8 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
23
23
  onMarkerClick?: ((marker: MapMarker$1, event: any) => any) | undefined;
24
24
  }>, {
25
25
  height: string;
26
- zoom: number;
27
26
  center: [number, number];
27
+ zoom: number;
28
28
  markers: MapMarker$1[];
29
29
  amapKey: string;
30
30
  mapType: "osm" | "amap";
@@ -63,10 +63,10 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
63
63
  "onDropdown-click"?: ((item: ActionDropdownItem, action: ActionItem) => any) | undefined;
64
64
  "onAction-click"?: ((action: ActionItem) => any) | undefined;
65
65
  }>, {
66
- config: ActionBarConfig;
67
66
  actions: ActionItem[];
68
67
  leftActions: ActionItem[];
69
68
  rightActions: ActionItem[];
69
+ config: ActionBarConfig;
70
70
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
71
71
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
72
72
  declare const _default: typeof __VLS_export;
@@ -50,20 +50,20 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
50
50
  onLoad?: (() => any) | undefined;
51
51
  }>, {
52
52
  type: "iconify" | "unocss" | "component" | "svg" | "image";
53
+ title: string;
53
54
  size: number | string;
54
- rotate: number;
55
55
  name: string | any;
56
+ rotate: number;
56
57
  color: string;
57
- loading: boolean;
58
- flip: "horizontal" | "vertical" | "both";
59
- title: string;
60
58
  svgPath: string;
61
59
  viewBox: string;
62
60
  alt: string;
63
61
  clickable: boolean;
62
+ loading: boolean;
64
63
  fallbackIcon: string;
65
64
  ariaLabel: string;
66
65
  customClass: string;
66
+ flip: "horizontal" | "vertical" | "both";
67
67
  componentProps: Record<string, any>;
68
68
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
69
69
  declare const _default: typeof __VLS_export;
@@ -60,9 +60,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
60
60
  }>, {
61
61
  height: string | number;
62
62
  modelValue: string;
63
- placeholder: string;
64
63
  disabled: boolean;
65
- autoSave: boolean;
64
+ placeholder: string;
66
65
  mode: "edit" | "editable" | "preview";
67
66
  tocNavPosition: "left" | "right";
68
67
  defaultFullscreen: 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>;
@@ -34,13 +34,13 @@ type __VLS_Slots = {} & {
34
34
  indicator?: (props: typeof __VLS_9) => any;
35
35
  };
36
36
  declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Props> & Readonly<{}>, {
37
- status: "default" | "success" | "error" | "warning" | "info";
38
- strokeWidth: number;
39
- time: number;
40
37
  percentage: number | number[];
41
38
  isAnimation: boolean;
39
+ time: number;
42
40
  indicatorPlacement: "inside" | "outside";
43
41
  showIndicator: boolean;
42
+ status: "default" | "success" | "error" | "warning" | "info";
43
+ strokeWidth: number;
44
44
  unit: string;
45
45
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
46
46
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -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
- data: GanttTask[];
651
650
  height: string | number;
651
+ title: string;
652
+ options: GanttOptions;
653
+ data: GanttTask[];
652
654
  showToolbar: boolean;
653
655
  theme: "light" | "dark";
654
- options: GanttOptions;
655
- title: string;
656
656
  preset: GanttPreset;
657
657
  showFullscreenButton: boolean;
658
658
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -20,9 +20,9 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
20
20
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
21
21
  onError?: ((error: Error) => any) | undefined;
22
22
  }>, {
23
+ format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
23
24
  width: number;
24
25
  height: number;
25
- format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
26
26
  showText: boolean;
27
27
  fontSize: number;
28
28
  textPosition: "bottom" | "top";
@@ -19,23 +19,23 @@ declare const __VLS_export: vue.DefineComponent<CaptchaProps, {
19
19
  show: () => void;
20
20
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
21
21
  change: (valid: boolean) => any;
22
+ reset: () => any;
22
23
  success: (data: {
23
24
  token: string;
24
25
  timestamp: number;
25
26
  }) => any;
26
27
  fail: (error: string) => any;
27
- reset: () => any;
28
28
  }, string, vue.PublicProps, Readonly<CaptchaProps> & Readonly<{
29
29
  onChange?: ((valid: boolean) => any) | undefined;
30
+ onReset?: (() => any) | undefined;
30
31
  onSuccess?: ((data: {
31
32
  token: string;
32
33
  timestamp: number;
33
34
  }) => any) | undefined;
34
35
  onFail?: ((error: string) => any) | undefined;
35
- onReset?: (() => any) | undefined;
36
36
  }>, {
37
- theme: "light" | "dark";
38
37
  disabled: boolean;
38
+ theme: "light" | "dark";
39
39
  triggerText: string;
40
40
  images: string[];
41
41
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -33,12 +33,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
33
33
  onClick?: ((event: MouseEvent) => any) | undefined;
34
34
  onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
35
35
  }>, {
36
- trim: boolean;
37
- wordWrap: boolean;
38
36
  code: string;
39
37
  language: string;
40
38
  showHeader: boolean;
41
39
  showLineNumbers: boolean;
40
+ wordWrap: boolean;
41
+ trim: boolean;
42
42
  showFullscreen: boolean;
43
43
  autoLoadLanguage: boolean;
44
44
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -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
- placeholder: string;
43
42
  disabled: boolean;
43
+ placeholder: string;
44
44
  mode: DatePickerMode;
45
45
  startPlaceholder: string;
46
46
  endPlaceholder: string;
@@ -29,11 +29,11 @@ declare const __VLS_export: vue.DefineComponent<Props, {
29
29
  "onEditor-change"?: ((html: string) => any) | undefined;
30
30
  }>, {
31
31
  height: number;
32
- readonly: boolean;
33
- theme: "light" | "dark";
34
32
  modelValue: string;
35
- placeholder: string;
36
33
  disabled: boolean;
34
+ placeholder: string;
35
+ readonly: boolean;
36
+ theme: "light" | "dark";
37
37
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
38
38
  declare const _default: typeof __VLS_export;
39
39
  //#endregion