@enos5/enos-vue-default 1.8.11 → 1.8.12

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.
@@ -89,6 +89,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
89
89
  type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
90
90
  default: string;
91
91
  };
92
+ container: {
93
+ type: (StringConstructor | ObjectConstructor)[];
94
+ default: string;
95
+ };
92
96
  searchable: {
93
97
  type: BooleanConstructor;
94
98
  default: boolean;
@@ -196,6 +200,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
196
200
  type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
197
201
  default: string;
198
202
  };
203
+ container: {
204
+ type: (StringConstructor | ObjectConstructor)[];
205
+ default: string;
206
+ };
199
207
  searchable: {
200
208
  type: BooleanConstructor;
201
209
  default: boolean;
@@ -237,6 +245,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
237
245
  dropdownOptionClass: string | unknown[] | Record<string, any>;
238
246
  dropdownSelectedClass: string | unknown[] | Record<string, any>;
239
247
  dropdownHighlightedClass: string | unknown[] | Record<string, any>;
248
+ container: string | Record<string, any>;
240
249
  searchable: boolean;
241
250
  searchPlaceholder: string;
242
251
  searchInputClass: string | unknown[] | Record<string, any>;
@@ -201,6 +201,10 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
201
201
  type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
202
202
  default: undefined;
203
203
  };
204
+ container: {
205
+ type: (StringConstructor | ObjectConstructor)[];
206
+ default: undefined;
207
+ };
204
208
  noOptionsText: {
205
209
  type: StringConstructor;
206
210
  default: undefined;
@@ -405,6 +409,10 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
405
409
  type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
406
410
  default: undefined;
407
411
  };
412
+ container: {
413
+ type: (StringConstructor | ObjectConstructor)[];
414
+ default: undefined;
415
+ };
408
416
  noOptionsText: {
409
417
  type: StringConstructor;
410
418
  default: undefined;
@@ -436,6 +444,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
436
444
  deletedOptionClass: string | unknown[] | Record<string, any>;
437
445
  placeholderClass: string | unknown[] | Record<string, any>;
438
446
  dropdownHighlightedClass: string | unknown[] | Record<string, any>;
447
+ container: string | Record<string, any>;
439
448
  searchable: boolean;
440
449
  searchPlaceholder: string;
441
450
  searchInputClass: string | unknown[] | Record<string, any>;
@@ -89,6 +89,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
89
89
  type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
90
90
  default: string;
91
91
  };
92
+ container: {
93
+ type: (StringConstructor | ObjectConstructor)[];
94
+ default: string;
95
+ };
92
96
  searchable: {
93
97
  type: BooleanConstructor;
94
98
  default: boolean;
@@ -196,6 +200,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
196
200
  type: (ArrayConstructor | StringConstructor | ObjectConstructor)[];
197
201
  default: string;
198
202
  };
203
+ container: {
204
+ type: (StringConstructor | ObjectConstructor)[];
205
+ default: string;
206
+ };
199
207
  searchable: {
200
208
  type: BooleanConstructor;
201
209
  default: boolean;
@@ -237,6 +245,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
237
245
  dropdownOptionClass: string | unknown[] | Record<string, any>;
238
246
  dropdownSelectedClass: string | unknown[] | Record<string, any>;
239
247
  dropdownHighlightedClass: string | unknown[] | Record<string, any>;
248
+ container: string | Record<string, any>;
240
249
  searchable: boolean;
241
250
  searchPlaceholder: string;
242
251
  searchInputClass: string | unknown[] | Record<string, any>;
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import './styles.css';
2
- import { _, a, b, c, d, e, f, g, h, i, C, j, k, D, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, A, B, S, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, T, U, V, W, X, Y, Z, $, a0, a1, a2, a3 } from "./plugin-Bl7pzq-e.js";
2
+ import { _, a, b, c, d, e, f, g, h, i, C, j, k, D, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, A, B, S, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, T, U, V, W, X, Y, Z, $, a0, a1, a2, a3 } from "./plugin-BB5Wpvyp.js";
3
3
  export {
4
4
  _ as ActionCard,
5
5
  a as ActionMessage,
@@ -1,4 +1,4 @@
1
- import { _, a, b, c, d, e, f, g, h, i, C, j, k, D, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, A, B, S, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, T, U, V, W, X, Y, Z, $, a0, a1, a2, a3 } from "./plugin-Bl7pzq-e.js";
1
+ import { _, a, b, c, d, e, f, g, h, i, C, j, k, D, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, A, B, S, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, T, U, V, W, X, Y, Z, $, a0, a1, a2, a3 } from "./plugin-BB5Wpvyp.js";
2
2
  export {
3
3
  _ as ActionCard,
4
4
  a as ActionMessage,
@@ -921,6 +921,10 @@ const _sfc_main$G = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
921
921
  type: [String, Array, Object],
922
922
  default: "bg-slate-50 text-slate-900 dark:bg-neutral-800 dark:text-neutral-50"
923
923
  },
924
+ container: {
925
+ type: [String, Object],
926
+ default: "body"
927
+ },
924
928
  searchable: {
925
929
  type: Boolean,
926
930
  default: false
@@ -1067,6 +1071,10 @@ const _sfc_main$G = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
1067
1071
  }
1068
1072
  };
1069
1073
  const syncTeleportTarget = () => {
1074
+ if (props.container !== "body") {
1075
+ teleportTarget.value = props.container;
1076
+ return;
1077
+ }
1070
1078
  const dialog = rootRef.value?.closest("dialog");
1071
1079
  teleportTarget.value = dialog ?? document.body;
1072
1080
  };
@@ -1576,6 +1584,10 @@ const _sfc_main$F = {
1576
1584
  type: [String, Array, Object],
1577
1585
  default: "bg-slate-100 text-slate-900 dark:bg-neutral-800 dark:text-neutral-50"
1578
1586
  },
1587
+ container: {
1588
+ type: [String, Object],
1589
+ default: "body"
1590
+ },
1579
1591
  searchable: {
1580
1592
  type: Boolean,
1581
1593
  default: false
@@ -1620,12 +1632,13 @@ const _sfc_main$F = {
1620
1632
  "dropdown-option-class": __props.dropdownOptionClass,
1621
1633
  "dropdown-selected-class": __props.dropdownSelectedClass,
1622
1634
  "dropdown-highlighted-class": __props.dropdownHighlightedClass,
1635
+ container: __props.container,
1623
1636
  searchable: __props.searchable,
1624
1637
  "search-placeholder": __props.searchPlaceholder,
1625
1638
  "search-input-class": __props.searchInputClass,
1626
1639
  "no-options-text": __props.noOptionsText,
1627
1640
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => emit("update:modelValue", $event))
1628
- }, _ctx.$attrs), null, 16, ["model-value", "model-modifiers", "options", "placeholder", "placeholder-disabled", "multiple", "disabled", "soft-delete-aware", "label-key", "value-key", "deleted-key", "option-label", "base-class", "normal-text-class", "deleted-selected-class", "option-class", "deleted-option-class", "placeholder-class", "dropdown-class", "dropdown-option-class", "dropdown-selected-class", "dropdown-highlighted-class", "searchable", "search-placeholder", "search-input-class", "no-options-text"]);
1641
+ }, _ctx.$attrs), null, 16, ["model-value", "model-modifiers", "options", "placeholder", "placeholder-disabled", "multiple", "disabled", "soft-delete-aware", "label-key", "value-key", "deleted-key", "option-label", "base-class", "normal-text-class", "deleted-selected-class", "option-class", "deleted-option-class", "placeholder-class", "dropdown-class", "dropdown-option-class", "dropdown-selected-class", "dropdown-highlighted-class", "container", "searchable", "search-placeholder", "search-input-class", "no-options-text"]);
1629
1642
  };
1630
1643
  }
1631
1644
  };
@@ -3597,6 +3610,10 @@ const _sfc_main$v = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
3597
3610
  type: [String, Array, Object],
3598
3611
  default: void 0
3599
3612
  },
3613
+ container: {
3614
+ type: [String, Object],
3615
+ default: void 0
3616
+ },
3600
3617
  noOptionsText: {
3601
3618
  type: String,
3602
3619
  default: void 0
@@ -3709,6 +3726,7 @@ const _sfc_main$v = /* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
3709
3726
  inputProps.searchInputClass = props.searchInputClass;
3710
3727
  if (props.dropdownHighlightedClass !== void 0)
3711
3728
  inputProps.dropdownHighlightedClass = props.dropdownHighlightedClass;
3729
+ if (props.container !== void 0) inputProps.container = props.container;
3712
3730
  if (props.noOptionsText !== void 0)
3713
3731
  inputProps.noOptionsText = props.noOptionsText;
3714
3732
  return inputProps;
@@ -6525,4 +6543,4 @@ export {
6525
6543
  _sfc_main$B as y,
6526
6544
  _sfc_main$A as z
6527
6545
  };
6528
- //# sourceMappingURL=plugin-Bl7pzq-e.js.map
6546
+ //# sourceMappingURL=plugin-BB5Wpvyp.js.map