@maropost-ui/liquidsky-ui 0.1.62 → 0.1.64
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/components/AppDropdown/useDropdownSelectAll.d.ts +1 -1
- package/dist/components/AppTreeDropdown/treeDropdownUtils.d.ts +5 -0
- package/dist/components/AppTreeDropdown/useTreeDropdownData.d.ts +6 -0
- package/dist/components/AppTreeDropdown/useTreeDropdownSelection.d.ts +2 -0
- package/dist/index.css +1 -1
- package/dist/index.js +11844 -11743
- package/dist/types/TreeDropdownProps.d.ts +4 -1
- package/dist/utils/isAttrEnabled.d.ts +8 -0
- package/package.json +1 -1
|
@@ -83,9 +83,10 @@ export interface TreeDropdownProps<T = TreeDropdownItem> extends Omit<AppDropdow
|
|
|
83
83
|
* VTreeview select strategy for multiple mode.
|
|
84
84
|
* - `independent` — select parent and children separately (default)
|
|
85
85
|
* - `all` — selecting a parent selects the parent and all descendants; deselecting any child deselects the parent
|
|
86
|
+
* - `all-with-indeterminate` — same cascade UI as `all`, but `v-model` also includes partially selected (indeterminate) parents
|
|
86
87
|
* - `classic` — same cascade UI as `all`, but the model only stores leaf nodes
|
|
87
88
|
*/
|
|
88
|
-
selectStrategy?: 'classic' | 'independent' | 'all' | 'leaf' | 'single-leaf' | 'single-independent' | 'trunk';
|
|
89
|
+
selectStrategy?: 'classic' | 'independent' | 'all' | 'all-with-indeterminate' | 'leaf' | 'single-leaf' | 'single-independent' | 'trunk';
|
|
89
90
|
/**
|
|
90
91
|
* How Select All updates selection when `allowSelectAll` is true.
|
|
91
92
|
* - `false` (default) — uses `v-model:select-all` with `{ select_all, ids }` for
|
|
@@ -103,4 +104,6 @@ export interface TreeDropdownProps<T = TreeDropdownItem> extends Omit<AppDropdow
|
|
|
103
104
|
openAllOnSearch?: boolean;
|
|
104
105
|
/** Show the full ancestor path in chips and single selection display. */
|
|
105
106
|
showPathInSelection?: boolean;
|
|
107
|
+
/** Enable search in the dropdown. */
|
|
108
|
+
searchable?: boolean;
|
|
106
109
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Whether a fallthrough boolean attr is enabled.
|
|
3
|
+
*
|
|
4
|
+
* Plain presence enables it (`chips`, `multiple`), matching Vue/Vuetify boolean attrs.
|
|
5
|
+
* An explicit `false` disables it — required when Storybook / `v-bind="args"` always
|
|
6
|
+
* includes the key even when the control is off.
|
|
7
|
+
*/
|
|
8
|
+
export declare function isAttrEnabled(attrs: Record<string, unknown>, key: string): boolean;
|