@qikdev/vue-ui 0.2.46 → 0.2.47
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/lib.es.js +10 -4
- package/dist/lib.es.js.map +1 -1
- package/dist/lib.umd.js +3 -3
- package/dist/lib.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/lib.es.js
CHANGED
|
@@ -32,7 +32,7 @@ var __objRest = (source, exclude) => {
|
|
|
32
32
|
};
|
|
33
33
|
import { openBlock, createElementBlock, renderSlot, resolveComponent, normalizeClass, Fragment, createVNode, withCtx, renderList, toDisplayString, withDirectives, createBlock, resolveDynamicComponent, vShow, withModifiers, createTextVNode, createCommentVNode, createElementVNode, h, mergeProps, toHandlers, vModelSelect, pushScopeId, popScopeId, normalizeStyle, Teleport, vModelText, withKeys, TransitionGroup, defineComponent, nextTick, vModelDynamic, reactive, watch } from "vue";
|
|
34
34
|
import { EventDispatcher } from "@qikdev/sdk";
|
|
35
|
-
const version$1 = "0.2.
|
|
35
|
+
const version$1 = "0.2.47";
|
|
36
36
|
var flexColumn_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
37
37
|
var _export_sfc = (sfc, props2) => {
|
|
38
38
|
const target = sfc.__vccOpts || sfc;
|
|
@@ -844,6 +844,12 @@ const _sfc_main$1c = {
|
|
|
844
844
|
type() {
|
|
845
845
|
var _a, _b;
|
|
846
846
|
return (_b = (_a = this.row) == null ? void 0 : _a.meta) == null ? void 0 : _b.type;
|
|
847
|
+
},
|
|
848
|
+
label() {
|
|
849
|
+
if (typeof this.button.text === "function") {
|
|
850
|
+
return this.button.text();
|
|
851
|
+
}
|
|
852
|
+
return this.button.text;
|
|
847
853
|
}
|
|
848
854
|
},
|
|
849
855
|
methods: {
|
|
@@ -866,8 +872,8 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
866
872
|
onClick: withModifiers($options.clicked, ["stop", "prevent"])
|
|
867
873
|
}, {
|
|
868
874
|
default: withCtx(() => [
|
|
869
|
-
$options.
|
|
870
|
-
createTextVNode(toDisplayString($options.
|
|
875
|
+
$options.label ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
876
|
+
createTextVNode(toDisplayString($options.label), 1)
|
|
871
877
|
], 64)) : createCommentVNode("", true),
|
|
872
878
|
$options.button.icon ? (openBlock(), createBlock(_component_ux_icon, {
|
|
873
879
|
key: 1,
|
|
@@ -879,7 +885,7 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
879
885
|
}, 8, ["color", "size", "loading", "onClick"])
|
|
880
886
|
]);
|
|
881
887
|
}
|
|
882
|
-
var ButtonCell = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["render", _sfc_render$1c], ["__scopeId", "data-v-
|
|
888
|
+
var ButtonCell = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["render", _sfc_render$1c], ["__scopeId", "data-v-49b3260d"]]);
|
|
883
889
|
class LuxonError extends Error {
|
|
884
890
|
}
|
|
885
891
|
class InvalidDateTimeError extends LuxonError {
|