yxuse 3.0.46 → 3.0.48
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 +7 -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.es6.js +12 -7
- package/lib/index.es6.js.gz +0 -0
- package/lib/index.es6.js.map +1 -1
- package/lib/style.css +1 -1
- package/lib/style.css.gz +0 -0
- package/package.json +1 -1
- package/types/components/LogoTitle/index.d.ts +3 -2
- package/types/components/LogoTitle/type.d.ts +9 -0
- package/types/components/YxTable/type.d.ts +4 -0
package/lib/index.es6.js
CHANGED
|
@@ -20533,6 +20533,11 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
20533
20533
|
if (cell == null ? void 0 : cell.render) return cell == null ? void 0 : cell.render(scope.row);
|
|
20534
20534
|
if (children && (children == null ? void 0 : children.length) > 0) return renderColumn(children);
|
|
20535
20535
|
return (cell == null ? void 0 : cell.slotName) && columnSlots(cell, scope);
|
|
20536
|
+
},
|
|
20537
|
+
header: (scope) => {
|
|
20538
|
+
var _a2;
|
|
20539
|
+
if (cell == null ? void 0 : cell.headerRender) return cell == null ? void 0 : cell.headerRender(scope.row);
|
|
20540
|
+
if (cell == null ? void 0 : cell.headerSlotName) return (_a2 = slots[cell == null ? void 0 : cell.headerSlotName]) == null ? void 0 : _a2.call(slots, scope);
|
|
20536
20541
|
}
|
|
20537
20542
|
});
|
|
20538
20543
|
});
|
|
@@ -21121,7 +21126,7 @@ const _sfc_main = {
|
|
|
21121
21126
|
},
|
|
21122
21127
|
showTitle: {
|
|
21123
21128
|
type: Boolean,
|
|
21124
|
-
default:
|
|
21129
|
+
default: false
|
|
21125
21130
|
}
|
|
21126
21131
|
},
|
|
21127
21132
|
data() {
|
|
@@ -21171,20 +21176,20 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
21171
21176
|
}, toDisplayString((_d = $data.customConfig) == null ? void 0 : _d.title), 5)) : createCommentVNode("", true)
|
|
21172
21177
|
], 2);
|
|
21173
21178
|
}
|
|
21174
|
-
const LogoTitle = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
21179
|
+
const LogoTitle = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-e80488a8"]]);
|
|
21175
21180
|
class LogoTitleRender {
|
|
21176
|
-
constructor(domId = "system-logo-title") {
|
|
21177
|
-
this.render(domId);
|
|
21181
|
+
constructor(props, domId = "system-logo-title") {
|
|
21182
|
+
this.render(props, domId);
|
|
21178
21183
|
}
|
|
21179
21184
|
get vueVersion() {
|
|
21180
21185
|
return version[0];
|
|
21181
21186
|
}
|
|
21182
|
-
render(domId) {
|
|
21187
|
+
render(props, domId) {
|
|
21183
21188
|
if (this.vueVersion === "3") {
|
|
21184
|
-
createApp(LogoTitle).mount(`#${domId}`);
|
|
21189
|
+
createApp(LogoTitle, props).mount(`#${domId}`);
|
|
21185
21190
|
} else {
|
|
21186
21191
|
const Vue = require("vue");
|
|
21187
|
-
return new Vue({ render: (h) => h(LogoTitle) }).$mount(`#${domId}`);
|
|
21192
|
+
return new Vue({ render: (h) => h(LogoTitle, { props }) }).$mount(`#${domId}`);
|
|
21188
21193
|
}
|
|
21189
21194
|
}
|
|
21190
21195
|
}
|
package/lib/index.es6.js.gz
CHANGED
|
Binary file
|