tsv2-library 0.0.12 → 0.0.13

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 (29) hide show
  1. package/dist/components/v2/Button/Button.vue.d.ts +12 -14
  2. package/dist/components/v2/ButtonLogHistory/ButtonLogHistory.vue.d.ts +16 -0
  3. package/dist/components/v2/ButtonViewLog/ButtonViewLog.vue.d.ts +16 -0
  4. package/dist/components/v2/Checkbox/Checkbox.vue.d.ts +13 -15
  5. package/dist/components/v2/Dropdown/Dropdown.vue.d.ts +1 -0
  6. package/dist/components/v2/FieldWrapper/FieldWrapper.vue.d.ts +11 -0
  7. package/dist/components/v2/MultiSelect/MultiSelect.vue.d.ts +1 -0
  8. package/dist/components/v2/ValidatorMessage/ValidatorMessage.vue.d.ts +9 -0
  9. package/dist/components/v2/index.d.ts +11 -1
  10. package/dist/style.css +1 -1
  11. package/dist/tsv2-library.cjs.js +22 -17
  12. package/dist/tsv2-library.cjs.js.map +1 -1
  13. package/dist/tsv2-library.es.js +5037 -971
  14. package/dist/tsv2-library.es.js.map +1 -1
  15. package/dist/tsv2-library.umd.js +34 -29
  16. package/dist/tsv2-library.umd.js.map +1 -1
  17. package/dist/types/fieldValidation.type.d.ts +9 -0
  18. package/dist/utils/exportToExcel.util.d.ts +7 -0
  19. package/dist/utils/index.d.ts +8 -0
  20. package/dist/utils/textFormater.util.d.ts +3 -0
  21. package/package.json +1 -1
  22. package/src/components/v2/Button/Button.vue.d.ts +12 -0
  23. package/src/components/v2/ButtonLogHistory/ButtonLogHistory.vue.d.ts +16 -0
  24. package/src/components/v2/ButtonViewLog/ButtonViewLog.vue.d.ts +16 -0
  25. package/src/components/v2/Checkbox/Checkbox.vue.d.ts +13 -0
  26. package/src/components/v2/Dropdown/Dropdown.vue.d.ts +1 -0
  27. package/src/components/v2/FieldWrapper/FieldWrapper.vue.d.ts +11 -0
  28. package/src/components/v2/MultiSelect/MultiSelect.vue.d.ts +1 -0
  29. package/src/components/v2/ValidatorMessage/ValidatorMessage.vue.d.ts +9 -0
@@ -1,14 +1,12 @@
1
- import type { PropType as __PropType } from 'vue';
2
- import { TSVueIcons } from '../Icon/Icon.vue.d';
3
- declare const _sfc_main: import("vue").DefineComponent<{
4
- icon: {
5
- type: __PropType<TSVueIcons | undefined>;
6
- required: false;
7
- };
8
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
9
- icon: {
10
- type: __PropType<TSVueIcons | undefined>;
11
- required: false;
12
- };
13
- }>>, {}, {}>;
14
- export default _sfc_main;
1
+ import { DefineComponent } from 'vue';
2
+ import { ButtonProps } from '../../../../node_modules/primevue/button';
3
+ import type { TSVueIcons } from '../../../components/v2/Icon/Icon.vue.d';
4
+
5
+ export interface TSButtonProps
6
+ extends /* @vue-ignore */ Omit<ButtonProps, 'icon'> {
7
+ icon?: TSVueIcons;
8
+ }
9
+
10
+ declare const TSButton: DefineComponent<TSButtonProps>;
11
+
12
+ export default TSButton;
@@ -0,0 +1,16 @@
1
+ import { DefineComponent } from 'vue';
2
+
3
+ export interface ButtonLogHistoryProps {
4
+ showHistoryLog?: boolean;
5
+ }
6
+
7
+ export type ButtonLogHistoryEmits = {
8
+ 'update:showHistoryLog': [state: boolean];
9
+ };
10
+
11
+ declare const ButtonLogHistory: DefineComponent<
12
+ ButtonLogHistoryProps,
13
+ ButtonLogHistoryEmits
14
+ >;
15
+
16
+ export default ButtonLogHistory;
@@ -0,0 +1,16 @@
1
+ import { DefineComponent } from 'vue';
2
+
3
+ export interface ButtonViewLogProps {
4
+ showLog?: boolean;
5
+ }
6
+
7
+ export type ButtonViewLogEmits = {
8
+ 'update:showLog': [state: boolean];
9
+ };
10
+
11
+ declare const ButtonViewLog: DefineComponent<
12
+ ButtonViewLogProps,
13
+ ButtonViewLogEmits
14
+ >;
15
+
16
+ export default ButtonViewLog;
@@ -1,15 +1,13 @@
1
- import type { PropType as __PropType } from 'vue';
2
- declare const _sfc_main: import("vue").DefineComponent<{
3
- modelValue: {
4
- type: __PropType<boolean>;
5
- required: true;
6
- };
7
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
8
- modelValue: {
9
- type: __PropType<boolean>;
10
- required: true;
11
- };
12
- }>> & {
13
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
14
- }, {}, {}>;
15
- export default _sfc_main;
1
+ import { DefineComponent } from 'vue';
2
+
3
+ export interface CheckboxProps {
4
+ modelValue: boolean;
5
+ }
6
+
7
+ export type CheckboxEmits = {
8
+ 'update:modelValue': [state: boolean];
9
+ };
10
+
11
+ declare const Checkbox: DefineComponent<CheckboxProps, CheckboxEmits>;
12
+
13
+ export default Checkbox;
@@ -1,3 +1,4 @@
1
+ import { DefineComponent } from 'vue';
1
2
  import { DropdownOption, DropdownOptionValue } from '../../../types/options';
2
3
 
3
4
  /**
@@ -0,0 +1,11 @@
1
+ import { DefineComponent } from 'vue';
2
+
3
+ export interface FieldWrapperProps {
4
+ label?: string;
5
+ mandatory?: boolean;
6
+ info?: string;
7
+ }
8
+
9
+ declare const FieldWrapper: DefineComponent<FieldWrapperProps>;
10
+
11
+ export default FieldWrapper;
@@ -1,3 +1,4 @@
1
+ import { DefineComponent } from 'vue';
1
2
  import { MultiSelectOption, MultiSelectOptionValue } from '../../../types/options';
2
3
 
3
4
  /**
@@ -0,0 +1,9 @@
1
+ import { DefineComponent } from 'vue';
2
+
3
+ export interface ValidatorMessageProps {
4
+ message?: string;
5
+ }
6
+
7
+ declare const ValidatorMessage: DefineComponent<ValidatorMessageProps>;
8
+
9
+ export default ValidatorMessage;
@@ -1,4 +1,14 @@
1
+ import TSBadge from './Badge/Badge.vue';
2
+ import TSBreadcrumb from './Breadcrumb/Breadcrumb.vue';
1
3
  import TSButton from './Button/Button.vue';
4
+ import TSButtonLogHistory from './ButtonLogHistory/ButtonLogHistory.vue';
5
+ import TSButtonViewLog from './ButtonViewLog/ButtonViewLog.vue';
2
6
  import TSCheckbox from './Checkbox/Checkbox.vue';
7
+ import TSFilterContainer from './FilterContainer/FilterContainer.vue';
8
+ import TSForm from './Form/Form.vue';
9
+ import TSInputEmail from './InputEmail/InputEmail.vue';
10
+ import TSInputNumber from './InputNumber/InputNumber.vue';
11
+ import TSInputText from './InputText/InputText.vue';
3
12
  import TSTabMenu from './TabMenu/TabMenu.vue';
4
- export { TSButton, TSCheckbox, TSTabMenu };
13
+ import TSValidatorMessage from './ValidatorMessage/ValidatorMessage.vue';
14
+ export { TSBadge, TSBreadcrumb, TSButton, TSButtonLogHistory, TSButtonViewLog, TSCheckbox, TSFilterContainer, TSForm, TSInputEmail, TSInputNumber, TSInputText, TSTabMenu, TSValidatorMessage, };