pangea-lib 1.15.2 → 2.0.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/main.cjs.js +29 -12
- package/dist/main.es.js +23053 -7850
- package/dist/style.css +1 -1
- package/dist/types/components/PgaBadge.vue.d.ts +22 -0
- package/dist/types/components/PgaButton.vue.d.ts +66 -0
- package/dist/types/components/PgaInfoCard.vue.d.ts +9 -0
- package/dist/types/components/PgaInfoCardFullPage.vue.d.ts +28 -0
- package/dist/types/components/PgaItemSelected.vue.d.ts +15 -0
- package/dist/types/components/PgaModal.vue.d.ts +43 -0
- package/dist/types/components/PgaNoData.vue.d.ts +9 -0
- package/dist/types/components/PgaSelector.vue.d.ts +31 -0
- package/dist/types/components/PgaSpinner.vue.d.ts +29 -0
- package/dist/types/components/chart/PgaBarChart.vue.d.ts +35 -0
- package/dist/types/components/form/PgaDatePicker.vue.d.ts +36 -0
- package/dist/types/components/form/PgaInputErrors.vue.d.ts +15 -0
- package/dist/types/components/index.d.ts +13 -1
- package/dist/types/types/index.d.ts +1 -0
- package/package.json +7 -2
- /package/dist/types/components/{input → form}/PgaSelect.vue.d.ts +0 -0
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.select[data-v-a3255688]{position:relative}.select .select--input[data-v-a3255688]{position:relative;min-height:2.4rem;padding-right:1.8rem;border:1px solid #cecece;border-radius:.2rem;display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:.5rem;flex-wrap:nowrap}.select .select--input__disabled[data-v-a3255688]{cursor:not-allowed;background-color:#efefef}.select .select--input__dropdown-active[data-v-a3255688]{border-color:#969696}.select .select--input .select--input--empty-options-msg[data-v-a3255688]{font-size:.9rem;padding-left:.5rem;padding-right:.5rem}.select .select--input .select--input--chevron-icon[data-v-a3255688]{position:absolute;top:50%;right:.5rem;height:.8rem;margin-top:-.4rem}.select .select--dropdown[data-v-a3255688]{list-style-type:none;position:absolute;top:0;left:0;right:0;z-index:100;margin-top:var(--16a8119c);padding:0;border:1px solid #b4b4b4;border-radius:.5rem;background-color:#fff;box-shadow:0 0 1rem #0003}.select .select--dropdown .select--dropdown--option[data-v-a3255688]:hover{background-color:#218c5a0d}.select .select--dropdown .select--dropdown--option.select--dropdown--option__selected[data-v-a3255688]{background-color:#218c5a1a}
|
|
1
|
+
.badge[data-v-fa9e5ef7]{-webkit-user-select:none;user-select:none;font-size:.8rem;min-width:fit-content;padding-left:.3rem;padding-right:.3rem;border-width:1px;border-style:solid;border-radius:.4rem;display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:.5rem;flex-wrap:nowrap;gap:.3rem}.badge__dark[data-v-fa9e5ef7]{border-color:#1e1e1e;color:#1e1e1e;background-color:#1e1e1e0d}.badge__light[data-v-fa9e5ef7]{border-color:#f0f0f0;color:#f0f0f0;background-color:#f0f0f00d}.badge__danger[data-v-fa9e5ef7]{border-color:#ff5959;color:#ff5959;background-color:#ff59590d}.badge__warning[data-v-fa9e5ef7]{border-color:#ffbd35;color:#ffbd35;background-color:#ffbd350d}.badge__success[data-v-fa9e5ef7]{border-color:#95cd41;color:#95cd41;background-color:#95cd410d}.badge__red[data-v-fa9e5ef7]{border-color:#de4795;color:#de4795;background-color:#de47950d}.badge__purple[data-v-fa9e5ef7]{border-color:#7746db;color:#7746db;background-color:#7746db0d}.badge__sky[data-v-fa9e5ef7]{border-color:#1ab8c3;color:#1ab8c3;background-color:#1ab8c30d}.badge__beige[data-v-fa9e5ef7]{border-color:#fdf5e6;color:#fdf5e6;background-color:#fdf5e60d}.spinner[data-v-8f75b299]{display:inline-block;position:relative}.spinner__s[data-v-8f75b299]{height:1.25rem;width:1.25rem}.spinner__m[data-v-8f75b299]{height:2.5rem;width:2.5rem}.spinner__b[data-v-8f75b299]{height:4rem;width:4rem}.spinner .spinner--side[data-v-8f75b299]{display:block;position:absolute;border-color:#218c5a transparent transparent transparent;border-style:solid;border-radius:50%;animation:spinner-8f75b299 1.2s cubic-bezier(.5,0,.5,1) infinite}.spinner .spinner--side[data-v-8f75b299]:nth-child(1){animation-delay:-.45s}.spinner .spinner--side[data-v-8f75b299]:nth-child(2){animation-delay:-.3s}.spinner .spinner--side[data-v-8f75b299]:nth-child(3){animation-delay:-.15s}.spinner .spinner--side__s[data-v-8f75b299]{height:1rem;width:1rem;margin:.125rem;border-width:.125rem}.spinner .spinner--side__m[data-v-8f75b299]{height:2rem;width:2rem;margin:.25rem;border-width:.25rem}.spinner .spinner--side__b[data-v-8f75b299]{height:3.2rem;width:3.2rem;margin:.4rem;border-width:.4rem}@-moz-keyframes spinner-8f75b299{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@-webkit-keyframes spinner-8f75b299{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@-o-keyframes spinner-8f75b299{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes spinner-8f75b299{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.button[data-v-1528daaf]{cursor:pointer;-webkit-user-select:none;user-select:none;font:inherit;text-decoration:none;position:relative;min-width:fit-content;border:none;outline:0;color:inherit;background-color:inherit;padding-left:.5rem;padding-right:.5rem;border-radius:.25rem;display:flex;flex-direction:row;justify-content:center;align-items:center;gap:.5rem;flex-wrap:nowrap}.button__xs[data-v-1528daaf]{font-size:.8rem;height:1.6rem}.button__s[data-v-1528daaf]{font-size:.9rem;height:1.8rem}.button__m[data-v-1528daaf]{font-size:1rem;height:2rem}.button__l[data-v-1528daaf]{font-size:1.1rem;height:2.2rem}.button__link[data-v-1528daaf]{background-color:transparent}.button__link[data-v-1528daaf]:hover{text-decoration:underline}.button__primary[data-v-1528daaf]{color:#fff;background-color:#218c5a;border:1px solid rgba(255,255,255,.5)}.button__primary[data-v-1528daaf]:hover{background-color:#218c5ae6}.button__primary .button--number-to-display[data-v-1528daaf]{color:#218c5a;background-color:#fff;border:1px solid rgba(33,140,90,.5)}.button__secondary[data-v-1528daaf]{color:#fff;background-color:#218c5a;border:1px solid rgba(255,255,255,.5)}.button__secondary[data-v-1528daaf]:hover{background-color:#218c5ae6}.button__secondary .button--number-to-display[data-v-1528daaf]{color:#218c5a;background-color:#fff;border:1px solid rgba(33,140,90,.5)}.button__dark[data-v-1528daaf]{color:#fff;background-color:#1e1e1e;border:1px solid rgba(255,255,255,.5)}.button__dark[data-v-1528daaf]:hover{background-color:#1e1e1ee6}.button__dark .button--number-to-display[data-v-1528daaf]{color:#1e1e1e;background-color:#fff;border:1px solid rgba(30,30,30,.5)}.button__light[data-v-1528daaf]{color:#000;background-color:#f0f0f0;border:1px solid rgba(0,0,0,.5)}.button__light[data-v-1528daaf]:hover{background-color:#f0f0f0e6}.button__light .button--number-to-display[data-v-1528daaf]{color:#f0f0f0;background-color:#000;border:1px solid rgba(240,240,240,.5)}.button__success[data-v-1528daaf]{color:#fff;background-color:#95cd41;border:1px solid rgba(255,255,255,.5)}.button__success[data-v-1528daaf]:hover{background-color:#95cd41e6}.button__success .button--number-to-display[data-v-1528daaf]{color:#95cd41;background-color:#fff;border:1px solid rgba(149,205,65,.5)}.button__warning[data-v-1528daaf]{color:#fff;background-color:#ffbd35;border:1px solid rgba(255,255,255,.5)}.button__warning[data-v-1528daaf]:hover{background-color:#ffbd35e6}.button__warning .button--number-to-display[data-v-1528daaf]{color:#ffbd35;background-color:#fff;border:1px solid rgba(255,189,53,.5)}.button__danger[data-v-1528daaf]{color:#fff;background-color:#ff5959;border:1px solid rgba(255,255,255,.5)}.button__danger[data-v-1528daaf]:hover{background-color:#ff5959e6}.button__danger .button--number-to-display[data-v-1528daaf]{color:#ff5959;background-color:#fff;border:1px solid rgba(255,89,89,.5)}.button__purple[data-v-1528daaf]{color:#fff;background-color:#7746db;border:1px solid rgba(255,255,255,.5)}.button__purple[data-v-1528daaf]:hover{background-color:#7746dbe6}.button__purple .button--number-to-display[data-v-1528daaf]{color:#7746db;background-color:#fff;border:1px solid rgba(119,70,219,.5)}.button__sky[data-v-1528daaf]{color:#fff;background-color:#1ab8c3;border:1px solid rgba(255,255,255,.5)}.button__sky[data-v-1528daaf]:hover{background-color:#1ab8c3e6}.button__sky .button--number-to-display[data-v-1528daaf]{color:#1ab8c3;background-color:#fff;border:1px solid rgba(26,184,195,.5)}.button__is-loading[data-v-1528daaf]{cursor:initial}.button .button--number-to-display[data-v-1528daaf]{cursor:initial;font-size:.6rem;position:absolute;top:-.55rem;right:-.55rem;height:1.15rem;width:1.15rem;border-radius:100%;display:flex;flex-direction:row;justify-content:center;align-items:center;gap:0;flex-wrap:nowrap}a.button[data-v-1528daaf]{display:inline-flex;padding:.3rem;border-radius:0}.info-card[data-v-ab146705]{background-color:#fafafa;border:1px solid rgba(0,219,207,.8);border-radius:.3rem;display:flex}.info-card .info-card--icon-container[data-v-ab146705]{background-color:#00dbcf;padding:.8rem;border-radius:.3rem 0 0 .3rem;display:flex;flex-direction:row;justify-content:center;align-items:center;gap:0;flex-wrap:nowrap}.info-card .info-card--icon-container .info-card--icon[data-v-ab146705]{color:#fff;font-size:1.6rem}.info-card .info-card--content[data-v-ab146705]{font-size:.9rem;padding:.8rem;display:flex;flex-direction:row;justify-content:center;align-items:center;gap:0;flex-wrap:nowrap}.information-card-container[data-v-f32c44fb]{height:100vh;background-color:#efefef;display:flex;flex-direction:row;justify-content:center;align-items:center;gap:0;flex-wrap:nowrap}.information-card-container .information-card[data-v-f32c44fb]{text-align:center;max-width:40rem;padding:1.5rem 2rem;border-radius:.5rem;background-color:#fff;box-shadow:0 0 1rem #0003;display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:1rem;flex-wrap:nowrap}.information-card-container .information-card .information-card--icon[data-v-f32c44fb]{font-size:3.5rem}.information-card-container .information-card .information-card--icon__success[data-v-f32c44fb]{color:#95cd41}.information-card-container .information-card .information-card--icon__danger[data-v-f32c44fb]{color:#ff5959}.information-card-container .information-card .information-card--title[data-v-f32c44fb]{font-size:1.25rem}.information-card-container .information-card .information-card--description[data-v-f32c44fb]{font-size:.98rem;color:#1e1e1e}.item-selected[data-v-e2dbb94f]{cursor:pointer;height:1.3rem;min-height:1.3rem;width:1.3rem;min-width:1.3rem;border:.15rem solid #9a9a9a;border-radius:100%;background-color:#f8f8f8;display:flex;flex-direction:row;justify-content:center;align-items:center;gap:0;flex-wrap:nowrap}.item-selected .item-selected--check-icon[data-v-e2dbb94f]{font-size:.9rem;color:#9a9a9a}.item-selected__selected[data-v-e2dbb94f]{border-color:#95cd41;background-color:#95cd41}.item-selected__selected .item-selected--check-icon[data-v-e2dbb94f]{color:#f8f8f8}.modal[data-v-95c91898]{position:fixed;z-index:10000;left:0;top:0;height:100vh;width:100%;background-color:#0006;display:flex;flex-direction:row;justify-content:center;align-items:center;gap:0;flex-wrap:nowrap}.modal .modal--content[data-v-95c91898]{border:1px solid #808080;border-radius:.6rem;margin-top:-4vh;width:95%;max-width:600px;background-color:#fefefe}.modal .modal--content .modal--header[data-v-95c91898]{padding:.5rem 1.2rem;background-color:#8080801a;display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:nowrap}.modal .modal--content .modal--header .modal--title[data-v-95c91898]{font-weight:700}.modal .modal--content .modal--header .close-icon[data-v-95c91898]{cursor:pointer;height:2rem;width:2rem;border-radius:.5rem;display:flex;flex-direction:row;justify-content:center;align-items:center;gap:0;flex-wrap:nowrap}.modal .modal--content .modal--header .close-icon[data-v-95c91898]:hover{background-color:#8080804d}.modal .modal--content .modal--body[data-v-95c91898]{margin-top:1.2rem;margin-bottom:1.5rem;padding-left:1.2rem;padding-right:1.2rem;max-height:68vh;overflow:auto}.modal .modal--content .modal--footer[data-v-95c91898]{padding:.9rem 1.2rem;border-top:1px solid rgba(128,128,128,.6);display:flex;flex-direction:row;justify-content:flex-end;align-items:center;gap:.5rem;flex-wrap:nowrap}.no-data[data-v-9b02503e]{font-weight:700;padding:2.5rem;border-radius:.3rem;color:#585858;background-color:#fff;display:flex;flex-direction:row;justify-content:center;align-items:center;gap:0;flex-wrap:nowrap}.selector-container[data-v-1b97195e]{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:.4rem;flex-wrap:nowrap}.selector-container .selector-label[data-v-1b97195e]{font-size:.9rem;color:#585858}.selector-container .selector[data-v-1b97195e]{font-size:.9rem;border-radius:.3rem;color:#585858;background-color:#efefef;display:flex;flex-direction:row;justify-content:center;align-items:stretch;gap:0;flex-wrap:nowrap}.selector-container .selector .selector--item[data-v-1b97195e]{-webkit-user-select:none;user-select:none;cursor:pointer;border:1px solid #9b9b9b;height:2.2rem;width:9rem;display:flex;flex-direction:row;justify-content:center;align-items:center;gap:0;flex-wrap:nowrap}.selector-container .selector .selector--item__first-item[data-v-1b97195e]{border-radius:.3rem 0 0 .3rem}.selector-container .selector .selector--item__last-item[data-v-1b97195e]{border-radius:0 .3rem .3rem 0}.selector-container .selector .selector--item__active[data-v-1b97195e]{font-weight:700;border:2px solid #218c5a;color:#218c5a;background-color:#218c5a14}.selector-container .selector .selector--item[data-v-1b97195e]:hover{background-color:#218c5a0d}.error-message[data-v-eb3bec86]{font-size:.9rem;color:#e11515e9;display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:.5rem;flex-wrap:nowrap}.select[data-v-6ebc675c]{position:relative}.select .select--input[data-v-6ebc675c]{position:relative;min-height:2.4rem;padding-right:1.8rem;border:1px solid #cecece;border-radius:.2rem;display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:.5rem;flex-wrap:nowrap}.select .select--input__disabled[data-v-6ebc675c]{cursor:not-allowed;background-color:#efefef}.select .select--input__dropdown-active[data-v-6ebc675c]{border-color:#969696}.select .select--input .select--input--empty-options-msg[data-v-6ebc675c]{font-size:.9rem;padding-left:.5rem;padding-right:.5rem}.select .select--input .select--input--chevron-icon[data-v-6ebc675c]{position:absolute;top:50%;right:.5rem;height:.8rem;margin-top:-.4rem}.select .select--dropdown[data-v-6ebc675c]{list-style-type:none;position:absolute;top:0;left:0;right:0;z-index:100;margin-top:var(--43f727e9);padding:0;border:1px solid #b4b4b4;border-radius:.5rem;background-color:#fff;box-shadow:0 0 1rem #0003}.select .select--dropdown .select--dropdown--option[data-v-6ebc675c]:hover{background-color:#218c5a0d}.select .select--dropdown .select--dropdown--option.select--dropdown--option__selected[data-v-6ebc675c]{background-color:#218c5a1a}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
color: "dark" | "light" | "danger" | "warning" | "success" | "red" | "purple" | "sky" | "beige";
|
|
3
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
color: "dark" | "light" | "danger" | "warning" | "success" | "red" | "purple" | "sky" | "beige";
|
|
5
|
+
}>>>, {}, {}>, {
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
}>;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
11
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
|
+
} : {
|
|
14
|
+
type: import('vue').PropType<T[K]>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
isLoading?: boolean;
|
|
3
|
+
numberToDisplay?: number;
|
|
4
|
+
href?: string;
|
|
5
|
+
target?: string;
|
|
6
|
+
type?: "dark" | "light" | "danger" | "warning" | "success" | "purple" | "sky" | "link" | "primary" | "secondary";
|
|
7
|
+
size?: "s" | "m" | "xs" | "l";
|
|
8
|
+
paddingY?: string;
|
|
9
|
+
paddingX?: string;
|
|
10
|
+
borderRadius?: string;
|
|
11
|
+
textDecoration?: string;
|
|
12
|
+
}>, {
|
|
13
|
+
isLoading: boolean;
|
|
14
|
+
href: any;
|
|
15
|
+
target: string;
|
|
16
|
+
type: string;
|
|
17
|
+
size: string;
|
|
18
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
19
|
+
isLoading?: boolean;
|
|
20
|
+
numberToDisplay?: number;
|
|
21
|
+
href?: string;
|
|
22
|
+
target?: string;
|
|
23
|
+
type?: "dark" | "light" | "danger" | "warning" | "success" | "purple" | "sky" | "link" | "primary" | "secondary";
|
|
24
|
+
size?: "s" | "m" | "xs" | "l";
|
|
25
|
+
paddingY?: string;
|
|
26
|
+
paddingX?: string;
|
|
27
|
+
borderRadius?: string;
|
|
28
|
+
textDecoration?: string;
|
|
29
|
+
}>, {
|
|
30
|
+
isLoading: boolean;
|
|
31
|
+
href: any;
|
|
32
|
+
target: string;
|
|
33
|
+
type: string;
|
|
34
|
+
size: string;
|
|
35
|
+
}>>>, {
|
|
36
|
+
type: "dark" | "light" | "danger" | "warning" | "success" | "purple" | "sky" | "link" | "primary" | "secondary";
|
|
37
|
+
size: "s" | "m" | "xs" | "l";
|
|
38
|
+
isLoading: boolean;
|
|
39
|
+
href: string;
|
|
40
|
+
target: string;
|
|
41
|
+
}, {}>, {
|
|
42
|
+
default?(_: {}): any;
|
|
43
|
+
}>;
|
|
44
|
+
export default _default;
|
|
45
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
46
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
47
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
48
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
49
|
+
} : {
|
|
50
|
+
type: import('vue').PropType<T[K]>;
|
|
51
|
+
required: true;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
type __VLS_WithDefaults<P, D> = {
|
|
55
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
56
|
+
default: D[K];
|
|
57
|
+
}> : P[K];
|
|
58
|
+
};
|
|
59
|
+
type __VLS_Prettify<T> = {
|
|
60
|
+
[K in keyof T]: T[K];
|
|
61
|
+
} & {};
|
|
62
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
63
|
+
new (): {
|
|
64
|
+
$slots: S;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>, {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
}>;
|
|
4
|
+
export default _default;
|
|
5
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
|
+
new (): {
|
|
7
|
+
$slots: S;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
type: "danger" | "success";
|
|
3
|
+
informationCardTitle: string;
|
|
4
|
+
informationCardDescription?: string;
|
|
5
|
+
isLoading?: boolean;
|
|
6
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
type: "danger" | "success";
|
|
8
|
+
informationCardTitle: string;
|
|
9
|
+
informationCardDescription?: string;
|
|
10
|
+
isLoading?: boolean;
|
|
11
|
+
}>>>, {}, {}>, {
|
|
12
|
+
default?(_: {}): any;
|
|
13
|
+
}>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
+
} : {
|
|
20
|
+
type: import('vue').PropType<T[K]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
isItemSelected: boolean;
|
|
3
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
isItemSelected: boolean;
|
|
5
|
+
}>>>, {}, {}>;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
9
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
+
} : {
|
|
12
|
+
type: import('vue').PropType<T[K]>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
required: true;
|
|
4
|
+
type: import('vue').PropType<boolean>;
|
|
5
|
+
};
|
|
6
|
+
title: {
|
|
7
|
+
type: import('vue').PropType<string>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
confirmButtons: {
|
|
11
|
+
type: import('vue').PropType<boolean>;
|
|
12
|
+
};
|
|
13
|
+
isLoading: {
|
|
14
|
+
type: import('vue').PropType<boolean>;
|
|
15
|
+
};
|
|
16
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
+
accept: (...args: any[]) => void;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
19
|
+
modelValue: {
|
|
20
|
+
required: true;
|
|
21
|
+
type: import('vue').PropType<boolean>;
|
|
22
|
+
};
|
|
23
|
+
title: {
|
|
24
|
+
type: import('vue').PropType<string>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
confirmButtons: {
|
|
28
|
+
type: import('vue').PropType<boolean>;
|
|
29
|
+
};
|
|
30
|
+
isLoading: {
|
|
31
|
+
type: import('vue').PropType<boolean>;
|
|
32
|
+
};
|
|
33
|
+
}>> & {
|
|
34
|
+
onAccept?: (...args: any[]) => any;
|
|
35
|
+
}, {}, {}>, {
|
|
36
|
+
default?(_: {}): any;
|
|
37
|
+
}>;
|
|
38
|
+
export default _default;
|
|
39
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
40
|
+
new (): {
|
|
41
|
+
$slots: S;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>, {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
}>;
|
|
4
|
+
export default _default;
|
|
5
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
|
+
new (): {
|
|
7
|
+
$slots: S;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
type SelectorItem<ID = string> = {
|
|
2
|
+
id: ID;
|
|
3
|
+
label: string;
|
|
4
|
+
};
|
|
5
|
+
type SelectorItems<ID = string> = SelectorItem<ID>[];
|
|
6
|
+
declare const _default: import('vue').DefineComponent<{
|
|
7
|
+
itemSelectedId: {
|
|
8
|
+
required: true;
|
|
9
|
+
type: import('vue').PropType<string>;
|
|
10
|
+
};
|
|
11
|
+
label: {
|
|
12
|
+
type: import('vue').PropType<string>;
|
|
13
|
+
};
|
|
14
|
+
items: {
|
|
15
|
+
type: import('vue').PropType<SelectorItems<string>>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
19
|
+
itemSelectedId: {
|
|
20
|
+
required: true;
|
|
21
|
+
type: import('vue').PropType<string>;
|
|
22
|
+
};
|
|
23
|
+
label: {
|
|
24
|
+
type: import('vue').PropType<string>;
|
|
25
|
+
};
|
|
26
|
+
items: {
|
|
27
|
+
type: import('vue').PropType<SelectorItems<string>>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
}>>, {}, {}>;
|
|
31
|
+
export default _default;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
size?: 's' | 'm' | 'b';
|
|
3
|
+
}>, {
|
|
4
|
+
size: string;
|
|
5
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
size?: 's' | 'm' | 'b';
|
|
7
|
+
}>, {
|
|
8
|
+
size: string;
|
|
9
|
+
}>>>, {
|
|
10
|
+
size: 's' | 'm' | 'b';
|
|
11
|
+
}, {}>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
15
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
+
} : {
|
|
18
|
+
type: import('vue').PropType<T[K]>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
type __VLS_WithDefaults<P, D> = {
|
|
23
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
24
|
+
default: D[K];
|
|
25
|
+
}> : P[K];
|
|
26
|
+
};
|
|
27
|
+
type __VLS_Prettify<T> = {
|
|
28
|
+
[K in keyof T]: T[K];
|
|
29
|
+
} & {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { BarChartOptions, BarChartData } from '../../types/chart';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
id?: string;
|
|
5
|
+
options?: BarChartOptions;
|
|
6
|
+
data: BarChartData;
|
|
7
|
+
}>, {
|
|
8
|
+
id: string;
|
|
9
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
id?: string;
|
|
11
|
+
options?: BarChartOptions;
|
|
12
|
+
data: BarChartData;
|
|
13
|
+
}>, {
|
|
14
|
+
id: string;
|
|
15
|
+
}>>>, {
|
|
16
|
+
id: string;
|
|
17
|
+
}, {}>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
21
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
22
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
23
|
+
} : {
|
|
24
|
+
type: import('vue').PropType<T[K]>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
type __VLS_WithDefaults<P, D> = {
|
|
29
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
30
|
+
default: D[K];
|
|
31
|
+
}> : P[K];
|
|
32
|
+
};
|
|
33
|
+
type __VLS_Prettify<T> = {
|
|
34
|
+
[K in keyof T]: T[K];
|
|
35
|
+
} & {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
required: true;
|
|
4
|
+
type: import('vue').PropType<any>;
|
|
5
|
+
};
|
|
6
|
+
yearPicker: {
|
|
7
|
+
type: import('vue').PropType<boolean>;
|
|
8
|
+
};
|
|
9
|
+
monthPicker: {
|
|
10
|
+
type: import('vue').PropType<boolean>;
|
|
11
|
+
};
|
|
12
|
+
range: {
|
|
13
|
+
type: import('vue').PropType<boolean>;
|
|
14
|
+
};
|
|
15
|
+
enableTimePicker: {
|
|
16
|
+
type: import('vue').PropType<boolean>;
|
|
17
|
+
};
|
|
18
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
19
|
+
modelValue: {
|
|
20
|
+
required: true;
|
|
21
|
+
type: import('vue').PropType<any>;
|
|
22
|
+
};
|
|
23
|
+
yearPicker: {
|
|
24
|
+
type: import('vue').PropType<boolean>;
|
|
25
|
+
};
|
|
26
|
+
monthPicker: {
|
|
27
|
+
type: import('vue').PropType<boolean>;
|
|
28
|
+
};
|
|
29
|
+
range: {
|
|
30
|
+
type: import('vue').PropType<boolean>;
|
|
31
|
+
};
|
|
32
|
+
enableTimePicker: {
|
|
33
|
+
type: import('vue').PropType<boolean>;
|
|
34
|
+
};
|
|
35
|
+
}>>, {}, {}>;
|
|
36
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
errors: any[];
|
|
3
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
errors: any[];
|
|
5
|
+
}>>>, {}, {}>;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
9
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
+
} : {
|
|
12
|
+
type: import('vue').PropType<T[K]>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
export { default as PgaBadge } from './PgaBadge.vue';
|
|
2
|
+
export { default as PgaButton } from './PgaButton.vue';
|
|
1
3
|
export { default as PgaIcon } from './PgaIcon.vue';
|
|
4
|
+
export { default as PgaInfoCard } from './PgaInfoCard.vue';
|
|
5
|
+
export { default as PgaInfoCardFullPage } from './PgaInfoCardFullPage.vue';
|
|
6
|
+
export { default as PgaItemSelected } from './PgaItemSelected.vue';
|
|
7
|
+
export { default as PgaModal } from './PgaModal.vue';
|
|
8
|
+
export { default as PgaNoData } from './PgaNoData.vue';
|
|
9
|
+
export { default as PgaSelector } from './PgaSelector.vue';
|
|
10
|
+
export { default as PgaSpinner } from './PgaSpinner.vue';
|
|
11
|
+
export { default as PgaBarChart } from './chart/PgaBarChart.vue';
|
|
2
12
|
export { default as PgaDisplayText } from './display/PgaDisplayText.vue';
|
|
3
|
-
export { default as
|
|
13
|
+
export { default as PgaDatePicker } from './form/PgaDatePicker.vue';
|
|
14
|
+
export { default as PgaInputErrors } from './form/PgaInputErrors.vue';
|
|
15
|
+
export { default as PgaSelect } from './form/PgaSelect.vue';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pangea-lib",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "2.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist",
|
|
@@ -45,9 +45,14 @@
|
|
|
45
45
|
"@fortawesome/free-regular-svg-icons": "^6.5.1",
|
|
46
46
|
"@fortawesome/free-solid-svg-icons": "^6.5.1",
|
|
47
47
|
"@fortawesome/vue-fontawesome": "^3.0.5",
|
|
48
|
+
"@vuepic/vue-datepicker": "^8.6.0",
|
|
49
|
+
"chart.js": "^4.4.2",
|
|
48
50
|
"click-outside-vue3": "^4.0.1",
|
|
49
51
|
"moment": "^2.30.1",
|
|
50
|
-
"
|
|
52
|
+
"pinia": "^2.1.7",
|
|
53
|
+
"pinia-plugin-persistedstate": "^3.2.1",
|
|
54
|
+
"vue": "^3.4.21",
|
|
55
|
+
"vue-chartjs": "^5.3.0"
|
|
51
56
|
},
|
|
52
57
|
"devDependencies": {
|
|
53
58
|
"@types/node": "^20.2.5",
|
|
File without changes
|