pangea-lib 4.0.520 → 4.0.522
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.cjs.js +1818 -1818
- package/dist/main.css +2 -2
- package/dist/main.es.js +43010 -42801
- package/dist/styles/helpers.styl +1 -0
- package/dist/types/components/_i18n/pga-dropdown.i18n.d.ts +6 -0
- package/dist/types/components/_i18n/pga-file.i18n.d.ts +7 -0
- package/dist/types/components/_i18n/pga-form.i18n.d.ts +2 -0
- package/dist/types/components/_i18n/pga-layout.i18n.d.ts +2 -0
- package/dist/types/components/_i18n/pga-modal.i18n.d.ts +1 -0
- package/dist/types/components/_i18n/pga-table.i18n.d.ts +2 -0
- package/dist/types/components/form/inputs/components/PgaInputRightButton.vue.d.ts +2 -0
- package/dist/types/components/image/PgaImage.vue.d.ts +9 -0
- package/dist/types/composables/index.d.ts +2 -0
- package/dist/types/composables/use-backdrop-close.composable.d.ts +9 -0
- package/dist/types/composables/use-input-aria.composable.d.ts +6 -0
- package/dist/types/i18n/i18n.d.ts +1387 -1
- package/dist/types/i18n/messages/index.d.ts +22 -0
- package/dist/types/notifications/notifications.i18n.d.ts +3 -0
- package/package.json +1 -1
package/dist/styles/helpers.styl
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
es: {
|
|
3
3
|
selectImages: string;
|
|
4
|
+
uploadImageAriaLabel: string;
|
|
5
|
+
deleteImageAriaLabel: string;
|
|
6
|
+
imageViewerAriaLabel: string;
|
|
7
|
+
imageNumberAlt: string;
|
|
8
|
+
closeViewerAriaLabel: string;
|
|
9
|
+
previousImageAriaLabel: string;
|
|
10
|
+
nextImageAriaLabel: string;
|
|
4
11
|
confirmDeleteImage: string;
|
|
5
12
|
maxImagesQuantityAlert: string;
|
|
6
13
|
selectVideos: string;
|
|
@@ -2,9 +2,11 @@ declare const _default: {
|
|
|
2
2
|
es: {
|
|
3
3
|
columnTitleActions: string;
|
|
4
4
|
selectAllBtn: string;
|
|
5
|
+
selectRowAriaLabel: string;
|
|
5
6
|
withTheSelectedItemsText: string;
|
|
6
7
|
filtersBtn: string;
|
|
7
8
|
filtersSidebarTitle: string;
|
|
9
|
+
closeFiltersAriaLabel: string;
|
|
8
10
|
columnsBtn: string;
|
|
9
11
|
columnDefaultTitle: string;
|
|
10
12
|
searchBtn: string;
|
|
@@ -3,9 +3,11 @@ import { Icon } from '../../../../types';
|
|
|
3
3
|
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
4
4
|
icon: Icon;
|
|
5
5
|
withBackground?: boolean;
|
|
6
|
+
focusable?: boolean;
|
|
6
7
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
8
|
icon: Icon;
|
|
8
9
|
withBackground?: boolean;
|
|
10
|
+
focusable?: boolean;
|
|
9
11
|
}>>>, {}, {}>;
|
|
10
12
|
export default _default;
|
|
11
13
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -26,6 +26,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
26
26
|
deleteFn: {
|
|
27
27
|
type: import('vue').PropType<() => Promise<void>>;
|
|
28
28
|
};
|
|
29
|
+
alt: {
|
|
30
|
+
type: import('vue').PropType<string>;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
29
33
|
defaultImage: {
|
|
30
34
|
type: import('vue').PropType<string>;
|
|
31
35
|
};
|
|
@@ -59,6 +63,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
59
63
|
deleteFn: {
|
|
60
64
|
type: import('vue').PropType<() => Promise<void>>;
|
|
61
65
|
};
|
|
66
|
+
alt: {
|
|
67
|
+
type: import('vue').PropType<string>;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
62
70
|
defaultImage: {
|
|
63
71
|
type: import('vue').PropType<string>;
|
|
64
72
|
};
|
|
@@ -67,6 +75,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
67
75
|
default: string;
|
|
68
76
|
};
|
|
69
77
|
}>>, {
|
|
78
|
+
alt: string;
|
|
70
79
|
buttonsLayout: 'horizontal' | 'vertical';
|
|
71
80
|
}, {}>;
|
|
72
81
|
export default _default;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
export { useBackdropClose } from './use-backdrop-close.composable';
|
|
1
2
|
export { useElementPosition } from './use-element-position.composable';
|
|
2
3
|
export { useFloatingDropdown } from './use-floating-dropdown.composable';
|
|
3
4
|
export { useFocusTrap } from './use-focus-trap.composable';
|
|
5
|
+
export { useInputAria } from './use-input-aria.composable';
|
|
4
6
|
export { useInputGroupProps } from './use-input-group-props.composable';
|
|
5
7
|
export { useScrollListener } from './use-scroll-listener.composable';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Closes an overlay only when a full click (mousedown + mouseup) happens on the
|
|
3
|
+
* backdrop itself. Prevents the overlay from closing when the user starts a drag
|
|
4
|
+
* (e.g. selecting text) inside the content and releases the mouse on the backdrop.
|
|
5
|
+
*/
|
|
6
|
+
export declare function useBackdropClose(onClose: () => void): {
|
|
7
|
+
onBackdropMousedown: (event: MouseEvent) => void;
|
|
8
|
+
onBackdropClick: (event: MouseEvent) => void;
|
|
9
|
+
};
|