@3squared/forge-ui-3 2.12.3 → 2.14.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.css +2 -2
- package/dist/esm/forge-ui-3.js +1272 -948
- package/dist/index.d.ts +2 -1
- package/dist/src/components/ForgeChip.vue.d.ts +1 -1
- package/dist/src/components/ForgeDatepicker.vue.d.ts +1 -1
- package/dist/src/components/ForgeLoader.vue.d.ts +3 -1
- package/dist/src/components/ForgeNavbar.vue.d.ts +1 -1
- package/dist/src/components/ForgeProgressBar.vue.d.ts +2 -2
- package/dist/src/components/ForgeStepper.vue.d.ts +1 -1
- package/dist/src/components/ForgeTile.vue.d.ts +2 -2
- package/dist/src/components/ForgeToggleButton.vue.d.ts +1 -1
- package/dist/src/components/ForgeTreeTable.vue.d.ts +46 -0
- package/dist/src/components/file-uploader/ForgeFileUploader.vue.d.ts +1 -1
- package/dist/src/components/file-uploader/components/DragDropArea.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 +2 -0
- package/dist/src/passthroughs/Button.pt.d.ts +74 -0
- package/dist/src/passthroughs/Column.pt.d.ts +4 -1
- package/dist/src/passthroughs/Message.pt.d.ts +1 -0
- package/dist/src/passthroughs/SplitButton.pt.d.ts +4 -0
- package/dist/src/passthroughs/Tag.pt.d.ts +2 -0
- package/dist/src/passthroughs/Toast.pt.d.ts +1 -0
- package/dist/src/passthroughs/TreeTable.pt.d.ts +20 -0
- package/dist/src/types/forge-types.d.ts +1 -1
- package/package.json +9 -8
- package/src/styles/utilities/_variables.scss +17 -0
- package/src/types/forge-types.ts +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -22,13 +22,14 @@ import { default as ForgeStatWidget } from './src/components/ForgeStatWidget.vue
|
|
|
22
22
|
import { default as ForgeStepper } from './src/components/ForgeStepper.vue';
|
|
23
23
|
import { default as ForgeTile } from './src/components/ForgeTile.vue';
|
|
24
24
|
import { default as ForgeTable } from './src/components/table/ForgeTable.vue';
|
|
25
|
+
import { default as ForgeTreeTable } from './src/components/ForgeTreeTable.vue';
|
|
25
26
|
import { default as ForgeFilterHeader } from './src/components/table/ForgeFilterHeader.vue';
|
|
26
27
|
import { default as ForgeFileUploader } from './src/components/file-uploader/ForgeFileUploader.vue';
|
|
27
28
|
import { default as ForgeColumnCustomiser } from './src/components/table/ForgeColumnCustomiser.vue';
|
|
28
29
|
import { default as ForgePanel } from './src/components/ForgePanel.vue';
|
|
29
30
|
import { default as ForgeSelectButton } from './src/components/ForgeSelectButton.vue';
|
|
30
31
|
import { default as ForgeToggleButton } from './src/components/ForgeToggleButton.vue';
|
|
31
|
-
export { Bootstrap_PT, ForgeActionButton, ForgeAlert, ForgeAutoComplete, ForgeCheckbox, ForgeChip, ForgeColumnCustomiser, ForgeDatepicker, ForgeForm, ForgeFormField, ForgeInlineEditor, ForgeLink, ForgeLoader, ForgeModal, ForgeMultiSelectPreview, ForgeNavbar, ForgePageHeader, ForgeRemainingCharacters, ForgeProgressBar, ForgeScratchpad, ForgeStatWidget, ForgeStepper, ForgeTile, ForgeTable, ForgeFilterHeader, ForgeFileUploader, ForgePanel, ForgeSelectButton, ForgeToggleButton, };
|
|
32
|
+
export { Bootstrap_PT, ForgeActionButton, ForgeAlert, ForgeAutoComplete, ForgeCheckbox, ForgeChip, ForgeColumnCustomiser, ForgeDatepicker, ForgeForm, ForgeFormField, ForgeInlineEditor, ForgeLink, ForgeLoader, ForgeModal, ForgeMultiSelectPreview, ForgeNavbar, ForgePageHeader, ForgeRemainingCharacters, ForgeProgressBar, ForgeScratchpad, ForgeStatWidget, ForgeStepper, ForgeTile, ForgeTable, ForgeFilterHeader, ForgeFileUploader, ForgePanel, ForgeSelectButton, ForgeToggleButton, ForgeTreeTable };
|
|
32
33
|
export * from './src/types/forge-types.ts';
|
|
33
34
|
export * from './src/helpers/index';
|
|
34
35
|
export declare const ForgeResolver: () => ComponentResolver;
|
|
@@ -12,7 +12,7 @@ declare function __VLS_template(): {
|
|
|
12
12
|
};
|
|
13
13
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
14
|
declare const __VLS_component: import('vue').DefineComponent<ForgeChipProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ForgeChipProps> & Readonly<{}>, {
|
|
15
|
-
chipSeverity: "secondary" | "success" | "info" | "danger" | "brand" | "primary" | "warning" | "success-dark";
|
|
15
|
+
chipSeverity: "secondary" | "success" | "info" | "danger" | "brand" | "primary" | "success-alternate" | "warning" | "success-dark";
|
|
16
16
|
pill: boolean;
|
|
17
17
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
18
18
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -24,7 +24,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
24
24
|
}>, {
|
|
25
25
|
name: string;
|
|
26
26
|
view: "date" | "month" | "year";
|
|
27
|
-
severity: "secondary" | "success" | "info" | "danger" | "brand" | "primary" | "warning" | "success-dark";
|
|
27
|
+
severity: "secondary" | "success" | "info" | "danger" | "brand" | "primary" | "success-alternate" | "warning" | "success-dark";
|
|
28
28
|
baseZIndex: number;
|
|
29
29
|
autoZIndex: boolean;
|
|
30
30
|
appendTo: HTMLElement | import('@primevue/core').HintedString<"body" | "self">;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { Severity } from '../types/forge-types';
|
|
2
2
|
export interface ForgeLoaderProps {
|
|
3
3
|
severity?: Severity;
|
|
4
|
+
inLine?: boolean;
|
|
4
5
|
}
|
|
5
6
|
declare const _default: import('vue').DefineComponent<ForgeLoaderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ForgeLoaderProps> & Readonly<{}>, {
|
|
6
|
-
severity: "secondary" | "success" | "info" | "danger" | "brand" | "primary" | "warning" | "success-dark";
|
|
7
|
+
severity: "secondary" | "success" | "info" | "danger" | "brand" | "primary" | "success-alternate" | "warning" | "success-dark";
|
|
8
|
+
inLine: boolean;
|
|
7
9
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
8
10
|
export default _default;
|
|
@@ -13,7 +13,7 @@ declare function __VLS_template(): {
|
|
|
13
13
|
};
|
|
14
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
15
|
declare const __VLS_component: import('vue').DefineComponent<ForgeNavbarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ForgeNavbarProps> & Readonly<{}>, {
|
|
16
|
-
severity: "secondary" | "success" | "info" | "danger" | "brand" | "primary" | "warning" | "success-dark" | "light" | "dark";
|
|
16
|
+
severity: "secondary" | "success" | "info" | "danger" | "brand" | "primary" | "success-alternate" | "warning" | "success-dark" | "light" | "dark";
|
|
17
17
|
logoUrl: string;
|
|
18
18
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
19
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ProgressBarProps } from 'primevue/progressbar';
|
|
2
2
|
import { Severity } from '../types/forge-types';
|
|
3
3
|
export interface ForgeProgressBarProps extends /* vue-ignore */ ProgressBarProps {
|
|
4
|
-
severity
|
|
4
|
+
severity?: Severity;
|
|
5
5
|
striped: boolean;
|
|
6
6
|
animate: boolean;
|
|
7
7
|
pixelWidth?: number;
|
|
@@ -17,7 +17,7 @@ declare function __VLS_template(): {
|
|
|
17
17
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
18
|
declare const __VLS_component: import('vue').DefineComponent<ForgeProgressBarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ForgeProgressBarProps> & Readonly<{}>, {
|
|
19
19
|
animate: boolean;
|
|
20
|
-
severity:
|
|
20
|
+
severity: "secondary" | "success" | "info" | "danger" | "brand" | "primary" | "success-alternate" | "warning" | "success-dark";
|
|
21
21
|
striped: boolean;
|
|
22
22
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
23
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -15,7 +15,7 @@ declare function __VLS_template(): {
|
|
|
15
15
|
};
|
|
16
16
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
17
|
declare const __VLS_component: import('vue').DefineComponent<ForgeStepperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ForgeStepperProps> & Readonly<{}>, {
|
|
18
|
-
severity: "secondary" | "success" | "info" | "danger" | "brand" | "primary" | "warning" | "success-dark";
|
|
18
|
+
severity: "secondary" | "success" | "info" | "danger" | "brand" | "primary" | "success-alternate" | "warning" | "success-dark";
|
|
19
19
|
currentStep: number;
|
|
20
20
|
showStepLabel: boolean;
|
|
21
21
|
inlineSteps: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Severity, BarPosition } from '../types/forge-types';
|
|
2
2
|
export interface ForgeTileProps {
|
|
3
|
-
severity
|
|
3
|
+
severity?: Severity;
|
|
4
4
|
barPosition: BarPosition;
|
|
5
5
|
clickable: boolean;
|
|
6
6
|
selected?: boolean;
|
|
@@ -16,7 +16,7 @@ declare function __VLS_template(): {
|
|
|
16
16
|
};
|
|
17
17
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
18
|
declare const __VLS_component: import('vue').DefineComponent<ForgeTileProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ForgeTileProps> & Readonly<{}>, {
|
|
19
|
-
severity:
|
|
19
|
+
severity: "secondary" | "success" | "info" | "danger" | "brand" | "primary" | "success-alternate" | "warning" | "success-dark";
|
|
20
20
|
selected: boolean;
|
|
21
21
|
barPosition: BarPosition;
|
|
22
22
|
clickable: boolean;
|
|
@@ -3,6 +3,6 @@ export interface ForgeToggleButtonProps {
|
|
|
3
3
|
severity?: Severity;
|
|
4
4
|
}
|
|
5
5
|
declare const _default: import('vue').DefineComponent<ForgeToggleButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ForgeToggleButtonProps> & Readonly<{}>, {
|
|
6
|
-
severity: "secondary" | "success" | "info" | "danger" | "brand" | "primary" | "warning" | "success-dark";
|
|
6
|
+
severity: "secondary" | "success" | "info" | "danger" | "brand" | "primary" | "success-alternate" | "warning" | "success-dark";
|
|
7
7
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
8
8
|
export default _default;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { TreeTableProps } from 'primevue/treetable';
|
|
2
|
+
import { Severity } from '../types/forge-types';
|
|
3
|
+
export interface ForgeTreeTableProps extends TreeTableProps {
|
|
4
|
+
stripedRows?: boolean;
|
|
5
|
+
parentExpanderFullRow?: boolean;
|
|
6
|
+
totalColumns?: number;
|
|
7
|
+
severity?: Severity;
|
|
8
|
+
value: any[];
|
|
9
|
+
legacyPaginationFooter?: boolean;
|
|
10
|
+
showClearButton?: boolean;
|
|
11
|
+
clearAll?: Function;
|
|
12
|
+
emptyMessage?: string;
|
|
13
|
+
}
|
|
14
|
+
declare function __VLS_template(): {
|
|
15
|
+
attrs: Partial<{}>;
|
|
16
|
+
slots: any;
|
|
17
|
+
refs: {};
|
|
18
|
+
rootEl: HTMLDivElement;
|
|
19
|
+
};
|
|
20
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
21
|
+
declare const __VLS_component: import('vue').DefineComponent<ForgeTreeTableProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
+
sort: (...args: any[]) => void;
|
|
23
|
+
page: (...args: any[]) => void;
|
|
24
|
+
"update:filters": (...args: any[]) => void;
|
|
25
|
+
"update:tableContext": (...args: any[]) => void;
|
|
26
|
+
}, string, import('vue').PublicProps, Readonly<ForgeTreeTableProps> & Readonly<{
|
|
27
|
+
onSort?: ((...args: any[]) => any) | undefined;
|
|
28
|
+
onPage?: ((...args: any[]) => any) | undefined;
|
|
29
|
+
"onUpdate:filters"?: ((...args: any[]) => any) | undefined;
|
|
30
|
+
"onUpdate:tableContext"?: ((...args: any[]) => any) | undefined;
|
|
31
|
+
}>, {
|
|
32
|
+
legacyPaginationFooter: boolean;
|
|
33
|
+
showClearButton: boolean;
|
|
34
|
+
paginator: boolean;
|
|
35
|
+
alwaysShowPaginator: boolean;
|
|
36
|
+
stripedRows: boolean;
|
|
37
|
+
parentExpanderFullRow: boolean;
|
|
38
|
+
totalColumns: number;
|
|
39
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
40
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
41
|
+
export default _default;
|
|
42
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
43
|
+
new (): {
|
|
44
|
+
$slots: S;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ForgeFileStatus, ForgeFileType } from '../../types/forge-types';
|
|
1
|
+
import { ForgeFileStatus, ForgeFileType } from '../../types/forge-types.ts';
|
|
2
2
|
import { TypedSchema } from 'vee-validate';
|
|
3
3
|
export interface ForgeFileUploaderProps {
|
|
4
4
|
acceptedFileTypes: ForgeFileType[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FileUploadStatus } from '../utilities/utilities';
|
|
2
2
|
import { TypedSchema } from 'vee-validate';
|
|
3
|
-
import { ForgeFileType } from '../../../types/forge-types';
|
|
3
|
+
import { ForgeFileType } from '../../../types/forge-types.ts';
|
|
4
4
|
interface FileInfoProps {
|
|
5
5
|
editableFileName: boolean;
|
|
6
6
|
acceptedFileTypes: ForgeFileType[];
|
|
@@ -7,6 +7,7 @@ declare const _default: {
|
|
|
7
7
|
"badge-brand": boolean;
|
|
8
8
|
"badge-secondary": boolean;
|
|
9
9
|
"badge-success": boolean;
|
|
10
|
+
"badge-success-alternate": boolean;
|
|
10
11
|
"badge-warning": boolean;
|
|
11
12
|
"badge-danger": boolean;
|
|
12
13
|
"badge-info": boolean;
|
|
@@ -19,6 +20,7 @@ declare const _default: {
|
|
|
19
20
|
"badge-brand"?: undefined;
|
|
20
21
|
"badge-secondary"?: undefined;
|
|
21
22
|
"badge-success"?: undefined;
|
|
23
|
+
"badge-success-alternate"?: undefined;
|
|
22
24
|
"badge-warning"?: undefined;
|
|
23
25
|
"badge-danger"?: undefined;
|
|
24
26
|
"badge-info"?: undefined;
|
|
@@ -19,6 +19,10 @@ declare const _default: {
|
|
|
19
19
|
"btn-outline-success"?: undefined;
|
|
20
20
|
"text-success fw-bold btn-text-success"?: undefined;
|
|
21
21
|
"link-success text-decoration-underline link-underline-success"?: undefined;
|
|
22
|
+
"btn-success-alternate text-white"?: undefined;
|
|
23
|
+
"btn-outline-success-alternate"?: undefined;
|
|
24
|
+
"text-success-alternate fw-bold btn-text-success-alternate"?: undefined;
|
|
25
|
+
"link-success-alternate text-decoration-underline link-underline-success-alternate"?: undefined;
|
|
22
26
|
"btn-warning text-white"?: undefined;
|
|
23
27
|
"btn-outline-warning"?: undefined;
|
|
24
28
|
"text-warning fw-bold btn-text-warning"?: undefined;
|
|
@@ -53,6 +57,10 @@ declare const _default: {
|
|
|
53
57
|
"btn-outline-success"?: undefined;
|
|
54
58
|
"text-success fw-bold btn-text-success"?: undefined;
|
|
55
59
|
"link-success text-decoration-underline link-underline-success"?: undefined;
|
|
60
|
+
"btn-success-alternate text-white"?: undefined;
|
|
61
|
+
"btn-outline-success-alternate"?: undefined;
|
|
62
|
+
"text-success-alternate fw-bold btn-text-success-alternate"?: undefined;
|
|
63
|
+
"link-success-alternate text-decoration-underline link-underline-success-alternate"?: undefined;
|
|
56
64
|
"btn-warning text-white"?: undefined;
|
|
57
65
|
"btn-outline-warning"?: undefined;
|
|
58
66
|
"text-warning fw-bold btn-text-warning"?: undefined;
|
|
@@ -87,6 +95,10 @@ declare const _default: {
|
|
|
87
95
|
"btn-outline-success"?: undefined;
|
|
88
96
|
"text-success fw-bold btn-text-success"?: undefined;
|
|
89
97
|
"link-success text-decoration-underline link-underline-success"?: undefined;
|
|
98
|
+
"btn-success-alternate text-white"?: undefined;
|
|
99
|
+
"btn-outline-success-alternate"?: undefined;
|
|
100
|
+
"text-success-alternate fw-bold btn-text-success-alternate"?: undefined;
|
|
101
|
+
"link-success-alternate text-decoration-underline link-underline-success-alternate"?: undefined;
|
|
90
102
|
"btn-warning text-white"?: undefined;
|
|
91
103
|
"btn-outline-warning"?: undefined;
|
|
92
104
|
"text-warning fw-bold btn-text-warning"?: undefined;
|
|
@@ -121,6 +133,48 @@ declare const _default: {
|
|
|
121
133
|
"btn-outline-secondary"?: undefined;
|
|
122
134
|
"text-secondary fw-bold btn-text-secondary"?: undefined;
|
|
123
135
|
"link-secondary text-decoration-underline link-underline-secondary"?: undefined;
|
|
136
|
+
"btn-success-alternate text-white"?: undefined;
|
|
137
|
+
"btn-outline-success-alternate"?: undefined;
|
|
138
|
+
"text-success-alternate fw-bold btn-text-success-alternate"?: undefined;
|
|
139
|
+
"link-success-alternate text-decoration-underline link-underline-success-alternate"?: undefined;
|
|
140
|
+
"btn-warning text-white"?: undefined;
|
|
141
|
+
"btn-outline-warning"?: undefined;
|
|
142
|
+
"text-warning fw-bold btn-text-warning"?: undefined;
|
|
143
|
+
"link-warning text-decoration-underline link-underline-warning"?: undefined;
|
|
144
|
+
"btn-danger text-white"?: undefined;
|
|
145
|
+
"btn-outline-danger"?: undefined;
|
|
146
|
+
"text-danger fw-bold btn-text-danger"?: undefined;
|
|
147
|
+
"link-danger text-decoration-underline link-underline-danger"?: undefined;
|
|
148
|
+
"btn-info text-white"?: undefined;
|
|
149
|
+
"btn-outline-info"?: undefined;
|
|
150
|
+
"text-info fw-bold btn-text-info"?: undefined;
|
|
151
|
+
"link-info text-decoration-underline link-underline-info"?: undefined;
|
|
152
|
+
'p-0 border-0'?: undefined;
|
|
153
|
+
shadow?: undefined;
|
|
154
|
+
"rounded-pill"?: undefined;
|
|
155
|
+
"btn-lg"?: undefined;
|
|
156
|
+
"btn-sm"?: undefined;
|
|
157
|
+
} | {
|
|
158
|
+
"btn-success-alternate text-white": boolean;
|
|
159
|
+
"btn-outline-success-alternate": boolean | undefined;
|
|
160
|
+
"text-success-alternate fw-bold btn-text-success-alternate": boolean | undefined;
|
|
161
|
+
"link-success-alternate text-decoration-underline link-underline-success-alternate": boolean | undefined;
|
|
162
|
+
"btn-brand"?: undefined;
|
|
163
|
+
"btn-outline-brand"?: undefined;
|
|
164
|
+
"text-brand fw-bold btn-text-brand"?: undefined;
|
|
165
|
+
"link-brand text-decoration-underline link-underline-brand"?: undefined;
|
|
166
|
+
"btn-primary"?: undefined;
|
|
167
|
+
"btn-outline-primary"?: undefined;
|
|
168
|
+
"text-primary fw-bold btn-text-primary"?: undefined;
|
|
169
|
+
"link-primary text-decoration-underline link-underline-primary"?: undefined;
|
|
170
|
+
"btn-secondary"?: undefined;
|
|
171
|
+
"btn-outline-secondary"?: undefined;
|
|
172
|
+
"text-secondary fw-bold btn-text-secondary"?: undefined;
|
|
173
|
+
"link-secondary text-decoration-underline link-underline-secondary"?: undefined;
|
|
174
|
+
"btn-success text-white"?: undefined;
|
|
175
|
+
"btn-outline-success"?: undefined;
|
|
176
|
+
"text-success fw-bold btn-text-success"?: undefined;
|
|
177
|
+
"link-success text-decoration-underline link-underline-success"?: undefined;
|
|
124
178
|
"btn-warning text-white"?: undefined;
|
|
125
179
|
"btn-outline-warning"?: undefined;
|
|
126
180
|
"text-warning fw-bold btn-text-warning"?: undefined;
|
|
@@ -159,6 +213,10 @@ declare const _default: {
|
|
|
159
213
|
"btn-outline-success"?: undefined;
|
|
160
214
|
"text-success fw-bold btn-text-success"?: undefined;
|
|
161
215
|
"link-success text-decoration-underline link-underline-success"?: undefined;
|
|
216
|
+
"btn-success-alternate text-white"?: undefined;
|
|
217
|
+
"btn-outline-success-alternate"?: undefined;
|
|
218
|
+
"text-success-alternate fw-bold btn-text-success-alternate"?: undefined;
|
|
219
|
+
"link-success-alternate text-decoration-underline link-underline-success-alternate"?: undefined;
|
|
162
220
|
"btn-danger text-white"?: undefined;
|
|
163
221
|
"btn-outline-danger"?: undefined;
|
|
164
222
|
"text-danger fw-bold btn-text-danger"?: undefined;
|
|
@@ -193,6 +251,10 @@ declare const _default: {
|
|
|
193
251
|
"btn-outline-success"?: undefined;
|
|
194
252
|
"text-success fw-bold btn-text-success"?: undefined;
|
|
195
253
|
"link-success text-decoration-underline link-underline-success"?: undefined;
|
|
254
|
+
"btn-success-alternate text-white"?: undefined;
|
|
255
|
+
"btn-outline-success-alternate"?: undefined;
|
|
256
|
+
"text-success-alternate fw-bold btn-text-success-alternate"?: undefined;
|
|
257
|
+
"link-success-alternate text-decoration-underline link-underline-success-alternate"?: undefined;
|
|
196
258
|
"btn-warning text-white"?: undefined;
|
|
197
259
|
"btn-outline-warning"?: undefined;
|
|
198
260
|
"text-warning fw-bold btn-text-warning"?: undefined;
|
|
@@ -227,6 +289,10 @@ declare const _default: {
|
|
|
227
289
|
"btn-outline-success"?: undefined;
|
|
228
290
|
"text-success fw-bold btn-text-success"?: undefined;
|
|
229
291
|
"link-success text-decoration-underline link-underline-success"?: undefined;
|
|
292
|
+
"btn-success-alternate text-white"?: undefined;
|
|
293
|
+
"btn-outline-success-alternate"?: undefined;
|
|
294
|
+
"text-success-alternate fw-bold btn-text-success-alternate"?: undefined;
|
|
295
|
+
"link-success-alternate text-decoration-underline link-underline-success-alternate"?: undefined;
|
|
230
296
|
"btn-warning text-white"?: undefined;
|
|
231
297
|
"btn-outline-warning"?: undefined;
|
|
232
298
|
"text-warning fw-bold btn-text-warning"?: undefined;
|
|
@@ -262,6 +328,10 @@ declare const _default: {
|
|
|
262
328
|
"btn-outline-success"?: undefined;
|
|
263
329
|
"text-success fw-bold btn-text-success"?: undefined;
|
|
264
330
|
"link-success text-decoration-underline link-underline-success"?: undefined;
|
|
331
|
+
"btn-success-alternate text-white"?: undefined;
|
|
332
|
+
"btn-outline-success-alternate"?: undefined;
|
|
333
|
+
"text-success-alternate fw-bold btn-text-success-alternate"?: undefined;
|
|
334
|
+
"link-success-alternate text-decoration-underline link-underline-success-alternate"?: undefined;
|
|
265
335
|
"btn-warning text-white"?: undefined;
|
|
266
336
|
"btn-outline-warning"?: undefined;
|
|
267
337
|
"text-warning fw-bold btn-text-warning"?: undefined;
|
|
@@ -291,6 +361,7 @@ declare const _default: {
|
|
|
291
361
|
"button-badge-brand": boolean;
|
|
292
362
|
"button-badge-secondary": boolean;
|
|
293
363
|
"button-badge-success": boolean;
|
|
364
|
+
"button-badge-success-alternate": boolean;
|
|
294
365
|
"button-badge-warning": boolean;
|
|
295
366
|
"button-badge-danger": boolean;
|
|
296
367
|
'button-badge-info': boolean;
|
|
@@ -298,6 +369,7 @@ declare const _default: {
|
|
|
298
369
|
"button-badge-brand outlined"?: undefined;
|
|
299
370
|
"button-badge-secondary outlined"?: undefined;
|
|
300
371
|
"button-badge-success outlined"?: undefined;
|
|
372
|
+
"button-badge-success-alternate outlined"?: undefined;
|
|
301
373
|
"button-badge-warning outlined"?: undefined;
|
|
302
374
|
"button-badge-danger outlined"?: undefined;
|
|
303
375
|
'button-badge-info outlined'?: undefined;
|
|
@@ -306,6 +378,7 @@ declare const _default: {
|
|
|
306
378
|
"button-badge-brand outlined": boolean | undefined;
|
|
307
379
|
"button-badge-secondary outlined": boolean | undefined;
|
|
308
380
|
"button-badge-success outlined": boolean | undefined;
|
|
381
|
+
"button-badge-success-alternate outlined": boolean | undefined;
|
|
309
382
|
"button-badge-warning outlined": boolean | undefined;
|
|
310
383
|
"button-badge-danger outlined": boolean | undefined;
|
|
311
384
|
'button-badge-info outlined': boolean | undefined;
|
|
@@ -313,6 +386,7 @@ declare const _default: {
|
|
|
313
386
|
"button-badge-brand"?: undefined;
|
|
314
387
|
"button-badge-secondary"?: undefined;
|
|
315
388
|
"button-badge-success"?: undefined;
|
|
389
|
+
"button-badge-success-alternate"?: undefined;
|
|
316
390
|
"button-badge-warning"?: undefined;
|
|
317
391
|
"button-badge-danger"?: undefined;
|
|
318
392
|
'button-badge-info'?: undefined;
|
|
@@ -21,6 +21,7 @@ declare const _default: {
|
|
|
21
21
|
};
|
|
22
22
|
pcRowEditorInit: string;
|
|
23
23
|
rowToggleButton: string;
|
|
24
|
+
nodeToggleButton: string;
|
|
24
25
|
columnResizer: {
|
|
25
26
|
class: string;
|
|
26
27
|
};
|
|
@@ -33,12 +34,14 @@ declare const _default: {
|
|
|
33
34
|
column: {
|
|
34
35
|
props: {
|
|
35
36
|
frozen: boolean | "";
|
|
37
|
+
expander: boolean | undefined;
|
|
36
38
|
};
|
|
37
39
|
};
|
|
38
40
|
}) => {
|
|
39
41
|
class: {
|
|
42
|
+
'expander-cell': boolean | undefined;
|
|
40
43
|
'position-sticky': boolean;
|
|
41
|
-
'overflow-hidden text-nowrap':
|
|
44
|
+
'overflow-hidden text-nowrap': any;
|
|
42
45
|
};
|
|
43
46
|
};
|
|
44
47
|
rowreordericon: string;
|
|
@@ -12,6 +12,7 @@ declare const _default: {
|
|
|
12
12
|
"btn-brand": boolean;
|
|
13
13
|
"btn-secondary": boolean;
|
|
14
14
|
"btn-success": boolean;
|
|
15
|
+
"btn-success-alternate": boolean;
|
|
15
16
|
"btn-warning": boolean;
|
|
16
17
|
"btn-danger": boolean;
|
|
17
18
|
'btn-info': boolean;
|
|
@@ -19,6 +20,7 @@ declare const _default: {
|
|
|
19
20
|
"btn-outline-brand"?: undefined;
|
|
20
21
|
"btn-outline-secondary"?: undefined;
|
|
21
22
|
"btn-outline-success"?: undefined;
|
|
23
|
+
"btn-outline-success-alternate"?: undefined;
|
|
22
24
|
"btn-outline-warning"?: undefined;
|
|
23
25
|
"btn-outline-danger"?: undefined;
|
|
24
26
|
"btn-outline-info"?: undefined;
|
|
@@ -27,6 +29,7 @@ declare const _default: {
|
|
|
27
29
|
"btn-outline-brand": boolean | undefined;
|
|
28
30
|
"btn-outline-secondary": boolean | undefined;
|
|
29
31
|
"btn-outline-success": boolean | undefined;
|
|
32
|
+
"btn-outline-success-alternate": boolean | undefined;
|
|
30
33
|
"btn-outline-warning": boolean | undefined;
|
|
31
34
|
"btn-outline-danger": boolean | undefined;
|
|
32
35
|
'btn-outline-info': boolean | undefined;
|
|
@@ -34,6 +37,7 @@ declare const _default: {
|
|
|
34
37
|
"btn-brand"?: undefined;
|
|
35
38
|
"btn-secondary"?: undefined;
|
|
36
39
|
"btn-success"?: undefined;
|
|
40
|
+
"btn-success-alternate"?: undefined;
|
|
37
41
|
"btn-warning"?: undefined;
|
|
38
42
|
"btn-danger"?: undefined;
|
|
39
43
|
'btn-info'?: undefined;
|
|
@@ -10,6 +10,7 @@ declare const _default: {
|
|
|
10
10
|
"bg-warning-subtle text-warning border-warning": boolean;
|
|
11
11
|
"bg-danger-subtle text-danger border-danger": boolean;
|
|
12
12
|
"bg-info-subtle text-info border-info": boolean;
|
|
13
|
+
"bg-success-alternate-subtle text-success-alternate border-success-alternate": boolean;
|
|
13
14
|
"rounded-pill"?: undefined;
|
|
14
15
|
} | {
|
|
15
16
|
"rounded-pill": boolean | undefined;
|
|
@@ -20,6 +21,7 @@ declare const _default: {
|
|
|
20
21
|
"bg-warning-subtle text-warning border-warning"?: undefined;
|
|
21
22
|
"bg-danger-subtle text-danger border-danger"?: undefined;
|
|
22
23
|
"bg-info-subtle text-info border-info"?: undefined;
|
|
24
|
+
"bg-success-alternate-subtle text-success-alternate border-success-alternate"?: undefined;
|
|
23
25
|
})[];
|
|
24
26
|
};
|
|
25
27
|
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { TreeTablePassThroughMethodOptions } from 'primevue';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
treetable: {
|
|
4
|
+
root: string;
|
|
5
|
+
table: ({ props, attrs }: TreeTablePassThroughMethodOptions) => {
|
|
6
|
+
class: (string | {
|
|
7
|
+
'table-striped': any;
|
|
8
|
+
'table-hover': boolean | undefined;
|
|
9
|
+
'table-bordered': boolean | undefined;
|
|
10
|
+
'table-sm': boolean;
|
|
11
|
+
'table-lg': boolean;
|
|
12
|
+
'opacity-50': boolean | undefined;
|
|
13
|
+
})[];
|
|
14
|
+
};
|
|
15
|
+
mask: () => {
|
|
16
|
+
class: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export default _default;
|
|
@@ -2,7 +2,7 @@ import { ColumnProps } from 'primevue/column';
|
|
|
2
2
|
import { FilterMatchModeOptions } from '@primevue/core/api';
|
|
3
3
|
import { FileUploadStatus } from '../components/file-uploader/utilities/utilities';
|
|
4
4
|
import { DataTableFilterMeta } from 'primevue/datatable';
|
|
5
|
-
export type Severity = 'primary' | 'secondary' | 'success' | 'success-dark' | 'warning' | 'danger' | 'info' | 'brand' | undefined;
|
|
5
|
+
export type Severity = 'primary' | 'secondary' | 'success' | 'success-dark' | 'success-alternate' | '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" | "select" | "multiselect" | "datepicker" | "multiselect-preview";
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
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": "2.
|
|
5
|
+
"version": "2.14.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"contributors": [
|
|
@@ -37,8 +37,9 @@
|
|
|
37
37
|
"@azure/storage-blob": "^12.17.0",
|
|
38
38
|
"@iconify/vue": "^4.2.0",
|
|
39
39
|
"@popperjs/core": "^2.11.8",
|
|
40
|
-
"@vueuse/components": "^
|
|
40
|
+
"@vueuse/components": "^13.0.0",
|
|
41
41
|
"bootstrap": "^5.3.3",
|
|
42
|
+
"lodash-es": "^4.17.21",
|
|
42
43
|
"mime": "^4.0.4",
|
|
43
44
|
"primevue": "^4.2.5",
|
|
44
45
|
"vee-validate": "^4.11.8",
|
|
@@ -47,25 +48,25 @@
|
|
|
47
48
|
},
|
|
48
49
|
"devDependencies": {
|
|
49
50
|
"@cypress/code-coverage": "3.13.12",
|
|
50
|
-
"@primevue/auto-import-resolver": "4.3.
|
|
51
|
+
"@primevue/auto-import-resolver": "4.3.2",
|
|
51
52
|
"@vitejs/plugin-vue": "5.2.1",
|
|
52
|
-
"@vitest/coverage-v8": "3.0.
|
|
53
|
-
"@vitest/ui": "3.0.
|
|
53
|
+
"@vitest/coverage-v8": "3.0.8",
|
|
54
|
+
"@vitest/ui": "3.0.8",
|
|
54
55
|
"cypress": "14.1.0",
|
|
55
56
|
"cypress-real-events": "1.14.0",
|
|
56
57
|
"rollup-plugin-visualizer": "5.14.0",
|
|
57
58
|
"sass": "1.85.1",
|
|
58
59
|
"typescript": "5.8.2",
|
|
59
60
|
"unplugin-vue-components": "28.4.1",
|
|
60
|
-
"vite": "6.2.
|
|
61
|
+
"vite": "6.2.1",
|
|
61
62
|
"vite-bundle-visualizer": "1.2.1",
|
|
62
63
|
"vite-plugin-dts": "4.5.3",
|
|
63
64
|
"vite-plugin-istanbul": "7.0.0",
|
|
64
|
-
"vitest": "3.0.
|
|
65
|
+
"vitest": "3.0.8",
|
|
65
66
|
"vue-drawing-canvas": "1.0.14"
|
|
66
67
|
},
|
|
67
68
|
"optionalDependencies": {
|
|
68
|
-
"@rollup/rollup-linux-x64-gnu": "4.
|
|
69
|
+
"@rollup/rollup-linux-x64-gnu": "4.35.0"
|
|
69
70
|
},
|
|
70
71
|
"nyc": {
|
|
71
72
|
"all": true,
|
|
@@ -19,6 +19,10 @@ $success: #21aa64;
|
|
|
19
19
|
$success-dark: #177746;
|
|
20
20
|
$success-subtle: #e9f7f0;
|
|
21
21
|
|
|
22
|
+
$success-alternate: #99C541;
|
|
23
|
+
$success-alternate-dark: #779A31;
|
|
24
|
+
$success-alternate-subtle: #F2FFDC;
|
|
25
|
+
|
|
22
26
|
$warning: #ffae00;
|
|
23
27
|
$warning-dark: #B05319;
|
|
24
28
|
$warning-subtle: #fff7e6;
|
|
@@ -34,6 +38,7 @@ $base-colors: (
|
|
|
34
38
|
'primary': $primary,
|
|
35
39
|
'secondary': $secondary,
|
|
36
40
|
'success': $success,
|
|
41
|
+
'success-alternate': $success-alternate,
|
|
37
42
|
'warning': $warning,
|
|
38
43
|
'danger': $danger,
|
|
39
44
|
'light': $light,
|
|
@@ -49,6 +54,7 @@ $subtle-colors: (
|
|
|
49
54
|
'primary-subtle': $primary-subtle,
|
|
50
55
|
'secondary-subtle': $light,
|
|
51
56
|
'success-subtle': $success-subtle,
|
|
57
|
+
'success-alternate-subtle': $success-alternate-subtle,
|
|
52
58
|
'warning-subtle': $warning-subtle,
|
|
53
59
|
'danger-subtle': $danger-subtle,
|
|
54
60
|
'info-subtle': $info-bg-subtle
|
|
@@ -58,6 +64,7 @@ $dark-colors: (
|
|
|
58
64
|
'brand-dark': $brand-dark,
|
|
59
65
|
'primary-dark': $primary-dark,
|
|
60
66
|
'success-dark': $success-dark,
|
|
67
|
+
'success-alternate-dark': $success-alternate-dark,
|
|
61
68
|
'warning-dark': $warning-dark,
|
|
62
69
|
'danger-dark': $danger-dark
|
|
63
70
|
);
|
|
@@ -68,6 +75,16 @@ $brand-text-emphasis: shade-color($brand, 60%) !default;
|
|
|
68
75
|
$brand-bg-subtle: $brand-shade-1 !default;
|
|
69
76
|
$brand-border-subtle: tint-color($brand-dark, 60%) !default;
|
|
70
77
|
|
|
78
|
+
$success-alternate-text-emphasis: shade-color($success-alternate, 60%) !default;
|
|
79
|
+
$success-alternate-bg-subtle: $success-alternate-subtle !default;
|
|
80
|
+
$success-alternate-border-subtle: tint-color($success-alternate-dark, 60%) !default;
|
|
81
|
+
|
|
82
|
+
:root {
|
|
83
|
+
--bs-success-alternate-text-emphasis: #{$success-alternate-text-emphasis};
|
|
84
|
+
--bs-success-alternate-bg-subtle: #{$success-alternate-bg-subtle};
|
|
85
|
+
--bs-success-alternate-border-subtle: #{$success-alternate-border-subtle};
|
|
86
|
+
}
|
|
87
|
+
|
|
71
88
|
@import 'bootstrap/scss/maps';
|
|
72
89
|
|
|
73
90
|
$brand-theme-colors-text: (
|
package/src/types/forge-types.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { FilterMatchModeOptions } from "@primevue/core/api";
|
|
|
3
3
|
import { FileUploadStatus } from "../components/file-uploader/utilities/utilities";
|
|
4
4
|
import { DataTableFilterMeta } from "primevue/datatable";
|
|
5
5
|
|
|
6
|
-
export type Severity = 'primary' | 'secondary' | 'success'| 'success-dark' | 'warning' | 'danger' | 'info' | 'brand' | undefined
|
|
6
|
+
export type Severity = 'primary' | 'secondary' | 'success'| 'success-dark' | 'success-alternate' | 'warning' | 'danger' | 'info' | 'brand' | undefined
|
|
7
7
|
export type Size = 'sm' | 'md' | 'lg' | undefined
|
|
8
8
|
export type BarPosition = 'top' | 'left' | 'none'
|
|
9
9
|
|