bm-admin-ui 0.1.1-7 → 1.0.0-alpha
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/.pnpm-debug.log +16 -0
- package/es/components/button/index.d.ts +39 -17
- package/es/components/button/index.js +18 -9
- package/es/components/button/src/button.d.ts +10 -1
- package/es/components/button/src/button.vue.d.ts +45 -21
- package/es/components/flow-designer/index.js +1 -1
- package/es/components/form-designer/index.js +1 -1
- package/es/components/search-filter/index.d.ts +23 -5250
- package/es/components/search-filter/index.js +11 -9
- package/es/components/search-filter/src/search-filter.vue.d.ts +23 -5251
- package/es/components/search-filter/src/search-reset-btn.vue.d.ts +0 -270
- package/es/components/search-filter/src/serach-filter.d.ts +3 -4
- package/index.esm.js +1007 -4293
- package/index.js +1006 -4292
- package/lib/components/button/index.d.ts +39 -17
- package/lib/components/button/index.js +17 -8
- package/lib/components/button/src/button.d.ts +10 -1
- package/lib/components/button/src/button.vue.d.ts +45 -21
- package/lib/components/flow-designer/index.js +1 -1
- package/lib/components/form-designer/index.js +1 -1
- package/lib/components/search-filter/index.d.ts +23 -5250
- package/lib/components/search-filter/index.js +10 -8
- package/lib/components/search-filter/src/search-filter.vue.d.ts +23 -5251
- package/lib/components/search-filter/src/search-reset-btn.vue.d.ts +0 -270
- package/lib/components/search-filter/src/serach-filter.d.ts +3 -4
- package/package.json +5 -5
- package/theme-chalk/button.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/types/components/button/index.d.ts +39 -17
- package/types/components/button/src/button.d.ts +10 -1
- package/types/components/button/src/button.vue.d.ts +45 -21
- package/types/components/search-filter/index.d.ts +23 -5250
- package/types/components/search-filter/src/search-filter.vue.d.ts +23 -5251
- package/types/components/search-filter/src/search-reset-btn.vue.d.ts +0 -270
- package/types/components/search-filter/src/serach-filter.d.ts +3 -4
|
@@ -5,7 +5,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var withInstall = require('bm-admin-ui/lib/utils/with-install');
|
|
6
6
|
var vue = require('vue');
|
|
7
7
|
var FormCreateCtr = require('@form-create/ant-design-vue');
|
|
8
|
-
var antDesignVue = require('ant-design-vue');
|
|
9
8
|
|
|
10
9
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
11
10
|
|
|
@@ -1176,7 +1175,9 @@ const searchFilterProps = Object.assign({ userRule: {
|
|
|
1176
1175
|
},
|
|
1177
1176
|
}, value: {
|
|
1178
1177
|
type: Object,
|
|
1179
|
-
|
|
1178
|
+
default() {
|
|
1179
|
+
return {};
|
|
1180
|
+
},
|
|
1180
1181
|
}, ruleSpan: {
|
|
1181
1182
|
type: Object,
|
|
1182
1183
|
default() {
|
|
@@ -1216,6 +1217,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1216
1217
|
emits("reset");
|
|
1217
1218
|
}
|
|
1218
1219
|
return (_ctx, _cache) => {
|
|
1220
|
+
const _component_a_button = vue.resolveComponent("a-button");
|
|
1219
1221
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1, [
|
|
1220
1222
|
props.showExpandBtn ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
1221
1223
|
key: 0,
|
|
@@ -1231,7 +1233,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1231
1233
|
style: vue.normalizeStyle(Object.assign(expandBtnStyle))
|
|
1232
1234
|
}, null, 8, ["style"]))
|
|
1233
1235
|
])) : vue.createCommentVNode("v-if", true),
|
|
1234
|
-
vue.createVNode(
|
|
1236
|
+
vue.createVNode(_component_a_button, {
|
|
1235
1237
|
type: "primary",
|
|
1236
1238
|
onClick: handleSubmit
|
|
1237
1239
|
}, {
|
|
@@ -1240,7 +1242,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1240
1242
|
]),
|
|
1241
1243
|
_: 1
|
|
1242
1244
|
}),
|
|
1243
|
-
vue.createVNode(
|
|
1245
|
+
vue.createVNode(_component_a_button, { onClick: handleReset }, {
|
|
1244
1246
|
default: vue.withCtx(() => [
|
|
1245
1247
|
_hoisted_3
|
|
1246
1248
|
]),
|
|
@@ -1250,7 +1252,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1250
1252
|
};
|
|
1251
1253
|
}
|
|
1252
1254
|
});
|
|
1253
|
-
var SearchResetBtn = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__file", "
|
|
1255
|
+
var SearchResetBtn = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__file", "/Users/hesiying/work/bm-admin-ui/packages/components/search-filter/src/search-reset-btn.vue"]]);
|
|
1254
1256
|
|
|
1255
1257
|
const _hoisted_1 = { class: "bm-search-filter" };
|
|
1256
1258
|
const __default__ = {
|
|
@@ -1262,7 +1264,6 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
1262
1264
|
emits: ["update:value", "submit", "reset"],
|
|
1263
1265
|
setup(__props, { expose, emit: emits }) {
|
|
1264
1266
|
const props = __props;
|
|
1265
|
-
const FormCreate = FormCreateCtr__default["default"].$form();
|
|
1266
1267
|
FormCreateCtr__default["default"].component("SearchResetBtn", SearchResetBtn);
|
|
1267
1268
|
const isExpand = vue.ref(false);
|
|
1268
1269
|
const searchResetBtnRule = vue.reactive([
|
|
@@ -1348,8 +1349,9 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
1348
1349
|
fApi
|
|
1349
1350
|
});
|
|
1350
1351
|
return (_ctx, _cache) => {
|
|
1352
|
+
const _component_form_create = vue.resolveComponent("form-create");
|
|
1351
1353
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
1352
|
-
vue.createVNode(
|
|
1354
|
+
vue.createVNode(_component_form_create, {
|
|
1353
1355
|
api: fApi.value,
|
|
1354
1356
|
"onUpdate:api": _cache[0] || (_cache[0] = ($event) => fApi.value = $event),
|
|
1355
1357
|
"model-value": _ctx.value,
|
|
@@ -1361,7 +1363,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
1361
1363
|
};
|
|
1362
1364
|
}
|
|
1363
1365
|
});
|
|
1364
|
-
var SearchFilter = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "
|
|
1366
|
+
var SearchFilter = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/Users/hesiying/work/bm-admin-ui/packages/components/search-filter/src/search-filter.vue"]]);
|
|
1365
1367
|
|
|
1366
1368
|
const BmSearchFilter = withInstall.withInstall(SearchFilter);
|
|
1367
1369
|
|