@iankibetsh/shframework 1.9.3 → 1.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/library.js +259 -220
- package/dist/library.mjs +225 -205
- package/package.json +1 -1
package/dist/library.js
CHANGED
|
@@ -14,6 +14,24 @@ var bootstrap = require('bootstrap');
|
|
|
14
14
|
|
|
15
15
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
16
16
|
|
|
17
|
+
function _interopNamespace(e) {
|
|
18
|
+
if (e && e.__esModule) return e;
|
|
19
|
+
var n = Object.create(null);
|
|
20
|
+
if (e) {
|
|
21
|
+
Object.keys(e).forEach(function (k) {
|
|
22
|
+
if (k !== 'default') {
|
|
23
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
24
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () { return e[k]; }
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
n["default"] = e;
|
|
32
|
+
return Object.freeze(n);
|
|
33
|
+
}
|
|
34
|
+
|
|
17
35
|
var Axios__default = /*#__PURE__*/_interopDefaultLegacy(Axios);
|
|
18
36
|
var moment__default = /*#__PURE__*/_interopDefaultLegacy(moment);
|
|
19
37
|
var Swal__default = /*#__PURE__*/_interopDefaultLegacy(Swal);
|
|
@@ -1888,7 +1906,7 @@ const countries = [
|
|
|
1888
1906
|
}
|
|
1889
1907
|
];
|
|
1890
1908
|
|
|
1891
|
-
var script$
|
|
1909
|
+
var script$v = {
|
|
1892
1910
|
name: 'PhoneInput',
|
|
1893
1911
|
props: ['modelValue', 'country_code'],
|
|
1894
1912
|
data () {
|
|
@@ -1959,18 +1977,18 @@ var script$u = {
|
|
|
1959
1977
|
};
|
|
1960
1978
|
|
|
1961
1979
|
const _hoisted_1$o = { class: "sh-phone mb-3" };
|
|
1962
|
-
const _hoisted_2$
|
|
1980
|
+
const _hoisted_2$f = {
|
|
1963
1981
|
key: 0,
|
|
1964
1982
|
style: {"display":"contents"}
|
|
1965
1983
|
};
|
|
1966
|
-
const _hoisted_3$
|
|
1967
|
-
const _hoisted_4$
|
|
1984
|
+
const _hoisted_3$e = ["src"];
|
|
1985
|
+
const _hoisted_4$e = ["value"];
|
|
1968
1986
|
|
|
1969
|
-
function render$
|
|
1987
|
+
function render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1970
1988
|
return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$o, [
|
|
1971
1989
|
($data.selectedCountry)
|
|
1972
|
-
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
1973
|
-
vue.createElementVNode("img", { src: $data.flag }, null, 8 /* PROPS */, _hoisted_3$
|
|
1990
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$f, [
|
|
1991
|
+
vue.createElementVNode("img", { src: $data.flag }, null, 8 /* PROPS */, _hoisted_3$e),
|
|
1974
1992
|
vue.createTextVNode(" " + vue.toDisplayString($data.selectedCountry.dialCode), 1 /* TEXT */)
|
|
1975
1993
|
]))
|
|
1976
1994
|
: vue.createCommentVNode("v-if", true),
|
|
@@ -1983,7 +2001,7 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1983
2001
|
return (vue.openBlock(), vue.createElementBlock("option", {
|
|
1984
2002
|
value: country,
|
|
1985
2003
|
key: country.dialCode
|
|
1986
|
-
}, vue.toDisplayString(country.name + '(' + country.dialCode + ')'), 9 /* TEXT, PROPS */, _hoisted_4$
|
|
2004
|
+
}, vue.toDisplayString(country.name + '(' + country.dialCode + ')'), 9 /* TEXT, PROPS */, _hoisted_4$e))
|
|
1987
2005
|
}), 128 /* KEYED_FRAGMENT */))
|
|
1988
2006
|
], 544 /* HYDRATE_EVENTS, NEED_PATCH */), [
|
|
1989
2007
|
[vue.vModelSelect, $data.selectedCountry]
|
|
@@ -2001,16 +2019,16 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2001
2019
|
]))
|
|
2002
2020
|
}
|
|
2003
2021
|
|
|
2004
|
-
script$
|
|
2005
|
-
script$
|
|
2022
|
+
script$v.render = render$5;
|
|
2023
|
+
script$v.__file = "src/lib/components/form-components/PhoneInput.vue";
|
|
2006
2024
|
|
|
2007
2025
|
const _hoisted_1$n = {
|
|
2008
2026
|
key: 0,
|
|
2009
2027
|
class: "dropdown sh-suggest"
|
|
2010
2028
|
};
|
|
2011
|
-
const _hoisted_2$
|
|
2012
|
-
const _hoisted_3$
|
|
2013
|
-
const _hoisted_4$
|
|
2029
|
+
const _hoisted_2$e = ["id"];
|
|
2030
|
+
const _hoisted_3$d = { class: "badge bg-secondary m-1 sh-selected-item" };
|
|
2031
|
+
const _hoisted_4$d = ["onClick"];
|
|
2014
2032
|
const _hoisted_5$a = ["id"];
|
|
2015
2033
|
const _hoisted_6$9 = ["id", "aria-labelledby"];
|
|
2016
2034
|
const _hoisted_7$7 = { key: 0 };
|
|
@@ -2025,7 +2043,7 @@ const _hoisted_10$5 = {
|
|
|
2025
2043
|
};
|
|
2026
2044
|
|
|
2027
2045
|
|
|
2028
|
-
var script$
|
|
2046
|
+
var script$u = {
|
|
2029
2047
|
__name: 'ShSuggest',
|
|
2030
2048
|
props: ['fillSelects','modelValue'],
|
|
2031
2049
|
emits: ['update:modelValue'],
|
|
@@ -2115,14 +2133,14 @@ return (_ctx, _cache) => {
|
|
|
2115
2133
|
}, [
|
|
2116
2134
|
vue.createElementVNode("div", null, [
|
|
2117
2135
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(selectedSuggestions), (sgt) => {
|
|
2118
|
-
return (vue.openBlock(), vue.createElementBlock("h5", _hoisted_3$
|
|
2136
|
+
return (vue.openBlock(), vue.createElementBlock("h5", _hoisted_3$d, [
|
|
2119
2137
|
vue.createTextVNode(vue.toDisplayString(sgt.name) + " ", 1 /* TEXT */),
|
|
2120
2138
|
vue.createElementVNode("button", {
|
|
2121
2139
|
onClick: $event => (removeSuggestion(sgt.id)),
|
|
2122
2140
|
type: "button",
|
|
2123
2141
|
class: "btn-close border-start border-1 ms-1",
|
|
2124
2142
|
"aria-label": "Close"
|
|
2125
|
-
}, null, 8 /* PROPS */, _hoisted_4$
|
|
2143
|
+
}, null, 8 /* PROPS */, _hoisted_4$d)
|
|
2126
2144
|
]))
|
|
2127
2145
|
}), 256 /* UNKEYED_FRAGMENT */))
|
|
2128
2146
|
]),
|
|
@@ -2133,7 +2151,7 @@ return (_ctx, _cache) => {
|
|
|
2133
2151
|
onInput: filterData,
|
|
2134
2152
|
class: "flex-fill h-100 sh-suggestion-input"
|
|
2135
2153
|
}, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_5$a)
|
|
2136
|
-
], 8 /* PROPS */, _hoisted_2$
|
|
2154
|
+
], 8 /* PROPS */, _hoisted_2$e),
|
|
2137
2155
|
vue.createElementVNode("ul", {
|
|
2138
2156
|
class: "dropdown-menu w-100",
|
|
2139
2157
|
id: 'dropwdown_section' + vue.unref(id),
|
|
@@ -2166,15 +2184,15 @@ return (_ctx, _cache) => {
|
|
|
2166
2184
|
|
|
2167
2185
|
};
|
|
2168
2186
|
|
|
2169
|
-
script$
|
|
2170
|
-
script$
|
|
2187
|
+
script$u.__scopeId = "data-v-71cc9569";
|
|
2188
|
+
script$u.__file = "src/lib/components/form-components/ShSuggest.vue";
|
|
2171
2189
|
|
|
2172
|
-
var script$
|
|
2190
|
+
var script$t = {
|
|
2173
2191
|
name: 'ShForm',
|
|
2174
2192
|
components: {
|
|
2175
|
-
PhoneInput: script$
|
|
2176
|
-
ShSuggest: script$
|
|
2177
|
-
ShPhone: script$
|
|
2193
|
+
PhoneInput: script$v,
|
|
2194
|
+
ShSuggest: script$u,
|
|
2195
|
+
ShPhone: script$v
|
|
2178
2196
|
},
|
|
2179
2197
|
props: [
|
|
2180
2198
|
'action',
|
|
@@ -2497,16 +2515,16 @@ var script$s = {
|
|
|
2497
2515
|
};
|
|
2498
2516
|
|
|
2499
2517
|
const _hoisted_1$m = /*#__PURE__*/vue.createElementVNode("h5", { class: "d-none" }, null, -1 /* HOISTED */);
|
|
2500
|
-
const _hoisted_2$
|
|
2518
|
+
const _hoisted_2$d = {
|
|
2501
2519
|
ref: "ShAutoForm",
|
|
2502
2520
|
class: "sh-form"
|
|
2503
2521
|
};
|
|
2504
|
-
const _hoisted_3$
|
|
2522
|
+
const _hoisted_3$c = {
|
|
2505
2523
|
key: 0,
|
|
2506
2524
|
class: "alert alert-danger alert-dismissible fade show sh-form-submission-error",
|
|
2507
2525
|
role: "alert"
|
|
2508
2526
|
};
|
|
2509
|
-
const _hoisted_4$
|
|
2527
|
+
const _hoisted_4$c = /*#__PURE__*/vue.createElementVNode("i", { class: "bi-exclamation-triangle-fill me-1" }, null, -1 /* HOISTED */);
|
|
2510
2528
|
const _hoisted_5$9 = { key: 0 };
|
|
2511
2529
|
const _hoisted_6$8 = { key: 1 };
|
|
2512
2530
|
const _hoisted_7$6 = { class: "row" };
|
|
@@ -2552,18 +2570,18 @@ const _hoisted_24$1 = /*#__PURE__*/vue.createElementVNode("span", {
|
|
|
2552
2570
|
"aria-hidden": "true"
|
|
2553
2571
|
}, null, -1 /* HOISTED */);
|
|
2554
2572
|
|
|
2555
|
-
function render$
|
|
2573
|
+
function render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2556
2574
|
const _component_phone_input = vue.resolveComponent("phone-input");
|
|
2557
2575
|
const _component_ShSuggest = vue.resolveComponent("ShSuggest");
|
|
2558
2576
|
|
|
2559
2577
|
return (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
2560
2578
|
_hoisted_1$m,
|
|
2561
|
-
vue.createElementVNode("form", _hoisted_2$
|
|
2579
|
+
vue.createElementVNode("form", _hoisted_2$d, [
|
|
2562
2580
|
vue.createCommentVNode(" <div v-if=\"form_status == 1\" class=\"alert alert-info\">Processing...</div>"),
|
|
2563
2581
|
vue.createCommentVNode(" <div v-if=\"form_status == 2\" class=\"alert alert-success\">Success</div>"),
|
|
2564
2582
|
(_ctx.form_status == 3)
|
|
2565
|
-
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$
|
|
2566
|
-
_hoisted_4$
|
|
2583
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$c, [
|
|
2584
|
+
_hoisted_4$c,
|
|
2567
2585
|
(_ctx.errorText)
|
|
2568
2586
|
? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$9, vue.toDisplayString(_ctx.errorText), 1 /* TEXT */))
|
|
2569
2587
|
: (vue.openBlock(), vue.createElementBlock("span", _hoisted_6$8, "Unexpected Error Occurred")),
|
|
@@ -2763,10 +2781,10 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2763
2781
|
], 64 /* STABLE_FRAGMENT */))
|
|
2764
2782
|
}
|
|
2765
2783
|
|
|
2766
|
-
script$
|
|
2767
|
-
script$
|
|
2784
|
+
script$t.render = render$4;
|
|
2785
|
+
script$t.__file = "src/lib/components/ShForm.vue";
|
|
2768
2786
|
|
|
2769
|
-
var script$
|
|
2787
|
+
var script$s = {
|
|
2770
2788
|
__name: 'EmailInput',
|
|
2771
2789
|
props: ['modelValue','label'],
|
|
2772
2790
|
emits: ['update:modelValue','clearValidationErrors'],
|
|
@@ -2806,12 +2824,12 @@ return (_ctx, _cache) => {
|
|
|
2806
2824
|
|
|
2807
2825
|
};
|
|
2808
2826
|
|
|
2809
|
-
script$
|
|
2827
|
+
script$s.__file = "src/lib/components/form-components/EmailInput.vue";
|
|
2810
2828
|
|
|
2811
2829
|
const _hoisted_1$l = ["min", "max"];
|
|
2812
2830
|
|
|
2813
2831
|
|
|
2814
|
-
var script$
|
|
2832
|
+
var script$r = {
|
|
2815
2833
|
__name: 'NumberInput',
|
|
2816
2834
|
props: ['modelValue','label','min','max'],
|
|
2817
2835
|
emits: ['update:modelValue','clearValidationErrors'],
|
|
@@ -2853,9 +2871,9 @@ return (_ctx, _cache) => {
|
|
|
2853
2871
|
|
|
2854
2872
|
};
|
|
2855
2873
|
|
|
2856
|
-
script$
|
|
2874
|
+
script$r.__file = "src/lib/components/form-components/NumberInput.vue";
|
|
2857
2875
|
|
|
2858
|
-
var script$
|
|
2876
|
+
var script$q = {
|
|
2859
2877
|
__name: 'TextInput',
|
|
2860
2878
|
props: ['modelValue','label','isInvalid'],
|
|
2861
2879
|
emits: ['update:modelValue','clearValidationErrors'],
|
|
@@ -2897,9 +2915,9 @@ return (_ctx, _cache) => {
|
|
|
2897
2915
|
|
|
2898
2916
|
};
|
|
2899
2917
|
|
|
2900
|
-
script$
|
|
2918
|
+
script$q.__file = "src/lib/components/form-components/TextInput.vue";
|
|
2901
2919
|
|
|
2902
|
-
var script$
|
|
2920
|
+
var script$p = {
|
|
2903
2921
|
__name: 'TextAreaInput',
|
|
2904
2922
|
props: ['modelValue','label'],
|
|
2905
2923
|
emits: ['update:modelValue','clearValidationErrors'],
|
|
@@ -2939,12 +2957,12 @@ return (_ctx, _cache) => {
|
|
|
2939
2957
|
|
|
2940
2958
|
};
|
|
2941
2959
|
|
|
2942
|
-
script$
|
|
2960
|
+
script$p.__file = "src/lib/components/form-components/TextAreaInput.vue";
|
|
2943
2961
|
|
|
2944
2962
|
const _hoisted_1$k = ["value"];
|
|
2945
2963
|
|
|
2946
2964
|
|
|
2947
|
-
var script$
|
|
2965
|
+
var script$o = {
|
|
2948
2966
|
__name: 'SelectInput',
|
|
2949
2967
|
props: ['modelValue','label','data','dataUrl'],
|
|
2950
2968
|
emits: ['update:modelValue','clearValidationErrors'],
|
|
@@ -3009,9 +3027,9 @@ return (_ctx, _cache) => {
|
|
|
3009
3027
|
|
|
3010
3028
|
};
|
|
3011
3029
|
|
|
3012
|
-
script$
|
|
3030
|
+
script$o.__file = "src/lib/components/form-components/SelectInput.vue";
|
|
3013
3031
|
|
|
3014
|
-
var script$
|
|
3032
|
+
var script$n = {
|
|
3015
3033
|
__name: 'PasswordInput',
|
|
3016
3034
|
props: ['modelValue','label'],
|
|
3017
3035
|
emits: ['update:modelValue','clearValidationErrors'],
|
|
@@ -3047,12 +3065,12 @@ return (_ctx, _cache) => {
|
|
|
3047
3065
|
|
|
3048
3066
|
};
|
|
3049
3067
|
|
|
3050
|
-
script$
|
|
3068
|
+
script$n.__file = "src/lib/components/form-components/PasswordInput.vue";
|
|
3051
3069
|
|
|
3052
3070
|
const _hoisted_1$j = /*#__PURE__*/vue.createElementVNode("div", null, null, -1 /* HOISTED */);
|
|
3053
|
-
const _hoisted_2$
|
|
3054
|
-
const _hoisted_3$
|
|
3055
|
-
const _hoisted_4$
|
|
3071
|
+
const _hoisted_2$c = ["onUpdate:modelValue"];
|
|
3072
|
+
const _hoisted_3$b = ["innerHTML"];
|
|
3073
|
+
const _hoisted_4$b = ["innerHTML"];
|
|
3056
3074
|
const _hoisted_5$8 = ["innerHTML"];
|
|
3057
3075
|
const _hoisted_6$7 = ["disabled"];
|
|
3058
3076
|
const _hoisted_7$5 = {
|
|
@@ -3064,7 +3082,7 @@ const _hoisted_7$5 = {
|
|
|
3064
3082
|
const _hoisted_8$4 = { key: 1 };
|
|
3065
3083
|
|
|
3066
3084
|
|
|
3067
|
-
var script$
|
|
3085
|
+
var script$m = {
|
|
3068
3086
|
__name: 'ShAutoForm',
|
|
3069
3087
|
props: [
|
|
3070
3088
|
'action','successCallback','retainDataAfterSubmission',
|
|
@@ -3097,13 +3115,13 @@ const getFieldComponent = (fieldObj)=>{
|
|
|
3097
3115
|
const defaultPhones = ['phone'];
|
|
3098
3116
|
const defaultEmails = ['email'];
|
|
3099
3117
|
const formComponents = vue.inject('formComponents');
|
|
3100
|
-
const TextComponent = formComponents.text ?? script$
|
|
3101
|
-
const TextAreaComponent = formComponents.textArea ?? script$
|
|
3102
|
-
const EmailComponent = formComponents.email ?? script$
|
|
3103
|
-
const PhoneComponent = formComponents.phone ?? script$
|
|
3104
|
-
const NumberComponent = formComponents.number ?? script$
|
|
3105
|
-
const SelectComponent = formComponents.select ?? script$
|
|
3106
|
-
const PasswordComponent = formComponents.password ?? script$
|
|
3118
|
+
const TextComponent = formComponents.text ?? script$q;
|
|
3119
|
+
const TextAreaComponent = formComponents.textArea ?? script$p;
|
|
3120
|
+
const EmailComponent = formComponents.email ?? script$s;
|
|
3121
|
+
const PhoneComponent = formComponents.phone ?? script$v;
|
|
3122
|
+
const NumberComponent = formComponents.number ?? script$r;
|
|
3123
|
+
const SelectComponent = formComponents.select ?? script$o;
|
|
3124
|
+
const PasswordComponent = formComponents.password ?? script$n;
|
|
3107
3125
|
if(props.customComponents && props.customComponents[field]) {
|
|
3108
3126
|
return props.customComponents[field]
|
|
3109
3127
|
}
|
|
@@ -3115,16 +3133,16 @@ const getFieldComponent = (fieldObj)=>{
|
|
|
3115
3133
|
}
|
|
3116
3134
|
else
|
|
3117
3135
|
if((props.textAreas && props.textAreas.includes(field)) || defaultTextareas.includes(field)){
|
|
3118
|
-
return formComponents.textArea ?? script$
|
|
3136
|
+
return formComponents.textArea ?? script$p
|
|
3119
3137
|
} else
|
|
3120
3138
|
if((props.emails && props.emails.includes(field)) || defaultEmails.includes(field)){
|
|
3121
|
-
return formComponents.email ?? script$
|
|
3139
|
+
return formComponents.email ?? script$s
|
|
3122
3140
|
} else
|
|
3123
3141
|
if((props.phones && props.phones.includes(field)) || defaultPhones.includes(field)){
|
|
3124
|
-
return formComponents.phone ?? script$
|
|
3142
|
+
return formComponents.phone ?? script$v
|
|
3125
3143
|
} else
|
|
3126
3144
|
if((props.numbers && props.numbers.includes(field)) || defaultNumbers.includes(field)){
|
|
3127
|
-
return formComponents.number ?? script$
|
|
3145
|
+
return formComponents.number ?? script$r
|
|
3128
3146
|
}
|
|
3129
3147
|
// else
|
|
3130
3148
|
// if((props.selects && props.selects.includes(field)) || defaultSelects.includes(field)){
|
|
@@ -3133,7 +3151,7 @@ const getFieldComponent = (fieldObj)=>{
|
|
|
3133
3151
|
// if((props.dates && props.dates.includes(field)) || defaultDates.includes(field)){
|
|
3134
3152
|
// return formComponents.date ?? DateInput
|
|
3135
3153
|
// }
|
|
3136
|
-
return formComponents.text ?? script$
|
|
3154
|
+
return formComponents.text ?? script$q
|
|
3137
3155
|
};
|
|
3138
3156
|
const shFormElementClasses = vue.ref(null);
|
|
3139
3157
|
shFormElementClasses.value = vue.inject('shFormElementClasses');
|
|
@@ -3288,7 +3306,7 @@ return (_ctx, _cache) => {
|
|
|
3288
3306
|
key: 0,
|
|
3289
3307
|
type: "hidden",
|
|
3290
3308
|
"onUpdate:modelValue": $event => ((formFields.value[index].value) = $event)
|
|
3291
|
-
}, null, 8 /* PROPS */, _hoisted_2$
|
|
3309
|
+
}, null, 8 /* PROPS */, _hoisted_2$c)), [
|
|
3292
3310
|
[vue.vModelText, formFields.value[index].value]
|
|
3293
3311
|
])
|
|
3294
3312
|
: (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
@@ -3297,7 +3315,7 @@ return (_ctx, _cache) => {
|
|
|
3297
3315
|
key: 0,
|
|
3298
3316
|
class: vue.normalizeClass(getElementClass('formLabel')),
|
|
3299
3317
|
innerHTML: field.label
|
|
3300
|
-
}, null, 10 /* CLASS, PROPS */, _hoisted_3$
|
|
3318
|
+
}, null, 10 /* CLASS, PROPS */, _hoisted_3$b))
|
|
3301
3319
|
: vue.createCommentVNode("v-if", true),
|
|
3302
3320
|
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(getFieldComponent(field)), vue.mergeProps(getComponentProps(field), {
|
|
3303
3321
|
isInvalid: typeof validationErrors.value[field.field] !== 'undefined',
|
|
@@ -3311,7 +3329,7 @@ return (_ctx, _cache) => {
|
|
|
3311
3329
|
key: 1,
|
|
3312
3330
|
class: vue.normalizeClass(getElementClass('formLabel')),
|
|
3313
3331
|
innerHTML: field.label
|
|
3314
|
-
}, null, 10 /* CLASS, PROPS */, _hoisted_4$
|
|
3332
|
+
}, null, 10 /* CLASS, PROPS */, _hoisted_4$b))
|
|
3315
3333
|
: vue.createCommentVNode("v-if", true),
|
|
3316
3334
|
(field.helper)
|
|
3317
3335
|
? (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -3354,12 +3372,12 @@ return (_ctx, _cache) => {
|
|
|
3354
3372
|
|
|
3355
3373
|
};
|
|
3356
3374
|
|
|
3357
|
-
script$
|
|
3375
|
+
script$m.__file = "src/lib/components/ShAutoForm.vue";
|
|
3358
3376
|
|
|
3359
3377
|
const _hoisted_1$i = /*#__PURE__*/vue.createElementVNode("h5", { class: "d-none" }, "To prevent default class", -1 /* HOISTED */);
|
|
3360
|
-
const _hoisted_2$
|
|
3378
|
+
const _hoisted_2$b = { class: "dropdown" };
|
|
3361
3379
|
|
|
3362
|
-
var script$
|
|
3380
|
+
var script$l = {
|
|
3363
3381
|
__name: 'ShDropDownForm',
|
|
3364
3382
|
props: ['action',
|
|
3365
3383
|
'classes',
|
|
@@ -3390,7 +3408,7 @@ const dropdownId = 'rand' + (Math.random() + 1).toString(36).substring(2);
|
|
|
3390
3408
|
return (_ctx, _cache) => {
|
|
3391
3409
|
return (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
3392
3410
|
_hoisted_1$i,
|
|
3393
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
3411
|
+
vue.createElementVNode("div", _hoisted_2$b, [
|
|
3394
3412
|
vue.createElementVNode("a", {
|
|
3395
3413
|
class: vue.normalizeClass(vue.unref(btnClass)),
|
|
3396
3414
|
href: "#",
|
|
@@ -3406,7 +3424,7 @@ return (_ctx, _cache) => {
|
|
|
3406
3424
|
class: "dropdown-menu px-2 py-1",
|
|
3407
3425
|
"aria-labelledby": dropdownId
|
|
3408
3426
|
}, [
|
|
3409
|
-
vue.createVNode(script$
|
|
3427
|
+
vue.createVNode(script$t, vue.normalizeProps(vue.guardReactiveProps(props)), null, 16 /* FULL_PROPS */)
|
|
3410
3428
|
])
|
|
3411
3429
|
])
|
|
3412
3430
|
], 64 /* STABLE_FRAGMENT */))
|
|
@@ -3415,12 +3433,12 @@ return (_ctx, _cache) => {
|
|
|
3415
3433
|
|
|
3416
3434
|
};
|
|
3417
3435
|
|
|
3418
|
-
script$
|
|
3436
|
+
script$l.__file = "src/lib/components/ShDropDownForm.vue";
|
|
3419
3437
|
|
|
3420
3438
|
const _hoisted_1$h = ["id"];
|
|
3421
|
-
const _hoisted_2$
|
|
3422
|
-
const _hoisted_3$
|
|
3423
|
-
const _hoisted_4$
|
|
3439
|
+
const _hoisted_2$a = { class: "modal-content" };
|
|
3440
|
+
const _hoisted_3$a = { class: "modal-header" };
|
|
3441
|
+
const _hoisted_4$a = { class: "modal-title" };
|
|
3424
3442
|
const _hoisted_5$7 = /*#__PURE__*/vue.createElementVNode("button", {
|
|
3425
3443
|
class: "btn btn-danger btn-sm",
|
|
3426
3444
|
"data-bs-dismiss": "modal",
|
|
@@ -3429,7 +3447,7 @@ const _hoisted_5$7 = /*#__PURE__*/vue.createElementVNode("button", {
|
|
|
3429
3447
|
const _hoisted_6$6 = { class: "modal-body" };
|
|
3430
3448
|
const _hoisted_7$4 = { class: "section" };
|
|
3431
3449
|
|
|
3432
|
-
var script$
|
|
3450
|
+
var script$k = {
|
|
3433
3451
|
__name: 'ShModal',
|
|
3434
3452
|
props: {
|
|
3435
3453
|
modalId: {
|
|
@@ -3466,9 +3484,9 @@ return (_ctx, _cache) => {
|
|
|
3466
3484
|
vue.createElementVNode("div", {
|
|
3467
3485
|
class: vue.normalizeClass(["modal-dialog", `modal-${__props.modalSize}`])
|
|
3468
3486
|
}, [
|
|
3469
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
3470
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
3471
|
-
vue.createElementVNode("h3", _hoisted_4$
|
|
3487
|
+
vue.createElementVNode("div", _hoisted_2$a, [
|
|
3488
|
+
vue.createElementVNode("div", _hoisted_3$a, [
|
|
3489
|
+
vue.createElementVNode("h3", _hoisted_4$a, vue.toDisplayString(__props.modalTitle), 1 /* TEXT */),
|
|
3472
3490
|
_hoisted_5$7
|
|
3473
3491
|
]),
|
|
3474
3492
|
vue.createElementVNode("div", _hoisted_6$6, [
|
|
@@ -3484,11 +3502,11 @@ return (_ctx, _cache) => {
|
|
|
3484
3502
|
|
|
3485
3503
|
};
|
|
3486
3504
|
|
|
3487
|
-
script$
|
|
3505
|
+
script$k.__file = "src/lib/components/ShModal.vue";
|
|
3488
3506
|
|
|
3489
3507
|
const _hoisted_1$g = ["href"];
|
|
3490
3508
|
|
|
3491
|
-
var script$
|
|
3509
|
+
var script$j = {
|
|
3492
3510
|
__name: 'ShModalForm',
|
|
3493
3511
|
props: ['action',
|
|
3494
3512
|
'classes',
|
|
@@ -3528,12 +3546,12 @@ return (_ctx, _cache) => {
|
|
|
3528
3546
|
}, [
|
|
3529
3547
|
vue.renderSlot(_ctx.$slots, "default")
|
|
3530
3548
|
], 10 /* CLASS, PROPS */, _hoisted_1$g),
|
|
3531
|
-
vue.createVNode(script$
|
|
3549
|
+
vue.createVNode(script$k, {
|
|
3532
3550
|
"modal-id": modalId,
|
|
3533
3551
|
"modal-title": __props.modalTitle
|
|
3534
3552
|
}, {
|
|
3535
3553
|
default: vue.withCtx(() => [
|
|
3536
|
-
vue.createVNode(script$
|
|
3554
|
+
vue.createVNode(script$t, vue.mergeProps({ onSuccess: success }, props), null, 16 /* FULL_PROPS */)
|
|
3537
3555
|
]),
|
|
3538
3556
|
_: 1 /* STABLE */
|
|
3539
3557
|
}, 8 /* PROPS */, ["modal-title"])
|
|
@@ -3543,11 +3561,11 @@ return (_ctx, _cache) => {
|
|
|
3543
3561
|
|
|
3544
3562
|
};
|
|
3545
3563
|
|
|
3546
|
-
script$
|
|
3564
|
+
script$j.__file = "src/lib/components/ShModalForm.vue";
|
|
3547
3565
|
|
|
3548
3566
|
const _hoisted_1$f = ["href"];
|
|
3549
3567
|
|
|
3550
|
-
var script$
|
|
3568
|
+
var script$i = {
|
|
3551
3569
|
__name: 'ShModalFormAuto',
|
|
3552
3570
|
props: ['action',
|
|
3553
3571
|
'classes',
|
|
@@ -3588,12 +3606,12 @@ return (_ctx, _cache) => {
|
|
|
3588
3606
|
}, [
|
|
3589
3607
|
vue.renderSlot(_ctx.$slots, "default")
|
|
3590
3608
|
], 10 /* CLASS, PROPS */, _hoisted_1$f),
|
|
3591
|
-
vue.createVNode(script$
|
|
3609
|
+
vue.createVNode(script$k, {
|
|
3592
3610
|
"modal-id": modalId,
|
|
3593
3611
|
"modal-title": __props.modalTitle
|
|
3594
3612
|
}, {
|
|
3595
3613
|
default: vue.withCtx(() => [
|
|
3596
|
-
vue.createVNode(script$
|
|
3614
|
+
vue.createVNode(script$m, vue.mergeProps({ onSuccess: success }, props), null, 16 /* FULL_PROPS */)
|
|
3597
3615
|
]),
|
|
3598
3616
|
_: 1 /* STABLE */
|
|
3599
3617
|
}, 8 /* PROPS */, ["modal-title"])
|
|
@@ -3603,17 +3621,17 @@ return (_ctx, _cache) => {
|
|
|
3603
3621
|
|
|
3604
3622
|
};
|
|
3605
3623
|
|
|
3606
|
-
script$
|
|
3624
|
+
script$i.__file = "src/lib/components/ShModalFormAuto.vue";
|
|
3607
3625
|
|
|
3608
3626
|
const _hoisted_1$e = ["id"];
|
|
3609
|
-
const _hoisted_2$
|
|
3610
|
-
const _hoisted_3$
|
|
3627
|
+
const _hoisted_2$9 = { class: "offcanvas-header" };
|
|
3628
|
+
const _hoisted_3$9 = {
|
|
3611
3629
|
class: "offcanvas-title",
|
|
3612
3630
|
id: "offcanvasScrollingLabel"
|
|
3613
3631
|
};
|
|
3614
|
-
const _hoisted_4$
|
|
3632
|
+
const _hoisted_4$9 = { class: "offcanvas-body" };
|
|
3615
3633
|
|
|
3616
|
-
var script$
|
|
3634
|
+
var script$h = {
|
|
3617
3635
|
__name: 'ShCanvas',
|
|
3618
3636
|
props: {
|
|
3619
3637
|
canvasId: {
|
|
@@ -3658,8 +3676,8 @@ return (_ctx, _cache) => {
|
|
|
3658
3676
|
id: __props.canvasId,
|
|
3659
3677
|
"aria-labelledby": "offcanvasScrollingLabel"
|
|
3660
3678
|
}, [
|
|
3661
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
3662
|
-
vue.createElementVNode("h5", _hoisted_3$
|
|
3679
|
+
vue.createElementVNode("div", _hoisted_2$9, [
|
|
3680
|
+
vue.createElementVNode("h5", _hoisted_3$9, vue.toDisplayString(__props.canvasTitle), 1 /* TEXT */),
|
|
3663
3681
|
vue.createElementVNode("button", {
|
|
3664
3682
|
type: "button",
|
|
3665
3683
|
ref: "closecanvas",
|
|
@@ -3669,7 +3687,7 @@ return (_ctx, _cache) => {
|
|
|
3669
3687
|
"aria-label": "Close"
|
|
3670
3688
|
}, null, 512 /* NEED_PATCH */)
|
|
3671
3689
|
]),
|
|
3672
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
3690
|
+
vue.createElementVNode("div", _hoisted_4$9, [
|
|
3673
3691
|
vue.renderSlot(_ctx.$slots, "default")
|
|
3674
3692
|
])
|
|
3675
3693
|
], 10 /* CLASS, PROPS */, _hoisted_1$e))
|
|
@@ -3678,9 +3696,9 @@ return (_ctx, _cache) => {
|
|
|
3678
3696
|
|
|
3679
3697
|
};
|
|
3680
3698
|
|
|
3681
|
-
script$
|
|
3699
|
+
script$h.__file = "src/lib/components/ShCanvas.vue";
|
|
3682
3700
|
|
|
3683
|
-
var script$
|
|
3701
|
+
var script$g = {
|
|
3684
3702
|
name: 'Pagination',
|
|
3685
3703
|
props: ['pagination_data', 'loadMore', 'hideCount', 'hideLoadMore', 'paginationStyle'],
|
|
3686
3704
|
data () {
|
|
@@ -3752,11 +3770,11 @@ var script$f = {
|
|
|
3752
3770
|
};
|
|
3753
3771
|
|
|
3754
3772
|
const _hoisted_1$d = { key: 0 };
|
|
3755
|
-
const _hoisted_2$
|
|
3756
|
-
const _hoisted_3$
|
|
3757
|
-
const _hoisted_4$
|
|
3773
|
+
const _hoisted_2$8 = { class: "record_count_body mb-3" };
|
|
3774
|
+
const _hoisted_3$8 = /*#__PURE__*/vue.createElementVNode("span", { class: "per_page_show" }, "Showing", -1 /* HOISTED */);
|
|
3775
|
+
const _hoisted_4$8 = /*#__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);
|
|
3758
3776
|
const _hoisted_9$4 = [
|
|
3759
|
-
_hoisted_4$
|
|
3777
|
+
_hoisted_4$8
|
|
3760
3778
|
];
|
|
3761
3779
|
const _hoisted_10$3 = { class: "record_counts" };
|
|
3762
3780
|
const _hoisted_11$2 = {
|
|
@@ -3799,11 +3817,11 @@ const _hoisted_23$1 = {
|
|
|
3799
3817
|
class: "spinner-border"
|
|
3800
3818
|
};
|
|
3801
3819
|
|
|
3802
|
-
function render$
|
|
3820
|
+
function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3803
3821
|
return ($props.paginationStyle !== 'loadMore')
|
|
3804
3822
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$d, [
|
|
3805
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
3806
|
-
_hoisted_3$
|
|
3823
|
+
vue.createElementVNode("div", _hoisted_2$8, [
|
|
3824
|
+
_hoisted_3$8,
|
|
3807
3825
|
vue.createTextVNode(" "),
|
|
3808
3826
|
vue.withDirectives(vue.createElementVNode("select", {
|
|
3809
3827
|
class: "select_per_page",
|
|
@@ -3876,8 +3894,8 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3876
3894
|
]))
|
|
3877
3895
|
}
|
|
3878
3896
|
|
|
3879
|
-
script$
|
|
3880
|
-
script$
|
|
3897
|
+
script$g.render = render$3;
|
|
3898
|
+
script$g.__file = "src/lib/components/list_templates/Pagination.vue";
|
|
3881
3899
|
|
|
3882
3900
|
const _hoisted_1$c = /*#__PURE__*/vue.createElementVNode("span", {
|
|
3883
3901
|
class: "spinner-border spinner-border-sm me-1",
|
|
@@ -3886,7 +3904,7 @@ const _hoisted_1$c = /*#__PURE__*/vue.createElementVNode("span", {
|
|
|
3886
3904
|
}, null, -1 /* HOISTED */);
|
|
3887
3905
|
|
|
3888
3906
|
|
|
3889
|
-
var script$
|
|
3907
|
+
var script$f = {
|
|
3890
3908
|
__name: 'ShConfirmAction',
|
|
3891
3909
|
props: {
|
|
3892
3910
|
data: Object,
|
|
@@ -3972,7 +3990,7 @@ return (_ctx, _cache) => {
|
|
|
3972
3990
|
|
|
3973
3991
|
};
|
|
3974
3992
|
|
|
3975
|
-
script$
|
|
3993
|
+
script$f.__file = "src/lib/components/ShConfirmAction.vue";
|
|
3976
3994
|
|
|
3977
3995
|
const _hoisted_1$b = /*#__PURE__*/vue.createElementVNode("span", {
|
|
3978
3996
|
class: "spinner-border spinner-border-sm me-1",
|
|
@@ -3980,7 +3998,7 @@ const _hoisted_1$b = /*#__PURE__*/vue.createElementVNode("span", {
|
|
|
3980
3998
|
"aria-hidden": "true"
|
|
3981
3999
|
}, null, -1 /* HOISTED */);
|
|
3982
4000
|
|
|
3983
|
-
var script$
|
|
4001
|
+
var script$e = {
|
|
3984
4002
|
__name: 'ShSilentAction',
|
|
3985
4003
|
props: {
|
|
3986
4004
|
data: Object,
|
|
@@ -4068,9 +4086,9 @@ return (_ctx, _cache) => {
|
|
|
4068
4086
|
|
|
4069
4087
|
};
|
|
4070
4088
|
|
|
4071
|
-
script$
|
|
4089
|
+
script$e.__file = "src/lib/components/ShSilentAction.vue";
|
|
4072
4090
|
|
|
4073
|
-
var script$
|
|
4091
|
+
var script$d = {
|
|
4074
4092
|
name: 'sh-table',
|
|
4075
4093
|
props: ['endPoint', 'headers','query', 'pageCount', 'actions', 'hideCount', 'hideLoadMore', 'links', 'reload', 'hideSearch', 'sharedData', 'searchPlaceholder', 'event', 'displayMore', 'displayMoreBtnClass', 'moreDetailsColumns', 'moreDetailsFields', 'hasDownload', 'downloadFields', 'tableHover', 'hideIds', 'paginationStyle'],
|
|
4076
4094
|
inject: ['channel'],
|
|
@@ -4325,10 +4343,10 @@ var script$c = {
|
|
|
4325
4343
|
this.reloadData();
|
|
4326
4344
|
},
|
|
4327
4345
|
components: {
|
|
4328
|
-
ShSilentAction: script$
|
|
4329
|
-
ShConfirmAction: script$
|
|
4330
|
-
ShCanvas: script$
|
|
4331
|
-
pagination: script$
|
|
4346
|
+
ShSilentAction: script$e,
|
|
4347
|
+
ShConfirmAction: script$f,
|
|
4348
|
+
ShCanvas: script$h,
|
|
4349
|
+
pagination: script$g
|
|
4332
4350
|
},
|
|
4333
4351
|
computed: {
|
|
4334
4352
|
windowWidth: function () {
|
|
@@ -4347,12 +4365,12 @@ var script$c = {
|
|
|
4347
4365
|
};
|
|
4348
4366
|
|
|
4349
4367
|
const _hoisted_1$a = { class: "auto-table mt-2" };
|
|
4350
|
-
const _hoisted_2$
|
|
4368
|
+
const _hoisted_2$7 = {
|
|
4351
4369
|
key: 0,
|
|
4352
4370
|
class: "col-md-4 mb-2"
|
|
4353
4371
|
};
|
|
4354
|
-
const _hoisted_3$
|
|
4355
|
-
const _hoisted_4$
|
|
4372
|
+
const _hoisted_3$7 = ["disabled"];
|
|
4373
|
+
const _hoisted_4$7 = /*#__PURE__*/vue.createElementVNode("i", { class: "bi-download" }, null, -1 /* HOISTED */);
|
|
4356
4374
|
const _hoisted_5$6 = /*#__PURE__*/vue.createElementVNode("span", {
|
|
4357
4375
|
class: "spinner-border spinner-border-sm",
|
|
4358
4376
|
role: "status",
|
|
@@ -4502,7 +4520,7 @@ const _hoisted_63 = { key: 0 };
|
|
|
4502
4520
|
const _hoisted_64 = ["href"];
|
|
4503
4521
|
const _hoisted_65 = ["title", "onClick"];
|
|
4504
4522
|
|
|
4505
|
-
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4523
|
+
function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4506
4524
|
const _component_router_link = vue.resolveComponent("router-link");
|
|
4507
4525
|
const _component_sh_confirm_action = vue.resolveComponent("sh-confirm-action");
|
|
4508
4526
|
const _component_sh_silent_action = vue.resolveComponent("sh-silent-action");
|
|
@@ -4511,7 +4529,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4511
4529
|
|
|
4512
4530
|
return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$a, [
|
|
4513
4531
|
($props.hasDownload)
|
|
4514
|
-
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
4532
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$7, [
|
|
4515
4533
|
vue.createElementVNode("button", {
|
|
4516
4534
|
disabled: $data.downloading,
|
|
4517
4535
|
class: "btn btn-warning btn-sm",
|
|
@@ -4519,14 +4537,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4519
4537
|
}, [
|
|
4520
4538
|
(!$data.downloading)
|
|
4521
4539
|
? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
4522
|
-
_hoisted_4$
|
|
4540
|
+
_hoisted_4$7,
|
|
4523
4541
|
vue.createTextVNode(" Export ")
|
|
4524
4542
|
], 64 /* STABLE_FRAGMENT */))
|
|
4525
4543
|
: (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
4526
4544
|
_hoisted_5$6,
|
|
4527
4545
|
_hoisted_6$5
|
|
4528
4546
|
], 64 /* STABLE_FRAGMENT */))
|
|
4529
|
-
], 8 /* PROPS */, _hoisted_3$
|
|
4547
|
+
], 8 /* PROPS */, _hoisted_3$7)
|
|
4530
4548
|
]))
|
|
4531
4549
|
: vue.createCommentVNode("v-if", true),
|
|
4532
4550
|
(!$props.hideSearch)
|
|
@@ -4962,10 +4980,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4962
4980
|
]))
|
|
4963
4981
|
}
|
|
4964
4982
|
|
|
4965
|
-
script$
|
|
4966
|
-
script$
|
|
4983
|
+
script$d.render = render$2;
|
|
4984
|
+
script$d.__file = "src/lib/components/ShTable.vue";
|
|
4967
4985
|
|
|
4968
|
-
var script$
|
|
4986
|
+
var script$c = {
|
|
4969
4987
|
__name: 'ShTabs',
|
|
4970
4988
|
props: {
|
|
4971
4989
|
tabs: {
|
|
@@ -5110,22 +5128,22 @@ return (_ctx, _cache) => {
|
|
|
5110
5128
|
|
|
5111
5129
|
};
|
|
5112
5130
|
|
|
5113
|
-
script$
|
|
5131
|
+
script$c.__file = "src/lib/components/ShTabs.vue";
|
|
5114
5132
|
|
|
5115
5133
|
const _hoisted_1$9 = {
|
|
5116
5134
|
class: "nav nav-tabs",
|
|
5117
5135
|
role: "tablist"
|
|
5118
5136
|
};
|
|
5119
|
-
const _hoisted_2$
|
|
5137
|
+
const _hoisted_2$6 = {
|
|
5120
5138
|
class: "nav-item",
|
|
5121
5139
|
role: "presentation"
|
|
5122
5140
|
};
|
|
5123
|
-
const _hoisted_3$
|
|
5124
|
-
const _hoisted_4$
|
|
5141
|
+
const _hoisted_3$6 = ["onClick"];
|
|
5142
|
+
const _hoisted_4$6 = /*#__PURE__*/vue.createElementVNode("i", { class: "d-none" }, null, -1 /* HOISTED */);
|
|
5125
5143
|
const _hoisted_5$5 = { class: "sh_tab_count" };
|
|
5126
5144
|
const _hoisted_6$4 = { class: "tab-content" };
|
|
5127
5145
|
|
|
5128
|
-
var script$
|
|
5146
|
+
var script$b = {
|
|
5129
5147
|
__name: 'ShDynamicTabs',
|
|
5130
5148
|
props: ['tabs','data'],
|
|
5131
5149
|
setup(__props) {
|
|
@@ -5152,7 +5170,7 @@ return (_ctx, _cache) => {
|
|
|
5152
5170
|
return (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
5153
5171
|
vue.createElementVNode("ul", _hoisted_1$9, [
|
|
5154
5172
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(tabs), (tab) => {
|
|
5155
|
-
return (vue.openBlock(), vue.createElementBlock("li", _hoisted_2$
|
|
5173
|
+
return (vue.openBlock(), vue.createElementBlock("li", _hoisted_2$6, [
|
|
5156
5174
|
vue.createElementVNode("button", {
|
|
5157
5175
|
onClick: $event => (setTab(tab)),
|
|
5158
5176
|
class: vue.normalizeClass(["nav-link", vue.unref(currentTab) === tab ? 'active':''])
|
|
@@ -5160,11 +5178,11 @@ return (_ctx, _cache) => {
|
|
|
5160
5178
|
vue.createTextVNode(vue.toDisplayString(tab.label) + " ", 1 /* TEXT */),
|
|
5161
5179
|
(tab.count || tab.tabCount)
|
|
5162
5180
|
? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
5163
|
-
_hoisted_4$
|
|
5181
|
+
_hoisted_4$6,
|
|
5164
5182
|
vue.createElementVNode("sup", _hoisted_5$5, vue.toDisplayString(tab.count ?? tab.tabCount), 1 /* TEXT */)
|
|
5165
5183
|
], 64 /* STABLE_FRAGMENT */))
|
|
5166
5184
|
: vue.createCommentVNode("v-if", true)
|
|
5167
|
-
], 10 /* CLASS, PROPS */, _hoisted_3$
|
|
5185
|
+
], 10 /* CLASS, PROPS */, _hoisted_3$6)
|
|
5168
5186
|
]))
|
|
5169
5187
|
}), 256 /* UNKEYED_FRAGMENT */))
|
|
5170
5188
|
]),
|
|
@@ -5179,12 +5197,12 @@ return (_ctx, _cache) => {
|
|
|
5179
5197
|
|
|
5180
5198
|
};
|
|
5181
5199
|
|
|
5182
|
-
script$
|
|
5200
|
+
script$b.__file = "src/lib/components/ShDynamicTabs.vue";
|
|
5183
5201
|
|
|
5184
5202
|
const _hoisted_1$8 = ["href"];
|
|
5185
5203
|
|
|
5186
5204
|
|
|
5187
|
-
var script$
|
|
5205
|
+
var script$a = {
|
|
5188
5206
|
__name: 'ShModalBtn',
|
|
5189
5207
|
props: {
|
|
5190
5208
|
modalId: {
|
|
@@ -5207,12 +5225,12 @@ return (_ctx, _cache) => {
|
|
|
5207
5225
|
|
|
5208
5226
|
};
|
|
5209
5227
|
|
|
5210
|
-
script$
|
|
5228
|
+
script$a.__file = "src/lib/components/ShModalBtn.vue";
|
|
5211
5229
|
|
|
5212
5230
|
const _hoisted_1$7 = ["href"];
|
|
5213
5231
|
|
|
5214
5232
|
|
|
5215
|
-
var script$
|
|
5233
|
+
var script$9 = {
|
|
5216
5234
|
__name: 'ShCanvasBtn',
|
|
5217
5235
|
props: {
|
|
5218
5236
|
canvasId: {
|
|
@@ -5236,7 +5254,7 @@ return (_ctx, _cache) => {
|
|
|
5236
5254
|
|
|
5237
5255
|
};
|
|
5238
5256
|
|
|
5239
|
-
script$
|
|
5257
|
+
script$9.__file = "src/lib/components/ShCanvasBtn.vue";
|
|
5240
5258
|
|
|
5241
5259
|
const useUserStore = pinia.defineStore('user-store', {
|
|
5242
5260
|
state: () => ({
|
|
@@ -5336,17 +5354,17 @@ const useUserStore = pinia.defineStore('user-store', {
|
|
|
5336
5354
|
|
|
5337
5355
|
const _withScopeId$1 = n => (vue.pushScopeId("data-v-0d4fa0ac"),n=n(),vue.popScopeId(),n);
|
|
5338
5356
|
const _hoisted_1$6 = { class: "row permissions-main d-flex" };
|
|
5339
|
-
const _hoisted_2$
|
|
5357
|
+
const _hoisted_2$5 = {
|
|
5340
5358
|
id: "permissions-nav",
|
|
5341
5359
|
class: "col-md-3 d-flex align-items-center py-4"
|
|
5342
5360
|
};
|
|
5343
|
-
const _hoisted_3$
|
|
5361
|
+
const _hoisted_3$5 = {
|
|
5344
5362
|
key: 0,
|
|
5345
5363
|
class: "mx-auto"
|
|
5346
5364
|
};
|
|
5347
|
-
const _hoisted_4$
|
|
5365
|
+
const _hoisted_4$5 = /*#__PURE__*/ _withScopeId$1(() => /*#__PURE__*/vue.createElementVNode("span", { class: "spinner-grow mx-auto" }, null, -1 /* HOISTED */));
|
|
5348
5366
|
const _hoisted_5$4 = [
|
|
5349
|
-
_hoisted_4$
|
|
5367
|
+
_hoisted_4$5
|
|
5350
5368
|
];
|
|
5351
5369
|
const _hoisted_6$3 = {
|
|
5352
5370
|
key: 1,
|
|
@@ -5375,7 +5393,7 @@ const _hoisted_17 = { class: "col-md-3" };
|
|
|
5375
5393
|
const _hoisted_18 = /*#__PURE__*/ _withScopeId$1(() => /*#__PURE__*/vue.createElementVNode("i", { class: "bi-check" }, null, -1 /* HOISTED */));
|
|
5376
5394
|
|
|
5377
5395
|
|
|
5378
|
-
var script$
|
|
5396
|
+
var script$8 = {
|
|
5379
5397
|
__name: 'ManagePermissions',
|
|
5380
5398
|
emits: ['success'],
|
|
5381
5399
|
setup(__props, { emit }) {
|
|
@@ -5480,9 +5498,9 @@ const getPermissionStyle = permission => {
|
|
|
5480
5498
|
|
|
5481
5499
|
return (_ctx, _cache) => {
|
|
5482
5500
|
return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$6, [
|
|
5483
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
5501
|
+
vue.createElementVNode("div", _hoisted_2$5, [
|
|
5484
5502
|
(loadingModules.value)
|
|
5485
|
-
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$
|
|
5503
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$5, _hoisted_5$4))
|
|
5486
5504
|
: (vue.openBlock(), vue.createElementBlock("ul", _hoisted_6$3, [
|
|
5487
5505
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(modules.value, (module) => {
|
|
5488
5506
|
return (vue.openBlock(), vue.createElementBlock("li", {
|
|
@@ -5533,7 +5551,7 @@ return (_ctx, _cache) => {
|
|
|
5533
5551
|
(permissionsChanged.value)
|
|
5534
5552
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_16, [
|
|
5535
5553
|
vue.createElementVNode("div", _hoisted_17, [
|
|
5536
|
-
vue.createVNode(script$
|
|
5554
|
+
vue.createVNode(script$e, {
|
|
5537
5555
|
onSuccess: permissionsUpdated,
|
|
5538
5556
|
url: `sh-departments/department/permissions/${vue.unref(departmentId)}/${selectedModule.value}`,
|
|
5539
5557
|
data: {permissions: selectedPermissions.value},
|
|
@@ -5557,14 +5575,14 @@ return (_ctx, _cache) => {
|
|
|
5557
5575
|
|
|
5558
5576
|
};
|
|
5559
5577
|
|
|
5560
|
-
script$
|
|
5561
|
-
script$
|
|
5578
|
+
script$8.__scopeId = "data-v-0d4fa0ac";
|
|
5579
|
+
script$8.__file = "src/lib/components/core/Departments/department/ManagePermissions.vue";
|
|
5562
5580
|
|
|
5563
5581
|
const _hoisted_1$5 = ["href"];
|
|
5564
5582
|
|
|
5565
5583
|
|
|
5566
|
-
var script$
|
|
5567
|
-
__name: '
|
|
5584
|
+
var script$7 = {
|
|
5585
|
+
__name: 'ShRoutePopups',
|
|
5568
5586
|
setup(__props) {
|
|
5569
5587
|
|
|
5570
5588
|
const route = vueRouter.useRoute();
|
|
@@ -5644,7 +5662,7 @@ return (_ctx, _cache) => {
|
|
|
5644
5662
|
class: "d-none"
|
|
5645
5663
|
}, "Open Modal", 8 /* PROPS */, _hoisted_1$5),
|
|
5646
5664
|
(popUp.value === 'modal')
|
|
5647
|
-
? (vue.openBlock(), vue.createBlock(script$
|
|
5665
|
+
? (vue.openBlock(), vue.createBlock(script$k, {
|
|
5648
5666
|
key: 0,
|
|
5649
5667
|
"modal-id": vue.unref(modalId),
|
|
5650
5668
|
"modal-size": size.value
|
|
@@ -5656,7 +5674,7 @@ return (_ctx, _cache) => {
|
|
|
5656
5674
|
}, 8 /* PROPS */, ["modal-id", "modal-size"]))
|
|
5657
5675
|
: vue.createCommentVNode("v-if", true),
|
|
5658
5676
|
(['offcanvas','canvas','offCanvas'].includes(popUp.value))
|
|
5659
|
-
? (vue.openBlock(), vue.createBlock(script$
|
|
5677
|
+
? (vue.openBlock(), vue.createBlock(script$h, {
|
|
5660
5678
|
key: 1,
|
|
5661
5679
|
"canvas-id": vue.unref(canvasId),
|
|
5662
5680
|
"canvas-size": size.value,
|
|
@@ -5674,32 +5692,56 @@ return (_ctx, _cache) => {
|
|
|
5674
5692
|
|
|
5675
5693
|
};
|
|
5676
5694
|
|
|
5677
|
-
script$
|
|
5695
|
+
script$7.__file = "src/lib/components/popups/ShRoutePopups.vue";
|
|
5696
|
+
|
|
5697
|
+
const _hoisted_1$4 = { class: "alert alert-info" };
|
|
5698
|
+
const _hoisted_2$4 = /*#__PURE__*/vue.createElementVNode("span", { class: "spinner-border" }, null, -1 /* HOISTED */);
|
|
5699
|
+
const _hoisted_3$4 = /*#__PURE__*/vue.createElementVNode("span", null, "Loading", -1 /* HOISTED */);
|
|
5700
|
+
const _hoisted_4$4 = [
|
|
5701
|
+
_hoisted_2$4,
|
|
5702
|
+
_hoisted_3$4
|
|
5703
|
+
];
|
|
5704
|
+
|
|
5705
|
+
function render$1(_ctx, _cache) {
|
|
5706
|
+
return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$4, _hoisted_4$4))
|
|
5707
|
+
}
|
|
5678
5708
|
|
|
5679
|
-
const
|
|
5709
|
+
const script$6 = {};
|
|
5680
5710
|
|
|
5681
5711
|
|
|
5682
|
-
|
|
5683
|
-
|
|
5712
|
+
script$6.render = render$1;
|
|
5713
|
+
script$6.__file = "src/lib/components/popups/etc/PopupLoading.vue";
|
|
5714
|
+
|
|
5715
|
+
function render(_ctx, _cache) {
|
|
5716
|
+
return (vue.openBlock(), vue.createElementBlock("h5", null, "Error loading popup"))
|
|
5717
|
+
}
|
|
5718
|
+
|
|
5719
|
+
const script$5 = {};
|
|
5720
|
+
|
|
5721
|
+
|
|
5722
|
+
script$5.render = render;
|
|
5723
|
+
script$5.__file = "src/lib/components/popups/etc/ErrorLoadingPopup.vue";
|
|
5724
|
+
|
|
5725
|
+
var script$4 = {
|
|
5726
|
+
__name: 'ShQueryPopups',
|
|
5684
5727
|
setup(__props) {
|
|
5685
5728
|
|
|
5686
5729
|
const route = vueRouter.useRoute();
|
|
5687
5730
|
const popUp = vue.ref(route.meta.popUp);
|
|
5688
5731
|
const modalId = ___default["default"].uniqueId('modal_');
|
|
5689
5732
|
const canvasId = ___default["default"].uniqueId('canvas_');
|
|
5690
|
-
|
|
5733
|
+
let PopupComponent = vue.ref(null);
|
|
5691
5734
|
vue.ref(null);
|
|
5692
5735
|
const router = vueRouter.useRouter();
|
|
5693
5736
|
const position = vue.ref(null);
|
|
5694
5737
|
const size = vue.ref(null);
|
|
5695
|
-
vue.
|
|
5696
|
-
|
|
5738
|
+
const AsyncComp =vue.ref(null);
|
|
5739
|
+
vue.watch(() => route.query.popup, pop => {
|
|
5740
|
+
popUp.value = pop;
|
|
5741
|
+
position.value = route.query.position ?? route.query.side;
|
|
5742
|
+
size.value = route.query.size;
|
|
5697
5743
|
if (popUp.value) {
|
|
5698
|
-
|
|
5699
|
-
// !popupPaths.includes(route.path) && popupPaths.push(route.path) && popups.push(meta)
|
|
5700
|
-
position.value = meta.position ?? meta.side;
|
|
5701
|
-
size.value = meta.size;
|
|
5702
|
-
componentView.value = vue.markRaw(route.matched[route.matched.length - 1].components.default);
|
|
5744
|
+
loadPopupComponent();
|
|
5703
5745
|
setTimeout(() => {
|
|
5704
5746
|
initPopup();
|
|
5705
5747
|
}, 100);
|
|
@@ -5710,6 +5752,24 @@ vue.watch(() => route.meta, meta => {
|
|
|
5710
5752
|
}, 100);
|
|
5711
5753
|
}
|
|
5712
5754
|
});
|
|
5755
|
+
const loadPopupComponent = ()=>{
|
|
5756
|
+
const component = route.query.comp || '';
|
|
5757
|
+
PopupComponent.value = vue.defineAsyncComponent({
|
|
5758
|
+
// the loader function
|
|
5759
|
+
loader: () => (function (t) { return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(t)); }); })(/* @vite-ignore */ `/src/views/popups/${component}Popup.vue`),
|
|
5760
|
+
|
|
5761
|
+
// A component to use while the async component is loading
|
|
5762
|
+
loadingComponent: script$6,
|
|
5763
|
+
// Delay before showing the loading component. Default: 200ms.
|
|
5764
|
+
delay: 200,
|
|
5765
|
+
|
|
5766
|
+
// A component to use if the load fails
|
|
5767
|
+
errorComponent: script$5,
|
|
5768
|
+
// The error component will be displayed if a timeout is
|
|
5769
|
+
// provided and exceeded. Default: Infinity.
|
|
5770
|
+
timeout: 3000
|
|
5771
|
+
});
|
|
5772
|
+
};
|
|
5713
5773
|
const closeOrphanedBackdrops = () => {
|
|
5714
5774
|
const offCanvasBackdrop = document.querySelector('.offcanvas-backdrop');
|
|
5715
5775
|
if (offCanvasBackdrop) {
|
|
@@ -5744,42 +5804,37 @@ const initPopup = () => {
|
|
|
5744
5804
|
};
|
|
5745
5805
|
const goBack = () => {
|
|
5746
5806
|
if (route.matched.length) {
|
|
5747
|
-
let backUrl = route.
|
|
5748
|
-
const params = route.params
|
|
5749
|
-
Object.keys(params).map(key => backUrl = backUrl.replace(`:${key}`,params[key]))
|
|
5807
|
+
let backUrl = route.path;
|
|
5808
|
+
// const params = route.params
|
|
5809
|
+
// Object.keys(params).map(key => backUrl = backUrl.replace(`:${key}`,params[key]))
|
|
5750
5810
|
router.push(backUrl);
|
|
5751
5811
|
}
|
|
5752
5812
|
};
|
|
5753
5813
|
|
|
5754
5814
|
return (_ctx, _cache) => {
|
|
5755
5815
|
return (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
5756
|
-
vue.createElementVNode("a", {
|
|
5757
|
-
"data-bs-toggle": "offcanvas",
|
|
5758
|
-
href: '#' + vue.unref(canvasId),
|
|
5759
|
-
shallowRef: "canvasButton",
|
|
5760
|
-
class: "d-none"
|
|
5761
|
-
}, "Open Modal", 8 /* PROPS */, _hoisted_1$4),
|
|
5762
5816
|
(popUp.value === 'modal')
|
|
5763
|
-
? (vue.openBlock(), vue.createBlock(script$
|
|
5817
|
+
? (vue.openBlock(), vue.createBlock(script$k, {
|
|
5764
5818
|
key: 0,
|
|
5765
5819
|
"modal-id": vue.unref(modalId),
|
|
5766
5820
|
"modal-size": size.value
|
|
5767
5821
|
}, {
|
|
5768
5822
|
default: vue.withCtx(() => [
|
|
5769
|
-
|
|
5823
|
+
vue.createVNode(vue.unref(PopupComponent))
|
|
5770
5824
|
]),
|
|
5771
5825
|
_: 1 /* STABLE */
|
|
5772
5826
|
}, 8 /* PROPS */, ["modal-id", "modal-size"]))
|
|
5773
5827
|
: vue.createCommentVNode("v-if", true),
|
|
5774
5828
|
(['offcanvas','canvas','offCanvas'].includes(popUp.value))
|
|
5775
|
-
? (vue.openBlock(), vue.createBlock(script$
|
|
5829
|
+
? (vue.openBlock(), vue.createBlock(script$h, {
|
|
5776
5830
|
key: 1,
|
|
5777
5831
|
"canvas-id": vue.unref(canvasId),
|
|
5778
5832
|
"canvas-size": size.value,
|
|
5779
5833
|
position: position.value
|
|
5780
5834
|
}, {
|
|
5781
5835
|
default: vue.withCtx(() => [
|
|
5782
|
-
|
|
5836
|
+
vue.createVNode(vue.unref(PopupComponent)),
|
|
5837
|
+
vue.createVNode(vue.unref(AsyncComp))
|
|
5783
5838
|
]),
|
|
5784
5839
|
_: 1 /* STABLE */
|
|
5785
5840
|
}, 8 /* PROPS */, ["canvas-id", "canvas-size", "position"]))
|
|
@@ -5790,24 +5845,7 @@ return (_ctx, _cache) => {
|
|
|
5790
5845
|
|
|
5791
5846
|
};
|
|
5792
5847
|
|
|
5793
|
-
script$
|
|
5794
|
-
|
|
5795
|
-
var script$4 = {
|
|
5796
|
-
__name: 'ShPopups',
|
|
5797
|
-
setup(__props) {
|
|
5798
|
-
|
|
5799
|
-
|
|
5800
|
-
return (_ctx, _cache) => {
|
|
5801
|
-
return (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
5802
|
-
vue.createVNode(script$6),
|
|
5803
|
-
vue.createVNode(script$5)
|
|
5804
|
-
], 64 /* STABLE_FRAGMENT */))
|
|
5805
|
-
}
|
|
5806
|
-
}
|
|
5807
|
-
|
|
5808
|
-
};
|
|
5809
|
-
|
|
5810
|
-
script$4.__file = "src/lib/components/ShPopups.vue";
|
|
5848
|
+
script$4.__file = "src/lib/components/popups/ShQueryPopups.vue";
|
|
5811
5849
|
|
|
5812
5850
|
const _hoisted_1$3 = { class: "sh-range" };
|
|
5813
5851
|
const _hoisted_2$3 = { class: "dropdown" };
|
|
@@ -6023,7 +6061,7 @@ return (_ctx, _cache) => {
|
|
|
6023
6061
|
_hoisted_5$2,
|
|
6024
6062
|
vue.createTextVNode(" ADD DEPARTMENT")
|
|
6025
6063
|
], 512 /* NEED_PATCH */),
|
|
6026
|
-
vue.createVNode(script$
|
|
6064
|
+
vue.createVNode(script$d, {
|
|
6027
6065
|
headers: ['id','name','description', 'created_at'],
|
|
6028
6066
|
"end-point": "sh-departments/list",
|
|
6029
6067
|
actions: {
|
|
@@ -6037,12 +6075,12 @@ return (_ctx, _cache) => {
|
|
|
6037
6075
|
]
|
|
6038
6076
|
}
|
|
6039
6077
|
}),
|
|
6040
|
-
vue.createVNode(script$
|
|
6078
|
+
vue.createVNode(script$k, {
|
|
6041
6079
|
"modal-id": "sh-department_modal",
|
|
6042
6080
|
"modal-title": "Department Form"
|
|
6043
6081
|
}, {
|
|
6044
6082
|
default: vue.withCtx(() => [
|
|
6045
|
-
vue.createVNode(script$
|
|
6083
|
+
vue.createVNode(script$t, {
|
|
6046
6084
|
"success-callback": "departmentAdded",
|
|
6047
6085
|
onDepartmentAdded: departmentAdded,
|
|
6048
6086
|
action: "admin/departments/store",
|
|
@@ -6176,7 +6214,7 @@ return (_ctx, _cache) => {
|
|
|
6176
6214
|
vue.createElementVNode("div", _hoisted_2$1, [
|
|
6177
6215
|
_hoisted_3$1,
|
|
6178
6216
|
vue.createElementVNode("h5", null, "Department #" + vue.toDisplayString(vue.unref(department).id) + " - " + vue.toDisplayString(vue.unref(department).name) + " Allowed Modules", 1 /* TEXT */),
|
|
6179
|
-
vue.createVNode(script$
|
|
6217
|
+
vue.createVNode(script$d, {
|
|
6180
6218
|
actions: {
|
|
6181
6219
|
label: 'Actions',
|
|
6182
6220
|
actions: [
|
|
@@ -6196,12 +6234,12 @@ return (_ctx, _cache) => {
|
|
|
6196
6234
|
headers: ['id',showModule,'created_at'],
|
|
6197
6235
|
"end-point": 'admin/departments/department/list-modules/' + id.value
|
|
6198
6236
|
}, null, 8 /* PROPS */, ["actions", "reload", "headers", "end-point"]),
|
|
6199
|
-
vue.createVNode(script$
|
|
6237
|
+
vue.createVNode(script$k, {
|
|
6200
6238
|
"modal-id": "addModule",
|
|
6201
6239
|
"modal-title": "Add Module Department"
|
|
6202
6240
|
}, {
|
|
6203
6241
|
default: vue.withCtx(() => [
|
|
6204
|
-
vue.createVNode(script$
|
|
6242
|
+
vue.createVNode(script$t, {
|
|
6205
6243
|
"reload-select-items": vue.unref(reload),
|
|
6206
6244
|
"success-callback": moduleAdded,
|
|
6207
6245
|
"fill-selects": {
|
|
@@ -6223,7 +6261,7 @@ return (_ctx, _cache) => {
|
|
|
6223
6261
|
ref: permissionCanvasBtn,
|
|
6224
6262
|
"data-bs-toggle": "offcanvas"
|
|
6225
6263
|
}, null, 512 /* NEED_PATCH */),
|
|
6226
|
-
vue.createVNode(script$
|
|
6264
|
+
vue.createVNode(script$h, {
|
|
6227
6265
|
"canvas-id": "permissionsCanvas",
|
|
6228
6266
|
position: "end enlarged",
|
|
6229
6267
|
"canvas-title": "Module Permissions"
|
|
@@ -6338,7 +6376,7 @@ return (_ctx, _cache) => {
|
|
|
6338
6376
|
: (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
6339
6377
|
(section.value === 'login')
|
|
6340
6378
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [
|
|
6341
|
-
vue.createVNode(script$
|
|
6379
|
+
vue.createVNode(script$t, {
|
|
6342
6380
|
class: "sh-login-form",
|
|
6343
6381
|
fields: ['email','password'],
|
|
6344
6382
|
"action-label": "Login",
|
|
@@ -6363,7 +6401,7 @@ return (_ctx, _cache) => {
|
|
|
6363
6401
|
(vue.unref(registerSubTitle))
|
|
6364
6402
|
? (vue.openBlock(), vue.createElementBlock("span", _hoisted_8, vue.toDisplayString(vue.unref(registerSubTitle)), 1 /* TEXT */))
|
|
6365
6403
|
: vue.createCommentVNode("v-if", true),
|
|
6366
|
-
vue.createVNode(script$
|
|
6404
|
+
vue.createVNode(script$t, {
|
|
6367
6405
|
class: "sh-login-form",
|
|
6368
6406
|
fields: vue.unref(registrationFields),
|
|
6369
6407
|
"action-label": "Sign Up",
|
|
@@ -6410,7 +6448,7 @@ const ShFrontend = {
|
|
|
6410
6448
|
const registerTitle = options.registerTitle ?? 'Create a new account';
|
|
6411
6449
|
const registerSubTitle = options.registerSubTitle ?? `It's quick and easy`;
|
|
6412
6450
|
const logoutApiEndpoint = options.logoutApiEndpoint ?? `auth/logout`;
|
|
6413
|
-
options.formTextInput ?? script$
|
|
6451
|
+
options.formTextInput ?? script$q;
|
|
6414
6452
|
const loginUrl = options.loginUrl ?? `/login`;
|
|
6415
6453
|
const redirectLogin = options.redirectLogin ?? `/`;
|
|
6416
6454
|
const redirectRegister = options.redirectRegister ?? `/`;
|
|
@@ -6443,7 +6481,7 @@ const ShFrontend = {
|
|
|
6443
6481
|
});
|
|
6444
6482
|
options.router.addRoute({
|
|
6445
6483
|
path: '/sh-departments/manage-permissions/:id',
|
|
6446
|
-
component: script$
|
|
6484
|
+
component: script$8
|
|
6447
6485
|
});
|
|
6448
6486
|
}
|
|
6449
6487
|
//filter unwanted config items from options to be put in local storage
|
|
@@ -6469,25 +6507,26 @@ var shGql = {
|
|
|
6469
6507
|
};
|
|
6470
6508
|
|
|
6471
6509
|
exports.Countries = countries;
|
|
6472
|
-
exports.ManagePermissions = script$
|
|
6473
|
-
exports.ShAutoForm = script$
|
|
6474
|
-
exports.ShCanvas = script$
|
|
6475
|
-
exports.ShCanvasBtn = script$
|
|
6476
|
-
exports.ShConfirmAction = script$
|
|
6477
|
-
exports.ShDropDownForm = script$
|
|
6478
|
-
exports.ShDynamicTabs = script$
|
|
6479
|
-
exports.ShForm = script$
|
|
6510
|
+
exports.ManagePermissions = script$8;
|
|
6511
|
+
exports.ShAutoForm = script$m;
|
|
6512
|
+
exports.ShCanvas = script$h;
|
|
6513
|
+
exports.ShCanvasBtn = script$9;
|
|
6514
|
+
exports.ShConfirmAction = script$f;
|
|
6515
|
+
exports.ShDropDownForm = script$l;
|
|
6516
|
+
exports.ShDynamicTabs = script$b;
|
|
6517
|
+
exports.ShForm = script$t;
|
|
6480
6518
|
exports.ShFrontend = ShFrontend;
|
|
6481
|
-
exports.ShModal = script$
|
|
6482
|
-
exports.ShModalBtn = script$
|
|
6483
|
-
exports.ShModalForm = script$
|
|
6484
|
-
exports.ShModalFormAuto = script$
|
|
6485
|
-
exports.ShPhone = script$
|
|
6486
|
-
exports.
|
|
6519
|
+
exports.ShModal = script$k;
|
|
6520
|
+
exports.ShModalBtn = script$a;
|
|
6521
|
+
exports.ShModalForm = script$j;
|
|
6522
|
+
exports.ShModalFormAuto = script$i;
|
|
6523
|
+
exports.ShPhone = script$v;
|
|
6524
|
+
exports.ShQueryPopups = script$4;
|
|
6487
6525
|
exports.ShRange = script$3;
|
|
6488
|
-
exports.
|
|
6489
|
-
exports.
|
|
6490
|
-
exports.
|
|
6526
|
+
exports.ShRoutePopups = script$7;
|
|
6527
|
+
exports.ShSilentAction = script$e;
|
|
6528
|
+
exports.ShTable = script$d;
|
|
6529
|
+
exports.ShTabs = script$c;
|
|
6491
6530
|
exports.shApis = shApis;
|
|
6492
6531
|
exports.shGql = shGql;
|
|
6493
6532
|
exports.shRepo = shRepo;
|