portal-design-system 0.0.934 → 0.0.935
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/dist/components/Pagination.vue.d.ts +17 -0
- package/dist/components/composables/useOverlay.d.ts +5 -0
- package/dist/components/inputs/Label.vue.d.ts +24 -0
- package/dist/components/inputs/Radio.vue.d.ts +14 -0
- package/dist/components/inputs/RadioGroup.vue.d.ts +19 -0
- package/dist/components/overlays/Drawer.vue.d.ts +39 -0
- package/dist/components/overlays/Heading.vue.d.ts +11 -0
- package/dist/index.cjs +21 -21
- package/dist/index.d.ts +5 -2
- package/dist/index.js +12000 -11729
- package/dist/styles.css +1 -1
- package/dist/types/button-types.d.ts +1 -1
- package/dist/types/dev-express-types.d.ts +47 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
- /package/dist/components/{Dialog.vue.d.ts → overlays/Dialog.vue.d.ts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type ButtonHeight = 'auto' | '36' | '40' | '44' | '48';
|
|
1
|
+
export type ButtonHeight = 'auto' | '24' | '36' | '40' | '44' | '48';
|
|
2
2
|
export type Variant = 'primary' | 'secondary' | 'ghost' | 'outline';
|
|
3
3
|
export type ButtonRadius = 'none' | 'full' | '4' | '8' | '12' | '16';
|
|
4
4
|
export declare const buttonSizeClasses: Record<ButtonHeight, string>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SelectOptionType } from '.';
|
|
1
2
|
export type DxCustomColumn = {
|
|
2
3
|
dataField?: string;
|
|
3
4
|
filterValue?: string;
|
|
@@ -21,3 +22,49 @@ export type DxCustomColumn = {
|
|
|
21
22
|
fixed?: boolean;
|
|
22
23
|
fixedPosition?: 'left' | 'right';
|
|
23
24
|
};
|
|
25
|
+
type FilterOperator = '=' | '<>' | '>' | '>=' | '<' | '<=' | 'contains' | 'notcontains' | 'startswith' | 'endswith';
|
|
26
|
+
type FilterCondition<K extends string = string, V = string | number | boolean | Date> = [
|
|
27
|
+
key: K,
|
|
28
|
+
operator: FilterOperator,
|
|
29
|
+
value: V
|
|
30
|
+
];
|
|
31
|
+
type LogicalOperator = 'and' | 'or';
|
|
32
|
+
type FilterExpression = Array<FilterCondition | LogicalOperator>;
|
|
33
|
+
export type SortOptionType = {
|
|
34
|
+
selector: string;
|
|
35
|
+
desc: boolean;
|
|
36
|
+
};
|
|
37
|
+
export type LoadOptionBaseType = {
|
|
38
|
+
skip: number;
|
|
39
|
+
take: number;
|
|
40
|
+
sort?: Array<SortOptionType>;
|
|
41
|
+
filter?: Array<FilterExpression>;
|
|
42
|
+
requireTotalCount?: boolean;
|
|
43
|
+
requireGroupCount?: boolean;
|
|
44
|
+
isCountQuery?: boolean;
|
|
45
|
+
isSummaryQuery?: boolean;
|
|
46
|
+
group?: Array<SortOptionType>;
|
|
47
|
+
totalSummary?: Array<{
|
|
48
|
+
summaryType: string;
|
|
49
|
+
selector?: string;
|
|
50
|
+
}>;
|
|
51
|
+
groupSummary?: Array<{
|
|
52
|
+
summaryType: string;
|
|
53
|
+
selector?: string;
|
|
54
|
+
}>;
|
|
55
|
+
};
|
|
56
|
+
export type SortOptionListType = Array<SortOptionType & {
|
|
57
|
+
label?: string;
|
|
58
|
+
}>;
|
|
59
|
+
export type FilterOptionType = {
|
|
60
|
+
dataField: string;
|
|
61
|
+
operator: FilterOperator;
|
|
62
|
+
value: string | number | boolean | Date;
|
|
63
|
+
component: 'select' | 'text' | 'radio' | 'date' | 'datetime' | 'number' | 'checkbox' | 'range' | 'custom';
|
|
64
|
+
widthRatio?: 1 | 2 | 3 | 4;
|
|
65
|
+
options?: SelectOptionType[];
|
|
66
|
+
disabled?: boolean;
|
|
67
|
+
label?: string;
|
|
68
|
+
};
|
|
69
|
+
export type FilterOptionListType = Array<FilterOptionType>;
|
|
70
|
+
export {};
|
package/dist/types/index.d.ts
CHANGED
package/package.json
CHANGED
|
File without changes
|