@fewangsit/wangsvue-fats 1.0.0-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/components/animation/Animation.vue.d.ts +32 -0
- package/components/approverinfo/ApproverInfo.vue.d.ts +51 -0
- package/components/assetinfo/AssetInfo.vue.d.ts +44 -0
- package/components/badge/Badge.vue.d.ts +73 -0
- package/components/badgegroup/BadgeGroup.vue.d.ts +54 -0
- package/components/basecomponent/index.d.ts +28 -0
- package/components/basetree/BaseTree.vue.d.ts +596 -0
- package/components/basetree/TreeNode.vue.d.ts +35 -0
- package/components/breadcrumb/Breadcrumb.vue.d.ts +26 -0
- package/components/button/Button.vue.d.ts +189 -0
- package/components/buttonImportExcel/ButtonImportExcel.vue.d.ts +35 -0
- package/components/buttonaddbyscan/ButtonAddByScan.vue.d.ts +40 -0
- package/components/buttonbulkaction/ButtonBulkAction.vue.d.ts +105 -0
- package/components/buttoncopy/ButtonCopy.vue.d.ts +26 -0
- package/components/buttondownload/ButtonDownload.vue.d.ts +80 -0
- package/components/buttonfilter/ButtonFilter.vue.d.ts +12 -0
- package/components/buttonradio/ButtonRadio.vue.d.ts +258 -0
- package/components/buttonscan/ButtonScan.vue.d.ts +202 -0
- package/components/buttonsearch/ButtonSearch.vue.d.ts +38 -0
- package/components/buttonsearchbyscan/ButtonSearchByScan.vue.d.ts +46 -0
- package/components/buttonselecttree/ButtonSelectTree.vue.d.ts +201 -0
- package/components/buttonsplit/ButtonSplit.vue.d.ts +352 -0
- package/components/buttonsync/ButtonSync.vue.d.ts +22 -0
- package/components/buttontoggle/ButtonToggle.vue.d.ts +19 -0
- package/components/buttonviewlog/ButtonViewLog.vue.d.ts +17 -0
- package/components/calendar/Calendar.vue.d.ts +598 -0
- package/components/card/Card.vue.d.ts +140 -0
- package/components/carousel/Carousel.vue.d.ts +28 -0
- package/components/checkbox/Checkbox.vue.d.ts +330 -0
- package/components/customcolumn/CustomColumn.vue.d.ts +37 -0
- package/components/datatable/DataTable.vue.d.ts +745 -0
- package/components/datepicker/DatePicker.vue.d.ts +52 -0
- package/components/daypicker/DayPicker.vue.d.ts +52 -0
- package/components/dialog/Dialog.vue.d.ts +465 -0
- package/components/dialogassetnamedetail/DialogAssetNameDetail.vue.d.ts +46 -0
- package/components/dialogassetnamedetail/options/columns.d.ts +2 -0
- package/components/dialogassetnamedetail/options/filter.d.ts +2 -0
- package/components/dialogconfirm/DialogConfirm.vue.d.ts +165 -0
- package/components/dialogform/DialogForm.vue.d.ts +350 -0
- package/components/dialoglinkedasset/DialogLinkedAsset.vue.d.ts +106 -0
- package/components/dialogprintqr/DialogPrintQR.vue.d.ts +18 -0
- package/components/dialogreportdamage/DialogReportDamage.vue.d.ts +34 -0
- package/components/dialogreportmissing/DialogReportMissing.vue.d.ts +33 -0
- package/components/dialogreporttag/DialogReportTag.vue.d.ts +31 -0
- package/components/dialogselecttree/DialogSelectTree.vue.d.ts +137 -0
- package/components/dialogselectuser/DialogSelectUser.vue.d.ts +102 -0
- package/components/dialogselectuser/options/columns.d.ts +3 -0
- package/components/dialogtransferlog/DialogTransferLog.vue.d.ts +16 -0
- package/components/dropdown/Dropdown.vue.d.ts +288 -0
- package/components/editor/Editor.vue.d.ts +192 -0
- package/components/fieldwrapper/FieldWrapper.vue.d.ts +86 -0
- package/components/fileupload/FileUpload.vue.d.ts +170 -0
- package/components/filtercontainer/FilterContainer.vue.d.ts +217 -0
- package/components/form/Form.vue.d.ts +319 -0
- package/components/icon/Icon.vue.d.ts +260 -0
- package/components/image/Image.vue.d.ts +411 -0
- package/components/imagecompressor/ImageCompressor.vue.d.ts +237 -0
- package/components/index.d.ts +83 -0
- package/components/inlinemessage/InlineMessage.vue.d.ts +167 -0
- package/components/inputbadge/InputBadge.vue.d.ts +122 -0
- package/components/inputcurrency/InputCurrency.vue.d.ts +170 -0
- package/components/inputcurrency/helpers/currency.helper.d.ts +8 -0
- package/components/inputemail/InputEmail.vue.d.ts +26 -0
- package/components/inputnumber/InputNumber.vue.d.ts +288 -0
- package/components/inputotp/InputOtp.vue.d.ts +3 -0
- package/components/inputpassword/InputPassword.vue.d.ts +33 -0
- package/components/inputphonenumber/InputPhoneNumber.vue.d.ts +99 -0
- package/components/inputrangenumber/InputRangeNumber.vue.d.ts +121 -0
- package/components/inputsearch/InputSearch.vue.d.ts +36 -0
- package/components/inputtext/InputText.vue.d.ts +353 -0
- package/components/inputurl/InputURL.vue.d.ts +41 -0
- package/components/invisiblefield/InvisibleField.vue.d.ts +32 -0
- package/components/languagedropdown/LanguageDropdown.vue.d.ts +33 -0
- package/components/languageswitcher/LanguageSwitcher.vue.d.ts +15 -0
- package/components/litedropdown/LiteDropdown.vue.d.ts +98 -0
- package/components/loading/Loading.vue.d.ts +47 -0
- package/components/loading/store/loading.store.d.ts +8 -0
- package/components/menu/Menu.vue.d.ts +391 -0
- package/components/menuitem/index.d.ts +106 -0
- package/components/multiselect/MultiSelect.vue.d.ts +195 -0
- package/components/overlaypanel/OverlayPanel.vue.d.ts +302 -0
- package/components/paginator/Paginator.vue.d.ts +285 -0
- package/components/passthrough/index.d.ts +16 -0
- package/components/steps/Steps.vue.d.ts +20 -0
- package/components/tabmenu/TabMenu.vue.d.ts +104 -0
- package/components/tagtype/TagType.vue.d.ts +26 -0
- package/components/textarea/Textarea.vue.d.ts +171 -0
- package/components/timeline/Timeline.vue.d.ts +140 -0
- package/components/toast/Toast.vue.d.ts +368 -0
- package/components/toggleswitch/ToggleSwitch.vue.d.ts +282 -0
- package/components/transactionroles/TransactionRoles.vue.d.ts +58 -0
- package/components/tree/Tree.vue.d.ts +151 -0
- package/components/tree/helpers/filterNodeKeys.helper.d.ts +22 -0
- package/components/tree/helpers/flattenTreeNodeChildren.helper.d.ts +8 -0
- package/components/treesearchinput/TreeSearchInput.vue.d.ts +16 -0
- package/components/ts-helpers.d.ts +91 -0
- package/components/username/UserName.vue.d.ts +123 -0
- package/components/userwithicon/UserWithIcon.vue.d.ts +21 -0
- package/components/validatormessage/ValidatorMessage.vue.d.ts +12 -0
- package/config/defaultProps.d.ts +3 -0
- package/config/index.d.ts +3 -0
- package/config/locale.d.ts +3 -0
- package/directives/focus.d.ts +7 -0
- package/directives/index.d.ts +1 -0
- package/event-bus/index.d.ts +66 -0
- package/event-bus/mitt.d.ts +41 -0
- package/loading-page-BrQattYE.js +1 -0
- package/loading-page-CgfbWppy.js +1 -0
- package/loading-page-CoC9UhfC.js +4 -0
- package/loading-page-CoXtqoc9.js +4 -0
- package/loading-page-DbLuqCHa.js +1 -0
- package/loading-page-f8D03l3G.js +4 -0
- package/loading-plane-CgfbWppy.js +1 -0
- package/loading-plane-CoXtqoc9.js +4 -0
- package/loading-table-Bdr9ZhtP.js +1 -0
- package/loading-table-ByUoWqUo.js +4 -0
- package/loading-table-BygEMzFM.js +4 -0
- package/loading-table-BzrSQlA0.js +1 -0
- package/loading-table-D9bw9OcI.js +4 -0
- package/loading-table-chOgXi94.js +1 -0
- package/main.d.ts +34 -0
- package/no-data-CTKux8RI.js +4 -0
- package/no-data-Cgze_Rvp.js +1 -0
- package/no-data-DLHO1L_u.js +4 -0
- package/no-data-Dep79CBh.js +1 -0
- package/no-data-g0dJCy2p.js +4 -0
- package/no-data-y1X5WtcQ.js +1 -0
- package/package.json +27 -0
- package/plugins/VueHtmlToPaper.d.ts +11 -0
- package/plugins/WangsVue.d.ts +311 -0
- package/plugins/formValidation.d.ts +20 -0
- package/plugins/i18n-extension.d.ts +4 -0
- package/plugins/i18n.d.ts +103 -0
- package/stats.html +4949 -0
- package/style.css +1 -0
- package/utils/date.util.d.ts +79 -0
- package/utils/exportToExcel.util.d.ts +27 -0
- package/utils/formatTagCode.util.d.ts +1 -0
- package/utils/getStatusSeverity.util.d.ts +33 -0
- package/utils/index.d.ts +9 -0
- package/utils/isBasic.util.d.ts +1 -0
- package/utils/listenSidebarChanges.util.d.ts +16 -0
- package/utils/object.util.d.ts +27 -0
- package/utils/role.util.d.ts +70 -0
- package/utils/toast.util.d.ts +120 -0
- package/utils/xlsx.util.d.ts +19 -0
- package/wangsvue-fats.js +57238 -0
- package/wangsvue-fats.system.js +427 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register([],function(A,I){"use strict";return{execute:function(){const e=A("default","data:application/octet-stream;base64,UEsDBBQAAAAAAKMgPlnibbseBAEAAAQBAAANAAAAbWFuaWZlc3QuanNvbnsidmVyc2lvbiI6IjEuMCIsInJldmlzaW9uIjoxLCJrZXl3b3JkcyI6IiIsImF1dGhvciI6IkxvdHRpZUZpbGVzIiwiZ2VuZXJhdG9yIjoiZG90TG90dGllLWpzIiwiYW5pbWF0aW9ucyI6W3siaWQiOiI3NWZiZDEzZi01ZTIyLTRmOGItYWE2NC1lODU0NDg4MzJkMzkiLCJkaXJlY3Rpb24iOjEsInNwZWVkIjoxLCJwbGF5TW9kZSI6Im5vcm1hbCIsImxvb3AiOmZhbHNlLCJhdXRvcGxheSI6ZmFsc2UsImhvdmVyIjpmYWxzZSwiaW50ZXJtaXNzaW9uIjowfV19UEsDBBQAAAAIAKMgPllhqkhj9wgAAP1eAAA0AAAAYW5pbWF0aW9ucy83NWZiZDEzZi01ZTIyLTRmOGItYWE2NC1lODU0NDg4MzJkMzkuanNvbu1cS2/bRhD+KwbPFMtdLpekTm3RNCjQAEUD9BIYgSpTtmK9IDFNA8FAjwV6KdBDLwUKBH0gxx567EX5Y/1m+aZIW7JJ2pKZ2Ca13Mfs7Mw3szNLrbXZVOtrK3+wHF689KeL4K2ma2dnZ1rf1LULrc89XN9ofcGlrk39YKD119o5mnw8mQfB2B+NJ/7qo2A+n1yOg96r1YlpWJbBtStdmwze+suV1n+x1tBrX+jRWBeDs/kbjLJaan2GS6DGmi+0vmXiZowbGhskjAaTlZ+S8y2a05PB6tlgdZk8HsxV8SWGWmuKPvyhAgxt6vh/ik6/x1igKa6DcenxWkPbtYaHpsGko2ugU92h6jh54lpW9AR3YScvHFNnoBa/6J1mcKXfvjO70Jl1p96KpMlaafNqpY3xWolj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11cuHfwBQSwECFAAUAAAACACqUE1ach2YY4AAAAC1AAAADQAAAAAAAAAAAAAAAAAAAAAAbWFuaWZlc3QuanNvblBLAQIUABQAAAAIAKpQTVrrMUDkMQYAAM8jAAA0AAAAAAAAAAAAAAAAAKsAAABhbmltYXRpb25zL2E5OGNkOGY1LWI1OTYtNGZlYS05OWU5LWE5MjEyYTAzNmNiMi5qc29uUEsFBgAAAAACAAIAnQAAAC4HAAAAAA==";
|
|
2
|
+
export {
|
|
3
|
+
A as default
|
|
4
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register([],function(A,i){"use strict";return{execute:function(){const Z=A("default","data:application/octet-stream;base64,UEsDBBQAAAAAANpGWFnFf4kZBAEAAAQBAAANAAAAbWFuaWZlc3QuanNvbnsidmVyc2lvbiI6IjEuMCIsInJldmlzaW9uIjoxLCJrZXl3b3JkcyI6IiIsImF1dGhvciI6IkxvdHRpZUZpbGVzIiwiZ2VuZXJhdG9yIjoiZG90TG90dGllLWpzIiwiYW5pbWF0aW9ucyI6W3siaWQiOiJhYTFiNzU2ZC0yZjUzLTQyZTctOWYyMi0wMGIyYWNiNGI2MjYiLCJkaXJlY3Rpb24iOjEsInNwZWVkIjoxLCJwbGF5TW9kZSI6Im5vcm1hbCIsImxvb3AiOmZhbHNlLCJhdXRvcGxheSI6ZmFsc2UsImhvdmVyIjpmYWxzZSwiaW50ZXJtaXNzaW9uIjowfV19UEsDBBQAAAAIANpGWFmgTOjIhhMAAGnIAAA0AAAAYW5pbWF0aW9ucy9hYTFiNzU2ZC0yZjUzLTQyZTctOWYyMi0wMGIyYWNiNGI2MjYuanNvbu2dWW8jOZLHv4qh11Xl5n3U217TWGAWWOzszEuj0dC4VFOati1DVvUcjfnu8/sHmSkqM62qbndZKpsuoCQlmcFgkAzGRcZPix8XbxdVUidZulgu3u8Wb/NqudjcL96my8WWj4rPvyzeFk2+XHygNOf33S0v/cf29n77sPn7Znu3vip4+d27d/bW6uFhvX9YvP32p8WG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cr/BFBLAQIUABQAAAAAANpGWFnFf4kZBAEAAAQBAAANAAAAAAAAAAAAAAAAAAAAAABtYW5pZmVzdC5qc29uUEsBAhQAFAAAAAgA2kZYWaBM6MiGEwAAacgAADQAAAAAAAAAAAAAAAAALwEAAGFuaW1hdGlvbnMvYWExYjc1NmQtMmY1My00MmU3LTlmMjItMDBiMmFjYjRiNjI2Lmpzb25QSwUGAAAAAAIAAgCdAAAABxUAAAAA")}}});
|
package/package.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@fewangsit/wangsvue-fats",
|
|
3
|
+
"version": "1.0.0-alpha.0",
|
|
4
|
+
"author": "Wangsit FE Developer",
|
|
5
|
+
"description": "Fixed Asset Tagsamurai VueJS Component Library",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"module": "./wangsvue-fats.js",
|
|
8
|
+
"types": "./main.d.ts",
|
|
9
|
+
"repository": "https://github.com/fewangsit/wangsvue",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./main.d.ts",
|
|
13
|
+
"import": "./wangsvue-fats.js"
|
|
14
|
+
},
|
|
15
|
+
"./style.css": "./style.css",
|
|
16
|
+
"./config/*": "./config/*",
|
|
17
|
+
"./plugins/*": "./plugins/*",
|
|
18
|
+
"./directives/*": "./directives/*",
|
|
19
|
+
"./components/*": "./components/*",
|
|
20
|
+
"./event-bus/*": "./event-bus/*",
|
|
21
|
+
"./utils/*": "./utils/*"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"@wangs-ui/core": "latest",
|
|
25
|
+
"@wangs-ui/vue": "latest"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { App } from 'vue';
|
|
2
|
+
type PrintOptions = {
|
|
3
|
+
name?: string;
|
|
4
|
+
specs?: string[];
|
|
5
|
+
replace?: boolean;
|
|
6
|
+
styles?: string[];
|
|
7
|
+
};
|
|
8
|
+
declare const VueHtmlToPaper: {
|
|
9
|
+
install(app: App, globalOptions?: PrintOptions): void;
|
|
10
|
+
};
|
|
11
|
+
export default VueHtmlToPaper;
|
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
import { Plugin } from 'vue';
|
|
2
|
+
import { InputOtpRawPreset } from '@wangs-ui/core/dist/types/components/inputotp/inputotp.type';
|
|
3
|
+
import { TabMenuRawPreset } from '@wangs-ui/core/dist/types/components/tabmenu/tabmenu.type';
|
|
4
|
+
import { AnimationDefaultConfig } from '../components/animation/Animation.vue.d';
|
|
5
|
+
import { BadgeComponentConfigs } from '../components/badge/Badge.vue.d';
|
|
6
|
+
import {
|
|
7
|
+
ButtonBulkActionLocaleConfig,
|
|
8
|
+
ButtonBulkActionProps,
|
|
9
|
+
} from '../components/buttonbulkaction/ButtonBulkAction.vue.d';
|
|
10
|
+
import {
|
|
11
|
+
ButtonDownloadLocaleConfig,
|
|
12
|
+
ButtonDownloadProps,
|
|
13
|
+
} from '../components/buttondownload/ButtonDownload.vue.d';
|
|
14
|
+
import { ButtonSearchLocaleConfig } from '../components/buttonsearch/ButtonSearch.vue.d';
|
|
15
|
+
import {
|
|
16
|
+
CalendarLocaleConfig,
|
|
17
|
+
CalendarPresetOptions,
|
|
18
|
+
} from '../components/calendar/Calendar.vue.d';
|
|
19
|
+
import { CustomColumnLocaleConfig } from '../components/customcolumn/CustomColumn.vue.d';
|
|
20
|
+
import {
|
|
21
|
+
DataTableLocaleConfig,
|
|
22
|
+
DataTableProps,
|
|
23
|
+
} from '../components/datatable/DataTable.vue.d';
|
|
24
|
+
import { DialogConfirmLocaleConfig } from '../components/dialogconfirm/DialogConfirm.vue.d';
|
|
25
|
+
import { DialogFormLocaleConfig } from '../components/dialogform/DialogForm.vue.d';
|
|
26
|
+
import {
|
|
27
|
+
DropdownLocaleConfig,
|
|
28
|
+
DropdownProps,
|
|
29
|
+
} from '../components/dropdown/Dropdown.vue.d';
|
|
30
|
+
import {
|
|
31
|
+
FieldWrapperLocaleConfig,
|
|
32
|
+
FieldWrapperProps,
|
|
33
|
+
} from '../components/fieldwrapper/FieldWrapper.vue.d';
|
|
34
|
+
import { FilterContainerLocaleConfig } from '../components/filtercontainer/FilterContainer.vue.d';
|
|
35
|
+
import { ImageProps } from '../components/image/Image.vue.d';
|
|
36
|
+
import { ImageCompressorLocaleConfig } from '../components/imagecompressor/ImageCompressor.vue.d';
|
|
37
|
+
import { InputCurrencyLocaleConfig } from '../components/inputcurrency/InputCurrency.vue.d';
|
|
38
|
+
import { InputEmailProps } from '../components/inputemail/InputEmail.vue.d';
|
|
39
|
+
import { InputNumberLocaleConfig } from '../components/inputnumber/InputNumber.vue.d';
|
|
40
|
+
import { InputPhoneNumberLocaleConfig } from '../components/inputphonenumber/InputPhoneNumber.vue.d';
|
|
41
|
+
import { InputrangeNumberLocaleConfig } from '../components/inputrangenumber/InputRangeNumber.vue.d';
|
|
42
|
+
import {
|
|
43
|
+
InputTextLocaleConfig,
|
|
44
|
+
InputTextProps,
|
|
45
|
+
} from '../components/inputtext/InputText.vue.d';
|
|
46
|
+
import { InputURLProps } from '../components/inputurl/InputURL.vue.d';
|
|
47
|
+
import { LoadingPresetOptions } from '../components/loading/Loading.vue.d';
|
|
48
|
+
import { MenuLocaleConfig } from '../components/menu/Menu.vue.d';
|
|
49
|
+
import { MultiSelectLocaleConfig } from '../components/multiselect/MultiSelect.vue.d';
|
|
50
|
+
import { OverlayPanelPassThroughOptions } from '../components/overlaypanel/OverlayPanel.vue.d';
|
|
51
|
+
import { TagTypeProps } from '../components/tagtype/TagType.vue.d';
|
|
52
|
+
import { TextareaLocaleConfig } from '../components/textarea/Textarea.vue.d';
|
|
53
|
+
import { TreeProps } from '../components/tree/Tree.vue.d';
|
|
54
|
+
import {
|
|
55
|
+
UserNameComponentConfigs,
|
|
56
|
+
UserNameLocaleConfig,
|
|
57
|
+
UserNamePresetOptions,
|
|
58
|
+
} from '../components/username/UserName.vue.d';
|
|
59
|
+
import { type UseToastConfig } from '../utils/toast.util';
|
|
60
|
+
/**
|
|
61
|
+
* A Record of component names with theirs props interface
|
|
62
|
+
*/
|
|
63
|
+
export interface ComponentDefaultPropsConfig {
|
|
64
|
+
FieldWrapper?: FieldWrapperProps;
|
|
65
|
+
InputText?: InputTextProps;
|
|
66
|
+
InputURL?: InputURLProps;
|
|
67
|
+
InputEmail?: InputEmailProps;
|
|
68
|
+
Tree?: TreeProps;
|
|
69
|
+
Image?: ImageProps;
|
|
70
|
+
ButtonBulkAction?: Omit<ButtonBulkActionProps, 'selectedData' | 'options'>;
|
|
71
|
+
Animation?: AnimationDefaultConfig;
|
|
72
|
+
DataTable?: Partial<DataTableProps>;
|
|
73
|
+
Badge?: Partial<BadgeComponentConfigs>;
|
|
74
|
+
UserName?: UserNameComponentConfigs;
|
|
75
|
+
Dropdown?: DropdownProps;
|
|
76
|
+
TagType?: Partial<TagTypeProps>;
|
|
77
|
+
ButtonDownload?: Partial<ButtonDownloadProps>;
|
|
78
|
+
}
|
|
79
|
+
interface ComponentLocaleConfig {
|
|
80
|
+
FieldWrapper?: FieldWrapperLocaleConfig;
|
|
81
|
+
InputText?: InputTextLocaleConfig;
|
|
82
|
+
DialogConfirm?: DialogConfirmLocaleConfig;
|
|
83
|
+
CustomColumn?: CustomColumnLocaleConfig;
|
|
84
|
+
ButtonSearch?: ButtonSearchLocaleConfig;
|
|
85
|
+
FilterContainer?: FilterContainerLocaleConfig;
|
|
86
|
+
MultiSelect?: MultiSelectLocaleConfig;
|
|
87
|
+
Dropdown?: DropdownLocaleConfig;
|
|
88
|
+
InputCurrency?: InputCurrencyLocaleConfig;
|
|
89
|
+
TextArea?: TextareaLocaleConfig;
|
|
90
|
+
InputRangeNumber?: InputrangeNumberLocaleConfig;
|
|
91
|
+
DialogForm?: DialogFormLocaleConfig;
|
|
92
|
+
InputPhoneNumber?: InputPhoneNumberLocaleConfig;
|
|
93
|
+
InputNumber?: InputNumberLocaleConfig;
|
|
94
|
+
Calendar?: CalendarLocaleConfig;
|
|
95
|
+
Menu?: MenuLocaleConfig;
|
|
96
|
+
ButtonBulkAction?: ButtonBulkActionLocaleConfig;
|
|
97
|
+
UserName?: UserNameLocaleConfig;
|
|
98
|
+
DataTable?: DataTableLocaleConfig;
|
|
99
|
+
ImageCompressor?: ImageCompressorLocaleConfig;
|
|
100
|
+
ButtonDownload?: ButtonDownloadLocaleConfig;
|
|
101
|
+
}
|
|
102
|
+
export interface LocaleConfig {
|
|
103
|
+
global: Partial<typeof DEFAULT_GLOBAL_LOCALE_CONFIG>;
|
|
104
|
+
components: ComponentLocaleConfig;
|
|
105
|
+
}
|
|
106
|
+
export interface ComponentPresetOptions {
|
|
107
|
+
calendar: CalendarPresetOptions;
|
|
108
|
+
overlaypanel: OverlayPanelPassThroughOptions;
|
|
109
|
+
loading: LoadingPresetOptions;
|
|
110
|
+
username: UserNamePresetOptions;
|
|
111
|
+
inputotp: InputOtpRawPreset;
|
|
112
|
+
tabmenu: TabMenuRawPreset;
|
|
113
|
+
[key: string]: any;
|
|
114
|
+
}
|
|
115
|
+
export type WangsVueComponentConfig<
|
|
116
|
+
ComponentName extends
|
|
117
|
+
| keyof ComponentDefaultPropsConfig
|
|
118
|
+
| keyof ComponentLocaleConfig,
|
|
119
|
+
> = {
|
|
120
|
+
defaultProps: ComponentName extends keyof ComponentDefaultPropsConfig
|
|
121
|
+
? ComponentDefaultPropsConfig[ComponentName]
|
|
122
|
+
: undefined;
|
|
123
|
+
locale: (ComponentName extends keyof ComponentLocaleConfig
|
|
124
|
+
? ComponentLocaleConfig[ComponentName]
|
|
125
|
+
: undefined) & {
|
|
126
|
+
global: LocaleConfig['global'];
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
export interface WangsVueOptions {
|
|
130
|
+
defaultProps: ComponentDefaultPropsConfig;
|
|
131
|
+
locale: LocaleConfig;
|
|
132
|
+
useToastConfig?: UseToastConfig;
|
|
133
|
+
zIndex?: Record<string, number>;
|
|
134
|
+
filterMatchModeOptions?: Record<string, string[]>;
|
|
135
|
+
/**
|
|
136
|
+
* @deprecated - partially replaced with {@link preset}
|
|
137
|
+
*/
|
|
138
|
+
pt?: ComponentPresetOptions;
|
|
139
|
+
preset?: ComponentPresetOptions;
|
|
140
|
+
ptOptions?: {
|
|
141
|
+
mergeSections: boolean;
|
|
142
|
+
mergeProps: boolean;
|
|
143
|
+
};
|
|
144
|
+
/**
|
|
145
|
+
* @deprecated - Will always be unstyled
|
|
146
|
+
*/
|
|
147
|
+
unstyled?: boolean;
|
|
148
|
+
csp?: {
|
|
149
|
+
nonce?: string;
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
export interface WangsVueInstance {
|
|
153
|
+
config: WangsVueOptions;
|
|
154
|
+
getComponentConfig<
|
|
155
|
+
ComponentName extends
|
|
156
|
+
| keyof ComponentDefaultPropsConfig
|
|
157
|
+
| keyof ComponentLocaleConfig,
|
|
158
|
+
>(
|
|
159
|
+
componentName: ComponentName,
|
|
160
|
+
): WangsVueComponentConfig<ComponentName>;
|
|
161
|
+
}
|
|
162
|
+
declare const DEFAULT_GLOBAL_LOCALE_CONFIG: {
|
|
163
|
+
startsWith: string;
|
|
164
|
+
contains: string;
|
|
165
|
+
notContains: string;
|
|
166
|
+
endsWith: string;
|
|
167
|
+
equals: string;
|
|
168
|
+
notEquals: string;
|
|
169
|
+
noFilter: string;
|
|
170
|
+
lt: string;
|
|
171
|
+
lte: string;
|
|
172
|
+
gt: string;
|
|
173
|
+
gte: string;
|
|
174
|
+
dateIs: string;
|
|
175
|
+
dateIsNot: string;
|
|
176
|
+
dateBefore: string;
|
|
177
|
+
dateAfter: string;
|
|
178
|
+
clear: string;
|
|
179
|
+
apply: string;
|
|
180
|
+
matchAll: string;
|
|
181
|
+
matchAny: string;
|
|
182
|
+
addRule: string;
|
|
183
|
+
removeRule: string;
|
|
184
|
+
accept: string;
|
|
185
|
+
reject: string;
|
|
186
|
+
choose: string;
|
|
187
|
+
upload: string;
|
|
188
|
+
cancel: string;
|
|
189
|
+
completed: string;
|
|
190
|
+
pending: string;
|
|
191
|
+
fileSizeTypes: string[];
|
|
192
|
+
monthNames: string[];
|
|
193
|
+
monthNamesShort: string[];
|
|
194
|
+
dayNames: string[];
|
|
195
|
+
dayNamesShort: string[];
|
|
196
|
+
dayNamesMin: string[];
|
|
197
|
+
chooseYear: string;
|
|
198
|
+
chooseMonth: string;
|
|
199
|
+
chooseDate: string;
|
|
200
|
+
prevDecade: string;
|
|
201
|
+
nextDecade: string;
|
|
202
|
+
prevYear: string;
|
|
203
|
+
nextYear: string;
|
|
204
|
+
prevMonth: string;
|
|
205
|
+
nextMonth: string;
|
|
206
|
+
prevHour: string;
|
|
207
|
+
nextHour: string;
|
|
208
|
+
prevMinute: string;
|
|
209
|
+
nextMinute: string;
|
|
210
|
+
prevSecond: string;
|
|
211
|
+
nextSecond: string;
|
|
212
|
+
pm: string;
|
|
213
|
+
am: string;
|
|
214
|
+
today: string;
|
|
215
|
+
weekHeader: string;
|
|
216
|
+
firstDayOfWeek: number;
|
|
217
|
+
showMonthAfterYear: boolean;
|
|
218
|
+
dateFormat: string;
|
|
219
|
+
weak: string;
|
|
220
|
+
medium: string;
|
|
221
|
+
strong: string;
|
|
222
|
+
passwordPrompt: string;
|
|
223
|
+
emptyFilterMessage: string;
|
|
224
|
+
searchMessage: string;
|
|
225
|
+
selectionMessage: string;
|
|
226
|
+
emptySelectionMessage: string;
|
|
227
|
+
emptySearchMessage: string;
|
|
228
|
+
emptyMessage: string;
|
|
229
|
+
aria: {
|
|
230
|
+
trueLabel: string;
|
|
231
|
+
falseLabel: string;
|
|
232
|
+
nullLabel: string;
|
|
233
|
+
star: string;
|
|
234
|
+
stars: string;
|
|
235
|
+
selectAll: string;
|
|
236
|
+
unselectAll: string;
|
|
237
|
+
close: string;
|
|
238
|
+
previous: string;
|
|
239
|
+
next: string;
|
|
240
|
+
navigation: string;
|
|
241
|
+
scrollTop: string;
|
|
242
|
+
moveTop: string;
|
|
243
|
+
moveUp: string;
|
|
244
|
+
moveDown: string;
|
|
245
|
+
moveBottom: string;
|
|
246
|
+
moveToTarget: string;
|
|
247
|
+
moveToSource: string;
|
|
248
|
+
moveAllToTarget: string;
|
|
249
|
+
moveAllToSource: string;
|
|
250
|
+
pageLabel: string;
|
|
251
|
+
firstPageLabel: string;
|
|
252
|
+
lastPageLabel: string;
|
|
253
|
+
nextPageLabel: string;
|
|
254
|
+
prevPageLabel: string;
|
|
255
|
+
rowsPerPageLabel: string;
|
|
256
|
+
jumpToPageDropdownLabel: string;
|
|
257
|
+
jumpToPageInputLabel: string;
|
|
258
|
+
selectRow: string;
|
|
259
|
+
unselectRow: string;
|
|
260
|
+
expandRow: string;
|
|
261
|
+
collapseRow: string;
|
|
262
|
+
showFilterMenu: string;
|
|
263
|
+
hideFilterMenu: string;
|
|
264
|
+
filterOperator: string;
|
|
265
|
+
filterConstraint: string;
|
|
266
|
+
editRow: string;
|
|
267
|
+
saveEdit: string;
|
|
268
|
+
cancelEdit: string;
|
|
269
|
+
listView: string;
|
|
270
|
+
gridView: string;
|
|
271
|
+
slide: string;
|
|
272
|
+
slideNumber: string;
|
|
273
|
+
zoomImage: string;
|
|
274
|
+
zoomIn: string;
|
|
275
|
+
zoomOut: string;
|
|
276
|
+
rotateRight: string;
|
|
277
|
+
rotateLeft: string;
|
|
278
|
+
listLabel: string;
|
|
279
|
+
};
|
|
280
|
+
};
|
|
281
|
+
export declare const defaultOptions: WangsVueOptions;
|
|
282
|
+
export declare const useWangsVueConfig: <
|
|
283
|
+
T extends
|
|
284
|
+
| (keyof ComponentDefaultPropsConfig | keyof ComponentLocaleConfig)
|
|
285
|
+
| undefined,
|
|
286
|
+
>(
|
|
287
|
+
componentName?: T,
|
|
288
|
+
) => T extends keyof ComponentDefaultPropsConfig | keyof ComponentLocaleConfig
|
|
289
|
+
? WangsVueComponentConfig<T>
|
|
290
|
+
: WangsVueOptions;
|
|
291
|
+
export declare const mergeWangsVueConfig: (
|
|
292
|
+
baseConfig: WangsVueOptions,
|
|
293
|
+
overrideConfig: Partial<WangsVueOptions>,
|
|
294
|
+
) => WangsVueOptions;
|
|
295
|
+
/**
|
|
296
|
+
*
|
|
297
|
+
* @param predefinedOptions
|
|
298
|
+
* @param mergeConfig Wether merge predefined config with defualt config @default true
|
|
299
|
+
* @returns
|
|
300
|
+
*/
|
|
301
|
+
declare const createWangsVuePlugin: (
|
|
302
|
+
predefinedOptions?: Partial<WangsVueOptions>,
|
|
303
|
+
mergeConfig?: boolean,
|
|
304
|
+
) => Plugin<Partial<WangsVueOptions>>;
|
|
305
|
+
export default createWangsVuePlugin;
|
|
306
|
+
declare module 'vue' {
|
|
307
|
+
interface ComponentCustomProperties {
|
|
308
|
+
$wangsvue: WangsVueInstance;
|
|
309
|
+
$preset: ComponentPresetOptions;
|
|
310
|
+
}
|
|
311
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {
|
|
2
|
+
FieldContext,
|
|
3
|
+
FieldOptions,
|
|
4
|
+
FormContext as VeeFormContext,
|
|
5
|
+
RuleExpression,
|
|
6
|
+
} from 'vee-validate';
|
|
7
|
+
import { MaybeRef, MaybeRefOrGetter } from 'vue';
|
|
8
|
+
export interface FormContext<T> {
|
|
9
|
+
values: T;
|
|
10
|
+
handleSubmit: VeeFormContext['handleSubmit'];
|
|
11
|
+
setValues: VeeFormContext['setValues'];
|
|
12
|
+
setFieldValue: VeeFormContext['setFieldValue'];
|
|
13
|
+
errors: VeeFormContext['errors'];
|
|
14
|
+
}
|
|
15
|
+
export declare const useForm: <T>() => FormContext<T>;
|
|
16
|
+
export declare const useField: <T>(
|
|
17
|
+
path: MaybeRefOrGetter<string>,
|
|
18
|
+
rules?: MaybeRef<RuleExpression<T>>,
|
|
19
|
+
opts?: Partial<FieldOptions<T>>,
|
|
20
|
+
) => FieldContext<T>;
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { AxiosResponse } from 'axios';
|
|
2
|
+
import { App, Ref } from 'vue';
|
|
3
|
+
export type Locale = string;
|
|
4
|
+
export interface LanguageOption {
|
|
5
|
+
/**
|
|
6
|
+
* ISO 639-1 language code (e.g., "en" for English, "fr" for French).
|
|
7
|
+
*/
|
|
8
|
+
isoCode?: string;
|
|
9
|
+
/**
|
|
10
|
+
* The name of the language in English (e.g., "English", "Français").
|
|
11
|
+
*/
|
|
12
|
+
name: string;
|
|
13
|
+
/**
|
|
14
|
+
* The URL of the country's flag image.
|
|
15
|
+
* Flags are sourced from https://flagcdn.com and are typically in SVG format for high-quality resolution.
|
|
16
|
+
*/
|
|
17
|
+
flag?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface I18n {
|
|
20
|
+
/**
|
|
21
|
+
* Locale message translation
|
|
22
|
+
*
|
|
23
|
+
* @param key - The translation key
|
|
24
|
+
* @param params - A values of named interpolation
|
|
25
|
+
* @param args - Positional interpolation values
|
|
26
|
+
*
|
|
27
|
+
* @returns translation message
|
|
28
|
+
* @example `t('Hello {user}!', { user: 'John Doe' })` - returns: 'Hello John Doe!'
|
|
29
|
+
* @example `t('Hello %s! I am %s.', "John Doe", "Peter Smith")` - returns: 'Hello John Doe! I am Peter Smith.'
|
|
30
|
+
*/
|
|
31
|
+
t: {
|
|
32
|
+
(key: string, params: Record<string, any>): string;
|
|
33
|
+
(key: string, ...args: (string | number | boolean)[]): string;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Change the locale dynamically
|
|
37
|
+
*
|
|
38
|
+
* @param newLocale - The locale to switch to
|
|
39
|
+
*/
|
|
40
|
+
setLocale: (newLocale: Locale) => Promise<void>;
|
|
41
|
+
/**
|
|
42
|
+
* Get the current locale
|
|
43
|
+
*
|
|
44
|
+
* @returns Current locale
|
|
45
|
+
*/
|
|
46
|
+
locale: Ref<Locale>;
|
|
47
|
+
/**
|
|
48
|
+
* Service methods handle fetch requests
|
|
49
|
+
*/
|
|
50
|
+
service?: I18nService;
|
|
51
|
+
}
|
|
52
|
+
type MessageMap = Record<string, string>;
|
|
53
|
+
export interface I18nService {
|
|
54
|
+
/**
|
|
55
|
+
* Fetch all translation messages for a specific locale.
|
|
56
|
+
* @param locale The locale code (e.g., 'en', 'id').
|
|
57
|
+
* @returns A promise resolving to a key-value record of messages.
|
|
58
|
+
*/
|
|
59
|
+
getMessages(locale: string): Promise<
|
|
60
|
+
AxiosResponse<{
|
|
61
|
+
data: MessageMap;
|
|
62
|
+
}>
|
|
63
|
+
>;
|
|
64
|
+
/**
|
|
65
|
+
* Fetch all available lang options for LanguageDropdown and LanguageSwitcher
|
|
66
|
+
*
|
|
67
|
+
* @returns Promise Array of options
|
|
68
|
+
*/
|
|
69
|
+
getLanguageOptions(): Promise<LanguageOption[]>;
|
|
70
|
+
/**
|
|
71
|
+
* Fetch single lang option meta data
|
|
72
|
+
*
|
|
73
|
+
* @param locale The locale code (e.g., 'en', 'id').
|
|
74
|
+
* @returns Promise LanguageMeta
|
|
75
|
+
*/
|
|
76
|
+
getLanguageOptionMeta(locale: string): Promise<LanguageOption>;
|
|
77
|
+
/**
|
|
78
|
+
* Translate a specific text to the target locale.
|
|
79
|
+
* @param key Unique translation key.
|
|
80
|
+
* @param locale Target locale code.
|
|
81
|
+
* @returns A promise resolving to the translated string.
|
|
82
|
+
*/
|
|
83
|
+
translateText(key: string, locale: string): Promise<string>;
|
|
84
|
+
}
|
|
85
|
+
export declare const useI18n: () => I18n;
|
|
86
|
+
declare const i18n: {
|
|
87
|
+
install: (app: App) => void;
|
|
88
|
+
};
|
|
89
|
+
export declare const createI18nWithExtension: (
|
|
90
|
+
service: I18nService,
|
|
91
|
+
) => typeof i18n;
|
|
92
|
+
export default i18n;
|
|
93
|
+
declare module 'vue' {
|
|
94
|
+
interface ComponentCustomProperties {
|
|
95
|
+
$i18n: I18n;
|
|
96
|
+
$t: I18n['t'];
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
declare global {
|
|
100
|
+
interface Window {
|
|
101
|
+
i18n: I18n;
|
|
102
|
+
}
|
|
103
|
+
}
|