@iankibetsh/shframework 1.0.2 → 1.0.3
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/library.js +62 -94
- package/dist/library.mjs +62 -94
- package/package.json +1 -1
package/dist/library.js
CHANGED
|
@@ -1641,14 +1641,14 @@ const _hoisted_2$c = {
|
|
|
1641
1641
|
key: 0,
|
|
1642
1642
|
style: {"display":"contents"}
|
|
1643
1643
|
};
|
|
1644
|
-
const _hoisted_3$
|
|
1645
|
-
const _hoisted_4$
|
|
1644
|
+
const _hoisted_3$a = ["src"];
|
|
1645
|
+
const _hoisted_4$a = ["value"];
|
|
1646
1646
|
|
|
1647
1647
|
function render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1648
1648
|
return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$e, [
|
|
1649
1649
|
($data.selectedCountry)
|
|
1650
1650
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$c, [
|
|
1651
|
-
vue.createElementVNode("img", { src: $data.flag }, null, 8 /* PROPS */, _hoisted_3$
|
|
1651
|
+
vue.createElementVNode("img", { src: $data.flag }, null, 8 /* PROPS */, _hoisted_3$a),
|
|
1652
1652
|
vue.createTextVNode(" " + vue.toDisplayString($data.selectedCountry.dialCode), 1 /* TEXT */)
|
|
1653
1653
|
]))
|
|
1654
1654
|
: vue.createCommentVNode("v-if", true),
|
|
@@ -1661,7 +1661,7 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1661
1661
|
return (vue.openBlock(), vue.createElementBlock("option", {
|
|
1662
1662
|
value: country,
|
|
1663
1663
|
key: country.dialCode
|
|
1664
|
-
}, vue.toDisplayString(country.name + '(' + country.dialCode + ')'), 9 /* TEXT, PROPS */, _hoisted_4$
|
|
1664
|
+
}, vue.toDisplayString(country.name + '(' + country.dialCode + ')'), 9 /* TEXT, PROPS */, _hoisted_4$a))
|
|
1665
1665
|
}), 128 /* KEYED_FRAGMENT */))
|
|
1666
1666
|
], 544 /* HYDRATE_EVENTS, NEED_PATCH */), [
|
|
1667
1667
|
[vue.vModelSelect, $data.selectedCountry]
|
|
@@ -1764,9 +1764,9 @@ const _hoisted_1$c = {
|
|
|
1764
1764
|
class: "dropdown sh-suggest"
|
|
1765
1765
|
};
|
|
1766
1766
|
const _hoisted_2$b = ["id"];
|
|
1767
|
-
const _hoisted_3$
|
|
1768
|
-
const _hoisted_4$
|
|
1769
|
-
const _hoisted_5$
|
|
1767
|
+
const _hoisted_3$9 = { class: "badge bg-secondary m-1 sh-selected-item" };
|
|
1768
|
+
const _hoisted_4$9 = ["onClick"];
|
|
1769
|
+
const _hoisted_5$6 = ["id"];
|
|
1770
1770
|
const _hoisted_6$5 = ["id", "aria-labelledby"];
|
|
1771
1771
|
const _hoisted_7$4 = { key: 0 };
|
|
1772
1772
|
const _hoisted_8$3 = ["onClick"];
|
|
@@ -1870,14 +1870,14 @@ return (_ctx, _cache) => {
|
|
|
1870
1870
|
}, [
|
|
1871
1871
|
vue.createElementVNode("div", null, [
|
|
1872
1872
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(selectedSuggestions), (sgt) => {
|
|
1873
|
-
return (vue.openBlock(), vue.createElementBlock("h5", _hoisted_3$
|
|
1873
|
+
return (vue.openBlock(), vue.createElementBlock("h5", _hoisted_3$9, [
|
|
1874
1874
|
vue.createTextVNode(vue.toDisplayString(sgt.name) + " ", 1 /* TEXT */),
|
|
1875
1875
|
vue.createElementVNode("button", {
|
|
1876
1876
|
onClick: $event => (removeSuggestion(sgt.id)),
|
|
1877
1877
|
type: "button",
|
|
1878
1878
|
class: "btn-close border-start border-1 ms-1",
|
|
1879
1879
|
"aria-label": "Close"
|
|
1880
|
-
}, null, 8 /* PROPS */, _hoisted_4$
|
|
1880
|
+
}, null, 8 /* PROPS */, _hoisted_4$9)
|
|
1881
1881
|
]))
|
|
1882
1882
|
}), 256 /* UNKEYED_FRAGMENT */))
|
|
1883
1883
|
]),
|
|
@@ -1887,7 +1887,7 @@ return (_ctx, _cache) => {
|
|
|
1887
1887
|
onClick: filterData,
|
|
1888
1888
|
onInput: filterData,
|
|
1889
1889
|
class: "flex-fill h-100 sh-suggestion-input"
|
|
1890
|
-
}, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_5$
|
|
1890
|
+
}, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_5$6)
|
|
1891
1891
|
], 8 /* PROPS */, _hoisted_2$b),
|
|
1892
1892
|
vue.createElementVNode("ul", {
|
|
1893
1893
|
class: "dropdown-menu w-100",
|
|
@@ -2246,13 +2246,13 @@ const _hoisted_2$a = {
|
|
|
2246
2246
|
ref: "ShAutoForm",
|
|
2247
2247
|
class: "sh-form"
|
|
2248
2248
|
};
|
|
2249
|
-
const _hoisted_3$
|
|
2249
|
+
const _hoisted_3$8 = {
|
|
2250
2250
|
key: 0,
|
|
2251
2251
|
class: "alert alert-danger alert-dismissible fade show sh-form-submission-error",
|
|
2252
2252
|
role: "alert"
|
|
2253
2253
|
};
|
|
2254
|
-
const _hoisted_4$
|
|
2255
|
-
const _hoisted_5$
|
|
2254
|
+
const _hoisted_4$8 = /*#__PURE__*/vue.createElementVNode("i", { class: "bi-exclamation-triangle-fill me-1" }, null, -1 /* HOISTED */);
|
|
2255
|
+
const _hoisted_5$5 = { key: 0 };
|
|
2256
2256
|
const _hoisted_6$4 = { key: 1 };
|
|
2257
2257
|
const _hoisted_7$3 = { class: "row" };
|
|
2258
2258
|
const _hoisted_8$2 = { class: "fg-label control-label text-capitalize control-bel col-md-12 request-form-label mb-2" };
|
|
@@ -2308,10 +2308,10 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2308
2308
|
vue.createCommentVNode(" <div v-if=\"form_status == 1\" class=\"alert alert-info\">Processing...</div>"),
|
|
2309
2309
|
vue.createCommentVNode(" <div v-if=\"form_status == 2\" class=\"alert alert-success\">Success</div>"),
|
|
2310
2310
|
(_ctx.form_status == 3)
|
|
2311
|
-
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$
|
|
2312
|
-
_hoisted_4$
|
|
2311
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$8, [
|
|
2312
|
+
_hoisted_4$8,
|
|
2313
2313
|
(_ctx.errorText)
|
|
2314
|
-
? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$
|
|
2314
|
+
? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$5, vue.toDisplayString(_ctx.errorText), 1 /* TEXT */))
|
|
2315
2315
|
: (vue.openBlock(), vue.createElementBlock("span", _hoisted_6$4, "Unexpected Error Occurred")),
|
|
2316
2316
|
vue.createCommentVNode(" <button @click=\"hideError\" type=\"button\" class=\"btn-close\" aria-label=\"Close\"></button>")
|
|
2317
2317
|
]))
|
|
@@ -2593,9 +2593,9 @@ var script$9 = {
|
|
|
2593
2593
|
|
|
2594
2594
|
const _hoisted_1$9 = ["id"];
|
|
2595
2595
|
const _hoisted_2$8 = { class: "modal-content" };
|
|
2596
|
-
const _hoisted_3$
|
|
2597
|
-
const _hoisted_4$
|
|
2598
|
-
const _hoisted_5$
|
|
2596
|
+
const _hoisted_3$7 = { class: "modal-header" };
|
|
2597
|
+
const _hoisted_4$7 = { class: "modal-title" };
|
|
2598
|
+
const _hoisted_5$4 = /*#__PURE__*/vue.createElementVNode("button", {
|
|
2599
2599
|
class: "btn btn-danger btn-sm",
|
|
2600
2600
|
"data-bs-dismiss": "modal",
|
|
2601
2601
|
"data-dismiss": "modal"
|
|
@@ -2613,9 +2613,9 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2613
2613
|
class: vue.normalizeClass(["modal-dialog", `modal-${$props.modalSize}`])
|
|
2614
2614
|
}, [
|
|
2615
2615
|
vue.createElementVNode("div", _hoisted_2$8, [
|
|
2616
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
2617
|
-
vue.createElementVNode("h3", _hoisted_4$
|
|
2618
|
-
_hoisted_5$
|
|
2616
|
+
vue.createElementVNode("div", _hoisted_3$7, [
|
|
2617
|
+
vue.createElementVNode("h3", _hoisted_4$7, vue.toDisplayString($props.modalTitle), 1 /* TEXT */),
|
|
2618
|
+
_hoisted_5$4
|
|
2619
2619
|
]),
|
|
2620
2620
|
vue.createElementVNode("div", _hoisted_6$3, [
|
|
2621
2621
|
vue.createElementVNode("div", _hoisted_7$2, [
|
|
@@ -2705,11 +2705,11 @@ var script$7 = {
|
|
|
2705
2705
|
|
|
2706
2706
|
const _hoisted_1$7 = ["id"];
|
|
2707
2707
|
const _hoisted_2$7 = { class: "offcanvas-header" };
|
|
2708
|
-
const _hoisted_3$
|
|
2708
|
+
const _hoisted_3$6 = {
|
|
2709
2709
|
class: "offcanvas-title",
|
|
2710
2710
|
id: "offcanvasScrollingLabel"
|
|
2711
2711
|
};
|
|
2712
|
-
const _hoisted_4$
|
|
2712
|
+
const _hoisted_4$6 = { class: "offcanvas-body" };
|
|
2713
2713
|
|
|
2714
2714
|
function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2715
2715
|
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -2720,7 +2720,7 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2720
2720
|
"aria-labelledby": "offcanvasScrollingLabel"
|
|
2721
2721
|
}, [
|
|
2722
2722
|
vue.createElementVNode("div", _hoisted_2$7, [
|
|
2723
|
-
vue.createElementVNode("h5", _hoisted_3$
|
|
2723
|
+
vue.createElementVNode("h5", _hoisted_3$6, vue.toDisplayString($props.canvasTitle), 1 /* TEXT */),
|
|
2724
2724
|
vue.createElementVNode("button", {
|
|
2725
2725
|
type: "button",
|
|
2726
2726
|
ref: "closecanvas",
|
|
@@ -2730,7 +2730,7 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2730
2730
|
"aria-label": "Close"
|
|
2731
2731
|
}, null, 512 /* NEED_PATCH */)
|
|
2732
2732
|
]),
|
|
2733
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
2733
|
+
vue.createElementVNode("div", _hoisted_4$6, [
|
|
2734
2734
|
vue.renderSlot(_ctx.$slots, "default")
|
|
2735
2735
|
])
|
|
2736
2736
|
], 10 /* CLASS, PROPS */, _hoisted_1$7))
|
|
@@ -2812,10 +2812,10 @@ var script$6 = {
|
|
|
2812
2812
|
|
|
2813
2813
|
const _hoisted_1$6 = { key: 0 };
|
|
2814
2814
|
const _hoisted_2$6 = { class: "record_count_body mb-3" };
|
|
2815
|
-
const _hoisted_3$
|
|
2816
|
-
const _hoisted_4$
|
|
2815
|
+
const _hoisted_3$5 = /*#__PURE__*/vue.createElementVNode("span", { class: "per_page_show" }, "Showing", -1 /* HOISTED */);
|
|
2816
|
+
const _hoisted_4$5 = /*#__PURE__*/vue.createStaticVNode("<option value=\"10\">10</option><option value=\"25\">25</option><option value=\"50\">50</option><option value=\"100\">100</option><option value=\"200\">200</option>", 5);
|
|
2817
2817
|
const _hoisted_9$2 = [
|
|
2818
|
-
_hoisted_4$
|
|
2818
|
+
_hoisted_4$5
|
|
2819
2819
|
];
|
|
2820
2820
|
const _hoisted_10$1 = { class: "record_counts" };
|
|
2821
2821
|
const _hoisted_11$1 = {
|
|
@@ -2858,7 +2858,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2858
2858
|
return (!$props.loadMore)
|
|
2859
2859
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$6, [
|
|
2860
2860
|
vue.createElementVNode("div", _hoisted_2$6, [
|
|
2861
|
-
_hoisted_3$
|
|
2861
|
+
_hoisted_3$5,
|
|
2862
2862
|
vue.createTextVNode(" "),
|
|
2863
2863
|
vue.withDirectives(vue.createElementVNode("select", {
|
|
2864
2864
|
class: "select_per_page",
|
|
@@ -3348,9 +3348,9 @@ const _hoisted_2$5 = {
|
|
|
3348
3348
|
key: 0,
|
|
3349
3349
|
class: "col-md-4 mb-2"
|
|
3350
3350
|
};
|
|
3351
|
-
const _hoisted_3$
|
|
3352
|
-
const _hoisted_4$
|
|
3353
|
-
const _hoisted_5$
|
|
3351
|
+
const _hoisted_3$4 = ["disabled"];
|
|
3352
|
+
const _hoisted_4$4 = /*#__PURE__*/vue.createElementVNode("i", { class: "bi-download" }, null, -1 /* HOISTED */);
|
|
3353
|
+
const _hoisted_5$3 = /*#__PURE__*/vue.createElementVNode("span", {
|
|
3354
3354
|
class: "spinner-border spinner-border-sm",
|
|
3355
3355
|
role: "status",
|
|
3356
3356
|
"aria-hidden": "true"
|
|
@@ -3513,14 +3513,14 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3513
3513
|
}, [
|
|
3514
3514
|
(!$data.downloading)
|
|
3515
3515
|
? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
3516
|
-
_hoisted_4$
|
|
3516
|
+
_hoisted_4$4,
|
|
3517
3517
|
vue.createTextVNode(" Export ")
|
|
3518
3518
|
], 64 /* STABLE_FRAGMENT */))
|
|
3519
3519
|
: (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
3520
|
-
_hoisted_5$
|
|
3520
|
+
_hoisted_5$3,
|
|
3521
3521
|
_hoisted_6$2
|
|
3522
3522
|
], 64 /* STABLE_FRAGMENT */))
|
|
3523
|
-
], 8 /* PROPS */, _hoisted_3$
|
|
3523
|
+
], 8 /* PROPS */, _hoisted_3$4)
|
|
3524
3524
|
]))
|
|
3525
3525
|
: vue.createCommentVNode("v-if", true),
|
|
3526
3526
|
(!$props.hideSearch)
|
|
@@ -3946,13 +3946,13 @@ var script$4 = {
|
|
|
3946
3946
|
}
|
|
3947
3947
|
},
|
|
3948
3948
|
mounted () {
|
|
3949
|
-
this.generatedId =
|
|
3949
|
+
this.generatedId = 'tab' + Math.random().toString(36).slice(2);
|
|
3950
3950
|
this.resetTabCounts();
|
|
3951
3951
|
this.setTab(this.tabs[0]);
|
|
3952
3952
|
},
|
|
3953
3953
|
methods: {
|
|
3954
|
-
setTab: function(tab){
|
|
3955
|
-
if(tab){
|
|
3954
|
+
setTab: function (tab) {
|
|
3955
|
+
if (tab) {
|
|
3956
3956
|
this.currentTab = tab.replace(/_/g, ' ');
|
|
3957
3957
|
}
|
|
3958
3958
|
},
|
|
@@ -4000,68 +4000,36 @@ var script$4 = {
|
|
|
4000
4000
|
}
|
|
4001
4001
|
};
|
|
4002
4002
|
|
|
4003
|
-
const _hoisted_1$4 = {
|
|
4004
|
-
|
|
4005
|
-
class: "navbar navbar-expand-lg sh-horizontal-tabs"
|
|
4006
|
-
};
|
|
4007
|
-
const _hoisted_2$4 = ["data-bs-target"];
|
|
4008
|
-
const _hoisted_3$4 = /*#__PURE__*/vue.createElementVNode("i", { class: "bi-chevron-right float-end" }, null, -1 /* HOISTED */);
|
|
4009
|
-
const _hoisted_4$4 = ["id"];
|
|
4010
|
-
const _hoisted_5$3 = { class: "tab-content" };
|
|
4003
|
+
const _hoisted_1$4 = { class: "nav nav-tabs sh-tabs" };
|
|
4004
|
+
const _hoisted_2$4 = { class: "tab-content" };
|
|
4011
4005
|
|
|
4012
4006
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4013
4007
|
const _component_router_link = vue.resolveComponent("router-link");
|
|
4014
4008
|
const _component_router_view = vue.resolveComponent("router-view");
|
|
4015
4009
|
|
|
4016
4010
|
return (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
4017
|
-
($
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
:
|
|
4034
|
-
|
|
4035
|
-
class: vue.normalizeClass($data.isResponsive ? 'collapse navbar-collapse':''),
|
|
4036
|
-
id: $data.generatedId
|
|
4037
|
-
}, [
|
|
4038
|
-
vue.createElementVNode("ul", {
|
|
4039
|
-
class: vue.normalizeClass($data.isResponsive ? 'navbar-nav nav':'nav')
|
|
4040
|
-
}, [
|
|
4041
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($props.tabs, (tab) => {
|
|
4042
|
-
return (vue.openBlock(), vue.createElementBlock("li", {
|
|
4043
|
-
class: "nav-item",
|
|
4044
|
-
key: tab
|
|
4045
|
-
}, [
|
|
4046
|
-
vue.createVNode(_component_router_link, {
|
|
4047
|
-
onClick: $event => ($options.setTab(tab)),
|
|
4048
|
-
"active-class": 'active',
|
|
4049
|
-
class: vue.normalizeClass(["nav-link text-capitalize", 'sh_tab_' + tab]),
|
|
4050
|
-
to: $props.baseUrl+'/tab/'+tab,
|
|
4051
|
-
role: "tab"
|
|
4052
|
-
}, {
|
|
4053
|
-
default: vue.withCtx(() => [
|
|
4054
|
-
vue.createTextVNode(vue.toDisplayString(tab.replace(/_/g, ' ')), 1 /* TEXT */)
|
|
4055
|
-
]),
|
|
4056
|
-
_: 2 /* DYNAMIC */
|
|
4057
|
-
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick", "to", "class"])
|
|
4058
|
-
]))
|
|
4059
|
-
}), 128 /* KEYED_FRAGMENT */))
|
|
4060
|
-
], 2 /* CLASS */)
|
|
4061
|
-
], 10 /* CLASS, PROPS */, _hoisted_4$4)
|
|
4011
|
+
vue.createElementVNode("ul", _hoisted_1$4, [
|
|
4012
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($props.tabs, (tab) => {
|
|
4013
|
+
return (vue.openBlock(), vue.createElementBlock("li", {
|
|
4014
|
+
class: "nav-item",
|
|
4015
|
+
key: tab
|
|
4016
|
+
}, [
|
|
4017
|
+
vue.createVNode(_component_router_link, {
|
|
4018
|
+
onClick: $event => ($options.setTab(tab)),
|
|
4019
|
+
"active-class": 'active',
|
|
4020
|
+
class: vue.normalizeClass(["nav-link text-capitalize", 'sh_tab_' + tab]),
|
|
4021
|
+
to: $props.baseUrl+'/tab/'+tab,
|
|
4022
|
+
role: "tab"
|
|
4023
|
+
}, {
|
|
4024
|
+
default: vue.withCtx(() => [
|
|
4025
|
+
vue.createTextVNode(vue.toDisplayString(tab.replace(/_/g, ' ')), 1 /* TEXT */)
|
|
4026
|
+
]),
|
|
4027
|
+
_: 2 /* DYNAMIC */
|
|
4028
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick", "to", "class"])
|
|
4062
4029
|
]))
|
|
4063
|
-
|
|
4064
|
-
|
|
4030
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
4031
|
+
]),
|
|
4032
|
+
vue.createElementVNode("div", _hoisted_2$4, [
|
|
4065
4033
|
vue.createVNode(_component_router_view, {
|
|
4066
4034
|
currentTab: $data.currentTab,
|
|
4067
4035
|
sharedData: $props.sharedData,
|
package/dist/library.mjs
CHANGED
|
@@ -1629,14 +1629,14 @@ const _hoisted_2$c = {
|
|
|
1629
1629
|
key: 0,
|
|
1630
1630
|
style: {"display":"contents"}
|
|
1631
1631
|
};
|
|
1632
|
-
const _hoisted_3$
|
|
1633
|
-
const _hoisted_4$
|
|
1632
|
+
const _hoisted_3$a = ["src"];
|
|
1633
|
+
const _hoisted_4$a = ["value"];
|
|
1634
1634
|
|
|
1635
1635
|
function render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1636
1636
|
return (openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
1637
1637
|
($data.selectedCountry)
|
|
1638
1638
|
? (openBlock(), createElementBlock("div", _hoisted_2$c, [
|
|
1639
|
-
createElementVNode("img", { src: $data.flag }, null, 8 /* PROPS */, _hoisted_3$
|
|
1639
|
+
createElementVNode("img", { src: $data.flag }, null, 8 /* PROPS */, _hoisted_3$a),
|
|
1640
1640
|
createTextVNode(" " + toDisplayString($data.selectedCountry.dialCode), 1 /* TEXT */)
|
|
1641
1641
|
]))
|
|
1642
1642
|
: createCommentVNode("v-if", true),
|
|
@@ -1649,7 +1649,7 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1649
1649
|
return (openBlock(), createElementBlock("option", {
|
|
1650
1650
|
value: country,
|
|
1651
1651
|
key: country.dialCode
|
|
1652
|
-
}, toDisplayString(country.name + '(' + country.dialCode + ')'), 9 /* TEXT, PROPS */, _hoisted_4$
|
|
1652
|
+
}, toDisplayString(country.name + '(' + country.dialCode + ')'), 9 /* TEXT, PROPS */, _hoisted_4$a))
|
|
1653
1653
|
}), 128 /* KEYED_FRAGMENT */))
|
|
1654
1654
|
], 544 /* HYDRATE_EVENTS, NEED_PATCH */), [
|
|
1655
1655
|
[vModelSelect, $data.selectedCountry]
|
|
@@ -1752,9 +1752,9 @@ const _hoisted_1$c = {
|
|
|
1752
1752
|
class: "dropdown sh-suggest"
|
|
1753
1753
|
};
|
|
1754
1754
|
const _hoisted_2$b = ["id"];
|
|
1755
|
-
const _hoisted_3$
|
|
1756
|
-
const _hoisted_4$
|
|
1757
|
-
const _hoisted_5$
|
|
1755
|
+
const _hoisted_3$9 = { class: "badge bg-secondary m-1 sh-selected-item" };
|
|
1756
|
+
const _hoisted_4$9 = ["onClick"];
|
|
1757
|
+
const _hoisted_5$6 = ["id"];
|
|
1758
1758
|
const _hoisted_6$5 = ["id", "aria-labelledby"];
|
|
1759
1759
|
const _hoisted_7$4 = { key: 0 };
|
|
1760
1760
|
const _hoisted_8$3 = ["onClick"];
|
|
@@ -1858,14 +1858,14 @@ return (_ctx, _cache) => {
|
|
|
1858
1858
|
}, [
|
|
1859
1859
|
createElementVNode("div", null, [
|
|
1860
1860
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(selectedSuggestions), (sgt) => {
|
|
1861
|
-
return (openBlock(), createElementBlock("h5", _hoisted_3$
|
|
1861
|
+
return (openBlock(), createElementBlock("h5", _hoisted_3$9, [
|
|
1862
1862
|
createTextVNode(toDisplayString(sgt.name) + " ", 1 /* TEXT */),
|
|
1863
1863
|
createElementVNode("button", {
|
|
1864
1864
|
onClick: $event => (removeSuggestion(sgt.id)),
|
|
1865
1865
|
type: "button",
|
|
1866
1866
|
class: "btn-close border-start border-1 ms-1",
|
|
1867
1867
|
"aria-label": "Close"
|
|
1868
|
-
}, null, 8 /* PROPS */, _hoisted_4$
|
|
1868
|
+
}, null, 8 /* PROPS */, _hoisted_4$9)
|
|
1869
1869
|
]))
|
|
1870
1870
|
}), 256 /* UNKEYED_FRAGMENT */))
|
|
1871
1871
|
]),
|
|
@@ -1875,7 +1875,7 @@ return (_ctx, _cache) => {
|
|
|
1875
1875
|
onClick: filterData,
|
|
1876
1876
|
onInput: filterData,
|
|
1877
1877
|
class: "flex-fill h-100 sh-suggestion-input"
|
|
1878
|
-
}, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_5$
|
|
1878
|
+
}, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_5$6)
|
|
1879
1879
|
], 8 /* PROPS */, _hoisted_2$b),
|
|
1880
1880
|
createElementVNode("ul", {
|
|
1881
1881
|
class: "dropdown-menu w-100",
|
|
@@ -2234,13 +2234,13 @@ const _hoisted_2$a = {
|
|
|
2234
2234
|
ref: "ShAutoForm",
|
|
2235
2235
|
class: "sh-form"
|
|
2236
2236
|
};
|
|
2237
|
-
const _hoisted_3$
|
|
2237
|
+
const _hoisted_3$8 = {
|
|
2238
2238
|
key: 0,
|
|
2239
2239
|
class: "alert alert-danger alert-dismissible fade show sh-form-submission-error",
|
|
2240
2240
|
role: "alert"
|
|
2241
2241
|
};
|
|
2242
|
-
const _hoisted_4$
|
|
2243
|
-
const _hoisted_5$
|
|
2242
|
+
const _hoisted_4$8 = /*#__PURE__*/createElementVNode("i", { class: "bi-exclamation-triangle-fill me-1" }, null, -1 /* HOISTED */);
|
|
2243
|
+
const _hoisted_5$5 = { key: 0 };
|
|
2244
2244
|
const _hoisted_6$4 = { key: 1 };
|
|
2245
2245
|
const _hoisted_7$3 = { class: "row" };
|
|
2246
2246
|
const _hoisted_8$2 = { class: "fg-label control-label text-capitalize control-bel col-md-12 request-form-label mb-2" };
|
|
@@ -2296,10 +2296,10 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2296
2296
|
createCommentVNode(" <div v-if=\"form_status == 1\" class=\"alert alert-info\">Processing...</div>"),
|
|
2297
2297
|
createCommentVNode(" <div v-if=\"form_status == 2\" class=\"alert alert-success\">Success</div>"),
|
|
2298
2298
|
(_ctx.form_status == 3)
|
|
2299
|
-
? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
2300
|
-
_hoisted_4$
|
|
2299
|
+
? (openBlock(), createElementBlock("div", _hoisted_3$8, [
|
|
2300
|
+
_hoisted_4$8,
|
|
2301
2301
|
(_ctx.errorText)
|
|
2302
|
-
? (openBlock(), createElementBlock("span", _hoisted_5$
|
|
2302
|
+
? (openBlock(), createElementBlock("span", _hoisted_5$5, toDisplayString(_ctx.errorText), 1 /* TEXT */))
|
|
2303
2303
|
: (openBlock(), createElementBlock("span", _hoisted_6$4, "Unexpected Error Occurred")),
|
|
2304
2304
|
createCommentVNode(" <button @click=\"hideError\" type=\"button\" class=\"btn-close\" aria-label=\"Close\"></button>")
|
|
2305
2305
|
]))
|
|
@@ -2581,9 +2581,9 @@ var script$9 = {
|
|
|
2581
2581
|
|
|
2582
2582
|
const _hoisted_1$9 = ["id"];
|
|
2583
2583
|
const _hoisted_2$8 = { class: "modal-content" };
|
|
2584
|
-
const _hoisted_3$
|
|
2585
|
-
const _hoisted_4$
|
|
2586
|
-
const _hoisted_5$
|
|
2584
|
+
const _hoisted_3$7 = { class: "modal-header" };
|
|
2585
|
+
const _hoisted_4$7 = { class: "modal-title" };
|
|
2586
|
+
const _hoisted_5$4 = /*#__PURE__*/createElementVNode("button", {
|
|
2587
2587
|
class: "btn btn-danger btn-sm",
|
|
2588
2588
|
"data-bs-dismiss": "modal",
|
|
2589
2589
|
"data-dismiss": "modal"
|
|
@@ -2601,9 +2601,9 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2601
2601
|
class: normalizeClass(["modal-dialog", `modal-${$props.modalSize}`])
|
|
2602
2602
|
}, [
|
|
2603
2603
|
createElementVNode("div", _hoisted_2$8, [
|
|
2604
|
-
createElementVNode("div", _hoisted_3$
|
|
2605
|
-
createElementVNode("h3", _hoisted_4$
|
|
2606
|
-
_hoisted_5$
|
|
2604
|
+
createElementVNode("div", _hoisted_3$7, [
|
|
2605
|
+
createElementVNode("h3", _hoisted_4$7, toDisplayString($props.modalTitle), 1 /* TEXT */),
|
|
2606
|
+
_hoisted_5$4
|
|
2607
2607
|
]),
|
|
2608
2608
|
createElementVNode("div", _hoisted_6$3, [
|
|
2609
2609
|
createElementVNode("div", _hoisted_7$2, [
|
|
@@ -2693,11 +2693,11 @@ var script$7 = {
|
|
|
2693
2693
|
|
|
2694
2694
|
const _hoisted_1$7 = ["id"];
|
|
2695
2695
|
const _hoisted_2$7 = { class: "offcanvas-header" };
|
|
2696
|
-
const _hoisted_3$
|
|
2696
|
+
const _hoisted_3$6 = {
|
|
2697
2697
|
class: "offcanvas-title",
|
|
2698
2698
|
id: "offcanvasScrollingLabel"
|
|
2699
2699
|
};
|
|
2700
|
-
const _hoisted_4$
|
|
2700
|
+
const _hoisted_4$6 = { class: "offcanvas-body" };
|
|
2701
2701
|
|
|
2702
2702
|
function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2703
2703
|
return (openBlock(), createElementBlock("div", {
|
|
@@ -2708,7 +2708,7 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2708
2708
|
"aria-labelledby": "offcanvasScrollingLabel"
|
|
2709
2709
|
}, [
|
|
2710
2710
|
createElementVNode("div", _hoisted_2$7, [
|
|
2711
|
-
createElementVNode("h5", _hoisted_3$
|
|
2711
|
+
createElementVNode("h5", _hoisted_3$6, toDisplayString($props.canvasTitle), 1 /* TEXT */),
|
|
2712
2712
|
createElementVNode("button", {
|
|
2713
2713
|
type: "button",
|
|
2714
2714
|
ref: "closecanvas",
|
|
@@ -2718,7 +2718,7 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2718
2718
|
"aria-label": "Close"
|
|
2719
2719
|
}, null, 512 /* NEED_PATCH */)
|
|
2720
2720
|
]),
|
|
2721
|
-
createElementVNode("div", _hoisted_4$
|
|
2721
|
+
createElementVNode("div", _hoisted_4$6, [
|
|
2722
2722
|
renderSlot(_ctx.$slots, "default")
|
|
2723
2723
|
])
|
|
2724
2724
|
], 10 /* CLASS, PROPS */, _hoisted_1$7))
|
|
@@ -2800,10 +2800,10 @@ var script$6 = {
|
|
|
2800
2800
|
|
|
2801
2801
|
const _hoisted_1$6 = { key: 0 };
|
|
2802
2802
|
const _hoisted_2$6 = { class: "record_count_body mb-3" };
|
|
2803
|
-
const _hoisted_3$
|
|
2804
|
-
const _hoisted_4$
|
|
2803
|
+
const _hoisted_3$5 = /*#__PURE__*/createElementVNode("span", { class: "per_page_show" }, "Showing", -1 /* HOISTED */);
|
|
2804
|
+
const _hoisted_4$5 = /*#__PURE__*/createStaticVNode("<option value=\"10\">10</option><option value=\"25\">25</option><option value=\"50\">50</option><option value=\"100\">100</option><option value=\"200\">200</option>", 5);
|
|
2805
2805
|
const _hoisted_9$2 = [
|
|
2806
|
-
_hoisted_4$
|
|
2806
|
+
_hoisted_4$5
|
|
2807
2807
|
];
|
|
2808
2808
|
const _hoisted_10$1 = { class: "record_counts" };
|
|
2809
2809
|
const _hoisted_11$1 = {
|
|
@@ -2846,7 +2846,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2846
2846
|
return (!$props.loadMore)
|
|
2847
2847
|
? (openBlock(), createElementBlock("div", _hoisted_1$6, [
|
|
2848
2848
|
createElementVNode("div", _hoisted_2$6, [
|
|
2849
|
-
_hoisted_3$
|
|
2849
|
+
_hoisted_3$5,
|
|
2850
2850
|
createTextVNode(" "),
|
|
2851
2851
|
withDirectives(createElementVNode("select", {
|
|
2852
2852
|
class: "select_per_page",
|
|
@@ -3336,9 +3336,9 @@ const _hoisted_2$5 = {
|
|
|
3336
3336
|
key: 0,
|
|
3337
3337
|
class: "col-md-4 mb-2"
|
|
3338
3338
|
};
|
|
3339
|
-
const _hoisted_3$
|
|
3340
|
-
const _hoisted_4$
|
|
3341
|
-
const _hoisted_5$
|
|
3339
|
+
const _hoisted_3$4 = ["disabled"];
|
|
3340
|
+
const _hoisted_4$4 = /*#__PURE__*/createElementVNode("i", { class: "bi-download" }, null, -1 /* HOISTED */);
|
|
3341
|
+
const _hoisted_5$3 = /*#__PURE__*/createElementVNode("span", {
|
|
3342
3342
|
class: "spinner-border spinner-border-sm",
|
|
3343
3343
|
role: "status",
|
|
3344
3344
|
"aria-hidden": "true"
|
|
@@ -3501,14 +3501,14 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3501
3501
|
}, [
|
|
3502
3502
|
(!$data.downloading)
|
|
3503
3503
|
? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
3504
|
-
_hoisted_4$
|
|
3504
|
+
_hoisted_4$4,
|
|
3505
3505
|
createTextVNode(" Export ")
|
|
3506
3506
|
], 64 /* STABLE_FRAGMENT */))
|
|
3507
3507
|
: (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
3508
|
-
_hoisted_5$
|
|
3508
|
+
_hoisted_5$3,
|
|
3509
3509
|
_hoisted_6$2
|
|
3510
3510
|
], 64 /* STABLE_FRAGMENT */))
|
|
3511
|
-
], 8 /* PROPS */, _hoisted_3$
|
|
3511
|
+
], 8 /* PROPS */, _hoisted_3$4)
|
|
3512
3512
|
]))
|
|
3513
3513
|
: createCommentVNode("v-if", true),
|
|
3514
3514
|
(!$props.hideSearch)
|
|
@@ -3934,13 +3934,13 @@ var script$4 = {
|
|
|
3934
3934
|
}
|
|
3935
3935
|
},
|
|
3936
3936
|
mounted () {
|
|
3937
|
-
this.generatedId =
|
|
3937
|
+
this.generatedId = 'tab' + Math.random().toString(36).slice(2);
|
|
3938
3938
|
this.resetTabCounts();
|
|
3939
3939
|
this.setTab(this.tabs[0]);
|
|
3940
3940
|
},
|
|
3941
3941
|
methods: {
|
|
3942
|
-
setTab: function(tab){
|
|
3943
|
-
if(tab){
|
|
3942
|
+
setTab: function (tab) {
|
|
3943
|
+
if (tab) {
|
|
3944
3944
|
this.currentTab = tab.replace(/_/g, ' ');
|
|
3945
3945
|
}
|
|
3946
3946
|
},
|
|
@@ -3988,68 +3988,36 @@ var script$4 = {
|
|
|
3988
3988
|
}
|
|
3989
3989
|
};
|
|
3990
3990
|
|
|
3991
|
-
const _hoisted_1$4 = {
|
|
3992
|
-
|
|
3993
|
-
class: "navbar navbar-expand-lg sh-horizontal-tabs"
|
|
3994
|
-
};
|
|
3995
|
-
const _hoisted_2$4 = ["data-bs-target"];
|
|
3996
|
-
const _hoisted_3$4 = /*#__PURE__*/createElementVNode("i", { class: "bi-chevron-right float-end" }, null, -1 /* HOISTED */);
|
|
3997
|
-
const _hoisted_4$4 = ["id"];
|
|
3998
|
-
const _hoisted_5$3 = { class: "tab-content" };
|
|
3991
|
+
const _hoisted_1$4 = { class: "nav nav-tabs sh-tabs" };
|
|
3992
|
+
const _hoisted_2$4 = { class: "tab-content" };
|
|
3999
3993
|
|
|
4000
3994
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4001
3995
|
const _component_router_link = resolveComponent("router-link");
|
|
4002
3996
|
const _component_router_view = resolveComponent("router-view");
|
|
4003
3997
|
|
|
4004
3998
|
return (openBlock(), createElementBlock(Fragment, null, [
|
|
4005
|
-
($
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
:
|
|
4022
|
-
|
|
4023
|
-
class: normalizeClass($data.isResponsive ? 'collapse navbar-collapse':''),
|
|
4024
|
-
id: $data.generatedId
|
|
4025
|
-
}, [
|
|
4026
|
-
createElementVNode("ul", {
|
|
4027
|
-
class: normalizeClass($data.isResponsive ? 'navbar-nav nav':'nav')
|
|
4028
|
-
}, [
|
|
4029
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList($props.tabs, (tab) => {
|
|
4030
|
-
return (openBlock(), createElementBlock("li", {
|
|
4031
|
-
class: "nav-item",
|
|
4032
|
-
key: tab
|
|
4033
|
-
}, [
|
|
4034
|
-
createVNode(_component_router_link, {
|
|
4035
|
-
onClick: $event => ($options.setTab(tab)),
|
|
4036
|
-
"active-class": 'active',
|
|
4037
|
-
class: normalizeClass(["nav-link text-capitalize", 'sh_tab_' + tab]),
|
|
4038
|
-
to: $props.baseUrl+'/tab/'+tab,
|
|
4039
|
-
role: "tab"
|
|
4040
|
-
}, {
|
|
4041
|
-
default: withCtx(() => [
|
|
4042
|
-
createTextVNode(toDisplayString(tab.replace(/_/g, ' ')), 1 /* TEXT */)
|
|
4043
|
-
]),
|
|
4044
|
-
_: 2 /* DYNAMIC */
|
|
4045
|
-
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick", "to", "class"])
|
|
4046
|
-
]))
|
|
4047
|
-
}), 128 /* KEYED_FRAGMENT */))
|
|
4048
|
-
], 2 /* CLASS */)
|
|
4049
|
-
], 10 /* CLASS, PROPS */, _hoisted_4$4)
|
|
3999
|
+
createElementVNode("ul", _hoisted_1$4, [
|
|
4000
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($props.tabs, (tab) => {
|
|
4001
|
+
return (openBlock(), createElementBlock("li", {
|
|
4002
|
+
class: "nav-item",
|
|
4003
|
+
key: tab
|
|
4004
|
+
}, [
|
|
4005
|
+
createVNode(_component_router_link, {
|
|
4006
|
+
onClick: $event => ($options.setTab(tab)),
|
|
4007
|
+
"active-class": 'active',
|
|
4008
|
+
class: normalizeClass(["nav-link text-capitalize", 'sh_tab_' + tab]),
|
|
4009
|
+
to: $props.baseUrl+'/tab/'+tab,
|
|
4010
|
+
role: "tab"
|
|
4011
|
+
}, {
|
|
4012
|
+
default: withCtx(() => [
|
|
4013
|
+
createTextVNode(toDisplayString(tab.replace(/_/g, ' ')), 1 /* TEXT */)
|
|
4014
|
+
]),
|
|
4015
|
+
_: 2 /* DYNAMIC */
|
|
4016
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick", "to", "class"])
|
|
4050
4017
|
]))
|
|
4051
|
-
|
|
4052
|
-
|
|
4018
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
4019
|
+
]),
|
|
4020
|
+
createElementVNode("div", _hoisted_2$4, [
|
|
4053
4021
|
createVNode(_component_router_view, {
|
|
4054
4022
|
currentTab: $data.currentTab,
|
|
4055
4023
|
sharedData: $props.sharedData,
|