@ldmjs/ui 1.0.79 → 1.0.81
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/index.js +17 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -331,11 +331,15 @@ const ActiveDirectiveOptions = {
|
|
|
331
331
|
},
|
|
332
332
|
};
|
|
333
333
|
|
|
334
|
-
;// ./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use!./src/ld-breadcrumbs/ld-breadcrumbs.vue?vue&type=template&id=
|
|
334
|
+
;// ./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use!./src/ld-breadcrumbs/ld-breadcrumbs.vue?vue&type=template&id=ff26d08e
|
|
335
335
|
|
|
336
336
|
|
|
337
337
|
const _hoisted_1 = ["onClick"]
|
|
338
|
-
const _hoisted_2 = {
|
|
338
|
+
const _hoisted_2 = { style: {"display":"block","height":"15px"} }
|
|
339
|
+
const _hoisted_3 = {
|
|
340
|
+
key: 0,
|
|
341
|
+
style: {"padding-left":"3px"}
|
|
342
|
+
}
|
|
339
343
|
|
|
340
344
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
341
345
|
const _component_ld_icon = (0,external_vue_.resolveComponent)("ld-icon")
|
|
@@ -365,19 +369,20 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
365
369
|
}, 8, ["onClick"]))
|
|
366
370
|
: ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("div", {
|
|
367
371
|
key: 1,
|
|
368
|
-
onClick: $event => (_ctx.go(item))
|
|
372
|
+
onClick: $event => (_ctx.go(item)),
|
|
373
|
+
class: "d-flex"
|
|
369
374
|
}, [
|
|
370
|
-
(0,external_vue_.createElementVNode)("span",
|
|
375
|
+
(0,external_vue_.createElementVNode)("span", _hoisted_2, (0,external_vue_.toDisplayString)(item.text), 1),
|
|
371
376
|
_cache[1] || (_cache[1] = (0,external_vue_.createTextVNode)()),
|
|
372
377
|
(item.remark)
|
|
373
|
-
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("span",
|
|
378
|
+
? ((0,external_vue_.openBlock)(), (0,external_vue_.createElementBlock)("span", _hoisted_3, "(" + (0,external_vue_.toDisplayString)(item.remark) + ")", 1))
|
|
374
379
|
: (0,external_vue_.createCommentVNode)("", true)
|
|
375
380
|
], 8, _hoisted_1))
|
|
376
381
|
]),
|
|
377
382
|
_: 1
|
|
378
383
|
}, 8, ["items"]))
|
|
379
384
|
}
|
|
380
|
-
;// ./src/ld-breadcrumbs/ld-breadcrumbs.vue?vue&type=template&id=
|
|
385
|
+
;// ./src/ld-breadcrumbs/ld-breadcrumbs.vue?vue&type=template&id=ff26d08e
|
|
381
386
|
|
|
382
387
|
// EXTERNAL MODULE: external "vue-property-decorator"
|
|
383
388
|
var external_vue_property_decorator_ = __webpack_require__(5070);
|
|
@@ -402,7 +407,7 @@ class BreadcrumbsComponent extends external_vue_property_decorator_.Vue {
|
|
|
402
407
|
if (this.breadcrumbs && this.breadcrumbs.length) {
|
|
403
408
|
this.items = [
|
|
404
409
|
...this.breadcrumbs.map((item, index) => {
|
|
405
|
-
item.disabled = index === this.breadcrumbs.length - 1;
|
|
410
|
+
item.disabled = item.disabled === true ? item.disabled : index === this.breadcrumbs.length - 1;
|
|
406
411
|
return item;
|
|
407
412
|
}),
|
|
408
413
|
];
|
|
@@ -420,6 +425,9 @@ class BreadcrumbsComponent extends external_vue_property_decorator_.Vue {
|
|
|
420
425
|
});
|
|
421
426
|
}
|
|
422
427
|
go(item) {
|
|
428
|
+
if (item.disabled) {
|
|
429
|
+
return;
|
|
430
|
+
}
|
|
423
431
|
if (!this.$router) {
|
|
424
432
|
/* eslint-disable no-console */
|
|
425
433
|
console.error('Router is undefined');
|
|
@@ -780,7 +788,7 @@ const ld_checkboxvue_type_template_id_537ecc61_ts_true_hoisted_2 = {
|
|
|
780
788
|
class: "d-flex align-center",
|
|
781
789
|
style: { "height": "var(--input-height)" }
|
|
782
790
|
};
|
|
783
|
-
const
|
|
791
|
+
const ld_checkboxvue_type_template_id_537ecc61_ts_true_hoisted_3 = ["checked", "data-testid", "tabindex", "disabled"];
|
|
784
792
|
function ld_checkboxvue_type_template_id_537ecc61_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
785
793
|
const _component_ld_help = (0,external_vue_.resolveComponent)("ld-help");
|
|
786
794
|
const _component_v_tooltip = (0,external_vue_.resolveComponent)("v-tooltip");
|
|
@@ -848,7 +856,7 @@ function ld_checkboxvue_type_template_id_537ecc61_ts_true_render(_ctx, _cache, $
|
|
|
848
856
|
onInput: _cache[3] || (_cache[3] =
|
|
849
857
|
//@ts-ignore
|
|
850
858
|
(...args) => (_ctx.onChange && _ctx.onChange(...args)))
|
|
851
|
-
}, null, 40,
|
|
859
|
+
}, null, 40, ld_checkboxvue_type_template_id_537ecc61_ts_true_hoisted_3),
|
|
852
860
|
_cache[6] || (_cache[6] = (0,external_vue_.createTextVNode)()),
|
|
853
861
|
_cache[7] || (_cache[7] = (0,external_vue_.createElementVNode)("i", { class: "v-icon" }, [
|
|
854
862
|
(0,external_vue_.createElementVNode)("svg", {
|