@pequity/squirrel 10.0.1 → 10.0.3
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/cjs/chunks/p-action-bar.js +3 -3
- package/dist/cjs/chunks/p-icon.js +1 -1
- package/dist/cjs/chunks/p-info-icon.js +2 -2
- package/dist/cjs/chunks/p-inline-date-picker.js +6 -6
- package/dist/cjs/chunks/p-input-number.js +1 -1
- package/dist/cjs/chunks/p-link.js +2 -2
- package/dist/cjs/chunks/p-progress-bar.js +2 -2
- package/dist/cjs/chunks/p-select-btn.js +11 -11
- package/dist/cjs/chunks/p-steps.js +4 -4
- package/dist/cjs/chunks/p-table-header-cell.js +9 -9
- package/dist/cjs/chunks/p-tabs-pills.js +8 -8
- package/dist/cjs/index.js +13 -13
- package/dist/cjs/p-drawer.js +1 -1
- package/dist/cjs/p-icon.js +1 -0
- package/dist/es/chunks/p-action-bar.js +3 -3
- package/dist/es/chunks/p-icon.js +1 -1
- package/dist/es/chunks/p-info-icon.js +2 -2
- package/dist/es/chunks/p-inline-date-picker.js +6 -6
- package/dist/es/chunks/p-input-number.js +1 -1
- package/dist/es/chunks/p-link.js +2 -2
- package/dist/es/chunks/p-progress-bar.js +2 -2
- package/dist/es/chunks/p-select-btn.js +11 -11
- package/dist/es/chunks/p-steps.js +4 -4
- package/dist/es/chunks/p-table-header-cell.js +9 -9
- package/dist/es/chunks/p-tabs-pills.js +8 -8
- package/dist/es/index.js +13 -13
- package/dist/es/p-drawer.js +1 -1
- package/dist/es/p-icon.js +1 -0
- package/dist/squirrel/components/p-action-bar/p-action-bar.vue.d.ts +2 -1
- package/dist/squirrel/components/p-alert/p-alert.vue.d.ts +2 -1
- package/dist/squirrel/components/p-avatar/p-avatar.vue.d.ts +2 -1
- package/dist/squirrel/components/p-btn/p-btn.vue.d.ts +4 -3
- package/dist/squirrel/components/p-card/p-card.vue.d.ts +3 -2
- package/dist/squirrel/components/p-checkbox/p-checkbox.vue.d.ts +3 -2
- package/dist/squirrel/components/p-chips/p-chips.vue.d.ts +10 -9
- package/dist/squirrel/components/p-close-btn/p-close-btn.vue.d.ts +2 -1
- package/dist/squirrel/components/p-date-picker/p-date-picker.vue.d.ts +4 -2
- package/dist/squirrel/components/p-drawer/p-drawer.vue.d.ts +9 -8
- package/dist/squirrel/components/p-dropdown/p-dropdown.vue.d.ts +9 -8
- package/dist/squirrel/components/p-dropdown-select/p-dropdown-select.vue.d.ts +3 -2
- package/dist/squirrel/components/p-file-upload/p-file-upload.vue.d.ts +2 -1
- package/dist/squirrel/components/p-icon/p-icon.types.d.ts +1 -0
- package/dist/squirrel/components/p-icon/p-icon.vue.d.ts +2 -1
- package/dist/squirrel/components/p-info-icon/p-info-icon.vue.d.ts +3 -2
- package/dist/squirrel/components/p-inline-date-picker/p-inline-date-picker.vue.d.ts +5 -3
- package/dist/squirrel/components/p-input/p-input.vue.d.ts +2 -1
- package/dist/squirrel/components/p-input-number/p-input-number.vue.d.ts +3 -2
- package/dist/squirrel/components/p-input-percent/p-input-percent.vue.d.ts +2 -1
- package/dist/squirrel/components/p-input-search/p-input-search.vue.d.ts +2 -1
- package/dist/squirrel/components/p-link/p-link.vue.d.ts +3 -2
- package/dist/squirrel/components/p-loading/p-loading.vue.d.ts +2 -1
- package/dist/squirrel/components/p-modal/p-modal.vue.d.ts +3 -2
- package/dist/squirrel/components/p-pagination/p-pagination.vue.d.ts +2 -1
- package/dist/squirrel/components/p-pagination-info/p-pagination-info.vue.d.ts +3 -2
- package/dist/squirrel/components/p-progress-bar/p-progress-bar.vue.d.ts +2 -1
- package/dist/squirrel/components/p-ring-loader/p-ring-loader.vue.d.ts +2 -1
- package/dist/squirrel/components/p-select/p-select.vue.d.ts +3 -2
- package/dist/squirrel/components/p-select-btn/p-select-btn.vue.d.ts +3 -2
- package/dist/squirrel/components/p-select-list/p-select-list.vue.d.ts +3 -2
- package/dist/squirrel/components/p-select-pill/p-select-pill.vue.d.ts +9 -8
- package/dist/squirrel/components/p-skeleton-loader/p-skeleton-loader.vue.d.ts +10 -9
- package/dist/squirrel/components/p-steps/p-steps.vue.d.ts +2 -1
- package/dist/squirrel/components/p-table/p-table.vue.d.ts +10 -9
- package/dist/squirrel/components/p-table-header-cell/p-table-header-cell.vue.d.ts +3 -2
- package/dist/squirrel/components/p-table-loader/p-table-loader.vue.d.ts +2 -1
- package/dist/squirrel/components/p-table-sort/p-table-sort.vue.d.ts +2 -1
- package/dist/squirrel/components/p-table-td/p-table-td.vue.d.ts +3 -2
- package/dist/squirrel/components/p-tabs/p-tabs.vue.d.ts +2 -1
- package/dist/squirrel/components/p-tabs-pills/p-tabs-pills.vue.d.ts +2 -1
- package/dist/squirrel/components/p-textarea/p-textarea.vue.d.ts +3 -2
- package/dist/squirrel/components/p-toggle/p-toggle.vue.d.ts +2 -1
- package/dist/squirrel.css +1 -1
- package/package.json +24 -24
- package/squirrel/components/p-action-bar/p-action-bar.spec.ts +4 -4
- package/squirrel/components/p-dropdown-select/p-dropdown-select.spec.js +1 -1
- package/squirrel/components/p-icon/p-icon.types.ts +1 -0
- package/squirrel/components/p-input-number/p-input-number.spec.js +1 -1
- package/squirrel/components/p-input-number/p-input-number.vue +1 -3
- package/squirrel/components/p-modal/p-modal-features.spec.js +19 -15
- package/squirrel/components/p-select-list/p-select-list.spec.js +1 -1
- package/squirrel/components/p-table-sort/p-table-sort.spec.js +40 -21
- package/squirrel/utils/listKeyboardNavigation.spec.js +3 -1
- package/squirrel/utils/sanitization.spec.js +1 -1
package/dist/es/index.js
CHANGED
|
@@ -826,7 +826,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
826
826
|
return openBlock(), createElementBlock("div", {
|
|
827
827
|
ref_key: "scrollWrapper",
|
|
828
828
|
ref: scrollWrapper,
|
|
829
|
-
class: normalizeClass(["block rounded-xl border border-p-gray-30",
|
|
829
|
+
class: normalizeClass(["block rounded-xl border border-p-gray-30", __props.lockScroll ? "overflow-hidden" : "overflow-x-auto"])
|
|
830
830
|
}, [
|
|
831
831
|
unref(isColResizing) ? (openBlock(), createElementBlock("div", {
|
|
832
832
|
key: 0,
|
|
@@ -841,10 +841,10 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
841
841
|
createElementVNode("table", mergeProps({
|
|
842
842
|
class: [
|
|
843
843
|
"p-table mb-0 w-full bg-surface",
|
|
844
|
-
{ "last-col-fixed":
|
|
845
|
-
{ "first-col-fixed":
|
|
844
|
+
{ "last-col-fixed": __props.isLastColFixed },
|
|
845
|
+
{ "first-col-fixed": __props.isFirstColFixed }
|
|
846
846
|
]
|
|
847
|
-
}, toHandlers(
|
|
847
|
+
}, toHandlers(__props.colsResizable ? { mousemove: unref(colResize) } : {}, true)), [
|
|
848
848
|
createElementVNode("thead", {
|
|
849
849
|
ref_key: "theadRef",
|
|
850
850
|
ref: theadRef
|
|
@@ -875,7 +875,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
875
875
|
"tooltip-text": col.tooltip,
|
|
876
876
|
class: [
|
|
877
877
|
unref(hasWrap) ? "leading-4" : "leading-5",
|
|
878
|
-
{ "pl-2": i2 === 1 &&
|
|
878
|
+
{ "pl-2": i2 === 1 && __props.isFirstColFixed, "pr-2": i2 === __props.cols.length && __props.isLastColFixed },
|
|
879
879
|
"grow"
|
|
880
880
|
],
|
|
881
881
|
"text-color": headerCellTextColor(col)
|
|
@@ -888,15 +888,15 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
888
888
|
_: 2
|
|
889
889
|
}, 1040, ["text", "filter-active", "show-filter-icon", "tooltip-text", "class", "text-color", "onClickFilterIcon"])
|
|
890
890
|
], 2),
|
|
891
|
-
|
|
891
|
+
__props.colsResizable && i2 !== 0 && !(i2 === __props.cols.length - 1 && __props.isLastColFixed) ? (openBlock(), createElementBlock("div", {
|
|
892
892
|
key: 0,
|
|
893
|
-
class: normalizeClass(["absolute right-0 top-1/2 z-110 h-5 w-2 -translate-y-1/2 cursor-col-resize after:absolute after:bottom-0 after:z-110 after:block after:h-full after:w-2 after:cursor-col-resize after:border-r-2 after:border-dashed after:border-p-gray-30", i2 ===
|
|
893
|
+
class: normalizeClass(["absolute right-0 top-1/2 z-110 h-5 w-2 -translate-y-1/2 cursor-col-resize after:absolute after:bottom-0 after:z-110 after:block after:h-full after:w-2 after:cursor-col-resize after:border-r-2 after:border-dashed after:border-p-gray-30", i2 === __props.cols.length - 1 ? "after:right-0.5" : "after:right-0"]),
|
|
894
894
|
"data-resize-handle": "",
|
|
895
895
|
onMousedown: ($event) => unref(colResizeStart)($event, i2),
|
|
896
896
|
onDblclick: ($event) => unref(colResizeFitToData)(i2)
|
|
897
897
|
}, null, 42, _hoisted_2$1)) : createCommentVNode("", true)
|
|
898
898
|
], 6),
|
|
899
|
-
|
|
899
|
+
__props.subheader ? (openBlock(), createElementBlock("div", {
|
|
900
900
|
key: 0,
|
|
901
901
|
class: normalizeClass(thSubheaderClasses(i2))
|
|
902
902
|
}, [
|
|
@@ -904,16 +904,16 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
904
904
|
], 2)) : createCommentVNode("", true)
|
|
905
905
|
], 16, _hoisted_1$1);
|
|
906
906
|
}), 128)),
|
|
907
|
-
|
|
907
|
+
__props.colsResizable && !__props.isLastColFixed ? (openBlock(), createElementBlock("th", _hoisted_3$1)) : createCommentVNode("", true)
|
|
908
908
|
])
|
|
909
909
|
], 512),
|
|
910
910
|
createElementVNode("tbody", {
|
|
911
911
|
ref_key: "tbodyElement",
|
|
912
912
|
ref: tbodyElement
|
|
913
913
|
}, [
|
|
914
|
-
|
|
914
|
+
__props.virtualizer.paddingTop > 0 ? (openBlock(), createElementBlock("tr", _hoisted_4$1, [
|
|
915
915
|
createElementVNode("td", {
|
|
916
|
-
style: normalizeStyle({ height: `${
|
|
916
|
+
style: normalizeStyle({ height: `${__props.virtualizer.paddingTop}px` })
|
|
917
917
|
}, null, 4)
|
|
918
918
|
])) : createCommentVNode("", true),
|
|
919
919
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
@@ -941,9 +941,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
941
941
|
]);
|
|
942
942
|
}), 128))
|
|
943
943
|
], true),
|
|
944
|
-
|
|
944
|
+
__props.virtualizer.paddingBottom > 0 ? (openBlock(), createElementBlock("tr", _hoisted_6$1, [
|
|
945
945
|
createElementVNode("td", {
|
|
946
|
-
style: normalizeStyle({ height: `${
|
|
946
|
+
style: normalizeStyle({ height: `${__props.virtualizer.paddingBottom}px` })
|
|
947
947
|
}, null, 4)
|
|
948
948
|
])) : createCommentVNode("", true)
|
|
949
949
|
], 512)
|
package/dist/es/p-drawer.js
CHANGED
package/dist/es/p-icon.js
CHANGED
|
@@ -17,6 +17,7 @@ const P_ICON_ALIASES = {
|
|
|
17
17
|
archive: "solar:archive-outline",
|
|
18
18
|
lock: "material-symbols:lock",
|
|
19
19
|
"drag-horizontal": "ci:drag-horizontal",
|
|
20
|
+
"drag-vertical": "ci:drag-vertical",
|
|
20
21
|
email: "tabler:mail-filled",
|
|
21
22
|
location: "gridicons:location",
|
|
22
23
|
calendar: "mdi:calendar-today",
|
|
@@ -16,11 +16,12 @@ type Props = {
|
|
|
16
16
|
*/
|
|
17
17
|
actions: PActionBarAction[];
|
|
18
18
|
};
|
|
19
|
-
declare const
|
|
19
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
20
|
"click:dismiss": () => any;
|
|
21
21
|
"click:action": (name: string | undefined) => any;
|
|
22
22
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
23
23
|
"onClick:dismiss"?: (() => any) | undefined;
|
|
24
24
|
"onClick:action"?: ((name: string | undefined) => any) | undefined;
|
|
25
25
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
declare const _default: typeof __VLS_export;
|
|
26
27
|
export default _default;
|
|
@@ -17,7 +17,7 @@ declare const ALERT_TYPES: {
|
|
|
17
17
|
icon: string;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
|
-
declare const
|
|
20
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
21
21
|
/**
|
|
22
22
|
* The type of the alert which determines its appearance and icon
|
|
23
23
|
*/
|
|
@@ -49,6 +49,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
|
|
|
49
49
|
*/
|
|
50
50
|
default?: () => unknown;
|
|
51
51
|
}>;
|
|
52
|
+
declare const _default: typeof __VLS_export;
|
|
52
53
|
export default _default;
|
|
53
54
|
type __VLS_WithSlots<T, S> = T & {
|
|
54
55
|
new (): {
|
|
@@ -4,7 +4,7 @@ import { type PropType } from 'vue';
|
|
|
4
4
|
*/
|
|
5
5
|
declare const SHAPES: readonly ["rectangle", "circle"];
|
|
6
6
|
type Shape = (typeof SHAPES)[number];
|
|
7
|
-
declare const
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
8
|
/**
|
|
9
9
|
* The shape of the avatar
|
|
10
10
|
*/
|
|
@@ -86,4 +86,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
86
86
|
imageClass: string;
|
|
87
87
|
labelClass: string;
|
|
88
88
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
89
|
+
declare const _default: typeof __VLS_export;
|
|
89
90
|
export default _default;
|
|
@@ -251,7 +251,7 @@ declare const btn: import("tailwind-variants").TVReturnType<{
|
|
|
251
251
|
declare const BUTTON_NATIVE_TYPES: readonly ["button", "submit", "reset"];
|
|
252
252
|
type ButtonNativeType = (typeof BUTTON_NATIVE_TYPES)[number];
|
|
253
253
|
type ButtonType = NonNullable<VariantProps<typeof btn>['type']>;
|
|
254
|
-
declare const
|
|
254
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
255
255
|
/**
|
|
256
256
|
* The button style e.g primary, secondary, primary-outline, secondary-outline, error, success, primary-link
|
|
257
257
|
*/
|
|
@@ -374,14 +374,14 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
|
|
|
374
374
|
default: string;
|
|
375
375
|
};
|
|
376
376
|
}>> & Readonly<{}>, {
|
|
377
|
-
icon: "delete" | "edit" | "send" | "settings" | "empty" | "chevron-left" | "chevron-right" | "chevron-up" | "chevron-down" | "ok-circle" | "cancel-circle" | "ok" | "cancel" | "ok-bold" | "cancel-bold" | "archive" | "lock" | "drag-horizontal" | "email" | "location" | "calendar" | "save" | "copy" | "plus" | "add" | "more" | "filters" | "bar-chart" | "list" | "formula" | "refresh" | "download" | "upload" | "info" | "help" | "search" | "warning" | (string & {});
|
|
377
|
+
icon: "delete" | "edit" | "send" | "settings" | "empty" | "chevron-left" | "chevron-right" | "chevron-up" | "chevron-down" | "ok-circle" | "cancel-circle" | "ok" | "cancel" | "ok-bold" | "cancel-bold" | "archive" | "lock" | "drag-horizontal" | "drag-vertical" | "email" | "location" | "calendar" | "save" | "copy" | "plus" | "add" | "more" | "filters" | "bar-chart" | "list" | "formula" | "refresh" | "download" | "upload" | "info" | "help" | "search" | "warning" | (string & {});
|
|
378
378
|
size: "sm" | "md" | "lg";
|
|
379
379
|
type: ButtonType;
|
|
380
380
|
nativeType: "button" | "submit" | "reset";
|
|
381
381
|
loading: boolean;
|
|
382
382
|
selected: boolean;
|
|
383
383
|
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
384
|
-
iconRight: "delete" | "edit" | "send" | "settings" | "empty" | "chevron-left" | "chevron-right" | "chevron-up" | "chevron-down" | "ok-circle" | "cancel-circle" | "ok" | "cancel" | "ok-bold" | "cancel-bold" | "archive" | "lock" | "drag-horizontal" | "email" | "location" | "calendar" | "save" | "copy" | "plus" | "add" | "more" | "filters" | "bar-chart" | "list" | "formula" | "refresh" | "download" | "upload" | "info" | "help" | "search" | "warning" | (string & {});
|
|
384
|
+
iconRight: "delete" | "edit" | "send" | "settings" | "empty" | "chevron-left" | "chevron-right" | "chevron-up" | "chevron-down" | "ok-circle" | "cancel-circle" | "ok" | "cancel" | "ok-bold" | "cancel-bold" | "archive" | "lock" | "drag-horizontal" | "drag-vertical" | "email" | "location" | "calendar" | "save" | "copy" | "plus" | "add" | "more" | "filters" | "bar-chart" | "list" | "formula" | "refresh" | "download" | "upload" | "info" | "help" | "search" | "warning" | (string & {});
|
|
385
385
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
386
386
|
/**
|
|
387
387
|
* Default slot - the content of the button.
|
|
@@ -389,6 +389,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
|
|
|
389
389
|
*/
|
|
390
390
|
default?: () => void;
|
|
391
391
|
}>;
|
|
392
|
+
declare const _default: typeof __VLS_export;
|
|
392
393
|
export default _default;
|
|
393
394
|
type __VLS_WithSlots<T, S> = T & {
|
|
394
395
|
new (): {
|
|
@@ -11,7 +11,7 @@ type __VLS_Slots = {
|
|
|
11
11
|
*/
|
|
12
12
|
default?: () => void;
|
|
13
13
|
};
|
|
14
|
-
declare const
|
|
14
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
15
15
|
/**
|
|
16
16
|
* The title of the card - displayed at the top
|
|
17
17
|
* If not provided, you can use the title slot instead
|
|
@@ -32,7 +32,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
32
32
|
}>> & Readonly<{}>, {
|
|
33
33
|
title: string;
|
|
34
34
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
35
|
-
declare const
|
|
35
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
36
|
+
declare const _default: typeof __VLS_export;
|
|
36
37
|
export default _default;
|
|
37
38
|
type __VLS_WithSlots<T, S> = T & {
|
|
38
39
|
new (): {
|
|
@@ -8,7 +8,7 @@ type __VLS_Slots = {
|
|
|
8
8
|
*/
|
|
9
9
|
label?: () => void;
|
|
10
10
|
};
|
|
11
|
-
declare const
|
|
11
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
12
12
|
/**
|
|
13
13
|
* The checked state of the checkbox (v-model)
|
|
14
14
|
*/
|
|
@@ -48,7 +48,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
48
48
|
label: string;
|
|
49
49
|
modelValue: boolean;
|
|
50
50
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
51
|
-
declare const
|
|
51
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
52
|
+
declare const _default: typeof __VLS_export;
|
|
52
53
|
export default _default;
|
|
53
54
|
type __VLS_WithSlots<T, S> = T & {
|
|
54
55
|
new (): {
|
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* A chips component that displays a horizontal list of items with overflow handling.
|
|
3
|
-
* Automatically calculates how many chips can fit in the available space and shows
|
|
4
|
-
* an overflow indicator when there are more items than can be displayed.
|
|
5
|
-
* Supports custom item text properties and before/after slot content.
|
|
6
|
-
*
|
|
7
|
-
* @displayName PChips
|
|
8
|
-
*/
|
|
9
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
10
2
|
/**
|
|
11
3
|
* Array of items to display as chips.
|
|
12
4
|
* Can be strings or objects with a text property.
|
|
@@ -52,4 +44,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
52
44
|
items: unknown[];
|
|
53
45
|
itemText: string;
|
|
54
46
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
47
|
+
/**
|
|
48
|
+
* A chips component that displays a horizontal list of items with overflow handling.
|
|
49
|
+
* Automatically calculates how many chips can fit in the available space and shows
|
|
50
|
+
* an overflow indicator when there are more items than can be displayed.
|
|
51
|
+
* Supports custom item text properties and before/after slot content.
|
|
52
|
+
*
|
|
53
|
+
* @displayName PChips
|
|
54
|
+
*/
|
|
55
|
+
declare const _default: typeof __VLS_export;
|
|
55
56
|
export default _default;
|
|
@@ -3,7 +3,7 @@ import { type PropType } from 'vue';
|
|
|
3
3
|
* Available visual variants for the close button.
|
|
4
4
|
*/
|
|
5
5
|
type Variant = 'transparent' | 'gray' | 'dark';
|
|
6
|
-
declare const
|
|
6
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
7
7
|
/**
|
|
8
8
|
* The visual variant of the close button.
|
|
9
9
|
* Controls the background color and hover effects.
|
|
@@ -26,4 +26,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
26
26
|
}>> & Readonly<{}>, {
|
|
27
27
|
variant: Variant;
|
|
28
28
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
29
|
+
declare const _default: typeof __VLS_export;
|
|
29
30
|
export default _default;
|
|
@@ -17,14 +17,15 @@ type Props = {
|
|
|
17
17
|
required?: boolean;
|
|
18
18
|
} & VueDatePickerProps;
|
|
19
19
|
type __VLS_Props = Props;
|
|
20
|
-
type
|
|
20
|
+
type __VLS_ModelProps = {
|
|
21
21
|
/**
|
|
22
22
|
* The selected date value (v-model).
|
|
23
23
|
* Supports two-way binding for form inputs.
|
|
24
24
|
*/
|
|
25
25
|
modelValue?: Date | string | null;
|
|
26
26
|
};
|
|
27
|
-
|
|
27
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
28
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
29
|
"update:modelValue": (value: string | Date | null) => any;
|
|
29
30
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
30
31
|
"onUpdate:modelValue"?: ((value: string | Date | null) => any) | undefined;
|
|
@@ -51,4 +52,5 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
51
52
|
hideOffsetDates: boolean;
|
|
52
53
|
modelType: "timestamp" | "iso" | "format" | string;
|
|
53
54
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
55
|
+
declare const _default: typeof __VLS_export;
|
|
54
56
|
export default _default;
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* A drawer component that slides in from the side with backdrop and animations.
|
|
3
|
-
* Provides a side panel interface with customizable position, width, and content areas.
|
|
4
|
-
* Supports teleporting to different DOM elements and comprehensive lifecycle events.
|
|
5
|
-
*
|
|
6
|
-
* @displayName PDrawer
|
|
7
|
-
*/
|
|
8
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
9
2
|
/**
|
|
10
3
|
* Target element to append the drawer to.
|
|
11
4
|
* Usually 'body' for proper z-index stacking.
|
|
@@ -366,4 +359,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
366
359
|
variant: "transparent" | "gray" | "dark";
|
|
367
360
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
368
361
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
362
|
+
/**
|
|
363
|
+
* A drawer component that slides in from the side with backdrop and animations.
|
|
364
|
+
* Provides a side panel interface with customizable position, width, and content areas.
|
|
365
|
+
* Supports teleporting to different DOM elements and comprehensive lifecycle events.
|
|
366
|
+
*
|
|
367
|
+
* @displayName PDrawer
|
|
368
|
+
*/
|
|
369
|
+
declare const _default: typeof __VLS_export;
|
|
369
370
|
export default _default;
|
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
import { type ListKeyboardNavigationInstance } from '../../utils/listKeyboardNavigation';
|
|
2
|
-
|
|
3
|
-
* A dropdown component that extends VDropdown with keyboard navigation and Pequity design system styling.
|
|
4
|
-
* Provides dropdown menu functionality with arrow key navigation, escape key closing, and customizable styling.
|
|
5
|
-
* Supports both dropdown lists and generic popover content with comprehensive accessibility features.
|
|
6
|
-
*
|
|
7
|
-
* @displayName PDropdown
|
|
8
|
-
*/
|
|
9
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
10
3
|
/**
|
|
11
4
|
* Enables navigation for `.dropdown-item` using the up/down keys.
|
|
12
5
|
* This can be set to false when we're creating a generic popover.
|
|
@@ -83,4 +76,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
83
76
|
enableCloseOnEsc: boolean;
|
|
84
77
|
triggerStyle: Record<string, any>;
|
|
85
78
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
79
|
+
/**
|
|
80
|
+
* A dropdown component that extends VDropdown with keyboard navigation and Pequity design system styling.
|
|
81
|
+
* Provides dropdown menu functionality with arrow key navigation, escape key closing, and customizable styling.
|
|
82
|
+
* Supports both dropdown lists and generic popover content with comprehensive accessibility features.
|
|
83
|
+
*
|
|
84
|
+
* @displayName PDropdown
|
|
85
|
+
*/
|
|
86
|
+
declare const _default: typeof __VLS_export;
|
|
86
87
|
export default _default;
|
|
@@ -14,7 +14,7 @@ type __VLS_Slots = {
|
|
|
14
14
|
itemTextSplit: string[];
|
|
15
15
|
}): unknown;
|
|
16
16
|
};
|
|
17
|
-
declare const
|
|
17
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
18
18
|
/**
|
|
19
19
|
* The selected value(s) for the dropdown (v-model).
|
|
20
20
|
* Can be a single value or array of values depending on multiple prop.
|
|
@@ -398,7 +398,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
398
398
|
creatable: boolean;
|
|
399
399
|
pills: boolean;
|
|
400
400
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
401
|
-
declare const
|
|
401
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
402
|
+
declare const _default: typeof __VLS_export;
|
|
402
403
|
export default _default;
|
|
403
404
|
type __VLS_WithSlots<T, S> = T & {
|
|
404
405
|
new (): {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type FileUploadFile } from './p-file-upload.types';
|
|
2
2
|
import { type PropType } from 'vue';
|
|
3
|
-
declare const
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
/**
|
|
5
5
|
* The current file(s) value (v-model).
|
|
6
6
|
* Supports both single file and multiple files based on the multiple prop.
|
|
@@ -165,4 +165,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
165
165
|
maxSizeInBytes: number;
|
|
166
166
|
maxNumberOfFiles: number;
|
|
167
167
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
168
|
+
declare const _default: typeof __VLS_export;
|
|
168
169
|
export default _default;
|
|
@@ -17,6 +17,7 @@ export declare const P_ICON_ALIASES: {
|
|
|
17
17
|
readonly archive: "solar:archive-outline";
|
|
18
18
|
readonly lock: "material-symbols:lock";
|
|
19
19
|
readonly 'drag-horizontal': "ci:drag-horizontal";
|
|
20
|
+
readonly 'drag-vertical': "ci:drag-vertical";
|
|
20
21
|
readonly email: "tabler:mail-filled";
|
|
21
22
|
readonly location: "gridicons:location";
|
|
22
23
|
readonly calendar: "mdi:calendar-today";
|
|
@@ -8,5 +8,6 @@ interface Props extends /* @vue-ignore */ IconifyIconProperties {
|
|
|
8
8
|
*/
|
|
9
9
|
icon: PIconAlias | (string & {});
|
|
10
10
|
}
|
|
11
|
-
declare const
|
|
11
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
12
13
|
export default _default;
|
|
@@ -12,10 +12,11 @@ type Props = {
|
|
|
12
12
|
*/
|
|
13
13
|
text?: string | null;
|
|
14
14
|
};
|
|
15
|
-
declare const
|
|
15
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
16
16
|
text: string | null;
|
|
17
17
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
-
declare const
|
|
18
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
19
20
|
export default _default;
|
|
20
21
|
type __VLS_WithSlots<T, S> = T & {
|
|
21
22
|
new (): {
|
|
@@ -28,14 +28,15 @@ type Props = {
|
|
|
28
28
|
required?: boolean;
|
|
29
29
|
} & VueDatePickerProps;
|
|
30
30
|
type __VLS_Props = Props;
|
|
31
|
-
type
|
|
31
|
+
type __VLS_ModelProps = {
|
|
32
32
|
/**
|
|
33
33
|
* The selected date value (v-model).
|
|
34
34
|
* Supports two-way binding for form inputs.
|
|
35
35
|
*/
|
|
36
36
|
modelValue?: Date | string | null;
|
|
37
37
|
};
|
|
38
|
-
|
|
38
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
39
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
39
40
|
"update:modelValue": (value: string | Date | null) => any;
|
|
40
41
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
41
42
|
"onUpdate:modelValue"?: ((value: string | Date | null) => any) | undefined;
|
|
@@ -52,7 +53,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
52
53
|
hideOffsetDates: boolean;
|
|
53
54
|
modelType: "timestamp" | "iso" | "format" | string;
|
|
54
55
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
55
|
-
declare const
|
|
56
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
57
|
+
declare const _default: typeof __VLS_export;
|
|
56
58
|
export default _default;
|
|
57
59
|
type __VLS_WithSlots<T, S> = T & {
|
|
58
60
|
new (): {
|
|
@@ -6,7 +6,7 @@ declare const INPUT_TYPES: {
|
|
|
6
6
|
};
|
|
7
7
|
type InputTypeKeys = keyof typeof INPUT_TYPES;
|
|
8
8
|
type InputType = (typeof INPUT_TYPES)[InputTypeKeys];
|
|
9
|
-
declare const
|
|
9
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
10
10
|
/**
|
|
11
11
|
* The current value of the input (v-model).
|
|
12
12
|
* Supports two-way binding for form inputs.
|
|
@@ -155,6 +155,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
|
|
|
155
155
|
*/
|
|
156
156
|
suffix?: () => unknown;
|
|
157
157
|
}>;
|
|
158
|
+
declare const _default: typeof __VLS_export;
|
|
158
159
|
export default _default;
|
|
159
160
|
type __VLS_WithSlots<T, S> = T & {
|
|
160
161
|
new (): {
|
|
@@ -16,7 +16,7 @@ type __VLS_Slots = {
|
|
|
16
16
|
*/
|
|
17
17
|
prefix?: () => unknown;
|
|
18
18
|
};
|
|
19
|
-
declare const
|
|
19
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
20
20
|
/**
|
|
21
21
|
* The current numeric value of the input (v-model).
|
|
22
22
|
* Supports two-way binding for form inputs.
|
|
@@ -166,7 +166,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
166
166
|
tooltipText: string;
|
|
167
167
|
prefixString: string;
|
|
168
168
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
169
|
-
declare const
|
|
169
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
170
|
+
declare const _default: typeof __VLS_export;
|
|
170
171
|
export default _default;
|
|
171
172
|
type __VLS_WithSlots<T, S> = T & {
|
|
172
173
|
new (): {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type Size } from '../p-btn/p-btn.types';
|
|
2
2
|
import { type PropType } from 'vue';
|
|
3
|
-
declare const
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
/**
|
|
5
5
|
* The current value (v-model).
|
|
6
6
|
* Stored as a decimal (0.5 = 50%) but displayed as a percentage.
|
|
@@ -46,4 +46,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
46
46
|
size: "sm" | "md" | "lg";
|
|
47
47
|
modelValue: string | number | null | undefined;
|
|
48
48
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
49
|
+
declare const _default: typeof __VLS_export;
|
|
49
50
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type Size } from '../p-btn/p-btn.types';
|
|
2
2
|
import { type PropType } from 'vue';
|
|
3
|
-
declare const
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
/**
|
|
5
5
|
* The search query value (v-model).
|
|
6
6
|
* Controls the input field content and visibility of the clear button.
|
|
@@ -63,4 +63,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
63
63
|
modelValue: string;
|
|
64
64
|
showEnterIcon: boolean;
|
|
65
65
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
66
|
+
declare const _default: typeof __VLS_export;
|
|
66
67
|
export default _default;
|
|
@@ -5,8 +5,9 @@ type __VLS_Slots = {} & {
|
|
|
5
5
|
} & {
|
|
6
6
|
default?: (props: typeof __VLS_9) => any;
|
|
7
7
|
};
|
|
8
|
-
declare const
|
|
9
|
-
declare const
|
|
8
|
+
declare const __VLS_base: import("vue").DefineComponent<RouterLinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<RouterLinkProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
10
11
|
export default _default;
|
|
11
12
|
type __VLS_WithSlots<T, S> = T & {
|
|
12
13
|
new (): {
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
2
3
|
export default _default;
|
|
@@ -25,7 +25,7 @@ type __VLS_Slots = {
|
|
|
25
25
|
*/
|
|
26
26
|
'footer-wrapper'?: () => unknown;
|
|
27
27
|
};
|
|
28
|
-
declare const
|
|
28
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
29
29
|
/**
|
|
30
30
|
* Unique name for the modal when using the modal service.
|
|
31
31
|
* Used for programmatic control of the modal.
|
|
@@ -387,7 +387,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
387
387
|
bgOutClass: string;
|
|
388
388
|
maxWidth: string;
|
|
389
389
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
390
|
-
declare const
|
|
390
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
391
|
+
declare const _default: typeof __VLS_export;
|
|
391
392
|
export default _default;
|
|
392
393
|
type __VLS_WithSlots<T, S> = T & {
|
|
393
394
|
new (): {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
-
declare const
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
/**
|
|
4
4
|
* The current page number (v-model).
|
|
5
5
|
* Controls which page is visually active and navigable.
|
|
@@ -92,4 +92,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
92
92
|
pageSize: number;
|
|
93
93
|
pageOffset: number;
|
|
94
94
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
95
|
+
declare const _default: typeof __VLS_export;
|
|
95
96
|
export default _default;
|
|
@@ -2,7 +2,7 @@ declare var __VLS_6: {};
|
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
3
|
'no-results'?: (props: typeof __VLS_6) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
6
|
/**
|
|
7
7
|
* The current page number (1-based).
|
|
8
8
|
* Used to calculate the starting item number in the display range.
|
|
@@ -74,7 +74,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
74
74
|
pageSize: number;
|
|
75
75
|
currentPage: number;
|
|
76
76
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
77
|
-
declare const
|
|
77
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
78
|
+
declare const _default: typeof __VLS_export;
|
|
78
79
|
export default _default;
|
|
79
80
|
type __VLS_WithSlots<T, S> = T & {
|
|
80
81
|
new (): {
|
|
@@ -27,5 +27,6 @@ type Props = {
|
|
|
27
27
|
*/
|
|
28
28
|
items: ProgressItem[];
|
|
29
29
|
};
|
|
30
|
-
declare const
|
|
30
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
declare const _default: typeof __VLS_export;
|
|
31
32
|
export default _default;
|
|
@@ -12,8 +12,9 @@ type Props = {
|
|
|
12
12
|
*/
|
|
13
13
|
color?: string;
|
|
14
14
|
};
|
|
15
|
-
declare const
|
|
15
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
16
16
|
size: number;
|
|
17
17
|
color: string;
|
|
18
18
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
19
20
|
export default _default;
|