@fewangsit/wangsvue 1.5.190 → 1.5.194-alpha.0
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.
- package/assets/json/languages.json.d.ts +180 -0
- package/build-entry.d.ts +1 -1
- package/components/animation/Animation.vue.d.ts +1 -2
- package/components/approverinfo/ApproverInfo.vue.d.ts +0 -1
- package/components/badge/Badge.vue.d.ts +0 -1
- package/components/badgegroup/BadgeGroup.vue.d.ts +1 -2
- package/components/basecomponent/index.d.ts +28 -0
- package/components/basetree/BaseTree.vue.d.ts +553 -0
- package/components/basetree/TreeNode.vue.d.ts +33 -0
- package/components/breadcrumb/Breadcrumb.vue.d.ts +0 -1
- package/components/button/Button.vue.d.ts +0 -1
- package/components/buttonbulkaction/ButtonBulkAction.vue.d.ts +0 -1
- package/components/buttondownload/ButtonDownload.vue.d.ts +0 -1
- package/components/buttonfilter/ButtonFilter.vue.d.ts +0 -1
- package/components/buttonradio/ButtonRadio.vue.d.ts +0 -1
- package/components/buttonsearch/ButtonSearch.vue.d.ts +3 -0
- package/components/buttonselecttree/ButtonSelectTree.vue.d.ts +169 -0
- package/components/buttontoggle/ButtonToggle.vue.d.ts +0 -1
- package/components/calendar/Calendar.vue.d.ts +0 -1
- package/components/card/Card.vue.d.ts +13 -2
- package/components/checkbox/Checkbox.vue.d.ts +23 -2
- package/components/customcolumn/CustomColumn.vue.d.ts +3 -0
- package/components/datatable/DataTable.vue.d.ts +2 -3
- package/components/dialog/Dialog.vue.d.ts +15 -2
- package/components/dialogconfirm/DialogConfirm.vue.d.ts +14 -2
- package/components/dialogform/DialogForm.vue.d.ts +0 -1
- package/components/dialogselecttree/DialogSelectTree.vue.d.ts +98 -0
- package/components/dropdown/Dropdown.vue.d.ts +2 -3
- package/components/editor/Editor.vue.d.ts +0 -1
- package/components/fieldwrapper/FieldWrapper.vue.d.ts +55 -0
- package/components/fileupload/FileUpload.vue.d.ts +4 -2
- package/components/filtercontainer/FilterContainer.vue.d.ts +1 -2
- package/components/form/Form.vue.d.ts +6 -2
- package/components/gallerypreview/GalleryPreview.vue.d.ts +31 -0
- package/components/image/Image.vue.d.ts +15 -2
- package/components/imagecompressor/ImageCompressor.vue.d.ts +0 -1
- package/components/index.d.ts +1 -0
- package/components/inlinemessage/InlineMessage.vue.d.ts +167 -0
- package/components/inputbadge/InputBadge.vue.d.ts +0 -1
- package/components/inputcurrency/InputCurrency.vue.d.ts +0 -1
- package/components/inputemail/InputEmail.vue.d.ts +0 -1
- package/components/inputgroup/InputGroup.vue.d.ts +12 -2
- package/components/inputnumber/InputNumber.vue.d.ts +0 -1
- package/components/inputpassword/InputPassword.vue.d.ts +0 -1
- package/components/inputphonenumber/InputPhoneNumber.vue.d.ts +0 -1
- package/components/inputrangenumber/InputRangeNumber.vue.d.ts +0 -1
- package/components/inputtext/InputText.vue.d.ts +55 -1
- package/components/inputurl/InputURL.vue.d.ts +0 -1
- package/components/languagedropdown/LanguageDropdown.vue.d.ts +58 -0
- package/components/languagedropdown/LanguageDropdownOption.vue.d.ts +18 -0
- package/components/litedropdown/LiteDropdown.vue.d.ts +1 -2
- package/components/loading/Loading.vue.d.ts +0 -1
- package/components/menu/Menu.vue.d.ts +16 -2
- package/components/multiselect/MultiSelect.vue.d.ts +1 -1
- package/components/overlaypanel/OverlayPanel.vue.d.ts +14 -2
- package/components/passthrough/index.d.ts +16 -0
- package/components/progressbar/ProgressBar.vue.d.ts +0 -1
- package/components/quickfilter/QuickFilter.vue.d.ts +0 -1
- package/components/tabmenu/TabMenu.vue.d.ts +9 -1
- package/components/textarea/Textarea.vue.d.ts +5 -2
- package/components/timeline/Timeline.vue.d.ts +0 -1
- package/components/toast/Toast.vue.d.ts +15 -2
- package/components/tooltipspan/TooltipSpan.vue.d.ts +0 -1
- package/components/tree/Tree.vue.d.ts +125 -0
- package/components/tree/helpers/flattenTreeNodeChildren.helper.d.ts +1 -1
- package/components/treesearchinput/TreeSearchInput.vue.d.ts +16 -0
- package/components/usergroup/UserGroup.vue.d.ts +0 -1
- package/components/username/UserName.vue.d.ts +0 -1
- package/components/validatormessage/ValidatorMessage.vue.d.ts +0 -1
- package/config/defaultProps.d.ts +3 -0
- package/config/index.d.ts +2 -0
- package/config/locale.d.ts +3 -0
- package/event-bus/index.d.ts +1 -0
- package/package.json +1 -1
- package/plugins/WangsVue.d.ts +65 -0
- package/style.css +2 -2
- package/utils/index.d.ts +1 -0
- package/utils/mergePropsWithDefaults.util.d.ts +21 -0
- package/utils/object.util.d.ts +7 -1
- package/wangsvue.es.js +21431 -21019
- package/wangsvue.system.js +110 -110
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
declare const _default: [
|
|
2
|
+
{
|
|
3
|
+
"lang": "Arabic",
|
|
4
|
+
"flag": "https://flagcdn.com/sa.svg",
|
|
5
|
+
"locale": "ar_SA",
|
|
6
|
+
"country": "Saudi Arabia",
|
|
7
|
+
"countryCode": "SA"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"lang": "Chinese",
|
|
11
|
+
"flag": "https://flagcdn.com/cn.svg",
|
|
12
|
+
"locale": "zh_CN",
|
|
13
|
+
"country": "China",
|
|
14
|
+
"countryCode": "CN"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"lang": "English",
|
|
18
|
+
"flag": "https://flagcdn.com/us.svg",
|
|
19
|
+
"locale": "en_US",
|
|
20
|
+
"country": "United States",
|
|
21
|
+
"countryCode": "US"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"lang": "English",
|
|
25
|
+
"flag": "https://flagcdn.com/sg.svg",
|
|
26
|
+
"locale": "en_SG",
|
|
27
|
+
"country": "Singapore",
|
|
28
|
+
"countryCode": "SG"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"lang": "English",
|
|
32
|
+
"flag": "https://flagcdn.com/gb.svg",
|
|
33
|
+
"locale": "en_UK",
|
|
34
|
+
"country": "United Kingdom",
|
|
35
|
+
"countryCode": "UK"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"lang": "English",
|
|
39
|
+
"flag": "https://flagcdn.com/in.svg",
|
|
40
|
+
"locale": "en_IN",
|
|
41
|
+
"country": "India",
|
|
42
|
+
"countryCode": "IN"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"lang": "English",
|
|
46
|
+
"flag": "https://flagcdn.com/ca.svg",
|
|
47
|
+
"locale": "en_CA",
|
|
48
|
+
"country": "Canada",
|
|
49
|
+
"countryCode": "CA"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"lang": "English",
|
|
53
|
+
"flag": "https://flagcdn.com/au.svg",
|
|
54
|
+
"locale": "en_AU",
|
|
55
|
+
"country": "Australia",
|
|
56
|
+
"countryCode": "AU"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"lang": "Filipino",
|
|
60
|
+
"flag": "https://flagcdn.com/ph.svg",
|
|
61
|
+
"locale": "fil_PH",
|
|
62
|
+
"country": "Philippines",
|
|
63
|
+
"countryCode": "PH"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"lang": "French",
|
|
67
|
+
"flag": "https://flagcdn.com/fr.svg",
|
|
68
|
+
"locale": "fr_FR",
|
|
69
|
+
"country": "France",
|
|
70
|
+
"countryCode": "FR"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"lang": "German",
|
|
74
|
+
"flag": "https://flagcdn.com/de.svg",
|
|
75
|
+
"locale": "de_DE",
|
|
76
|
+
"country": "Germany",
|
|
77
|
+
"countryCode": "DE"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"lang": "Indonesian",
|
|
81
|
+
"flag": "https://flagcdn.com/id.svg",
|
|
82
|
+
"locale": "id_ID",
|
|
83
|
+
"country": "Indonesia",
|
|
84
|
+
"countryCode": "ID"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"lang": "Italian",
|
|
88
|
+
"flag": "https://flagcdn.com/it.svg",
|
|
89
|
+
"locale": "it_IT",
|
|
90
|
+
"country": "Italy",
|
|
91
|
+
"countryCode": "IT"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"lang": "Japanese",
|
|
95
|
+
"flag": "https://flagcdn.com/jp.svg",
|
|
96
|
+
"locale": "ja_JP",
|
|
97
|
+
"country": "Japan",
|
|
98
|
+
"countryCode": "JP"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"lang": "Khmer",
|
|
102
|
+
"flag": "https://flagcdn.com/kh.svg",
|
|
103
|
+
"locale": "km_KH",
|
|
104
|
+
"country": "Cambodia",
|
|
105
|
+
"countryCode": "KH"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"lang": "Korean",
|
|
109
|
+
"flag": "https://flagcdn.com/kr.svg",
|
|
110
|
+
"locale": "ko_KR",
|
|
111
|
+
"country": "South Korea",
|
|
112
|
+
"countryCode": "KR"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"lang": "Lao",
|
|
116
|
+
"flag": "https://flagcdn.com/la.svg",
|
|
117
|
+
"locale": "lo_LA",
|
|
118
|
+
"country": "Laos",
|
|
119
|
+
"countryCode": "LA"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"lang": "Malay",
|
|
123
|
+
"flag": "https://flagcdn.com/my.svg",
|
|
124
|
+
"locale": "ms_MY",
|
|
125
|
+
"country": "Malaysia",
|
|
126
|
+
"countryCode": "MY"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"lang": "Burmese",
|
|
130
|
+
"flag": "https://flagcdn.com/mm.svg",
|
|
131
|
+
"locale": "my_MM",
|
|
132
|
+
"country": "Myanmar",
|
|
133
|
+
"countryCode": "MM"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"lang": "Portuguese",
|
|
137
|
+
"flag": "https://flagcdn.com/br.svg",
|
|
138
|
+
"locale": "pt_BR",
|
|
139
|
+
"country": "Brazil",
|
|
140
|
+
"countryCode": "BR"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"lang": "Russian",
|
|
144
|
+
"flag": "https://flagcdn.com/ru.svg",
|
|
145
|
+
"locale": "ru_RU",
|
|
146
|
+
"country": "Russia",
|
|
147
|
+
"countryCode": "RU"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"lang": "Spanish",
|
|
151
|
+
"flag": "https://flagcdn.com/mx.svg",
|
|
152
|
+
"locale": "es_MX",
|
|
153
|
+
"country": "Mexico",
|
|
154
|
+
"countryCode": "MX"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"lang": "Spanish",
|
|
158
|
+
"flag": "https://flagcdn.com/es.svg",
|
|
159
|
+
"locale": "es_ES",
|
|
160
|
+
"country": "Spain",
|
|
161
|
+
"countryCode": "ES"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"lang": "Thai",
|
|
165
|
+
"flag": "https://flagcdn.com/th.svg",
|
|
166
|
+
"locale": "th_TH",
|
|
167
|
+
"country": "Thailand",
|
|
168
|
+
"countryCode": "TH"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"lang": "Vietnamese",
|
|
172
|
+
"flag": "https://flagcdn.com/vn.svg",
|
|
173
|
+
"locale": "vi_VN",
|
|
174
|
+
"country": "Vietnam",
|
|
175
|
+
"countryCode": "VN"
|
|
176
|
+
}
|
|
177
|
+
]
|
|
178
|
+
;
|
|
179
|
+
|
|
180
|
+
export default _default;
|
package/build-entry.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export { getImageURL } from '@fewangsit/workspace-api-services';
|
|
2
2
|
export { default as eventBus } from './event-bus';
|
|
3
|
-
export { default as WangsVue } from 'primevue/config';
|
|
4
3
|
export { default as ToastService } from 'primevue/toastservice';
|
|
5
4
|
export * from './utils';
|
|
6
5
|
export { formatCurrency } from './components/inputcurrency/helpers/currency.helper';
|
|
@@ -10,3 +9,4 @@ export { Focus } from './directives';
|
|
|
10
9
|
export { useForm, useField } from './plugins/formValidation';
|
|
11
10
|
export type { FormContext } from './plugins/formValidation';
|
|
12
11
|
export * from './components';
|
|
12
|
+
export { default as WangsVue } from './config';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { BadgeProps } from '
|
|
1
|
+
import { BadgeProps } from 'lib/components/badge/Badge.vue.d';
|
|
2
2
|
import { ClassComponent } from '../ts-helpers.d';
|
|
3
3
|
|
|
4
|
-
|
|
5
4
|
export interface BadgeGroupProps
|
|
6
5
|
extends Omit<BadgeProps, 'label' | 'disabled' | 'removable'> {
|
|
7
6
|
labels: string[];
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2
|
+
export interface ComponentHooks {
|
|
3
|
+
onBeforeCreate?(): void;
|
|
4
|
+
onCreated?(): void;
|
|
5
|
+
onBeforeMount?(): void;
|
|
6
|
+
onMounted?(): void;
|
|
7
|
+
onBeforeUpdate?(): void;
|
|
8
|
+
onUpdated?(): void;
|
|
9
|
+
onBeforeUnmount?(): void;
|
|
10
|
+
onUnmounted?(): void;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export interface BaseComponentPassThroughOptions {
|
|
14
|
+
hooks?: ComponentHooks;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* @todo Update all d.ts with it.
|
|
19
|
+
*/
|
|
20
|
+
export interface BaseComponentPassThroughMethodOptions<
|
|
21
|
+
I = any,
|
|
22
|
+
P = any,
|
|
23
|
+
S = any,
|
|
24
|
+
> {
|
|
25
|
+
instance?: I | undefined | null;
|
|
26
|
+
props?: P | undefined | null;
|
|
27
|
+
state?: S | undefined | null;
|
|
28
|
+
}
|