@fewangsit/wangsvue-fats 1.0.0-alpha.7 → 1.0.0-alpha.8
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/build-entry.d.ts +2 -2
- package/components/index.d.ts +0 -2
- package/components/languagedropdown/LanguageDropdown.vue.d.ts +1 -4
- package/components/timeline/Timeline.vue.d.ts +7 -1
- package/components/timeline/TimelineContentByType.vue.d.ts +3 -3
- package/package.json +1 -1
- package/plugins/i18n-extension.d.ts +4 -0
- package/plugins/{translation.d.ts → i18n.d.ts} +46 -3
- package/style.css +1 -1
- package/wangsvue-fats.es.js +14804 -15683
- package/wangsvue-fats.system.js +145 -145
- package/assets/json/supported-official-langs.json.d.ts +0 -530
- package/components/changelog/Changelog.vue.d.ts +0 -158
- package/components/changelogpage/ChangelogFilter.vue.d.ts +0 -16
- package/components/changelogpage/ChangelogPage.vue.d.ts +0 -128
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { BaseChangelogPageProps } from './ChangelogPage.vue.d';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<BaseChangelogPageProps & {
|
|
3
|
-
tableName: string;
|
|
4
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<BaseChangelogPageProps & {
|
|
5
|
-
tableName: string;
|
|
6
|
-
}>>>, {}, {}>;
|
|
7
|
-
export default _default;
|
|
8
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
-
type __VLS_TypePropsToOption<T> = {
|
|
10
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
12
|
-
} : {
|
|
13
|
-
type: import('vue').PropType<T[K]>;
|
|
14
|
-
required: true;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
import { ClassComponent, GlobalComponentConstructor } from '../.././components/ts-helpers';
|
|
2
|
-
import { ChangelogDefaultField, ChangelogTemplateColumn, ChangelogTemplateFilter } from '../changelog/Changelog.vue.d';
|
|
3
|
-
import { ChangelogFilterQuery } from '@tagsamurai/acts-api-services/src/dto/changelog.dto';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Props for Changelog component
|
|
8
|
-
*/
|
|
9
|
-
export interface BaseChangelogPageProps {
|
|
10
|
-
/**
|
|
11
|
-
* Note: Dont use this props since it's just for changelog dialog purpose
|
|
12
|
-
* @ignore
|
|
13
|
-
*/
|
|
14
|
-
isDialog?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* To give additional columns in changelog table
|
|
17
|
-
*/
|
|
18
|
-
additionalTemplateColumns?: ChangelogTemplateColumn[];
|
|
19
|
-
/**
|
|
20
|
-
* To give additional filters in changelog filter
|
|
21
|
-
*/
|
|
22
|
-
additionalTemplateFilters?: ChangelogTemplateFilter[];
|
|
23
|
-
/**
|
|
24
|
-
* Array to determine that these columns will be hidden
|
|
25
|
-
*/
|
|
26
|
-
removedColumns?: ChangelogDefaultField[];
|
|
27
|
-
/**
|
|
28
|
-
* Array to determine that these filter fields will be hidden
|
|
29
|
-
*/
|
|
30
|
-
removedFilters?: Omit<ChangelogDefaultField, 'oldValue' | 'newValue'>[];
|
|
31
|
-
/**
|
|
32
|
-
* To set custom name for specific column in changelog table
|
|
33
|
-
*/
|
|
34
|
-
objectNameColumn?: string;
|
|
35
|
-
/**
|
|
36
|
-
* Title content of the dialog.
|
|
37
|
-
*/
|
|
38
|
-
header?: string | undefined;
|
|
39
|
-
/**
|
|
40
|
-
* Changelog object.
|
|
41
|
-
* Note: Even if this props is mandatory, if you fill props `objects` then props `object` will not be processed in component.
|
|
42
|
-
* @description If changelog using userId, just fill props object with any string (will not be used)
|
|
43
|
-
*/
|
|
44
|
-
object: string;
|
|
45
|
-
/**
|
|
46
|
-
* Changelog objects.
|
|
47
|
-
* Note: This props will override props Object
|
|
48
|
-
*/
|
|
49
|
-
objects?: string[];
|
|
50
|
-
/**
|
|
51
|
-
* Changelog object ID.
|
|
52
|
-
*/
|
|
53
|
-
objectId?: string;
|
|
54
|
-
/**
|
|
55
|
-
* Changelog custom params, contains stringified filter query needed.
|
|
56
|
-
*/
|
|
57
|
-
defaultParamsQuery?: ChangelogFilterQuery;
|
|
58
|
-
/**
|
|
59
|
-
* Changelog custom params, contains stringified filter query needed.
|
|
60
|
-
*/
|
|
61
|
-
customParams?: ChangelogFilterQuery;
|
|
62
|
-
/**
|
|
63
|
-
* Now changelog support custom table name from outside
|
|
64
|
-
*/
|
|
65
|
-
tableName?: string;
|
|
66
|
-
/**
|
|
67
|
-
* Changelog User ID
|
|
68
|
-
*/
|
|
69
|
-
userId?: string;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export interface ButtonDownloadTrue extends BaseChangelogPageProps {
|
|
73
|
-
/**
|
|
74
|
-
* Use this props if changelog need button download
|
|
75
|
-
*/
|
|
76
|
-
useButtonDownload: true;
|
|
77
|
-
/**
|
|
78
|
-
* File name is a must if there's button download
|
|
79
|
-
* @default 'Changelog' only
|
|
80
|
-
*/
|
|
81
|
-
fileName: string;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
export interface ButtonDownloadFalse extends BaseChangelogPageProps {
|
|
85
|
-
/**
|
|
86
|
-
* Use this props if changelog need button download
|
|
87
|
-
*/
|
|
88
|
-
useButtonDownload: false;
|
|
89
|
-
/**
|
|
90
|
-
* File name is a must if there's button download
|
|
91
|
-
* @default 'Changelog' only
|
|
92
|
-
*/
|
|
93
|
-
fileName?: string;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
export type ChangelogPageProps = ButtonDownloadFalse | ButtonDownloadTrue;
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* Emits for Changelog component
|
|
100
|
-
*/
|
|
101
|
-
export type ChangelogPageEmits = {
|
|
102
|
-
hide: [];
|
|
103
|
-
};
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* **WangsVue - Changelog**
|
|
107
|
-
*
|
|
108
|
-
* _Changelog is a component for to show changelog dialog.
|
|
109
|
-
* You need to install vee-validate while using this component._
|
|
110
|
-
*
|
|
111
|
-
* --- ---
|
|
112
|
-
* 
|
|
113
|
-
*
|
|
114
|
-
* @group components
|
|
115
|
-
*/
|
|
116
|
-
declare class ChangelogPage extends ClassComponent<
|
|
117
|
-
ChangelogPageProps,
|
|
118
|
-
unknown,
|
|
119
|
-
ChangelogPageEmits
|
|
120
|
-
> {}
|
|
121
|
-
|
|
122
|
-
declare module '@vue/runtime-core' {
|
|
123
|
-
interface GlobalComponents {
|
|
124
|
-
Changelog: GlobalComponentConstructor<ChangelogPage>;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
export default ChangelogPage;
|