@prozorro/prozorro-ui 0.0.10-beta → 0.0.12-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-NkJWwZpV.js → Color-FRDS63T2-BVVRSzFu.js} +1 -1
- package/dist/app/assets/{Colors.stories-BYTBLsDR.js → Colors.stories-BV0C2AcY.js} +3 -3
- package/dist/app/assets/{DocsRenderer-LL677BLK-DT0XE5RB.js → DocsRenderer-LL677BLK-BvkMeFSH.js} +71 -71
- package/dist/app/assets/{Grid.stories-B3nKsUwh.js → Grid.stories-0uJYxh6v.js} +23 -2
- package/dist/app/assets/PzAccordion-BK8qPIGx.js +1 -0
- package/dist/app/assets/{PzAccordion.stories-cOAYUrCJ.js → PzAccordion.stories-CBJM1l8G.js} +2 -2
- package/dist/app/assets/PzAccordionTable.stories-0OZ08OCM.js +275 -0
- package/dist/app/assets/{PzArrayClamp.stories-Btd9xMHi.js → PzArrayClamp.stories-CVsbMoOI.js} +5 -5
- package/dist/app/assets/{PzBreadcrumb.stories-D54RjRCg.js → PzBreadcrumb.stories-AEkdP3Sx.js} +4 -4
- package/dist/app/assets/PzBtn-B9m7S5t4.js +1 -0
- package/dist/app/assets/{PzBtn.stories-xnSEsakq.js → PzBtn.stories-C0en9cjk.js} +2 -2
- package/dist/app/assets/PzCheckbox-4-y3QxIg.js +1 -0
- package/dist/app/assets/{PzCheckbox.stories-RN07sGno.js → PzCheckbox.stories-0AqtpX2R.js} +4 -4
- package/dist/app/assets/{PzCheckboxGroup.stories-KogRihCz.js → PzCheckboxGroup.stories-Bc2Q0qzm.js} +3 -3
- package/dist/app/assets/PzClamp-0zNrPrFL.css +1 -0
- package/dist/app/assets/PzClamp.stories-ClQxjI3w.js +1 -0
- package/dist/app/assets/PzCopyToClipboard-DYvP-lFq.css +1 -0
- package/dist/app/assets/PzCopyToClipboard.stories-DpySg5be.js +45 -0
- package/dist/app/assets/PzDate-B7IRRe08.js +1 -0
- package/dist/app/assets/PzDate-DzxkQx_5.css +1 -0
- package/dist/app/assets/PzDate.stories-BMKH61UJ.js +116 -0
- package/dist/app/assets/PzDateRange-DafT5WRv.css +1 -0
- package/dist/app/assets/PzDateRange.stories-DermFDVN.js +9 -0
- package/dist/app/assets/{PzDomHandler.stories-DAp97pdG.js → PzDomHandler.stories-BZmKmq7h.js} +3 -3
- package/dist/app/assets/{PzDropdown.stories-eClrzbYq.js → PzDropdown.stories-D21VL1Wl.js} +3 -3
- package/dist/app/assets/{PzFileInput.stories-Dg6-KAun.js → PzFileInput.stories-CdV-8Ur5.js} +4 -4
- package/dist/app/assets/{PzGrid.stories-DLm_q1Lw.js → PzGrid.stories-jBExFoH9.js} +1 -1
- package/dist/app/assets/PzHint-Cs9J6pTd.js +1 -0
- package/dist/app/assets/{PzHint.stories-C2oiTVIN.js → PzHint.stories-qTU73X-T.js} +2 -2
- package/dist/app/assets/{PzIcon-DTWQGv5c.js → PzIcon-4heVmbY5.js} +1 -1
- package/dist/app/assets/{PzIcon.stories-CT6OA9PM.js → PzIcon.stories-CHQJZBkl.js} +2 -2
- package/dist/app/assets/{PzImage.stories-BJL_3ef9.js → PzImage.stories-cr2I1Mv8.js} +3 -3
- package/dist/app/assets/{PzImageInput.stories-CTksIxMS.js → PzImageInput.stories-wOMiRK50.js} +4 -4
- package/dist/app/assets/{PzInfoBlockLayout.stories-BBkiY-o7.js → PzInfoBlockLayout.stories-DkIvXHsN.js} +3 -3
- package/dist/app/assets/PzInfoHint-DyFMEGP1.js +1 -0
- package/dist/app/assets/{PzInfoHint.stories-6f6FePkY.js → PzInfoHint.stories-CbQPKqr-.js} +3 -3
- package/dist/app/assets/{PzInput.stories-Bm_5Kj-P.js → PzInput.stories-DFL76csJ.js} +3 -3
- package/dist/app/assets/{PzInputDate.stories-Ccqq1p1p.js → PzInputDate.stories-DtbZSO2I.js} +3 -3
- package/dist/app/assets/{PzInputNumber.stories-DAQYW2cJ.js → PzInputNumber.stories-BnWkdIia.js} +3 -3
- package/dist/app/assets/{PzKeyValue.stories-BrV9VQaC.js → PzKeyValue.stories-D62cy2Nn.js} +4 -4
- package/dist/app/assets/PzLabel-BGjTUIxv.js +1 -0
- package/dist/app/assets/{PzLabel.stories-DvN_0fOj.js → PzLabel.stories-Bsn2on9n.js} +3 -3
- package/dist/app/assets/PzLink-PMftGlCf.js +1 -0
- package/dist/app/assets/{PzLink.stories-BnY0IvI7.js → PzLink.stories-uYyu1A1Y.js} +2 -2
- package/dist/app/assets/PzListNav-DRMKw6wp.css +1 -0
- package/dist/app/assets/PzListNav.stories-CzdiB1vJ.js +37 -0
- package/dist/app/assets/PzLoader-J7_Govh3.css +1 -0
- package/dist/app/assets/PzLoader.stories-BKbYZbCg.js +9 -0
- package/dist/app/assets/{PzModal.stories-Bq5YuGJo.js → PzModal.stories-D2Ix-15K.js} +3 -3
- package/dist/app/assets/PzMultiSelect-DeX8aBEQ.css +1 -0
- package/dist/app/assets/PzMultiSelect.stories-ZraFVUKD.js +453 -0
- package/dist/app/assets/{PzNav.stories-5KiqcPrd.js → PzNav.stories-G7KKxcZ2.js} +4 -4
- package/dist/app/assets/{PzNumberFormat.stories-QyheTXgc.js → PzNumberFormat.stories-Cbj23Stp.js} +2 -2
- package/dist/app/assets/PzPagination-DoBWX1Bo.js +1 -0
- package/dist/app/assets/PzPagination-k9D0Hxrx.css +1 -0
- package/dist/app/assets/{PzPagination-07CphuYh.css → PzPagination-ohvV8gN-.css} +1 -1
- package/dist/app/assets/PzPagination.stories-Cebi1pnM.js +83 -0
- package/dist/app/assets/{PzPriceFormat.stories-Clj4FRWT.js → PzPriceFormat.stories-BUxyBQoC.js} +2 -2
- package/dist/app/assets/{PzRadioGroup.stories-o8HE47Hq.js → PzRadioGroup.stories-BniR4fVs.js} +3 -3
- package/dist/app/assets/{PzRouterLink.stories-Dc_EnCBz.js → PzRouterLink.stories-DXaqIXWs.js} +3 -3
- package/dist/app/assets/{PzScrollTo.stories-4BSDyJ2p.js → PzScrollTo.stories-Ck6gWxiu.js} +2 -2
- package/dist/app/assets/{PzSearchResultItemLayout.stories-QRI-A0Zi.js → PzSearchResultItemLayout.stories-BUAZX2y1.js} +3 -3
- package/dist/app/assets/PzSelect-BwhRsTZd.css +1 -0
- package/dist/app/assets/PzSelect-CuDRkOrL.js +1 -0
- package/dist/app/assets/PzSelect-Del6HRlD.css +1 -0
- package/dist/app/assets/PzSelect.stories-BB855vvD.js +292 -0
- package/dist/app/assets/PzSkeleton-Cniu9lo6.js +1 -0
- package/dist/app/assets/{PzSkeleton.stories-Djp-bBqZ.js → PzSkeleton.stories-B2Am1ZYO.js} +2 -2
- package/dist/app/assets/PzStatus-C3v_r0Oj.js +1 -0
- package/dist/app/assets/{PzStatus.stories-BZ2XwRJs.js → PzStatus.stories-mQSY87YP.js} +2 -2
- package/dist/app/assets/PzTable-Bwa8_IhX.js +1 -0
- package/dist/app/assets/{PzTable.stories-C76ZN_A5.js → PzTable.stories-95TCj8y6.js} +3 -3
- package/dist/app/assets/{PzTabs.stories-DHf6EZU7.js → PzTabs.stories-n-w_IPjO.js} +5 -5
- package/dist/app/assets/PzTag-DkreR1ah.js +1 -0
- package/dist/app/assets/{PzTag.stories-BIrmr98f.js → PzTag.stories-B3pQ3jt7.js} +2 -2
- package/dist/app/assets/PzText-REfIJddB.js +1 -0
- package/dist/app/assets/{PzText.stories-Cr6TBVe6.js → PzText.stories-735Z3n9m.js} +8 -8
- package/dist/app/assets/PzTextClamp.stories-DeNGHabI.js +149 -0
- package/dist/app/assets/{PzTextarea.stories--ghqzz2f.js → PzTextarea.stories-CnHN5KKO.js} +3 -3
- package/dist/app/assets/{PzValidatorXSS.stories-zCaJ6Q__.js → PzValidatorXSS.stories-BwMdWW4N.js} +3 -3
- package/dist/app/assets/{Spacing-B5TnfKCB.css → Spacing-DDiZ9XB6.css} +1 -1
- package/dist/app/assets/{Spacing.stories-Dzeg7Tfn.js → Spacing.stories-DDQc5HL2.js} +29 -2
- package/dist/app/assets/Typography.stories-DvalSfqI.js +47 -0
- package/dist/app/assets/{WithTooltip-65CFNBJE-C0efi5Yj.js → WithTooltip-65CFNBJE-DkkeYwH0.js} +2 -2
- package/dist/app/assets/_plugin-vue_export-helper-DlAUqK2U.js +1 -0
- package/dist/app/assets/floating-vue-BNQ4rNf7.js +1 -0
- package/dist/app/assets/floating-vue-Bvgx7aQ5.js +1 -0
- package/dist/app/assets/{formatter-EIJCOSYU-Noau93iy.js → formatter-EIJCOSYU-DcIAKjRL.js} +1 -1
- package/dist/app/assets/iframe-4qk0Ss25.css +1 -0
- package/dist/app/assets/{iframe-Ckq2fQkL.js → iframe-BfW4-zQw.js} +141 -141
- package/dist/app/assets/index-02P5Hwc1.js +1 -0
- package/dist/app/assets/{syntaxhighlighter-OH4MV7E3-ByOORGJm.js → syntaxhighlighter-OH4MV7E3-Ceel2kqU.js} +3 -3
- package/dist/app/assets/text-clamp.esm-BHxuNfNm.js +1 -0
- package/dist/app/iframe.html +81 -76
- package/dist/app/index.json +1 -1
- package/dist/app/project.json +1 -1
- package/dist/app/sb-manager/globals-runtime.js +1 -1
- package/dist/components/Actions/PzCopyToClipboard/PzCopyToClipboard.vue.d.ts +33 -0
- package/dist/components/Actions/PzCopyToClipboard/index.d.ts +2 -0
- package/dist/components/Actions/PzCopyToClipboard/types.d.ts +17 -0
- package/dist/components/Actions/PzLink/configs.d.ts +1 -1
- package/dist/components/Display/PzClamp/PzClamp.vue.d.ts +8 -0
- package/dist/components/Display/PzClamp/index.d.ts +2 -0
- package/dist/components/Display/PzClamp/types.d.ts +7 -0
- package/dist/components/Display/PzDate/PzDate.vue.d.ts +5 -0
- package/dist/components/Display/PzDate/index.d.ts +2 -0
- package/dist/components/Display/PzDate/types.d.ts +5 -0
- package/dist/components/Display/PzDateRange/PzDateRange.vue.d.ts +9 -0
- package/dist/components/Display/PzDateRange/constants.d.ts +1 -0
- package/dist/components/Display/PzDateRange/index.d.ts +2 -0
- package/dist/components/Display/PzDateRange/types.d.ts +16 -0
- package/dist/components/Display/PzLoader/PzLoader.vue.d.ts +7 -0
- package/dist/components/Display/PzLoader/index.d.ts +2 -0
- package/dist/components/Display/PzLoader/types.d.ts +6 -0
- package/dist/components/Form/PzInput/PzInput.vue.d.ts +1 -1
- package/dist/components/Form/PzMultiSelect/PzMultiSelect.vue.d.ts +44 -0
- package/dist/components/Form/PzMultiSelect/constants.d.ts +1 -0
- package/dist/components/Form/PzMultiSelect/index.d.ts +2 -0
- package/dist/components/Form/PzMultiSelect/types.d.ts +22 -0
- package/dist/components/Form/PzSelect/PzSelect.vue.d.ts +42 -0
- package/dist/components/Form/PzSelect/configs.d.ts +1 -0
- package/dist/components/Form/PzSelect/constants.d.ts +1 -0
- package/dist/components/Form/PzSelect/index.d.ts +2 -0
- package/dist/components/Form/PzSelect/types.d.ts +22 -0
- package/dist/components/Form/shared/types.d.ts +7 -0
- package/dist/components/Navigation/PzListNav/PzListNav.vue.d.ts +15 -0
- package/dist/components/Navigation/PzListNav/index.d.ts +4 -0
- package/dist/components/Navigation/PzListNav/types.d.ts +9 -0
- package/dist/components/Navigation/shared/configs.d.ts +2 -0
- package/dist/components/Navigation/shared/constants.d.ts +8 -0
- package/dist/components/Popups/PzHint/PzHint.vue.d.ts +1 -1
- package/dist/components/Popups/PzInfoHint/PzInfoHint.vue.d.ts +1 -1
- package/dist/components/Popups/PzModal/PzModal.vue.d.ts +1 -1
- package/dist/components/Text/PzArrayClamp/PzArrayClamp.vue.d.ts +1 -1
- package/dist/components/Text/PzTextClamp/PzTextClamp.vue.d.ts +3 -3
- package/dist/index.d.ts +8 -0
- package/dist/package.json +1 -1
- package/dist/prozorro-ui.cjs +15 -15
- package/dist/prozorro-ui.js +8669 -7906
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/styles/_spacing.scss +30 -4
- package/dist/app/assets/PzAccordion-CTihyZc5.js +0 -1
- package/dist/app/assets/PzAccordionTable.stories-CVSn3lrC.js +0 -275
- package/dist/app/assets/PzBtn-Bz2NPCiD.js +0 -1
- package/dist/app/assets/PzCheckbox-DDIj_TyE.js +0 -1
- package/dist/app/assets/PzHint-BhuDfy-l.js +0 -1
- package/dist/app/assets/PzInfoHint-C-UyP8PR.js +0 -1
- package/dist/app/assets/PzLabel-jmQOAHGo.js +0 -1
- package/dist/app/assets/PzLink-CwtmibRx.js +0 -1
- package/dist/app/assets/PzPagination.stories-D_qRevIg.js +0 -83
- package/dist/app/assets/PzSkeleton-BMyhdGXq.js +0 -1
- package/dist/app/assets/PzStatus-rctea0Gb.js +0 -1
- package/dist/app/assets/PzTable-CzfehTN7.js +0 -1
- package/dist/app/assets/PzTag-DudHfisQ.js +0 -1
- package/dist/app/assets/PzText-BOcxbzaG.js +0 -1
- package/dist/app/assets/PzTextClamp.stories-CR0IRYLS.js +0 -149
- package/dist/app/assets/Typography.stories-GZEYS8Ny.js +0 -47
- package/dist/app/assets/floating-vue-D0dcONsr.js +0 -1
- package/dist/app/assets/iframe-B97zFSkg.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const pzDateRangeKeys: readonly ["startDate", "endDate"];
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { PzDateFormat } from '../PzDate';
|
|
2
|
+
export type PzDateRangeMode = "default" | "new-line";
|
|
3
|
+
export type PzDateRangeKey = "startDate" | "endDate";
|
|
4
|
+
export type PzDateRangeTranslateFn = (key: PzDateRangeKey) => string;
|
|
5
|
+
export interface PzDateRangeValue {
|
|
6
|
+
startDate?: string;
|
|
7
|
+
endDate?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface PzDateRangeProps {
|
|
10
|
+
date: PzDateRangeValue;
|
|
11
|
+
itemClass?: string;
|
|
12
|
+
format?: PzDateFormat;
|
|
13
|
+
hideRangeText?: boolean;
|
|
14
|
+
mode?: PzDateRangeMode;
|
|
15
|
+
translateFn?: PzDateRangeTranslateFn;
|
|
16
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PzLoaderProps } from './types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<PzLoaderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PzLoaderProps> & Readonly<{}>, {
|
|
3
|
+
variant: import('./types').PzLoaderVariant;
|
|
4
|
+
label: string;
|
|
5
|
+
isSmall: boolean;
|
|
6
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
7
|
+
export default _default;
|
|
@@ -17,8 +17,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
17
17
|
type: import('./types').PzInputType;
|
|
18
18
|
disabled: boolean;
|
|
19
19
|
label: string;
|
|
20
|
-
icon: string;
|
|
21
20
|
required: boolean;
|
|
21
|
+
icon: string;
|
|
22
22
|
placeholder: string;
|
|
23
23
|
errorMessage: string;
|
|
24
24
|
editable: boolean;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { PzFormSelectOption, PzFormSelectValue } from '../shared/types';
|
|
2
|
+
import { PzMultiSelectProps } from './types';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
|
+
slots: {
|
|
6
|
+
selected?(_: {
|
|
7
|
+
selectedOptions: PzFormSelectOption[];
|
|
8
|
+
placeholder: string;
|
|
9
|
+
count: number;
|
|
10
|
+
}): any;
|
|
11
|
+
default?(_: {
|
|
12
|
+
option: PzFormSelectOption;
|
|
13
|
+
selected: boolean;
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
}): any;
|
|
16
|
+
};
|
|
17
|
+
refs: {
|
|
18
|
+
triggerRef: HTMLButtonElement;
|
|
19
|
+
};
|
|
20
|
+
rootEl: HTMLDivElement;
|
|
21
|
+
};
|
|
22
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
23
|
+
declare const __VLS_component: import('vue').DefineComponent<PzMultiSelectProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
24
|
+
"update:modelValue": (value: PzFormSelectValue[]) => any;
|
|
25
|
+
}, string, import('vue').PublicProps, Readonly<PzMultiSelectProps> & Readonly<{
|
|
26
|
+
"onUpdate:modelValue"?: ((value: PzFormSelectValue[]) => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
disabled: boolean;
|
|
29
|
+
label: string;
|
|
30
|
+
required: boolean;
|
|
31
|
+
placeholder: string;
|
|
32
|
+
width: string;
|
|
33
|
+
modelValue: PzFormSelectValue[];
|
|
34
|
+
selectedLabel: string;
|
|
35
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
36
|
+
triggerRef: HTMLButtonElement;
|
|
37
|
+
}, HTMLDivElement>;
|
|
38
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
39
|
+
export default _default;
|
|
40
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
41
|
+
new (): {
|
|
42
|
+
$slots: S;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PZ_MULTI_SELECT_DROPDOWN_DISTANCE = 6;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { PzFormSelectOption, PzFormSelectValue } from '../shared/types';
|
|
2
|
+
export interface PzMultiSelectProps {
|
|
3
|
+
name: string;
|
|
4
|
+
options: PzFormSelectOption[];
|
|
5
|
+
modelValue: PzFormSelectValue[];
|
|
6
|
+
label?: string;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
selectedLabel?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
required?: boolean;
|
|
11
|
+
width?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface PzMultiSelectOptionSlotProps {
|
|
14
|
+
option: PzFormSelectOption;
|
|
15
|
+
selected: boolean;
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
}
|
|
18
|
+
export interface PzMultiSelectSelectedSlotProps {
|
|
19
|
+
selectedOptions: PzFormSelectOption[];
|
|
20
|
+
placeholder: string;
|
|
21
|
+
count: number;
|
|
22
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { PzSelectProps } from './types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
selected?(_: {
|
|
6
|
+
option: import('../shared/types').PzFormSelectOption | undefined;
|
|
7
|
+
placeholder: string;
|
|
8
|
+
}): any;
|
|
9
|
+
default?(_: {
|
|
10
|
+
option: import('../shared/types').PzFormSelectOption;
|
|
11
|
+
selected: boolean;
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
}): any;
|
|
14
|
+
};
|
|
15
|
+
refs: {
|
|
16
|
+
triggerRef: HTMLButtonElement;
|
|
17
|
+
};
|
|
18
|
+
rootEl: HTMLDivElement;
|
|
19
|
+
};
|
|
20
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
21
|
+
declare const __VLS_component: import('vue').DefineComponent<PzSelectProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
22
|
+
"update:modelValue": (value: import('../shared/types').PzFormSelectValue | undefined) => any;
|
|
23
|
+
}, string, import('vue').PublicProps, Readonly<PzSelectProps> & Readonly<{
|
|
24
|
+
"onUpdate:modelValue"?: ((value: import('../shared/types').PzFormSelectValue | undefined) => any) | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
variant: import('./types').PzSelectVariant;
|
|
27
|
+
disabled: boolean;
|
|
28
|
+
label: string;
|
|
29
|
+
required: boolean;
|
|
30
|
+
placeholder: string;
|
|
31
|
+
width: string;
|
|
32
|
+
modelValue: import('../shared/types').PzFormSelectValue;
|
|
33
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
34
|
+
triggerRef: HTMLButtonElement;
|
|
35
|
+
}, HTMLDivElement>;
|
|
36
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
37
|
+
export default _default;
|
|
38
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
39
|
+
new (): {
|
|
40
|
+
$slots: S;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const pzSelectVariantOptions: ("inline" | "field")[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PZ_SELECT_DROPDOWN_DISTANCE = 6;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { PzFormSelectOption, PzFormSelectValue } from '../shared/types';
|
|
2
|
+
export type PzSelectVariant = "field" | "inline";
|
|
3
|
+
export interface PzSelectProps {
|
|
4
|
+
name: string;
|
|
5
|
+
options: PzFormSelectOption[];
|
|
6
|
+
modelValue?: PzFormSelectValue;
|
|
7
|
+
label?: string;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
required?: boolean;
|
|
11
|
+
variant?: PzSelectVariant;
|
|
12
|
+
width?: string;
|
|
13
|
+
}
|
|
14
|
+
export interface PzSelectOptionSlotProps {
|
|
15
|
+
option: PzFormSelectOption;
|
|
16
|
+
selected: boolean;
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
}
|
|
19
|
+
export interface PzSelectSelectedSlotProps {
|
|
20
|
+
option: PzFormSelectOption | undefined;
|
|
21
|
+
placeholder: string;
|
|
22
|
+
}
|
|
@@ -6,6 +6,13 @@ export interface PzFormCheckboxOption {
|
|
|
6
6
|
value: PzFormCheckboxValue;
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
}
|
|
9
|
+
export type PzFormSelectValue = string | number | boolean;
|
|
10
|
+
export interface PzFormSelectOption {
|
|
11
|
+
id?: string;
|
|
12
|
+
label: string;
|
|
13
|
+
value: PzFormSelectValue;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
}
|
|
9
16
|
export interface PzFormUploadRuleSet {
|
|
10
17
|
acceptedExtensions: string[];
|
|
11
18
|
maxSizeBytes: number;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ITEMS_PER_PAGE } from '../shared/constants';
|
|
2
|
+
import { PzListNavProps } from './types';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<PzListNavProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
4
|
+
onInput: (range: [number, number]) => any;
|
|
5
|
+
onChangePerPage: () => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<PzListNavProps> & Readonly<{
|
|
7
|
+
onOnInput?: ((range: [number, number]) => any) | undefined;
|
|
8
|
+
onOnChangePerPage?: (() => any) | undefined;
|
|
9
|
+
}>, {
|
|
10
|
+
options: import('../../Form/shared/types').PzFormSelectOption[];
|
|
11
|
+
perPage: ITEMS_PER_PAGE;
|
|
12
|
+
selectLabel: string;
|
|
13
|
+
currentPage: number;
|
|
14
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PzFormSelectOption } from '../../Form/shared/types';
|
|
2
|
+
import { ITEMS_PER_PAGE } from '../shared/constants';
|
|
3
|
+
export interface PzListNavProps {
|
|
4
|
+
selectLabel?: string;
|
|
5
|
+
total: number;
|
|
6
|
+
options?: PzFormSelectOption[];
|
|
7
|
+
perPage?: ITEMS_PER_PAGE;
|
|
8
|
+
currentPage?: number;
|
|
9
|
+
}
|
|
@@ -10,9 +10,9 @@ 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
|
+
placement: import('floating-vue').Placement;
|
|
13
14
|
wrapperClass: string;
|
|
14
15
|
containerWrapperClass: string;
|
|
15
|
-
placement: import('floating-vue').Placement;
|
|
16
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"]>;
|
|
@@ -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;
|
|
3
4
|
wrapperClass: string;
|
|
4
5
|
containerWrapperClass: string;
|
|
5
|
-
placement: import('floating-vue').Placement;
|
|
6
6
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
7
7
|
export default _default;
|
|
@@ -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;
|
|
@@ -21,8 +21,8 @@ declare const __VLS_component: import('vue').DefineComponent<PzArrayClampProps,
|
|
|
21
21
|
}, string, import('vue').PublicProps, Readonly<PzArrayClampProps> & Readonly<{
|
|
22
22
|
"onUpdate:expanded"?: ((value: boolean) => any) | undefined;
|
|
23
23
|
}>, {
|
|
24
|
-
count: number;
|
|
25
24
|
expanded: boolean;
|
|
25
|
+
count: number;
|
|
26
26
|
expandLabel: string;
|
|
27
27
|
collapseLabel: string;
|
|
28
28
|
btnClass: string;
|
|
@@ -19,13 +19,13 @@ declare const __VLS_component: import('vue').DefineComponent<PzTextClampProps, {
|
|
|
19
19
|
"onUpdate:expanded"?: ((value: boolean) => any) | undefined;
|
|
20
20
|
"onClamp-change"?: ((value: boolean) => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
|
+
maxContentLines: number;
|
|
23
|
+
clampPostfix: string;
|
|
24
|
+
autoResize: boolean;
|
|
22
25
|
expanded: boolean;
|
|
23
26
|
expandLabel: string;
|
|
24
27
|
collapseLabel: string;
|
|
25
28
|
btnClass: string;
|
|
26
|
-
maxContentLines: number;
|
|
27
|
-
clampPostfix: string;
|
|
28
|
-
autoResize: boolean;
|
|
29
29
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
30
30
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
31
31
|
export default _default;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { PzBtn, type PzBtnProps, type PzBtnVariant, type PzBtnType } from './components/Actions/PzBtn';
|
|
2
|
+
export { PzCopyToClipboard, type PzCopyToClipboardEmits, type PzCopyToClipboardProps, type PzCopyToClipboardVariant, } from './components/Actions/PzCopyToClipboard';
|
|
2
3
|
export { PzLink, type PzLinkProps, type PzLinkTarget, type PzLinkVariant } from './components/Actions/PzLink';
|
|
3
4
|
export { PzRouterLink, type PzRouterLinkProps, type PzRouterLinkTo } from './components/Actions/PzRouterLink';
|
|
4
5
|
export { PzAccordionTable, type PzAccordionTableCellSlotProps, type PzAccordionTableProps, type PzAccordionTableRow, type PzAccordionTableRowIdFn, type PzAccordionTableRowPredicateFn, type PzAccordionTableSubRowSlotProps, } from './components/Data/PzAccordionTable';
|
|
@@ -6,9 +7,13 @@ export { PzTable, type PzTableCellSlotProps, type PzTableColumn, type PzTablePro
|
|
|
6
7
|
export { PzIcon, type PzIconName, type PzIconProps, type PzIconSize, type PzIconVariant, } from './components/Display/PzIcon';
|
|
7
8
|
export { PzImage, type PzImageDecoding, type PzImageFit, type PzImageLoading, type PzImageProps, } from './components/Display/PzImage';
|
|
8
9
|
export { PzKeyValue, type PzKeyValueFlexDirection, type PzKeyValueProps, type PzKeyValueViewListItem, } from './components/Display/PzKeyValue';
|
|
10
|
+
export { PzLoader, type PzLoaderProps, type PzLoaderVariant } from './components/Display/PzLoader';
|
|
9
11
|
export { PzSkeleton, type PzSkeletonProps } from './components/Display/PzSkeleton';
|
|
10
12
|
export { PzStatus, type PzStatusProps, type PzStatusTag, type PzStatusVariant } from './components/Display/PzStatus';
|
|
11
13
|
export { PzTag, type PzTagProps, type PzTagTag, type PzTagVariant } from './components/Display/PzTag';
|
|
14
|
+
export { PzClamp, type PzClampProps } from './components/Display/PzClamp';
|
|
15
|
+
export { PzDate, type PzDateFormat, type PzDateProps } from './components/Display/PzDate';
|
|
16
|
+
export { PzDateRange, type PzDateRangeKey, type PzDateRangeMode, type PzDateRangeProps, type PzDateRangeTranslateFn, type PzDateRangeValue, } from './components/Display/PzDateRange';
|
|
12
17
|
export { PzCheckbox, type PzCheckboxProps, type PzCheckboxValue, type PzCheckboxVariant, } from './components/Form/PzCheckbox';
|
|
13
18
|
export { PzCheckboxGroup, type PzCheckboxGroupProps, type PzCheckboxGroupSlotProps, } from './components/Form/PzCheckboxGroup';
|
|
14
19
|
export { PzFileInput, type PzFileInputEmits, type PzFileInputProps, type PzFileInputSlots, type PzFileInputValue, } from './components/Form/PzFileInput';
|
|
@@ -17,6 +22,8 @@ export { PzInputDate, type PzInputDateProps } from './components/Form/PzInputDat
|
|
|
17
22
|
export { PzImageInput, type PzImageInputEmits, type PzImageInputProps, type PzImageInputSlots, type PzImageInputValue, } from './components/Form/PzImageInput';
|
|
18
23
|
export { PzInputNumber, type PzInputNumberProps, type PzInputNumberType, type PzInputNumberValue, } from './components/Form/PzInputNumber';
|
|
19
24
|
export { PzLabel, type PzLabelProps } from './components/Form/PzLabel';
|
|
25
|
+
export { PzMultiSelect, type PzMultiSelectOptionSlotProps, type PzMultiSelectProps, type PzMultiSelectSelectedSlotProps, } from './components/Form/PzMultiSelect';
|
|
26
|
+
export { PzSelect, type PzSelectOptionSlotProps, type PzSelectProps, type PzSelectSelectedSlotProps, type PzSelectVariant, } from './components/Form/PzSelect';
|
|
20
27
|
export { PzRadioGroup, type PzRadioGroupOption, type PzRadioGroupProps, type PzRadioGroupSlotProps, type PzRadioGroupValue, } from './components/Form/PzRadioGroup';
|
|
21
28
|
export { PzTextarea, type PzTextareaEmits, type PzTextareaProps, type PzTextareaSlots, } from './components/Form/PzTextarea';
|
|
22
29
|
export { PzAccordion, type PzAccordionProps, type PzAccordionTriggerSlotProps } from './components/Layouts/PzAccordion';
|
|
@@ -27,6 +34,7 @@ export { PzSearchResultItemLayout, type PzSearchResultItemLayoutProps, type PzSe
|
|
|
27
34
|
export { PzBreadcrumb, type PzBreadcrumbItem, type PzBreadcrumbProps } from './components/Navigation/PzBreadcrumb';
|
|
28
35
|
export { PzNav, type PzNavItem, type PzNavProps } from './components/Navigation/PzNav';
|
|
29
36
|
export { PzPagination, type PzPaginationProps } from './components/Navigation/PzPagination';
|
|
37
|
+
export { ITEMS_PAGINATE_PER_PAGE_CONFIG, ITEMS_PER_PAGE, PzListNav, type PzListNavProps, } from './components/Navigation/PzListNav';
|
|
30
38
|
export { PzDropdown, type PzDropdownProps } from './components/Popups/PzDropdown';
|
|
31
39
|
export { PzHint, type PzHintProps, type PzHintTheme } from './components/Popups/PzHint';
|
|
32
40
|
export { PzInfoHint, type PzInfoHintContent, type PzInfoHintProps } from './components/Popups/PzInfoHint';
|