@prozorro/prozorro-ui 0.0.8 → 0.0.9-beta
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/app/assets/Color-FRDS63T2-DlPAsSuC.js +1 -0
- package/dist/app/assets/{Colors.stories-B6EPF0nC.js → Colors.stories-7e9Kvci_.js} +1 -1
- package/dist/app/assets/{DocsRenderer-LL677BLK-6m2x0Slf.js → DocsRenderer-LL677BLK-Bjj1XNYP.js} +24 -24
- package/dist/app/assets/{Grid.stories-DCpTvq1h.js → Grid.stories-CDiFrqKQ.js} +1 -1
- package/dist/app/assets/PzAccordion-ChXTPL78.css +1 -0
- package/dist/app/assets/PzAccordion-DTiV4JOM.js +1 -0
- package/dist/app/assets/PzAccordion-hujlMYpG.css +1 -0
- package/dist/app/assets/PzAccordion.stories-DxsYsHwE.js +322 -0
- package/dist/app/assets/PzAccordionTable-CsabBugL.css +1 -0
- package/dist/app/assets/PzAccordionTable.stories-DNbpjx54.js +275 -0
- package/dist/app/assets/{PzArrayClamp.stories-DYjTyM_w.js → PzArrayClamp.stories-BYdoVxPw.js} +3 -3
- package/dist/app/assets/{PzBreadcrumb.stories-b4V3GARM.js → PzBreadcrumb.stories-DwATLRI2.js} +3 -3
- package/dist/app/assets/{PzBtn-Brjbpw1b.js → PzBtn-B24JwTDl.js} +1 -1
- package/dist/app/assets/{PzBtn.stories-Bu5qPhtp.js → PzBtn.stories-BRV1I_nf.js} +1 -1
- package/dist/app/assets/{PzDomHandler.stories-DqW3Mfem.js → PzDomHandler.stories-C0SwIaVU.js} +1 -1
- package/dist/app/assets/{PzDropdown.stories-CPjzWBvH.js → PzDropdown.stories-gi6eGhLV.js} +2 -2
- package/dist/app/assets/{PzGrid.stories-C1Y3nz5O.js → PzGrid.stories-v8QLnTB3.js} +1 -1
- package/dist/app/assets/{PzHint-BwKGDkUu.js → PzHint-D62JWyEp.js} +1 -1
- package/dist/app/assets/{PzHint.stories-B6l3Ocr8.js → PzHint.stories-YkWa41IH.js} +1 -1
- package/dist/app/assets/{PzIcon-Don8TXO3.js → PzIcon-Drlqf9PC.js} +1 -1
- package/dist/app/assets/{PzIcon.stories-DE4e2be_.js → PzIcon.stories-DAJBWawA.js} +1 -1
- package/dist/app/assets/{PzImage.stories-DoGwhzIO.js → PzImage.stories-CuPnUuRv.js} +1 -1
- package/dist/app/assets/PzInfoBlockLayout-5bxpq9bJ.css +1 -0
- package/dist/app/assets/PzInfoBlockLayout.stories-Bv_9N16u.js +248 -0
- package/dist/app/assets/PzInfoHint-DUCe-kk0.js +1 -0
- package/dist/app/assets/{PzInfoHint-CtK7BZOs.css → PzInfoHint-Da02XLY2.css} +1 -1
- package/dist/app/assets/PzInfoHint-SKNZ9Qnk.css +1 -0
- package/dist/app/assets/PzInfoHint.stories-8e7rIcBj.js +38 -0
- package/dist/app/assets/PzLink-BU7dMeUw.js +1 -0
- package/dist/app/assets/{PzLink.stories-D1DLILnY.js → PzLink.stories-RRRT37UH.js} +3 -3
- package/dist/app/assets/{PzModal.stories-GJIUTcxR.js → PzModal.stories-j0FW0OcM.js} +3 -3
- package/dist/app/assets/{PzNav.stories-vqArvp6y.js → PzNav.stories-BPTRR62X.js} +3 -3
- package/dist/app/assets/{PzPagination.stories-D-kZtPzf.js → PzPagination.stories-CFaLbyxd.js} +2 -2
- package/dist/app/assets/{PzRouterLink.stories-CRcNmODE.js → PzRouterLink.stories-BcMmoayC.js} +2 -2
- package/dist/app/assets/{PzScrollTo.stories-C0m8oG4O.js → PzScrollTo.stories-Gvacxovn.js} +1 -1
- package/dist/app/assets/PzSearchResultItemLayout-DtvZAeWW.css +1 -0
- package/dist/app/assets/PzSearchResultItemLayout.stories-B0EKt_OP.js +112 -0
- package/dist/app/assets/PzSkeleton-0INQyyC6.css +1 -0
- package/dist/app/assets/PzSkeleton-CYVQJkRt.css +1 -0
- package/dist/app/assets/PzSkeleton-DnpztBv3.js +1 -0
- package/dist/app/assets/PzSkeleton.stories-a9NDBt3Z.js +39 -0
- package/dist/app/assets/{PzStatus-DlvKjmG7.css → PzStatus-B_H5z0YP.css} +1 -1
- package/dist/app/assets/PzStatus-KfVGXJ4A.css +1 -0
- package/dist/app/assets/PzStatus-dVlplKB_.js +1 -0
- package/dist/app/assets/{PzStatus.stories-u5QAVco_.js → PzStatus.stories-Dzj8SM95.js} +4 -4
- package/dist/app/assets/PzTable-B73TyHoC.css +1 -0
- package/dist/app/assets/PzTable-BNMYmoRd.css +1 -0
- package/dist/app/assets/PzTable-BipugQuF.js +27 -0
- package/dist/app/assets/PzTable.stories-DcKqkFYa.js +353 -0
- package/dist/app/assets/{PzTabs.stories-CEoVVF4Z.js → PzTabs.stories-BqU667nR.js} +3 -3
- package/dist/app/assets/{PzTag-rwtmuhv6.css → PzTag-C_iRJRZc.css} +1 -1
- package/dist/app/assets/PzTag-Jn6TGUtg.css +1 -0
- package/dist/app/assets/PzTag-jiAX5zAj.js +1 -0
- package/dist/app/assets/{PzTag.stories-B2WKURWu.js → PzTag.stories-bK1-c1pG.js} +6 -6
- package/dist/app/assets/{PzText-LfRr6NF7.js → PzText-Qtpayc5y.js} +1 -1
- package/dist/app/assets/{PzText.stories-CJhqWJtS.js → PzText.stories-9Hrvi7P7.js} +1 -1
- package/dist/app/assets/{PzTextClamp.stories-B-2pPs9u.js → PzTextClamp.stories--mMfXCQg.js} +2 -2
- package/dist/app/assets/{PzValidatorXSS.stories-DqA_mla7.js → PzValidatorXSS.stories-HZEissEy.js} +1 -1
- package/dist/app/assets/{Spacing.stories-55zVSJ08.js → Spacing.stories-Cu5R7R8t.js} +1 -1
- package/dist/app/assets/{Typography.stories-DEgPTqUk.js → Typography.stories-j9AXuH47.js} +1 -1
- package/dist/app/assets/WithTooltip-65CFNBJE-BcToq9Uh.js +9 -0
- package/dist/app/assets/_commonjsHelpers-Cpj98o6Y.js +1 -0
- package/dist/app/assets/configs-DshpCAYO.js +1 -0
- package/dist/app/assets/{floating-vue-ydzBnlRK.js → floating-vue-BD2YJLen.js} +1 -1
- package/dist/app/assets/formatter-EIJCOSYU-X1jNy3Wo.js +1 -0
- package/dist/app/assets/{iframe-XnrfGA2g.js → iframe-B7Bddli1.js} +93 -93
- package/dist/app/assets/syntaxhighlighter-OH4MV7E3-DpHT8arc.js +6 -0
- package/dist/app/iframe.html +1 -1
- package/dist/app/index.json +1 -1
- package/dist/app/project.json +1 -1
- package/dist/components/PzAccordion/PzAccordion.vue.d.ts +33 -0
- package/dist/components/PzAccordion/PzAccordionContent.vue.d.ts +21 -0
- package/dist/components/PzAccordion/configs.d.ts +4 -0
- package/dist/components/PzAccordion/index.d.ts +3 -0
- package/dist/components/PzAccordion/types.d.ts +21 -0
- package/dist/components/PzAccordionTable/PzAccordionTable.vue.d.ts +43 -0
- package/dist/components/PzAccordionTable/constants.d.ts +4 -0
- package/dist/components/PzAccordionTable/index.d.ts +2 -0
- package/dist/components/PzAccordionTable/types.d.ts +28 -0
- package/dist/components/PzGrid/PzGrid.vue.d.ts +1 -1
- package/dist/components/PzGrid/PzGridItem.vue.d.ts +1 -1
- package/dist/components/PzHint/PzHint.vue.d.ts +2 -2
- package/dist/components/PzImage/PzImage.vue.d.ts +1 -1
- package/dist/components/PzInfoBlockLayout/PzInfoBlockLayout.vue.d.ts +24 -0
- package/dist/components/PzInfoBlockLayout/index.d.ts +2 -0
- package/dist/components/PzInfoBlockLayout/types.d.ts +6 -0
- package/dist/components/PzInfoHint/PzInfoHint.vue.d.ts +1 -1
- package/dist/components/PzLink/PzLink.vue.d.ts +1 -1
- package/dist/components/PzModal/PzModal.vue.d.ts +1 -1
- package/dist/components/PzRouterLink/PzRouterLink.vue.d.ts +1 -1
- package/dist/components/PzSearchResultItemLayout/PzSearchResultItemLayout.vue.d.ts +21 -0
- package/dist/components/PzSearchResultItemLayout/index.d.ts +2 -0
- package/dist/components/PzSearchResultItemLayout/types.d.ts +4 -0
- package/dist/components/PzSkeleton/PzSkeleton.vue.d.ts +8 -0
- package/dist/components/PzSkeleton/index.d.ts +2 -0
- package/dist/components/PzSkeleton/types.d.ts +6 -0
- package/dist/components/PzStatus/configs.d.ts +1 -1
- package/dist/components/PzTable/PzTable.vue.d.ts +24 -0
- package/dist/components/PzTable/PzTableData.vue.d.ts +25 -0
- package/dist/components/PzTable/PzTableHead.vue.d.ts +3 -0
- package/dist/components/PzTable/constants.d.ts +1 -0
- package/dist/components/PzTable/index.d.ts +4 -0
- package/dist/components/PzTable/types.d.ts +35 -0
- package/dist/index.d.ts +6 -0
- package/dist/package.json +7 -2
- package/dist/prozorro-ui.cjs +27 -1
- package/dist/prozorro-ui.js +6642 -1883
- package/dist/style.css +1 -1
- package/package.json +7 -2
- package/dist/app/assets/Color-FRDS63T2-C5bQ2Iuy.js +0 -1
- package/dist/app/assets/PzInfoHint.stories-CWDV-k9d.js +0 -38
- package/dist/app/assets/PzLink-BkfNrG4H.js +0 -1
- package/dist/app/assets/WithTooltip-65CFNBJE-D3ytr0gE.js +0 -9
- package/dist/app/assets/formatter-EIJCOSYU-Ca5EM9Pa.js +0 -1
- package/dist/app/assets/syntaxhighlighter-OH4MV7E3-meijqKce.js +0 -6
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { PzTableColumn, PzTableRow } from '../PzTable';
|
|
2
|
+
export type PzAccordionTableRow = PzTableRow;
|
|
3
|
+
export interface PzAccordionTableLocalRow extends PzAccordionTableRow {
|
|
4
|
+
showSubRow: boolean;
|
|
5
|
+
}
|
|
6
|
+
export type PzAccordionTableRowIdFn = (row: PzAccordionTableRow) => string;
|
|
7
|
+
export type PzAccordionTableRowPredicateFn = (row: PzAccordionTableRow) => boolean;
|
|
8
|
+
export interface PzAccordionTableCellSlotProps {
|
|
9
|
+
data: PzAccordionTableLocalRow;
|
|
10
|
+
column: PzTableColumn;
|
|
11
|
+
value: unknown;
|
|
12
|
+
expanded: boolean;
|
|
13
|
+
toggle: () => void;
|
|
14
|
+
}
|
|
15
|
+
export interface PzAccordionTableSubRowSlotProps {
|
|
16
|
+
data: PzAccordionTableLocalRow;
|
|
17
|
+
expanded: boolean;
|
|
18
|
+
toggle: () => void;
|
|
19
|
+
}
|
|
20
|
+
export interface PzAccordionTableProps {
|
|
21
|
+
rowIdFn?: PzAccordionTableRowIdFn;
|
|
22
|
+
defaultOpenedSubRowFn?: PzAccordionTableRowPredicateFn;
|
|
23
|
+
visibleToggleBtnFn?: PzAccordionTableRowPredicateFn;
|
|
24
|
+
fields: PzTableColumn[];
|
|
25
|
+
data: PzAccordionTableRow[];
|
|
26
|
+
defaultValue?: string;
|
|
27
|
+
visibleHeader?: boolean;
|
|
28
|
+
}
|
|
@@ -9,9 +9,9 @@ declare function __VLS_template(): {
|
|
|
9
9
|
};
|
|
10
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
11
|
declare const __VLS_component: import('vue').DefineComponent<PzGridProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PzGridProps> & Readonly<{}>, {
|
|
12
|
+
container: boolean;
|
|
12
13
|
grid: boolean;
|
|
13
14
|
as: import('./types').PzGridTag;
|
|
14
|
-
container: boolean;
|
|
15
15
|
fluid: boolean;
|
|
16
16
|
fit: boolean;
|
|
17
17
|
dense: boolean;
|
|
@@ -10,13 +10,13 @@ declare function __VLS_template(): {
|
|
|
10
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
11
|
declare const __VLS_component: import('vue').DefineComponent<PzGridItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PzGridItemProps> & Readonly<{}>, {
|
|
12
12
|
span: PzGridColumnSpan;
|
|
13
|
+
start: import('./types').PzGridColumnStart;
|
|
13
14
|
as: import('./types').PzGridTag;
|
|
14
15
|
sm: PzGridColumnSpan;
|
|
15
16
|
md: PzGridColumnSpan;
|
|
16
17
|
lg: PzGridColumnSpan;
|
|
17
18
|
xl: PzGridColumnSpan;
|
|
18
19
|
xxl: PzGridColumnSpan;
|
|
19
|
-
start: import('./types').PzGridColumnStart;
|
|
20
20
|
startSm: import('./types').PzGridColumnStart;
|
|
21
21
|
startMd: import('./types').PzGridColumnStart;
|
|
22
22
|
startLg: import('./types').PzGridColumnStart;
|
|
@@ -10,10 +10,10 @@ declare function __VLS_template(): {
|
|
|
10
10
|
};
|
|
11
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
12
|
declare const __VLS_component: import('vue').DefineComponent<PzHintProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PzHintProps> & Readonly<{}>, {
|
|
13
|
-
theme: import('./types').PzHintTheme;
|
|
14
|
-
placement: import('floating-vue').Placement;
|
|
15
13
|
wrapperClass: string;
|
|
16
14
|
containerWrapperClass: string;
|
|
15
|
+
placement: import('floating-vue').Placement;
|
|
16
|
+
theme: import('./types').PzHintTheme;
|
|
17
17
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
18
18
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
19
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PzImageProps } from './types';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<PzImageProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PzImageProps> & Readonly<{}>, {
|
|
3
|
-
fit: import('./types').PzImageFit;
|
|
4
3
|
loading: import('./types').PzImageLoading;
|
|
4
|
+
fit: import('./types').PzImageFit;
|
|
5
5
|
decoding: import('./types').PzImageDecoding;
|
|
6
6
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLImageElement>;
|
|
7
7
|
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { PzInfoBlockLayoutProps } from './types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
title?(_: {}): any;
|
|
6
|
+
right_section?(_: {}): any;
|
|
7
|
+
heading?(_: {}): any;
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: HTMLElement;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<PzInfoBlockLayoutProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PzInfoBlockLayoutProps> & Readonly<{}>, {
|
|
15
|
+
mode: import('./types').PzInfoBlockLayoutMode;
|
|
16
|
+
titleClass: string;
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PzInfoHintProps } from './types';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<PzInfoHintProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PzInfoHintProps> & Readonly<{}>, {
|
|
3
|
-
placement: import('floating-vue').Placement;
|
|
4
3
|
wrapperClass: string;
|
|
5
4
|
containerWrapperClass: string;
|
|
5
|
+
placement: import('floating-vue').Placement;
|
|
6
6
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
7
7
|
export default _default;
|
|
@@ -14,8 +14,8 @@ declare const __VLS_component: import('vue').DefineComponent<PzLinkProps, {}, {}
|
|
|
14
14
|
bold: boolean;
|
|
15
15
|
variant: import('./types').PzLinkVariant;
|
|
16
16
|
disabled: boolean;
|
|
17
|
-
rel: string;
|
|
18
17
|
target: import('./types').PzLinkTarget;
|
|
18
|
+
rel: string;
|
|
19
19
|
inline: boolean;
|
|
20
20
|
italic: boolean;
|
|
21
21
|
lineThrough: boolean;
|
|
@@ -18,8 +18,8 @@ declare const __VLS_component: import('vue').DefineComponent<PzModalProps, {}, {
|
|
|
18
18
|
onClose?: (() => any) | undefined;
|
|
19
19
|
}>, {
|
|
20
20
|
title: string;
|
|
21
|
-
id: string;
|
|
22
21
|
size: import('./types').PzModalSize;
|
|
22
|
+
id: string;
|
|
23
23
|
closeOnOverlay: boolean;
|
|
24
24
|
closeOnEscape: boolean;
|
|
25
25
|
showCloseButton: boolean;
|
|
@@ -15,8 +15,8 @@ declare const __VLS_component: import('vue').DefineComponent<PzRouterLinkProps,
|
|
|
15
15
|
bold: boolean;
|
|
16
16
|
variant: import('../PzLink').PzLinkVariant;
|
|
17
17
|
disabled: boolean;
|
|
18
|
-
rel: string;
|
|
19
18
|
target: import('../PzLink').PzLinkTarget;
|
|
19
|
+
rel: string;
|
|
20
20
|
inline: boolean;
|
|
21
21
|
italic: boolean;
|
|
22
22
|
lineThrough: boolean;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { PzSearchResultItemLayoutProps } from './types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
'first-col'?(_: {}): any;
|
|
6
|
+
'second-col'?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
refs: {};
|
|
9
|
+
rootEl: any;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<PzSearchResultItemLayoutProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PzSearchResultItemLayoutProps> & Readonly<{}>, {
|
|
13
|
+
as: import('./types').PzSearchResultItemLayoutTag;
|
|
14
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PzSkeletonProps } from './types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<PzSkeletonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PzSkeletonProps> & Readonly<{}>, {
|
|
3
|
+
width: string;
|
|
4
|
+
height: string;
|
|
5
|
+
radius: string;
|
|
6
|
+
animated: boolean;
|
|
7
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
8
|
+
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const pzStatusVariantOptions: ("progress" | "
|
|
1
|
+
export declare const pzStatusVariantOptions: ("progress" | "active" | "disabled" | "hidden" | "inactive" | "monitoring" | "auction-progress" | "auction-waiting" | "auction-success")[];
|
|
2
2
|
export declare const pzStatusTagOptions: ("div" | "li" | "span")[];
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { PzTableColumn, PzTableProps } from './types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: Partial<Record<string, (_: {
|
|
5
|
+
data: import('./types').PzTableRow;
|
|
6
|
+
column: PzTableColumn;
|
|
7
|
+
value: unknown;
|
|
8
|
+
}) => any>>;
|
|
9
|
+
refs: {};
|
|
10
|
+
rootEl: HTMLDivElement;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<PzTableProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PzTableProps> & Readonly<{}>, {
|
|
14
|
+
defaultValue: string;
|
|
15
|
+
visibleHeader: boolean;
|
|
16
|
+
isBoldFirstColumn: boolean;
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { PzTableDataProps } from './types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {
|
|
6
|
+
data: import('./types').PzTableRow;
|
|
7
|
+
column: import('./types').PzTableColumn;
|
|
8
|
+
value: unknown;
|
|
9
|
+
}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: HTMLTableCellElement;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<PzTableDataProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PzTableDataProps> & Readonly<{}>, {
|
|
16
|
+
data: import('./types').PzTableRow;
|
|
17
|
+
isBold: boolean;
|
|
18
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLTableCellElement>;
|
|
19
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { PzTableHeadProps } from './types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<PzTableHeadProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PzTableHeadProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLTableCellElement>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PZ_TABLE_DEFAULT_EMPTY_VALUE = "\u2014";
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { PzInfoHintContent } from '../PzInfoHint';
|
|
2
|
+
export interface PzTableColumn {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
key: string;
|
|
6
|
+
colWidth?: number;
|
|
7
|
+
mobileName?: string;
|
|
8
|
+
infoContent?: PzInfoHintContent[];
|
|
9
|
+
isContentHtml?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export type PzTableRow = Record<string, unknown> & {
|
|
12
|
+
id?: string | number;
|
|
13
|
+
};
|
|
14
|
+
export interface PzTableCellSlotProps {
|
|
15
|
+
data: PzTableRow;
|
|
16
|
+
column: PzTableColumn;
|
|
17
|
+
value: unknown;
|
|
18
|
+
displayValue: string | number | boolean;
|
|
19
|
+
}
|
|
20
|
+
export interface PzTableProps {
|
|
21
|
+
config: PzTableColumn[];
|
|
22
|
+
data: PzTableRow[];
|
|
23
|
+
defaultValue?: string;
|
|
24
|
+
visibleHeader?: boolean;
|
|
25
|
+
isBoldFirstColumn?: boolean;
|
|
26
|
+
}
|
|
27
|
+
export interface PzTableHeadProps {
|
|
28
|
+
column: PzTableColumn;
|
|
29
|
+
}
|
|
30
|
+
export interface PzTableDataProps {
|
|
31
|
+
column: PzTableColumn;
|
|
32
|
+
data?: PzTableRow;
|
|
33
|
+
defaultValue: string;
|
|
34
|
+
isBold?: boolean;
|
|
35
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
export { PzArrayClamp, type PzArrayClampProps } from './components/PzArrayClamp';
|
|
2
|
+
export { PzAccordion, type PzAccordionProps, type PzAccordionTriggerSlotProps } from './components/PzAccordion';
|
|
3
|
+
export { PzAccordionTable, type PzAccordionTableCellSlotProps, type PzAccordionTableProps, type PzAccordionTableRow, type PzAccordionTableRowIdFn, type PzAccordionTableRowPredicateFn, type PzAccordionTableSubRowSlotProps, } from './components/PzAccordionTable';
|
|
2
4
|
export { PzBtn, type PzBtnProps, type PzBtnVariant, type PzBtnType } from './components/PzBtn';
|
|
3
5
|
export { PzBreadcrumb, type PzBreadcrumbItem, type PzBreadcrumbProps } from './components/PzBreadcrumb';
|
|
4
6
|
export { PzGrid, PzGridItem, type PzGridProps, type PzGridTag, type PzGridColumnSpan, type PzGridColumnStart, type PzGridItemProps, } from './components/PzGrid';
|
|
5
7
|
export { PzIcon, type PzIconName, type PzIconProps, type PzIconSize, type PzIconVariant } from './components/PzIcon';
|
|
8
|
+
export { PzInfoBlockLayout, type PzInfoBlockLayoutProps, type PzInfoBlockLayoutMode, } from './components/PzInfoBlockLayout';
|
|
6
9
|
export { PzImage, type PzImageDecoding, type PzImageFit, type PzImageLoading, type PzImageProps, } from './components/PzImage';
|
|
7
10
|
export { PzDropdown, type PzDropdownProps } from './components/PzDropdown';
|
|
8
11
|
export { PzHint, type PzHintProps, type PzHintTheme } from './components/PzHint';
|
|
@@ -12,7 +15,10 @@ export { PzModal, type PzModalProps, type PzModalSize } from './components/PzMod
|
|
|
12
15
|
export { PzNav, type PzNavItem, type PzNavProps } from './components/PzNav';
|
|
13
16
|
export { PzPagination, type PzPaginationProps } from './components/PzPagination';
|
|
14
17
|
export { PzRouterLink, type PzRouterLinkProps, type PzRouterLinkTo } from './components/PzRouterLink';
|
|
18
|
+
export { PzSearchResultItemLayout, type PzSearchResultItemLayoutProps, type PzSearchResultItemLayoutTag, } from './components/PzSearchResultItemLayout';
|
|
15
19
|
export { PzStatus, type PzStatusProps, type PzStatusTag, type PzStatusVariant } from './components/PzStatus';
|
|
20
|
+
export { PzSkeleton, type PzSkeletonProps } from './components/PzSkeleton';
|
|
21
|
+
export { PzTable, type PzTableCellSlotProps, type PzTableColumn, type PzTableProps, type PzTableRow, } from './components/PzTable';
|
|
16
22
|
export { PzTag, type PzTagProps, type PzTagTag, type PzTagVariant } from './components/PzTag';
|
|
17
23
|
export { PzTab, PzTabs, type PzTabsProps, type PzTabsSkin, type PzTabsState, type PzTabsTabProps, } from './components/PzTabs';
|
|
18
24
|
export { PzText, type PzTextProps, type PzTextVariant, type PzTextTag } from './components/PzText';
|
package/dist/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prozorro/prozorro-ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.9-beta",
|
|
5
5
|
"description": "Official Prozorro UI Library",
|
|
6
6
|
"author": "Dmytro Rybachek",
|
|
7
7
|
"license": "MIT",
|
|
@@ -52,13 +52,17 @@
|
|
|
52
52
|
"UI"
|
|
53
53
|
],
|
|
54
54
|
"peerDependencies": {
|
|
55
|
+
"floating-vue": "^5.2.2",
|
|
56
|
+
"lodash": "^4.18.1",
|
|
55
57
|
"vue": "^3.0.0",
|
|
56
|
-
"vue-router": "^4.0.0"
|
|
58
|
+
"vue-router": "^4.0.0",
|
|
59
|
+
"vue3-text-clamp": "^0.1.2"
|
|
57
60
|
},
|
|
58
61
|
"devDependencies": {
|
|
59
62
|
"@eslint/js": "^9.39.4",
|
|
60
63
|
"@storybook/addon-docs": "^10.3.4",
|
|
61
64
|
"@storybook/vue3-vite": "^10.3.4",
|
|
65
|
+
"@types/lodash": "^4.17.24",
|
|
62
66
|
"@types/node": "^24.5.2",
|
|
63
67
|
"@vitejs/plugin-vue": "^5.2.4",
|
|
64
68
|
"copyfiles": "^2.4.1",
|
|
@@ -93,6 +97,7 @@
|
|
|
93
97
|
},
|
|
94
98
|
"dependencies": {
|
|
95
99
|
"floating-vue": "^5.2.2",
|
|
100
|
+
"lodash": "^4.18.1",
|
|
96
101
|
"vue3-text-clamp": "^0.1.2"
|
|
97
102
|
}
|
|
98
103
|
}
|