@iankibetsh/shframework 0.3.8 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/library.js +37 -41
- package/dist/library.mjs +37 -41
- package/package.json +1 -1
package/dist/library.js
CHANGED
|
@@ -2738,7 +2738,7 @@ var helpers = {
|
|
|
2738
2738
|
|
|
2739
2739
|
var script$1 = {
|
|
2740
2740
|
name: 'sh-table',
|
|
2741
|
-
props: ['endPoint', 'headers', 'pageCount', 'actions', 'hideCount', 'hideLoadMore', 'links', 'reload', 'hideSearch', 'sharedData', 'searchPlaceholder', 'event', 'displayMore', 'displayMoreBtnClass', 'moreDetailsColumns', 'moreDetailsFields', 'hasDownload', 'downloadFields'],
|
|
2741
|
+
props: ['endPoint', 'headers', 'pageCount', 'actions', 'hideCount', 'hideLoadMore', 'links', 'reload', 'hideSearch', 'sharedData', 'searchPlaceholder', 'event', 'displayMore', 'displayMoreBtnClass', 'moreDetailsColumns', 'moreDetailsFields', 'hasDownload', 'downloadFields', 'tableHover'],
|
|
2742
2742
|
inject: ['channel', 'global'],
|
|
2743
2743
|
data () {
|
|
2744
2744
|
return {
|
|
@@ -2974,56 +2974,51 @@ const _hoisted_8 = {
|
|
|
2974
2974
|
const _hoisted_9 = { class: "col-12 mb-3" };
|
|
2975
2975
|
const _hoisted_10 = { class: "sh-search-bar" };
|
|
2976
2976
|
const _hoisted_11 = ["placeholder"];
|
|
2977
|
-
const _hoisted_12 =
|
|
2978
|
-
/*#__PURE__*/vue.createElementVNode("i", { class: "bi bi-search mb-0" })
|
|
2979
|
-
], -1 /* HOISTED */);
|
|
2980
|
-
const _hoisted_13 = {
|
|
2977
|
+
const _hoisted_12 = {
|
|
2981
2978
|
key: 0,
|
|
2982
2979
|
class: "text-center"
|
|
2983
2980
|
};
|
|
2984
|
-
const
|
|
2981
|
+
const _hoisted_13 = /*#__PURE__*/vue.createElementVNode("div", {
|
|
2985
2982
|
class: "spinner-border",
|
|
2986
2983
|
role: "status"
|
|
2987
2984
|
}, [
|
|
2988
2985
|
/*#__PURE__*/vue.createElementVNode("span", { class: "visually-hidden" }, "Loading...")
|
|
2989
2986
|
], -1 /* HOISTED */);
|
|
2990
|
-
const
|
|
2991
|
-
|
|
2987
|
+
const _hoisted_14 = [
|
|
2988
|
+
_hoisted_13
|
|
2992
2989
|
];
|
|
2993
|
-
const
|
|
2990
|
+
const _hoisted_15 = {
|
|
2994
2991
|
key: 1,
|
|
2995
2992
|
class: "alert alert-danger"
|
|
2996
2993
|
};
|
|
2997
|
-
const
|
|
2998
|
-
const
|
|
2994
|
+
const _hoisted_16 = { colspan: 2 };
|
|
2995
|
+
const _hoisted_17 = {
|
|
2999
2996
|
key: 0,
|
|
3000
2997
|
class: "text-center"
|
|
3001
2998
|
};
|
|
3002
|
-
const
|
|
2999
|
+
const _hoisted_18 = /*#__PURE__*/vue.createElementVNode("div", {
|
|
3003
3000
|
class: "spinner-border",
|
|
3004
3001
|
role: "status"
|
|
3005
3002
|
}, [
|
|
3006
3003
|
/*#__PURE__*/vue.createElementVNode("span", { class: "visually-hidden" }, "Loading...")
|
|
3007
3004
|
], -1 /* HOISTED */);
|
|
3008
|
-
const
|
|
3009
|
-
|
|
3005
|
+
const _hoisted_19 = [
|
|
3006
|
+
_hoisted_18
|
|
3010
3007
|
];
|
|
3011
|
-
const
|
|
3008
|
+
const _hoisted_20 = {
|
|
3012
3009
|
key: 1,
|
|
3013
3010
|
class: "alert alert-danger"
|
|
3014
3011
|
};
|
|
3015
|
-
const
|
|
3016
|
-
const
|
|
3017
|
-
|
|
3018
|
-
class: "table"
|
|
3019
|
-
};
|
|
3012
|
+
const _hoisted_21 = { colspan: 2 };
|
|
3013
|
+
const _hoisted_22 = { class: "sh-thead" };
|
|
3014
|
+
const _hoisted_23 = ["onClick"];
|
|
3020
3015
|
const _hoisted_24 = ["onClick"];
|
|
3021
3016
|
const _hoisted_25 = ["onClick"];
|
|
3022
|
-
const _hoisted_26 =
|
|
3023
|
-
const _hoisted_27 = {
|
|
3017
|
+
const _hoisted_26 = {
|
|
3024
3018
|
key: 0,
|
|
3025
3019
|
class: "text-capitalize"
|
|
3026
3020
|
};
|
|
3021
|
+
const _hoisted_27 = { class: "sh-tbody" };
|
|
3027
3022
|
const _hoisted_28 = {
|
|
3028
3023
|
key: 0,
|
|
3029
3024
|
class: "text-center"
|
|
@@ -3146,15 +3141,14 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3146
3141
|
vue.createElementVNode("div", _hoisted_9, [
|
|
3147
3142
|
vue.createElementVNode("div", _hoisted_10, [
|
|
3148
3143
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
3149
|
-
type: "
|
|
3144
|
+
type: "search",
|
|
3150
3145
|
onChange: _cache[1] || (_cache[1] = $event => ($options.reloadData(1))),
|
|
3151
3146
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => (($data.filter_value) = $event)),
|
|
3152
3147
|
placeholder: $props.searchPlaceholder ? $props.searchPlaceholder : 'Search',
|
|
3153
3148
|
class: "form-control sh-search-input"
|
|
3154
3149
|
}, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_11), [
|
|
3155
3150
|
[vue.vModelText, $data.filter_value]
|
|
3156
|
-
])
|
|
3157
|
-
_hoisted_12
|
|
3151
|
+
])
|
|
3158
3152
|
])
|
|
3159
3153
|
])
|
|
3160
3154
|
]))
|
|
@@ -3162,10 +3156,10 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3162
3156
|
($options.hasDefaultSlot)
|
|
3163
3157
|
? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [
|
|
3164
3158
|
($data.loading === 'loading')
|
|
3165
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
3159
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12, _hoisted_14))
|
|
3166
3160
|
: ($data.loading === 'error')
|
|
3167
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
3168
|
-
vue.createElementVNode("span",
|
|
3161
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_15, [
|
|
3162
|
+
vue.createElementVNode("span", _hoisted_16, vue.toDisplayString($data.loading_error), 1 /* TEXT */)
|
|
3169
3163
|
]))
|
|
3170
3164
|
: vue.createCommentVNode("v-if", true),
|
|
3171
3165
|
($data.loading === 'done')
|
|
@@ -3181,10 +3175,10 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3181
3175
|
($options.hasRecordsSlot)
|
|
3182
3176
|
? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 3 }, [
|
|
3183
3177
|
($data.loading === 'loading')
|
|
3184
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
3178
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_17, _hoisted_19))
|
|
3185
3179
|
: ($data.loading === 'error')
|
|
3186
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
3187
|
-
vue.createElementVNode("span",
|
|
3180
|
+
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_20, [
|
|
3181
|
+
vue.createElementVNode("span", _hoisted_21, vue.toDisplayString($data.loading_error), 1 /* TEXT */)
|
|
3188
3182
|
]))
|
|
3189
3183
|
: vue.createCommentVNode("v-if", true),
|
|
3190
3184
|
($data.loading === 'done')
|
|
@@ -3195,8 +3189,11 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3195
3189
|
: vue.createCommentVNode("v-if", true)
|
|
3196
3190
|
], 64 /* STABLE_FRAGMENT */))
|
|
3197
3191
|
: ($options.windowWidth > 700)
|
|
3198
|
-
? (vue.openBlock(), vue.createElementBlock("table",
|
|
3199
|
-
|
|
3192
|
+
? (vue.openBlock(), vue.createElementBlock("table", {
|
|
3193
|
+
key: 4,
|
|
3194
|
+
class: vue.normalizeClass(["table sh-table", $props.tableHover ? 'table-hover':''])
|
|
3195
|
+
}, [
|
|
3196
|
+
vue.createElementVNode("thead", _hoisted_22, [
|
|
3200
3197
|
vue.createElementVNode("tr", null, [
|
|
3201
3198
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($props.headers, (title) => {
|
|
3202
3199
|
return (vue.openBlock(), vue.createElementBlock("th", {
|
|
@@ -3207,26 +3204,26 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3207
3204
|
key: 0,
|
|
3208
3205
|
class: "text-capitalize",
|
|
3209
3206
|
onClick: $event => ($options.changeKey('order_by',title))
|
|
3210
|
-
}, vue.toDisplayString(title.replace(/_/g, ' ')), 9 /* TEXT, PROPS */,
|
|
3207
|
+
}, vue.toDisplayString(title.replace(/_/g, ' ')), 9 /* TEXT, PROPS */, _hoisted_23))
|
|
3211
3208
|
: (typeof title === 'function')
|
|
3212
3209
|
? (vue.openBlock(), vue.createElementBlock("a", {
|
|
3213
3210
|
key: 1,
|
|
3214
3211
|
class: "text-capitalize",
|
|
3215
3212
|
onClick: $event => ($options.changeKey('order_by',title))
|
|
3216
|
-
}, vue.toDisplayString(title(null).replace(/_/g, ' ')), 9 /* TEXT, PROPS */,
|
|
3213
|
+
}, vue.toDisplayString(title(null).replace(/_/g, ' ')), 9 /* TEXT, PROPS */, _hoisted_24))
|
|
3217
3214
|
: (vue.openBlock(), vue.createElementBlock("a", {
|
|
3218
3215
|
key: 2,
|
|
3219
3216
|
class: "text-capitalize",
|
|
3220
3217
|
onClick: $event => ($options.changeKey('order_by',title[0]))
|
|
3221
|
-
}, vue.toDisplayString(title[1].replace(/_/g, ' ')), 9 /* TEXT, PROPS */,
|
|
3218
|
+
}, vue.toDisplayString(title[1].replace(/_/g, ' ')), 9 /* TEXT, PROPS */, _hoisted_25))
|
|
3222
3219
|
]))
|
|
3223
3220
|
}), 128 /* KEYED_FRAGMENT */)),
|
|
3224
3221
|
($props.actions)
|
|
3225
|
-
? (vue.openBlock(), vue.createElementBlock("th",
|
|
3222
|
+
? (vue.openBlock(), vue.createElementBlock("th", _hoisted_26, vue.toDisplayString($props.actions.label), 1 /* TEXT */))
|
|
3226
3223
|
: vue.createCommentVNode("v-if", true)
|
|
3227
3224
|
])
|
|
3228
3225
|
]),
|
|
3229
|
-
vue.createElementVNode("tbody",
|
|
3226
|
+
vue.createElementVNode("tbody", _hoisted_27, [
|
|
3230
3227
|
($data.loading === 'loading')
|
|
3231
3228
|
? (vue.openBlock(), vue.createElementBlock("tr", _hoisted_28, [
|
|
3232
3229
|
vue.createElementVNode("td", {
|
|
@@ -3328,7 +3325,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3328
3325
|
}), 128 /* KEYED_FRAGMENT */))
|
|
3329
3326
|
: vue.createCommentVNode("v-if", true)
|
|
3330
3327
|
])
|
|
3331
|
-
]))
|
|
3328
|
+
], 2 /* CLASS */))
|
|
3332
3329
|
: (vue.openBlock(), vue.createElementBlock("div", _hoisted_48, [
|
|
3333
3330
|
($data.loading === 'loading')
|
|
3334
3331
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_49, _hoisted_51))
|
|
@@ -3520,10 +3517,9 @@ var script = {
|
|
|
3520
3517
|
}
|
|
3521
3518
|
};
|
|
3522
3519
|
|
|
3523
|
-
const _hoisted_1 = { class: "common_tabs" };
|
|
3520
|
+
const _hoisted_1 = { class: "common_tabs sh-horizontal-tabs" };
|
|
3524
3521
|
const _hoisted_2 = {
|
|
3525
3522
|
class: "nav nav-tabs mb-2",
|
|
3526
|
-
id: "myTab",
|
|
3527
3523
|
role: "tablist"
|
|
3528
3524
|
};
|
|
3529
3525
|
const _hoisted_3 = { class: "tab-content" };
|
package/dist/library.mjs
CHANGED
|
@@ -2726,7 +2726,7 @@ var helpers = {
|
|
|
2726
2726
|
|
|
2727
2727
|
var script$1 = {
|
|
2728
2728
|
name: 'sh-table',
|
|
2729
|
-
props: ['endPoint', 'headers', 'pageCount', 'actions', 'hideCount', 'hideLoadMore', 'links', 'reload', 'hideSearch', 'sharedData', 'searchPlaceholder', 'event', 'displayMore', 'displayMoreBtnClass', 'moreDetailsColumns', 'moreDetailsFields', 'hasDownload', 'downloadFields'],
|
|
2729
|
+
props: ['endPoint', 'headers', 'pageCount', 'actions', 'hideCount', 'hideLoadMore', 'links', 'reload', 'hideSearch', 'sharedData', 'searchPlaceholder', 'event', 'displayMore', 'displayMoreBtnClass', 'moreDetailsColumns', 'moreDetailsFields', 'hasDownload', 'downloadFields', 'tableHover'],
|
|
2730
2730
|
inject: ['channel', 'global'],
|
|
2731
2731
|
data () {
|
|
2732
2732
|
return {
|
|
@@ -2962,56 +2962,51 @@ const _hoisted_8 = {
|
|
|
2962
2962
|
const _hoisted_9 = { class: "col-12 mb-3" };
|
|
2963
2963
|
const _hoisted_10 = { class: "sh-search-bar" };
|
|
2964
2964
|
const _hoisted_11 = ["placeholder"];
|
|
2965
|
-
const _hoisted_12 =
|
|
2966
|
-
/*#__PURE__*/createElementVNode("i", { class: "bi bi-search mb-0" })
|
|
2967
|
-
], -1 /* HOISTED */);
|
|
2968
|
-
const _hoisted_13 = {
|
|
2965
|
+
const _hoisted_12 = {
|
|
2969
2966
|
key: 0,
|
|
2970
2967
|
class: "text-center"
|
|
2971
2968
|
};
|
|
2972
|
-
const
|
|
2969
|
+
const _hoisted_13 = /*#__PURE__*/createElementVNode("div", {
|
|
2973
2970
|
class: "spinner-border",
|
|
2974
2971
|
role: "status"
|
|
2975
2972
|
}, [
|
|
2976
2973
|
/*#__PURE__*/createElementVNode("span", { class: "visually-hidden" }, "Loading...")
|
|
2977
2974
|
], -1 /* HOISTED */);
|
|
2978
|
-
const
|
|
2979
|
-
|
|
2975
|
+
const _hoisted_14 = [
|
|
2976
|
+
_hoisted_13
|
|
2980
2977
|
];
|
|
2981
|
-
const
|
|
2978
|
+
const _hoisted_15 = {
|
|
2982
2979
|
key: 1,
|
|
2983
2980
|
class: "alert alert-danger"
|
|
2984
2981
|
};
|
|
2985
|
-
const
|
|
2986
|
-
const
|
|
2982
|
+
const _hoisted_16 = { colspan: 2 };
|
|
2983
|
+
const _hoisted_17 = {
|
|
2987
2984
|
key: 0,
|
|
2988
2985
|
class: "text-center"
|
|
2989
2986
|
};
|
|
2990
|
-
const
|
|
2987
|
+
const _hoisted_18 = /*#__PURE__*/createElementVNode("div", {
|
|
2991
2988
|
class: "spinner-border",
|
|
2992
2989
|
role: "status"
|
|
2993
2990
|
}, [
|
|
2994
2991
|
/*#__PURE__*/createElementVNode("span", { class: "visually-hidden" }, "Loading...")
|
|
2995
2992
|
], -1 /* HOISTED */);
|
|
2996
|
-
const
|
|
2997
|
-
|
|
2993
|
+
const _hoisted_19 = [
|
|
2994
|
+
_hoisted_18
|
|
2998
2995
|
];
|
|
2999
|
-
const
|
|
2996
|
+
const _hoisted_20 = {
|
|
3000
2997
|
key: 1,
|
|
3001
2998
|
class: "alert alert-danger"
|
|
3002
2999
|
};
|
|
3003
|
-
const
|
|
3004
|
-
const
|
|
3005
|
-
|
|
3006
|
-
class: "table"
|
|
3007
|
-
};
|
|
3000
|
+
const _hoisted_21 = { colspan: 2 };
|
|
3001
|
+
const _hoisted_22 = { class: "sh-thead" };
|
|
3002
|
+
const _hoisted_23 = ["onClick"];
|
|
3008
3003
|
const _hoisted_24 = ["onClick"];
|
|
3009
3004
|
const _hoisted_25 = ["onClick"];
|
|
3010
|
-
const _hoisted_26 =
|
|
3011
|
-
const _hoisted_27 = {
|
|
3005
|
+
const _hoisted_26 = {
|
|
3012
3006
|
key: 0,
|
|
3013
3007
|
class: "text-capitalize"
|
|
3014
3008
|
};
|
|
3009
|
+
const _hoisted_27 = { class: "sh-tbody" };
|
|
3015
3010
|
const _hoisted_28 = {
|
|
3016
3011
|
key: 0,
|
|
3017
3012
|
class: "text-center"
|
|
@@ -3134,15 +3129,14 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3134
3129
|
createElementVNode("div", _hoisted_9, [
|
|
3135
3130
|
createElementVNode("div", _hoisted_10, [
|
|
3136
3131
|
withDirectives(createElementVNode("input", {
|
|
3137
|
-
type: "
|
|
3132
|
+
type: "search",
|
|
3138
3133
|
onChange: _cache[1] || (_cache[1] = $event => ($options.reloadData(1))),
|
|
3139
3134
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => (($data.filter_value) = $event)),
|
|
3140
3135
|
placeholder: $props.searchPlaceholder ? $props.searchPlaceholder : 'Search',
|
|
3141
3136
|
class: "form-control sh-search-input"
|
|
3142
3137
|
}, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_11), [
|
|
3143
3138
|
[vModelText, $data.filter_value]
|
|
3144
|
-
])
|
|
3145
|
-
_hoisted_12
|
|
3139
|
+
])
|
|
3146
3140
|
])
|
|
3147
3141
|
])
|
|
3148
3142
|
]))
|
|
@@ -3150,10 +3144,10 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3150
3144
|
($options.hasDefaultSlot)
|
|
3151
3145
|
? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
3152
3146
|
($data.loading === 'loading')
|
|
3153
|
-
? (openBlock(), createElementBlock("div",
|
|
3147
|
+
? (openBlock(), createElementBlock("div", _hoisted_12, _hoisted_14))
|
|
3154
3148
|
: ($data.loading === 'error')
|
|
3155
|
-
? (openBlock(), createElementBlock("div",
|
|
3156
|
-
createElementVNode("span",
|
|
3149
|
+
? (openBlock(), createElementBlock("div", _hoisted_15, [
|
|
3150
|
+
createElementVNode("span", _hoisted_16, toDisplayString($data.loading_error), 1 /* TEXT */)
|
|
3157
3151
|
]))
|
|
3158
3152
|
: createCommentVNode("v-if", true),
|
|
3159
3153
|
($data.loading === 'done')
|
|
@@ -3169,10 +3163,10 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3169
3163
|
($options.hasRecordsSlot)
|
|
3170
3164
|
? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
|
|
3171
3165
|
($data.loading === 'loading')
|
|
3172
|
-
? (openBlock(), createElementBlock("div",
|
|
3166
|
+
? (openBlock(), createElementBlock("div", _hoisted_17, _hoisted_19))
|
|
3173
3167
|
: ($data.loading === 'error')
|
|
3174
|
-
? (openBlock(), createElementBlock("div",
|
|
3175
|
-
createElementVNode("span",
|
|
3168
|
+
? (openBlock(), createElementBlock("div", _hoisted_20, [
|
|
3169
|
+
createElementVNode("span", _hoisted_21, toDisplayString($data.loading_error), 1 /* TEXT */)
|
|
3176
3170
|
]))
|
|
3177
3171
|
: createCommentVNode("v-if", true),
|
|
3178
3172
|
($data.loading === 'done')
|
|
@@ -3183,8 +3177,11 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3183
3177
|
: createCommentVNode("v-if", true)
|
|
3184
3178
|
], 64 /* STABLE_FRAGMENT */))
|
|
3185
3179
|
: ($options.windowWidth > 700)
|
|
3186
|
-
? (openBlock(), createElementBlock("table",
|
|
3187
|
-
|
|
3180
|
+
? (openBlock(), createElementBlock("table", {
|
|
3181
|
+
key: 4,
|
|
3182
|
+
class: normalizeClass(["table sh-table", $props.tableHover ? 'table-hover':''])
|
|
3183
|
+
}, [
|
|
3184
|
+
createElementVNode("thead", _hoisted_22, [
|
|
3188
3185
|
createElementVNode("tr", null, [
|
|
3189
3186
|
(openBlock(true), createElementBlock(Fragment, null, renderList($props.headers, (title) => {
|
|
3190
3187
|
return (openBlock(), createElementBlock("th", {
|
|
@@ -3195,26 +3192,26 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3195
3192
|
key: 0,
|
|
3196
3193
|
class: "text-capitalize",
|
|
3197
3194
|
onClick: $event => ($options.changeKey('order_by',title))
|
|
3198
|
-
}, toDisplayString(title.replace(/_/g, ' ')), 9 /* TEXT, PROPS */,
|
|
3195
|
+
}, toDisplayString(title.replace(/_/g, ' ')), 9 /* TEXT, PROPS */, _hoisted_23))
|
|
3199
3196
|
: (typeof title === 'function')
|
|
3200
3197
|
? (openBlock(), createElementBlock("a", {
|
|
3201
3198
|
key: 1,
|
|
3202
3199
|
class: "text-capitalize",
|
|
3203
3200
|
onClick: $event => ($options.changeKey('order_by',title))
|
|
3204
|
-
}, toDisplayString(title(null).replace(/_/g, ' ')), 9 /* TEXT, PROPS */,
|
|
3201
|
+
}, toDisplayString(title(null).replace(/_/g, ' ')), 9 /* TEXT, PROPS */, _hoisted_24))
|
|
3205
3202
|
: (openBlock(), createElementBlock("a", {
|
|
3206
3203
|
key: 2,
|
|
3207
3204
|
class: "text-capitalize",
|
|
3208
3205
|
onClick: $event => ($options.changeKey('order_by',title[0]))
|
|
3209
|
-
}, toDisplayString(title[1].replace(/_/g, ' ')), 9 /* TEXT, PROPS */,
|
|
3206
|
+
}, toDisplayString(title[1].replace(/_/g, ' ')), 9 /* TEXT, PROPS */, _hoisted_25))
|
|
3210
3207
|
]))
|
|
3211
3208
|
}), 128 /* KEYED_FRAGMENT */)),
|
|
3212
3209
|
($props.actions)
|
|
3213
|
-
? (openBlock(), createElementBlock("th",
|
|
3210
|
+
? (openBlock(), createElementBlock("th", _hoisted_26, toDisplayString($props.actions.label), 1 /* TEXT */))
|
|
3214
3211
|
: createCommentVNode("v-if", true)
|
|
3215
3212
|
])
|
|
3216
3213
|
]),
|
|
3217
|
-
createElementVNode("tbody",
|
|
3214
|
+
createElementVNode("tbody", _hoisted_27, [
|
|
3218
3215
|
($data.loading === 'loading')
|
|
3219
3216
|
? (openBlock(), createElementBlock("tr", _hoisted_28, [
|
|
3220
3217
|
createElementVNode("td", {
|
|
@@ -3316,7 +3313,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3316
3313
|
}), 128 /* KEYED_FRAGMENT */))
|
|
3317
3314
|
: createCommentVNode("v-if", true)
|
|
3318
3315
|
])
|
|
3319
|
-
]))
|
|
3316
|
+
], 2 /* CLASS */))
|
|
3320
3317
|
: (openBlock(), createElementBlock("div", _hoisted_48, [
|
|
3321
3318
|
($data.loading === 'loading')
|
|
3322
3319
|
? (openBlock(), createElementBlock("div", _hoisted_49, _hoisted_51))
|
|
@@ -3508,10 +3505,9 @@ var script = {
|
|
|
3508
3505
|
}
|
|
3509
3506
|
};
|
|
3510
3507
|
|
|
3511
|
-
const _hoisted_1 = { class: "common_tabs" };
|
|
3508
|
+
const _hoisted_1 = { class: "common_tabs sh-horizontal-tabs" };
|
|
3512
3509
|
const _hoisted_2 = {
|
|
3513
3510
|
class: "nav nav-tabs mb-2",
|
|
3514
|
-
id: "myTab",
|
|
3515
3511
|
role: "tablist"
|
|
3516
3512
|
};
|
|
3517
3513
|
const _hoisted_3 = { class: "tab-content" };
|