@dv.net/ui-kit 7.7.2 → 7.7.4

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.
Files changed (47) hide show
  1. package/dist/assets/{lib.r7YREy6k.js → lib.CVtXht_A.js} +115 -89
  2. package/dist/components/UiAvatar/UiAvatar.js +1 -1
  3. package/dist/components/UiBlockTitle/UiBlockTitle.js +1 -1
  4. package/dist/components/UiButton/UiButton.js +1 -1
  5. package/dist/components/UiChat/UiChat.js +1 -1
  6. package/dist/components/UiChat/UiChatFooter.js +1 -1
  7. package/dist/components/UiChat/UiChatHeader.js +1 -1
  8. package/dist/components/UiCheckbox/UiCheckbox.js +1 -1
  9. package/dist/components/UiCollapseItem/UiCollapseItem.js +1 -1
  10. package/dist/components/UiConfirm/UiConfirm.js +1 -1
  11. package/dist/components/UiDatepicker/UiDatepickerRange.js +1 -1
  12. package/dist/components/UiDatepicker/components/DatePickerInput.js +1 -1
  13. package/dist/components/UiDatepicker/components/DatePickerInputs.js +1 -1
  14. package/dist/components/UiDatepicker/components/DatePickerSlider.js +1 -1
  15. package/dist/components/UiDragAndDrop/UiDragAndDrop.js +1 -1
  16. package/dist/components/UiDragAndDrop/UiFileItem.js +1 -1
  17. package/dist/components/UiDragAndDrop/UiFileItemLoading.js +1 -1
  18. package/dist/components/UiIconButton/UiIconButton.js +1 -1
  19. package/dist/components/UiInput/UiInput.js +1 -1
  20. package/dist/components/UiLanguages/UiLanguages.js +1 -1
  21. package/dist/components/UiLanguages/components/UiLanguageButton.js +1 -1
  22. package/dist/components/UiLayoutMenu/UiLayoutMenu.js +1 -1
  23. package/dist/components/UiLayoutMenu/UiLayoutMenuItem.js +1 -1
  24. package/dist/components/UiLoading/UiLoading.js +1 -1
  25. package/dist/components/UiMobileMenu/UiMobileMenu.js +1 -1
  26. package/dist/components/UiModal/UiModal.js +1 -1
  27. package/dist/components/UiPagination/UiPagination.js +1 -1
  28. package/dist/components/UiProfileMenu/UiProfileMenu.js +1 -1
  29. package/dist/components/UiProfileMenu/components/UiProfileMenuItem.js +1 -1
  30. package/dist/components/UiSelect/UiSelect.js +1 -1
  31. package/dist/components/UiSelect/components/SelectSearch.js +1 -1
  32. package/dist/components/UiSelect/components/SelectTrigger.js +1 -1
  33. package/dist/components/UiSelect/components/SelectVirtualList.js +1 -1
  34. package/dist/components/UiSwitch/UiSwitch.js +1 -1
  35. package/dist/components/UiTable/UiTable.js +1 -1
  36. package/dist/components/UiTable/components/TableEmptyState.js +2 -0
  37. package/dist/components/UiTable/components/TableEmptyState.vue.d.ts +2 -0
  38. package/dist/components/UiTable/components/TableSort.js +1 -1
  39. package/dist/components/UiTable/types.d.ts +1 -0
  40. package/dist/components/UiTooltip/UiTooltip.js +1 -1
  41. package/dist/composables/useNotification/UiNotification.js +1 -1
  42. package/dist/composables/useNotification/useNotification.js +1 -1
  43. package/dist/config/index.d.ts +4 -0
  44. package/dist/config/index.js +5 -1
  45. package/dist/index.js +3 -3
  46. package/dist/style.css +1 -1
  47. package/package.json +1 -1
@@ -26231,7 +26231,7 @@ var ch = {
26231
26231
  }),
26232
26232
  emits: /* @__PURE__ */ Le(["clear"], ["update:modelValue"]),
26233
26233
  setup(e, { emit: t }) {
26234
- let n = e, i = t, a = at(e, "modelValue"), { width: o } = f(), { dayjs: s, today: c, endDate: l, startDate: u, beginDate: d, modelValueFormat: p } = oe(a), m = F(() => n.enableTimePicker ? T.uiDatePicker.modelValueFormatTime : p.value), h = F(() => n.locale || T.locale), g = F(() => ({
26234
+ let n = e, i = t, a = at(e, "modelValue"), { width: o } = f(), { dayjs: s, today: c, endDate: l, startDate: u, beginDate: d, modelValueFormat: p } = oe(a), m = F(() => n.enableTimePicker === !0), h = F(() => m.value ? T.uiDatePicker.modelValueFormatTime : p.value), g = F(() => n.locale || T.locale), _ = F(() => ({
26235
26235
  en: Yi,
26236
26236
  ar: au,
26237
26237
  bn: zu,
@@ -26266,97 +26266,98 @@ var ch = {
26266
26266
  ja: Xf,
26267
26267
  ru: cm,
26268
26268
  uk: Qm
26269
- })[h.value] || Yi), _ = W(), v = W(["", ""]), y = W(!1), b = F(() => n.beginDate ? s(n.beginDate).format(p.value) : null), x = F(() => n.maxDate ?? c), S = F(() => n.minDate), { presets: C } = ce({ beginDate: b.value ?? d.value }), { isAllTimeSelected: w, selectedDate: E, formattedSelectedDate: D, selectedRange: O } = N({
26270
- presets: C,
26269
+ })[g.value] || Yi), v = W(), y = W(["", ""]), b = W(!1), x = F(() => ({ enableTimePicker: m.value })), S = F(() => n.beginDate ? s(n.beginDate).format(p.value) : null), C = F(() => n.maxDate ?? c), w = F(() => n.minDate), { presets: E } = ce({ beginDate: S.value ?? d.value }), { isAllTimeSelected: D, selectedDate: O, formattedSelectedDate: k, selectedRange: A } = N({
26270
+ presets: E,
26271
26271
  startDate: u,
26272
26272
  endDate: l,
26273
- minDate: S,
26274
- maxDate: x,
26275
- locale: h,
26276
- enableTimePicker: F(() => n.enableTimePicker)
26273
+ minDate: w,
26274
+ maxDate: C,
26275
+ locale: g,
26276
+ enableTimePicker: m
26277
26277
  });
26278
- function k(e) {
26279
- te(e.date), _.value.closeMenu();
26278
+ function ee(e) {
26279
+ ne(e.date), v.value.closeMenu();
26280
26280
  }
26281
- function A(e) {
26281
+ function te(e) {
26282
26282
  if (!e) return;
26283
- let t = (e) => typeof e == "string" ? e : e instanceof Date ? s(e).format(m.value) : "", n = Array.isArray(e) ? [t(e[0]), t(e[1])] : [t(e), t(e)];
26284
- y.value = n.some((e) => !e), n.length === 2 && (v.value = n);
26283
+ let t = (e) => typeof e == "string" ? e : e instanceof Date ? s(e).format(h.value) : "", n = Array.isArray(e) ? [t(e[0]), t(e[1])] : [t(e), t(e)];
26284
+ b.value = n.some((e) => !e), n.length === 2 && (y.value = n);
26285
26285
  }
26286
- function ee(e) {
26287
- a.value = [s(e[0]).format(m.value), s(e[1]).format(m.value)];
26286
+ function j(e) {
26287
+ a.value = [s(e[0]).format(h.value), s(e[1]).format(h.value)];
26288
26288
  }
26289
- function te(e) {
26289
+ function ne(e) {
26290
26290
  let t = Array.isArray(e) ? e : [e, e];
26291
26291
  if (u.value && l.value) {
26292
- let e = n.enableTimePicker ? "minute" : "day";
26293
- u.value.isSame(t[0], e) && l.value.isSame(t[1], e) || ee(t);
26294
- } else ee(t);
26295
- }
26296
- function j() {
26297
- let e = n.single ? s(v.value[0], m.value).toDate() : v.value;
26298
- _.value?.updateInternalModelValue(e), _.value?.setMonthYear({
26299
- month: s(v.value[0]).month(),
26300
- year: s(v.value[0]).year()
26292
+ let e = m.value ? "minute" : "day";
26293
+ u.value.isSame(t[0], e) && l.value.isSame(t[1], e) || j(t);
26294
+ } else j(t);
26295
+ }
26296
+ function re() {
26297
+ let e = n.single ? s(y.value[0], h.value).toDate() : y.value;
26298
+ v.value?.updateInternalModelValue(e), v.value?.setMonthYear({
26299
+ month: s(y.value[0]).month(),
26300
+ year: s(y.value[0]).year()
26301
26301
  });
26302
26302
  }
26303
- let ne = () => {
26304
- a.value = [], v.value = ["", ""], y.value = !0, _.value?.closeMenu(), i("clear");
26303
+ let ie = () => {
26304
+ a.value = [], y.value = ["", ""], b.value = !0, v.value?.closeMenu(), i("clear");
26305
26305
  };
26306
26306
  return Ge(() => {
26307
- a.value.length || (y.value = !0);
26307
+ a.value.length || (b.value = !0);
26308
26308
  }), (t, n) => (U(), R("div", { class: H(["ui-datepicker-range", [e.size, { "is-disabled": e.disabled }]]) }, [B($r, {
26309
- disabled: !a.value.length || J(w),
26309
+ disabled: !a.value.length || J(D),
26310
26310
  modelValue: a.value,
26311
26311
  "onUpdate:modelValue": n[2] ||= (e) => a.value = e,
26312
- "selected-range": J(O),
26312
+ "selected-range": J(A),
26313
26313
  "is-show": !e.hideSliderArrows,
26314
- "enable-time-picker": e.enableTimePicker,
26315
- "min-date": S.value,
26316
- "max-date": x.value
26314
+ "enable-time-picker": m.value,
26315
+ "min-date": w.value,
26316
+ "max-date": C.value
26317
26317
  }, {
26318
26318
  default: Y(() => [B(J(eu), {
26319
26319
  position: "center",
26320
- locale: g.value,
26320
+ locale: _.value,
26321
26321
  ref_key: "pickerRef",
26322
- ref: _,
26322
+ ref: v,
26323
26323
  "model-value": e.single ? a.value[0] : a.value,
26324
- "enable-time-picker": e.enableTimePicker,
26325
- "time-picker-inline": e.enableTimePicker,
26324
+ "enable-time-picker": m.value,
26325
+ "time-config": x.value,
26326
+ "time-picker-inline": m.value,
26326
26327
  range: !e.single,
26327
26328
  "multi-calendars": !e.single && J(o) > 1e3,
26328
26329
  "month-name-format": "long",
26329
- "max-date": x.value,
26330
- "min-date": S.value,
26331
- "start-date": x.value,
26330
+ "max-date": C.value,
26331
+ "min-date": w.value,
26332
+ "start-date": C.value,
26332
26333
  "auto-apply": e.autoApply,
26333
26334
  offset: 0,
26334
- timezone: e.timezone,
26335
- "onUpdate:modelValue": te,
26336
- onInternalModelChange: A
26335
+ timezone: m.value ? e.timezone : void 0,
26336
+ "onUpdate:modelValue": ne,
26337
+ onInternalModelChange: te
26337
26338
  }, {
26338
- "left-sidebar": Y(() => [!e.single && J(C).length ? (U(), I(se, {
26339
+ "left-sidebar": Y(() => [!e.single && J(E).length ? (U(), I(se, {
26339
26340
  key: 0,
26340
- presets: J(C),
26341
- date: v.value,
26342
- onChange: k
26341
+ presets: J(E),
26342
+ date: y.value,
26343
+ onChange: ee
26343
26344
  }, null, 8, ["presets", "date"])) : L("", !0), B(Yr, {
26344
- onChange: j,
26345
- onSubmit: n[0] ||= (e) => _.value.selectDate(),
26346
- modelValue: v.value,
26347
- "onUpdate:modelValue": n[1] ||= (e) => v.value = e,
26345
+ onChange: re,
26346
+ onSubmit: n[0] ||= (e) => v.value.selectDate(),
26347
+ modelValue: y.value,
26348
+ "onUpdate:modelValue": n[1] ||= (e) => y.value = e,
26348
26349
  single: e.single
26349
26350
  }, null, 8, ["modelValue", "single"])]),
26350
26351
  trigger: Y(() => [t.$slots.trigger ? K(t.$slots, "trigger", {
26351
26352
  key: 0,
26352
26353
  date: a.value,
26353
- presets: J(C),
26354
- selectedDate: J(E),
26355
- formattedSelectedDate: J(D)
26354
+ presets: J(E),
26355
+ selectedDate: J(O),
26356
+ formattedSelectedDate: J(k)
26356
26357
  }) : (U(), R("button", uh, [B(J(r), {
26357
26358
  type: "400",
26358
26359
  name: "calendar-month"
26359
- }), je(q(J(E)), 1)]))]),
26360
+ }), je(q(J(O)), 1)]))]),
26360
26361
  "month-year": Y(({ month: e, months: t, handleMonthYearChange: n }) => [z("div", dh, [
26361
26362
  B(Mt, {
26362
26363
  onClick: (e) => n && n(!1),
@@ -26377,12 +26378,12 @@ var ch = {
26377
26378
  "action-row": Y(({ disabled: n, selectDate: r }) => [z("div", ph, [t.$slots["action-row"] ? (U(), R("div", mh, [K(t.$slots, "action-row", {
26378
26379
  disabled: n,
26379
26380
  selectDate: r,
26380
- clearDate: ne,
26381
- isDisabledBtn: y.value,
26381
+ clearDate: ie,
26382
+ isDisabledBtn: b.value,
26382
26383
  modelValue: a.value,
26383
26384
  clearable: e.clearable
26384
26385
  })])) : L("", !0), z("div", hh, [B(J(jt), {
26385
- disabled: y.value || n,
26386
+ disabled: b.value || n,
26386
26387
  mode: "neutral",
26387
26388
  onClick: r
26388
26389
  }, {
@@ -26391,7 +26392,7 @@ var ch = {
26391
26392
  }, 8, ["disabled", "onClick"]), a.value.length && e.clearable ? (U(), I(J(jt), {
26392
26393
  key: 0,
26393
26394
  type: "secondary",
26394
- onClick: ne
26395
+ onClick: ie
26395
26396
  }, {
26396
26397
  default: Y(() => [je(q(J(T).uiDatePicker.translations.clearButton), 1)]),
26397
26398
  _: 1
@@ -26401,6 +26402,7 @@ var ch = {
26401
26402
  "locale",
26402
26403
  "model-value",
26403
26404
  "enable-time-picker",
26405
+ "time-config",
26404
26406
  "time-picker-inline",
26405
26407
  "range",
26406
26408
  "multi-calendars",
@@ -27450,16 +27452,39 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
27450
27452
  class: H([n.value])
27451
27453
  }, null, 8, ["class"])]));
27452
27454
  }
27453
- }), Pg = { class: "ui-table-root" }, Fg = { class: "ui-table__wrapper" }, Ig = { class: "ui-table__header" }, Lg = ["colspan"], Rg = { key: 1 }, zg = { key: 1 }, Bg = ["colspan"], Vg = { key: 2 }, Hg = ["colspan"], Ug = { class: "ui-table__empty" }, Wg = ["onClick"], Gg = {
27455
+ }), Pg = { class: "empty-content" }, Fg = { class: "empty-content__title" }, Ig = { class: "empty-content__description" }, Lg = /* @__PURE__ */ V({
27456
+ __name: "TableEmptyState",
27457
+ setup(e) {
27458
+ return (e, t) => (U(), R("div", Pg, [
27459
+ t[0] ||= z("svg", {
27460
+ class: "empty-content__icon",
27461
+ viewBox: "0 0 24 24",
27462
+ fill: "none",
27463
+ xmlns: "http://www.w3.org/2000/svg"
27464
+ }, [z("path", {
27465
+ d: "M9 12H15M9 16H15M17 21H7C5.89543 21 5 20.1046 5 19V5C5 3.89543 5.89543 3 7 3H12.5858C12.851 3 13.1054 3.10536 13.2929 3.29289L18.7071 8.70711C18.8946 8.89464 19 9.149 19 9.41421V19C19 20.1046 18.1046 21 17 21Z",
27466
+ stroke: "currentColor",
27467
+ "stroke-width": "2",
27468
+ "stroke-linecap": "round",
27469
+ "stroke-linejoin": "round"
27470
+ })], -1),
27471
+ z("span", Fg, q(J(T).uiTable.translations.noDataTitle), 1),
27472
+ z("p", Ig, q(J(T).uiTable.translations.noDataDescription), 1)
27473
+ ]));
27474
+ }
27475
+ }), Rg = { class: "ui-table-root" }, zg = { class: "ui-table__wrapper" }, Bg = { class: "ui-table__header" }, Vg = ["colspan"], Hg = { key: 1 }, Ug = { key: 1 }, Wg = ["colspan"], Gg = { key: 2 }, Kg = ["colspan"], qg = {
27476
+ key: 1,
27477
+ class: "ui-table__empty"
27478
+ }, Jg = ["onClick"], Yg = {
27454
27479
  key: 0,
27455
27480
  class: "ui-table__row-animation"
27456
- }, Kg = {
27481
+ }, Xg = {
27457
27482
  key: 0,
27458
27483
  class: "ui-table__expande-row"
27459
- }, qg = ["colspan"], Jg = {
27484
+ }, Zg = ["colspan"], Qg = {
27460
27485
  key: 1,
27461
27486
  class: "ui-table__footer-row"
27462
- }, Yg = ["colspan"], Xg = /* @__PURE__ */ V({
27487
+ }, $g = ["colspan"], e_ = /* @__PURE__ */ V({
27463
27488
  __name: "UiTable",
27464
27489
  props: /* @__PURE__ */ Le({
27465
27490
  data: { default: () => [] },
@@ -27479,6 +27504,7 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
27479
27504
  type: [Boolean, String],
27480
27505
  default: "—"
27481
27506
  },
27507
+ emptyState: { type: Boolean },
27482
27508
  highlightRow: {},
27483
27509
  isShowPerPageSelect: {
27484
27510
  type: Boolean,
@@ -27534,13 +27560,13 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
27534
27560
  }
27535
27561
  return ft(() => n.loading, (e, t) => {
27536
27562
  t && !e && f.value && (f.value = !1);
27537
- }), (t, r) => (U(), R("div", Pg, [z("div", Fg, [z("table", {
27563
+ }), (t, r) => (U(), R("div", Rg, [z("div", zg, [z("table", {
27538
27564
  cellpadding: 0,
27539
27565
  cellspacing: 0,
27540
27566
  style: Ve({ tableLayout: e.tableLayout }),
27541
27567
  class: "ui-table"
27542
27568
  }, [
27543
- z("thead", null, [z("tr", Ig, [t.$slots.header ? K(t.$slots, "header", {
27569
+ z("thead", null, [z("tr", Bg, [t.$slots.header ? K(t.$slots, "header", {
27544
27570
  key: 0,
27545
27571
  headers: e.headers
27546
27572
  }) : (U(!0), R(P, { key: 1 }, G(n.headers, (e) => (U(), R(P, { key: e.name }, [e.isShow === void 0 || e.isShow ? (U(), R("th", {
@@ -27584,9 +27610,9 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
27584
27610
  "title",
27585
27611
  "onSort",
27586
27612
  "model-value"
27587
- ])) : (U(), R("span", Rg, q(e.label), 1)),
27613
+ ])) : (U(), R("span", Hg, q(e.label), 1)),
27588
27614
  K(t.$slots, `header-cell-${e.name}-append`)
27589
- ], 64)) : L("", !0)], 2)], 14, Lg)) : L("", !0)], 64))), 128))])]),
27615
+ ], 64)) : L("", !0)], 2)], 14, Vg)) : L("", !0)], 64))), 128))])]),
27590
27616
  z("tbody", null, [e.showSummary && J(u).length && e.summaryPosition === "top" ? (U(), I(xe, {
27591
27617
  key: 0,
27592
27618
  "empty-value": e.emptyValue,
@@ -27601,10 +27627,10 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
27601
27627
  "loading",
27602
27628
  "prepared-data",
27603
27629
  "headers"
27604
- ])) : L("", !0), e.loading && !J(u).length ? (U(), R("tr", zg, [z("td", {
27630
+ ])) : L("", !0), e.loading && !J(u).length ? (U(), R("tr", Ug, [z("td", {
27605
27631
  colspan: e.headers.length,
27606
27632
  class: "ui-table__skeleton-container"
27607
- }, [B(J(ye), { rows: e.skeletonRows }, null, 8, ["rows"])], 8, Bg)])) : J(u).length ? (U(!0), R(P, { key: 3 }, G(J(u), (s, c) => (U(), R(P, { key: s.id }, [z("tr", {
27633
+ }, [B(J(ye), { rows: e.skeletonRows }, null, 8, ["rows"])], 8, Wg)])) : J(u).length ? (U(!0), R(P, { key: 3 }, G(J(u), (s, c) => (U(), R(P, { key: s.id }, [z("tr", {
27608
27634
  onClick: (e) => t.$emit("rowClick", s.row),
27609
27635
  class: H(["ui-table__body-row", [
27610
27636
  S(s.row),
@@ -27629,7 +27655,7 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
27629
27655
  n.columnClass && n.columnClass(s.row, n.name)
27630
27656
  ])
27631
27657
  }, [B(Oe, { name: "fade" }, {
27632
- default: Y(() => [e.loading ? (U(), R("div", Gg)) : L("", !0)]),
27658
+ default: Y(() => [e.loading ? (U(), R("div", Yg)) : L("", !0)]),
27633
27659
  _: 1
27634
27660
  }), z("div", { class: H(["ui-table__body-cell-inner", [n.align]]) }, [
27635
27661
  (typeof n.expande == "function" ? n.expande(s.row) : n.expande) ? (U(), I(Mt, {
@@ -27667,10 +27693,10 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
27667
27693
  row: s.row,
27668
27694
  index: c
27669
27695
  }) : (U(), R(P, { key: 1 }, [je(q(J(be)(s.row, n.name, e.emptyValue)), 1)], 64))], 64)) : L("", !0)
27670
- ], 2)], 2)) : L("", !0)], 64))), 128))], 10, Wg), (e.expandeKey ? o.value.includes(s.row[e.expandeKey]) : J(y)[s.id]) ? (U(), R("tr", Kg, [z("td", { colspan: e.headers.length }, [K(t.$slots, "expande", {
27696
+ ], 2)], 2)) : L("", !0)], 64))), 128))], 10, Jg), (e.expandeKey ? o.value.includes(s.row[e.expandeKey]) : J(y)[s.id]) ? (U(), R("tr", Xg, [z("td", { colspan: e.headers.length }, [K(t.$slots, "expande", {
27671
27697
  row: s.row,
27672
27698
  index: c
27673
- })], 8, qg)])) : L("", !0)], 64))), 128)) : (U(), R("tr", Vg, [z("td", { colspan: e.headers.length }, [z("div", Ug, q(J(T).uiTable.translations.noData), 1)], 8, Hg)]))]),
27699
+ })], 8, Zg)])) : L("", !0)], 64))), 128)) : (U(), R("tr", Gg, [z("td", { colspan: e.headers.length }, [e.emptyState ? (U(), I(Lg, { key: 0 })) : (U(), R("div", qg, q(J(T).uiTable.translations.noData), 1))], 8, Kg)]))]),
27674
27700
  z("tfoot", null, [e.showSummary && J(u).length && e.summaryPosition === "bottom" ? (U(), I(xe, {
27675
27701
  key: 0,
27676
27702
  "empty-value": e.emptyValue,
@@ -27685,10 +27711,10 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
27685
27711
  "loading",
27686
27712
  "prepared-data",
27687
27713
  "headers"
27688
- ])) : L("", !0), t.$slots.footer ? (U(), R("tr", Jg, [z("td", {
27714
+ ])) : L("", !0), t.$slots.footer ? (U(), R("tr", Qg, [z("td", {
27689
27715
  colspan: e.headers.length,
27690
27716
  class: "ui-table__footer-cell"
27691
- }, [K(t.$slots, "footer")], 8, Yg)])) : L("", !0)])
27717
+ }, [K(t.$slots, "footer")], 8, $g)])) : L("", !0)])
27692
27718
  ], 4)]), e.meta ? (U(), I(J(yg), {
27693
27719
  key: 0,
27694
27720
  class: "ui-table__pagination",
@@ -27713,10 +27739,10 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
27713
27739
  "keyPerPagPagination"
27714
27740
  ])) : L("", !0)]));
27715
27741
  }
27716
- }), Zg = { class: "ui-notification__top" }, Qg = ["innerHTML"], $g = {
27742
+ }), t_ = { class: "ui-notification__top" }, n_ = ["innerHTML"], r_ = {
27717
27743
  key: 1,
27718
27744
  class: "ui-notification__text"
27719
- }, e_ = /* @__PURE__ */ le(/* @__PURE__ */ V({
27745
+ }, i_ = /* @__PURE__ */ le(/* @__PURE__ */ V({
27720
27746
  __name: "UiNotification",
27721
27747
  props: {
27722
27748
  id: {},
@@ -27760,7 +27786,7 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
27760
27786
  style: Ve(s.value),
27761
27787
  onMouseenter: d,
27762
27788
  onMouseleave: f
27763
- }, [z("div", Zg, [e.type === "error" ? (U(), I(J(r), {
27789
+ }, [z("div", t_, [e.type === "error" ? (U(), I(J(r), {
27764
27790
  key: 0,
27765
27791
  name: "block",
27766
27792
  type: "400",
@@ -27779,18 +27805,18 @@ var Vh = { render: Bh }, Hh = { class: "ui-languages" }, Uh = ["disabled"], Wh =
27779
27805
  key: 0,
27780
27806
  innerHTML: e.message,
27781
27807
  class: "ui-notification__text"
27782
- }, null, 8, Qg)) : (U(), R("div", $g, q(e.message), 1))], 36), [[dt, a.value]])]),
27808
+ }, null, 8, n_)) : (U(), R("div", r_, q(e.message), 1))], 36), [[dt, a.value]])]),
27783
27809
  _: 1
27784
27810
  }));
27785
27811
  }
27786
- }), [["__scopeId", "data-v-2bd67e86"]]), t_ = 16, n_ = [];
27787
- function r_(e, t, n, r) {
27788
- let i = t_;
27789
- for (let e of n_) i += e.el.offsetHeight + t_;
27790
- let a = document.createElement("div"), o = Ne(e_, {
27812
+ }), [["__scopeId", "data-v-2bd67e86"]]), a_ = 16, o_ = [];
27813
+ function s_(e, t, n, r) {
27814
+ let i = a_;
27815
+ for (let e of o_) i += e.el.offsetHeight + a_;
27816
+ let a = document.createElement("div"), o = Ne(i_, {
27791
27817
  id: fe(),
27792
27818
  top: i,
27793
- onDeleteFromList: i_,
27819
+ onDeleteFromList: c_,
27794
27820
  onRemove: () => {
27795
27821
  Xe(null, a);
27796
27822
  },
@@ -27799,13 +27825,13 @@ function r_(e, t, n, r) {
27799
27825
  isHTMLMessage: n,
27800
27826
  title: r
27801
27827
  });
27802
- Xe(o, a), n_.push(o), document.body.appendChild(a.firstElementChild);
27828
+ Xe(o, a), o_.push(o), document.body.appendChild(a.firstElementChild);
27803
27829
  }
27804
- function i_(e) {
27805
- let t = t_;
27806
- n_ = n_.filter((t) => e !== t.component.props.id), n_.forEach((e) => {
27807
- e.component.props.top = t, t += e.el.offsetHeight + t_;
27830
+ function c_(e) {
27831
+ let t = a_;
27832
+ o_ = o_.filter((t) => e !== t.component.props.id), o_.forEach((e) => {
27833
+ e.component.props.top = t, t += e.el.offsetHeight + a_;
27808
27834
  });
27809
27835
  }
27810
27836
  //#endregion
27811
- export { In as A, qr as C, dr as D, vr as E, Lt as F, Mt as I, jt as L, Gt as M, Ht as N, er as O, Vt as P, Dt as R, Yr as S, Cr as T, Mh as _, Ng as a, gh as b, Sg as c, cg as d, ig as f, Ih as g, Rh as h, Xg as i, en as j, Un as k, yg as l, eg as m, r_ as n, Mg as o, rg as p, e_ as r, Og as s, tr as t, lg as u, Eh as v, Er as w, $r as x, bh as y, Ct as z };
27837
+ export { Un as A, Ct as B, Yr as C, vr as D, Cr as E, Vt as F, Lt as I, Mt as L, en as M, Gt as N, dr as O, Ht as P, jt as R, $r as S, Er as T, Ih as _, Lg as a, bh as b, Og as c, lg as d, cg as f, Rh as g, eg as h, e_ as i, In as j, er as k, Sg as l, rg as m, s_ as n, Ng as o, ig as p, i_ as r, Mg as s, tr as t, yg as u, Mh as v, qr as w, gh as x, Eh as y, Dt as z };
@@ -1,2 +1,2 @@
1
- import { z as e } from "../../assets/lib.r7YREy6k.js";
1
+ import { B as e } from "../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { R as e } from "../../assets/lib.r7YREy6k.js";
1
+ import { z as e } from "../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { L as e } from "../../assets/lib.r7YREy6k.js";
1
+ import { R as e } from "../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { D as e } from "../../assets/lib.r7YREy6k.js";
1
+ import { O as e } from "../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { P as e } from "../../assets/lib.r7YREy6k.js";
1
+ import { F as e } from "../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { O as e } from "../../assets/lib.r7YREy6k.js";
1
+ import { k as e } from "../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { E as e } from "../../assets/lib.r7YREy6k.js";
1
+ import { D as e } from "../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { T as e } from "../../assets/lib.r7YREy6k.js";
1
+ import { E as e } from "../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { w as e } from "../../assets/lib.r7YREy6k.js";
1
+ import { T as e } from "../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { b as e } from "../../assets/lib.r7YREy6k.js";
1
+ import { x as e } from "../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { C as e } from "../../../assets/lib.r7YREy6k.js";
1
+ import { w as e } from "../../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { S as e } from "../../../assets/lib.r7YREy6k.js";
1
+ import { C as e } from "../../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { x as e } from "../../../assets/lib.r7YREy6k.js";
1
+ import { S as e } from "../../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { _ as e } from "../../assets/lib.r7YREy6k.js";
1
+ import { v as e } from "../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { y as e } from "../../assets/lib.r7YREy6k.js";
1
+ import { b as e } from "../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { v as e } from "../../assets/lib.r7YREy6k.js";
1
+ import { y as e } from "../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { I as e } from "../../assets/lib.r7YREy6k.js";
1
+ import { L as e } from "../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { g as e } from "../../assets/lib.r7YREy6k.js";
1
+ import { _ as e } from "../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { m as e } from "../../assets/lib.r7YREy6k.js";
1
+ import { h as e } from "../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { h as e } from "../../../assets/lib.r7YREy6k.js";
1
+ import { g as e } from "../../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { f as e } from "../../assets/lib.r7YREy6k.js";
1
+ import { p as e } from "../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { p as e } from "../../assets/lib.r7YREy6k.js";
1
+ import { m as e } from "../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { N as e } from "../../assets/lib.r7YREy6k.js";
1
+ import { P as e } from "../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { d as e } from "../../assets/lib.r7YREy6k.js";
1
+ import { f as e } from "../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { u as e } from "../../assets/lib.r7YREy6k.js";
1
+ import { d as e } from "../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { l as e } from "../../assets/lib.r7YREy6k.js";
1
+ import { u as e } from "../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { s as e } from "../../assets/lib.r7YREy6k.js";
1
+ import { c as e } from "../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { c as e } from "../../../assets/lib.r7YREy6k.js";
1
+ import { l as e } from "../../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { k as e } from "../../assets/lib.r7YREy6k.js";
1
+ import { A as e } from "../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { M as e } from "../../../assets/lib.r7YREy6k.js";
1
+ import { N as e } from "../../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { j as e } from "../../../assets/lib.r7YREy6k.js";
1
+ import { M as e } from "../../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { A as e } from "../../../assets/lib.r7YREy6k.js";
1
+ import { j as e } from "../../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { o as e } from "../../assets/lib.r7YREy6k.js";
1
+ import { s as e } from "../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { i as e } from "../../assets/lib.r7YREy6k.js";
1
+ import { i as e } from "../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };
@@ -0,0 +1,2 @@
1
+ import { a as e } from "../../../assets/lib.CVtXht_A.js";
2
+ export { e as default };
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
2
+ export default _default;
@@ -1,2 +1,2 @@
1
- import { a as e } from "../../../assets/lib.r7YREy6k.js";
1
+ import { o as e } from "../../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };
@@ -51,6 +51,7 @@ export interface UiTableProps<T> {
51
51
  showSummary?: boolean;
52
52
  meta?: UItableMeta | null;
53
53
  emptyValue?: boolean | string;
54
+ emptyState?: boolean;
54
55
  highlightRow?: "odd" | "even";
55
56
  isShowPerPageSelect?: boolean;
56
57
  summaryPosition?: SummaryPosition;
@@ -1,2 +1,2 @@
1
- import { F as e } from "../../assets/lib.r7YREy6k.js";
1
+ import { I as e } from "../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { r as e } from "../../assets/lib.r7YREy6k.js";
1
+ import { r as e } from "../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { n as e } from "../../assets/lib.r7YREy6k.js";
1
+ import { n as e } from "../../assets/lib.CVtXht_A.js";
2
2
  export { e as default };