@3squared/forge-ui-3 0.2.2 → 0.3.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/dist/esm/{forge-ui-3.mjs → forge-ui-3.js} +924 -899
- package/dist/esm/style.css +2 -2
- package/dist/index.d.ts +23 -23
- package/dist/src/components/ForgeAlert.vue.d.ts +1 -1
- package/dist/src/components/ForgeCheckbox.vue.d.ts +1 -1
- package/dist/src/components/ForgeChips.vue.d.ts +3 -3
- package/dist/src/components/ForgeDatepicker.vue.d.ts +3 -3
- package/dist/src/components/ForgeFormField.vue.d.ts +1 -1
- package/dist/src/components/ForgeLoader.vue.d.ts +1 -1
- package/dist/src/components/ForgeModal.vue.d.ts +2 -2
- package/dist/src/components/ForgeMultiSelect.vue.d.ts +2 -2
- package/dist/src/components/ForgeNavbar.vue.d.ts +2 -2
- package/dist/src/components/ForgeProgressBar.vue.d.ts +1 -1
- package/dist/src/components/ForgeStepper.vue.d.ts +2 -2
- package/dist/src/components/file-uploader/ForgeFileUploader.vue.d.ts +1 -1
- package/dist/src/components/file-uploader/components/FileInfo.vue.d.ts +1 -1
- package/dist/src/passthroughs/Badge.pt.d.ts +30 -0
- package/dist/src/passthroughs/Button.pt.d.ts +262 -0
- package/dist/src/passthroughs/Card.pt.d.ts +26 -0
- package/dist/src/passthroughs/Checkbox.pt.d.ts +17 -0
- package/dist/src/passthroughs/Chips.pt.d.ts +7 -0
- package/dist/src/passthroughs/Column.pt.d.ts +90 -0
- package/dist/src/passthroughs/Datepicker.pt.d.ts +40 -0
- package/dist/src/passthroughs/Dialog.pt.d.ts +38 -0
- package/dist/src/passthroughs/Divider.pt.d.ts +6 -0
- package/dist/src/passthroughs/Dropdown.pt.d.ts +49 -0
- package/dist/src/passthroughs/Image.pt.d.ts +15 -0
- package/dist/src/passthroughs/Input.pt.d.ts +13 -0
- package/dist/src/passthroughs/InputMask.pt.d.ts +8 -0
- package/dist/src/passthroughs/Message.pt.d.ts +30 -0
- package/dist/src/passthroughs/Navbar.pt.d.ts +57 -0
- package/dist/src/passthroughs/OverlayPanel.pt.d.ts +15 -0
- package/dist/src/passthroughs/ProgressBar.pt.d.ts +14 -0
- package/dist/src/passthroughs/ProgressSpinner.pt.d.ts +8 -0
- package/dist/src/passthroughs/SelectButton.pt.d.ts +21 -0
- package/dist/src/passthroughs/Steps.pt.d.ts +7 -0
- package/dist/src/passthroughs/Table.pt.d.ts +56 -0
- package/dist/src/passthroughs/Tabs.pt.d.ts +38 -0
- package/dist/src/passthroughs/TextArea.pt.d.ts +8 -0
- package/dist/src/passthroughs/Toast.pt.d.ts +36 -0
- package/dist/src/passthroughs/Tooltip.pt.d.ts +21 -0
- package/dist/src/types/forge-types.d.ts +3 -3
- package/package.json +18 -17
- package/src/styles/components/_chips.scss +3 -0
- package/src/styles/main.scss +1 -0
- package/src/styles/utilities/_variables.scss +33 -1
- package/src/types/forge-types.ts +1 -1
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { ColumnPassThroughMethodOptions, ColumnProps } from 'primevue/column';
|
|
2
|
+
|
|
3
|
+
declare const _default: {
|
|
4
|
+
column: {
|
|
5
|
+
sortBadge: string;
|
|
6
|
+
headerCell: (options: ColumnPassThroughMethodOptions & {
|
|
7
|
+
props: {
|
|
8
|
+
reorderableColumns: boolean;
|
|
9
|
+
};
|
|
10
|
+
column: {
|
|
11
|
+
context: {
|
|
12
|
+
frozen: boolean | '';
|
|
13
|
+
resizable: boolean;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
}) => {
|
|
17
|
+
class: {
|
|
18
|
+
'cursor-move': boolean;
|
|
19
|
+
'position-sticky': true;
|
|
20
|
+
'overflow-hidden position-relative bg-clip-padding': boolean;
|
|
21
|
+
}[];
|
|
22
|
+
};
|
|
23
|
+
roweditorinitbutton: string;
|
|
24
|
+
rowtoggler: {
|
|
25
|
+
class: string;
|
|
26
|
+
};
|
|
27
|
+
columnresizer: {
|
|
28
|
+
class: string;
|
|
29
|
+
};
|
|
30
|
+
roweditorsavebutton: string;
|
|
31
|
+
roweditorcancelbutton: string;
|
|
32
|
+
bodyCell: (options: ColumnPassThroughMethodOptions & {
|
|
33
|
+
props: {
|
|
34
|
+
resizableColumns: boolean;
|
|
35
|
+
};
|
|
36
|
+
column: {
|
|
37
|
+
props: {
|
|
38
|
+
frozen: boolean | '';
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
}) => {
|
|
42
|
+
class: {
|
|
43
|
+
'position-sticky': boolean;
|
|
44
|
+
'overflow-hidden text-nowrap': boolean;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
rowreordericon: string;
|
|
48
|
+
filterMenuButton: ({ props }: ColumnProps & {
|
|
49
|
+
props: {
|
|
50
|
+
type: string;
|
|
51
|
+
};
|
|
52
|
+
}) => {
|
|
53
|
+
class: (string | {
|
|
54
|
+
'd-none': boolean;
|
|
55
|
+
})[];
|
|
56
|
+
};
|
|
57
|
+
headerFilterClearButton: () => {
|
|
58
|
+
class: string[];
|
|
59
|
+
};
|
|
60
|
+
filterOverlay: {
|
|
61
|
+
class: string[];
|
|
62
|
+
};
|
|
63
|
+
filterRowItems: {
|
|
64
|
+
class: string[];
|
|
65
|
+
};
|
|
66
|
+
columnfilter: string;
|
|
67
|
+
filterRowItem: (options: ColumnPassThroughMethodOptions) => {
|
|
68
|
+
class: (string | {
|
|
69
|
+
active: any;
|
|
70
|
+
})[];
|
|
71
|
+
};
|
|
72
|
+
filterSeparator: {
|
|
73
|
+
class: string[];
|
|
74
|
+
};
|
|
75
|
+
headerContent: string;
|
|
76
|
+
sort: string;
|
|
77
|
+
rowCheckbox: (options: any) => {
|
|
78
|
+
class: (string | {
|
|
79
|
+
'bg-primary': any;
|
|
80
|
+
'form-check-input__focus': any;
|
|
81
|
+
})[];
|
|
82
|
+
};
|
|
83
|
+
rowRadioButton: (options: any) => {
|
|
84
|
+
class: (string | {
|
|
85
|
+
disabled: any;
|
|
86
|
+
})[];
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
export default _default;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { CalendarPassThroughMethodOptions } from 'primevue/calendar';
|
|
2
|
+
|
|
3
|
+
declare const _default: {
|
|
4
|
+
calendar: {
|
|
5
|
+
root: string;
|
|
6
|
+
input: string;
|
|
7
|
+
panel: ({ props }: CalendarPassThroughMethodOptions) => {
|
|
8
|
+
class: (string | {
|
|
9
|
+
'shadow border-0 position-absolute': boolean;
|
|
10
|
+
})[];
|
|
11
|
+
};
|
|
12
|
+
header: string;
|
|
13
|
+
previousButton: string;
|
|
14
|
+
nextButton: string;
|
|
15
|
+
yearTitle: string;
|
|
16
|
+
monthTitle: string;
|
|
17
|
+
table: string;
|
|
18
|
+
tableHeaderRow: string;
|
|
19
|
+
weekday: string;
|
|
20
|
+
monthPicker: string;
|
|
21
|
+
month: string;
|
|
22
|
+
yearPicker: string;
|
|
23
|
+
year: string;
|
|
24
|
+
timePicker: string;
|
|
25
|
+
separatorContainer: string;
|
|
26
|
+
separator: string;
|
|
27
|
+
hourPicker: string;
|
|
28
|
+
hour: string;
|
|
29
|
+
minutePicker: string;
|
|
30
|
+
minute: string;
|
|
31
|
+
secondPicker: string;
|
|
32
|
+
second: string;
|
|
33
|
+
buttonbar: ({ props }: CalendarPassThroughMethodOptions) => {
|
|
34
|
+
class: (string | {
|
|
35
|
+
'border-top': boolean;
|
|
36
|
+
})[];
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
export default _default;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { DialogPassThroughMethodOptions } from 'primevue/dialog';
|
|
2
|
+
|
|
3
|
+
declare const _default: {
|
|
4
|
+
dialog: {
|
|
5
|
+
header: () => {
|
|
6
|
+
class: string[];
|
|
7
|
+
};
|
|
8
|
+
headerTitle: () => {
|
|
9
|
+
class: string[];
|
|
10
|
+
};
|
|
11
|
+
content: () => {
|
|
12
|
+
class: string[];
|
|
13
|
+
};
|
|
14
|
+
footer: () => {
|
|
15
|
+
class: string[];
|
|
16
|
+
};
|
|
17
|
+
headerIcons: () => {
|
|
18
|
+
class: string[];
|
|
19
|
+
};
|
|
20
|
+
icons: string;
|
|
21
|
+
closeButton: ({ props }: DialogPassThroughMethodOptions<any>) => {
|
|
22
|
+
class: (string | {
|
|
23
|
+
'ms-auto': boolean;
|
|
24
|
+
})[];
|
|
25
|
+
};
|
|
26
|
+
maximizableButton: ({ props }: DialogPassThroughMethodOptions<any>) => {
|
|
27
|
+
class: (string | {
|
|
28
|
+
"me-3": boolean | undefined;
|
|
29
|
+
})[];
|
|
30
|
+
};
|
|
31
|
+
mask: ({ props }: DialogPassThroughMethodOptions<any>) => {
|
|
32
|
+
class: {
|
|
33
|
+
'modal-open': boolean | undefined;
|
|
34
|
+
}[];
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
export default _default;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { DropdownPassThroughMethodOptions } from 'primevue/dropdown';
|
|
2
|
+
|
|
3
|
+
declare const _default: {
|
|
4
|
+
dropdown: {
|
|
5
|
+
root: ({ props }: DropdownPassThroughMethodOptions<any>) => {
|
|
6
|
+
class: (string | {
|
|
7
|
+
disabled: boolean | undefined;
|
|
8
|
+
})[];
|
|
9
|
+
};
|
|
10
|
+
trigger: (options: DropdownPassThroughMethodOptions<any>) => {
|
|
11
|
+
class: (string | {
|
|
12
|
+
'ms-auto': boolean;
|
|
13
|
+
'ms-2': boolean | undefined;
|
|
14
|
+
})[];
|
|
15
|
+
};
|
|
16
|
+
list: string;
|
|
17
|
+
item: ({ context }: DropdownPassThroughMethodOptions<any>) => {
|
|
18
|
+
class: (string | {
|
|
19
|
+
'bg-primary text-white': boolean;
|
|
20
|
+
})[];
|
|
21
|
+
};
|
|
22
|
+
header: string;
|
|
23
|
+
headercheckboxcontainer: string;
|
|
24
|
+
headercheckbox: (options: any) => {
|
|
25
|
+
class: (string | {
|
|
26
|
+
'bg-primary': any;
|
|
27
|
+
})[];
|
|
28
|
+
};
|
|
29
|
+
headercheckboxicon: string;
|
|
30
|
+
filtercontainer: string;
|
|
31
|
+
filterinput: string;
|
|
32
|
+
filtericon: {
|
|
33
|
+
class: string[];
|
|
34
|
+
style: string;
|
|
35
|
+
};
|
|
36
|
+
closebutton: string;
|
|
37
|
+
checkbox: (options: DropdownPassThroughMethodOptions<any>) => {
|
|
38
|
+
class: (string | {
|
|
39
|
+
'bg-primary': boolean;
|
|
40
|
+
'form-check-input__focus': boolean;
|
|
41
|
+
})[];
|
|
42
|
+
};
|
|
43
|
+
checkboxicon: string;
|
|
44
|
+
clearicon: string;
|
|
45
|
+
loadingIcon: string;
|
|
46
|
+
itemGroupLabel: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
image: {
|
|
3
|
+
root: string;
|
|
4
|
+
button: string;
|
|
5
|
+
mask: string;
|
|
6
|
+
preview: string;
|
|
7
|
+
toolbar: string;
|
|
8
|
+
rotaterightbutton: string;
|
|
9
|
+
rotateleftbutton: string;
|
|
10
|
+
zoomoutbutton: string;
|
|
11
|
+
zoominbutton: string;
|
|
12
|
+
closebutton: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { InputTextPassThroughMethodOptions } from 'primevue/inputtext';
|
|
2
|
+
|
|
3
|
+
declare const _default: {
|
|
4
|
+
inputtext: {
|
|
5
|
+
root: (options: InputTextPassThroughMethodOptions) => {
|
|
6
|
+
class: (string | {
|
|
7
|
+
'form-control-lg': boolean;
|
|
8
|
+
'form-control-sm': boolean;
|
|
9
|
+
})[];
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { MessagePassThroughMethodOptions } from 'primevue/message';
|
|
2
|
+
|
|
3
|
+
declare const _default: {
|
|
4
|
+
message: {
|
|
5
|
+
root: ({ props }: MessagePassThroughMethodOptions) => {
|
|
6
|
+
class: (string | {
|
|
7
|
+
'alert-primary': boolean;
|
|
8
|
+
'alert-brand': boolean;
|
|
9
|
+
'alert-secondary': boolean;
|
|
10
|
+
'alert-success': boolean;
|
|
11
|
+
'alert-warning': boolean;
|
|
12
|
+
'alert-danger': boolean;
|
|
13
|
+
'alert-info': boolean;
|
|
14
|
+
})[];
|
|
15
|
+
};
|
|
16
|
+
text: () => {
|
|
17
|
+
class: string[];
|
|
18
|
+
};
|
|
19
|
+
wrapper: () => {
|
|
20
|
+
class: string[];
|
|
21
|
+
};
|
|
22
|
+
icon: () => {
|
|
23
|
+
class: string[];
|
|
24
|
+
};
|
|
25
|
+
closeButton: () => {
|
|
26
|
+
class: string[];
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { MenubarPassThroughMethodOptions } from 'primevue/menubar';
|
|
2
|
+
import { MenuPassThroughMethodOptions } from 'primevue/menu';
|
|
3
|
+
|
|
4
|
+
declare const _default: {
|
|
5
|
+
menubar: {
|
|
6
|
+
menu: ({ instance }: MenubarPassThroughMethodOptions) => {
|
|
7
|
+
class: (string | {
|
|
8
|
+
'show dropdown shadow-sm': any;
|
|
9
|
+
})[];
|
|
10
|
+
};
|
|
11
|
+
menuitem: ({ context }: MenubarPassThroughMethodOptions) => {
|
|
12
|
+
class: (string | {
|
|
13
|
+
dropdown: boolean;
|
|
14
|
+
})[];
|
|
15
|
+
};
|
|
16
|
+
action: ({ context, instance }: MenubarPassThroughMethodOptions) => {
|
|
17
|
+
class: {
|
|
18
|
+
active: boolean;
|
|
19
|
+
'nav-link': boolean;
|
|
20
|
+
'dropdown-item': boolean;
|
|
21
|
+
disabled: any;
|
|
22
|
+
'px-3': any;
|
|
23
|
+
}[];
|
|
24
|
+
};
|
|
25
|
+
separator: ({ instance }: MenubarPassThroughMethodOptions) => {
|
|
26
|
+
class: {
|
|
27
|
+
'border-bottom w-100': any;
|
|
28
|
+
}[];
|
|
29
|
+
};
|
|
30
|
+
submenu: ({ instance }: MenubarPassThroughMethodOptions) => {
|
|
31
|
+
class: (string | {
|
|
32
|
+
'position-absolute start-100 top-0': boolean;
|
|
33
|
+
})[];
|
|
34
|
+
};
|
|
35
|
+
button: (options: MenubarPassThroughMethodOptions & {
|
|
36
|
+
state: {
|
|
37
|
+
queryMatches: boolean;
|
|
38
|
+
};
|
|
39
|
+
}) => {
|
|
40
|
+
class: (string | {
|
|
41
|
+
'd-none': boolean;
|
|
42
|
+
})[];
|
|
43
|
+
};
|
|
44
|
+
submenuicon: string;
|
|
45
|
+
};
|
|
46
|
+
menu: {
|
|
47
|
+
menu: (options: MenuPassThroughMethodOptions) => {
|
|
48
|
+
class: (string | {
|
|
49
|
+
show: boolean;
|
|
50
|
+
})[];
|
|
51
|
+
};
|
|
52
|
+
menuitem: () => {
|
|
53
|
+
class: string[];
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OverlayPanelPassThroughMethodOptions } from 'primevue/overlaypanel';
|
|
2
|
+
|
|
3
|
+
declare const _default: {
|
|
4
|
+
overlaypanel: {
|
|
5
|
+
root: (options: OverlayPanelPassThroughMethodOptions) => {
|
|
6
|
+
class: (string | {
|
|
7
|
+
'p-4': boolean | undefined;
|
|
8
|
+
'p-3': boolean;
|
|
9
|
+
})[];
|
|
10
|
+
};
|
|
11
|
+
content: string;
|
|
12
|
+
closeButton: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { SelectButtonPassThroughMethodOptions } from 'primevue/selectbutton';
|
|
2
|
+
|
|
3
|
+
declare const _default: {
|
|
4
|
+
selectbutton: {
|
|
5
|
+
root: () => {
|
|
6
|
+
class: string[];
|
|
7
|
+
};
|
|
8
|
+
button: ({ context, props, }: SelectButtonPassThroughMethodOptions) => {
|
|
9
|
+
class: (string | {
|
|
10
|
+
'btn-primary': boolean;
|
|
11
|
+
'btn-outline-primary': boolean;
|
|
12
|
+
'disabled w-auto'?: undefined;
|
|
13
|
+
} | {
|
|
14
|
+
'disabled w-auto': boolean;
|
|
15
|
+
"btn-primary"?: undefined;
|
|
16
|
+
"btn-outline-primary"?: undefined;
|
|
17
|
+
})[];
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { DataTablePassThroughMethodOptions } from 'primevue/datatable';
|
|
2
|
+
import { PaginatorPassThroughMethodOptions } from 'primevue/paginator';
|
|
3
|
+
|
|
4
|
+
declare const _default: {
|
|
5
|
+
dataTable: {
|
|
6
|
+
table: (options: DataTablePassThroughMethodOptions) => {
|
|
7
|
+
class: (string | {
|
|
8
|
+
'table-striped': boolean | undefined;
|
|
9
|
+
'table-hover': boolean | undefined;
|
|
10
|
+
'table-bordered': boolean | undefined;
|
|
11
|
+
'table-sm': boolean;
|
|
12
|
+
'table-lg': boolean;
|
|
13
|
+
'opacity-50': boolean | undefined;
|
|
14
|
+
})[];
|
|
15
|
+
};
|
|
16
|
+
bodyRow: (options: DataTablePassThroughMethodOptions) => {
|
|
17
|
+
class: {
|
|
18
|
+
'table-active': boolean;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
rowgrouptoggler: string;
|
|
22
|
+
thead: () => {
|
|
23
|
+
class: string;
|
|
24
|
+
};
|
|
25
|
+
tbody: (options: any) => {
|
|
26
|
+
class: {
|
|
27
|
+
'sticky-header': any;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
loadingOverlay: () => {
|
|
31
|
+
class: string;
|
|
32
|
+
};
|
|
33
|
+
loadingIcon: () => {
|
|
34
|
+
class: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
paginator: {
|
|
38
|
+
root: (options: PaginatorPassThroughMethodOptions<any>) => {
|
|
39
|
+
class: (string | {
|
|
40
|
+
'opacity-50': any;
|
|
41
|
+
})[];
|
|
42
|
+
};
|
|
43
|
+
pages: string;
|
|
44
|
+
firstPageButton: string;
|
|
45
|
+
previousPageButton: string;
|
|
46
|
+
nextPageButton: string;
|
|
47
|
+
lastPageButton: string;
|
|
48
|
+
pageButton: ({ context }: PaginatorPassThroughMethodOptions<any>) => {
|
|
49
|
+
class: (string | {
|
|
50
|
+
active: boolean;
|
|
51
|
+
disabled: boolean;
|
|
52
|
+
})[];
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
export default _default;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { TabPanelPassThroughMethodOptions } from 'primevue/tabpanel';
|
|
2
|
+
|
|
3
|
+
declare const _default: {
|
|
4
|
+
tabview: {
|
|
5
|
+
navContainer: () => {
|
|
6
|
+
class: string[];
|
|
7
|
+
};
|
|
8
|
+
navContent: () => {
|
|
9
|
+
class: string[];
|
|
10
|
+
};
|
|
11
|
+
nav: () => {
|
|
12
|
+
class: string[];
|
|
13
|
+
};
|
|
14
|
+
previousButton: () => {
|
|
15
|
+
class: string[];
|
|
16
|
+
};
|
|
17
|
+
nextButton: () => {
|
|
18
|
+
class: string[];
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
tabpanel: {
|
|
22
|
+
root: () => {
|
|
23
|
+
class: string[];
|
|
24
|
+
};
|
|
25
|
+
headerAction: (options: TabPanelPassThroughMethodOptions & {
|
|
26
|
+
tabpanel: Partial<TabPanelPassThroughMethodOptions>;
|
|
27
|
+
}) => {
|
|
28
|
+
class: (string | {
|
|
29
|
+
active: boolean;
|
|
30
|
+
disabled: boolean | undefined;
|
|
31
|
+
})[];
|
|
32
|
+
};
|
|
33
|
+
content: () => {
|
|
34
|
+
class: string[];
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
export default _default;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { ToastPassThroughMethodOptions } from 'primevue/toast';
|
|
2
|
+
|
|
3
|
+
declare const _default: {
|
|
4
|
+
toast: {
|
|
5
|
+
message: () => {
|
|
6
|
+
class: string[];
|
|
7
|
+
};
|
|
8
|
+
content: () => {
|
|
9
|
+
class: string[];
|
|
10
|
+
};
|
|
11
|
+
container: () => {
|
|
12
|
+
class: string[];
|
|
13
|
+
};
|
|
14
|
+
buttonContainer: () => {
|
|
15
|
+
class: string[];
|
|
16
|
+
};
|
|
17
|
+
closeButton: () => {
|
|
18
|
+
class: string[];
|
|
19
|
+
};
|
|
20
|
+
closeIcon: () => {
|
|
21
|
+
class: string;
|
|
22
|
+
};
|
|
23
|
+
summary: () => {
|
|
24
|
+
class: string[];
|
|
25
|
+
};
|
|
26
|
+
icon: ({ props }: ToastPassThroughMethodOptions) => {
|
|
27
|
+
class: (string | {
|
|
28
|
+
'text-primary': boolean;
|
|
29
|
+
'text-success': boolean;
|
|
30
|
+
'text-danger': boolean;
|
|
31
|
+
'text-warning': boolean;
|
|
32
|
+
})[];
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { TooltipPassThroughMethodOptions } from 'primevue/tooltip';
|
|
2
|
+
|
|
3
|
+
declare const _default: {
|
|
4
|
+
tooltip: {
|
|
5
|
+
root: ({ context }: TooltipPassThroughMethodOptions) => {
|
|
6
|
+
class: (string | {
|
|
7
|
+
'bs-tooltip-end ms-1': boolean;
|
|
8
|
+
'bs-tooltip-start me-1': boolean;
|
|
9
|
+
'bs-tooltip-top': boolean;
|
|
10
|
+
'bs-tooltip-bottom': boolean;
|
|
11
|
+
})[];
|
|
12
|
+
};
|
|
13
|
+
arrow: () => {
|
|
14
|
+
class: string[];
|
|
15
|
+
};
|
|
16
|
+
text: {
|
|
17
|
+
class: string[];
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export default _default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { FileUploadStatus } from '../components/file-uploader/utilities/utilities';
|
|
2
|
-
import { FilterMatchModeOptions, FilterOperatorOptions } from 'primevue/api';
|
|
3
1
|
import { ColumnProps } from 'primevue/column';
|
|
2
|
+
import { FilterMatchModeOptions, FilterOperatorOptions } from 'primevue/api';
|
|
3
|
+
import { FileUploadStatus } from '../components/file-uploader/utilities/utilities';
|
|
4
4
|
|
|
5
|
-
export type Severity = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'info' | undefined;
|
|
5
|
+
export type Severity = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'info' | 'brand' | undefined;
|
|
6
6
|
export type Size = 'sm' | 'md' | 'lg' | undefined;
|
|
7
7
|
export type BarPosition = 'top' | 'left' | 'none';
|
|
8
8
|
export type ForgeFormFieldTypes = "text" | "number" | "checkbox" | "textarea" | "mask";
|
package/package.json
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
"name": "@3squared/forge-ui-3",
|
|
3
3
|
"repository": "https://github.com/3Squared/ForgeUI-3",
|
|
4
4
|
"description": "ForgeUI 3 is Vue 3 UI Library which combines a variety of popular packages to create a consistent UI for your application.",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.3.0",
|
|
6
|
+
"type": "module",
|
|
6
7
|
"license": "MIT",
|
|
7
8
|
"contributors": [
|
|
8
9
|
{
|
|
@@ -10,8 +11,8 @@
|
|
|
10
11
|
"email": "jacob.minor@3squared.com"
|
|
11
12
|
}
|
|
12
13
|
],
|
|
13
|
-
"main": "./dist/esm/forge-ui-3.
|
|
14
|
-
"module": "./dist/esm/forge-ui-3.
|
|
14
|
+
"main": "./dist/esm/forge-ui-3.js",
|
|
15
|
+
"module": "./dist/esm/forge-ui-3.js",
|
|
15
16
|
"types": "./dist/index.d.ts",
|
|
16
17
|
"files": [
|
|
17
18
|
"dist/*",
|
|
@@ -20,7 +21,7 @@
|
|
|
20
21
|
],
|
|
21
22
|
"scripts": {
|
|
22
23
|
"dev": "vite",
|
|
23
|
-
"test": "cypress run --component --headed --browser chrome && vitest run --coverage && node ./scripts/merge.
|
|
24
|
+
"test": "cypress run --component --headed --browser chrome && vitest run --coverage && node ./scripts/merge.cjs",
|
|
24
25
|
"test:component": "cypress open --component --browser chrome",
|
|
25
26
|
"test:unit": "vitest --ui --coverage",
|
|
26
27
|
"build": "vite build",
|
|
@@ -41,24 +42,24 @@
|
|
|
41
42
|
"zod": "^3.22.4"
|
|
42
43
|
},
|
|
43
44
|
"devDependencies": {
|
|
44
|
-
"@cypress/code-coverage": "3.12.
|
|
45
|
-
"@vitejs/plugin-vue": "5.0.
|
|
46
|
-
"@vitest/coverage-v8": "1.
|
|
47
|
-
"@vitest/ui": "1.
|
|
48
|
-
"cypress": "13.
|
|
45
|
+
"@cypress/code-coverage": "3.12.39",
|
|
46
|
+
"@vitejs/plugin-vue": "5.0.5",
|
|
47
|
+
"@vitest/coverage-v8": "1.6.0",
|
|
48
|
+
"@vitest/ui": "1.6.0",
|
|
49
|
+
"cypress": "13.11.0",
|
|
49
50
|
"cypress-real-events": "1.12.0",
|
|
50
|
-
"sass": "1.
|
|
51
|
+
"sass": "1.77.4",
|
|
51
52
|
"typescript": "5.4.5",
|
|
52
|
-
"unplugin-vue-components": "0.
|
|
53
|
+
"unplugin-vue-components": "0.27.0",
|
|
53
54
|
"rollup-plugin-visualizer": "5.12.0",
|
|
54
|
-
"vite": "5.2.
|
|
55
|
-
"vite-bundle-visualizer": "1.1
|
|
56
|
-
"vite-plugin-istanbul": "
|
|
57
|
-
"vitest": "1.
|
|
58
|
-
"vite-plugin-dts": "3.9.
|
|
55
|
+
"vite": "5.2.12",
|
|
56
|
+
"vite-bundle-visualizer": "1.2.1",
|
|
57
|
+
"vite-plugin-istanbul": "6.0.2",
|
|
58
|
+
"vitest": "1.6.0",
|
|
59
|
+
"vite-plugin-dts": "3.9.1"
|
|
59
60
|
},
|
|
60
61
|
"optionalDependencies": {
|
|
61
|
-
"@rollup/rollup-linux-x64-gnu": "4.
|
|
62
|
+
"@rollup/rollup-linux-x64-gnu": "4.18.0"
|
|
62
63
|
},
|
|
63
64
|
"nyc": {
|
|
64
65
|
"all": true,
|