@amirjalili1374/ui-kit 1.4.0 → 1.4.1
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/layout/AppHeader.vue.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/ui-kit.cjs.js +1 -1
- package/dist/ui-kit.cjs.js.map +1 -1
- package/dist/ui-kit.es.js +174 -171
- package/dist/ui-kit.es.js.map +1 -1
- package/package.json +1 -1
package/dist/ui-kit.es.js
CHANGED
|
@@ -3891,7 +3891,7 @@ const VRow = genericComponent()({
|
|
|
3891
3891
|
const VSpacer = createSimpleFunctional("v-spacer", "div", "VSpacer");
|
|
3892
3892
|
const _hoisted_1$d = { class: "text-h3" };
|
|
3893
3893
|
const _hoisted_2$7 = { class: "d-flex align-center gap-2" };
|
|
3894
|
-
const _hoisted_3$
|
|
3894
|
+
const _hoisted_3$6 = { class: "d-flex align-center gap-2" };
|
|
3895
3895
|
const _sfc_main$l = /* @__PURE__ */ defineComponent$1({
|
|
3896
3896
|
__name: "BaseBreadcrumb",
|
|
3897
3897
|
props: {
|
|
@@ -3945,7 +3945,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent$1({
|
|
|
3945
3945
|
size: "16",
|
|
3946
3946
|
class: "text-secondary ml-2"
|
|
3947
3947
|
}),
|
|
3948
|
-
createElementVNode("div", _hoisted_3$
|
|
3948
|
+
createElementVNode("div", _hoisted_3$6, [
|
|
3949
3949
|
createVNode(unref(IconArrowBadgeLeft), { stroke: "{2}" })
|
|
3950
3950
|
])
|
|
3951
3951
|
]),
|
|
@@ -12597,7 +12597,7 @@ const VTooltip = genericComponent()({
|
|
|
12597
12597
|
});
|
|
12598
12598
|
const _hoisted_1$b = { class: "ca-item-title" };
|
|
12599
12599
|
const _hoisted_2$6 = { class: "ca-item-subtitle" };
|
|
12600
|
-
const _hoisted_3$
|
|
12600
|
+
const _hoisted_3$5 = { class: "ca-group-tooltip" };
|
|
12601
12601
|
const _hoisted_4$2 = { class: "ca-group-tooltip-header" };
|
|
12602
12602
|
const _hoisted_5$2 = { class: "ca-group-count" };
|
|
12603
12603
|
const _hoisted_6$2 = { class: "ca-group-members" };
|
|
@@ -12750,7 +12750,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent$1({
|
|
|
12750
12750
|
item: item.raw ?? item,
|
|
12751
12751
|
groupMembers: getGroupMembers(item.raw ?? item)
|
|
12752
12752
|
}, () => [
|
|
12753
|
-
createElementVNode("div", _hoisted_3$
|
|
12753
|
+
createElementVNode("div", _hoisted_3$5, [
|
|
12754
12754
|
createElementVNode("div", _hoisted_4$2, [
|
|
12755
12755
|
createElementVNode("strong", null, toDisplayString(resolveTitle(item.raw ?? item)), 1),
|
|
12756
12756
|
createElementVNode("span", _hoisted_5$2, toDisplayString(getGroupMembers(item.raw ?? item).length) + " آیتم", 1)
|
|
@@ -16926,7 +16926,7 @@ const _hoisted_1$9 = {
|
|
|
16926
16926
|
class: "page-title"
|
|
16927
16927
|
};
|
|
16928
16928
|
const _hoisted_2$5 = { class: "title-text" };
|
|
16929
|
-
const _hoisted_3$
|
|
16929
|
+
const _hoisted_3$4 = { class: "action-buttons" };
|
|
16930
16930
|
const _hoisted_4$1 = {
|
|
16931
16931
|
key: 3,
|
|
16932
16932
|
class: "selection-actions"
|
|
@@ -17891,7 +17891,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
17891
17891
|
props.title ? (openBlock(), createElementBlock("div", _hoisted_1$9, [
|
|
17892
17892
|
createElementVNode("h3", _hoisted_2$5, toDisplayString(props.title), 1)
|
|
17893
17893
|
])) : createCommentVNode("", true),
|
|
17894
|
-
createElementVNode("div", _hoisted_3$
|
|
17894
|
+
createElementVNode("div", _hoisted_3$4, [
|
|
17895
17895
|
((_a = props.actions) == null ? void 0 : _a.includes("create")) ? (openBlock(), createBlock(VBtn, {
|
|
17896
17896
|
key: 0,
|
|
17897
17897
|
color: "green",
|
|
@@ -19352,7 +19352,7 @@ const _hoisted_1$6 = {
|
|
|
19352
19352
|
class: "pdf-viewer-header"
|
|
19353
19353
|
};
|
|
19354
19354
|
const _hoisted_2$4 = { class: "pdf-viewer-title" };
|
|
19355
|
-
const _hoisted_3$
|
|
19355
|
+
const _hoisted_3$3 = { class: "pdf-viewer-controls" };
|
|
19356
19356
|
const _hoisted_4 = {
|
|
19357
19357
|
key: 0,
|
|
19358
19358
|
class: "zoom-controls"
|
|
@@ -19602,7 +19602,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent$1({
|
|
|
19602
19602
|
createElementVNode("div", _hoisted_2$4, [
|
|
19603
19603
|
createElementVNode("h3", null, toDisplayString(__props.title || "PDF Viewer"), 1)
|
|
19604
19604
|
]),
|
|
19605
|
-
createElementVNode("div", _hoisted_3$
|
|
19605
|
+
createElementVNode("div", _hoisted_3$3, [
|
|
19606
19606
|
__props.showZoomControls ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
19607
19607
|
createVNode(VBtn, {
|
|
19608
19608
|
size: "small",
|
|
@@ -19996,7 +19996,7 @@ const _hoisted_1$4 = {
|
|
|
19996
19996
|
dir: "rtl"
|
|
19997
19997
|
};
|
|
19998
19998
|
const _hoisted_2$3 = { class: "app-stepper-header-card" };
|
|
19999
|
-
const _hoisted_3$
|
|
19999
|
+
const _hoisted_3$2 = { class: "app-stepper-title" };
|
|
20000
20000
|
const _sfc_main$8 = /* @__PURE__ */ defineComponent$1({
|
|
20001
20001
|
__name: "AppStepper",
|
|
20002
20002
|
props: {
|
|
@@ -20091,7 +20091,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent$1({
|
|
|
20091
20091
|
}))
|
|
20092
20092
|
], true)
|
|
20093
20093
|
], 2),
|
|
20094
|
-
createElementVNode("span", _hoisted_3$
|
|
20094
|
+
createElementVNode("span", _hoisted_3$2, toDisplayString(step.title), 1),
|
|
20095
20095
|
index2 < __props.steps.length - 1 ? (openBlock(), createElementBlock("span", {
|
|
20096
20096
|
key: 0,
|
|
20097
20097
|
class: normalizeClass([
|
|
@@ -36923,7 +36923,7 @@ const _hoisted_1$3 = {
|
|
|
36923
36923
|
class: "loading-overlay"
|
|
36924
36924
|
};
|
|
36925
36925
|
const _hoisted_2$2 = { class: "loading-wrapper" };
|
|
36926
|
-
const _hoisted_3 = { key: 0 };
|
|
36926
|
+
const _hoisted_3$1 = { key: 0 };
|
|
36927
36927
|
const _sfc_main$6 = /* @__PURE__ */ defineComponent$1({
|
|
36928
36928
|
__name: "Loading",
|
|
36929
36929
|
setup(__props) {
|
|
@@ -36941,7 +36941,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent$1({
|
|
|
36941
36941
|
}),
|
|
36942
36942
|
createVNode(Transition, { name: "fade-slide" }, {
|
|
36943
36943
|
default: withCtx(() => [
|
|
36944
|
-
unref(customizer).loading ? (openBlock(), createElementBlock("span", _hoisted_3, "لطفا منتظر بمانید")) : createCommentVNode("", true)
|
|
36944
|
+
unref(customizer).loading ? (openBlock(), createElementBlock("span", _hoisted_3$1, "لطفا منتظر بمانید")) : createCommentVNode("", true)
|
|
36945
36945
|
]),
|
|
36946
36946
|
_: 1
|
|
36947
36947
|
})
|
|
@@ -38137,11 +38137,12 @@ const VAppBar = genericComponent()({
|
|
|
38137
38137
|
return {};
|
|
38138
38138
|
}
|
|
38139
38139
|
});
|
|
38140
|
-
const _hoisted_1$1 = {
|
|
38140
|
+
const _hoisted_1$1 = { class: "header-left-section" };
|
|
38141
|
+
const _hoisted_2 = {
|
|
38141
38142
|
key: 1,
|
|
38142
38143
|
class: "header-menu-container"
|
|
38143
38144
|
};
|
|
38144
|
-
const
|
|
38145
|
+
const _hoisted_3 = { class: "mr-2" };
|
|
38145
38146
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent$1({
|
|
38146
38147
|
__name: "AppHeader",
|
|
38147
38148
|
props: {
|
|
@@ -38188,163 +38189,165 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent$1({
|
|
|
38188
38189
|
class: "app-header topbar"
|
|
38189
38190
|
}, {
|
|
38190
38191
|
default: withCtx(() => [
|
|
38191
|
-
|
|
38192
|
-
|
|
38193
|
-
|
|
38194
|
-
|
|
38195
|
-
|
|
38196
|
-
|
|
38197
|
-
|
|
38198
|
-
|
|
38199
|
-
|
|
38200
|
-
|
|
38201
|
-
|
|
38202
|
-
|
|
38203
|
-
|
|
38204
|
-
|
|
38205
|
-
|
|
38206
|
-
|
|
38207
|
-
|
|
38208
|
-
|
|
38209
|
-
|
|
38210
|
-
|
|
38211
|
-
|
|
38212
|
-
|
|
38213
|
-
|
|
38214
|
-
|
|
38215
|
-
|
|
38216
|
-
|
|
38217
|
-
|
|
38218
|
-
|
|
38219
|
-
|
|
38220
|
-
|
|
38221
|
-
|
|
38222
|
-
|
|
38223
|
-
|
|
38224
|
-
|
|
38225
|
-
|
|
38226
|
-
|
|
38227
|
-
|
|
38228
|
-
|
|
38229
|
-
|
|
38230
|
-
|
|
38231
|
-
|
|
38232
|
-
|
|
38233
|
-
|
|
38234
|
-
|
|
38235
|
-
|
|
38236
|
-
|
|
38237
|
-
|
|
38238
|
-
|
|
38239
|
-
|
|
38240
|
-
|
|
38241
|
-
|
|
38242
|
-
|
|
38243
|
-
|
|
38244
|
-
(openBlock(
|
|
38245
|
-
|
|
38246
|
-
|
|
38247
|
-
|
|
38248
|
-
|
|
38249
|
-
|
|
38250
|
-
|
|
38251
|
-
|
|
38252
|
-
|
|
38253
|
-
|
|
38254
|
-
|
|
38255
|
-
|
|
38256
|
-
|
|
38257
|
-
|
|
38258
|
-
|
|
38259
|
-
|
|
38260
|
-
|
|
38261
|
-
|
|
38262
|
-
|
|
38263
|
-
|
|
38264
|
-
|
|
38265
|
-
|
|
38266
|
-
|
|
38267
|
-
|
|
38268
|
-
|
|
38269
|
-
|
|
38270
|
-
|
|
38271
|
-
|
|
38272
|
-
|
|
38273
|
-
|
|
38274
|
-
|
|
38275
|
-
|
|
38276
|
-
|
|
38277
|
-
|
|
38278
|
-
|
|
38279
|
-
|
|
38280
|
-
|
|
38281
|
-
|
|
38282
|
-
|
|
38283
|
-
|
|
38284
|
-
|
|
38285
|
-
|
|
38286
|
-
|
|
38287
|
-
|
|
38288
|
-
|
|
38289
|
-
|
|
38290
|
-
|
|
38291
|
-
|
|
38292
|
-
|
|
38293
|
-
|
|
38294
|
-
|
|
38295
|
-
|
|
38296
|
-
|
|
38297
|
-
|
|
38298
|
-
|
|
38299
|
-
|
|
38300
|
-
|
|
38301
|
-
|
|
38302
|
-
|
|
38303
|
-
|
|
38304
|
-
|
|
38305
|
-
|
|
38306
|
-
|
|
38307
|
-
|
|
38308
|
-
|
|
38309
|
-
|
|
38310
|
-
|
|
38311
|
-
|
|
38312
|
-
|
|
38313
|
-
|
|
38314
|
-
|
|
38315
|
-
|
|
38316
|
-
|
|
38317
|
-
|
|
38318
|
-
|
|
38319
|
-
|
|
38320
|
-
|
|
38321
|
-
|
|
38322
|
-
|
|
38323
|
-
|
|
38324
|
-
_: 2
|
|
38325
|
-
}, [
|
|
38326
|
-
child.icon ? {
|
|
38327
|
-
name: "prepend",
|
|
38328
|
-
fn: withCtx(() => [
|
|
38329
|
-
(openBlock(), createBlock(resolveDynamicComponent(child.icon), { size: "18" }))
|
|
38192
|
+
createElementVNode("div", _hoisted_1$1, [
|
|
38193
|
+
__props.menuOrientation === "vertical" ? (openBlock(), createBlock(VBtn, {
|
|
38194
|
+
key: 0,
|
|
38195
|
+
class: "hidden-md-and-down text-secondary",
|
|
38196
|
+
color: "lightsecondary",
|
|
38197
|
+
icon: "",
|
|
38198
|
+
rounded: "sm",
|
|
38199
|
+
variant: "flat",
|
|
38200
|
+
size: "small",
|
|
38201
|
+
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => props.onToggleMiniSidebar && props.onToggleMiniSidebar(), ["stop"]))
|
|
38202
|
+
}, {
|
|
38203
|
+
default: withCtx(() => [
|
|
38204
|
+
createVNode(unref(IconMenu2), {
|
|
38205
|
+
size: "20",
|
|
38206
|
+
"stroke-width": "1.5"
|
|
38207
|
+
})
|
|
38208
|
+
]),
|
|
38209
|
+
_: 1
|
|
38210
|
+
})) : createCommentVNode("", true),
|
|
38211
|
+
createVNode(VBtn, {
|
|
38212
|
+
class: "hidden-lg-and-up text-secondary ms-3",
|
|
38213
|
+
color: "lightsecondary",
|
|
38214
|
+
icon: "",
|
|
38215
|
+
rounded: "sm",
|
|
38216
|
+
variant: "flat",
|
|
38217
|
+
size: "small",
|
|
38218
|
+
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => props.onToggleSidebarDrawer && props.onToggleSidebarDrawer(), ["stop"]))
|
|
38219
|
+
}, {
|
|
38220
|
+
default: withCtx(() => [
|
|
38221
|
+
createVNode(unref(IconMenu2), {
|
|
38222
|
+
size: "20",
|
|
38223
|
+
"stroke-width": "1.5"
|
|
38224
|
+
})
|
|
38225
|
+
]),
|
|
38226
|
+
_: 1
|
|
38227
|
+
}),
|
|
38228
|
+
createVNode(VBtn, {
|
|
38229
|
+
class: "hidden-md-and-down text-secondary ml-2",
|
|
38230
|
+
color: "lightsecondary",
|
|
38231
|
+
icon: "",
|
|
38232
|
+
rounded: "sm",
|
|
38233
|
+
variant: "flat",
|
|
38234
|
+
size: "small",
|
|
38235
|
+
onClick: _cache[2] || (_cache[2] = withModifiers(($event) => props.onToggleCustomizer && props.onToggleCustomizer(), ["stop"]))
|
|
38236
|
+
}, {
|
|
38237
|
+
default: withCtx(() => [
|
|
38238
|
+
createVNode(unref(IconPalette), {
|
|
38239
|
+
size: "20",
|
|
38240
|
+
"stroke-width": "1.5"
|
|
38241
|
+
})
|
|
38242
|
+
]),
|
|
38243
|
+
_: 1
|
|
38244
|
+
}),
|
|
38245
|
+
__props.menuOrientation === "horizontal" ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
38246
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(computedHeaderMenu.value, (item, i) => {
|
|
38247
|
+
return openBlock(), createElementBlock(Fragment, { key: i }, [
|
|
38248
|
+
!item.children && !item.header && !item.divider ? (openBlock(), createBlock(VBtn, {
|
|
38249
|
+
key: 0,
|
|
38250
|
+
to: item.type === "external" ? "" : item.to,
|
|
38251
|
+
href: item.type === "external" ? item.to : "",
|
|
38252
|
+
target: item.type === "external" ? "_blank" : "",
|
|
38253
|
+
variant: "text",
|
|
38254
|
+
disabled: item.disabled,
|
|
38255
|
+
class: "header-menu-btn mr-3",
|
|
38256
|
+
color: "primary"
|
|
38257
|
+
}, {
|
|
38258
|
+
default: withCtx(() => [
|
|
38259
|
+
item.icon ? (openBlock(), createBlock(resolveDynamicComponent(item.icon), {
|
|
38260
|
+
key: 0,
|
|
38261
|
+
class: "ml-2",
|
|
38262
|
+
size: "18"
|
|
38263
|
+
})) : createCommentVNode("", true),
|
|
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)
|
|
38278
|
+
]),
|
|
38279
|
+
_: 2
|
|
38280
|
+
}, 1032, ["to", "href", "target", "disabled"])) : item.children && item.children.length > 0 ? (openBlock(), createBlock(VMenu, {
|
|
38281
|
+
key: 1,
|
|
38282
|
+
"offset-y": ""
|
|
38283
|
+
}, {
|
|
38284
|
+
activator: withCtx(({ props: mprops }) => [
|
|
38285
|
+
createVNode(VBtn, mergeProps({ ref_for: true }, mprops, {
|
|
38286
|
+
variant: "text",
|
|
38287
|
+
disabled: item.disabled,
|
|
38288
|
+
class: "header-menu-btn",
|
|
38289
|
+
color: "primary mr-3"
|
|
38290
|
+
}), {
|
|
38291
|
+
default: withCtx(() => [
|
|
38292
|
+
item.icon ? (openBlock(), createBlock(resolveDynamicComponent(item.icon), {
|
|
38293
|
+
key: 0,
|
|
38294
|
+
class: "mr-2",
|
|
38295
|
+
size: "18"
|
|
38296
|
+
})) : createCommentVNode("", true),
|
|
38297
|
+
createElementVNode("span", _hoisted_3, toDisplayString(item.title), 1),
|
|
38298
|
+
createVNode(unref(IconChevronDown), {
|
|
38299
|
+
size: "20",
|
|
38300
|
+
class: "ml-2",
|
|
38301
|
+
"stroke-width": "1.5"
|
|
38302
|
+
})
|
|
38303
|
+
]),
|
|
38304
|
+
_: 2
|
|
38305
|
+
}, 1040, ["disabled"])
|
|
38306
|
+
]),
|
|
38307
|
+
default: withCtx(() => [
|
|
38308
|
+
createVNode(VList, null, {
|
|
38309
|
+
default: withCtx(() => [
|
|
38310
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(item.children, (child, childIndex) => {
|
|
38311
|
+
return openBlock(), createBlock(VListItem, {
|
|
38312
|
+
key: childIndex,
|
|
38313
|
+
to: child.type === "external" ? "" : child.to,
|
|
38314
|
+
href: child.type === "external" ? child.to : "",
|
|
38315
|
+
target: child.type === "external" ? "_blank" : "",
|
|
38316
|
+
disabled: child.disabled
|
|
38317
|
+
}, createSlots({
|
|
38318
|
+
default: withCtx(() => [
|
|
38319
|
+
createVNode(VListItemTitle, null, {
|
|
38320
|
+
default: withCtx(() => [
|
|
38321
|
+
createTextVNode(toDisplayString(child.title), 1)
|
|
38322
|
+
]),
|
|
38323
|
+
_: 2
|
|
38324
|
+
}, 1024)
|
|
38330
38325
|
]),
|
|
38331
|
-
|
|
38332
|
-
}
|
|
38333
|
-
|
|
38334
|
-
|
|
38335
|
-
|
|
38336
|
-
|
|
38337
|
-
|
|
38338
|
-
|
|
38339
|
-
|
|
38340
|
-
|
|
38341
|
-
|
|
38342
|
-
|
|
38343
|
-
|
|
38344
|
-
|
|
38345
|
-
|
|
38346
|
-
|
|
38347
|
-
|
|
38326
|
+
_: 2
|
|
38327
|
+
}, [
|
|
38328
|
+
child.icon ? {
|
|
38329
|
+
name: "prepend",
|
|
38330
|
+
fn: withCtx(() => [
|
|
38331
|
+
(openBlock(), createBlock(resolveDynamicComponent(child.icon), { size: "18" }))
|
|
38332
|
+
]),
|
|
38333
|
+
key: "0"
|
|
38334
|
+
} : void 0
|
|
38335
|
+
]), 1032, ["to", "href", "target", "disabled"]);
|
|
38336
|
+
}), 128))
|
|
38337
|
+
]),
|
|
38338
|
+
_: 2
|
|
38339
|
+
}, 1024)
|
|
38340
|
+
]),
|
|
38341
|
+
_: 2
|
|
38342
|
+
}, 1024)) : item.divider ? (openBlock(), createBlock(VDivider, {
|
|
38343
|
+
key: 2,
|
|
38344
|
+
vertical: "",
|
|
38345
|
+
class: "mx-2"
|
|
38346
|
+
})) : createCommentVNode("", true)
|
|
38347
|
+
], 64);
|
|
38348
|
+
}), 128))
|
|
38349
|
+
])) : createCommentVNode("", true)
|
|
38350
|
+
]),
|
|
38348
38351
|
createVNode(VSpacer),
|
|
38349
38352
|
renderSlot(_ctx.$slots, "notifications", {}, () => [
|
|
38350
38353
|
createVNode(VBtn, {
|
|
@@ -38390,7 +38393,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent$1({
|
|
|
38390
38393
|
};
|
|
38391
38394
|
}
|
|
38392
38395
|
});
|
|
38393
|
-
const AppHeader = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["__scopeId", "data-v-
|
|
38396
|
+
const AppHeader = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["__scopeId", "data-v-83d3eb65"]]);
|
|
38394
38397
|
const makeVAppProps = propsFactory({
|
|
38395
38398
|
...makeComponentProps(),
|
|
38396
38399
|
...omit(makeLayoutProps(), ["fullHeight"]),
|