@fewangsit/wangsvue-fats 1.0.0-alpha.99 → 1.0.0-rc.1

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 (36) hide show
  1. package/components/assetinfo/AssetInfo.vue.d.ts +5 -0
  2. package/components/buttondownload/ButtonDownload.vue.d.ts +31 -0
  3. package/components/carousel/Carousel.vue.d.ts +28 -0
  4. package/components/datatable/DataTable.vue.d.ts +2 -0
  5. package/components/datepicker/DatePicker.vue.d.ts +52 -0
  6. package/components/daypicker/DayPicker.vue.d.ts +52 -0
  7. package/components/dialogconfirm/DialogConfirm.vue.d.ts +1 -1
  8. package/components/dialogtransferlog/DialogTransferLog.vue.d.ts +16 -0
  9. package/components/dropdown/Dropdown.vue.d.ts +5 -0
  10. package/components/fieldwrapper/FieldWrapper.vue.d.ts +7 -0
  11. package/components/filtercontainer/FilterContainer.vue.d.ts +96 -65
  12. package/components/form/Form.vue.d.ts +2 -0
  13. package/components/icon/Icon.vue.d.ts +1 -0
  14. package/components/imagecompressor/ImageCompressor.vue.d.ts +8 -0
  15. package/components/index.d.ts +9 -0
  16. package/components/inputotp/InputOtp.vue.d.ts +3 -0
  17. package/components/steps/Steps.vue.d.ts +20 -0
  18. package/components/tabmenu/TabMenu.vue.d.ts +1 -1
  19. package/components/ts-helpers.d.ts +8 -0
  20. package/components/username/UserName.vue.d.ts +7 -2
  21. package/components/validatormessage/ValidatorMessage.vue.d.ts +12 -0
  22. package/event-bus/index.d.ts +5 -2
  23. package/package.json +15 -8
  24. package/plugins/WangsVue.d.ts +6 -0
  25. package/plugins/formValidation.d.ts +1 -0
  26. package/stats.html +1 -1
  27. package/style.css +1 -1
  28. package/utils/exportToExcel.util.d.ts +27 -0
  29. package/utils/getStatusSeverity.util.d.ts +33 -0
  30. package/utils/index.d.ts +4 -2
  31. package/utils/isBasic.util.d.ts +1 -0
  32. package/utils/role.util.d.ts +2 -0
  33. package/utils/xlsx.util.d.ts +19 -0
  34. package/wangsvue-fats.js +21556 -20788
  35. package/wangsvue-fats.system.js +72 -71
  36. package/utils/getSeverityByAssetStatus.util.d.ts +0 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fewangsit/wangsvue-fats",
3
- "version": "1.0.0-alpha.99",
3
+ "version": "1.0.0-rc.1",
4
4
  "author": "Wangsit FE Developer",
5
5
  "description": "Fixed Asset Tagsamurai VueJS Component Library",
6
6
  "type": "module",
@@ -8,13 +8,20 @@
8
8
  "types": "./main.d.ts",
9
9
  "repository": "https://github.com/fewangsit/wangsvue",
10
10
  "exports": {
11
- ".": "./wangsvue-fats.js",
11
+ ".": {
12
+ "types": "./main.d.ts",
13
+ "import": "./wangsvue-fats.js"
14
+ },
12
15
  "./style.css": "./style.css",
13
- "./config": "./config",
14
- "./plugins": "./plugins",
15
- "./directives": "./directives",
16
- "./components": "./components",
17
- "./event-bus": "./event-bus",
18
- "./utils": "./utils"
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"
19
26
  }
20
27
  }
@@ -7,6 +7,10 @@ import {
7
7
  ButtonBulkActionLocaleConfig,
8
8
  ButtonBulkActionProps,
9
9
  } from '../components/buttonbulkaction/ButtonBulkAction.vue.d';
10
+ import {
11
+ ButtonDownloadLocaleConfig,
12
+ ButtonDownloadProps,
13
+ } from '../components/buttondownload/ButtonDownload.vue.d';
10
14
  import { ButtonSearchLocaleConfig } from '../components/buttonsearch/ButtonSearch.vue.d';
11
15
  import {
12
16
  CalendarLocaleConfig,
@@ -70,6 +74,7 @@ export interface ComponentDefaultPropsConfig {
70
74
  UserName?: UserNameComponentConfigs;
71
75
  Dropdown?: DropdownProps;
72
76
  TagType?: Partial<TagTypeProps>;
77
+ ButtonDownload?: Partial<ButtonDownloadProps>;
73
78
  }
74
79
  interface ComponentLocaleConfig {
75
80
  FieldWrapper?: FieldWrapperLocaleConfig;
@@ -92,6 +97,7 @@ interface ComponentLocaleConfig {
92
97
  UserName?: UserNameLocaleConfig;
93
98
  DataTable?: DataTableLocaleConfig;
94
99
  ImageCompressor?: ImageCompressorLocaleConfig;
100
+ ButtonDownload?: ButtonDownloadLocaleConfig;
95
101
  }
96
102
  export interface LocaleConfig {
97
103
  global: Partial<typeof DEFAULT_GLOBAL_LOCALE_CONFIG>;
@@ -10,6 +10,7 @@ export interface FormContext<T> {
10
10
  handleSubmit: VeeFormContext['handleSubmit'];
11
11
  setValues: VeeFormContext['setValues'];
12
12
  setFieldValue: VeeFormContext['setFieldValue'];
13
+ errors: VeeFormContext['errors'];
13
14
  }
14
15
  export declare const useForm: <T>() => FormContext<T>;
15
16
  export declare const useField: <T>(