@fewangsit/wangsvue-fats 1.0.0-alpha.9 → 1.0.0-alpha.90

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 (156) hide show
  1. package/components/animation/Animation.vue.d.ts +9 -1
  2. package/components/assetinfo/AssetInfo.vue.d.ts +39 -0
  3. package/components/badgegroup/BadgeGroup.vue.d.ts +3 -1
  4. package/components/basetree/BaseTree.vue.d.ts +6 -1
  5. package/components/button/Button.vue.d.ts +7 -3
  6. package/components/buttonaddbyscan/ButtonAddByScan.vue.d.ts +40 -0
  7. package/components/buttonbulkaction/ButtonBulkAction.vue.d.ts +1 -0
  8. package/components/buttonradio/ButtonRadio.vue.d.ts +1 -0
  9. package/components/buttonscan/ButtonScan.vue.d.ts +202 -0
  10. package/components/buttonsearchbyscan/ButtonSearchByScan.vue.d.ts +46 -0
  11. package/components/buttonselecttree/ButtonSelectTree.vue.d.ts +2 -1
  12. package/components/buttonsplit/ButtonSplit.vue.d.ts +352 -34
  13. package/components/buttonsync/ButtonSync.vue.d.ts +22 -0
  14. package/components/buttontoggle/ButtonToggle.vue.d.ts +1 -0
  15. package/components/buttonviewlog/ButtonViewLog.vue.d.ts +17 -0
  16. package/components/calendar/Calendar.vue.d.ts +32 -4
  17. package/components/card/Card.vue.d.ts +1 -0
  18. package/components/checkbox/Checkbox.vue.d.ts +1 -0
  19. package/components/datatable/DataTable.vue.d.ts +12 -4
  20. package/components/dialog/Dialog.vue.d.ts +4 -3
  21. package/components/dialogassetnamedetail/DialogAssetNameDetail.vue.d.ts +46 -0
  22. package/components/dialogassetnamedetail/options/columns.d.ts +2 -0
  23. package/components/dialogassetnamedetail/options/filter.d.ts +2 -0
  24. package/components/dialogconfirm/DialogConfirm.vue.d.ts +1 -0
  25. package/components/dialogform/DialogForm.vue.d.ts +3 -2
  26. package/components/dialogprintqr/DialogPrintQR.vue.d.ts +18 -0
  27. package/components/dialogreportdamage/DialogReportDamage.vue.d.ts +34 -0
  28. package/components/dialogreportmissing/DialogReportMissing.vue.d.ts +33 -0
  29. package/components/dialogreporttag/DialogReportTag.vue.d.ts +31 -0
  30. package/components/dialogselecttree/DialogSelectTree.vue.d.ts +3 -2
  31. package/components/dialogselectuser/DialogSelectUser.vue.d.ts +102 -0
  32. package/components/dialogselectuser/options/columns.d.ts +3 -0
  33. package/components/dropdown/Dropdown.vue.d.ts +23 -4
  34. package/components/editor/Editor.vue.d.ts +1 -0
  35. package/components/fieldwrapper/FieldWrapper.vue.d.ts +12 -2
  36. package/components/fileupload/FileUpload.vue.d.ts +1 -0
  37. package/components/filtercontainer/FilterContainer.vue.d.ts +12 -8
  38. package/components/form/Form.vue.d.ts +2 -1
  39. package/components/icon/Icon.vue.d.ts +3 -0
  40. package/components/image/Image.vue.d.ts +8 -0
  41. package/components/imagecompressor/ImageCompressor.vue.d.ts +6 -0
  42. package/components/index.d.ts +27 -18
  43. package/components/inputcurrency/helpers/currency.helper.d.ts +5 -1
  44. package/components/inputemail/InputEmail.vue.d.ts +1 -0
  45. package/components/inputnumber/InputNumber.vue.d.ts +6 -0
  46. package/components/inputpassword/InputPassword.vue.d.ts +1 -0
  47. package/components/inputrangenumber/InputRangeNumber.vue.d.ts +1 -0
  48. package/components/inputsearch/InputSearch.vue.d.ts +36 -0
  49. package/components/inputtext/InputText.vue.d.ts +2 -1
  50. package/components/inputurl/InputURL.vue.d.ts +4 -2
  51. package/components/invisiblefield/InvisibleField.vue.d.ts +32 -36
  52. package/components/languagedropdown/LanguageDropdown.vue.d.ts +5 -19
  53. package/components/litedropdown/LiteDropdown.vue.d.ts +5 -3
  54. package/components/loading/store/loading.store.d.ts +3 -3
  55. package/components/menu/Menu.vue.d.ts +2 -1
  56. package/components/multiselect/MultiSelect.vue.d.ts +7 -4
  57. package/components/overlaypanel/OverlayPanel.vue.d.ts +1 -0
  58. package/components/paginator/Paginator.vue.d.ts +285 -0
  59. package/components/tabmenu/TabMenu.vue.d.ts +6 -190
  60. package/components/tagtype/TagType.vue.d.ts +26 -0
  61. package/components/textarea/Textarea.vue.d.ts +2 -1
  62. package/components/timeline/Timeline.vue.d.ts +21 -2
  63. package/components/toast/Toast.vue.d.ts +2 -1
  64. package/components/toggleswitch/ToggleSwitch.vue.d.ts +1 -0
  65. package/components/transactionroles/TransactionRoles.vue.d.ts +58 -0
  66. package/components/tree/Tree.vue.d.ts +6 -3
  67. package/components/tree/helpers/filterNodeKeys.helper.d.ts +8 -2
  68. package/components/tree/helpers/flattenTreeNodeChildren.helper.d.ts +3 -1
  69. package/components/username/UserName.vue.d.ts +6 -1
  70. package/components/userwithicon/UserWithIcon.vue.d.ts +21 -0
  71. package/config/defaultProps.d.ts +1 -1
  72. package/config/index.d.ts +1 -1
  73. package/config/locale.d.ts +1 -1
  74. package/directives/focus.d.ts +1 -1
  75. package/event-bus/index.d.ts +55 -50
  76. package/event-bus/mitt.d.ts +29 -14
  77. package/main.d.ts +34 -2
  78. package/package.json +10 -6
  79. package/plugins/VueHtmlToPaper.d.ts +11 -0
  80. package/plugins/WangsVue.d.ts +266 -98
  81. package/plugins/formValidation.d.ts +15 -6
  82. package/plugins/i18n-extension.d.ts +4 -0
  83. package/plugins/i18n.d.ts +89 -113
  84. package/stats.html +4949 -0
  85. package/style.css +1 -1
  86. package/utils/date.util.d.ts +64 -31
  87. package/utils/formatTagCode.util.d.ts +1 -0
  88. package/utils/getSeverityByAssetStatus.util.d.ts +3 -0
  89. package/utils/index.d.ts +6 -20
  90. package/utils/listenSidebarChanges.util.d.ts +16 -0
  91. package/utils/object.util.d.ts +14 -3
  92. package/utils/role.util.d.ts +67 -1
  93. package/utils/toast.util.d.ts +78 -78
  94. package/wangsvue-fats.js +56016 -0
  95. package/wangsvue-fats.system.js +204 -267
  96. package/assets/json/currencies.json.d.ts +0 -1068
  97. package/assets/lottie/admin/loading-page.lottie +0 -0
  98. package/assets/lottie/admin/loading-table.lottie +0 -0
  99. package/assets/lottie/admin/no-data.lottie +0 -0
  100. package/assets/lottie/supplyasset/loading-page.lottie +0 -0
  101. package/assets/lottie/supplyasset/loading-table.lottie +0 -0
  102. package/assets/lottie/supplyasset/no-data.lottie +0 -0
  103. package/assets/lottie/workspace/loading-page.lottie +0 -0
  104. package/assets/lottie/workspace/loading-plane.lottie +0 -0
  105. package/assets/lottie/workspace/loading-table.lottie +0 -0
  106. package/assets/lottie/workspace/no-data.lottie +0 -0
  107. package/build-entry.d.ts +0 -14
  108. package/components/buttonsplit/ButtonSplit.d.ts +0 -350
  109. package/components/calendar/BaseCalendar.vue.d.ts +0 -86
  110. package/components/codesnippet/CodeSnippet.vue.d.ts +0 -14
  111. package/components/customcolumn/ColumnList.vue.d.ts +0 -27
  112. package/components/customcolumn/helpers/setVisibilityColumn.helper.d.ts +0 -12
  113. package/components/datatable/MultiRow.vue.d.ts +0 -16
  114. package/components/datatable/helpers/adjustMenuPosition.helper.d.ts +0 -1
  115. package/components/datatable/helpers/filter.helper.d.ts +0 -28
  116. package/components/datatable/helpers/index.d.ts +0 -3
  117. package/components/datatable/helpers/readConfig.helper.d.ts +0 -2
  118. package/components/datatable/store/dataTable.store.d.ts +0 -22
  119. package/components/editor/CodeSnippetAdapter.vue.d.ts +0 -92
  120. package/components/editor/EditorButton.vue.d.ts +0 -15
  121. package/components/editor/MentionList.vue.d.ts +0 -35
  122. package/components/editor/MentionSection.vue.d.ts +0 -92
  123. package/components/editor/codeSnippetExtension.d.ts +0 -3
  124. package/components/editor/mentionSectionExtension.d.ts +0 -3
  125. package/components/editor/suggestion.d.ts +0 -2
  126. package/components/filtercontainer/helpers/applyFilter.helper.d.ts +0 -5
  127. package/components/filtercontainer/helpers/formatDateTimeRange.helper.d.ts +0 -7
  128. package/components/filtercontainer/helpers/getOption.helper.d.ts +0 -3
  129. package/components/gallerypreview/GalleryPreview.vue.d.ts +0 -31
  130. package/components/helpers/convertToArrayClass.helper.d.ts +0 -2
  131. package/components/helpers/index.d.ts +0 -2
  132. package/components/helpers/label.d.ts +0 -15
  133. package/components/imagecompressor/BackgroundImageCropper.vue.d.ts +0 -36
  134. package/components/imagecompressor/ImageInputInfo.vue.d.ts +0 -30
  135. package/components/inputgroup/InputGroup.vue.d.ts +0 -141
  136. package/components/inputphonenumber/helpers/getUserLocation.helper.d.ts +0 -8
  137. package/components/languagedropdown/LanguageDropdownOption.vue.d.ts +0 -18
  138. package/components/menu/helpers/filterMenu.helper.d.ts +0 -12
  139. package/components/menu/helpers/index.d.ts +0 -1
  140. package/components/menuitem/MenuItem.vue.d.ts +0 -19
  141. package/components/progressbar/ProgressBar.vue.d.ts +0 -72
  142. package/components/quickfilter/QuickFilter.vue.d.ts +0 -25
  143. package/components/timeline/TimelineContentByType.vue.d.ts +0 -16
  144. package/components/tooltipspan/TooltipSpan.vue.d.ts +0 -20
  145. package/components/tree/helpers/index.d.ts +0 -3
  146. package/components/usergroup/UserGroup.vue.d.ts +0 -57
  147. package/components/validatormessage/ValidatorMessage.vue.d.ts +0 -12
  148. package/types/options.type.d.ts +0 -16
  149. package/utils/addAttachment.util.d.ts +0 -43
  150. package/utils/exportToExcel.util.d.ts +0 -20
  151. package/utils/filterOptions.util.d.ts +0 -3
  152. package/utils/genPlaceholder.util.d.ts +0 -8
  153. package/utils/getAttachmentIcon.util.d.ts +0 -8
  154. package/utils/mergePropsWithDefaults.util.d.ts +0 -20
  155. package/utils/textFormatter.util.d.ts +0 -17
  156. package/wangsvue-fats.es.js +0 -132347
@@ -1,92 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<{
2
- editor: {
3
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["editor"]>;
4
- required: true;
5
- };
6
- node: {
7
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["node"]>;
8
- required: true;
9
- };
10
- decorations: {
11
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["decorations"]>;
12
- required: true;
13
- };
14
- selected: {
15
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["selected"]>;
16
- required: true;
17
- };
18
- extension: {
19
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["extension"]>;
20
- required: true;
21
- };
22
- getPos: {
23
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["getPos"]>;
24
- required: true;
25
- };
26
- updateAttributes: {
27
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["updateAttributes"]>;
28
- required: true;
29
- };
30
- deleteNode: {
31
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["deleteNode"]>;
32
- required: true;
33
- };
34
- view: {
35
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["view"]>;
36
- required: true;
37
- };
38
- innerDecorations: {
39
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["innerDecorations"]>;
40
- required: true;
41
- };
42
- HTMLAttributes: {
43
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["HTMLAttributes"]>;
44
- required: true;
45
- };
46
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
47
- editor: {
48
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["editor"]>;
49
- required: true;
50
- };
51
- node: {
52
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["node"]>;
53
- required: true;
54
- };
55
- decorations: {
56
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["decorations"]>;
57
- required: true;
58
- };
59
- selected: {
60
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["selected"]>;
61
- required: true;
62
- };
63
- extension: {
64
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["extension"]>;
65
- required: true;
66
- };
67
- getPos: {
68
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["getPos"]>;
69
- required: true;
70
- };
71
- updateAttributes: {
72
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["updateAttributes"]>;
73
- required: true;
74
- };
75
- deleteNode: {
76
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["deleteNode"]>;
77
- required: true;
78
- };
79
- view: {
80
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["view"]>;
81
- required: true;
82
- };
83
- innerDecorations: {
84
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["innerDecorations"]>;
85
- required: true;
86
- };
87
- HTMLAttributes: {
88
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["HTMLAttributes"]>;
89
- required: true;
90
- };
91
- }>>, {}, {}>;
92
- export default _default;
@@ -1,15 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
2
- classButton?: string[];
3
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
4
- classButton?: string[];
5
- }>>>, {}, {}>;
6
- export default _default;
7
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
- type __VLS_TypePropsToOption<T> = {
9
- [K in keyof T]-?: {} extends Pick<T, K> ? {
10
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
11
- } : {
12
- type: import('vue').PropType<T[K]>;
13
- required: true;
14
- };
15
- };
@@ -1,35 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
2
- items: {
3
- id: string;
4
- label: string;
5
- nickName: string;
6
- profilePicture: string;
7
- }[];
8
- command: (arg: {
9
- id: string;
10
- label: string;
11
- }) => void;
12
- }>, {
13
- onKeyDown: (event: KeyboardEvent) => boolean;
14
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
15
- items: {
16
- id: string;
17
- label: string;
18
- nickName: string;
19
- profilePicture: string;
20
- }[];
21
- command: (arg: {
22
- id: string;
23
- label: string;
24
- }) => void;
25
- }>>>, {}, {}>;
26
- export default _default;
27
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
28
- type __VLS_TypePropsToOption<T> = {
29
- [K in keyof T]-?: {} extends Pick<T, K> ? {
30
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
31
- } : {
32
- type: import('vue').PropType<T[K]>;
33
- required: true;
34
- };
35
- };
@@ -1,92 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<{
2
- editor: {
3
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["editor"]>;
4
- required: true;
5
- };
6
- node: {
7
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["node"]>;
8
- required: true;
9
- };
10
- decorations: {
11
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["decorations"]>;
12
- required: true;
13
- };
14
- selected: {
15
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["selected"]>;
16
- required: true;
17
- };
18
- extension: {
19
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["extension"]>;
20
- required: true;
21
- };
22
- getPos: {
23
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["getPos"]>;
24
- required: true;
25
- };
26
- updateAttributes: {
27
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["updateAttributes"]>;
28
- required: true;
29
- };
30
- deleteNode: {
31
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["deleteNode"]>;
32
- required: true;
33
- };
34
- view: {
35
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["view"]>;
36
- required: true;
37
- };
38
- innerDecorations: {
39
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["innerDecorations"]>;
40
- required: true;
41
- };
42
- HTMLAttributes: {
43
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["HTMLAttributes"]>;
44
- required: true;
45
- };
46
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
47
- editor: {
48
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["editor"]>;
49
- required: true;
50
- };
51
- node: {
52
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["node"]>;
53
- required: true;
54
- };
55
- decorations: {
56
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["decorations"]>;
57
- required: true;
58
- };
59
- selected: {
60
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["selected"]>;
61
- required: true;
62
- };
63
- extension: {
64
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["extension"]>;
65
- required: true;
66
- };
67
- getPos: {
68
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["getPos"]>;
69
- required: true;
70
- };
71
- updateAttributes: {
72
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["updateAttributes"]>;
73
- required: true;
74
- };
75
- deleteNode: {
76
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["deleteNode"]>;
77
- required: true;
78
- };
79
- view: {
80
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["view"]>;
81
- required: true;
82
- };
83
- innerDecorations: {
84
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["innerDecorations"]>;
85
- required: true;
86
- };
87
- HTMLAttributes: {
88
- type: import('vue').PropType<import('@tiptap/vue-3').NodeViewProps["HTMLAttributes"]>;
89
- required: true;
90
- };
91
- }>>, {}, {}>;
92
- export default _default;
@@ -1,3 +0,0 @@
1
- import { Node } from '@tiptap/core';
2
- declare const _default: Node<any, any>;
3
- export default _default;
@@ -1,3 +0,0 @@
1
- import { Node } from '@tiptap/core';
2
- declare const _default: Node<any, any>;
3
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const suggestion: () => any;
2
- export default suggestion;
@@ -1,5 +0,0 @@
1
- import { GenericObject } from 'vee-validate';
2
- import { FilterField } from '../FilterContainer.vue.d';
3
- declare const applyFilter: (values: GenericObject, tableName: string, emit?: (...args: any[]) => any) => void;
4
- export declare const applyStaticFilter: (values: GenericObject, tableName: string, fields: FilterField[], emit?: (...args: any[]) => any) => void;
5
- export default applyFilter;
@@ -1,7 +0,0 @@
1
- /**
2
- * Format the time in range selection when not show time.
3
- * It will adjust the end range time to 23.59.59 and the start to 00.00.00
4
- *
5
- * @returns {number[]} - The formatted date time range in millis. [start, end]
6
- */
7
- export declare const formatDateTimeRange: (e: number[]) => number[];
@@ -1,3 +0,0 @@
1
- import { FilterOptions, LoadingFilters, MultiSelectFilterField } from '../FilterContainer.vue.d';
2
- declare const getOptions: (fn: MultiSelectFilterField["fetchOptionFn"], field: string, filterOption: FilterOptions, loading: LoadingFilters) => Promise<void>;
3
- export default getOptions;
@@ -1,31 +0,0 @@
1
- import { ClassComponent } from '../ts-helpers.d';
2
-
3
- export type File = {
4
- _id: string;
5
- name: string;
6
- type: string;
7
- src: string;
8
- createdAt: string;
9
- };
10
-
11
- export interface GalleryPreviewProps {
12
- files: File[];
13
- }
14
-
15
- /**
16
- * **WangsVue - GalleryPreview**
17
- *
18
- * --- ---
19
- * ![WangsVue](https://ik.imagekit.io/kurniadev/TS-HEAD-BLACK.png)
20
- *
21
- * @group Component
22
- *
23
- * @experimental
24
- */
25
- declare class GalleryPreview extends ClassComponent<
26
- GalleryPreviewProps,
27
- unknown,
28
- unknown
29
- > {}
30
-
31
- export default GalleryPreview;
@@ -1,2 +0,0 @@
1
- declare const convertToArrayClass: (classes?: string | string[]) => string[];
2
- export default convertToArrayClass;
@@ -1,2 +0,0 @@
1
- import { default as toArrayClass } from './convertToArrayClass.helper';
2
- export { toArrayClass };
@@ -1,15 +0,0 @@
1
- import { SetupContext, VNode } from 'vue';
2
- interface LabelProps {
3
- label: string;
4
- }
5
- /**
6
- * For input like checkbox, radiobutton, toggleswitch, etc.
7
- *
8
- * Conditionally wrap the input with label element when props.label is defined.
9
- *
10
- * @param propsData
11
- * @param setupContext
12
- * @returns
13
- */
14
- declare const Label: (propsData: LabelProps, setupContext?: SetupContext) => VNode;
15
- export default Label;
@@ -1,36 +0,0 @@
1
- declare function __VLS_template(): {
2
- default?(_: {}): any;
3
- };
4
- declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<{
5
- touchMove?: unknown;
6
- mouseMove?: unknown;
7
- touchResize?: unknown;
8
- wheelResize?: unknown;
9
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
- move: (e: any) => void;
11
- resize: (e: any) => void;
12
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
13
- touchMove?: unknown;
14
- mouseMove?: unknown;
15
- touchResize?: unknown;
16
- wheelResize?: unknown;
17
- }>>> & {
18
- onResize?: (e: any) => any;
19
- onMove?: (e: any) => any;
20
- }, {}, {}>;
21
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
22
- export default _default;
23
- type __VLS_WithTemplateSlots<T, S> = T & {
24
- new (): {
25
- $slots: S;
26
- };
27
- };
28
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
29
- type __VLS_TypePropsToOption<T> = {
30
- [K in keyof T]-?: {} extends Pick<T, K> ? {
31
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
32
- } : {
33
- type: import('vue').PropType<T[K]>;
34
- required: true;
35
- };
36
- };
@@ -1,30 +0,0 @@
1
- declare function __VLS_template(): {
2
- default?(_: {}): any;
3
- };
4
- declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<{
5
- showInfo: boolean;
6
- showAddButton?: boolean;
7
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
- addPhoto: () => void;
9
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
10
- showInfo: boolean;
11
- showAddButton?: boolean;
12
- }>>> & {
13
- onAddPhoto?: () => any;
14
- }, {}, {}>;
15
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
16
- export default _default;
17
- type __VLS_WithTemplateSlots<T, S> = T & {
18
- new (): {
19
- $slots: S;
20
- };
21
- };
22
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
23
- type __VLS_TypePropsToOption<T> = {
24
- [K in keyof T]-?: {} extends Pick<T, K> ? {
25
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
26
- } : {
27
- type: import('vue').PropType<T[K]>;
28
- required: true;
29
- };
30
- };
@@ -1,141 +0,0 @@
1
- /**
2
- *
3
- * InputGroup displays text, icon, buttons and other content can be grouped next to an input.
4
- *
5
- * @module inputgroup
6
- *
7
- */
8
- import { VNode } from 'vue';
9
- import { ComponentHooks } from '../basecomponent';
10
- import { PassThroughOptions } from '../passthrough';
11
- import {
12
- ClassComponent,
13
- GlobalComponentConstructor,
14
- PassThrough,
15
- } from '../ts-helpers';
16
-
17
- export declare type InputGroupPassThroughOptionType =
18
- | InputGroupPassThroughAttributes
19
- | ((
20
- options: InputGroupPassThroughMethodOptions,
21
- ) => InputGroupPassThroughAttributes | string)
22
- | string
23
- | null
24
- | undefined;
25
-
26
- /**
27
- * Custom passthrough(pt) option method.
28
- */
29
- export interface InputGroupPassThroughMethodOptions {
30
- /**
31
- * Defines instance.
32
- */
33
- instance: any;
34
- /**
35
- * Defines valid attributes.
36
- */
37
- attrs: any;
38
- /**
39
- * Defines parent options.
40
- */
41
- parent: any;
42
- /**
43
- * Defines passthrough(pt) options in global config.
44
- */
45
- global: object | undefined;
46
- }
47
-
48
- /**
49
- * Custom passthrough(pt) options.
50
- * @see {@link InputGroupProps.pt}
51
- */
52
- export interface InputGroupPassThroughOptions {
53
- /**
54
- * Used to pass attributes to the root's DOM element.
55
- */
56
- root?: InputGroupPassThroughOptionType;
57
- /**
58
- * Used to manage all lifecycle hooks.
59
- * @see {@link BaseComponent.ComponentHooks}
60
- */
61
- hooks?: ComponentHooks;
62
- }
63
-
64
- /**
65
- * Custom passthrough attributes for each DOM elements
66
- */
67
- export interface InputGroupPassThroughAttributes {
68
- [key: string]: any;
69
- }
70
-
71
- /**
72
- * Defines valid properties in InputGroup component.
73
- */
74
- export interface InputGroupProps {
75
- /**
76
- * Used to pass attributes to DOM elements inside the component.
77
- * @type {InputGroupPassThroughOptions}
78
- */
79
- pt?: PassThrough<InputGroupPassThroughOptions>;
80
- /**
81
- * Used to configure passthrough(pt) options of the component.
82
- * @type {PassThroughOptions}
83
- */
84
- ptOptions?: PassThroughOptions;
85
- /**
86
- * @default default
87
- */
88
- ring?: 'none' | 'default';
89
- /**
90
- * When enabled, it removes component related styles in the core.
91
- * @defaultValue false
92
- */
93
- unstyled?: boolean;
94
- /**
95
- * @defaultValue false
96
- */
97
- invalid?: boolean;
98
- /**
99
- * @defaultValue false
100
- */
101
- disabled?: boolean;
102
- }
103
-
104
- /**
105
- * Defines valid slots in InputGroup component.
106
- */
107
- export interface InputGroupSlots {
108
- /**
109
- * Custom default template.
110
- */
111
- default(): VNode[];
112
- /**
113
- * Dynamic content template.
114
- * @todo
115
- */
116
- [key: string]: (node: any) => VNode[];
117
- }
118
-
119
- /**
120
- * **WangsVue - InputGroup**
121
- *
122
- * _InputGroup displays text, icon, buttons and other content can be grouped next to an input._
123
- *
124
- * --- ---
125
- * ![WangsVue](https://www.wangs.id/wp-content/uploads/2023/12/cropped-Logo_Wangsid-removebg-preview-192x192.png)
126
- *
127
- * @group Component
128
- */
129
- declare class InputGroup extends ClassComponent<
130
- InputGroupProps,
131
- InputGroupSlots,
132
- unknown
133
- > {}
134
-
135
- declare module '@vue/runtime-core' {
136
- interface GlobalComponents {
137
- InputGroup: GlobalComponentConstructor<InputGroup>;
138
- }
139
- }
140
-
141
- export default InputGroup;
@@ -1,8 +0,0 @@
1
- interface LocationData {
2
- timezone: string;
3
- region: string;
4
- city: string;
5
- country: string;
6
- }
7
- export default function getUserLocation(): LocationData;
8
- export {};
@@ -1,18 +0,0 @@
1
- import { LanguageOption } from './LanguageDropdown.vue.d';
2
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
3
- option: LanguageOption;
4
- iconOnly?: boolean;
5
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
6
- option: LanguageOption;
7
- iconOnly?: boolean;
8
- }>>>, {}, {}>;
9
- export default _default;
10
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
11
- type __VLS_TypePropsToOption<T> = {
12
- [K in keyof T]-?: {} extends Pick<T, K> ? {
13
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
14
- } : {
15
- type: import('vue').PropType<T[K]>;
16
- required: true;
17
- };
18
- };
@@ -1,12 +0,0 @@
1
- import { MenuItem } from '../../menuitem';
2
- /**
3
- * Filters the menu items to return only the visible ones.
4
- * If no visible menu items are found, it returns a menu with a label 'No Option Available'.
5
- *
6
- * @param menuItems - The array of menu items to filter.
7
- * @param noOptionLabel - The label of menu to be shown when no available option. The value is from locale configuration each project.
8
- *
9
- * @returns - The array of visible menu items or an array with a single menu item with label 'No Option Available'.
10
- */
11
- declare const filterVisibleMenu: (menuItems: MenuItem[], noOptionLabel?: string) => MenuItem[];
12
- export default filterVisibleMenu;
@@ -1 +0,0 @@
1
- export { default as filterVisibleMenu } from './filterMenu.helper';
@@ -1,19 +0,0 @@
1
- import { MenuRouterBindProps } from '../menu/Menu.vue.d';
2
- import { MenuItem } from '.';
3
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
4
- item: MenuItem;
5
- routerProps: MenuRouterBindProps;
6
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
7
- item: MenuItem;
8
- routerProps: MenuRouterBindProps;
9
- }>>>, {}, {}>;
10
- export default _default;
11
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
12
- type __VLS_TypePropsToOption<T> = {
13
- [K in keyof T]-?: {} extends Pick<T, K> ? {
14
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
15
- } : {
16
- type: import('vue').PropType<T[K]>;
17
- required: true;
18
- };
19
- };
@@ -1,72 +0,0 @@
1
- import { Slot } from 'vue';
2
- import { ClassComponent } from '../ts-helpers';
3
- import { GlobalComponentConstructor } from '../ts-helpers.d';
4
-
5
- /**
6
- * Defines valid properties in ProgressBar component.
7
- */
8
- export interface ProgressBarProps {
9
- /**
10
- * Current value of the progress.
11
- */
12
- value?: number | undefined;
13
- /**
14
- * Set the position of progress value label position
15
- * Only available on mode Determinate
16
- *
17
- * @default 'right-side'
18
- */
19
- valuePosition?: 'inside' | 'left-side' | 'right-side';
20
- /**
21
- * The progress bar severity color
22
- *
23
- * @defaultValue 'primary'
24
- */
25
- severity: 'success' | 'danger' | 'warning' | 'dark' | 'primary';
26
- /**
27
- * Defines the mode of the progress
28
- * @defaultValue determinate
29
- */
30
- mode?: 'determinate' | 'indeterminate' | undefined;
31
- /**
32
- * Whether to display the progress bar value.
33
- * @defaultValue true
34
- */
35
- showValue?: boolean | undefined;
36
- }
37
-
38
- /**
39
- * Defines valid slots in ProgressBar component.
40
- */
41
- export interface ProgressBarSlots {
42
- /**
43
- * Slot for customizing the value label.
44
- */
45
- label: Slot<{ value: number | undefined }>;
46
- }
47
-
48
- /**
49
- * **WangsVue - ProgressBar**
50
- *
51
- * ProgressBar is a process status indicator._
52
- *
53
- * [Live Demo](https://fewangsit.github.io/wangsvue/progressbar)
54
- *
55
- * --- ---
56
- * ![WangsVue](https://www.wangs.id/wp-content/uploads/2023/12/cropped-Logo_Wangsid-removebg-preview-192x192.png)
57
- *
58
- * @group Component
59
- */
60
- declare class ProgressBar extends ClassComponent<
61
- ProgressBarProps,
62
- ProgressBarSlots,
63
- null
64
- > {}
65
-
66
- declare module '@vue/runtime-core' {
67
- interface GlobalComponents {
68
- ProgressBar: GlobalComponentConstructor<ProgressBar>;
69
- }
70
- }
71
-
72
- export default ProgressBar;