@amirjalili1374/ui-kit 1.3.29 → 1.3.30

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/ui-kit.es.js CHANGED
@@ -3886,7 +3886,7 @@ const VRow = genericComponent()({
3886
3886
  });
3887
3887
  const VSpacer = createSimpleFunctional("v-spacer", "div", "VSpacer");
3888
3888
  const _hoisted_1$d = { class: "text-h3" };
3889
- const _hoisted_2$6 = { class: "d-flex align-center gap-2" };
3889
+ const _hoisted_2$7 = { class: "d-flex align-center gap-2" };
3890
3890
  const _hoisted_3$5 = { class: "d-flex align-center gap-2" };
3891
3891
  const _sfc_main$l = /* @__PURE__ */ defineComponent$1({
3892
3892
  __name: "BaseBreadcrumb",
@@ -3932,7 +3932,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent$1({
3932
3932
  class: "text-h5 justify-md-end pa-1"
3933
3933
  }, {
3934
3934
  divider: withCtx(() => [
3935
- createElementVNode("div", _hoisted_2$6, [
3935
+ createElementVNode("div", _hoisted_2$7, [
3936
3936
  createVNode(unref(IconArrowBadgeLeft), { stroke: "{2}" })
3937
3937
  ])
3938
3938
  ]),
@@ -12592,7 +12592,7 @@ const VTooltip = genericComponent()({
12592
12592
  }
12593
12593
  });
12594
12594
  const _hoisted_1$b = { class: "ca-item-title" };
12595
- const _hoisted_2$5 = { class: "ca-item-subtitle" };
12595
+ const _hoisted_2$6 = { class: "ca-item-subtitle" };
12596
12596
  const _hoisted_3$4 = { class: "ca-group-tooltip" };
12597
12597
  const _hoisted_4$2 = { class: "ca-group-tooltip-header" };
12598
12598
  const _hoisted_5$2 = { class: "ca-group-count" };
@@ -12735,7 +12735,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent$1({
12735
12735
  __props.displayStyle === "detailed" && resolveSubtitle(item.raw ?? item) ? {
12736
12736
  name: "subtitle",
12737
12737
  fn: withCtx(() => [
12738
- createElementVNode("div", _hoisted_2$5, toDisplayString(resolveSubtitle(item.raw ?? item)), 1)
12738
+ createElementVNode("div", _hoisted_2$6, toDisplayString(resolveSubtitle(item.raw ?? item)), 1)
12739
12739
  ]),
12740
12740
  key: "0"
12741
12741
  } : void 0
@@ -16921,7 +16921,7 @@ const _hoisted_1$9 = {
16921
16921
  key: 0,
16922
16922
  class: "page-title"
16923
16923
  };
16924
- const _hoisted_2$4 = { class: "title-text" };
16924
+ const _hoisted_2$5 = { class: "title-text" };
16925
16925
  const _hoisted_3$3 = { class: "action-buttons" };
16926
16926
  const _hoisted_4$1 = {
16927
16927
  key: 3,
@@ -17885,7 +17885,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
17885
17885
  var _a;
17886
17886
  return openBlock(), createElementBlock(Fragment, null, [
17887
17887
  props.title ? (openBlock(), createElementBlock("div", _hoisted_1$9, [
17888
- createElementVNode("h3", _hoisted_2$4, toDisplayString(props.title), 1)
17888
+ createElementVNode("h3", _hoisted_2$5, toDisplayString(props.title), 1)
17889
17889
  ])) : createCommentVNode("", true),
17890
17890
  createElementVNode("div", _hoisted_3$3, [
17891
17891
  ((_a = props.actions) == null ? void 0 : _a.includes("create")) ? (openBlock(), createBlock(VBtn, {
@@ -19347,7 +19347,7 @@ const _hoisted_1$6 = {
19347
19347
  key: 0,
19348
19348
  class: "pdf-viewer-header"
19349
19349
  };
19350
- const _hoisted_2$3 = { class: "pdf-viewer-title" };
19350
+ const _hoisted_2$4 = { class: "pdf-viewer-title" };
19351
19351
  const _hoisted_3$2 = { class: "pdf-viewer-controls" };
19352
19352
  const _hoisted_4 = {
19353
19353
  key: 0,
@@ -19595,7 +19595,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent$1({
19595
19595
  class: normalizeClass(["pdf-viewer-container", { "fullscreen": isFullscreen.value }])
19596
19596
  }, [
19597
19597
  __props.showHeader ? (openBlock(), createElementBlock("div", _hoisted_1$6, [
19598
- createElementVNode("div", _hoisted_2$3, [
19598
+ createElementVNode("div", _hoisted_2$4, [
19599
19599
  createElementVNode("h3", null, toDisplayString(__props.title || "PDF Viewer"), 1)
19600
19600
  ]),
19601
19601
  createElementVNode("div", _hoisted_3$2, [
@@ -19991,7 +19991,7 @@ const _hoisted_1$4 = {
19991
19991
  class: "app-stepper-root",
19992
19992
  dir: "rtl"
19993
19993
  };
19994
- const _hoisted_2$2 = { class: "app-stepper-header-card" };
19994
+ const _hoisted_2$3 = { class: "app-stepper-header-card" };
19995
19995
  const _hoisted_3$1 = { class: "app-stepper-title" };
19996
19996
  const _sfc_main$8 = /* @__PURE__ */ defineComponent$1({
19997
19997
  __name: "AppStepper",
@@ -20046,7 +20046,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent$1({
20046
20046
  __expose({ currentStepComponentRef });
20047
20047
  return (_ctx, _cache) => {
20048
20048
  return openBlock(), createElementBlock("div", _hoisted_1$4, [
20049
- createElementVNode("div", _hoisted_2$2, [
20049
+ createElementVNode("div", _hoisted_2$3, [
20050
20050
  createElementVNode("div", {
20051
20051
  ref_key: "stepperHeaderRef",
20052
20052
  ref: stepperHeaderRef,
@@ -36918,7 +36918,7 @@ const _hoisted_1$3 = {
36918
36918
  key: 0,
36919
36919
  class: "loading-overlay"
36920
36920
  };
36921
- const _hoisted_2$1 = { class: "loading-wrapper" };
36921
+ const _hoisted_2$2 = { class: "loading-wrapper" };
36922
36922
  const _hoisted_3 = { key: 0 };
36923
36923
  const _sfc_main$6 = /* @__PURE__ */ defineComponent$1({
36924
36924
  __name: "Loading",
@@ -36928,7 +36928,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent$1({
36928
36928
  return openBlock(), createBlock(Transition, { name: "fade" }, {
36929
36929
  default: withCtx(() => [
36930
36930
  unref(customizer).loading ? (openBlock(), createElementBlock("div", _hoisted_1$3, [
36931
- createElementVNode("div", _hoisted_2$1, [
36931
+ createElementVNode("div", _hoisted_2$2, [
36932
36932
  createVNode(unref(Vue3Lottie), {
36933
36933
  "animation-link": "/persian.json",
36934
36934
  loop: true,
@@ -37644,7 +37644,7 @@ const VNavigationDrawer = genericComponent()({
37644
37644
  }
37645
37645
  });
37646
37646
  const _hoisted_1$2 = { class: "pa-5" };
37647
- const _hoisted_2 = {
37647
+ const _hoisted_2$1 = {
37648
37648
  key: 0,
37649
37649
  class: "pa-4 text-center"
37650
37650
  };
@@ -37731,7 +37731,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent$1({
37731
37731
  ]),
37732
37732
  _: 1
37733
37733
  }),
37734
- __props.sidebarDrawer ? (openBlock(), createElementBlock("div", _hoisted_2, [
37734
+ __props.sidebarDrawer ? (openBlock(), createElementBlock("div", _hoisted_2$1, [
37735
37735
  createVNode(VChip, {
37736
37736
  color: "inputBorder",
37737
37737
  size: "small"
@@ -38137,6 +38137,7 @@ const _hoisted_1$1 = {
38137
38137
  key: 1,
38138
38138
  class: "header-menu-container"
38139
38139
  };
38140
+ const _hoisted_2 = { class: "mr-2" };
38140
38141
  const _sfc_main$1 = /* @__PURE__ */ defineComponent$1({
38141
38142
  __name: "AppHeader",
38142
38143
  props: {
@@ -38244,7 +38245,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent$1({
38244
38245
  __props.menuOrientation === "horizontal" ? (openBlock(), createElementBlock("div", _hoisted_1$1, [
38245
38246
  (openBlock(true), createElementBlock(Fragment, null, renderList(computedHeaderMenu.value, (item, i) => {
38246
38247
  return openBlock(), createElementBlock(Fragment, { key: i }, [
38247
- !item.children ? (openBlock(), createBlock(VBtn, {
38248
+ !item.children && !item.header && !item.divider ? (openBlock(), createBlock(VBtn, {
38248
38249
  key: 0,
38249
38250
  to: item.type === "external" ? "" : item.to,
38250
38251
  href: item.type === "external" ? item.to : "",
@@ -38260,28 +38261,42 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent$1({
38260
38261
  class: "mr-2",
38261
38262
  size: "18"
38262
38263
  })) : createCommentVNode("", true),
38263
- createElementVNode("span", null, toDisplayString(item.title), 1)
38264
+ createElementVNode("span", null, toDisplayString(item.title), 1),
38265
+ item.chip ? (openBlock(), createBlock(VChip, {
38266
+ key: 1,
38267
+ color: item.chipColor,
38268
+ size: item.chipIcon ? "small" : "default",
38269
+ variant: item.chipVariant,
38270
+ "prepend-icon": item.chipIcon,
38271
+ class: "ml-2"
38272
+ }, {
38273
+ default: withCtx(() => [
38274
+ createTextVNode(toDisplayString(item.chip), 1)
38275
+ ]),
38276
+ _: 2
38277
+ }, 1032, ["color", "size", "variant", "prepend-icon"])) : createCommentVNode("", true)
38264
38278
  ]),
38265
38279
  _: 2
38266
- }, 1032, ["to", "href", "target", "disabled"])) : (openBlock(), createBlock(VMenu, {
38280
+ }, 1032, ["to", "href", "target", "disabled"])) : item.children && item.children.length > 0 ? (openBlock(), createBlock(VMenu, {
38267
38281
  key: 1,
38268
38282
  "offset-y": ""
38269
38283
  }, {
38270
38284
  activator: withCtx(({ props: mprops }) => [
38271
38285
  createVNode(VBtn, mergeProps({ ref_for: true }, mprops, {
38272
38286
  variant: "text",
38287
+ disabled: item.disabled,
38273
38288
  class: "header-menu-btn",
38274
38289
  color: "primary mr-3"
38275
38290
  }), {
38276
38291
  default: withCtx(() => [
38277
38292
  item.icon ? (openBlock(), createBlock(resolveDynamicComponent(item.icon), {
38278
38293
  key: 0,
38279
- size: "18",
38280
- class: "mr-2"
38294
+ class: "mr-2",
38295
+ size: "18"
38281
38296
  })) : createCommentVNode("", true),
38282
- createElementVNode("span", null, toDisplayString(item.title), 1),
38297
+ createElementVNode("span", _hoisted_2, toDisplayString(item.title), 1),
38283
38298
  createVNode(VIcon, {
38284
- size: "18",
38299
+ size: "20",
38285
38300
  class: "ml-2"
38286
38301
  }, {
38287
38302
  default: withCtx(() => [..._cache[6] || (_cache[6] = [
@@ -38291,18 +38306,19 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent$1({
38291
38306
  })
38292
38307
  ]),
38293
38308
  _: 2
38294
- }, 1040)
38309
+ }, 1040, ["disabled"])
38295
38310
  ]),
38296
38311
  default: withCtx(() => [
38297
38312
  createVNode(VList, null, {
38298
38313
  default: withCtx(() => [
38299
- (openBlock(true), createElementBlock(Fragment, null, renderList(item.children, (child, c) => {
38314
+ (openBlock(true), createElementBlock(Fragment, null, renderList(item.children, (child, childIndex) => {
38300
38315
  return openBlock(), createBlock(VListItem, {
38301
- key: c,
38316
+ key: childIndex,
38302
38317
  to: child.type === "external" ? "" : child.to,
38303
38318
  href: child.type === "external" ? child.to : "",
38304
- target: child.type === "external" ? "_blank" : ""
38305
- }, {
38319
+ target: child.type === "external" ? "_blank" : "",
38320
+ disabled: child.disabled
38321
+ }, createSlots({
38306
38322
  default: withCtx(() => [
38307
38323
  createVNode(VListItemTitle, null, {
38308
38324
  default: withCtx(() => [
@@ -38312,14 +38328,26 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent$1({
38312
38328
  }, 1024)
38313
38329
  ]),
38314
38330
  _: 2
38315
- }, 1032, ["to", "href", "target"]);
38331
+ }, [
38332
+ child.icon ? {
38333
+ name: "prepend",
38334
+ fn: withCtx(() => [
38335
+ (openBlock(), createBlock(resolveDynamicComponent(child.icon), { size: "18" }))
38336
+ ]),
38337
+ key: "0"
38338
+ } : void 0
38339
+ ]), 1032, ["to", "href", "target", "disabled"]);
38316
38340
  }), 128))
38317
38341
  ]),
38318
38342
  _: 2
38319
38343
  }, 1024)
38320
38344
  ]),
38321
38345
  _: 2
38322
- }, 1024))
38346
+ }, 1024)) : item.divider ? (openBlock(), createBlock(VDivider, {
38347
+ key: 2,
38348
+ vertical: "",
38349
+ class: "mx-2"
38350
+ })) : createCommentVNode("", true)
38323
38351
  ], 64);
38324
38352
  }), 128))
38325
38353
  ])) : createCommentVNode("", true),
@@ -38368,7 +38396,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent$1({
38368
38396
  };
38369
38397
  }
38370
38398
  });
38371
- const AppHeader = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["__scopeId", "data-v-4c30d18d"]]);
38399
+ const AppHeader = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["__scopeId", "data-v-99b62c25"]]);
38372
38400
  const makeVAppProps = propsFactory({
38373
38401
  ...makeComponentProps(),
38374
38402
  ...omit(makeLayoutProps(), ["fullHeight"]),