yxuse 2.0.35 → 2.0.36
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/README.md +22 -1
- package/lib/index.cjs12.js +1 -1
- package/lib/index.cjs12.js.gz +0 -0
- package/lib/index.cjs12.js.map +1 -1
- package/lib/index.cjs2.js +1 -1
- package/lib/index.cjs5.js +1 -1
- package/lib/index.cjs5.js.gz +0 -0
- package/lib/index.cjs5.js.map +1 -1
- package/lib/index.cjs6.js +1 -1
- package/lib/index.cjs6.js.gz +0 -0
- package/lib/index.cjs6.js.map +1 -1
- package/lib/index.es12.js +7 -3
- package/lib/index.es12.js.gz +0 -0
- package/lib/index.es12.js.map +1 -1
- package/lib/index.es2.js +2 -1
- package/lib/index.es2.js.map +1 -1
- package/lib/index.es5.js +14 -2
- package/lib/index.es5.js.gz +0 -0
- package/lib/index.es5.js.map +1 -1
- package/lib/index.es6.js +12 -3
- package/lib/index.es6.js.gz +0 -0
- package/lib/index.es6.js.map +1 -1
- package/lib/mqtt.min.cjs.js +1 -1
- package/lib/mqtt.min.cjs.js.gz +0 -0
- package/lib/mqtt.min.cjs.js.map +1 -1
- package/lib/mqtt.min.es.js +6 -2
- package/lib/mqtt.min.es.js.gz +0 -0
- package/lib/mqtt.min.es.js.map +1 -1
- package/lib/style.css +1 -1
- package/lib/style.css.gz +0 -0
- package/lib/utils.cjs.js +1 -1
- package/lib/utils.es.js +3 -2
- package/package.json +1 -1
- package/types/bc/index.d.ts +7 -0
- package/types/components/LogoTitle/index.vue.d.ts +9 -0
- package/types/components/LogoTitle/type.d.ts +4 -0
- package/types/components/YxTable/index.vue.d.ts +2 -2
- package/types/components/YxTable/type.d.ts +5 -1
- package/types/utils/common/index.d.ts +5 -0
package/lib/index.es6.js
CHANGED
|
@@ -20532,6 +20532,11 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
20532
20532
|
if (cell == null ? void 0 : cell.render) return cell == null ? void 0 : cell.render(scope.row);
|
|
20533
20533
|
if (children && (children == null ? void 0 : children.length) > 0) return renderColumn(children);
|
|
20534
20534
|
return (cell == null ? void 0 : cell.slotName) && columnSlots(cell, scope);
|
|
20535
|
+
},
|
|
20536
|
+
header: (scope) => {
|
|
20537
|
+
var _a2;
|
|
20538
|
+
if (cell == null ? void 0 : cell.headerRender) return cell == null ? void 0 : cell.headerRender(scope.row);
|
|
20539
|
+
if (cell == null ? void 0 : cell.headerSlotName) return (_a2 = slots[cell == null ? void 0 : cell.headerSlotName]) == null ? void 0 : _a2.call(slots, scope);
|
|
20535
20540
|
}
|
|
20536
20541
|
});
|
|
20537
20542
|
});
|
|
@@ -20542,11 +20547,11 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
20542
20547
|
"class": `flex justify-center items-center cursor-pointer gap-10 ${(_b = (_a = cell.config) == null ? void 0 : _a.className) != null ? _b : ""}`
|
|
20543
20548
|
}, [(_c = cell.operate) == null ? void 0 : _c.filter((op) => !op.show || op.show(scope.row)).map((op) => {
|
|
20544
20549
|
var _a2;
|
|
20545
|
-
if (op == null ? void 0 : op.render) return op.render(scope.row);
|
|
20550
|
+
if (op == null ? void 0 : op.render) return op.render(scope.row, scope.$index);
|
|
20546
20551
|
return createVNode("span", {
|
|
20547
20552
|
"onClick": withModifiers(() => {
|
|
20548
20553
|
(op == null ? void 0 : op.onClick) && (op == null ? void 0 : op.onClick(scope.row));
|
|
20549
|
-
emit("operate-handle", op.key, scope.row);
|
|
20554
|
+
emit("operate-handle", op.key, scope.row, scope.$index);
|
|
20550
20555
|
}, ["stop"]),
|
|
20551
20556
|
"class": `table-handle whitespace-nowrap ${(_a2 = op == null ? void 0 : op.className) != null ? _a2 : ""}`
|
|
20552
20557
|
}, [op.label]);
|
|
@@ -21121,6 +21126,10 @@ const _sfc_main = {
|
|
|
21121
21126
|
showTitle: {
|
|
21122
21127
|
type: Boolean,
|
|
21123
21128
|
default: false
|
|
21129
|
+
},
|
|
21130
|
+
logoCanJump: {
|
|
21131
|
+
type: Boolean,
|
|
21132
|
+
default: true
|
|
21124
21133
|
}
|
|
21125
21134
|
},
|
|
21126
21135
|
data() {
|
|
@@ -21170,7 +21179,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
21170
21179
|
}, toDisplayString((_d = $data.customConfig) == null ? void 0 : _d.title), 5)) : createCommentVNode("", true)
|
|
21171
21180
|
], 2);
|
|
21172
21181
|
}
|
|
21173
|
-
const LogoTitle = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
21182
|
+
const LogoTitle = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-376fc0fb"]]);
|
|
21174
21183
|
class LogoTitleRender {
|
|
21175
21184
|
constructor(props, domId = "system-logo-title") {
|
|
21176
21185
|
this.render(props, domId);
|
package/lib/index.es6.js.gz
CHANGED
|
Binary file
|