@fastkit/vui 1.4.0-next.0 → 1.4.0

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/vui.mjs CHANGED
@@ -18,43 +18,24 @@ import { DISABLED_REASON_CONTAINER_BIND, defineDisabledReasonComponent } from "@
18
18
  import { loadImage } from "@fastkit/dom";
19
19
  import { RouterLink, useLink, useRoute, useRouter } from "vue-router";
20
20
  import { installResizeDirective, resizeDirectiveArgument } from "@fastkit/vue-resize";
21
-
22
- export * from "@fastkit/helpers"
23
-
24
- export * from "@fastkit/icon-font"
25
-
26
- export * from "@fastkit/media-match"
27
-
28
- export * from "@fastkit/vue-media-match"
29
-
30
- export * from "@fastkit/vue-keyboard"
31
-
32
- export * from "@fastkit/vue-transitions"
33
-
34
- export * from "@fastkit/vue-location"
35
-
36
- export * from "@fastkit/rules"
37
-
38
- export * from "@fastkit/vue-body-scroll-lock"
39
-
40
- export * from "@fastkit/vue-click-outside"
41
-
42
- export * from "@fastkit/vue-app-layout"
43
-
44
- export * from "@fastkit/vue-color-scheme"
45
-
46
- export * from "@fastkit/vue-form-control"
47
-
48
- export * from "@fastkit/vue-scroller"
49
-
50
- export * from "@fastkit/vue-stack"
51
-
52
- export * from "@fastkit/vue-action"
53
-
54
- export * from "@fastkit/vue-utils"
55
-
56
- export * from "@fastkit/vue-loading"
57
-
21
+ export * from "@fastkit/helpers";
22
+ export * from "@fastkit/icon-font";
23
+ export * from "@fastkit/media-match";
24
+ export * from "@fastkit/vue-media-match";
25
+ export * from "@fastkit/vue-keyboard";
26
+ export * from "@fastkit/vue-transitions";
27
+ export * from "@fastkit/vue-location";
28
+ export * from "@fastkit/rules";
29
+ export * from "@fastkit/vue-body-scroll-lock";
30
+ export * from "@fastkit/vue-click-outside";
31
+ export * from "@fastkit/vue-app-layout";
32
+ export * from "@fastkit/vue-color-scheme";
33
+ export * from "@fastkit/vue-form-control";
34
+ export * from "@fastkit/vue-scroller";
35
+ export * from "@fastkit/vue-stack";
36
+ export * from "@fastkit/vue-action";
37
+ export * from "@fastkit/vue-utils";
38
+ export * from "@fastkit/vue-loading";
58
39
  //#region src/schemes/control.ts
59
40
  const CONTROL_SIZES = [
60
41
  "sm",
@@ -71,7 +52,6 @@ const CONTROL_LOADING_SPINNER_SIZES = {
71
52
  md: 20,
72
53
  lg: 24
73
54
  };
74
-
75
55
  //#endregion
76
56
  //#region src/injections.ts
77
57
  const VuiInjectionKey = Symbol("Vui");
@@ -110,7 +90,6 @@ function useVuiColorProvider() {
110
90
  provide(VuiColorProviderInjectionKey, provider);
111
91
  return provider;
112
92
  }
113
-
114
93
  //#endregion
115
94
  //#region src/composables/control.ts
116
95
  function createControlProps() {
@@ -160,7 +139,6 @@ function useControlField(props, opts = {}) {
160
139
  provide(VuiControlFieldInjectionKey, provider);
161
140
  return provider;
162
141
  }
163
-
164
142
  //#endregion
165
143
  //#region src/components/VIcon/VIcon.tsx
166
144
  const _rawIconProp = [String, Function];
@@ -195,21 +173,16 @@ const VIcon = defineComponent({
195
173
  return () => createVNode("span", { "class": [`v-icon notranslate`, classes.value] }, [createVNode("i", iconAttrs.value, null)]);
196
174
  }
197
175
  });
198
-
199
- //#endregion
200
- //#region src/components/VMenu/VMenu.tsx
201
- const colorProps$2 = colorSchemeProps();
202
176
  const VMenu = defineMenuComponent({
203
177
  name: "VMenu",
204
178
  attrs: { class: "v-menu" },
205
- props: { ...colorProps$2 },
179
+ props: { ...colorSchemeProps() },
206
180
  setup(ctx) {
207
181
  const color = useColorClasses(ctx.props, { useRootThemeDefault: true });
208
182
  ctx.setupContext.expose({ menu: ctx });
209
183
  return (children) => createVNode("div", mergeProps({ "class": ["v-menu__body", color.colorClasses.value] }, ctx.attrs), [children]);
210
184
  }
211
185
  });
212
-
213
186
  //#endregion
214
187
  //#region src/components/VTooltip/VTooltip.tsx
215
188
  const VTooltip = defineComponent({
@@ -232,7 +205,6 @@ const VTooltip = defineComponent({
232
205
  };
233
206
  }
234
207
  });
235
-
236
208
  //#endregion
237
209
  //#region src/components/VFormControl/VFormControl.tsx
238
210
  const { props: props$11, emits: emits$11 } = createFormNodeWrapperSettings();
@@ -320,7 +292,6 @@ const VFormControl = defineComponent({
320
292
  };
321
293
  }
322
294
  });
323
-
324
295
  //#endregion
325
296
  //#region src/composables/form-selector.tsx
326
297
  const slots$10 = defineSlots();
@@ -414,7 +385,6 @@ function defineFormSelectorComponent(opts) {
414
385
  }
415
386
  });
416
387
  }
417
-
418
388
  //#endregion
419
389
  //#region src/composables/elevation.ts
420
390
  function createElevationProps() {
@@ -430,7 +400,6 @@ function useElevation(props, opts = {}) {
430
400
  })
431
401
  };
432
402
  }
433
-
434
403
  //#endregion
435
404
  //#region src/components/VDialog/VDialog.tsx
436
405
  const colorProps$1 = colorSchemeProps();
@@ -459,7 +428,6 @@ const VDialog = defineDialogComponent({
459
428
  };
460
429
  }
461
430
  });
462
-
463
431
  //#endregion
464
432
  //#region src/components/VSnackbar/VSnackbar.tsx
465
433
  const colorProps = colorSchemeProps();
@@ -483,7 +451,6 @@ const VSnackbar = defineSnackbarComponent({
483
451
  };
484
452
  }
485
453
  });
486
-
487
454
  //#endregion
488
455
  //#region src/components/VSheetModal/VSheetModal.tsx
489
456
  const { props: props$10, emits: emits$10 } = createStackableDefine({
@@ -522,7 +489,6 @@ const VSheetModal = defineComponent({
522
489
  }, [headerSlot && createVNode("div", { "class": "v-sheet-modal__header" }, [headerSlot(this.stackControl)]), createVNode("div", { "class": "v-sheet-modal__scroller" }, [children])]));
523
490
  }
524
491
  });
525
-
526
492
  //#endregion
527
493
  //#region src/components/VSkeltonLoader/VSkeltonLoaderBone.tsx
528
494
  const VSkeltonLoaderBone = defineComponent({
@@ -539,16 +505,22 @@ const VSkeltonLoaderBone = defineComponent({
539
505
  };
540
506
  }
541
507
  });
542
-
543
508
  //#endregion
544
509
  //#region src/components/VDisabledReason/VDisabledReason.tsx
545
510
  function _isSlot$10(s) {
546
511
  return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
547
512
  }
548
- const menuProps = createMenuProps();
549
513
  const DISABLED_REASON_PROPS = {
550
- ...menuProps,
551
- ...createPropsOptions({ type: {
514
+ ...createMenuProps(),
515
+ ...createPropsOptions({
516
+ /**
517
+ * Display type
518
+ *
519
+ * Currently, only tooltip is supported
520
+ *
521
+ * @see {@link DisabledReasonType}
522
+ */
523
+ type: {
552
524
  type: String,
553
525
  default: "tooltip"
554
526
  } })
@@ -582,7 +554,6 @@ registerActionableRenderWrapper((customProps, currentNode) => {
582
554
  if (disabledReasonInput) return createVNode(VDisabledReason, disabledReasonInput, _isSlot$10(currentNode) ? currentNode : { default: () => [currentNode] });
583
555
  return currentNode;
584
556
  });
585
-
586
557
  //#endregion
587
558
  //#region src/components/VBusyImage/VBusyImage.tsx
588
559
  const IMAGE_ATTRS = [
@@ -748,14 +719,12 @@ function imageIsReady(image) {
748
719
  function isAvailableSrc(src) {
749
720
  return typeof src === "string" && src !== "";
750
721
  }
751
-
752
722
  //#endregion
753
723
  //#region src/components/VGrid/schemes.ts
754
724
  function extractRawGridValueClasses(value, prefix, getter) {
755
725
  if (typeof value !== "object") return `${prefix}${getter ? getter(value) : value}`;
756
726
  return Object.entries(value).map(([breakpoint, breakpointValue]) => `${prefix}${getter ? getter(breakpointValue) : breakpointValue}--${breakpoint}`);
757
727
  }
758
-
759
728
  //#endregion
760
729
  //#region src/components/VGrid/VGridItem.tsx
761
730
  const VGridItem = defineComponent({
@@ -796,7 +765,6 @@ const VGridItem = defineComponent({
796
765
  };
797
766
  }
798
767
  });
799
-
800
768
  //#endregion
801
769
  //#region src/components/VGrid/VGridContainer.tsx
802
770
  function spacingValueToString(value) {
@@ -863,7 +831,6 @@ const VGridContainer = defineComponent({
863
831
  };
864
832
  }
865
833
  });
866
-
867
834
  //#endregion
868
835
  //#region src/components/VPaper/VPaper.tsx
869
836
  const paperBaseSlots = defineSlots();
@@ -925,7 +892,6 @@ const VPaper = defineComponent({
925
892
  };
926
893
  }
927
894
  });
928
-
929
895
  //#endregion
930
896
  //#region src/components/VAvatar/VAvatar.tsx
931
897
  const AVATAR_SIZES = [
@@ -991,7 +957,6 @@ const VAvatar = defineComponent({
991
957
  };
992
958
  }
993
959
  });
994
-
995
960
  //#endregion
996
961
  //#region src/components/VChip/VChip.tsx
997
962
  const CHIP_SIZES = [
@@ -1065,7 +1030,6 @@ const VChip = defineComponent({
1065
1030
  ]);
1066
1031
  }
1067
1032
  });
1068
-
1069
1033
  //#endregion
1070
1034
  //#region src/components/VCard/VCard.tsx
1071
1035
  function createCardProps() {
@@ -1100,7 +1064,6 @@ const VCard = defineComponent({
1100
1064
  return () => createVNode(VPaper, data.value.attrs, ctx.slots);
1101
1065
  }
1102
1066
  });
1103
-
1104
1067
  //#endregion
1105
1068
  //#region src/components/VCard/VCardContent.tsx
1106
1069
  const VCardContent = defineComponent({
@@ -1109,7 +1072,6 @@ const VCardContent = defineComponent({
1109
1072
  return () => createVNode("div", { "class": "v-card-content" }, [ctx.slots.default?.()]);
1110
1073
  }
1111
1074
  });
1112
-
1113
1075
  //#endregion
1114
1076
  //#region src/components/VCard/VCardActions.tsx
1115
1077
  const VCardActions = defineComponent({
@@ -1118,7 +1080,6 @@ const VCardActions = defineComponent({
1118
1080
  return () => createVNode("div", { "class": "v-card-actions" }, [ctx.slots.default?.()]);
1119
1081
  }
1120
1082
  });
1121
-
1122
1083
  //#endregion
1123
1084
  //#region src/components/VButton/VButton.tsx
1124
1085
  const BUTTON_ALIGNS = [
@@ -1210,7 +1171,6 @@ const VButton = defineComponent({
1210
1171
  }, null)])) });
1211
1172
  }
1212
1173
  });
1213
-
1214
1174
  //#endregion
1215
1175
  //#region src/components/VButton/VButtonGroup.tsx
1216
1176
  const VButtonGroup = defineComponent({
@@ -1262,7 +1222,6 @@ const VButtonGroup = defineComponent({
1262
1222
  };
1263
1223
  }
1264
1224
  });
1265
-
1266
1225
  //#endregion
1267
1226
  //#region src/components/VPagination/VPagination.tsx
1268
1227
  function _isSlot$9(s) {
@@ -1275,21 +1234,36 @@ const PAGINATION_ALIGNS = [
1275
1234
  ];
1276
1235
  function paginationProps() {
1277
1236
  return createPropsOptions({
1237
+ /**
1238
+ * Active Pages
1239
+ */
1278
1240
  modelValue: {
1279
1241
  type: rawNumberPropType,
1280
1242
  default: 1
1281
1243
  },
1244
+ /**
1245
+ * Total number of pages
1246
+ */
1282
1247
  length: {
1283
1248
  type: rawNumberPropType,
1284
1249
  default: 0
1285
1250
  },
1251
+ /**
1252
+ * Maximum number of links to display.
1253
+ */
1286
1254
  totalVisible: rawNumberPropType,
1255
+ /**
1256
+ * true when narrowing
1257
+ */
1287
1258
  dense: Boolean,
1288
1259
  disabled: Boolean,
1289
1260
  align: {
1290
1261
  type: String,
1291
1262
  default: "center"
1292
1263
  },
1264
+ /**
1265
+ * To synchronize with a query, use the query name
1266
+ */
1293
1267
  routeQuery: String,
1294
1268
  beforeChange: Function,
1295
1269
  color: String
@@ -1444,14 +1418,11 @@ const VPagination = defineComponent({
1444
1418
  };
1445
1419
  const key = `${source}-${index}`;
1446
1420
  const { routeQuery } = props;
1447
- if (page !== void 0 && routeQuery) {
1448
- const to = createRoutableLocationByPage(page, routeQuery);
1449
- return createVNode(RouterLink, {
1450
- "class": classes,
1451
- "to": to,
1452
- "key": key
1453
- }, _isSlot$9(children) ? children : { default: () => [children] });
1454
- }
1421
+ if (page !== void 0 && routeQuery) return createVNode(RouterLink, {
1422
+ "class": classes,
1423
+ "to": createRoutableLocationByPage(page, routeQuery),
1424
+ "key": key
1425
+ }, _isSlot$9(children) ? children : { default: () => [children] });
1455
1426
  return createVNode("button", {
1456
1427
  "class": classes,
1457
1428
  "type": "button",
@@ -1486,7 +1457,6 @@ const VPagination = defineComponent({
1486
1457
  };
1487
1458
  }
1488
1459
  });
1489
-
1490
1460
  //#endregion
1491
1461
  //#region src/components/VListTile/VListTile.tsx
1492
1462
  function createListTileProps() {
@@ -1552,7 +1522,6 @@ const VListTile = defineComponent({
1552
1522
  };
1553
1523
  }
1554
1524
  });
1555
-
1556
1525
  //#endregion
1557
1526
  //#region src/components/VDrawerLayout/VDrawerLayout.tsx
1558
1527
  const VDrawerLayout = defineComponent({
@@ -1561,14 +1530,13 @@ const VDrawerLayout = defineComponent({
1561
1530
  slots: paperBaseSlots,
1562
1531
  setup(props, ctx) {
1563
1532
  return () => {
1564
- const paperProps = computed(() => ({
1565
- color: props.color,
1566
- tag: props.tag
1567
- }));
1568
1533
  return createVNode(VPaper, mergeProps({
1569
1534
  "class": "v-drawer-layout",
1570
1535
  "innerClass": "v-drawer-layout__inner"
1571
- }, paperProps.value, {
1536
+ }, computed(() => ({
1537
+ color: props.color,
1538
+ tag: props.tag
1539
+ })).value, {
1572
1540
  "square": true,
1573
1541
  "headerProps": { class: "v-drawer-layout__header" },
1574
1542
  "bodyProps": { class: "v-drawer-layout__body" },
@@ -1577,7 +1545,6 @@ const VDrawerLayout = defineComponent({
1577
1545
  };
1578
1546
  }
1579
1547
  });
1580
-
1581
1548
  //#endregion
1582
1549
  //#region src/components/VHero/VHero.tsx
1583
1550
  const slots$8 = defineSlots();
@@ -1608,7 +1575,6 @@ const VHero = defineComponent({
1608
1575
  };
1609
1576
  }
1610
1577
  });
1611
-
1612
1578
  //#endregion
1613
1579
  //#region src/components/VNavigation/VNavigationItem.tsx
1614
1580
  function _isSlot$8(s) {
@@ -1741,7 +1707,6 @@ const VNavigationItem = defineComponent({
1741
1707
  };
1742
1708
  }
1743
1709
  });
1744
-
1745
1710
  //#endregion
1746
1711
  //#region src/components/VNavigation/VNavigation.tsx
1747
1712
  function createNavigationProps() {
@@ -1801,7 +1766,6 @@ const VNavigation = defineComponent({
1801
1766
  };
1802
1767
  }
1803
1768
  });
1804
-
1805
1769
  //#endregion
1806
1770
  //#region src/components/VControlField/VControlField.tsx
1807
1771
  const ADORNMENT_POSITIONS = ["start", "end"];
@@ -1886,7 +1850,6 @@ const VControlField = defineComponent({
1886
1850
  ]);
1887
1851
  }
1888
1852
  });
1889
-
1890
1853
  //#endregion
1891
1854
  //#region src/components/VTextCounter/VTextCounter.tsx
1892
1855
  const VTextCounter = defineComponent({
@@ -1905,7 +1868,6 @@ const VTextCounter = defineComponent({
1905
1868
  return createVNode("span", { "class": "v-text-counter" }, [`${this.length} / ${this.maxlength}`]);
1906
1869
  }
1907
1870
  });
1908
-
1909
1871
  //#endregion
1910
1872
  //#region src/components/VCheckable/VCheckable.tsx
1911
1873
  const CHECKABLE_SLOTS = defineSlots();
@@ -1936,7 +1898,6 @@ const VCheckable = defineComponent({
1936
1898
  return () => createVNode("label", mergeProps({ "class": ["v-checkable", classes.value] }, DISABLED_REASON_CONTAINER_BIND), [createVNode("span", { "class": "v-checkable__faux" }, [ctx.slots.input?.(), ctx.slots.icon ? ctx.slots.icon() : createVNode("span", { "class": "v-checkable__faux__icon" }, [ctx.slots.faux?.()])]), createVNode("span", { "class": "v-checkable__label" }, [ctx.slots.label?.()])]);
1937
1899
  }
1938
1900
  });
1939
-
1940
1901
  //#endregion
1941
1902
  //#region src/components/VCheckbox/VCheckbox.tsx
1942
1903
  const { props: props$9, emits: emits$9 } = createFormSelectorItemSettings();
@@ -1981,7 +1942,6 @@ const VCheckbox = defineComponent({
1981
1942
  }, withCtxForSlots(slots));
1982
1943
  }
1983
1944
  });
1984
-
1985
1945
  //#endregion
1986
1946
  //#region src/components/VCheckboxGroup/VCheckboxGroup.tsx
1987
1947
  function _isSlot$7(s) {
@@ -1994,7 +1954,6 @@ const VCheckboxGroup = defineFormSelectorComponent({
1994
1954
  className: "v-checkbox-group",
1995
1955
  itemRenderer: ({ attrs, slots }) => createVNode(VCheckbox, attrs, _isSlot$7(slots) ? slots : { default: () => [slots] })
1996
1956
  });
1997
-
1998
1957
  //#endregion
1999
1958
  //#region src/components/VRadio/VRadio.tsx
2000
1959
  const { props: props$8, emits: emits$8 } = createFormSelectorItemSettings();
@@ -2030,7 +1989,6 @@ const VRadio = defineComponent({
2030
1989
  }, withCtxForSlots(slots));
2031
1990
  }
2032
1991
  });
2033
-
2034
1992
  //#endregion
2035
1993
  //#region src/components/VRadioGroup/VRadioGroup.tsx
2036
1994
  function _isSlot$6(s) {
@@ -2042,7 +2000,6 @@ const VRadioGroup = defineFormSelectorComponent({
2042
2000
  className: "v-radio-group",
2043
2001
  itemRenderer: ({ attrs, slots }) => createVNode(VRadio, attrs, _isSlot$6(slots) ? slots : { default: () => [slots] })
2044
2002
  });
2045
-
2046
2003
  //#endregion
2047
2004
  //#region src/components/VSwitch/VSwitch.tsx
2048
2005
  const { props: props$7, emits: emits$7 } = createFormSelectorItemSettings();
@@ -2086,7 +2043,6 @@ const VSwitch = defineComponent({
2086
2043
  }, withCtxForSlots(slots));
2087
2044
  }
2088
2045
  });
2089
-
2090
2046
  //#endregion
2091
2047
  //#region src/components/VSwitchGroup/VSwitchGroup.tsx
2092
2048
  function _isSlot$5(s) {
@@ -2099,7 +2055,6 @@ const VSwitchGroup = defineFormSelectorComponent({
2099
2055
  className: "v-switch-group",
2100
2056
  itemRenderer: ({ attrs, slots }) => createVNode(VSwitch, attrs, _isSlot$5(slots) ? slots : { default: () => [slots] })
2101
2057
  });
2102
-
2103
2058
  //#endregion
2104
2059
  //#region src/components/VOption/VOption.tsx
2105
2060
  const { props: props$6, emits: emits$6 } = createFormSelectorItemSettings();
@@ -2134,7 +2089,6 @@ const VOption = defineComponent({
2134
2089
  }, [createVNode("span", { "class": "v-option__label" }, [ctx.slots.default?.()])]);
2135
2090
  }
2136
2091
  });
2137
-
2138
2092
  //#endregion
2139
2093
  //#region src/components/VOptionGroup/VOptionGroup.tsx
2140
2094
  const slots$6 = defineSlots();
@@ -2157,7 +2111,6 @@ const VOptionGroup = defineComponent({
2157
2111
  };
2158
2112
  }
2159
2113
  });
2160
-
2161
2114
  //#endregion
2162
2115
  //#region src/components/VSelect/VSelect.tsx
2163
2116
  function _isSlot$4(s) {
@@ -2392,9 +2345,8 @@ const VSelect = defineComponent({
2392
2345
  "onClick": (ev) => {
2393
2346
  if (inputControl.canOperation && !menu.isActive) {
2394
2347
  let t = ev.target;
2395
- const count = 0;
2396
2348
  let hit = false;
2397
- while (count < 5) {
2349
+ while (true) {
2398
2350
  if (t.classList.contains("v-select__input")) {
2399
2351
  hit = true;
2400
2352
  break;
@@ -2440,7 +2392,6 @@ const VSelect = defineComponent({
2440
2392
  };
2441
2393
  }
2442
2394
  });
2443
-
2444
2395
  //#endregion
2445
2396
  //#region src/components/VTextField/VTextField.tsx
2446
2397
  const { props: props$4, emits: emits$4 } = createTextInputNodeSettings();
@@ -2499,7 +2450,6 @@ const VTextField = defineComponent({
2499
2450
  });
2500
2451
  }
2501
2452
  });
2502
-
2503
2453
  //#endregion
2504
2454
  //#region src/components/VNumberField/VNumberField.tsx
2505
2455
  const toString = (value) => {
@@ -2548,7 +2498,6 @@ const VNumberField = defineComponent({
2548
2498
  }), ctx.slots);
2549
2499
  }
2550
2500
  });
2551
-
2552
2501
  //#endregion
2553
2502
  //#region src/components/VTextarea/VTextarea.tsx
2554
2503
  const { props: props$3, emits: emits$3 } = createTextareaNodeSettings();
@@ -2605,7 +2554,6 @@ const VTextarea = defineComponent({
2605
2554
  });
2606
2555
  }
2607
2556
  });
2608
-
2609
2557
  //#endregion
2610
2558
  //#region src/components/VFileInput/VFileInput.tsx
2611
2559
  const { props: props$2, emits: emits$2 } = createFileInputNodeSettings();
@@ -2699,7 +2647,6 @@ const VFileInput = defineComponent({
2699
2647
  });
2700
2648
  }
2701
2649
  });
2702
-
2703
2650
  //#endregion
2704
2651
  //#region src/components/VFormGroup/VFormGroup.tsx
2705
2652
  const { props: props$1, emits: emits$1 } = createFormGroupSettings();
@@ -2724,7 +2671,6 @@ const VFormGroup = defineComponent({
2724
2671
  return () => ctx.slots.default?.(nodeControl);
2725
2672
  }
2726
2673
  });
2727
-
2728
2674
  //#endregion
2729
2675
  //#region src/components/VForm/VForm.tsx
2730
2676
  const { props, emits } = createFormSettings({ nodeType: VUI_FORM_SYMBOL });
@@ -2763,7 +2709,6 @@ const VForm = defineComponent({
2763
2709
  return { control: nodeControl };
2764
2710
  }
2765
2711
  });
2766
-
2767
2712
  //#endregion
2768
2713
  //#region src/components/VTabs/VTab.tsx
2769
2714
  function _isSlot$3(s) {
@@ -2792,14 +2737,11 @@ const VTab = defineComponent({
2792
2737
  const { to, value, icon, active } = props;
2793
2738
  const classes = ["v-tab", classesRef.value];
2794
2739
  const children = createVNode("span", { "class": "v-tab__content" }, [icon && resolveRawIconProp(active, icon, { class: "v-tab__icon" }), ctx.slots.default?.()]);
2795
- if (to) {
2796
- const replace = typeof to === "string" ? void 0 : to.replace;
2797
- return createVNode(RouterLink, {
2798
- "class": classes,
2799
- "to": to,
2800
- "replace": replace
2801
- }, _isSlot$3(children) ? children : { default: () => [children] });
2802
- }
2740
+ if (to) return createVNode(RouterLink, {
2741
+ "class": classes,
2742
+ "to": to,
2743
+ "replace": typeof to === "string" ? void 0 : to.replace
2744
+ }, _isSlot$3(children) ? children : { default: () => [children] });
2803
2745
  return createVNode("button", {
2804
2746
  "class": classes,
2805
2747
  "type": "button",
@@ -2811,7 +2753,6 @@ const VTab = defineComponent({
2811
2753
  };
2812
2754
  }
2813
2755
  });
2814
-
2815
2756
  //#endregion
2816
2757
  //#region src/components/VTabs/VTabs.tsx
2817
2758
  function _isSlot$2(s) {
@@ -2826,11 +2767,21 @@ const VTabs = defineComponent({
2826
2767
  type: Array,
2827
2768
  required: true
2828
2769
  },
2770
+ /**
2771
+ * 自動スクロールする際の余剰オフセット幅(px)
2772
+ */
2829
2773
  autoScrollOffset: {
2830
2774
  type: Number,
2831
2775
  default: 20
2832
2776
  },
2777
+ /**
2778
+ * ルーター同期する場合設定する
2779
+ */
2833
2780
  router: Function,
2781
+ /**
2782
+ * ルーティング連携を行う際に、クエリベースのURLマッチングを行う
2783
+ * タブのURLが /page1?tab=xxx のようになる時に設定する
2784
+ */
2834
2785
  withQuery: Boolean,
2835
2786
  color: String,
2836
2787
  onBeforeChange: Function,
@@ -2985,10 +2936,9 @@ const VTabs = defineComponent({
2985
2936
  active,
2986
2937
  vui
2987
2938
  }) : label;
2988
- const _to = location && location.to || void 0;
2989
2939
  return createVNode(VTab, {
2990
2940
  "value": value,
2991
- "to": _to,
2941
+ "to": location && location.to || void 0,
2992
2942
  "icon": icon,
2993
2943
  "active": active,
2994
2944
  "ref": setTabRef,
@@ -3008,7 +2958,6 @@ const VTabs = defineComponent({
3008
2958
  };
3009
2959
  }
3010
2960
  });
3011
-
3012
2961
  //#endregion
3013
2962
  //#region src/components/VBreadcrumbs/VBreadcrumbs.tsx
3014
2963
  function _isSlot$1(s) {
@@ -3074,7 +3023,6 @@ const VBreadcrumbs = defineComponent({
3074
3023
  };
3075
3024
  }
3076
3025
  });
3077
-
3078
3026
  //#endregion
3079
3027
  //#region src/components/VContentSwitcher/VContentSwitcher.tsx
3080
3028
  function _isSlot(s) {
@@ -3175,7 +3123,6 @@ const VContentSwitcher = defineComponent({
3175
3123
  };
3176
3124
  }
3177
3125
  });
3178
-
3179
3126
  //#endregion
3180
3127
  //#region src/components/VDataTable/VDataTable.tsx
3181
3128
  const DATA_TABLE_DEFAULTS = {
@@ -3206,6 +3153,7 @@ const SELECTABLE_HEADER_SYMBOL = "__selectable_header__";
3206
3153
  const VDataTable = defineComponent({
3207
3154
  name: "VDataTable",
3208
3155
  props: {
3156
+ /** 選択中のkeyの配列 */
3209
3157
  modelValue: {
3210
3158
  type: Array,
3211
3159
  default: () => []
@@ -3214,22 +3162,37 @@ const VDataTable = defineComponent({
3214
3162
  type: String,
3215
3163
  default: () => DATA_TABLE_DEFAULTS.itemKey
3216
3164
  },
3165
+ /**
3166
+ * ページネーションクエリ名
3167
+ */
3217
3168
  pageQuery: {
3218
3169
  type: String,
3219
3170
  default: () => DATA_TABLE_DEFAULTS.pageQuery
3220
3171
  },
3172
+ /**
3173
+ * ソートクエリ名
3174
+ */
3221
3175
  sortQuery: {
3222
3176
  type: String,
3223
3177
  default: () => DATA_TABLE_DEFAULTS.sortQuery
3224
3178
  },
3179
+ /**
3180
+ * 表示順クエリ名
3181
+ */
3225
3182
  orderQuery: {
3226
3183
  type: String,
3227
3184
  default: () => DATA_TABLE_DEFAULTS.orderQuery
3228
3185
  },
3186
+ /**
3187
+ * 検索クエリ名
3188
+ */
3229
3189
  searchQuery: {
3230
3190
  type: [String, Array],
3231
3191
  default: () => DATA_TABLE_DEFAULTS.searchQuery
3232
3192
  },
3193
+ /**
3194
+ * リミット件数クエリ名
3195
+ */
3233
3196
  limitQuery: {
3234
3197
  type: String,
3235
3198
  default: () => DATA_TABLE_DEFAULTS.limitQuery
@@ -3496,7 +3459,7 @@ const VDataTable = defineComponent({
3496
3459
  const isIndeterminate = isIndeterminateRef.value;
3497
3460
  const isAllSelected = isAllSelectedRef.value;
3498
3461
  const { defaultOrder, ascQueryValue } = props;
3499
- const children = headersRef.value.map((header) => {
3462
+ return createVNode("thead", { "class": "v-data-table__table__header" }, [createVNode("tr", null, [headersRef.value.map((header) => {
3500
3463
  const { label, sortQuery, align, key } = header;
3501
3464
  const headerChildren = [];
3502
3465
  if (label != null && typeof label !== "boolean") {
@@ -3535,8 +3498,7 @@ const VDataTable = defineComponent({
3535
3498
  handleClickSortHeader(header, ev);
3536
3499
  }
3537
3500
  }, [createVNode("div", { "class": "v-data-table__table__cell__tile" }, [headerChildren])]);
3538
- });
3539
- return createVNode("thead", { "class": "v-data-table__table__header" }, [createVNode("tr", null, [children])]);
3501
+ })])]);
3540
3502
  }
3541
3503
  function toggleSelect(key) {
3542
3504
  return isSelected(key) ? deselect(key) : select(key);
@@ -3566,9 +3528,8 @@ const VDataTable = defineComponent({
3566
3528
  }, null)];
3567
3529
  break;
3568
3530
  }
3569
- const classes = align ? { [`v-data-table__table__cell--${align}`]: true } : void 0;
3570
3531
  return createVNode("td", {
3571
- "class": ["v-data-table__table__cell", classes],
3532
+ "class": ["v-data-table__table__cell", align ? { [`v-data-table__table__cell--${align}`]: true } : void 0],
3572
3533
  "key": header.key
3573
3534
  }, [cellChildren]);
3574
3535
  });
@@ -3584,15 +3545,14 @@ const VDataTable = defineComponent({
3584
3545
  function genBody() {
3585
3546
  const { items, itemKey } = props;
3586
3547
  const { item: itemSlot = defaultItemSlot } = ctx.slots;
3587
- const children = items.map((item) => {
3548
+ return createVNode("tbody", { "class": "v-data-table__table__body" }, [items.map((item) => {
3588
3549
  const key = item[itemKey];
3589
3550
  return itemSlot({
3590
3551
  key,
3591
3552
  item,
3592
3553
  selected: isSelected(key)
3593
3554
  });
3594
- });
3595
- return createVNode("tbody", { "class": "v-data-table__table__body" }, [children]);
3555
+ })]);
3596
3556
  }
3597
3557
  watch(() => props.modelValue, (modelValue) => {
3598
3558
  internalValues.value = modelValue.slice();
@@ -3619,7 +3579,6 @@ const VDataTable = defineComponent({
3619
3579
  };
3620
3580
  }
3621
3581
  });
3622
-
3623
3582
  //#endregion
3624
3583
  //#region src/components/VApp/VApp.tsx
3625
3584
  const VApp = defineComponent({
@@ -3629,7 +3588,6 @@ const VApp = defineComponent({
3629
3588
  return () => createVNode(VDynamicStacks, null, { default: () => [createVNode(VAppLayout, null, ctx.slots)] });
3630
3589
  }
3631
3590
  });
3632
-
3633
3591
  //#endregion
3634
3592
  //#region src/components/VToolbar/VToolbar.tsx
3635
3593
  const VToolbar = defineComponent({
@@ -3658,7 +3616,6 @@ const VToolbar = defineComponent({
3658
3616
  return () => createVNode("div", { "class": ["v-toolbar", classes.value] }, [ctx.slots.default?.()]);
3659
3617
  }
3660
3618
  });
3661
-
3662
3619
  //#endregion
3663
3620
  //#region src/components/VToolbar/VToolbarMenu.tsx
3664
3621
  const VToolbarMenu = defineComponent({
@@ -3676,7 +3633,6 @@ const VToolbarMenu = defineComponent({
3676
3633
  };
3677
3634
  }
3678
3635
  });
3679
-
3680
3636
  //#endregion
3681
3637
  //#region src/components/VToolbar/VToolbarEdge.tsx
3682
3638
  const VToolbarEdge = defineComponent({
@@ -3698,7 +3654,6 @@ const VToolbarEdge = defineComponent({
3698
3654
  };
3699
3655
  }
3700
3656
  });
3701
-
3702
3657
  //#endregion
3703
3658
  //#region src/components/VToolbar/VToolbarTitle.tsx
3704
3659
  const slots = defineSlots();
@@ -3720,7 +3675,6 @@ const VToolbarTitle = defineComponent({
3720
3675
  };
3721
3676
  }
3722
3677
  });
3723
-
3724
3678
  //#endregion
3725
3679
  //#region src/service.tsx
3726
3680
  const DEFAULT_AUTO_SCROLL_TO_ELEMENT_OFFSET_TOP = -20;
@@ -3915,7 +3869,6 @@ var VuiService = class {
3915
3869
  };
3916
3870
  }
3917
3871
  };
3918
-
3919
3872
  //#endregion
3920
3873
  //#region src/plugin.tsx
3921
3874
  setDefaultActionableClassName("clickable");
@@ -3968,7 +3921,7 @@ var VuiPlugin = class {
3968
3921
  function installVuiPlugin(app, opts) {
3969
3922
  return app.use(VuiPlugin, opts);
3970
3923
  }
3971
-
3972
3924
  //#endregion
3973
3925
  export { ARROW_KEY_TYPES, AVATAR_SIZES, BUTTON_ALIGNS, CHIP_SIZES, CHOICE_KEY_TYPES, CONTROL_FIELD_VARIANTS, CONTROL_LOADING_SPINNER_SIZES, CONTROL_SIZES, DISABLED_REASON_PROPS, ICON_NAMES, KEYBOARD_EVENT_TYPES, PAGINATION_ALIGNS, VApp, VAvatar, VBreadcrumbs, VBusyImage, VButton, VButtonGroup, VCard, VCardActions, VCardContent, VCheckbox, VCheckboxGroup, VChip, VContentSwitcher, VControlField, VDataTable, VDialog, VDisabledReason, VDrawerLayout, VFileInput, VForm, VFormControl, VFormGroup, VGridContainer, VGridItem, VHero, VIcon, VLink, VListTile, VMenu, VNavigation, VNavigationItem, VNumberField, VOption, VOptionGroup, VPagination, VPaper, VProgressCircular, VProgressLinear, VRadio, VRadioGroup, VSelect, VSheetModal, VSkeltonLoaderBone, VSnackbar, VSwitch, VSwitchGroup, VTabs, VTextCounter, VTextField, VTextarea, VToolbar, VToolbarEdge, VToolbarMenu, VToolbarTitle, VTooltip, VUI_CHECKBOX_GROUP_SYMBOL, VUI_CHECKBOX_SYMBOL, VUI_FILE_INPUT_SYMBOL, VUI_FORM_GROUP_SYMBOL, VUI_FORM_SYMBOL, VUI_OPTION_SYMBOL, VUI_RADIO_GROUP_SYMBOL, VUI_RADIO_SYMBOL, VUI_SELECT_SYMBOL, VUI_SWITCH_GROUP_SYMBOL, VUI_SWITCH_SYMBOL, VUI_TEXTAREA_SYMBOL, VUI_TEXT_FIELD_SYMBOL, VuiColorProviderInjectionKey, VuiControlFieldInjectionKey, VuiControlInjectionKey, VuiInjectionKey, VuiPlugin, VuiService, configureDataTableDefaults, createAvatarProps, createCardProps, createChipProps, createControlFieldProps, createControlFieldProviderProps, createControlProps, createElevationProps, createListTileProps, createNavigationItemProps, createNavigationProps, createPaperBaseProps, createPaperProps, createRequiredChipRenderer, createVFormGroupProps, createVFormProps, defineFormSelectorComponent, formGroupSlots, formSlots, iconProps, installVuiPlugin, listTileEmits, mergeVuiPluginOptions, mergeVuiServiceIconSettings, mergeVuiServiceOptions, mergeVuiServiceUISettings, paginationProps, paperBaseSlots, rawIconProp, renderNavigationItemInput, resolveNavigationItemInput, resolveRawIconProp, sheetModalProps, splitAttrs, useControl, useControlField, useElevation, useVui, useVuiColorProvider, vueButtonProps };
3926
+
3974
3927
  //# sourceMappingURL=vui.mjs.map