@mobileaction/action-kit 1.48.0 → 1.48.1
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/CHANGELOG.md +8 -0
- package/dist/action-kit.mjs +1 -1
- package/dist/{annotations-BP5dXMZS.js → annotations-BA3kY-Q9.js} +1 -1
- package/dist/{export-data-CmS2wN5C.js → export-data-vPopzY3f.js} +1 -1
- package/dist/{exporting-CEMo1JC9.js → exporting-DeB-2mgo.js} +1 -1
- package/dist/{index-DUot5siP.js → index-BxRqc15d.js} +919 -918
- package/dist/{map-CGn0xJLq.js → map-yxuRd2Jk.js} +1 -1
- package/dist/{offline-exporting-tPdMWZ4o.js → offline-exporting-DTdg6gcu.js} +1 -1
- package/dist/src/components/card/stories/default.stories.d.ts +1 -0
- package/dist/src/components/popover-2/index.vue.d.ts +70 -2
- package/dist/src/components/popover-2/stories/default.stories.d.ts +2 -0
- package/dist/{stock-Cizz_bRL.js → stock-Dn1R1vm0.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{venn-_qNKl_7-.js → venn-Ci_UILCm.js} +1 -1
- package/dist/{wordcloud-C6NJZC5_.js → wordcloud-C8aqUBWJ.js} +1 -1
- package/package.json +1 -1
|
@@ -1,18 +1,84 @@
|
|
|
1
1
|
import { Popover2TriggerType, Popover2Placement } from './types';
|
|
2
2
|
export interface MaPopover2Props {
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Controls the visibility of the popover.
|
|
5
|
+
* Bind with `v-model:visible`.
|
|
6
|
+
* @default false
|
|
7
|
+
*/
|
|
8
|
+
visible?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* The events that trigger the popover to open.
|
|
11
|
+
* e.g. `['click']`, `['hover']`, `['focus']`, or any combination.
|
|
12
|
+
* @default ['click']
|
|
13
|
+
*/
|
|
4
14
|
trigger?: Popover2TriggerType[];
|
|
15
|
+
/**
|
|
16
|
+
* Whether the popover should automatically hide when clicking outside.
|
|
17
|
+
* @default true
|
|
18
|
+
*/
|
|
5
19
|
autoHide?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Placement of the popover relative to its reference element.
|
|
22
|
+
* e.g. `'bottom-start'`, `'top'`, `'right-end'`, etc.
|
|
23
|
+
* @default 'bottom-start'
|
|
24
|
+
*/
|
|
6
25
|
placement?: Popover2Placement;
|
|
26
|
+
/**
|
|
27
|
+
* Disables the popover (it will not open).
|
|
28
|
+
* @default false
|
|
29
|
+
*/
|
|
7
30
|
disabled?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Disables Popper.js positioning logic (useful for mobile layouts).
|
|
33
|
+
* @default false
|
|
34
|
+
*/
|
|
8
35
|
isMobile?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Additional CSS class name to apply to the popover container.
|
|
38
|
+
*/
|
|
9
39
|
overlayClassName?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Whether to display the little arrow pointing at the trigger.
|
|
42
|
+
* @default false
|
|
43
|
+
*/
|
|
10
44
|
showArrow?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Removes the default padding inside the popover content.
|
|
47
|
+
* @default false
|
|
48
|
+
*/
|
|
11
49
|
noPadding?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* The container in which to mount the popover (portal).
|
|
52
|
+
* Can be an `HTMLElement`, a selector string, or `null`.
|
|
53
|
+
* @default 'body'
|
|
54
|
+
*/
|
|
12
55
|
popupContainer?: HTMLElement | null | string;
|
|
56
|
+
/**
|
|
57
|
+
* Disable automatic focus on the popover when it opens.
|
|
58
|
+
* @default false
|
|
59
|
+
*/
|
|
13
60
|
noAutoFocus?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Delay in milliseconds before hiding the popover after a hide trigger.
|
|
63
|
+
* @default 0
|
|
64
|
+
*/
|
|
14
65
|
hideDelay?: number;
|
|
66
|
+
/**
|
|
67
|
+
* Delay in milliseconds before showing the popover after a show trigger.
|
|
68
|
+
* @default 0
|
|
69
|
+
*/
|
|
15
70
|
showDelay?: number;
|
|
71
|
+
/**
|
|
72
|
+
* Enable Popper’s `preventOverflow` modifier to keep the popover within its boundary.
|
|
73
|
+
* @default false
|
|
74
|
+
*/
|
|
75
|
+
preventOverflow?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Enable automatic max-sizing based on viewport boundaries.
|
|
78
|
+
* The popover will be clipped to fit and become scrollable if its content is too large.
|
|
79
|
+
* @default false
|
|
80
|
+
*/
|
|
81
|
+
autoBoundaryMaxSize?: boolean;
|
|
16
82
|
}
|
|
17
83
|
declare function __VLS_template(): {
|
|
18
84
|
attrs: Partial<{}>;
|
|
@@ -35,7 +101,7 @@ declare const __VLS_component: import("vue").DefineComponent<MaPopover2Props, {}
|
|
|
35
101
|
placement: Popover2Placement;
|
|
36
102
|
trigger: Popover2TriggerType[];
|
|
37
103
|
overlayClassName: string;
|
|
38
|
-
visible: boolean
|
|
104
|
+
visible: boolean;
|
|
39
105
|
autoHide: boolean;
|
|
40
106
|
isMobile: boolean;
|
|
41
107
|
showArrow: boolean;
|
|
@@ -44,6 +110,8 @@ declare const __VLS_component: import("vue").DefineComponent<MaPopover2Props, {}
|
|
|
44
110
|
noAutoFocus: boolean;
|
|
45
111
|
hideDelay: number;
|
|
46
112
|
showDelay: number;
|
|
113
|
+
preventOverflow: boolean;
|
|
114
|
+
autoBoundaryMaxSize: boolean;
|
|
47
115
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
48
116
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
49
117
|
export default _default;
|