@amirjalili1374/ui-kit 1.3.3 → 1.3.5
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 +25 -3
- package/dist/components/layout/AppHeader.vue.d.ts.map +1 -1
- package/dist/components/layout/AppLayout.vue.d.ts +58 -0
- package/dist/components/layout/AppLayout.vue.d.ts.map +1 -0
- package/dist/components/layout/AppSidebar.vue.d.ts +32 -3
- package/dist/components/layout/AppSidebar.vue.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/ui-kit.cjs.js +2 -2
- package/dist/ui-kit.cjs.js.map +1 -1
- package/dist/ui-kit.es.js +627 -213
- package/dist/ui-kit.es.js.map +1 -1
- package/package.json +1 -1
package/dist/ui-kit.es.js
CHANGED
|
@@ -3885,10 +3885,10 @@ const VRow = genericComponent()({
|
|
|
3885
3885
|
}
|
|
3886
3886
|
});
|
|
3887
3887
|
const VSpacer = createSimpleFunctional("v-spacer", "div", "VSpacer");
|
|
3888
|
-
const _hoisted_1$
|
|
3888
|
+
const _hoisted_1$d = { class: "text-h3" };
|
|
3889
3889
|
const _hoisted_2$7 = { class: "d-flex align-center gap-2" };
|
|
3890
3890
|
const _hoisted_3$7 = { class: "d-flex align-center gap-2" };
|
|
3891
|
-
const _sfc_main$
|
|
3891
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent$1({
|
|
3892
3892
|
__name: "BaseBreadcrumb",
|
|
3893
3893
|
props: {
|
|
3894
3894
|
title: String,
|
|
@@ -3917,7 +3917,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent$1({
|
|
|
3917
3917
|
default: withCtx(() => [
|
|
3918
3918
|
createVNode(VCol, { md: "5" }, {
|
|
3919
3919
|
default: withCtx(() => [
|
|
3920
|
-
createElementVNode("h3", _hoisted_1$
|
|
3920
|
+
createElementVNode("h3", _hoisted_1$d, toDisplayString(props.title), 1)
|
|
3921
3921
|
]),
|
|
3922
3922
|
_: 1
|
|
3923
3923
|
}),
|
|
@@ -3965,7 +3965,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent$1({
|
|
|
3965
3965
|
};
|
|
3966
3966
|
}
|
|
3967
3967
|
});
|
|
3968
|
-
const _sfc_main$
|
|
3968
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent$1({
|
|
3969
3969
|
__name: "BaseIcon",
|
|
3970
3970
|
props: {
|
|
3971
3971
|
icon: {
|
|
@@ -6580,11 +6580,11 @@ const VDialog = genericComponent()({
|
|
|
6580
6580
|
return forwardRefs({}, overlay);
|
|
6581
6581
|
}
|
|
6582
6582
|
});
|
|
6583
|
-
const _hoisted_1$
|
|
6583
|
+
const _hoisted_1$c = {
|
|
6584
6584
|
key: 0,
|
|
6585
6585
|
class: "mb-2"
|
|
6586
6586
|
};
|
|
6587
|
-
const _sfc_main$
|
|
6587
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent$1({
|
|
6588
6588
|
__name: "ConfirmDialog",
|
|
6589
6589
|
props: {
|
|
6590
6590
|
modelValue: { type: Boolean },
|
|
@@ -6630,7 +6630,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
|
6630
6630
|
}),
|
|
6631
6631
|
createVNode(VCardText, null, {
|
|
6632
6632
|
default: withCtx(() => [
|
|
6633
|
-
__props.message ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
6633
|
+
__props.message ? (openBlock(), createElementBlock("div", _hoisted_1$c, toDisplayString(__props.message), 1)) : createCommentVNode("", true),
|
|
6634
6634
|
renderSlot(_ctx.$slots, "default")
|
|
6635
6635
|
]),
|
|
6636
6636
|
_: 3
|
|
@@ -12591,17 +12591,17 @@ const VTooltip = genericComponent()({
|
|
|
12591
12591
|
return forwardRefs({}, overlay);
|
|
12592
12592
|
}
|
|
12593
12593
|
});
|
|
12594
|
-
const _hoisted_1$
|
|
12594
|
+
const _hoisted_1$b = { class: "ca-item-title" };
|
|
12595
12595
|
const _hoisted_2$6 = { class: "ca-item-subtitle" };
|
|
12596
12596
|
const _hoisted_3$6 = { class: "ca-group-tooltip" };
|
|
12597
12597
|
const _hoisted_4$4 = { class: "ca-group-tooltip-header" };
|
|
12598
|
-
const _hoisted_5$
|
|
12598
|
+
const _hoisted_5$4 = { class: "ca-group-count" };
|
|
12599
12599
|
const _hoisted_6$2 = { class: "ca-group-members" };
|
|
12600
12600
|
const _hoisted_7$2 = { class: "ca-item-title" };
|
|
12601
12601
|
const _hoisted_8$2 = { class: "ca-item-subtitle" };
|
|
12602
12602
|
const _hoisted_9$2 = { class: "ca-chip-title" };
|
|
12603
12603
|
const _hoisted_10$2 = { class: "ca-chip-subtitle" };
|
|
12604
|
-
const _sfc_main$
|
|
12604
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
12605
12605
|
__name: "CustomAutocomplete",
|
|
12606
12606
|
props: {
|
|
12607
12607
|
fields: {},
|
|
@@ -12710,7 +12710,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent$1({
|
|
|
12710
12710
|
class: { "ca-main-group": true }
|
|
12711
12711
|
}), createSlots({
|
|
12712
12712
|
title: withCtx(() => [
|
|
12713
|
-
createElementVNode("div", _hoisted_1$
|
|
12713
|
+
createElementVNode("div", _hoisted_1$b, [
|
|
12714
12714
|
createTextVNode(toDisplayString(resolveTitle(item.raw ?? item)) + " ", 1),
|
|
12715
12715
|
createVNode(VChip, {
|
|
12716
12716
|
size: "small",
|
|
@@ -12749,7 +12749,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent$1({
|
|
|
12749
12749
|
createElementVNode("div", _hoisted_3$6, [
|
|
12750
12750
|
createElementVNode("div", _hoisted_4$4, [
|
|
12751
12751
|
createElementVNode("strong", null, toDisplayString(resolveTitle(item.raw ?? item)), 1),
|
|
12752
|
-
createElementVNode("span", _hoisted_5$
|
|
12752
|
+
createElementVNode("span", _hoisted_5$4, toDisplayString(getGroupMembers(item.raw ?? item).length) + " آیتم", 1)
|
|
12753
12753
|
]),
|
|
12754
12754
|
createElementVNode("div", _hoisted_6$2, [
|
|
12755
12755
|
(openBlock(true), createElementBlock(Fragment, null, renderList(getGroupMembers(item.raw ?? item), (member, idx) => {
|
|
@@ -12812,8 +12812,8 @@ const _export_sfc$1 = (sfc, props) => {
|
|
|
12812
12812
|
}
|
|
12813
12813
|
return target;
|
|
12814
12814
|
};
|
|
12815
|
-
const CustomAutocomplete = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
12816
|
-
const _sfc_main$
|
|
12815
|
+
const CustomAutocomplete = /* @__PURE__ */ _export_sfc$1(_sfc_main$f, [["__scopeId", "data-v-4c17f7bd"]]);
|
|
12816
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent$1({
|
|
12817
12817
|
__name: "MoneyInput",
|
|
12818
12818
|
props: {
|
|
12819
12819
|
modelValue: {
|
|
@@ -12919,8 +12919,8 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent$1({
|
|
|
12919
12919
|
};
|
|
12920
12920
|
}
|
|
12921
12921
|
});
|
|
12922
|
-
const _hoisted_1$
|
|
12923
|
-
const _sfc_main$
|
|
12922
|
+
const _hoisted_1$a = { class: "shamsi-date-picker" };
|
|
12923
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent$1({
|
|
12924
12924
|
__name: "ShamsiDatePicker",
|
|
12925
12925
|
props: {
|
|
12926
12926
|
modelValue: { default: "" },
|
|
@@ -13008,7 +13008,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent$1({
|
|
|
13008
13008
|
const isRangeMode = computed(() => props.mode === "range");
|
|
13009
13009
|
return (_ctx, _cache) => {
|
|
13010
13010
|
const _component_Vue3PersianDatetimePicker = resolveComponent("Vue3PersianDatetimePicker");
|
|
13011
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
13011
|
+
return openBlock(), createElementBlock("div", _hoisted_1$a, [
|
|
13012
13012
|
createVNode(_component_Vue3PersianDatetimePicker, {
|
|
13013
13013
|
label: __props.label,
|
|
13014
13014
|
modelValue: selectedDate.value,
|
|
@@ -13031,7 +13031,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent$1({
|
|
|
13031
13031
|
};
|
|
13032
13032
|
}
|
|
13033
13033
|
});
|
|
13034
|
-
const ShamsiDatePicker = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
13034
|
+
const ShamsiDatePicker = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["__scopeId", "data-v-d56f50fe"]]);
|
|
13035
13035
|
function useTableSelection(items, options = {}) {
|
|
13036
13036
|
const selectedItems = ref([]);
|
|
13037
13037
|
const expandedGroups = ref(/* @__PURE__ */ new Set());
|
|
@@ -13649,6 +13649,14 @@ const VAlert = genericComponent()({
|
|
|
13649
13649
|
});
|
|
13650
13650
|
const VuetifyLayoutKey = Symbol.for("vuetify:layout");
|
|
13651
13651
|
const VuetifyLayoutItemKey = Symbol.for("vuetify:layout-item");
|
|
13652
|
+
const ROOT_ZINDEX = 1e3;
|
|
13653
|
+
const makeLayoutProps = propsFactory({
|
|
13654
|
+
overlaps: {
|
|
13655
|
+
type: Array,
|
|
13656
|
+
default: () => []
|
|
13657
|
+
},
|
|
13658
|
+
fullHeight: Boolean
|
|
13659
|
+
}, "layout");
|
|
13652
13660
|
const makeLayoutItemProps = propsFactory({
|
|
13653
13661
|
name: {
|
|
13654
13662
|
type: String
|
|
@@ -13694,6 +13702,222 @@ function useLayoutItem(options) {
|
|
|
13694
13702
|
layoutItemScrimStyles
|
|
13695
13703
|
};
|
|
13696
13704
|
}
|
|
13705
|
+
const generateLayers = (layout, positions, layoutSizes, activeItems) => {
|
|
13706
|
+
let previousLayer = {
|
|
13707
|
+
top: 0,
|
|
13708
|
+
left: 0,
|
|
13709
|
+
right: 0,
|
|
13710
|
+
bottom: 0
|
|
13711
|
+
};
|
|
13712
|
+
const layers = [{
|
|
13713
|
+
id: "",
|
|
13714
|
+
layer: {
|
|
13715
|
+
...previousLayer
|
|
13716
|
+
}
|
|
13717
|
+
}];
|
|
13718
|
+
for (const id of layout) {
|
|
13719
|
+
const position2 = positions.get(id);
|
|
13720
|
+
const amount = layoutSizes.get(id);
|
|
13721
|
+
const active2 = activeItems.get(id);
|
|
13722
|
+
if (!position2 || !amount || !active2) continue;
|
|
13723
|
+
const layer = {
|
|
13724
|
+
...previousLayer,
|
|
13725
|
+
[position2.value]: parseInt(previousLayer[position2.value], 10) + (active2.value ? parseInt(amount.value, 10) : 0)
|
|
13726
|
+
};
|
|
13727
|
+
layers.push({
|
|
13728
|
+
id,
|
|
13729
|
+
layer
|
|
13730
|
+
});
|
|
13731
|
+
previousLayer = layer;
|
|
13732
|
+
}
|
|
13733
|
+
return layers;
|
|
13734
|
+
};
|
|
13735
|
+
function createLayout(props) {
|
|
13736
|
+
const parentLayout = inject(VuetifyLayoutKey, null);
|
|
13737
|
+
const rootZIndex = computed(() => parentLayout ? parentLayout.rootZIndex.value - 100 : ROOT_ZINDEX);
|
|
13738
|
+
const registered = ref([]);
|
|
13739
|
+
const positions = reactive(/* @__PURE__ */ new Map());
|
|
13740
|
+
const layoutSizes = reactive(/* @__PURE__ */ new Map());
|
|
13741
|
+
const priorities = reactive(/* @__PURE__ */ new Map());
|
|
13742
|
+
const activeItems = reactive(/* @__PURE__ */ new Map());
|
|
13743
|
+
const disabledTransitions = reactive(/* @__PURE__ */ new Map());
|
|
13744
|
+
const {
|
|
13745
|
+
resizeRef,
|
|
13746
|
+
contentRect: layoutRect
|
|
13747
|
+
} = useResizeObserver();
|
|
13748
|
+
const computedOverlaps = computed(() => {
|
|
13749
|
+
const map = /* @__PURE__ */ new Map();
|
|
13750
|
+
const overlaps = props.overlaps ?? [];
|
|
13751
|
+
for (const overlap of overlaps.filter((item) => item.includes(":"))) {
|
|
13752
|
+
const [top, bottom] = overlap.split(":");
|
|
13753
|
+
if (!registered.value.includes(top) || !registered.value.includes(bottom)) continue;
|
|
13754
|
+
const topPosition = positions.get(top);
|
|
13755
|
+
const bottomPosition = positions.get(bottom);
|
|
13756
|
+
const topAmount = layoutSizes.get(top);
|
|
13757
|
+
const bottomAmount = layoutSizes.get(bottom);
|
|
13758
|
+
if (!topPosition || !bottomPosition || !topAmount || !bottomAmount) continue;
|
|
13759
|
+
map.set(bottom, {
|
|
13760
|
+
position: topPosition.value,
|
|
13761
|
+
amount: parseInt(topAmount.value, 10)
|
|
13762
|
+
});
|
|
13763
|
+
map.set(top, {
|
|
13764
|
+
position: bottomPosition.value,
|
|
13765
|
+
amount: -parseInt(bottomAmount.value, 10)
|
|
13766
|
+
});
|
|
13767
|
+
}
|
|
13768
|
+
return map;
|
|
13769
|
+
});
|
|
13770
|
+
const layers = computed(() => {
|
|
13771
|
+
const uniquePriorities = [...new Set([...priorities.values()].map((p) => p.value))].sort((a, b) => a - b);
|
|
13772
|
+
const layout = [];
|
|
13773
|
+
for (const p of uniquePriorities) {
|
|
13774
|
+
const items2 = registered.value.filter((id) => {
|
|
13775
|
+
var _a;
|
|
13776
|
+
return ((_a = priorities.get(id)) == null ? void 0 : _a.value) === p;
|
|
13777
|
+
});
|
|
13778
|
+
layout.push(...items2);
|
|
13779
|
+
}
|
|
13780
|
+
return generateLayers(layout, positions, layoutSizes, activeItems);
|
|
13781
|
+
});
|
|
13782
|
+
const transitionsEnabled = computed(() => {
|
|
13783
|
+
return !Array.from(disabledTransitions.values()).some((ref2) => ref2.value);
|
|
13784
|
+
});
|
|
13785
|
+
const mainRect = computed(() => {
|
|
13786
|
+
return layers.value[layers.value.length - 1].layer;
|
|
13787
|
+
});
|
|
13788
|
+
const mainStyles = toRef(() => {
|
|
13789
|
+
return {
|
|
13790
|
+
"--v-layout-left": convertToUnit(mainRect.value.left),
|
|
13791
|
+
"--v-layout-right": convertToUnit(mainRect.value.right),
|
|
13792
|
+
"--v-layout-top": convertToUnit(mainRect.value.top),
|
|
13793
|
+
"--v-layout-bottom": convertToUnit(mainRect.value.bottom),
|
|
13794
|
+
...transitionsEnabled.value ? void 0 : {
|
|
13795
|
+
transition: "none"
|
|
13796
|
+
}
|
|
13797
|
+
};
|
|
13798
|
+
});
|
|
13799
|
+
const items = computed(() => {
|
|
13800
|
+
return layers.value.slice(1).map((_ref, index2) => {
|
|
13801
|
+
let {
|
|
13802
|
+
id
|
|
13803
|
+
} = _ref;
|
|
13804
|
+
const {
|
|
13805
|
+
layer
|
|
13806
|
+
} = layers.value[index2];
|
|
13807
|
+
const size = layoutSizes.get(id);
|
|
13808
|
+
const position2 = positions.get(id);
|
|
13809
|
+
return {
|
|
13810
|
+
id,
|
|
13811
|
+
...layer,
|
|
13812
|
+
size: Number(size.value),
|
|
13813
|
+
position: position2.value
|
|
13814
|
+
};
|
|
13815
|
+
});
|
|
13816
|
+
});
|
|
13817
|
+
const getLayoutItem = (id) => {
|
|
13818
|
+
return items.value.find((item) => item.id === id);
|
|
13819
|
+
};
|
|
13820
|
+
const rootVm = getCurrentInstance("createLayout");
|
|
13821
|
+
const isMounted = shallowRef(false);
|
|
13822
|
+
onMounted(() => {
|
|
13823
|
+
isMounted.value = true;
|
|
13824
|
+
});
|
|
13825
|
+
provide(VuetifyLayoutKey, {
|
|
13826
|
+
register: (vm, _ref2) => {
|
|
13827
|
+
let {
|
|
13828
|
+
id,
|
|
13829
|
+
order,
|
|
13830
|
+
position: position2,
|
|
13831
|
+
layoutSize,
|
|
13832
|
+
elementSize,
|
|
13833
|
+
active: active2,
|
|
13834
|
+
disableTransitions,
|
|
13835
|
+
absolute
|
|
13836
|
+
} = _ref2;
|
|
13837
|
+
priorities.set(id, order);
|
|
13838
|
+
positions.set(id, position2);
|
|
13839
|
+
layoutSizes.set(id, layoutSize);
|
|
13840
|
+
activeItems.set(id, active2);
|
|
13841
|
+
disableTransitions && disabledTransitions.set(id, disableTransitions);
|
|
13842
|
+
const instances = findChildrenWithProvide(VuetifyLayoutItemKey, rootVm == null ? void 0 : rootVm.vnode);
|
|
13843
|
+
const instanceIndex = instances.indexOf(vm);
|
|
13844
|
+
if (instanceIndex > -1) registered.value.splice(instanceIndex, 0, id);
|
|
13845
|
+
else registered.value.push(id);
|
|
13846
|
+
const index2 = computed(() => items.value.findIndex((i) => i.id === id));
|
|
13847
|
+
const zIndex = computed(() => rootZIndex.value + layers.value.length * 2 - index2.value * 2);
|
|
13848
|
+
const layoutItemStyles = computed(() => {
|
|
13849
|
+
const isHorizontal = position2.value === "left" || position2.value === "right";
|
|
13850
|
+
const isOppositeHorizontal = position2.value === "right";
|
|
13851
|
+
const isOppositeVertical = position2.value === "bottom";
|
|
13852
|
+
const size = elementSize.value ?? layoutSize.value;
|
|
13853
|
+
const unit = size === 0 ? "%" : "px";
|
|
13854
|
+
const styles = {
|
|
13855
|
+
[position2.value]: 0,
|
|
13856
|
+
zIndex: zIndex.value,
|
|
13857
|
+
transform: `translate${isHorizontal ? "X" : "Y"}(${(active2.value ? 0 : -(size === 0 ? 100 : size)) * (isOppositeHorizontal || isOppositeVertical ? -1 : 1)}${unit})`,
|
|
13858
|
+
position: absolute.value || rootZIndex.value !== ROOT_ZINDEX ? "absolute" : "fixed",
|
|
13859
|
+
...transitionsEnabled.value ? void 0 : {
|
|
13860
|
+
transition: "none"
|
|
13861
|
+
}
|
|
13862
|
+
};
|
|
13863
|
+
if (!isMounted.value) return styles;
|
|
13864
|
+
const item = items.value[index2.value];
|
|
13865
|
+
if (!item) consoleWarn(`[Vuetify] Could not find layout item "${id}"`);
|
|
13866
|
+
const overlap = computedOverlaps.value.get(id);
|
|
13867
|
+
if (overlap) {
|
|
13868
|
+
item[overlap.position] += overlap.amount;
|
|
13869
|
+
}
|
|
13870
|
+
return {
|
|
13871
|
+
...styles,
|
|
13872
|
+
height: isHorizontal ? `calc(100% - ${item.top}px - ${item.bottom}px)` : elementSize.value ? `${elementSize.value}px` : void 0,
|
|
13873
|
+
left: isOppositeHorizontal ? void 0 : `${item.left}px`,
|
|
13874
|
+
right: isOppositeHorizontal ? `${item.right}px` : void 0,
|
|
13875
|
+
top: position2.value !== "bottom" ? `${item.top}px` : void 0,
|
|
13876
|
+
bottom: position2.value !== "top" ? `${item.bottom}px` : void 0,
|
|
13877
|
+
width: !isHorizontal ? `calc(100% - ${item.left}px - ${item.right}px)` : elementSize.value ? `${elementSize.value}px` : void 0
|
|
13878
|
+
};
|
|
13879
|
+
});
|
|
13880
|
+
const layoutItemScrimStyles = computed(() => ({
|
|
13881
|
+
zIndex: zIndex.value - 1
|
|
13882
|
+
}));
|
|
13883
|
+
return {
|
|
13884
|
+
layoutItemStyles,
|
|
13885
|
+
layoutItemScrimStyles,
|
|
13886
|
+
zIndex
|
|
13887
|
+
};
|
|
13888
|
+
},
|
|
13889
|
+
unregister: (id) => {
|
|
13890
|
+
priorities.delete(id);
|
|
13891
|
+
positions.delete(id);
|
|
13892
|
+
layoutSizes.delete(id);
|
|
13893
|
+
activeItems.delete(id);
|
|
13894
|
+
disabledTransitions.delete(id);
|
|
13895
|
+
registered.value = registered.value.filter((v) => v !== id);
|
|
13896
|
+
},
|
|
13897
|
+
mainRect,
|
|
13898
|
+
mainStyles,
|
|
13899
|
+
getLayoutItem,
|
|
13900
|
+
items,
|
|
13901
|
+
layoutRect,
|
|
13902
|
+
rootZIndex
|
|
13903
|
+
});
|
|
13904
|
+
const layoutClasses = toRef(() => ["v-layout", {
|
|
13905
|
+
"v-layout--full-height": props.fullHeight
|
|
13906
|
+
}]);
|
|
13907
|
+
const layoutStyles = toRef(() => ({
|
|
13908
|
+
zIndex: parentLayout ? rootZIndex.value : void 0,
|
|
13909
|
+
position: parentLayout ? "relative" : void 0,
|
|
13910
|
+
overflow: parentLayout ? "hidden" : void 0
|
|
13911
|
+
}));
|
|
13912
|
+
return {
|
|
13913
|
+
layoutClasses,
|
|
13914
|
+
layoutStyles,
|
|
13915
|
+
getLayoutItem,
|
|
13916
|
+
items,
|
|
13917
|
+
layoutRect,
|
|
13918
|
+
layoutRef: resizeRef
|
|
13919
|
+
};
|
|
13920
|
+
}
|
|
13697
13921
|
function useRefs() {
|
|
13698
13922
|
const refs = ref([]);
|
|
13699
13923
|
onBeforeUpdate(() => refs.value = []);
|
|
@@ -16432,7 +16656,7 @@ const VSnackbar = genericComponent()({
|
|
|
16432
16656
|
return forwardRefs({}, overlay);
|
|
16433
16657
|
}
|
|
16434
16658
|
});
|
|
16435
|
-
const _hoisted_1$
|
|
16659
|
+
const _hoisted_1$9 = {
|
|
16436
16660
|
key: 0,
|
|
16437
16661
|
class: "page-title"
|
|
16438
16662
|
};
|
|
@@ -16442,7 +16666,7 @@ const _hoisted_4$3 = {
|
|
|
16442
16666
|
key: 3,
|
|
16443
16667
|
class: "selection-actions"
|
|
16444
16668
|
};
|
|
16445
|
-
const _hoisted_5$
|
|
16669
|
+
const _hoisted_5$3 = {
|
|
16446
16670
|
key: 0,
|
|
16447
16671
|
class: "selected-actions"
|
|
16448
16672
|
};
|
|
@@ -16476,7 +16700,7 @@ const _hoisted_18 = {
|
|
|
16476
16700
|
};
|
|
16477
16701
|
const _hoisted_19 = { class: "d-flex justify-space-between align-center pa-4" };
|
|
16478
16702
|
const _hoisted_20 = { class: "text-subtitle-2" };
|
|
16479
|
-
const _sfc_main$
|
|
16703
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent$1({
|
|
16480
16704
|
...{ inheritAttrs: false },
|
|
16481
16705
|
__name: "CustomDataTable",
|
|
16482
16706
|
props: {
|
|
@@ -17314,7 +17538,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent$1({
|
|
|
17314
17538
|
return (_ctx, _cache) => {
|
|
17315
17539
|
var _a;
|
|
17316
17540
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
17317
|
-
props.title ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
17541
|
+
props.title ? (openBlock(), createElementBlock("div", _hoisted_1$9, [
|
|
17318
17542
|
createElementVNode("h3", _hoisted_2$5, toDisplayString(props.title), 1)
|
|
17319
17543
|
])) : createCommentVNode("", true),
|
|
17320
17544
|
createElementVNode("div", _hoisted_3$5, [
|
|
@@ -17377,7 +17601,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent$1({
|
|
|
17377
17601
|
appear: ""
|
|
17378
17602
|
}, {
|
|
17379
17603
|
default: withCtx(() => [
|
|
17380
|
-
props.bulkMode && hasValidSelection.value || props.enableGroupDelete && hasSelection.value ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
17604
|
+
props.bulkMode && hasValidSelection.value || props.enableGroupDelete && hasSelection.value ? (openBlock(), createElementBlock("div", _hoisted_5$3, [
|
|
17381
17605
|
props.enableGroupDelete ? (openBlock(), createBlock(VBtn, {
|
|
17382
17606
|
key: 0,
|
|
17383
17607
|
color: "red",
|
|
@@ -18058,7 +18282,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent$1({
|
|
|
18058
18282
|
disabled: isHeaderDisabled(header),
|
|
18059
18283
|
clearable: "",
|
|
18060
18284
|
variant: "outlined"
|
|
18061
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "items", "item-title", "item-value", "return-object", "multiple", "chips", "closable-chips", "disabled"])) : isMoneyHeader(header) ? (openBlock(), createBlock(_sfc_main$
|
|
18285
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "items", "item-title", "item-value", "return-object", "multiple", "chips", "closable-chips", "disabled"])) : isMoneyHeader(header) ? (openBlock(), createBlock(_sfc_main$e, {
|
|
18062
18286
|
key: 2,
|
|
18063
18287
|
modelValue: formModel.value[resolveHeaderKey(header)],
|
|
18064
18288
|
"onUpdate:modelValue": ($event) => formModel.value[resolveHeaderKey(header)] = $event,
|
|
@@ -18600,8 +18824,8 @@ const VTextarea = genericComponent()({
|
|
|
18600
18824
|
return forwardRefs({}, vInputRef, vFieldRef, textareaRef);
|
|
18601
18825
|
}
|
|
18602
18826
|
});
|
|
18603
|
-
const _hoisted_1$
|
|
18604
|
-
const _sfc_main$
|
|
18827
|
+
const _hoisted_1$8 = { class: "description-input" };
|
|
18828
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent$1({
|
|
18605
18829
|
__name: "DescriptionInput",
|
|
18606
18830
|
props: {
|
|
18607
18831
|
modelValue: { default: "" },
|
|
@@ -18700,7 +18924,7 @@ ${newLineNumber} - `;
|
|
|
18700
18924
|
emit("change", internalValue.value);
|
|
18701
18925
|
};
|
|
18702
18926
|
return (_ctx, _cache) => {
|
|
18703
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
18927
|
+
return openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
18704
18928
|
createVNode(VTextarea, {
|
|
18705
18929
|
modelValue: internalValue.value,
|
|
18706
18930
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => internalValue.value = $event),
|
|
@@ -18723,7 +18947,7 @@ ${newLineNumber} - `;
|
|
|
18723
18947
|
};
|
|
18724
18948
|
}
|
|
18725
18949
|
});
|
|
18726
|
-
const DescriptionInput = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
18950
|
+
const DescriptionInput = /* @__PURE__ */ _export_sfc$1(_sfc_main$b, [["__scopeId", "data-v-e8b64ecb"]]);
|
|
18727
18951
|
var mdiAlertCircle = "M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z";
|
|
18728
18952
|
var mdiArrowRight = "M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z";
|
|
18729
18953
|
var mdiCheckCircle = "M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z";
|
|
@@ -18752,8 +18976,8 @@ const icons = {
|
|
|
18752
18976
|
arrowRight: mdiArrowRight,
|
|
18753
18977
|
cog: mdiCog
|
|
18754
18978
|
};
|
|
18755
|
-
const _hoisted_1$
|
|
18756
|
-
const _sfc_main$
|
|
18979
|
+
const _hoisted_1$7 = { class: "download-title" };
|
|
18980
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent$1({
|
|
18757
18981
|
...{
|
|
18758
18982
|
inheritAttrs: false
|
|
18759
18983
|
},
|
|
@@ -18858,7 +19082,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent$1({
|
|
|
18858
19082
|
]),
|
|
18859
19083
|
_: 1
|
|
18860
19084
|
}, 8, ["start", "end", "class"])) : createCommentVNode("", true),
|
|
18861
|
-
createElementVNode("span", _hoisted_1$
|
|
19085
|
+
createElementVNode("span", _hoisted_1$7, toDisplayString(__props.title), 1),
|
|
18862
19086
|
!__props.icon ? (openBlock(), createBlock(VIcon, {
|
|
18863
19087
|
key: 1,
|
|
18864
19088
|
start: "",
|
|
@@ -18871,8 +19095,8 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent$1({
|
|
|
18871
19095
|
};
|
|
18872
19096
|
}
|
|
18873
19097
|
});
|
|
18874
|
-
const DownloadButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
18875
|
-
const _hoisted_1$
|
|
19098
|
+
const DownloadButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$a, [["__scopeId", "data-v-0a911831"]]);
|
|
19099
|
+
const _hoisted_1$6 = {
|
|
18876
19100
|
key: 0,
|
|
18877
19101
|
class: "pdf-viewer-header"
|
|
18878
19102
|
};
|
|
@@ -18882,7 +19106,7 @@ const _hoisted_4$2 = {
|
|
|
18882
19106
|
key: 0,
|
|
18883
19107
|
class: "zoom-controls"
|
|
18884
19108
|
};
|
|
18885
|
-
const _hoisted_5$
|
|
19109
|
+
const _hoisted_5$2 = { class: "zoom-level" };
|
|
18886
19110
|
const _hoisted_6 = {
|
|
18887
19111
|
key: 1,
|
|
18888
19112
|
class: "navigation-controls"
|
|
@@ -18915,7 +19139,7 @@ const _hoisted_16 = {
|
|
|
18915
19139
|
key: 0,
|
|
18916
19140
|
class: "file-info"
|
|
18917
19141
|
};
|
|
18918
|
-
const _sfc_main$
|
|
19142
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent$1({
|
|
18919
19143
|
__name: "PdfViewer",
|
|
18920
19144
|
props: {
|
|
18921
19145
|
src: {},
|
|
@@ -19123,7 +19347,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent$1({
|
|
|
19123
19347
|
return openBlock(), createElementBlock("div", {
|
|
19124
19348
|
class: normalizeClass(["pdf-viewer-container", { "fullscreen": isFullscreen.value }])
|
|
19125
19349
|
}, [
|
|
19126
|
-
__props.showHeader ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
19350
|
+
__props.showHeader ? (openBlock(), createElementBlock("div", _hoisted_1$6, [
|
|
19127
19351
|
createElementVNode("div", _hoisted_2$4, [
|
|
19128
19352
|
createElementVNode("h3", null, toDisplayString(__props.title || "PDF Viewer"), 1)
|
|
19129
19353
|
]),
|
|
@@ -19144,7 +19368,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent$1({
|
|
|
19144
19368
|
]),
|
|
19145
19369
|
_: 1
|
|
19146
19370
|
}, 8, ["disabled"]),
|
|
19147
|
-
createElementVNode("span", _hoisted_5$
|
|
19371
|
+
createElementVNode("span", _hoisted_5$2, toDisplayString(Math.round(zoom.value * 100)) + "%", 1),
|
|
19148
19372
|
createVNode(VBtn, {
|
|
19149
19373
|
size: "small",
|
|
19150
19374
|
variant: "text",
|
|
@@ -19342,8 +19566,8 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent$1({
|
|
|
19342
19566
|
};
|
|
19343
19567
|
}
|
|
19344
19568
|
});
|
|
19345
|
-
const PdfViewer = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
19346
|
-
const _sfc_main$
|
|
19569
|
+
const PdfViewer = /* @__PURE__ */ _export_sfc$1(_sfc_main$9, [["__scopeId", "data-v-f3e9c767"]]);
|
|
19570
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent$1({
|
|
19347
19571
|
__name: "UiChildCard",
|
|
19348
19572
|
props: {
|
|
19349
19573
|
title: String
|
|
@@ -19377,8 +19601,8 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent$1({
|
|
|
19377
19601
|
};
|
|
19378
19602
|
}
|
|
19379
19603
|
});
|
|
19380
|
-
const _hoisted_1$
|
|
19381
|
-
const _sfc_main$
|
|
19604
|
+
const _hoisted_1$5 = { class: "d-sm-flex align-center justify-space-between" };
|
|
19605
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent$1({
|
|
19382
19606
|
__name: "UiParentCard",
|
|
19383
19607
|
props: {
|
|
19384
19608
|
title: String
|
|
@@ -19390,7 +19614,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent$1({
|
|
|
19390
19614
|
default: withCtx(() => [
|
|
19391
19615
|
createVNode(VCardItem, null, {
|
|
19392
19616
|
default: withCtx(() => [
|
|
19393
|
-
createElementVNode("div", _hoisted_1$
|
|
19617
|
+
createElementVNode("div", _hoisted_1$5, [
|
|
19394
19618
|
createVNode(VCardTitle, null, {
|
|
19395
19619
|
default: withCtx(() => [
|
|
19396
19620
|
createTextVNode(toDisplayString(props.title), 1)
|
|
@@ -19415,7 +19639,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent$1({
|
|
|
19415
19639
|
};
|
|
19416
19640
|
}
|
|
19417
19641
|
});
|
|
19418
|
-
const _sfc_main$
|
|
19642
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent$1({
|
|
19419
19643
|
__name: "VPriceTextField",
|
|
19420
19644
|
props: {
|
|
19421
19645
|
modelValue: {},
|
|
@@ -19516,13 +19740,13 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent$1({
|
|
|
19516
19740
|
};
|
|
19517
19741
|
}
|
|
19518
19742
|
});
|
|
19519
|
-
const _hoisted_1$
|
|
19743
|
+
const _hoisted_1$4 = {
|
|
19520
19744
|
class: "app-stepper-root",
|
|
19521
19745
|
dir: "rtl"
|
|
19522
19746
|
};
|
|
19523
19747
|
const _hoisted_2$3 = { class: "app-stepper-header-card" };
|
|
19524
19748
|
const _hoisted_3$3 = { class: "app-stepper-title" };
|
|
19525
|
-
const _sfc_main$
|
|
19749
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent$1({
|
|
19526
19750
|
__name: "AppStepper",
|
|
19527
19751
|
props: {
|
|
19528
19752
|
steps: {
|
|
@@ -19574,7 +19798,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent$1({
|
|
|
19574
19798
|
});
|
|
19575
19799
|
__expose({ currentStepComponentRef });
|
|
19576
19800
|
return (_ctx, _cache) => {
|
|
19577
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
19801
|
+
return openBlock(), createElementBlock("div", _hoisted_1$4, [
|
|
19578
19802
|
createElementVNode("div", _hoisted_2$3, [
|
|
19579
19803
|
createElementVNode("div", {
|
|
19580
19804
|
ref_key: "stepperHeaderRef",
|
|
@@ -19641,7 +19865,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent$1({
|
|
|
19641
19865
|
};
|
|
19642
19866
|
}
|
|
19643
19867
|
});
|
|
19644
|
-
const AppStepper = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
19868
|
+
const AppStepper = /* @__PURE__ */ _export_sfc$1(_sfc_main$5, [["__scopeId", "data-v-d5178633"]]);
|
|
19645
19869
|
var lottie = { exports: {} };
|
|
19646
19870
|
(function(module, exports) {
|
|
19647
19871
|
typeof navigator !== "undefined" && function(global2, factory) {
|
|
@@ -36057,7 +36281,7 @@ var _export_sfc = (sfc, props) => {
|
|
|
36057
36281
|
}
|
|
36058
36282
|
return target;
|
|
36059
36283
|
};
|
|
36060
|
-
const _sfc_main$
|
|
36284
|
+
const _sfc_main$4 = defineComponent$1({
|
|
36061
36285
|
props: {
|
|
36062
36286
|
animationData: {
|
|
36063
36287
|
type: Object,
|
|
@@ -36389,7 +36613,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36389
36613
|
onMouseleave: _cache[1] || (_cache[1] = (...args) => _ctx.hoverEnded && _ctx.hoverEnded(...args))
|
|
36390
36614
|
}, null, 36);
|
|
36391
36615
|
}
|
|
36392
|
-
var Vue3Lottie = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
36616
|
+
var Vue3Lottie = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render]]);
|
|
36393
36617
|
const useCustomizerStore = defineStore({
|
|
36394
36618
|
id: "customizer",
|
|
36395
36619
|
state: () => ({
|
|
@@ -36443,20 +36667,20 @@ const useCustomizerStore = defineStore({
|
|
|
36443
36667
|
}
|
|
36444
36668
|
}
|
|
36445
36669
|
});
|
|
36446
|
-
const _hoisted_1$
|
|
36670
|
+
const _hoisted_1$3 = {
|
|
36447
36671
|
key: 0,
|
|
36448
36672
|
class: "loading-overlay"
|
|
36449
36673
|
};
|
|
36450
36674
|
const _hoisted_2$2 = { class: "loading-wrapper" };
|
|
36451
36675
|
const _hoisted_3$2 = { key: 0 };
|
|
36452
|
-
const _sfc_main$
|
|
36676
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent$1({
|
|
36453
36677
|
__name: "Loading",
|
|
36454
36678
|
setup(__props) {
|
|
36455
36679
|
const customizer = useCustomizerStore();
|
|
36456
36680
|
return (_ctx, _cache) => {
|
|
36457
36681
|
return openBlock(), createBlock(Transition, { name: "fade" }, {
|
|
36458
36682
|
default: withCtx(() => [
|
|
36459
|
-
unref(customizer).loading ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
36683
|
+
unref(customizer).loading ? (openBlock(), createElementBlock("div", _hoisted_1$3, [
|
|
36460
36684
|
createElementVNode("div", _hoisted_2$2, [
|
|
36461
36685
|
createVNode(unref(Vue3Lottie), {
|
|
36462
36686
|
"animation-link": "/persian.json",
|
|
@@ -36478,7 +36702,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent$1({
|
|
|
36478
36702
|
};
|
|
36479
36703
|
}
|
|
36480
36704
|
});
|
|
36481
|
-
const Loading = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
36705
|
+
const Loading = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["__scopeId", "data-v-9b533ee4"]]);
|
|
36482
36706
|
/*!
|
|
36483
36707
|
* perfect-scrollbar v1.5.6
|
|
36484
36708
|
* Copyright 2024 Hyunje Jun, MDBootstrap and Contributors
|
|
@@ -38109,19 +38333,24 @@ const VNavigationDrawer = genericComponent()({
|
|
|
38109
38333
|
};
|
|
38110
38334
|
}
|
|
38111
38335
|
});
|
|
38112
|
-
const _hoisted_1$
|
|
38113
|
-
|
|
38114
|
-
|
|
38115
|
-
|
|
38336
|
+
const _hoisted_1$2 = {
|
|
38337
|
+
key: 0,
|
|
38338
|
+
class: "logo d-flex align-center pa-4"
|
|
38339
|
+
};
|
|
38340
|
+
const _hoisted_2$1 = ["innerHTML"];
|
|
38341
|
+
const _hoisted_3$1 = ["src"];
|
|
38342
|
+
const _hoisted_4$1 = {
|
|
38343
|
+
key: 3,
|
|
38116
38344
|
class: "logo-text text-h6 ms-2"
|
|
38117
38345
|
};
|
|
38118
|
-
const
|
|
38119
|
-
const _sfc_main$
|
|
38346
|
+
const _hoisted_5$1 = ["src"];
|
|
38347
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent$1({
|
|
38120
38348
|
__name: "AppSidebar",
|
|
38121
38349
|
props: {
|
|
38122
38350
|
menuItems: { default: () => [] },
|
|
38123
38351
|
logo: {},
|
|
38124
38352
|
logoLight: {},
|
|
38353
|
+
logoSvg: {},
|
|
38125
38354
|
logoText: {},
|
|
38126
38355
|
miniSidebar: { type: Boolean, default: false },
|
|
38127
38356
|
permanent: { type: Boolean, default: true },
|
|
@@ -38129,7 +38358,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent$1({
|
|
|
38129
38358
|
rail: { type: Boolean, default: false },
|
|
38130
38359
|
location: { default: "left" },
|
|
38131
38360
|
width: { default: 265 },
|
|
38132
|
-
railWidth: { default: 75 }
|
|
38361
|
+
railWidth: { default: 75 },
|
|
38362
|
+
containerClass: { default: "" },
|
|
38363
|
+
hideDefaultLogo: { type: Boolean, default: false }
|
|
38133
38364
|
},
|
|
38134
38365
|
setup(__props) {
|
|
38135
38366
|
const props = __props;
|
|
@@ -38137,6 +38368,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent$1({
|
|
|
38137
38368
|
const route = useRoute$1();
|
|
38138
38369
|
const router = useRouter$1();
|
|
38139
38370
|
const isMini = computed(() => props.miniSidebar || customizer.mini_sidebar);
|
|
38371
|
+
const isLogoSvgString = computed(() => typeof props.logoSvg === "string" && !!props.logoSvg);
|
|
38372
|
+
const isLogoSvgComponent = computed(() => typeof props.logoSvg !== "string" && !!props.logoSvg);
|
|
38140
38373
|
const drawer = computed({
|
|
38141
38374
|
get: () => customizer.Sidebar_drawer,
|
|
38142
38375
|
set: (val2) => customizer.SET_SIDEBAR_DRAWER(val2)
|
|
@@ -38167,173 +38400,209 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent$1({
|
|
|
38167
38400
|
"expand-on-hover": expandOnHover.value,
|
|
38168
38401
|
location: __props.location,
|
|
38169
38402
|
width: navigationDrawerWidth.value,
|
|
38170
|
-
class: normalizeClass([["app-sidebar leftSidebar", { "mini-sidebar": isMini.value }], "border-0"])
|
|
38403
|
+
class: normalizeClass([["app-sidebar leftSidebar", { "mini-sidebar": isMini.value }, __props.containerClass], "border-0"])
|
|
38171
38404
|
}, {
|
|
38172
38405
|
default: withCtx(() => [
|
|
38173
|
-
|
|
38174
|
-
|
|
38175
|
-
|
|
38176
|
-
|
|
38177
|
-
|
|
38178
|
-
|
|
38179
|
-
|
|
38180
|
-
|
|
38181
|
-
|
|
38182
|
-
|
|
38183
|
-
|
|
38184
|
-
|
|
38185
|
-
|
|
38186
|
-
|
|
38187
|
-
|
|
38188
|
-
|
|
38189
|
-
|
|
38190
|
-
|
|
38191
|
-
|
|
38406
|
+
renderSlot(_ctx.$slots, "logo", {
|
|
38407
|
+
isMini: isMini.value,
|
|
38408
|
+
themeMode: unref(customizer).themeMode
|
|
38409
|
+
}, () => [
|
|
38410
|
+
!__props.hideDefaultLogo ? (openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
38411
|
+
__props.logoSvg || __props.logo || __props.logoText ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
38412
|
+
isLogoSvgComponent.value ? (openBlock(), createBlock(resolveDynamicComponent(__props.logoSvg), {
|
|
38413
|
+
key: 0,
|
|
38414
|
+
class: "logo-svg",
|
|
38415
|
+
style: { "height": "40px", "display": "flex", "align-items": "center" }
|
|
38416
|
+
})) : isLogoSvgString.value ? (openBlock(), createElementBlock("div", {
|
|
38417
|
+
key: 1,
|
|
38418
|
+
class: "logo-svg",
|
|
38419
|
+
innerHTML: __props.logoSvg,
|
|
38420
|
+
style: { height: "40px", display: "flex", alignItems: "center" }
|
|
38421
|
+
}, null, 8, _hoisted_2$1)) : __props.logo && !isMini.value ? (openBlock(), createElementBlock("img", {
|
|
38422
|
+
key: 2,
|
|
38423
|
+
src: unref(customizer).themeMode === "dark" && __props.logoLight ? __props.logoLight : __props.logo,
|
|
38424
|
+
alt: "Logo",
|
|
38425
|
+
class: "logo-img",
|
|
38426
|
+
style: { "max-height": "40px", "max-width": "100%" }
|
|
38427
|
+
}, null, 8, _hoisted_3$1)) : createCommentVNode("", true),
|
|
38428
|
+
__props.logoText && !isMini.value ? (openBlock(), createElementBlock("span", _hoisted_4$1, toDisplayString(__props.logoText), 1)) : createCommentVNode("", true),
|
|
38429
|
+
!__props.logoSvg && __props.logo && isMini.value ? (openBlock(), createElementBlock("img", {
|
|
38430
|
+
key: 4,
|
|
38431
|
+
src: unref(customizer).themeMode === "dark" && __props.logoLight ? __props.logoLight : __props.logo,
|
|
38432
|
+
alt: "Logo",
|
|
38433
|
+
class: "logo-img-mini",
|
|
38434
|
+
style: { "height": "40px", "width": "40px", "object-fit": "contain" }
|
|
38435
|
+
}, null, 8, _hoisted_5$1)) : createCommentVNode("", true)
|
|
38436
|
+
], 64)) : (openBlock(), createBlock(VSpacer, { key: 1 }))
|
|
38437
|
+
])) : createCommentVNode("", true)
|
|
38438
|
+
], true),
|
|
38192
38439
|
createVNode(VDivider),
|
|
38193
38440
|
createVNode(unref(C), {
|
|
38194
38441
|
class: "scrollnavbar",
|
|
38195
38442
|
options: { wheelSpeed: 1, swipeEasing: true, suppressScrollX: true }
|
|
38196
38443
|
}, {
|
|
38197
38444
|
default: withCtx(() => [
|
|
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
|
-
item.chip ? {
|
|
38228
|
-
name: "append",
|
|
38229
|
-
fn: withCtx(() => [
|
|
38230
|
-
createVNode(VChip, {
|
|
38231
|
-
color: item.chip.color || "primary",
|
|
38232
|
-
size: "small",
|
|
38233
|
-
class: "ms-2"
|
|
38234
|
-
}, {
|
|
38235
|
-
default: withCtx(() => [
|
|
38236
|
-
createTextVNode(toDisplayString(item.chip.content), 1)
|
|
38237
|
-
]),
|
|
38238
|
-
_: 2
|
|
38239
|
-
}, 1032, ["color"])
|
|
38445
|
+
renderSlot(_ctx.$slots, "menu", {
|
|
38446
|
+
items: __props.menuItems,
|
|
38447
|
+
isActive,
|
|
38448
|
+
navigate: handleClick
|
|
38449
|
+
}, () => [
|
|
38450
|
+
createVNode(VList, {
|
|
38451
|
+
lines: false,
|
|
38452
|
+
class: "pa-0"
|
|
38453
|
+
}, {
|
|
38454
|
+
default: withCtx(() => [
|
|
38455
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.menuItems, (item, index2) => {
|
|
38456
|
+
return openBlock(), createElementBlock(Fragment, { key: index2 }, [
|
|
38457
|
+
item.divider ? (openBlock(), createBlock(VDivider, {
|
|
38458
|
+
key: 0,
|
|
38459
|
+
class: "my-2"
|
|
38460
|
+
})) : item.items && item.items.length > 0 ? (openBlock(), createBlock(VListGroup, {
|
|
38461
|
+
key: 1,
|
|
38462
|
+
value: item.items.some((child) => isActive(child))
|
|
38463
|
+
}, {
|
|
38464
|
+
activator: withCtx(({ props: groupProps }) => [
|
|
38465
|
+
createVNode(VListItem, mergeProps({ ref_for: true }, groupProps, {
|
|
38466
|
+
disabled: item.disabled
|
|
38467
|
+
}), createSlots({
|
|
38468
|
+
prepend: withCtx(() => [
|
|
38469
|
+
typeof item.icon === "string" ? (openBlock(), createBlock(VIcon, {
|
|
38470
|
+
key: 0,
|
|
38471
|
+
icon: item.icon
|
|
38472
|
+
}, null, 8, ["icon"])) : item.icon ? (openBlock(), createBlock(resolveDynamicComponent(item.icon), { key: 1 })) : createCommentVNode("", true)
|
|
38240
38473
|
]),
|
|
38241
|
-
key: "0"
|
|
38242
|
-
} : void 0
|
|
38243
|
-
]), 1040, ["disabled", "prepend-icon"])
|
|
38244
|
-
]),
|
|
38245
|
-
default: withCtx(() => [
|
|
38246
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(item.items, (child, childIndex) => {
|
|
38247
|
-
return openBlock(), createBlock(VListItem, {
|
|
38248
|
-
key: childIndex,
|
|
38249
|
-
to: child.to,
|
|
38250
|
-
href: child.href,
|
|
38251
|
-
disabled: child.disabled,
|
|
38252
|
-
active: isActive(child),
|
|
38253
|
-
"prepend-icon": child.icon,
|
|
38254
|
-
onClick: ($event) => handleClick(child)
|
|
38255
|
-
}, createSlots({
|
|
38256
38474
|
default: withCtx(() => [
|
|
38257
38475
|
createVNode(VListItemTitle, null, {
|
|
38258
38476
|
default: withCtx(() => [
|
|
38259
|
-
createTextVNode(toDisplayString(
|
|
38477
|
+
createTextVNode(toDisplayString(item.title), 1)
|
|
38260
38478
|
]),
|
|
38261
38479
|
_: 2
|
|
38262
38480
|
}, 1024)
|
|
38263
38481
|
]),
|
|
38264
38482
|
_: 2
|
|
38265
38483
|
}, [
|
|
38266
|
-
|
|
38484
|
+
item.chip ? {
|
|
38267
38485
|
name: "append",
|
|
38268
38486
|
fn: withCtx(() => [
|
|
38269
38487
|
createVNode(VChip, {
|
|
38270
|
-
color:
|
|
38488
|
+
color: item.chip.color || "primary",
|
|
38271
38489
|
size: "small",
|
|
38272
38490
|
class: "ms-2"
|
|
38273
38491
|
}, {
|
|
38274
38492
|
default: withCtx(() => [
|
|
38275
|
-
createTextVNode(toDisplayString(
|
|
38493
|
+
createTextVNode(toDisplayString(item.chip.content), 1)
|
|
38276
38494
|
]),
|
|
38277
38495
|
_: 2
|
|
38278
38496
|
}, 1032, ["color"])
|
|
38279
38497
|
]),
|
|
38280
38498
|
key: "0"
|
|
38281
38499
|
} : void 0
|
|
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
|
-
|
|
38500
|
+
]), 1040, ["disabled"])
|
|
38501
|
+
]),
|
|
38502
|
+
default: withCtx(() => [
|
|
38503
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(item.items, (child, childIndex) => {
|
|
38504
|
+
return openBlock(), createBlock(VListItem, {
|
|
38505
|
+
key: childIndex,
|
|
38506
|
+
to: child.to,
|
|
38507
|
+
href: child.href,
|
|
38508
|
+
disabled: child.disabled,
|
|
38509
|
+
active: isActive(child),
|
|
38510
|
+
onClick: ($event) => handleClick(child)
|
|
38511
|
+
}, createSlots({
|
|
38512
|
+
prepend: withCtx(() => [
|
|
38513
|
+
typeof child.icon === "string" ? (openBlock(), createBlock(VIcon, {
|
|
38514
|
+
key: 0,
|
|
38515
|
+
icon: child.icon
|
|
38516
|
+
}, null, 8, ["icon"])) : child.icon ? (openBlock(), createBlock(resolveDynamicComponent(child.icon), { key: 1 })) : createCommentVNode("", true)
|
|
38517
|
+
]),
|
|
38518
|
+
default: withCtx(() => [
|
|
38519
|
+
createVNode(VListItemTitle, null, {
|
|
38520
|
+
default: withCtx(() => [
|
|
38521
|
+
createTextVNode(toDisplayString(child.title), 1)
|
|
38522
|
+
]),
|
|
38523
|
+
_: 2
|
|
38524
|
+
}, 1024)
|
|
38525
|
+
]),
|
|
38526
|
+
_: 2
|
|
38527
|
+
}, [
|
|
38528
|
+
child.chip ? {
|
|
38529
|
+
name: "append",
|
|
38530
|
+
fn: withCtx(() => [
|
|
38531
|
+
createVNode(VChip, {
|
|
38532
|
+
color: child.chip.color || "primary",
|
|
38533
|
+
size: "small",
|
|
38534
|
+
class: "ms-2"
|
|
38535
|
+
}, {
|
|
38536
|
+
default: withCtx(() => [
|
|
38537
|
+
createTextVNode(toDisplayString(child.chip.content), 1)
|
|
38538
|
+
]),
|
|
38539
|
+
_: 2
|
|
38540
|
+
}, 1032, ["color"])
|
|
38541
|
+
]),
|
|
38542
|
+
key: "0"
|
|
38543
|
+
} : void 0
|
|
38544
|
+
]), 1032, ["to", "href", "disabled", "active", "onClick"]);
|
|
38545
|
+
}), 128))
|
|
38546
|
+
]),
|
|
38547
|
+
_: 2
|
|
38548
|
+
}, 1032, ["value"])) : (openBlock(), createBlock(VListItem, {
|
|
38549
|
+
key: 2,
|
|
38550
|
+
to: item.to,
|
|
38551
|
+
href: item.href,
|
|
38552
|
+
disabled: item.disabled,
|
|
38553
|
+
active: isActive(item),
|
|
38554
|
+
onClick: ($event) => handleClick(item)
|
|
38555
|
+
}, createSlots({
|
|
38556
|
+
prepend: withCtx(() => [
|
|
38557
|
+
typeof item.icon === "string" ? (openBlock(), createBlock(VIcon, {
|
|
38558
|
+
key: 0,
|
|
38559
|
+
icon: item.icon
|
|
38560
|
+
}, null, 8, ["icon"])) : item.icon ? (openBlock(), createBlock(resolveDynamicComponent(item.icon), { key: 1 })) : createCommentVNode("", true)
|
|
38561
|
+
]),
|
|
38562
|
+
default: withCtx(() => [
|
|
38563
|
+
createVNode(VListItemTitle, null, {
|
|
38313
38564
|
default: withCtx(() => [
|
|
38314
|
-
createTextVNode(toDisplayString(item.
|
|
38565
|
+
createTextVNode(toDisplayString(item.title), 1)
|
|
38315
38566
|
]),
|
|
38316
38567
|
_: 2
|
|
38317
|
-
},
|
|
38568
|
+
}, 1024)
|
|
38318
38569
|
]),
|
|
38319
|
-
|
|
38320
|
-
}
|
|
38321
|
-
|
|
38322
|
-
|
|
38323
|
-
|
|
38324
|
-
|
|
38325
|
-
|
|
38326
|
-
|
|
38570
|
+
_: 2
|
|
38571
|
+
}, [
|
|
38572
|
+
item.chip ? {
|
|
38573
|
+
name: "append",
|
|
38574
|
+
fn: withCtx(() => [
|
|
38575
|
+
createVNode(VChip, {
|
|
38576
|
+
color: item.chip.color || "primary",
|
|
38577
|
+
size: "small",
|
|
38578
|
+
class: "ms-2"
|
|
38579
|
+
}, {
|
|
38580
|
+
default: withCtx(() => [
|
|
38581
|
+
createTextVNode(toDisplayString(item.chip.content), 1)
|
|
38582
|
+
]),
|
|
38583
|
+
_: 2
|
|
38584
|
+
}, 1032, ["color"])
|
|
38585
|
+
]),
|
|
38586
|
+
key: "0"
|
|
38587
|
+
} : void 0
|
|
38588
|
+
]), 1032, ["to", "href", "disabled", "active", "onClick"]))
|
|
38589
|
+
], 64);
|
|
38590
|
+
}), 128))
|
|
38591
|
+
]),
|
|
38592
|
+
_: 1
|
|
38593
|
+
})
|
|
38594
|
+
], true)
|
|
38327
38595
|
]),
|
|
38328
|
-
_:
|
|
38329
|
-
})
|
|
38596
|
+
_: 3
|
|
38597
|
+
}),
|
|
38598
|
+
renderSlot(_ctx.$slots, "bottom", {}, void 0, true)
|
|
38330
38599
|
]),
|
|
38331
|
-
_:
|
|
38600
|
+
_: 3
|
|
38332
38601
|
}, 8, ["modelValue", "permanent", "temporary", "rail", "expand-on-hover", "location", "width", "class"]);
|
|
38333
38602
|
};
|
|
38334
38603
|
}
|
|
38335
38604
|
});
|
|
38336
|
-
const AppSidebar = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
38605
|
+
const AppSidebar = /* @__PURE__ */ _export_sfc$1(_sfc_main$2, [["__scopeId", "data-v-e32ab994"]]);
|
|
38337
38606
|
const makeVToolbarTitleProps = propsFactory({
|
|
38338
38607
|
text: String,
|
|
38339
38608
|
...makeComponentProps(),
|
|
@@ -38852,7 +39121,7 @@ const VBadge = genericComponent()({
|
|
|
38852
39121
|
return {};
|
|
38853
39122
|
}
|
|
38854
39123
|
});
|
|
38855
|
-
const _hoisted_1 = {
|
|
39124
|
+
const _hoisted_1$1 = {
|
|
38856
39125
|
key: 0,
|
|
38857
39126
|
class: "text-h6"
|
|
38858
39127
|
};
|
|
@@ -38863,11 +39132,13 @@ const _hoisted_2 = {
|
|
|
38863
39132
|
const _hoisted_3 = { key: 2 };
|
|
38864
39133
|
const _hoisted_4 = { key: 2 };
|
|
38865
39134
|
const _hoisted_5 = { key: 2 };
|
|
38866
|
-
const _sfc_main = /* @__PURE__ */ defineComponent$1({
|
|
39135
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent$1({
|
|
38867
39136
|
__name: "AppHeader",
|
|
38868
39137
|
props: {
|
|
38869
39138
|
title: {},
|
|
38870
39139
|
subtitle: {},
|
|
39140
|
+
class: {},
|
|
39141
|
+
ariaLabel: { default: "Application header" },
|
|
38871
39142
|
showSidebarToggle: { type: Boolean, default: true },
|
|
38872
39143
|
showSearch: { type: Boolean, default: false },
|
|
38873
39144
|
searchPlaceholder: { default: "جستجو..." },
|
|
@@ -38882,7 +39153,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent$1({
|
|
|
38882
39153
|
color: { default: "surface" },
|
|
38883
39154
|
elevation: { default: 1 },
|
|
38884
39155
|
height: { default: 70 },
|
|
38885
|
-
|
|
39156
|
+
hideDefaultTitle: { type: Boolean, default: false }
|
|
38886
39157
|
},
|
|
38887
39158
|
emits: ["update:searchValue", "toggle-sidebar", "search"],
|
|
38888
39159
|
setup(__props, { emit: __emit }) {
|
|
@@ -38920,27 +39191,32 @@ const _sfc_main = /* @__PURE__ */ defineComponent$1({
|
|
|
38920
39191
|
elevation: __props.elevation,
|
|
38921
39192
|
height: __props.height,
|
|
38922
39193
|
class: normalizeClass(["app-header topbar", props.class]),
|
|
39194
|
+
"aria-label": __props.ariaLabel,
|
|
38923
39195
|
fixed: ""
|
|
38924
39196
|
}, {
|
|
38925
39197
|
default: withCtx(() => [
|
|
39198
|
+
renderSlot(_ctx.$slots, "left", {}, void 0, true),
|
|
38926
39199
|
__props.showSidebarToggle ? (openBlock(), createBlock(VAppBarNavIcon, {
|
|
38927
39200
|
key: 0,
|
|
38928
39201
|
variant: "text",
|
|
38929
39202
|
onClick: toggleSidebar
|
|
38930
39203
|
})) : createCommentVNode("", true),
|
|
38931
|
-
|
|
38932
|
-
|
|
38933
|
-
|
|
38934
|
-
|
|
38935
|
-
|
|
38936
|
-
|
|
38937
|
-
|
|
38938
|
-
|
|
38939
|
-
|
|
38940
|
-
|
|
39204
|
+
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
39205
|
+
!__props.hideDefaultTitle && (__props.title || __props.subtitle) ? (openBlock(), createBlock(VAppBarTitle, {
|
|
39206
|
+
key: 0,
|
|
39207
|
+
class: "d-flex flex-column"
|
|
39208
|
+
}, {
|
|
39209
|
+
default: withCtx(() => [
|
|
39210
|
+
__props.title ? (openBlock(), createElementBlock("span", _hoisted_1$1, toDisplayString(__props.title), 1)) : createCommentVNode("", true),
|
|
39211
|
+
__props.subtitle ? (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(__props.subtitle), 1)) : createCommentVNode("", true)
|
|
39212
|
+
]),
|
|
39213
|
+
_: 1
|
|
39214
|
+
})) : createCommentVNode("", true)
|
|
39215
|
+
], true),
|
|
38941
39216
|
createVNode(VSpacer),
|
|
39217
|
+
renderSlot(_ctx.$slots, "center", {}, void 0, true),
|
|
38942
39218
|
__props.showSearch ? (openBlock(), createBlock(VTextField, {
|
|
38943
|
-
key:
|
|
39219
|
+
key: 1,
|
|
38944
39220
|
modelValue: searchInput.value,
|
|
38945
39221
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchInput.value = $event),
|
|
38946
39222
|
placeholder: __props.searchPlaceholder,
|
|
@@ -39026,8 +39302,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent$1({
|
|
|
39026
39302
|
}, 1032, ["icon", "color", "variant", "size", "disabled", "onClick"]))
|
|
39027
39303
|
], 64);
|
|
39028
39304
|
}), 128)),
|
|
39305
|
+
renderSlot(_ctx.$slots, "right", {}, void 0, true),
|
|
39029
39306
|
__props.showNotifications ? (openBlock(), createBlock(VMenu, {
|
|
39030
|
-
key:
|
|
39307
|
+
key: 2,
|
|
39031
39308
|
location: "bottom end",
|
|
39032
39309
|
"offset-y": ""
|
|
39033
39310
|
}, {
|
|
@@ -39085,7 +39362,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent$1({
|
|
|
39085
39362
|
_: 1
|
|
39086
39363
|
})) : createCommentVNode("", true),
|
|
39087
39364
|
__props.showProfile ? (openBlock(), createBlock(VMenu, {
|
|
39088
|
-
key:
|
|
39365
|
+
key: 3,
|
|
39089
39366
|
location: "bottom end",
|
|
39090
39367
|
"offset-y": ""
|
|
39091
39368
|
}, {
|
|
@@ -39145,12 +39422,148 @@ const _sfc_main = /* @__PURE__ */ defineComponent$1({
|
|
|
39145
39422
|
_: 1
|
|
39146
39423
|
})) : createCommentVNode("", true)
|
|
39147
39424
|
]),
|
|
39148
|
-
_:
|
|
39149
|
-
}, 8, ["color", "elevation", "height", "class"]);
|
|
39425
|
+
_: 3
|
|
39426
|
+
}, 8, ["color", "elevation", "height", "class", "aria-label"]);
|
|
39427
|
+
};
|
|
39428
|
+
}
|
|
39429
|
+
});
|
|
39430
|
+
const AppHeader = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["__scopeId", "data-v-b45b815e"]]);
|
|
39431
|
+
const makeVAppProps = propsFactory({
|
|
39432
|
+
...makeComponentProps(),
|
|
39433
|
+
...omit(makeLayoutProps(), ["fullHeight"]),
|
|
39434
|
+
...makeThemeProps()
|
|
39435
|
+
}, "VApp");
|
|
39436
|
+
const VApp = genericComponent()({
|
|
39437
|
+
name: "VApp",
|
|
39438
|
+
props: makeVAppProps(),
|
|
39439
|
+
setup(props, _ref) {
|
|
39440
|
+
let {
|
|
39441
|
+
slots
|
|
39442
|
+
} = _ref;
|
|
39443
|
+
const theme = provideTheme(props);
|
|
39444
|
+
const {
|
|
39445
|
+
layoutClasses,
|
|
39446
|
+
getLayoutItem,
|
|
39447
|
+
items,
|
|
39448
|
+
layoutRef
|
|
39449
|
+
} = createLayout({
|
|
39450
|
+
...props,
|
|
39451
|
+
fullHeight: true
|
|
39452
|
+
});
|
|
39453
|
+
const {
|
|
39454
|
+
rtlClasses
|
|
39455
|
+
} = useRtl();
|
|
39456
|
+
useRender(() => {
|
|
39457
|
+
var _a;
|
|
39458
|
+
return createElementVNode("div", {
|
|
39459
|
+
"ref": layoutRef,
|
|
39460
|
+
"class": normalizeClass(["v-application", theme.themeClasses.value, layoutClasses.value, rtlClasses.value, props.class]),
|
|
39461
|
+
"style": normalizeStyle([props.style])
|
|
39462
|
+
}, [createElementVNode("div", {
|
|
39463
|
+
"class": "v-application__wrap"
|
|
39464
|
+
}, [(_a = slots.default) == null ? void 0 : _a.call(slots)])]);
|
|
39465
|
+
});
|
|
39466
|
+
return {
|
|
39467
|
+
getLayoutItem,
|
|
39468
|
+
items,
|
|
39469
|
+
theme
|
|
39470
|
+
};
|
|
39471
|
+
}
|
|
39472
|
+
});
|
|
39473
|
+
const makeVMainProps = propsFactory({
|
|
39474
|
+
scrollable: Boolean,
|
|
39475
|
+
...makeComponentProps(),
|
|
39476
|
+
...makeDimensionProps(),
|
|
39477
|
+
...makeTagProps({
|
|
39478
|
+
tag: "main"
|
|
39479
|
+
})
|
|
39480
|
+
}, "VMain");
|
|
39481
|
+
const VMain = genericComponent()({
|
|
39482
|
+
name: "VMain",
|
|
39483
|
+
props: makeVMainProps(),
|
|
39484
|
+
setup(props, _ref) {
|
|
39485
|
+
let {
|
|
39486
|
+
slots
|
|
39487
|
+
} = _ref;
|
|
39488
|
+
const {
|
|
39489
|
+
dimensionStyles
|
|
39490
|
+
} = useDimension(props);
|
|
39491
|
+
const {
|
|
39492
|
+
mainStyles
|
|
39493
|
+
} = useLayout();
|
|
39494
|
+
const {
|
|
39495
|
+
ssrBootStyles
|
|
39496
|
+
} = useSsrBoot();
|
|
39497
|
+
useRender(() => createVNode(props.tag, {
|
|
39498
|
+
"class": normalizeClass(["v-main", {
|
|
39499
|
+
"v-main--scrollable": props.scrollable
|
|
39500
|
+
}, props.class]),
|
|
39501
|
+
"style": normalizeStyle([mainStyles.value, ssrBootStyles.value, dimensionStyles.value, props.style])
|
|
39502
|
+
}, {
|
|
39503
|
+
default: () => {
|
|
39504
|
+
var _a, _b;
|
|
39505
|
+
return [props.scrollable ? createElementVNode("div", {
|
|
39506
|
+
"class": "v-main__scroller"
|
|
39507
|
+
}, [(_a = slots.default) == null ? void 0 : _a.call(slots)]) : (_b = slots.default) == null ? void 0 : _b.call(slots)];
|
|
39508
|
+
}
|
|
39509
|
+
}));
|
|
39510
|
+
return {};
|
|
39511
|
+
}
|
|
39512
|
+
});
|
|
39513
|
+
const _hoisted_1 = { class: "page-wrapper" };
|
|
39514
|
+
const _sfc_main = /* @__PURE__ */ defineComponent$1({
|
|
39515
|
+
__name: "AppLayout",
|
|
39516
|
+
props: {
|
|
39517
|
+
header: { default: () => ({
|
|
39518
|
+
title: "Dashboard",
|
|
39519
|
+
subtitle: "",
|
|
39520
|
+
showSidebarToggle: true,
|
|
39521
|
+
showSearch: false,
|
|
39522
|
+
searchPlaceholder: "جستجو...",
|
|
39523
|
+
showNotifications: false,
|
|
39524
|
+
notificationCount: 0,
|
|
39525
|
+
showProfile: false,
|
|
39526
|
+
actions: [],
|
|
39527
|
+
color: "surface",
|
|
39528
|
+
elevation: 1,
|
|
39529
|
+
height: 70
|
|
39530
|
+
}) },
|
|
39531
|
+
sidebar: { default: () => ({
|
|
39532
|
+
menuItems: [],
|
|
39533
|
+
logo: "",
|
|
39534
|
+
logoLight: "",
|
|
39535
|
+
logoText: "UI Kit",
|
|
39536
|
+
miniSidebar: false,
|
|
39537
|
+
permanent: true,
|
|
39538
|
+
temporary: false,
|
|
39539
|
+
rail: false,
|
|
39540
|
+
location: "left",
|
|
39541
|
+
width: 265,
|
|
39542
|
+
railWidth: 75
|
|
39543
|
+
}) }
|
|
39544
|
+
},
|
|
39545
|
+
setup(__props) {
|
|
39546
|
+
useCustomizerStore();
|
|
39547
|
+
return (_ctx, _cache) => {
|
|
39548
|
+
return openBlock(), createBlock(VApp, null, {
|
|
39549
|
+
default: withCtx(() => [
|
|
39550
|
+
createVNode(AppHeader, mergeProps(__props.header, { class: "app-header" }), null, 16),
|
|
39551
|
+
createVNode(AppSidebar, mergeProps(__props.sidebar, { class: "app-sidebar" }), null, 16),
|
|
39552
|
+
createVNode(VMain, null, {
|
|
39553
|
+
default: withCtx(() => [
|
|
39554
|
+
createElementVNode("div", _hoisted_1, [
|
|
39555
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
39556
|
+
])
|
|
39557
|
+
]),
|
|
39558
|
+
_: 3
|
|
39559
|
+
})
|
|
39560
|
+
]),
|
|
39561
|
+
_: 3
|
|
39562
|
+
});
|
|
39150
39563
|
};
|
|
39151
39564
|
}
|
|
39152
39565
|
});
|
|
39153
|
-
const
|
|
39566
|
+
const AppLayout = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["__scopeId", "data-v-106317c7"]]);
|
|
39154
39567
|
function useDataTable(options) {
|
|
39155
39568
|
const items = ref([]);
|
|
39156
39569
|
const loading = ref(false);
|
|
@@ -39712,28 +40125,29 @@ const index = {
|
|
|
39712
40125
|
};
|
|
39713
40126
|
export {
|
|
39714
40127
|
AppHeader,
|
|
40128
|
+
AppLayout,
|
|
39715
40129
|
AppSidebar,
|
|
39716
40130
|
AppStepper,
|
|
39717
|
-
_sfc_main$
|
|
39718
|
-
_sfc_main$
|
|
40131
|
+
_sfc_main$i as BaseBreadcrumb,
|
|
40132
|
+
_sfc_main$h as BaseIcon,
|
|
39719
40133
|
BooleanEnum,
|
|
39720
40134
|
BooleanEnumOptions,
|
|
39721
|
-
_sfc_main$
|
|
40135
|
+
_sfc_main$g as ConfirmDialog,
|
|
39722
40136
|
CustomAutocomplete,
|
|
39723
|
-
_sfc_main$
|
|
40137
|
+
_sfc_main$c as CustomDataTable,
|
|
39724
40138
|
DateConverter,
|
|
39725
40139
|
DescriptionInput,
|
|
39726
40140
|
DigitLimit,
|
|
39727
40141
|
DownloadButton,
|
|
39728
40142
|
GreetingUtils,
|
|
39729
40143
|
Loading,
|
|
39730
|
-
_sfc_main$
|
|
40144
|
+
_sfc_main$e as MoneyInput,
|
|
39731
40145
|
NationalCodeValidator,
|
|
39732
40146
|
PdfViewer,
|
|
39733
40147
|
ShamsiDatePicker,
|
|
39734
|
-
_sfc_main$
|
|
39735
|
-
_sfc_main$
|
|
39736
|
-
_sfc_main$
|
|
40148
|
+
_sfc_main$8 as UiChildCard,
|
|
40149
|
+
_sfc_main$7 as UiParentCard,
|
|
40150
|
+
_sfc_main$6 as VPriceTextField,
|
|
39737
40151
|
configureAuth,
|
|
39738
40152
|
configureAxiosInstance,
|
|
39739
40153
|
index as default,
|