@vc-shell/framework 1.0.220 → 1.0.221

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 (140) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/core/types/index.ts +1 -0
  3. package/dist/core/types/index.d.ts +1 -0
  4. package/dist/core/types/index.d.ts.map +1 -1
  5. package/dist/framework.js +3558 -3524
  6. package/dist/shared/modules/dynamic/components/SchemaRender.d.ts +6 -3
  7. package/dist/shared/modules/dynamic/components/SchemaRender.d.ts.map +1 -1
  8. package/dist/shared/modules/dynamic/components/fields/Button.d.ts +2 -1
  9. package/dist/shared/modules/dynamic/components/fields/Button.d.ts.map +1 -1
  10. package/dist/shared/modules/dynamic/components/fields/Card.d.ts +2 -1
  11. package/dist/shared/modules/dynamic/components/fields/Card.d.ts.map +1 -1
  12. package/dist/shared/modules/dynamic/components/fields/Checkbox.d.ts +2 -1
  13. package/dist/shared/modules/dynamic/components/fields/Checkbox.d.ts.map +1 -1
  14. package/dist/shared/modules/dynamic/components/fields/ContentField.d.ts +2 -1
  15. package/dist/shared/modules/dynamic/components/fields/ContentField.d.ts.map +1 -1
  16. package/dist/shared/modules/dynamic/components/fields/CustomComponent.d.ts +2 -1
  17. package/dist/shared/modules/dynamic/components/fields/CustomComponent.d.ts.map +1 -1
  18. package/dist/shared/modules/dynamic/components/fields/DynamicProperty.d.ts +2 -1
  19. package/dist/shared/modules/dynamic/components/fields/DynamicProperty.d.ts.map +1 -1
  20. package/dist/shared/modules/dynamic/components/fields/EditorField.d.ts +2 -1
  21. package/dist/shared/modules/dynamic/components/fields/EditorField.d.ts.map +1 -1
  22. package/dist/shared/modules/dynamic/components/fields/Fieldset.d.ts +2 -1
  23. package/dist/shared/modules/dynamic/components/fields/Fieldset.d.ts.map +1 -1
  24. package/dist/shared/modules/dynamic/components/fields/GalleryField.d.ts +2 -1
  25. package/dist/shared/modules/dynamic/components/fields/GalleryField.d.ts.map +1 -1
  26. package/dist/shared/modules/dynamic/components/fields/ImageField.d.ts +2 -1
  27. package/dist/shared/modules/dynamic/components/fields/ImageField.d.ts.map +1 -1
  28. package/dist/shared/modules/dynamic/components/fields/InputCurrency.d.ts +2 -1
  29. package/dist/shared/modules/dynamic/components/fields/InputCurrency.d.ts.map +1 -1
  30. package/dist/shared/modules/dynamic/components/fields/InputField.d.ts +2 -1
  31. package/dist/shared/modules/dynamic/components/fields/InputField.d.ts.map +1 -1
  32. package/dist/shared/modules/dynamic/components/fields/MultivalueField.d.ts +2 -1
  33. package/dist/shared/modules/dynamic/components/fields/MultivalueField.d.ts.map +1 -1
  34. package/dist/shared/modules/dynamic/components/fields/RadioButtonGroup.d.ts +2 -1
  35. package/dist/shared/modules/dynamic/components/fields/RadioButtonGroup.d.ts.map +1 -1
  36. package/dist/shared/modules/dynamic/components/fields/RatingField.d.ts +2 -1
  37. package/dist/shared/modules/dynamic/components/fields/RatingField.d.ts.map +1 -1
  38. package/dist/shared/modules/dynamic/components/fields/SelectField.d.ts +2 -1
  39. package/dist/shared/modules/dynamic/components/fields/SelectField.d.ts.map +1 -1
  40. package/dist/shared/modules/dynamic/components/fields/StatusField.d.ts +2 -1
  41. package/dist/shared/modules/dynamic/components/fields/StatusField.d.ts.map +1 -1
  42. package/dist/shared/modules/dynamic/components/fields/SwitchField.d.ts +2 -1
  43. package/dist/shared/modules/dynamic/components/fields/SwitchField.d.ts.map +1 -1
  44. package/dist/shared/modules/dynamic/components/fields/Table.d.ts +2 -1
  45. package/dist/shared/modules/dynamic/components/fields/Table.d.ts.map +1 -1
  46. package/dist/shared/modules/dynamic/components/fields/TextareaField.d.ts +2 -1
  47. package/dist/shared/modules/dynamic/components/fields/TextareaField.d.ts.map +1 -1
  48. package/dist/shared/modules/dynamic/components/fields/VideoField.d.ts +2 -1
  49. package/dist/shared/modules/dynamic/components/fields/VideoField.d.ts.map +1 -1
  50. package/dist/shared/modules/dynamic/components/fields/props.d.ts +2 -1
  51. package/dist/shared/modules/dynamic/components/fields/props.d.ts.map +1 -1
  52. package/dist/shared/modules/dynamic/components/fields/storybook/Button.stories.d.ts +6 -3
  53. package/dist/shared/modules/dynamic/components/fields/storybook/Button.stories.d.ts.map +1 -1
  54. package/dist/shared/modules/dynamic/components/fields/storybook/Card.stories.d.ts +6 -3
  55. package/dist/shared/modules/dynamic/components/fields/storybook/Card.stories.d.ts.map +1 -1
  56. package/dist/shared/modules/dynamic/components/fields/storybook/Checkbox.stories.d.ts +6 -3
  57. package/dist/shared/modules/dynamic/components/fields/storybook/Checkbox.stories.d.ts.map +1 -1
  58. package/dist/shared/modules/dynamic/components/fields/storybook/ContentField.stories.d.ts +6 -3
  59. package/dist/shared/modules/dynamic/components/fields/storybook/ContentField.stories.d.ts.map +1 -1
  60. package/dist/shared/modules/dynamic/components/fields/storybook/EditorField.stories.d.ts +6 -3
  61. package/dist/shared/modules/dynamic/components/fields/storybook/EditorField.stories.d.ts.map +1 -1
  62. package/dist/shared/modules/dynamic/components/fields/storybook/Fieldset.stories.d.ts +6 -3
  63. package/dist/shared/modules/dynamic/components/fields/storybook/Fieldset.stories.d.ts.map +1 -1
  64. package/dist/shared/modules/dynamic/components/fields/storybook/GalleryField.stories.d.ts +6 -3
  65. package/dist/shared/modules/dynamic/components/fields/storybook/GalleryField.stories.d.ts.map +1 -1
  66. package/dist/shared/modules/dynamic/components/fields/storybook/ImageField.stories.d.ts +6 -3
  67. package/dist/shared/modules/dynamic/components/fields/storybook/ImageField.stories.d.ts.map +1 -1
  68. package/dist/shared/modules/dynamic/components/fields/storybook/InputCurrency.stories.d.ts +15 -3
  69. package/dist/shared/modules/dynamic/components/fields/storybook/InputCurrency.stories.d.ts.map +1 -1
  70. package/dist/shared/modules/dynamic/components/fields/storybook/InputField.stories.d.ts +15 -3
  71. package/dist/shared/modules/dynamic/components/fields/storybook/InputField.stories.d.ts.map +1 -1
  72. package/dist/shared/modules/dynamic/components/fields/storybook/MultivalueField.stories.d.ts +15 -3
  73. package/dist/shared/modules/dynamic/components/fields/storybook/MultivalueField.stories.d.ts.map +1 -1
  74. package/dist/shared/modules/dynamic/components/fields/storybook/RadioButtonGroup.stories.d.ts +6 -3
  75. package/dist/shared/modules/dynamic/components/fields/storybook/RadioButtonGroup.stories.d.ts.map +1 -1
  76. package/dist/shared/modules/dynamic/components/fields/storybook/RatingField.stories.d.ts +6 -3
  77. package/dist/shared/modules/dynamic/components/fields/storybook/RatingField.stories.d.ts.map +1 -1
  78. package/dist/shared/modules/dynamic/components/fields/storybook/SelectField.stories.d.ts +15 -3
  79. package/dist/shared/modules/dynamic/components/fields/storybook/SelectField.stories.d.ts.map +1 -1
  80. package/dist/shared/modules/dynamic/components/fields/storybook/StatusField.stories.d.ts +6 -3
  81. package/dist/shared/modules/dynamic/components/fields/storybook/StatusField.stories.d.ts.map +1 -1
  82. package/dist/shared/modules/dynamic/components/fields/storybook/TextareaField.stories.d.ts +6 -3
  83. package/dist/shared/modules/dynamic/components/fields/storybook/TextareaField.stories.d.ts.map +1 -1
  84. package/dist/shared/modules/dynamic/components/fields/storybook/VideoField.stories.d.ts +6 -3
  85. package/dist/shared/modules/dynamic/components/fields/storybook/VideoField.stories.d.ts.map +1 -1
  86. package/dist/shared/modules/dynamic/components/fields/storybook/pages/DynamicRender.d.ts +6 -3
  87. package/dist/shared/modules/dynamic/components/fields/storybook/pages/DynamicRender.d.ts.map +1 -1
  88. package/dist/shared/modules/dynamic/composables/useToolbarReducer/index.d.ts +1 -1
  89. package/dist/shared/modules/dynamic/composables/useToolbarReducer/index.d.ts.map +1 -1
  90. package/dist/shared/modules/dynamic/factories/types/index.d.ts +1 -1
  91. package/dist/shared/modules/dynamic/factories/types/index.d.ts.map +1 -1
  92. package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts +2 -1
  93. package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts.map +1 -1
  94. package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts +2 -1
  95. package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts.map +1 -1
  96. package/dist/shared/modules/dynamic/types/index.d.ts +27 -3
  97. package/dist/shared/modules/dynamic/types/index.d.ts.map +1 -1
  98. package/dist/tsconfig.tsbuildinfo +1 -1
  99. package/dist/ui/components/atoms/vc-card/vc-card.stories.d.ts +6 -0
  100. package/dist/ui/components/atoms/vc-card/vc-card.stories.d.ts.map +1 -1
  101. package/dist/ui/components/molecules/vc-input/vc-input.stories.d.ts +6 -0
  102. package/dist/ui/components/molecules/vc-input/vc-input.stories.d.ts.map +1 -1
  103. package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts +3 -0
  104. package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts.map +1 -1
  105. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.stories.d.ts +6 -0
  106. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.stories.d.ts.map +1 -1
  107. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts +3 -0
  108. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts.map +1 -1
  109. package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.stories.d.ts +42 -42
  110. package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts +6 -6
  111. package/dist/ui/components/molecules/vc-select/vc-select.stories.d.ts +60 -60
  112. package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts +6 -6
  113. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts +1 -0
  114. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts.map +1 -1
  115. package/dist/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts +8 -0
  116. package/dist/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts.map +1 -1
  117. package/dist/ui/components/organisms/vc-table/vc-table.stories.d.ts +105 -0
  118. package/dist/ui/components/organisms/vc-table/vc-table.stories.d.ts.map +1 -1
  119. package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts +21 -0
  120. package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts.map +1 -1
  121. package/package.json +4 -4
  122. package/shared/modules/dynamic/components/fields/InputCurrency.ts +4 -1
  123. package/shared/modules/dynamic/components/fields/InputField.ts +5 -1
  124. package/shared/modules/dynamic/components/fields/MultivalueField.ts +4 -1
  125. package/shared/modules/dynamic/components/fields/SelectField.ts +4 -1
  126. package/shared/modules/dynamic/components/fields/Table.ts +13 -0
  127. package/shared/modules/dynamic/components/fields/storybook/InputCurrency.stories.ts +14 -0
  128. package/shared/modules/dynamic/components/fields/storybook/InputField.stories.ts +14 -0
  129. package/shared/modules/dynamic/components/fields/storybook/MultivalueField.stories.ts +14 -0
  130. package/shared/modules/dynamic/components/fields/storybook/SelectField.stories.ts +13 -0
  131. package/shared/modules/dynamic/composables/useToolbarReducer/index.ts +30 -17
  132. package/shared/modules/dynamic/factories/types/index.ts +4 -1
  133. package/shared/modules/dynamic/pages/dynamic-blade-list.vue +3 -1
  134. package/shared/modules/dynamic/types/index.ts +34 -9
  135. package/ui/components/molecules/vc-input/vc-input.vue +7 -3
  136. package/ui/components/molecules/vc-input-currency/vc-input-currency.vue +7 -0
  137. package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue +5 -1
  138. package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/vc-blade-toolbar.vue +1 -0
  139. package/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue +17 -5
  140. package/ui/components/organisms/vc-table/vc-table.vue +3 -1
@@ -76,6 +76,10 @@ export declare const Loading: StoryFn<(<T extends string | import("./vc-table.vu
76
76
  onOnRowRemove?: ((args: {
77
77
  index: number;
78
78
  }) => any) | undefined;
79
+ onOnCellBlur?: ((args: {
80
+ row: number | undefined;
81
+ field: string;
82
+ }) => any) | undefined;
79
83
  itemActionBuilder?: ((item: T) => import("../../../..").IActionBuilderResult<{}>[] | undefined) | undefined;
80
84
  multiselect?: boolean | undefined;
81
85
  totalLabel?: string | undefined;
@@ -150,6 +154,9 @@ export declare const Loading: StoryFn<(<T extends string | import("./vc-table.vu
150
154
  index: number;
151
155
  }) => void) & ((evt: "onAddNewRow") => void) & ((evt: "onRowRemove", args: {
152
156
  index: number;
157
+ }) => void) & ((evt: "onCellBlur", args: {
158
+ row: number | undefined;
159
+ field: string;
153
160
  }) => void);
154
161
  } | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
155
162
  props: {
@@ -183,6 +190,10 @@ export declare const Loading: StoryFn<(<T extends string | import("./vc-table.vu
183
190
  onOnRowRemove?: ((args: {
184
191
  index: number;
185
192
  }) => any) | undefined;
193
+ onOnCellBlur?: ((args: {
194
+ row: number | undefined;
195
+ field: string;
196
+ }) => any) | undefined;
186
197
  itemActionBuilder?: ((item: T) => import("../../../..").IActionBuilderResult<{}>[] | undefined) | undefined;
187
198
  multiselect?: boolean | undefined;
188
199
  totalLabel?: string | undefined;
@@ -258,6 +269,9 @@ export declare const Loading: StoryFn<(<T extends string | import("./vc-table.vu
258
269
  index: number;
259
270
  }) => void) & ((evt: "onAddNewRow") => void) & ((evt: "onRowRemove", args: {
260
271
  index: number;
272
+ }) => void) & ((evt: "onCellBlur", args: {
273
+ row: number | undefined;
274
+ field: string;
261
275
  }) => void);
262
276
  }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
263
277
  [key: string]: any;
@@ -294,6 +308,10 @@ export declare const Loading: StoryFn<(<T extends string | import("./vc-table.vu
294
308
  onOnRowRemove?: ((args: {
295
309
  index: number;
296
310
  }) => any) | undefined;
311
+ onOnCellBlur?: ((args: {
312
+ row: number | undefined;
313
+ field: string;
314
+ }) => any) | undefined;
297
315
  itemActionBuilder?: ((item: T) => import("../../../..").IActionBuilderResult<{}>[] | undefined) | undefined;
298
316
  multiselect?: boolean | undefined;
299
317
  totalLabel?: string | undefined;
@@ -369,6 +387,9 @@ export declare const Loading: StoryFn<(<T extends string | import("./vc-table.vu
369
387
  index: number;
370
388
  }) => void) & ((evt: "onAddNewRow") => void) & ((evt: "onRowRemove", args: {
371
389
  index: number;
390
+ }) => void) & ((evt: "onCellBlur", args: {
391
+ row: number | undefined;
392
+ field: string;
372
393
  }) => void);
373
394
  } | undefined;
374
395
  })>;
@@ -403,6 +424,10 @@ export declare const WithoutHeader: StoryFn<(<T extends string | import("./vc-ta
403
424
  onOnRowRemove?: ((args: {
404
425
  index: number;
405
426
  }) => any) | undefined;
427
+ onOnCellBlur?: ((args: {
428
+ row: number | undefined;
429
+ field: string;
430
+ }) => any) | undefined;
406
431
  itemActionBuilder?: ((item: T) => import("../../../..").IActionBuilderResult<{}>[] | undefined) | undefined;
407
432
  multiselect?: boolean | undefined;
408
433
  totalLabel?: string | undefined;
@@ -477,6 +502,9 @@ export declare const WithoutHeader: StoryFn<(<T extends string | import("./vc-ta
477
502
  index: number;
478
503
  }) => void) & ((evt: "onAddNewRow") => void) & ((evt: "onRowRemove", args: {
479
504
  index: number;
505
+ }) => void) & ((evt: "onCellBlur", args: {
506
+ row: number | undefined;
507
+ field: string;
480
508
  }) => void);
481
509
  } | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
482
510
  props: {
@@ -510,6 +538,10 @@ export declare const WithoutHeader: StoryFn<(<T extends string | import("./vc-ta
510
538
  onOnRowRemove?: ((args: {
511
539
  index: number;
512
540
  }) => any) | undefined;
541
+ onOnCellBlur?: ((args: {
542
+ row: number | undefined;
543
+ field: string;
544
+ }) => any) | undefined;
513
545
  itemActionBuilder?: ((item: T) => import("../../../..").IActionBuilderResult<{}>[] | undefined) | undefined;
514
546
  multiselect?: boolean | undefined;
515
547
  totalLabel?: string | undefined;
@@ -585,6 +617,9 @@ export declare const WithoutHeader: StoryFn<(<T extends string | import("./vc-ta
585
617
  index: number;
586
618
  }) => void) & ((evt: "onAddNewRow") => void) & ((evt: "onRowRemove", args: {
587
619
  index: number;
620
+ }) => void) & ((evt: "onCellBlur", args: {
621
+ row: number | undefined;
622
+ field: string;
588
623
  }) => void);
589
624
  }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
590
625
  [key: string]: any;
@@ -621,6 +656,10 @@ export declare const WithoutHeader: StoryFn<(<T extends string | import("./vc-ta
621
656
  onOnRowRemove?: ((args: {
622
657
  index: number;
623
658
  }) => any) | undefined;
659
+ onOnCellBlur?: ((args: {
660
+ row: number | undefined;
661
+ field: string;
662
+ }) => any) | undefined;
624
663
  itemActionBuilder?: ((item: T) => import("../../../..").IActionBuilderResult<{}>[] | undefined) | undefined;
625
664
  multiselect?: boolean | undefined;
626
665
  totalLabel?: string | undefined;
@@ -696,6 +735,9 @@ export declare const WithoutHeader: StoryFn<(<T extends string | import("./vc-ta
696
735
  index: number;
697
736
  }) => void) & ((evt: "onAddNewRow") => void) & ((evt: "onRowRemove", args: {
698
737
  index: number;
738
+ }) => void) & ((evt: "onCellBlur", args: {
739
+ row: number | undefined;
740
+ field: string;
699
741
  }) => void);
700
742
  } | undefined;
701
743
  })>;
@@ -730,6 +772,10 @@ export declare const WithoutFooter: StoryFn<(<T extends string | import("./vc-ta
730
772
  onOnRowRemove?: ((args: {
731
773
  index: number;
732
774
  }) => any) | undefined;
775
+ onOnCellBlur?: ((args: {
776
+ row: number | undefined;
777
+ field: string;
778
+ }) => any) | undefined;
733
779
  itemActionBuilder?: ((item: T) => import("../../../..").IActionBuilderResult<{}>[] | undefined) | undefined;
734
780
  multiselect?: boolean | undefined;
735
781
  totalLabel?: string | undefined;
@@ -804,6 +850,9 @@ export declare const WithoutFooter: StoryFn<(<T extends string | import("./vc-ta
804
850
  index: number;
805
851
  }) => void) & ((evt: "onAddNewRow") => void) & ((evt: "onRowRemove", args: {
806
852
  index: number;
853
+ }) => void) & ((evt: "onCellBlur", args: {
854
+ row: number | undefined;
855
+ field: string;
807
856
  }) => void);
808
857
  } | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
809
858
  props: {
@@ -837,6 +886,10 @@ export declare const WithoutFooter: StoryFn<(<T extends string | import("./vc-ta
837
886
  onOnRowRemove?: ((args: {
838
887
  index: number;
839
888
  }) => any) | undefined;
889
+ onOnCellBlur?: ((args: {
890
+ row: number | undefined;
891
+ field: string;
892
+ }) => any) | undefined;
840
893
  itemActionBuilder?: ((item: T) => import("../../../..").IActionBuilderResult<{}>[] | undefined) | undefined;
841
894
  multiselect?: boolean | undefined;
842
895
  totalLabel?: string | undefined;
@@ -912,6 +965,9 @@ export declare const WithoutFooter: StoryFn<(<T extends string | import("./vc-ta
912
965
  index: number;
913
966
  }) => void) & ((evt: "onAddNewRow") => void) & ((evt: "onRowRemove", args: {
914
967
  index: number;
968
+ }) => void) & ((evt: "onCellBlur", args: {
969
+ row: number | undefined;
970
+ field: string;
915
971
  }) => void);
916
972
  }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
917
973
  [key: string]: any;
@@ -948,6 +1004,10 @@ export declare const WithoutFooter: StoryFn<(<T extends string | import("./vc-ta
948
1004
  onOnRowRemove?: ((args: {
949
1005
  index: number;
950
1006
  }) => any) | undefined;
1007
+ onOnCellBlur?: ((args: {
1008
+ row: number | undefined;
1009
+ field: string;
1010
+ }) => any) | undefined;
951
1011
  itemActionBuilder?: ((item: T) => import("../../../..").IActionBuilderResult<{}>[] | undefined) | undefined;
952
1012
  multiselect?: boolean | undefined;
953
1013
  totalLabel?: string | undefined;
@@ -1023,6 +1083,9 @@ export declare const WithoutFooter: StoryFn<(<T extends string | import("./vc-ta
1023
1083
  index: number;
1024
1084
  }) => void) & ((evt: "onAddNewRow") => void) & ((evt: "onRowRemove", args: {
1025
1085
  index: number;
1086
+ }) => void) & ((evt: "onCellBlur", args: {
1087
+ row: number | undefined;
1088
+ field: string;
1026
1089
  }) => void);
1027
1090
  } | undefined;
1028
1091
  })>;
@@ -1057,6 +1120,10 @@ export declare const DisabledColumnsResizing: StoryFn<(<T extends string | impor
1057
1120
  onOnRowRemove?: ((args: {
1058
1121
  index: number;
1059
1122
  }) => any) | undefined;
1123
+ onOnCellBlur?: ((args: {
1124
+ row: number | undefined;
1125
+ field: string;
1126
+ }) => any) | undefined;
1060
1127
  itemActionBuilder?: ((item: T) => import("../../../..").IActionBuilderResult<{}>[] | undefined) | undefined;
1061
1128
  multiselect?: boolean | undefined;
1062
1129
  totalLabel?: string | undefined;
@@ -1131,6 +1198,9 @@ export declare const DisabledColumnsResizing: StoryFn<(<T extends string | impor
1131
1198
  index: number;
1132
1199
  }) => void) & ((evt: "onAddNewRow") => void) & ((evt: "onRowRemove", args: {
1133
1200
  index: number;
1201
+ }) => void) & ((evt: "onCellBlur", args: {
1202
+ row: number | undefined;
1203
+ field: string;
1134
1204
  }) => void);
1135
1205
  } | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
1136
1206
  props: {
@@ -1164,6 +1234,10 @@ export declare const DisabledColumnsResizing: StoryFn<(<T extends string | impor
1164
1234
  onOnRowRemove?: ((args: {
1165
1235
  index: number;
1166
1236
  }) => any) | undefined;
1237
+ onOnCellBlur?: ((args: {
1238
+ row: number | undefined;
1239
+ field: string;
1240
+ }) => any) | undefined;
1167
1241
  itemActionBuilder?: ((item: T) => import("../../../..").IActionBuilderResult<{}>[] | undefined) | undefined;
1168
1242
  multiselect?: boolean | undefined;
1169
1243
  totalLabel?: string | undefined;
@@ -1239,6 +1313,9 @@ export declare const DisabledColumnsResizing: StoryFn<(<T extends string | impor
1239
1313
  index: number;
1240
1314
  }) => void) & ((evt: "onAddNewRow") => void) & ((evt: "onRowRemove", args: {
1241
1315
  index: number;
1316
+ }) => void) & ((evt: "onCellBlur", args: {
1317
+ row: number | undefined;
1318
+ field: string;
1242
1319
  }) => void);
1243
1320
  }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
1244
1321
  [key: string]: any;
@@ -1275,6 +1352,10 @@ export declare const DisabledColumnsResizing: StoryFn<(<T extends string | impor
1275
1352
  onOnRowRemove?: ((args: {
1276
1353
  index: number;
1277
1354
  }) => any) | undefined;
1355
+ onOnCellBlur?: ((args: {
1356
+ row: number | undefined;
1357
+ field: string;
1358
+ }) => any) | undefined;
1278
1359
  itemActionBuilder?: ((item: T) => import("../../../..").IActionBuilderResult<{}>[] | undefined) | undefined;
1279
1360
  multiselect?: boolean | undefined;
1280
1361
  totalLabel?: string | undefined;
@@ -1350,6 +1431,9 @@ export declare const DisabledColumnsResizing: StoryFn<(<T extends string | impor
1350
1431
  index: number;
1351
1432
  }) => void) & ((evt: "onAddNewRow") => void) & ((evt: "onRowRemove", args: {
1352
1433
  index: number;
1434
+ }) => void) & ((evt: "onCellBlur", args: {
1435
+ row: number | undefined;
1436
+ field: string;
1353
1437
  }) => void);
1354
1438
  } | undefined;
1355
1439
  })>;
@@ -1384,6 +1468,10 @@ export declare const DisabledColumnsReordering: StoryFn<(<T extends string | imp
1384
1468
  onOnRowRemove?: ((args: {
1385
1469
  index: number;
1386
1470
  }) => any) | undefined;
1471
+ onOnCellBlur?: ((args: {
1472
+ row: number | undefined;
1473
+ field: string;
1474
+ }) => any) | undefined;
1387
1475
  itemActionBuilder?: ((item: T) => import("../../../..").IActionBuilderResult<{}>[] | undefined) | undefined;
1388
1476
  multiselect?: boolean | undefined;
1389
1477
  totalLabel?: string | undefined;
@@ -1458,6 +1546,9 @@ export declare const DisabledColumnsReordering: StoryFn<(<T extends string | imp
1458
1546
  index: number;
1459
1547
  }) => void) & ((evt: "onAddNewRow") => void) & ((evt: "onRowRemove", args: {
1460
1548
  index: number;
1549
+ }) => void) & ((evt: "onCellBlur", args: {
1550
+ row: number | undefined;
1551
+ field: string;
1461
1552
  }) => void);
1462
1553
  } | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
1463
1554
  props: {
@@ -1491,6 +1582,10 @@ export declare const DisabledColumnsReordering: StoryFn<(<T extends string | imp
1491
1582
  onOnRowRemove?: ((args: {
1492
1583
  index: number;
1493
1584
  }) => any) | undefined;
1585
+ onOnCellBlur?: ((args: {
1586
+ row: number | undefined;
1587
+ field: string;
1588
+ }) => any) | undefined;
1494
1589
  itemActionBuilder?: ((item: T) => import("../../../..").IActionBuilderResult<{}>[] | undefined) | undefined;
1495
1590
  multiselect?: boolean | undefined;
1496
1591
  totalLabel?: string | undefined;
@@ -1566,6 +1661,9 @@ export declare const DisabledColumnsReordering: StoryFn<(<T extends string | imp
1566
1661
  index: number;
1567
1662
  }) => void) & ((evt: "onAddNewRow") => void) & ((evt: "onRowRemove", args: {
1568
1663
  index: number;
1664
+ }) => void) & ((evt: "onCellBlur", args: {
1665
+ row: number | undefined;
1666
+ field: string;
1569
1667
  }) => void);
1570
1668
  }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
1571
1669
  [key: string]: any;
@@ -1602,6 +1700,10 @@ export declare const DisabledColumnsReordering: StoryFn<(<T extends string | imp
1602
1700
  onOnRowRemove?: ((args: {
1603
1701
  index: number;
1604
1702
  }) => any) | undefined;
1703
+ onOnCellBlur?: ((args: {
1704
+ row: number | undefined;
1705
+ field: string;
1706
+ }) => any) | undefined;
1605
1707
  itemActionBuilder?: ((item: T) => import("../../../..").IActionBuilderResult<{}>[] | undefined) | undefined;
1606
1708
  multiselect?: boolean | undefined;
1607
1709
  totalLabel?: string | undefined;
@@ -1677,6 +1779,9 @@ export declare const DisabledColumnsReordering: StoryFn<(<T extends string | imp
1677
1779
  index: number;
1678
1780
  }) => void) & ((evt: "onAddNewRow") => void) & ((evt: "onRowRemove", args: {
1679
1781
  index: number;
1782
+ }) => void) & ((evt: "onCellBlur", args: {
1783
+ row: number | undefined;
1784
+ field: string;
1680
1785
  }) => void);
1681
1786
  } | undefined;
1682
1787
  })>;
@@ -1 +1 @@
1
- {"version":3,"file":"vc-table.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-table/vc-table.stories.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAQ,OAAO,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAK7B,wBAsEiC;AAEjC,eAAO,MAAM,OAAO,EAAE,OAAO,CAAC,OAAO,OAAO,CAe1C,CAAC;AAEH,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAmB,CAAC;AAKxC,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAmB,CAAC;AAK1D,eAAO,MAAM,mBAAmB,EAAE,OAAO,CAAC,OAAO,OAAO,CAmEtD,CAAC;AAEH,eAAO,MAAM,cAAc,EAAE,OAAO,CAAC,OAAO,OAAO,CAuBjD,CAAC"}
@@ -43,6 +43,10 @@ declare const _default: <T extends string | TableItem>(__VLS_props: {
43
43
  onOnRowRemove?: ((args: {
44
44
  index: number;
45
45
  }) => any) | undefined;
46
+ onOnCellBlur?: ((args: {
47
+ row: number | undefined;
48
+ field: string;
49
+ }) => any) | undefined;
46
50
  itemActionBuilder?: ((item: T) => IActionBuilderResult[] | undefined) | undefined;
47
51
  multiselect?: boolean | undefined;
48
52
  totalLabel?: string | undefined;
@@ -117,6 +121,9 @@ declare const _default: <T extends string | TableItem>(__VLS_props: {
117
121
  index: number;
118
122
  }) => void) & ((evt: "onAddNewRow") => void) & ((evt: "onRowRemove", args: {
119
123
  index: number;
124
+ }) => void) & ((evt: "onCellBlur", args: {
125
+ row: number | undefined;
126
+ field: string;
120
127
  }) => void);
121
128
  } | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
122
129
  props: {
@@ -150,6 +157,10 @@ declare const _default: <T extends string | TableItem>(__VLS_props: {
150
157
  onOnRowRemove?: ((args: {
151
158
  index: number;
152
159
  }) => any) | undefined;
160
+ onOnCellBlur?: ((args: {
161
+ row: number | undefined;
162
+ field: string;
163
+ }) => any) | undefined;
153
164
  itemActionBuilder?: ((item: T) => IActionBuilderResult[] | undefined) | undefined;
154
165
  multiselect?: boolean | undefined;
155
166
  totalLabel?: string | undefined;
@@ -225,6 +236,9 @@ declare const _default: <T extends string | TableItem>(__VLS_props: {
225
236
  index: number;
226
237
  }) => void) & ((evt: "onAddNewRow") => void) & ((evt: "onRowRemove", args: {
227
238
  index: number;
239
+ }) => void) & ((evt: "onCellBlur", args: {
240
+ row: number | undefined;
241
+ field: string;
228
242
  }) => void);
229
243
  }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
230
244
  [key: string]: any;
@@ -261,6 +275,10 @@ declare const _default: <T extends string | TableItem>(__VLS_props: {
261
275
  onOnRowRemove?: ((args: {
262
276
  index: number;
263
277
  }) => any) | undefined;
278
+ onOnCellBlur?: ((args: {
279
+ row: number | undefined;
280
+ field: string;
281
+ }) => any) | undefined;
264
282
  itemActionBuilder?: ((item: T) => IActionBuilderResult[] | undefined) | undefined;
265
283
  multiselect?: boolean | undefined;
266
284
  totalLabel?: string | undefined;
@@ -336,6 +354,9 @@ declare const _default: <T extends string | TableItem>(__VLS_props: {
336
354
  index: number;
337
355
  }) => void) & ((evt: "onAddNewRow") => void) & ((evt: "onRowRemove", args: {
338
356
  index: number;
357
+ }) => void) & ((evt: "onCellBlur", args: {
358
+ row: number | undefined;
359
+ field: string;
339
360
  }) => void);
340
361
  } | undefined;
341
362
  };
@@ -1 +1 @@
1
- {"version":3,"file":"vc-table.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-table/vc-table.vue.ts"],"names":[],"mappings":"AAIA,OAAO,EAEL,QAAQ,EACR,GAAG,EAUJ,MAAM,KAAK,CAAC;AAGb,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAO/E,OAAO,iCAAiC,CAAC;AACzC,OAAO,gCAAg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2E;AAQ3E,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vc-shell/framework",
3
- "version": "1.0.220",
3
+ "version": "1.0.221",
4
4
  "type": "module",
5
5
  "main": "./dist/framework.js",
6
6
  "types": "./dist/index.d.ts",
@@ -60,9 +60,9 @@
60
60
  "devDependencies": {
61
61
  "@types/dompurify": "^3.0.5",
62
62
  "@types/quill": "^2.0.14",
63
- "@vc-shell/api-client-generator": "^1.0.220",
64
- "@vc-shell/config-generator": "^1.0.220",
65
- "@vc-shell/ts-config": "^1.0.220",
63
+ "@vc-shell/api-client-generator": "^1.0.221",
64
+ "@vc-shell/config-generator": "^1.0.221",
65
+ "@vc-shell/ts-config": "^1.0.221",
66
66
  "@vitejs/plugin-vue": "^5.0.3",
67
67
  "sass": "^1.69.6",
68
68
  "shx": "^0.3.4",
@@ -1,4 +1,4 @@
1
- import { Component, ExtractPropTypes, h, unref } from "vue";
1
+ import { Component, ExtractPropTypes, computed, h, unref } from "vue";
2
2
  import { InputCurrency } from "../factories";
3
3
  import componentProps from "./props";
4
4
  import ValidationField from "./ValidationField";
@@ -8,11 +8,13 @@ import { InputCurrencySchema } from "../../types";
8
8
  import { unrefNested } from "../../helpers/unrefNested";
9
9
  import { toValue } from "@vueuse/core";
10
10
  import { safeIn } from "../../helpers/safeIn";
11
+ import { useI18n } from "vue-i18n";
11
12
 
12
13
  export default {
13
14
  name: "InputCurrency",
14
15
  props: componentProps,
15
16
  setup(props: ExtractPropTypes<typeof componentProps> & { element: InputCurrencySchema }) {
17
+ const { t } = useI18n({ useScope: "global" });
16
18
  return () => {
17
19
  const options =
18
20
  toValue(getModel(props.element.options, props.fieldContext ?? {})) ||
@@ -33,6 +35,7 @@ export default {
33
35
  props: Object.assign(
34
36
  {},
35
37
  {
38
+ hint: props.element.hint ? toValue(computed(() => t(props.element.hint ?? ""))) : undefined,
36
39
  option: toValue(scopedProperty ?? contextProperty),
37
40
  optionLabel: props.element.optionLabel,
38
41
  optionValue: props.element.optionValue,
@@ -1,10 +1,11 @@
1
- import { ExtractPropTypes, h, VNode, Component } from "vue";
1
+ import { ExtractPropTypes, h, VNode, Component, computed, toValue } from "vue";
2
2
  import { InputField } from "../factories";
3
3
  import componentProps from "./props";
4
4
  import ValidationField from "./ValidationField";
5
5
  import { InputSchema, ControlSchema } from "../../types";
6
6
  import { nodeBuilder } from "../../helpers/nodeBuilder";
7
7
  import { unrefNested } from "../../helpers/unrefNested";
8
+ import { useI18n } from "vue-i18n";
8
9
 
9
10
  const slotsMap = {
10
11
  append: "append",
@@ -17,11 +18,14 @@ export default {
17
18
  name: "InputField",
18
19
  props: componentProps,
19
20
  setup(props: ExtractPropTypes<typeof componentProps> & { element: InputSchema }) {
21
+ const { t } = useI18n({ useScope: "global" });
22
+
20
23
  return () => {
21
24
  const field = InputField({
22
25
  props: Object.assign(
23
26
  {},
24
27
  {
28
+ hint: props.element.hint ? toValue(computed(() => t(props.element.hint ?? ""))) : undefined,
25
29
  type: props.element.variant,
26
30
  currentLanguage: props.currentLocale,
27
31
  clearable: props.element.clearable || false,
@@ -1,11 +1,12 @@
1
1
  import { ComponentSlots } from "../../../../utilities/vueUtils";
2
- import { h, resolveComponent, ExtractPropTypes, Component, VNode } from "vue";
2
+ import { h, resolveComponent, ExtractPropTypes, Component, VNode, computed, toValue } from "vue";
3
3
  import { MultivalueField } from "../factories";
4
4
  import componentProps from "./props";
5
5
  import ValidationField from "./ValidationField";
6
6
  import { MultivalueSchema } from "../../types";
7
7
  import { VcMultivalue } from "../../../../../ui/components";
8
8
  import { unrefNested } from "../../helpers/unrefNested";
9
+ import { useI18n } from "vue-i18n";
9
10
 
10
11
  type TScope = Parameters<ComponentSlots<typeof VcMultivalue>["option"]>["0"] &
11
12
  Parameters<ComponentSlots<typeof VcMultivalue>["selected-item"]>["0"];
@@ -14,11 +15,13 @@ export default {
14
15
  name: "MultivalueField",
15
16
  props: componentProps,
16
17
  setup(props: ExtractPropTypes<typeof componentProps> & { element: MultivalueSchema }) {
18
+ const { t } = useI18n({ useScope: "global" });
17
19
  return () => {
18
20
  const field = MultivalueField({
19
21
  props: Object.assign(
20
22
  {},
21
23
  {
24
+ hint: props.element.hint ? toValue(computed(() => t(props.element.hint ?? ""))) : undefined,
22
25
  multivalue: props.element.multivalue,
23
26
  type: props.element.variant,
24
27
  optionValue: props.element.optionValue,
@@ -1,11 +1,12 @@
1
1
  import { ComponentSlots } from "../../../../utilities/vueUtils";
2
- import { h, resolveComponent, ExtractPropTypes, Component, VNode } from "vue";
2
+ import { h, resolveComponent, ExtractPropTypes, Component, VNode, computed, toValue } from "vue";
3
3
  import { SelectField } from "../factories";
4
4
  import componentProps from "./props";
5
5
  import ValidationField from "./ValidationField";
6
6
  import { SelectSchema } from "../../types";
7
7
  import { VcSelect } from "../../../../../ui/components";
8
8
  import { unrefNested } from "../../helpers/unrefNested";
9
+ import { useI18n } from "vue-i18n";
9
10
 
10
11
  type TScope =
11
12
  | Parameters<ComponentSlots<typeof VcSelect>["option"]>["0"]
@@ -15,11 +16,13 @@ export default {
15
16
  name: "SelectField",
16
17
  props: componentProps,
17
18
  setup(props: ExtractPropTypes<typeof componentProps> & { element: SelectSchema }) {
19
+ const { t } = useI18n({ useScope: "global" });
18
20
  return () => {
19
21
  const field = SelectField({
20
22
  props: Object.assign(
21
23
  {},
22
24
  {
25
+ hint: props.element.hint ? toValue(computed(() => t(props.element.hint ?? ""))) : undefined,
23
26
  optionValue: props.element.optionValue,
24
27
  optionLabel: props.element.optionLabel,
25
28
  emitValue: props.element.emitValue,
@@ -67,6 +67,19 @@ export default {
67
67
  props.bladeContext.scope?.[props.element.addNewRowButton?.method]?.();
68
68
  }
69
69
  },
70
+ onOnCellBlur: async (data: { row: number | undefined; field: string }) => {
71
+ if (props.element.columns) {
72
+ const column = props.element.columns.find((col) => col.id === data.field);
73
+ if (column && column.onCellBlur && column.onCellBlur.method) {
74
+ if (
75
+ props.bladeContext.scope?.[column.onCellBlur.method] &&
76
+ typeof props.bladeContext.scope[column.onCellBlur.method] === "function"
77
+ ) {
78
+ await props.bladeContext.scope[column.onCellBlur.method](data);
79
+ }
80
+ }
81
+ }
82
+ },
70
83
  },
71
84
  unrefNested(props.baseProps),
72
85
  ),
@@ -96,6 +96,14 @@ export default {
96
96
  },
97
97
  },
98
98
  },
99
+ hint: {
100
+ description: "Hint text to be displayed below the input.",
101
+ table: {
102
+ type: {
103
+ summary: "string",
104
+ },
105
+ },
106
+ },
99
107
  },
100
108
  parameters: {
101
109
  docs: {
@@ -139,6 +147,12 @@ WithTooltip.args = {
139
147
  tooltip: "Input Currency Tooltip",
140
148
  };
141
149
 
150
+ export const WithHint = Template.bind({});
151
+ WithHint.args = {
152
+ label: "Input Currency Label",
153
+ hint: "Input Currency Hint",
154
+ };
155
+
142
156
  export const WithPlaceholder: StoryFn<InputCurrencySchema> = (args) => ({
143
157
  components: { page },
144
158
  setup() {
@@ -99,6 +99,14 @@ export default {
99
99
  },
100
100
  },
101
101
  },
102
+ hint: {
103
+ description: "Hint text to be displayed below the input.",
104
+ table: {
105
+ type: {
106
+ summary: "string",
107
+ },
108
+ },
109
+ },
102
110
  },
103
111
  parameters: {
104
112
  docs: {
@@ -139,6 +147,12 @@ WithPlaceholder.args = {
139
147
  placeholder: "Input placeholder",
140
148
  };
141
149
 
150
+ export const WithHint = Template.bind({});
151
+ WithHint.args = {
152
+ label: "Input label",
153
+ hint: "Input hint",
154
+ };
155
+
142
156
  export const WithPrepend: StoryFn<InputSchema> = (args) => ({
143
157
  components: { page },
144
158
  setup() {
@@ -134,6 +134,14 @@ export default {
134
134
  },
135
135
  },
136
136
  },
137
+ hint: {
138
+ description: "Hint text to be displayed below the input.",
139
+ table: {
140
+ type: {
141
+ summary: "string",
142
+ },
143
+ },
144
+ },
137
145
  },
138
146
  parameters: {
139
147
  docs: {
@@ -161,6 +169,12 @@ Template.args = {
161
169
  placeholder: "Write something and press Enter",
162
170
  };
163
171
 
172
+ export const WithHint = Template.bind({});
173
+ WithHint.args = {
174
+ placeholder: "Write something and press Enter",
175
+ hint: "I am a hint",
176
+ };
177
+
164
178
  export const NumberInput: StoryFn<MultivalueSchema> = (args) => ({
165
179
  components: { page },
166
180
  setup() {