@vc-shell/framework 1.0.133 → 1.0.135

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.
Files changed (141) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/core/interceptors/index.ts +13 -9
  3. package/dist/core/interceptors/index.d.ts.map +1 -1
  4. package/dist/framework.js +8244 -8422
  5. package/dist/index.css +1 -1
  6. package/dist/index.d.ts.map +1 -1
  7. package/dist/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue.d.ts +1 -1
  8. package/dist/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue.d.ts +1 -1
  9. package/dist/shared/components/blade-navigation/components/vc-blade-view/vc-blade-view.d.ts +1 -1
  10. package/dist/shared/components/blade-navigation/composables/useBladeNavigation/index.d.ts.map +1 -1
  11. package/dist/shared/components/change-password/change-password.vue.d.ts +1 -1
  12. package/dist/shared/components/change-password/index.d.ts +1 -1
  13. package/dist/shared/components/error-interceptor/interceptor.d.ts +1 -1
  14. package/dist/shared/components/language-selector/index.d.ts +1 -1
  15. package/dist/shared/components/language-selector/index.d.ts.map +1 -1
  16. package/dist/shared/components/language-selector/language-selector.vue.d.ts +1 -1
  17. package/dist/shared/components/notification-dropdown/_internal/notification/notification.vue.d.ts +1 -1
  18. package/dist/shared/components/notification-dropdown/index.d.ts +1 -1
  19. package/dist/shared/components/notification-dropdown/index.d.ts.map +1 -1
  20. package/dist/shared/components/notification-dropdown/notification-dropdown.vue.d.ts +1 -1
  21. package/dist/shared/components/notification-template/notification-template.vue.d.ts +1 -1
  22. package/dist/shared/components/notifications/components/notification-container/index.d.ts +1 -1
  23. package/dist/shared/components/popup-handler/components/vc-popup-container/index.d.ts +1 -1
  24. package/dist/shared/components/popup-handler/components/vc-popup-container/index.d.ts.map +1 -1
  25. package/dist/shared/components/popup-handler/components/vc-popup-container/vc-popup-container.vue.d.ts +1 -1
  26. package/dist/shared/components/user-dropdown-button/index.d.ts +1 -1
  27. package/dist/shared/components/user-dropdown-button/user-dropdown-button.vue.d.ts +1 -1
  28. package/dist/shared/modules/assets/components/assets-details/assets-details.vue.d.ts +1 -1
  29. package/dist/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts +1 -1
  30. package/dist/shared/modules/assets-manager/components/assets-manager/index.d.ts +1 -1
  31. package/dist/shared/modules/dynamic/components/SchemaRender.d.ts +1 -1
  32. package/dist/shared/modules/dynamic/components/fields/MultivalueField.d.ts.map +1 -1
  33. package/dist/shared/modules/dynamic/components/fields/ValidationField.d.ts +1 -1
  34. package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts +1 -1
  35. package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts +1 -1
  36. package/dist/shared/modules/dynamic/types/index.d.ts +0 -10
  37. package/dist/shared/modules/dynamic/types/index.d.ts.map +1 -1
  38. package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts +1 -1
  39. package/dist/shared/pages/InvitePage/components/invite/index.d.ts +1 -1
  40. package/dist/shared/pages/LoginPage/components/login/Login.vue.d.ts +1 -1
  41. package/dist/shared/pages/LoginPage/components/login/index.d.ts +1 -1
  42. package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts +1 -1
  43. package/dist/shared/pages/ResetPasswordPage/components/reset-password/index.d.ts +1 -1
  44. package/dist/tsconfig.tsbuildinfo +1 -1
  45. package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts +1 -1
  46. package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts +1 -1
  47. package/dist/ui/components/atoms/vc-card/vc-card.vue.d.ts +1 -1
  48. package/dist/ui/components/atoms/vc-checkbox/vc-checkbox.stories.d.ts.map +1 -1
  49. package/dist/ui/components/atoms/vc-checkbox/vc-checkbox.vue.d.ts +1 -1
  50. package/dist/ui/components/atoms/vc-checkbox/vc-checkbox.vue.d.ts.map +1 -1
  51. package/dist/ui/components/atoms/vc-col/vc-col.vue.d.ts +1 -1
  52. package/dist/ui/components/atoms/vc-container/vc-container.vue.d.ts +1 -1
  53. package/dist/ui/components/atoms/vc-hint/vc-hint.vue.d.ts +1 -1
  54. package/dist/ui/components/atoms/vc-icon/index.d.ts +1 -1
  55. package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts +1 -1
  56. package/dist/ui/components/atoms/vc-image/index.d.ts +1 -1
  57. package/dist/ui/components/atoms/vc-image/vc-image.vue.d.ts +1 -1
  58. package/dist/ui/components/atoms/vc-info-row/index.d.ts +1 -1
  59. package/dist/ui/components/atoms/vc-info-row/vc-info-row.vue.d.ts +1 -1
  60. package/dist/ui/components/atoms/vc-label/index.d.ts +1 -83
  61. package/dist/ui/components/atoms/vc-label/index.d.ts.map +1 -1
  62. package/dist/ui/components/atoms/vc-label/vc-label.vue.d.ts +1 -1
  63. package/dist/ui/components/atoms/vc-label/vc-label.vue.d.ts.map +1 -1
  64. package/dist/ui/components/atoms/vc-link/vc-link.vue.d.ts +1 -1
  65. package/dist/ui/components/atoms/vc-loading/index.d.ts +1 -1
  66. package/dist/ui/components/atoms/vc-loading/vc-loading.vue.d.ts +1 -1
  67. package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts +1 -1
  68. package/dist/ui/components/atoms/vc-row/vc-row.vue.d.ts +1 -1
  69. package/dist/ui/components/atoms/vc-status/vc-status.vue.d.ts +1 -1
  70. package/dist/ui/components/atoms/vc-status-icon/vc-status-icon.vue.d.ts +1 -1
  71. package/dist/ui/components/atoms/vc-switch/index.d.ts +1 -1
  72. package/dist/ui/components/atoms/vc-switch/vc-switch.vue.d.ts +1 -1
  73. package/dist/ui/components/atoms/vc-video/index.d.ts +1 -1
  74. package/dist/ui/components/atoms/vc-video/vc-video.vue.d.ts +1 -1
  75. package/dist/ui/components/atoms/vc-widget/index.d.ts +1 -1
  76. package/dist/ui/components/atoms/vc-widget/vc-widget.vue.d.ts +1 -1
  77. package/dist/ui/components/molecules/vc-breadcrumbs/_internal/vc-breadcrumbs-item/vc-breadcrumbs-item.vue.d.ts +1 -1
  78. package/dist/ui/components/molecules/vc-breadcrumbs/index.d.ts +1 -1
  79. package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue.d.ts +1 -1
  80. package/dist/ui/components/molecules/vc-code-editor/vc-code-editor.vue.d.ts +1 -1
  81. package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts +1 -3
  82. package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts.map +1 -1
  83. package/dist/ui/components/molecules/vc-field/_internal/vc-field-type/vc-field-type.vue.d.ts +1 -1
  84. package/dist/ui/components/molecules/vc-field/vc-field.vue.d.ts +2 -2
  85. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts +1 -1
  86. package/dist/ui/components/molecules/vc-form/vc-form.vue.d.ts +1 -1
  87. package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts +2 -2
  88. package/dist/ui/components/molecules/vc-input-currency/index.d.ts +1 -330
  89. package/dist/ui/components/molecules/vc-input-currency/index.d.ts.map +1 -1
  90. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts +20 -4
  91. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts.map +1 -1
  92. package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts +3 -14
  93. package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts.map +1 -1
  94. package/dist/ui/components/molecules/vc-notification/vc-notification.vue.d.ts +1 -1
  95. package/dist/ui/components/molecules/vc-notification/vc-notification.vue.d.ts.map +1 -1
  96. package/dist/ui/components/molecules/vc-pagination/index.d.ts +1 -1
  97. package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts +1 -1
  98. package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts +1 -1
  99. package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts +3 -3
  100. package/dist/ui/components/molecules/vc-slider/vc-slider.vue.d.ts +1 -1
  101. package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts +1 -1
  102. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue.d.ts +1 -1
  103. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue.d.ts +1 -1
  104. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts +1 -1
  105. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue.d.ts +1 -1
  106. package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts +3 -3
  107. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue.d.ts +1 -1
  108. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts +1 -1
  109. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/vc-blade-toolbar.vue.d.ts +1 -1
  110. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +1 -1
  111. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts +1 -1
  112. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts +1 -1
  113. package/dist/ui/components/organisms/vc-gallery/index.d.ts +1 -136
  114. package/dist/ui/components/organisms/vc-gallery/index.d.ts.map +1 -1
  115. package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +1 -1
  116. package/dist/ui/components/organisms/vc-login-form/vc-login-form.vue.d.ts +1 -1
  117. package/dist/ui/components/organisms/vc-popup/_internal/vc-popup-error/vc-popup-error.vue.d.ts +1 -1
  118. package/dist/ui/components/organisms/vc-popup/_internal/vc-popup-warning/vc-popup-warning.vue.d.ts +1 -1
  119. package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts +1 -1
  120. package/dist/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts +1 -1
  121. package/dist/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts +1 -1
  122. package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts +1 -1
  123. package/dist/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue.d.ts +1 -1
  124. package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts +3 -3
  125. package/package.json +19 -20
  126. package/shared/components/blade-navigation/composables/useBladeNavigation/index.ts +1 -0
  127. package/shared/modules/dynamic/components/fields/MultivalueField.ts +0 -2
  128. package/shared/modules/dynamic/pages/dynamic-blade-form.vue +1 -1
  129. package/shared/modules/dynamic/types/index.ts +0 -10
  130. package/ui/components/atoms/vc-checkbox/vc-checkbox.stories.ts +4 -2
  131. package/ui/components/atoms/vc-checkbox/vc-checkbox.vue +1 -0
  132. package/ui/components/atoms/vc-label/index.ts +1 -3
  133. package/ui/components/atoms/vc-label/vc-label.vue +33 -28
  134. package/ui/components/molecules/vc-editor/vc-editor.vue +0 -3
  135. package/ui/components/molecules/vc-field/vc-field.vue +0 -2
  136. package/ui/components/molecules/vc-input-currency/index.ts +1 -18
  137. package/ui/components/molecules/vc-input-currency/vc-input-currency.vue +13 -0
  138. package/ui/components/molecules/vc-multivalue/vc-multivalue.vue +10 -17
  139. package/ui/components/molecules/vc-notification/vc-notification.vue +34 -8
  140. package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue +0 -1
  141. package/ui/components/organisms/vc-gallery/index.ts +1 -3
@@ -5,7 +5,7 @@ export interface Props {
5
5
  theme?: "light" | "dark";
6
6
  title?: string;
7
7
  }
8
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>, Readonly<{
8
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>, Readonly<{
9
9
  "app-switcher": void;
10
10
  toolbar: void;
11
11
  "toolbar:prepend": void;
@@ -26,7 +26,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
26
26
  type: import("vue").PropType<import("../../../../core/types").BladeMenu<import("vue").Component>[]>;
27
27
  default: () => never[];
28
28
  };
29
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
29
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
30
30
  name: {
31
31
  type: import("vue").PropType<string>;
32
32
  };
@@ -66,7 +66,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
66
66
  type: import("vue").PropType<import("../../../../core/types").BladeMenu<import("vue").Component>[]>;
67
67
  default: () => never[];
68
68
  };
69
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
69
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
70
70
  name: {
71
71
  type: import("vue").PropType<string>;
72
72
  };
@@ -10,7 +10,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
10
10
  close: (...args: any[]) => void;
11
11
  expand: (...args: any[]) => void;
12
12
  collapse: (...args: any[]) => void;
13
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
13
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
14
14
  onClose?: ((...args: any[]) => any) | undefined;
15
15
  onExpand?: ((...args: any[]) => any) | undefined;
16
16
  onCollapse?: ((...args: any[]) => any) | undefined;
@@ -20,7 +20,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
20
20
  clickHandler: undefined;
21
21
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22
22
  click: () => void;
23
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
23
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
24
24
  disabled: boolean;
25
25
  isExpanded: boolean;
26
26
  icon: string;
@@ -4,7 +4,7 @@ export interface Props {
4
4
  }
5
5
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
6
6
  items: () => never[];
7
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
7
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
8
8
  items: () => never[];
9
9
  }>>>, {
10
10
  items: IBladeToolbar<import("vue").ComponentPublicInstance>[];
@@ -23,7 +23,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
23
23
  close: () => void;
24
24
  expand: () => void;
25
25
  collapse: () => void;
26
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
26
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
27
27
  width: string;
28
28
  closable: boolean;
29
29
  expandable: boolean;
@@ -23,7 +23,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
23
23
  edit: (...args: any[]) => void;
24
24
  remove: (...args: any[]) => void;
25
25
  preview: (...args: any[]) => void;
26
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
26
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
27
27
  image: () => ICommonAsset;
28
28
  readonly: boolean;
29
29
  actions: () => {
@@ -11,7 +11,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
11
11
  index: number;
12
12
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
13
  close: () => void;
14
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
14
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
15
15
  images: () => never[];
16
16
  index: number;
17
17
  }>>> & {
@@ -1,137 +1,2 @@
1
- export declare const VcGallery: import("vue").DefineComponent<{
2
- disabled: {
3
- type: import("vue").PropType<boolean>;
4
- };
5
- label: {
6
- type: import("vue").PropType<string>;
7
- };
8
- variant: {
9
- type: import("vue").PropType<"gallery" | "file-upload">;
10
- default: string;
11
- };
12
- name: {
13
- type: import("vue").PropType<string>;
14
- default: string;
15
- };
16
- required: {
17
- type: import("vue").PropType<boolean>;
18
- };
19
- tooltip: {
20
- type: import("vue").PropType<string>;
21
- };
22
- tooltipIcon: {
23
- type: import("vue").PropType<string>;
24
- default: string;
25
- };
26
- loading: {
27
- type: import("vue").PropType<boolean>;
28
- };
29
- multiple: {
30
- type: import("vue").PropType<boolean>;
31
- };
32
- rules: {
33
- type: import("vue").PropType<string | Record<string, unknown>>;
34
- };
35
- images: {
36
- type: import("vue").PropType<import("../../../..").ICommonAsset[]>;
37
- default: () => never[];
38
- };
39
- uploadIcon: {
40
- type: import("vue").PropType<string>;
41
- default: string;
42
- };
43
- itemActions: {
44
- type: import("vue").PropType<{
45
- preview: boolean;
46
- edit: boolean;
47
- remove: boolean;
48
- }>;
49
- default: () => {
50
- preview: boolean;
51
- edit: boolean;
52
- remove: boolean;
53
- };
54
- };
55
- hideAfterUpload: {
56
- type: import("vue").PropType<boolean>;
57
- };
58
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
59
- upload: (files: FileList, startingSortOrder?: number | undefined) => void;
60
- sort: (sorted: import("../../../..").ICommonAsset[]) => void;
61
- edit: (image: import("../../../..").ICommonAsset) => void;
62
- remove: (image: import("../../../..").ICommonAsset) => void;
63
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
64
- disabled: {
65
- type: import("vue").PropType<boolean>;
66
- };
67
- label: {
68
- type: import("vue").PropType<string>;
69
- };
70
- variant: {
71
- type: import("vue").PropType<"gallery" | "file-upload">;
72
- default: string;
73
- };
74
- name: {
75
- type: import("vue").PropType<string>;
76
- default: string;
77
- };
78
- required: {
79
- type: import("vue").PropType<boolean>;
80
- };
81
- tooltip: {
82
- type: import("vue").PropType<string>;
83
- };
84
- tooltipIcon: {
85
- type: import("vue").PropType<string>;
86
- default: string;
87
- };
88
- loading: {
89
- type: import("vue").PropType<boolean>;
90
- };
91
- multiple: {
92
- type: import("vue").PropType<boolean>;
93
- };
94
- rules: {
95
- type: import("vue").PropType<string | Record<string, unknown>>;
96
- };
97
- images: {
98
- type: import("vue").PropType<import("../../../..").ICommonAsset[]>;
99
- default: () => never[];
100
- };
101
- uploadIcon: {
102
- type: import("vue").PropType<string>;
103
- default: string;
104
- };
105
- itemActions: {
106
- type: import("vue").PropType<{
107
- preview: boolean;
108
- edit: boolean;
109
- remove: boolean;
110
- }>;
111
- default: () => {
112
- preview: boolean;
113
- edit: boolean;
114
- remove: boolean;
115
- };
116
- };
117
- hideAfterUpload: {
118
- type: import("vue").PropType<boolean>;
119
- };
120
- }>> & {
121
- onUpload?: ((files: FileList, startingSortOrder?: number | undefined) => any) | undefined;
122
- onEdit?: ((image: import("../../../..").ICommonAsset) => any) | undefined;
123
- onSort?: ((sorted: import("../../../..").ICommonAsset[]) => any) | undefined;
124
- onRemove?: ((image: import("../../../..").ICommonAsset) => any) | undefined;
125
- }, {
126
- variant: "gallery" | "file-upload";
127
- name: string;
128
- tooltipIcon: string;
129
- images: import("../../../..").ICommonAsset[];
130
- uploadIcon: string;
131
- itemActions: {
132
- preview: boolean;
133
- edit: boolean;
134
- remove: boolean;
135
- };
136
- }, {}>;
1
+ export { default as VcGallery } from "./vc-gallery.vue";
137
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-gallery/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAA8B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-gallery/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,kBAAkB,CAAC"}
@@ -41,7 +41,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
41
41
  sort: (sorted: ICommonAsset[]) => void;
42
42
  edit: (image: ICommonAsset) => void;
43
43
  remove: (image: ICommonAsset) => void;
44
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
44
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
45
45
  images: () => never[];
46
46
  tooltipIcon: string;
47
47
  uploadIcon: string;
@@ -5,7 +5,7 @@ export interface Props {
5
5
  }
6
6
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
7
7
  title: string;
8
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
8
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
9
9
  title: string;
10
10
  }>>>, {
11
11
  title: string;
@@ -3,7 +3,7 @@ export interface Emits {
3
3
  }
4
4
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
5
  close: () => void;
6
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
6
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
7
7
  onClose?: (() => any) | undefined;
8
8
  }, {}, {}>, {
9
9
  default?(_: {}): any;
@@ -5,7 +5,7 @@ export interface Emits {
5
5
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
6
  close: () => void;
7
7
  confirm: () => void;
8
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
8
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
9
9
  onClose?: (() => any) | undefined;
10
10
  onConfirm?: (() => any) | undefined;
11
11
  }, {}, {}>, {
@@ -16,7 +16,7 @@ declare const _default: import("vue").DefineComponent<{
16
16
  type: PropType<"default" | "warning" | "success" | "error">;
17
17
  default: string;
18
18
  };
19
- }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "confirm")[], "close" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
19
+ }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "confirm")[], "close" | "confirm", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
20
20
  title: {
21
21
  type: StringConstructor;
22
22
  default: string;
@@ -3,7 +3,7 @@ export interface Props {
3
3
  cell: ITableColumns;
4
4
  item: Record<string, unknown>;
5
5
  }
6
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>;
6
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>;
7
7
  export default _default;
8
8
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
9
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -7,7 +7,7 @@ export interface Emits {
7
7
  }
8
8
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
9
  change: (value: ITableColumns) => void;
10
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {}>>> & {
10
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {}>>> & {
11
11
  onChange?: ((value: ITableColumns) => any) | undefined;
12
12
  }, {}, {}>;
13
13
  export default _default;
@@ -5,7 +5,7 @@ export interface Props {
5
5
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
6
6
  label: string;
7
7
  value: number;
8
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
8
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
9
9
  label: string;
10
10
  value: number;
11
11
  }>>>, {
@@ -8,7 +8,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
8
8
  title: undefined;
9
9
  counter: number;
10
10
  parentExpanded: boolean;
11
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
11
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
12
12
  title: undefined;
13
13
  counter: number;
14
14
  parentExpanded: boolean;
@@ -84,7 +84,7 @@ declare const _default: <T extends string | TableItem>(__VLS_props: {
84
84
  empty: (props: any) => any;
85
85
  footer: (props: any) => any;
86
86
  };
87
- emit: ((evt: "value", args_0: Record<string, unknown>) => void) & ((evt: "scroll:ptr") => void) & ((evt: "itemClick", item: T) => void) & ((evt: "paginationClick", page: number) => void) & ((evt: "selectionChanged", values: T[]) => void) & ((evt: "search:change", value: string | number | Date | null) => void) & ((evt: "headerClick", item: ITableColumns) => void) & ((evt: "row:reorder", args: {
87
+ emit: ((evt: "scroll:ptr") => void) & ((evt: "value", args_0: Record<string, unknown>) => void) & ((evt: "itemClick", item: T) => void) & ((evt: "paginationClick", page: number) => void) & ((evt: "selectionChanged", values: T[]) => void) & ((evt: "search:change", value: string | number | Date | null) => void) & ((evt: "headerClick", item: ITableColumns) => void) & ((evt: "row:reorder", args: {
88
88
  dragIndex: number;
89
89
  dropIndex: number;
90
90
  value: T[];
@@ -165,7 +165,7 @@ declare const _default: <T extends string | TableItem>(__VLS_props: {
165
165
  empty: (props: any) => any;
166
166
  footer: (props: any) => any;
167
167
  };
168
- emit: ((evt: "value", args_0: Record<string, unknown>) => void) & ((evt: "scroll:ptr") => void) & ((evt: "itemClick", item: T) => void) & ((evt: "paginationClick", page: number) => void) & ((evt: "selectionChanged", values: T[]) => void) & ((evt: "search:change", value: string | number | Date | null) => void) & ((evt: "headerClick", item: ITableColumns) => void) & ((evt: "row:reorder", args: {
168
+ emit: ((evt: "scroll:ptr") => void) & ((evt: "value", args_0: Record<string, unknown>) => void) & ((evt: "itemClick", item: T) => void) & ((evt: "paginationClick", page: number) => void) & ((evt: "selectionChanged", values: T[]) => void) & ((evt: "search:change", value: string | number | Date | null) => void) & ((evt: "headerClick", item: ITableColumns) => void) & ((evt: "row:reorder", args: {
169
169
  dragIndex: number;
170
170
  dropIndex: number;
171
171
  value: T[];
@@ -249,7 +249,7 @@ declare const _default: <T extends string | TableItem>(__VLS_props: {
249
249
  empty: (props: any) => any;
250
250
  footer: (props: any) => any;
251
251
  };
252
- emit: ((evt: "value", args_0: Record<string, unknown>) => void) & ((evt: "scroll:ptr") => void) & ((evt: "itemClick", item: T) => void) & ((evt: "paginationClick", page: number) => void) & ((evt: "selectionChanged", values: T[]) => void) & ((evt: "search:change", value: string | number | Date | null) => void) & ((evt: "headerClick", item: ITableColumns) => void) & ((evt: "row:reorder", args: {
252
+ emit: ((evt: "scroll:ptr") => void) & ((evt: "value", args_0: Record<string, unknown>) => void) & ((evt: "itemClick", item: T) => void) & ((evt: "paginationClick", page: number) => void) & ((evt: "selectionChanged", values: T[]) => void) & ((evt: "search:change", value: string | number | Date | null) => void) & ((evt: "headerClick", item: ITableColumns) => void) & ((evt: "row:reorder", args: {
253
253
  dragIndex: number;
254
254
  dropIndex: number;
255
255
  value: T[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vc-shell/framework",
3
- "version": "1.0.133",
3
+ "version": "1.0.135",
4
4
  "type": "module",
5
5
  "main": "./dist/framework.js",
6
6
  "types": "./dist/index.d.ts",
@@ -28,40 +28,39 @@
28
28
  "type-check": "vue-tsc --noEmit"
29
29
  },
30
30
  "dependencies": {
31
- "@floating-ui/vue": "^1.0.0",
31
+ "@floating-ui/vue": "^1.0.2",
32
32
  "@microsoft/signalr": "^8.0.0",
33
- "@vee-validate/i18n": "^4.9.4",
34
- "@vee-validate/rules": "^4.11.8",
33
+ "@vee-validate/i18n": "^4.12.4",
34
+ "@vee-validate/rules": "^4.12.4",
35
35
  "@vueup/vue-quill": "^1.2.0",
36
- "@vueuse/components": "^10.7.0",
37
- "@vueuse/core": "^10.7.0",
38
- "@vueuse/integrations": "^10.7.0",
39
- "ace-builds": "^1.32.0",
40
- "core-js": "^3.33.3",
41
- "moment": "^2.29.4",
36
+ "@vueuse/components": "^10.7.1",
37
+ "@vueuse/core": "^10.7.1",
38
+ "@vueuse/integrations": "^10.7.1",
39
+ "ace-builds": "^1.32.2",
40
+ "core-js": "^3.35.0",
41
+ "moment": "^2.30.1",
42
42
  "normalize.css": "^8.0.1",
43
43
  "quill": "^1.3.7",
44
44
  "quill-image-uploader": "^1.3.0",
45
45
  "swiper": "^6.8.4",
46
- "vee-validate": "^4.11.8",
47
- "vue": "3.3.13",
46
+ "vee-validate": "^4.12.4",
47
+ "vue": "3.4.0",
48
48
  "vue-currency-input": "^3.0.5",
49
49
  "vue-i18n": "^9.8.0",
50
50
  "vue-router": "^4.2.5",
51
51
  "vue3-ace-editor": "^2.2.4",
52
- "vue3-touch-events": "^4.1.8",
53
52
  "whatwg-fetch": "^3.6.19"
54
53
  },
55
54
  "devDependencies": {
56
- "@vc-shell/api-client-generator": "^1.0.133",
57
- "@vc-shell/config-generator": "^1.0.133",
58
- "@vc-shell/ts-config": "^1.0.133",
59
- "@vitejs/plugin-vue": "^4.5.1",
60
- "sass": "^1.69.5",
55
+ "@vc-shell/api-client-generator": "^1.0.135",
56
+ "@vc-shell/config-generator": "^1.0.135",
57
+ "@vc-shell/ts-config": "^1.0.135",
58
+ "@vitejs/plugin-vue": "^5.0.0",
59
+ "sass": "^1.69.6",
61
60
  "typescript": "5.3.3",
62
61
  "vite": "4.5.0",
63
- "vue-component-type-helpers": "^1.8.24",
64
- "vue-tsc": "^1.8.25"
62
+ "vue-component-type-helpers": "^1.8.27",
63
+ "vue-tsc": "^1.8.27"
65
64
  },
66
65
  "publishConfig": {
67
66
  "access": "public",
@@ -182,6 +182,7 @@ export function useBladeNavigation(): IUseBladeNavigation {
182
182
 
183
183
  return await router.push({
184
184
  path: url,
185
+ replace: !blade.url,
185
186
  });
186
187
  }
187
188
  } catch (e) {
@@ -20,8 +20,6 @@ export default {
20
20
  type: props.element.variant,
21
21
  optionValue: props.element.optionValue,
22
22
  optionLabel: props.element.optionLabel,
23
- emitValue: props.element.emitValue,
24
- emitLabel: props.element.emitLabel,
25
23
  options: props.element.options ? props.bladeContext.scope?.[props.element.options] : undefined,
26
24
  currentLanguage: props.currentLocale,
27
25
  },
@@ -150,7 +150,7 @@ const unwatchTitle = watch(
150
150
  if (newVal && props.composables) {
151
151
  title.value = newVal;
152
152
 
153
- nextTick(() => unwatchTitle());
153
+ // nextTick(() => unwatchTitle());
154
154
  }
155
155
  },
156
156
  { immediate: true },
@@ -305,16 +305,6 @@ export interface MultivalueSchema extends SchemaBase {
305
305
  * @type {string}
306
306
  */
307
307
  options?: string;
308
- /**
309
- * Key of emmited object on select from dictionary.
310
- * @default `valueId`
311
- */
312
- emitValue?: string;
313
- /**
314
- * Key of emmited object on input.
315
- * @default `value`
316
- */
317
- emitLabel?: string;
318
308
  /**
319
309
  * Whether the select is multivalue or not.
320
310
  * @type {boolean}
@@ -1,5 +1,6 @@
1
1
  import type { Meta, StoryObj } from "@storybook/vue3";
2
2
  import { VcCheckbox } from "./";
3
+ import { VcLabel } from "../vc-label";
3
4
 
4
5
  const meta: Meta<typeof VcCheckbox> = {
5
6
  title: "atoms/VcCheckbox",
@@ -11,13 +12,14 @@ type Story = StoryObj<typeof VcCheckbox>;
11
12
 
12
13
  export const Primary: Story = {
13
14
  render: (args) => ({
14
- components: { VcCheckbox },
15
+ components: { VcCheckbox, VcLabel },
15
16
  setup() {
16
17
  return { args };
17
18
  },
18
- template: '<vc-checkbox v-bind="args"></vc-checkbox>',
19
+ template: '<vc-checkbox v-bind="args">Checkbox text content</vc-checkbox>',
19
20
  }),
20
21
  args: {
21
22
  modelValue: true,
23
+ label: "Checkbox label",
22
24
  },
23
25
  };
@@ -53,6 +53,7 @@
53
53
  <script lang="ts" setup>
54
54
  import { MaybeRef, computed, unref } from "vue";
55
55
  import { VcHint } from "./../vc-hint";
56
+ import { VcLabel } from "../vc-label";
56
57
  export interface Props {
57
58
  modelValue: MaybeRef<boolean>;
58
59
  disabled?: boolean;
@@ -1,3 +1 @@
1
- import _Label from "./vc-label.vue";
2
-
3
- export const VcLabel = _Label as typeof _Label;
1
+ export { default as VcLabel } from "./vc-label.vue";
@@ -1,35 +1,40 @@
1
1
  <template>
2
- <div class="tw-flex tw-flex-nowrap tw-font-bold tw-relative">
3
- <span class="tw-truncate"><slot></slot></span>
4
- <span
5
- v-if="required"
6
- class="tw-text-[color:var(--label-required-color)] tw-ml-1"
7
- >*</span
8
- >
9
- <span
10
- v-if="multilanguage"
11
- class="tw-text-[color:var(--app-menu-item-icon-color)] tw-absolute tw-right-0"
12
- >
13
- {{ currentLanguage }}
14
- </span>
15
- <span
16
- v-if="$slots['tooltip']"
17
- class="tw-grow tw-basis-0 tw-ml-1"
18
- >
19
- <VcIcon
20
- class="tw-text-[color:var(--label-tooltip-color)]"
21
- :icon="tooltipIcon"
22
- size="s"
23
- @mouseenter="tooltipVisible = true"
24
- @mouseleave="tooltipVisible = false"
25
- ></VcIcon>
2
+ <div class="tw-flex tw-flex-row tw-justify-between tw-items-center">
3
+ <div class="tw-flex-nowrap tw-font-bold tw-relative tw-truncate">
4
+ <span class="tw-truncate">
5
+ <slot></slot>
6
+ </span>
26
7
  <span
27
- v-if="tooltipVisible"
28
- class="tw-absolute tw-z-10 tw-bg-white tw-border tw-border-solid tw-border-[color:#eef0f2] tw-shadow-[1px_1px_8px_rgba(126,142,157,0.25)] tw-rounded-[3px] tw-text-[color:#8e9daa] tw-font-normal tw-py-1 tw-px-2 tw-ml-4"
8
+ v-if="required"
9
+ class="tw-text-[color:var(--label-required-color)] tw-ml-1"
10
+ >*</span
29
11
  >
30
- <slot name="tooltip"></slot>
12
+
13
+ <span
14
+ v-if="$slots['tooltip']"
15
+ class="tw-grow tw-basis-0 tw-ml-1"
16
+ >
17
+ <VcIcon
18
+ class="tw-text-[color:var(--label-tooltip-color)]"
19
+ :icon="tooltipIcon"
20
+ size="s"
21
+ @mouseenter="tooltipVisible = true"
22
+ @mouseleave="tooltipVisible = false"
23
+ ></VcIcon>
24
+ <span
25
+ v-if="tooltipVisible"
26
+ class="tw-absolute tw-z-10 tw-bg-white tw-border tw-border-solid tw-border-[color:#eef0f2] tw-shadow-[1px_1px_8px_rgba(126,142,157,0.25)] tw-rounded-[3px] tw-text-[color:#8e9daa] tw-font-normal tw-py-1 tw-px-2 tw-ml-4"
27
+ >
28
+ <slot name="tooltip"></slot>
29
+ </span>
31
30
  </span>
32
- </span>
31
+ </div>
32
+ <div
33
+ v-if="multilanguage"
34
+ class="tw-text-[color:var(--app-menu-item-icon-color)] tw-shrink-0"
35
+ >
36
+ {{ currentLanguage }}
37
+ </div>
33
38
  </div>
34
39
  </template>
35
40
 
@@ -73,14 +73,11 @@ export interface Emits {
73
73
  (event: "update:modelValue", value: string | number | Date | null | undefined): void;
74
74
  }
75
75
 
76
- // const { getAccessToken } = useUser();
77
-
78
76
  const props = defineProps<Props>();
79
77
 
80
78
  const emit = defineEmits<Emits>();
81
79
 
82
80
  defineSlots<{
83
- default: (props: any) => any;
84
81
  error?: (props: any) => any;
85
82
  }>();
86
83
 
@@ -9,7 +9,6 @@
9
9
  >{{ tooltip }}</template
10
10
  ></VcLabel
11
11
  >
12
- <!-- <div> -->
13
12
  <VcFieldType
14
13
  :value="modelValue"
15
14
  :type="type"
@@ -24,7 +23,6 @@
24
23
  ></VcButton>
25
24
  </VcFieldType>
26
25
  </div>
27
- <!-- </div> -->
28
26
  </template>
29
27
 
30
28
  <script lang="ts" setup>