@castlabs/ui 4.21.0 → 4.21.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/castlabs-ui.common.js +16 -10
- package/dist/castlabs-ui.common.js.map +1 -1
- package/dist/castlabs-ui.core.js +5 -1
- package/dist/castlabs-ui.module.js +5 -1
- package/dist/castlabs-ui.umd.js +16 -10
- package/dist/castlabs-ui.umd.js.map +1 -1
- package/dist/castlabs-ui.umd.min.js +1 -1
- package/dist/castlabs-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/castlabs-ui.core.js
CHANGED
|
@@ -843,7 +843,11 @@ function clTableSorterObjects (
|
|
|
843
843
|
) {
|
|
844
844
|
return clTableSorter((col, order) => {
|
|
845
845
|
return {
|
|
846
|
-
sorted: clPaginate(
|
|
846
|
+
sorted: clPaginate(
|
|
847
|
+
clSort(dataCallback, keys[col], order),
|
|
848
|
+
pageNoCallback(),
|
|
849
|
+
pageSizeCallback()
|
|
850
|
+
),
|
|
847
851
|
sortedOrder: order
|
|
848
852
|
}
|
|
849
853
|
}, initialCol)
|
|
@@ -843,7 +843,11 @@ export function clTableSorterObjects (
|
|
|
843
843
|
) {
|
|
844
844
|
return clTableSorter((col, order) => {
|
|
845
845
|
return {
|
|
846
|
-
sorted: clPaginate(
|
|
846
|
+
sorted: clPaginate(
|
|
847
|
+
clSort(dataCallback, keys[col], order),
|
|
848
|
+
pageNoCallback(),
|
|
849
|
+
pageSizeCallback()
|
|
850
|
+
),
|
|
847
851
|
sortedOrder: order
|
|
848
852
|
}
|
|
849
853
|
}, initialCol)
|
package/dist/castlabs-ui.umd.js
CHANGED
|
@@ -2644,7 +2644,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2644
2644
|
name: 'ClUI',
|
|
2645
2645
|
computed: {
|
|
2646
2646
|
version: function () {
|
|
2647
|
-
return "4.21.
|
|
2647
|
+
return "4.21.1" ?? 0;
|
|
2648
2648
|
}
|
|
2649
2649
|
}
|
|
2650
2650
|
}));
|
|
@@ -5178,20 +5178,21 @@ ClModalConfirm_template.install = Vue => {
|
|
|
5178
5178
|
Vue.component(ClModalConfirm_template.name ?? 'ClNoName', ClModalConfirm_template);
|
|
5179
5179
|
};
|
|
5180
5180
|
/* harmony default export */ var ClModalConfirm = (ClModalConfirm_template);
|
|
5181
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-86.use[2]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/modal/ClModalOk/template.vue?vue&type=template&id=
|
|
5181
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-86.use[2]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/modal/ClModalOk/template.vue?vue&type=template&id=59bd2f86&ts=true
|
|
5182
5182
|
|
|
5183
|
-
const
|
|
5183
|
+
const templatevue_type_template_id_59bd2f86_ts_true_hoisted_1 = {
|
|
5184
5184
|
key: 0,
|
|
5185
5185
|
class: "fas fa-angle-left"
|
|
5186
5186
|
};
|
|
5187
|
-
const
|
|
5187
|
+
const templatevue_type_template_id_59bd2f86_ts_true_hoisted_2 = {
|
|
5188
5188
|
key: 0,
|
|
5189
5189
|
class: "fas fa-angle-right"
|
|
5190
5190
|
};
|
|
5191
|
-
function
|
|
5191
|
+
function templatevue_type_template_id_59bd2f86_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5192
5192
|
const _component_cl_modal = (0,external_vue_.resolveComponent)("cl-modal");
|
|
5193
5193
|
return (0,external_vue_.openBlock)(), (0,external_vue_.createBlock)(_component_cl_modal, {
|
|
5194
5194
|
id: _ctx.id,
|
|
5195
|
+
form: _ctx.form,
|
|
5195
5196
|
"on-open": _ctx.opened,
|
|
5196
5197
|
"on-close": _ctx.closed
|
|
5197
5198
|
}, {
|
|
@@ -5204,7 +5205,7 @@ function templatevue_type_template_id_0cffa84a_ts_true_render(_ctx, _cache, $pro
|
|
|
5204
5205
|
onClick: _cache[0] || (_cache[0] =
|
|
5205
5206
|
//@ts-ignore
|
|
5206
5207
|
(...args) => _ctx.buttonCancel && _ctx.buttonCancel(...args))
|
|
5207
|
-
}, [_ctx.angles ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("i",
|
|
5208
|
+
}, [_ctx.angles ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("i", templatevue_type_template_id_59bd2f86_ts_true_hoisted_1)) : (0,external_vue_.createCommentVNode)("", true), (0,external_vue_.createElementVNode)("span", null, (0,external_vue_.toDisplayString)(_ctx.cancel), 1)])) : (0,external_vue_.createCommentVNode)("", true)]),
|
|
5208
5209
|
"footer-right": (0,external_vue_.withCtx)(() => [(0,external_vue_.createElementVNode)("button", {
|
|
5209
5210
|
type: "button",
|
|
5210
5211
|
class: (0,external_vue_.normalizeClass)(["btn it-ok", {
|
|
@@ -5215,11 +5216,11 @@ function templatevue_type_template_id_0cffa84a_ts_true_render(_ctx, _cache, $pro
|
|
|
5215
5216
|
onClick: _cache[1] || (_cache[1] =
|
|
5216
5217
|
//@ts-ignore
|
|
5217
5218
|
(...args) => _ctx.buttonOk && _ctx.buttonOk(...args))
|
|
5218
|
-
}, [(0,external_vue_.createElementVNode)("span", null, (0,external_vue_.toDisplayString)(_ctx.ok ?? _ctx.button), 1), _ctx.angles ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("i",
|
|
5219
|
+
}, [(0,external_vue_.createElementVNode)("span", null, (0,external_vue_.toDisplayString)(_ctx.ok ?? _ctx.button), 1), _ctx.angles ? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("i", templatevue_type_template_id_59bd2f86_ts_true_hoisted_2)) : (0,external_vue_.createCommentVNode)("", true)], 2)]),
|
|
5219
5220
|
_: 3
|
|
5220
|
-
}, 8, ["id", "on-open", "on-close"]);
|
|
5221
|
+
}, 8, ["id", "form", "on-open", "on-close"]);
|
|
5221
5222
|
}
|
|
5222
|
-
;// ./src/components/modal/ClModalOk/template.vue?vue&type=template&id=
|
|
5223
|
+
;// ./src/components/modal/ClModalOk/template.vue?vue&type=template&id=59bd2f86&ts=true
|
|
5223
5224
|
|
|
5224
5225
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-86.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/modal/ClModalOk/template.vue?vue&type=script&lang=ts
|
|
5225
5226
|
|
|
@@ -5236,6 +5237,11 @@ function templatevue_type_template_id_0cffa84a_ts_true_render(_ctx, _cache, $pro
|
|
|
5236
5237
|
type: String,
|
|
5237
5238
|
default: 'Information'
|
|
5238
5239
|
},
|
|
5240
|
+
form: {
|
|
5241
|
+
// if true, the modal will render a <form> as body
|
|
5242
|
+
type: Boolean,
|
|
5243
|
+
default: false
|
|
5244
|
+
},
|
|
5239
5245
|
body: {
|
|
5240
5246
|
type: String,
|
|
5241
5247
|
default: undefined
|
|
@@ -5309,7 +5315,7 @@ function templatevue_type_template_id_0cffa84a_ts_true_render(_ctx, _cache, $pro
|
|
|
5309
5315
|
|
|
5310
5316
|
|
|
5311
5317
|
;
|
|
5312
|
-
const ClModalOk_template_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ClModalOk_templatevue_type_script_lang_ts, [['render',
|
|
5318
|
+
const ClModalOk_template_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ClModalOk_templatevue_type_script_lang_ts, [['render',templatevue_type_template_id_59bd2f86_ts_true_render]])
|
|
5313
5319
|
|
|
5314
5320
|
/* harmony default export */ var ClModalOk_template = (ClModalOk_template_exports_);
|
|
5315
5321
|
;// ./src/components/modal/ClModalOk/index.ts
|