bm-admin-ui 1.0.11-alpha → 1.0.14-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/es/components/feedback/index.js +19 -2
- package/es/components/float-table/index.js +36 -27
- package/es/components/index.d.ts +1 -0
- package/es/components/index.js +1 -0
- package/es/components/input-tags-display/index.d.ts +66 -0
- package/es/components/input-tags-display/index.js +1280 -0
- package/es/components/input-tags-display/src/input-tags-display.vue.d.ts +63 -0
- package/es/components/multi-cascader-compose/index.js +24 -8
- package/es/components/over-tooltips/index.d.ts +2 -2
- package/es/components/over-tooltips/index.js +41 -25
- package/es/components/over-tooltips/src/over-tooltips.vue.d.ts +2 -2
- package/es/components/search-filter/index.js +42 -18
- package/es/components/shops-filter/index.js +19 -13
- package/es/components/staffs-selector/index.d.ts +27 -0
- package/es/components/staffs-selector/index.js +145 -85
- package/es/components/staffs-selector/src/multipleCmp.vue.d.ts +19 -1
- package/es/components/staffs-selector/src/radioCmp.vue.d.ts +1 -1
- package/es/components/staffs-selector/src/staffs-selector.vue.d.ts +27 -0
- package/es/components/staffs-selector/src/variedCmp.vue.d.ts +1 -1
- package/es/components/timeline/index.js +6 -6
- package/es/components/upload/index.d.ts +2 -2
- package/es/components/upload/index.js +94 -62
- package/es/components/upload/src/upload.vue.d.ts +2 -2
- package/index.esm.js +797 -476
- package/index.js +797 -475
- package/lib/components/feedback/index.js +19 -2
- package/lib/components/float-table/index.js +36 -27
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.js +7 -0
- package/lib/components/input-tags-display/index.d.ts +66 -0
- package/lib/components/input-tags-display/index.js +1290 -0
- package/lib/components/input-tags-display/src/input-tags-display.vue.d.ts +63 -0
- package/lib/components/multi-cascader-compose/index.js +24 -8
- package/lib/components/over-tooltips/index.d.ts +2 -2
- package/lib/components/over-tooltips/index.js +40 -24
- package/lib/components/over-tooltips/src/over-tooltips.vue.d.ts +2 -2
- package/lib/components/search-filter/index.js +42 -18
- package/lib/components/shops-filter/index.js +19 -13
- package/lib/components/staffs-selector/index.d.ts +27 -0
- package/lib/components/staffs-selector/index.js +145 -85
- package/lib/components/staffs-selector/src/multipleCmp.vue.d.ts +19 -1
- package/lib/components/staffs-selector/src/radioCmp.vue.d.ts +1 -1
- package/lib/components/staffs-selector/src/staffs-selector.vue.d.ts +27 -0
- package/lib/components/staffs-selector/src/variedCmp.vue.d.ts +1 -1
- package/lib/components/timeline/index.js +6 -6
- package/lib/components/upload/index.d.ts +2 -2
- package/lib/components/upload/index.js +93 -61
- package/lib/components/upload/src/upload.vue.d.ts +2 -2
- package/package.json +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/input-tags-display.css +1 -0
- package/theme-chalk/over-tooltips.css +1 -1
- package/theme-chalk/staffs-selector.css +1 -1
- package/types/components/index.d.ts +1 -0
- package/types/components/input-tags-display/index.d.ts +66 -0
- package/types/components/input-tags-display/src/input-tags-display.vue.d.ts +63 -0
- package/types/components/over-tooltips/index.d.ts +2 -2
- package/types/components/over-tooltips/src/over-tooltips.vue.d.ts +2 -2
- package/types/components/staffs-selector/index.d.ts +27 -0
- package/types/components/staffs-selector/src/multipleCmp.vue.d.ts +19 -1
- package/types/components/staffs-selector/src/radioCmp.vue.d.ts +1 -1
- package/types/components/staffs-selector/src/staffs-selector.vue.d.ts +27 -0
- package/types/components/staffs-selector/src/variedCmp.vue.d.ts +1 -1
- package/types/components/upload/index.d.ts +2 -2
- package/types/components/upload/src/upload.vue.d.ts +2 -2
package/index.esm.js
CHANGED
|
@@ -2052,18 +2052,18 @@ simple.default = _default$10;
|
|
|
2052
2052
|
|
|
2053
2053
|
var vueTypes = {};
|
|
2054
2054
|
|
|
2055
|
-
function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r);}}function t$1(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}function n$1(){return (n$1=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);}return e}).apply(this,arguments)}function r$1(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t;}function i$1(e,t){if(null==e)return {};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}function o$1(e){return 1==(null!=(t=e)&&"object"==typeof t&&!1===Array.isArray(t))&&"[object Object]"===Object.prototype.toString.call(e);var t;}var u$1=Object.prototype,a$1=u$1.toString,f$1=u$1.hasOwnProperty,c$1=/^\s*function (\w+)/;function l$1(e){var t,n=null!==(t=null==e?void 0:e.type)&&void 0!==t?t:e;if(n){var r=n.toString().match(c$1);return r?r[1]:""}return ""}var s$1=function(e){var t,n;return !1!==o$1(e)&&"function"==typeof(t=e.constructor)&&!1!==o$1(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf")},v$1=function(e){return e},y$1=v$1;if("production"!==process.env.NODE_ENV){var p$1="undefined"!=typeof console;y$1=p$1?function(e){console.warn("[VueTypes warn]: "+e);}:v$1;}var d$1=function(e,t){return f$1.call(e,t)},h$1=Number.isInteger||function(e){return "number"==typeof e&&isFinite(e)&&Math.floor(e)===e},b$1=Array.isArray||function(e){return "[object Array]"===a$1.call(e)},O$1=function(e){return "[object Function]"===a$1.call(e)},g$1=function(e){return s$1(e)&&d$1(e,"_vueTypes_name")},m$1=function(e){return s$1(e)&&(d$1(e,"type")||["_vueTypes_name","validator","default","required"].some(function(t){return d$1(e,t)}))};function j$1(e,t){return Object.defineProperty(e.bind(t),"__original",{value:e})}function _$2(e,t,n){var r;void 0===n&&(n=!1);var i=!0,o="";r=s$1(e)?e:{type:e};var u=g$1(r)?r._vueTypes_name+" - ":"";if(m$1(r)&&null!==r.type){if(void 0===r.type||!0===r.type)return i;if(!r.required&&void 0===t)return i;b$1(r.type)?(i=r.type.some(function(e){return !0===_$2(e,t,!0)}),o=r.type.map(function(e){return l$1(e)}).join(" or ")):i="Array"===(o=l$1(r))?b$1(t):"Object"===o?s$1(t):"String"===o||"Number"===o||"Boolean"===o||"Function"===o?function(e){if(null==e)return "";var t=e.constructor.toString().match(c$1);return t?t[1]:""}(t)===o:t instanceof r.type;}if(!i){var a=u+'value "'+t+'" should be of type "'+o+'"';return !1===n?(y$1(a),!1):a}if(d$1(r,"validator")&&O$1(r.validator)){var f=y$1,v=[];if(y$1=function(e){v.push(e);},i=r.validator(t),y$1=f,!i){var p=(v.length>1?"* ":"")+v.join("\n* ");return v.length=0,!1===n?(y$1(p),i):p}}return i}function T$1(e,t){var n=Object.defineProperties(t,{_vueTypes_name:{value:e,writable:!0},isRequired:{get:function(){return this.required=!0,this}},def:{value:function(e){return void 0!==e||this.default?O$1(e)||!0===_$2(this,e,!0)?(this.default=b$1(e)?function(){return [].concat(e)}:s$1(e)?function(){return Object.assign({},e)}:e,this):(y$1(this._vueTypes_name+' - invalid default value: "'+e+'"'),this):this}}}),r=n.validator;return O$1(r)&&(n.validator=j$1(r,n)),n}function w$1(e,t){var n=T$1(e,t);return Object.defineProperty(n,"validate",{value:function(e){return O$1(this.validator)&&y$1(this._vueTypes_name+" - calling .validate() will overwrite the current custom validator function. Validator info:\n"+JSON.stringify(this)),this.validator=j$1(e,this),this}})}function k
|
|
2055
|
+
function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r);}}function t$1(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}function n$1(){return (n$1=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);}return e}).apply(this,arguments)}function r$1(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t;}function i$1(e,t){if(null==e)return {};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}function o$1(e){return 1==(null!=(t=e)&&"object"==typeof t&&!1===Array.isArray(t))&&"[object Object]"===Object.prototype.toString.call(e);var t;}var u$1=Object.prototype,a$1=u$1.toString,f$1=u$1.hasOwnProperty,c$1=/^\s*function (\w+)/;function l$1(e){var t,n=null!==(t=null==e?void 0:e.type)&&void 0!==t?t:e;if(n){var r=n.toString().match(c$1);return r?r[1]:""}return ""}var s$1=function(e){var t,n;return !1!==o$1(e)&&"function"==typeof(t=e.constructor)&&!1!==o$1(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf")},v$1=function(e){return e},y$1=v$1;if("production"!==process.env.NODE_ENV){var p$1="undefined"!=typeof console;y$1=p$1?function(e){console.warn("[VueTypes warn]: "+e);}:v$1;}var d$1=function(e,t){return f$1.call(e,t)},h$1=Number.isInteger||function(e){return "number"==typeof e&&isFinite(e)&&Math.floor(e)===e},b$1=Array.isArray||function(e){return "[object Array]"===a$1.call(e)},O$1=function(e){return "[object Function]"===a$1.call(e)},g$1=function(e){return s$1(e)&&d$1(e,"_vueTypes_name")},m$1=function(e){return s$1(e)&&(d$1(e,"type")||["_vueTypes_name","validator","default","required"].some(function(t){return d$1(e,t)}))};function j$1(e,t){return Object.defineProperty(e.bind(t),"__original",{value:e})}function _$2(e,t,n){var r;void 0===n&&(n=!1);var i=!0,o="";r=s$1(e)?e:{type:e};var u=g$1(r)?r._vueTypes_name+" - ":"";if(m$1(r)&&null!==r.type){if(void 0===r.type||!0===r.type)return i;if(!r.required&&void 0===t)return i;b$1(r.type)?(i=r.type.some(function(e){return !0===_$2(e,t,!0)}),o=r.type.map(function(e){return l$1(e)}).join(" or ")):i="Array"===(o=l$1(r))?b$1(t):"Object"===o?s$1(t):"String"===o||"Number"===o||"Boolean"===o||"Function"===o?function(e){if(null==e)return "";var t=e.constructor.toString().match(c$1);return t?t[1]:""}(t)===o:t instanceof r.type;}if(!i){var a=u+'value "'+t+'" should be of type "'+o+'"';return !1===n?(y$1(a),!1):a}if(d$1(r,"validator")&&O$1(r.validator)){var f=y$1,v=[];if(y$1=function(e){v.push(e);},i=r.validator(t),y$1=f,!i){var p=(v.length>1?"* ":"")+v.join("\n* ");return v.length=0,!1===n?(y$1(p),i):p}}return i}function T$1(e,t){var n=Object.defineProperties(t,{_vueTypes_name:{value:e,writable:!0},isRequired:{get:function(){return this.required=!0,this}},def:{value:function(e){return void 0!==e||this.default?O$1(e)||!0===_$2(this,e,!0)?(this.default=b$1(e)?function(){return [].concat(e)}:s$1(e)?function(){return Object.assign({},e)}:e,this):(y$1(this._vueTypes_name+' - invalid default value: "'+e+'"'),this):this}}}),r=n.validator;return O$1(r)&&(n.validator=j$1(r,n)),n}function w$1(e,t){var n=T$1(e,t);return Object.defineProperty(n,"validate",{value:function(e){return O$1(this.validator)&&y$1(this._vueTypes_name+" - calling .validate() will overwrite the current custom validator function. Validator info:\n"+JSON.stringify(this)),this.validator=j$1(e,this),this}})}function k(e,t,n){var r,o,u=(r=t,o={},Object.getOwnPropertyNames(r).forEach(function(e){o[e]=Object.getOwnPropertyDescriptor(r,e);}),Object.defineProperties({},o));if(u._vueTypes_name=e,!s$1(n))return u;var a,f,c=n.validator,l=i$1(n,["validator"]);if(O$1(c)){var v=u.validator;v&&(v=null!==(f=(a=v).__original)&&void 0!==f?f:a),u.validator=j$1(v?function(e){return v.call(this,e)&&c.call(this,e)}:c,u);}return Object.assign(u,l)}function P$1(e){return e.replace(/^(?!\s*$)/gm," ")}var x$1=function(){return w$1("any",{})},A$1=function(){return w$1("function",{type:Function})},E$1=function(){return w$1("boolean",{type:Boolean})},N$1=function(){return w$1("string",{type:String})},q$1=function(){return w$1("number",{type:Number})},S$1=function(){return w$1("array",{type:Array})},V$1=function(){return w$1("object",{type:Object})},F$1=function(){return T$1("integer",{type:Number,validator:function(e){return h$1(e)}})},D$1=function(){return T$1("symbol",{validator:function(e){return "symbol"==typeof e}})};function L$1(e,t){if(void 0===t&&(t="custom validation failed"),"function"!=typeof e)throw new TypeError("[VueTypes error]: You must provide a function as argument");return T$1(e.name||"<<anonymous function>>",{validator:function(n){var r=e(n);return r||y$1(this._vueTypes_name+" - "+t),r}})}function Y$1(e){if(!b$1(e))throw new TypeError("[VueTypes error]: You must provide an array as argument.");var t='oneOf - value should be one of "'+e.join('", "')+'".',n=e.reduce(function(e,t){if(null!=t){var n=t.constructor;-1===e.indexOf(n)&&e.push(n);}return e},[]);return T$1("oneOf",{type:n.length>0?n:void 0,validator:function(n){var r=-1!==e.indexOf(n);return r||y$1(t),r}})}function B$1(e){if(!b$1(e))throw new TypeError("[VueTypes error]: You must provide an array as argument");for(var t=!1,n=[],r=0;r<e.length;r+=1){var i=e[r];if(m$1(i)){if(g$1(i)&&"oneOf"===i._vueTypes_name){n=n.concat(i.type);continue}if(O$1(i.validator)&&(t=!0),!0!==i.type&&i.type){n=n.concat(i.type);continue}}n.push(i);}return n=n.filter(function(e,t){return n.indexOf(e)===t}),T$1("oneOfType",t?{type:n,validator:function(t){var n=[],r=e.some(function(e){var r=_$2(g$1(e)&&"oneOf"===e._vueTypes_name?e.type||null:e,t,!0);return "string"==typeof r&&n.push(r),!0===r});return r||y$1("oneOfType - provided value does not match any of the "+n.length+" passed-in validators:\n"+P$1(n.join("\n"))),r}}:{type:n})}function I$1(e){return T$1("arrayOf",{type:Array,validator:function(t){var n,r=t.every(function(t){return !0===(n=_$2(e,t,!0))});return r||y$1("arrayOf - value validation error:\n"+P$1(n)),r}})}function J$1(e){return T$1("instanceOf",{type:e})}function M$1(e){return T$1("objectOf",{type:Object,validator:function(t){var n,r=Object.keys(t).every(function(r){return !0===(n=_$2(e,t[r],!0))});return r||y$1("objectOf - value validation error:\n"+P$1(n)),r}})}function R$1(e){var t=Object.keys(e),n=t.filter(function(t){var n;return !!(null===(n=e[t])||void 0===n?void 0:n.required)}),r=T$1("shape",{type:Object,validator:function(r){var i=this;if(!s$1(r))return !1;var o=Object.keys(r);if(n.length>0&&n.some(function(e){return -1===o.indexOf(e)})){var u=n.filter(function(e){return -1===o.indexOf(e)});return y$1(1===u.length?'shape - required property "'+u[0]+'" is not defined.':'shape - required properties "'+u.join('", "')+'" are not defined.'),!1}return o.every(function(n){if(-1===t.indexOf(n))return !0===i._vueTypes_isLoose||(y$1('shape - shape definition does not include a "'+n+'" property. Allowed keys: "'+t.join('", "')+'".'),!1);var o=_$2(e[n],r[n],!0);return "string"==typeof o&&y$1('shape - "'+n+'" property validation error:\n '+P$1(o)),!0===o})}});return Object.defineProperty(r,"_vueTypes_isLoose",{writable:!0,value:!1}),Object.defineProperty(r,"loose",{get:function(){return this._vueTypes_isLoose=!0,this}}),r}var $$1=function(){function e(){}return e.extend=function(e){var t=this;if(b$1(e))return e.forEach(function(e){return t.extend(e)}),this;var n=e.name,r=e.validate,o=void 0!==r&&r,u=e.getter,a=void 0!==u&&u,f=i$1(e,["name","validate","getter"]);if(d$1(this,n))throw new TypeError('[VueTypes error]: Type "'+n+'" already defined');var c,l=f.type;return g$1(l)?(delete f.type,Object.defineProperty(this,n,a?{get:function(){return k(n,l,f)}}:{value:function(){var e,t=k(n,l,f);return t.validator&&(t.validator=(e=t.validator).bind.apply(e,[t].concat([].slice.call(arguments)))),t}})):(c=a?{get:function(){var e=Object.assign({},f);return o?w$1(n,e):T$1(n,e)},enumerable:!0}:{value:function(){var e,t,r=Object.assign({},f);return e=o?w$1(n,r):T$1(n,r),r.validator&&(e.validator=(t=r.validator).bind.apply(t,[e].concat([].slice.call(arguments)))),e},enumerable:!0},Object.defineProperty(this,n,c))},t$1(e,null,[{key:"any",get:function(){return x$1()}},{key:"func",get:function(){return A$1().def(this.defaults.func)}},{key:"bool",get:function(){return E$1().def(this.defaults.bool)}},{key:"string",get:function(){return N$1().def(this.defaults.string)}},{key:"number",get:function(){return q$1().def(this.defaults.number)}},{key:"array",get:function(){return S$1().def(this.defaults.array)}},{key:"object",get:function(){return V$1().def(this.defaults.object)}},{key:"integer",get:function(){return F$1().def(this.defaults.integer)}},{key:"symbol",get:function(){return D$1()}}]),e}();function z$1(e){var i;return void 0===e&&(e={func:function(){},bool:!0,string:"",number:0,array:function(){return []},object:function(){return {}},integer:0}),(i=function(i){function o(){return i.apply(this,arguments)||this}return r$1(o,i),t$1(o,null,[{key:"sensibleDefaults",get:function(){return n$1({},this.defaults)},set:function(t){this.defaults=!1!==t?n$1({},!0!==t?t:e):{};}}]),o}($$1)).defaults=n$1({},e),i}$$1.defaults={},$$1.custom=L$1,$$1.oneOf=Y$1,$$1.instanceOf=J$1,$$1.oneOfType=B$1,$$1.arrayOf=I$1,$$1.objectOf=M$1,$$1.shape=R$1,$$1.utils={validate:function(e,t){return !0===_$2(t,e,!0)},toType:function(e,t,n){return void 0===n&&(n=!1),n?w$1(e,t):T$1(e,t)}};var C$1=function(e){function t(){return e.apply(this,arguments)||this}return r$1(t,e),t}(z$1());
|
|
2056
2056
|
|
|
2057
2057
|
var vueTypes_m = /*#__PURE__*/Object.freeze({
|
|
2058
2058
|
__proto__: null,
|
|
2059
|
-
'default': C,
|
|
2059
|
+
'default': C$1,
|
|
2060
2060
|
any: x$1,
|
|
2061
2061
|
array: S$1,
|
|
2062
2062
|
arrayOf: I$1,
|
|
2063
2063
|
bool: E$1,
|
|
2064
2064
|
createTypes: z$1,
|
|
2065
2065
|
custom: L$1,
|
|
2066
|
-
fromType: k
|
|
2066
|
+
fromType: k,
|
|
2067
2067
|
func: A$1,
|
|
2068
2068
|
instanceOf: J$1,
|
|
2069
2069
|
integer: F$1,
|
|
@@ -8184,7 +8184,7 @@ var _export_sfc = (sfc, props) => {
|
|
|
8184
8184
|
const __default__$8 = {
|
|
8185
8185
|
name: "BmButton"
|
|
8186
8186
|
};
|
|
8187
|
-
const _sfc_main$
|
|
8187
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
8188
8188
|
...__default__$8,
|
|
8189
8189
|
props: buttonProps$2,
|
|
8190
8190
|
setup(__props) {
|
|
@@ -8202,14 +8202,14 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
8202
8202
|
};
|
|
8203
8203
|
}
|
|
8204
8204
|
});
|
|
8205
|
-
var Button$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8205
|
+
var Button$1 = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__file", "button.vue"]]);
|
|
8206
8206
|
|
|
8207
8207
|
const BmButton = withInstall$2(Button$1);
|
|
8208
8208
|
|
|
8209
8209
|
const __default__$7 = {
|
|
8210
8210
|
name: "BmFormDesigner"
|
|
8211
8211
|
};
|
|
8212
|
-
const _sfc_main$
|
|
8212
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
8213
8213
|
...__default__$7,
|
|
8214
8214
|
setup(__props) {
|
|
8215
8215
|
const rule = [
|
|
@@ -8225,7 +8225,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
8225
8225
|
};
|
|
8226
8226
|
}
|
|
8227
8227
|
});
|
|
8228
|
-
var FormDesigner = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8228
|
+
var FormDesigner = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__file", "form-designer.vue"]]);
|
|
8229
8229
|
|
|
8230
8230
|
const BmFormDesigner = withInstall$2(FormDesigner);
|
|
8231
8231
|
|
|
@@ -38191,9 +38191,11 @@ var Anchor_Anchor = /*#__PURE__*/function (_Component) {
|
|
|
38191
38191
|
|
|
38192
38192
|
Anchor_defineProperty(Anchor_assertThisInitialized(_this), "onDragEnd", function (event) {
|
|
38193
38193
|
if (_this.t) {
|
|
38194
|
-
|
|
38194
|
+
cancelRaf(_this.t);
|
|
38195
38195
|
}
|
|
38196
38196
|
|
|
38197
|
+
console.log(555, 'dragend');
|
|
38198
|
+
|
|
38197
38199
|
_this.checkEnd(event);
|
|
38198
38200
|
|
|
38199
38201
|
_this.setState({
|
|
@@ -44859,7 +44861,7 @@ var LogicFlow = /*@__PURE__*/getDefaultExportFromCjs(logicFlow.exports);
|
|
|
44859
44861
|
const __default__$6 = {
|
|
44860
44862
|
name: "BmFlowDesigner"
|
|
44861
44863
|
};
|
|
44862
|
-
const _sfc_main$
|
|
44864
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
44863
44865
|
...__default__$6,
|
|
44864
44866
|
setup(__props) {
|
|
44865
44867
|
const container = ref();
|
|
@@ -44883,7 +44885,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
44883
44885
|
};
|
|
44884
44886
|
}
|
|
44885
44887
|
});
|
|
44886
|
-
var FlowDesigner = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
44888
|
+
var FlowDesigner = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__file", "flow-designer.vue"]]);
|
|
44887
44889
|
|
|
44888
44890
|
const BmFlowDesigner = withInstall$2(FlowDesigner);
|
|
44889
44891
|
|
|
@@ -51679,37 +51681,17 @@ RightOutlined.inheritAttrs = false;
|
|
|
51679
51681
|
var RightOutlined$1 = RightOutlined;
|
|
51680
51682
|
|
|
51681
51683
|
// This icon file is generated automatically.
|
|
51682
|
-
var
|
|
51683
|
-
var
|
|
51684
|
+
var PlusOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "defs", "attrs": {}, "children": [{ "tag": "style", "attrs": {} }] }, { "tag": "path", "attrs": { "d": "M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" } }, { "tag": "path", "attrs": { "d": "M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z" } }] }, "name": "plus", "theme": "outlined" };
|
|
51685
|
+
var PlusOutlinedSvg = PlusOutlined$2;
|
|
51684
51686
|
|
|
51685
51687
|
function _objectSpread$3(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$4(target, key, source[key]); }); } return target; }
|
|
51686
51688
|
|
|
51687
51689
|
function _defineProperty$4(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
51688
51690
|
|
|
51689
|
-
var
|
|
51691
|
+
var PlusOutlined = function PlusOutlined(props, context) {
|
|
51690
51692
|
var p = _objectSpread$3({}, props, context.attrs);
|
|
51691
51693
|
|
|
51692
51694
|
return createVNode(AntdIcon, _objectSpread$3({}, p, {
|
|
51693
|
-
"icon": DeleteOutlinedSvg
|
|
51694
|
-
}), null);
|
|
51695
|
-
};
|
|
51696
|
-
|
|
51697
|
-
DeleteOutlined.displayName = 'DeleteOutlined';
|
|
51698
|
-
DeleteOutlined.inheritAttrs = false;
|
|
51699
|
-
var DeleteOutlined$1 = DeleteOutlined;
|
|
51700
|
-
|
|
51701
|
-
// This icon file is generated automatically.
|
|
51702
|
-
var PlusOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "defs", "attrs": {}, "children": [{ "tag": "style", "attrs": {} }] }, { "tag": "path", "attrs": { "d": "M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" } }, { "tag": "path", "attrs": { "d": "M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z" } }] }, "name": "plus", "theme": "outlined" };
|
|
51703
|
-
var PlusOutlinedSvg = PlusOutlined$2;
|
|
51704
|
-
|
|
51705
|
-
function _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$3(target, key, source[key]); }); } return target; }
|
|
51706
|
-
|
|
51707
|
-
function _defineProperty$3(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
51708
|
-
|
|
51709
|
-
var PlusOutlined = function PlusOutlined(props, context) {
|
|
51710
|
-
var p = _objectSpread$2({}, props, context.attrs);
|
|
51711
|
-
|
|
51712
|
-
return createVNode(AntdIcon, _objectSpread$2({}, p, {
|
|
51713
51695
|
"icon": PlusOutlinedSvg
|
|
51714
51696
|
}), null);
|
|
51715
51697
|
};
|
|
@@ -51718,46 +51700,6 @@ PlusOutlined.displayName = 'PlusOutlined';
|
|
|
51718
51700
|
PlusOutlined.inheritAttrs = false;
|
|
51719
51701
|
var PlusOutlined$1 = PlusOutlined;
|
|
51720
51702
|
|
|
51721
|
-
// This icon file is generated automatically.
|
|
51722
|
-
var UpOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" } }] }, "name": "up", "theme": "outlined" };
|
|
51723
|
-
var UpOutlinedSvg = UpOutlined$2;
|
|
51724
|
-
|
|
51725
|
-
function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$2(target, key, source[key]); }); } return target; }
|
|
51726
|
-
|
|
51727
|
-
function _defineProperty$2(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
51728
|
-
|
|
51729
|
-
var UpOutlined = function UpOutlined(props, context) {
|
|
51730
|
-
var p = _objectSpread$1({}, props, context.attrs);
|
|
51731
|
-
|
|
51732
|
-
return createVNode(AntdIcon, _objectSpread$1({}, p, {
|
|
51733
|
-
"icon": UpOutlinedSvg
|
|
51734
|
-
}), null);
|
|
51735
|
-
};
|
|
51736
|
-
|
|
51737
|
-
UpOutlined.displayName = 'UpOutlined';
|
|
51738
|
-
UpOutlined.inheritAttrs = false;
|
|
51739
|
-
var UpOutlined$1 = UpOutlined;
|
|
51740
|
-
|
|
51741
|
-
// This icon file is generated automatically.
|
|
51742
|
-
var UploadOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" } }] }, "name": "upload", "theme": "outlined" };
|
|
51743
|
-
var UploadOutlinedSvg = UploadOutlined$2;
|
|
51744
|
-
|
|
51745
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$1(target, key, source[key]); }); } return target; }
|
|
51746
|
-
|
|
51747
|
-
function _defineProperty$1(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
51748
|
-
|
|
51749
|
-
var UploadOutlined = function UploadOutlined(props, context) {
|
|
51750
|
-
var p = _objectSpread({}, props, context.attrs);
|
|
51751
|
-
|
|
51752
|
-
return createVNode(AntdIcon, _objectSpread({}, p, {
|
|
51753
|
-
"icon": UploadOutlinedSvg
|
|
51754
|
-
}), null);
|
|
51755
|
-
};
|
|
51756
|
-
|
|
51757
|
-
UploadOutlined.displayName = 'UploadOutlined';
|
|
51758
|
-
UploadOutlined.inheritAttrs = false;
|
|
51759
|
-
var UploadOutlined$1 = UploadOutlined;
|
|
51760
|
-
|
|
51761
51703
|
var canUseDocElement$1 = function canUseDocElement() {
|
|
51762
51704
|
return canUseDom() && window.document.documentElement;
|
|
51763
51705
|
};
|
|
@@ -52816,6 +52758,26 @@ var DialogWrap$2 = defineComponent({
|
|
|
52816
52758
|
});
|
|
52817
52759
|
var DialogWrap$3 = DialogWrap$2;
|
|
52818
52760
|
|
|
52761
|
+
// This icon file is generated automatically.
|
|
52762
|
+
var UpOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" } }] }, "name": "up", "theme": "outlined" };
|
|
52763
|
+
var UpOutlinedSvg = UpOutlined$2;
|
|
52764
|
+
|
|
52765
|
+
function _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$3(target, key, source[key]); }); } return target; }
|
|
52766
|
+
|
|
52767
|
+
function _defineProperty$3(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
52768
|
+
|
|
52769
|
+
var UpOutlined = function UpOutlined(props, context) {
|
|
52770
|
+
var p = _objectSpread$2({}, props, context.attrs);
|
|
52771
|
+
|
|
52772
|
+
return createVNode(AntdIcon, _objectSpread$2({}, p, {
|
|
52773
|
+
"icon": UpOutlinedSvg
|
|
52774
|
+
}), null);
|
|
52775
|
+
};
|
|
52776
|
+
|
|
52777
|
+
UpOutlined.displayName = 'UpOutlined';
|
|
52778
|
+
UpOutlined.inheritAttrs = false;
|
|
52779
|
+
var UpOutlined$1 = UpOutlined;
|
|
52780
|
+
|
|
52819
52781
|
var __rest$e = undefined && undefined.__rest || function (s, e) {
|
|
52820
52782
|
var t = {};
|
|
52821
52783
|
|
|
@@ -53495,6 +53457,46 @@ Modal$1.install = function (app) {
|
|
|
53495
53457
|
return app;
|
|
53496
53458
|
};
|
|
53497
53459
|
|
|
53460
|
+
// This icon file is generated automatically.
|
|
53461
|
+
var DeleteOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z" } }] }, "name": "delete", "theme": "outlined" };
|
|
53462
|
+
var DeleteOutlinedSvg = DeleteOutlined$2;
|
|
53463
|
+
|
|
53464
|
+
function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$2(target, key, source[key]); }); } return target; }
|
|
53465
|
+
|
|
53466
|
+
function _defineProperty$2(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
53467
|
+
|
|
53468
|
+
var DeleteOutlined = function DeleteOutlined(props, context) {
|
|
53469
|
+
var p = _objectSpread$1({}, props, context.attrs);
|
|
53470
|
+
|
|
53471
|
+
return createVNode(AntdIcon, _objectSpread$1({}, p, {
|
|
53472
|
+
"icon": DeleteOutlinedSvg
|
|
53473
|
+
}), null);
|
|
53474
|
+
};
|
|
53475
|
+
|
|
53476
|
+
DeleteOutlined.displayName = 'DeleteOutlined';
|
|
53477
|
+
DeleteOutlined.inheritAttrs = false;
|
|
53478
|
+
var DeleteOutlined$1 = DeleteOutlined;
|
|
53479
|
+
|
|
53480
|
+
// This icon file is generated automatically.
|
|
53481
|
+
var UploadOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" } }] }, "name": "upload", "theme": "outlined" };
|
|
53482
|
+
var UploadOutlinedSvg = UploadOutlined$2;
|
|
53483
|
+
|
|
53484
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$1(target, key, source[key]); }); } return target; }
|
|
53485
|
+
|
|
53486
|
+
function _defineProperty$1(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
53487
|
+
|
|
53488
|
+
var UploadOutlined = function UploadOutlined(props, context) {
|
|
53489
|
+
var p = _objectSpread({}, props, context.attrs);
|
|
53490
|
+
|
|
53491
|
+
return createVNode(AntdIcon, _objectSpread({}, p, {
|
|
53492
|
+
"icon": UploadOutlinedSvg
|
|
53493
|
+
}), null);
|
|
53494
|
+
};
|
|
53495
|
+
|
|
53496
|
+
UploadOutlined.displayName = 'UploadOutlined';
|
|
53497
|
+
UploadOutlined.inheritAttrs = false;
|
|
53498
|
+
var UploadOutlined$1 = UploadOutlined;
|
|
53499
|
+
|
|
53498
53500
|
var alert = {};
|
|
53499
53501
|
|
|
53500
53502
|
var vnode = {};
|
|
@@ -53770,7 +53772,7 @@ _default$P = alert.default = _default2$l;
|
|
|
53770
53772
|
const __default__$5 = {
|
|
53771
53773
|
name: "BmAlert"
|
|
53772
53774
|
};
|
|
53773
|
-
const _sfc_main$
|
|
53775
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
53774
53776
|
...__default__$5,
|
|
53775
53777
|
props: {
|
|
53776
53778
|
type: {
|
|
@@ -53823,7 +53825,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
53823
53825
|
};
|
|
53824
53826
|
}
|
|
53825
53827
|
});
|
|
53826
|
-
var Alert = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
53828
|
+
var Alert = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__file", "bmAlert.vue"]]);
|
|
53827
53829
|
|
|
53828
53830
|
var modal = {};
|
|
53829
53831
|
|
|
@@ -57054,14 +57056,14 @@ _Modal.default.install = function (app) {
|
|
|
57054
57056
|
var _default$D = _Modal.default;
|
|
57055
57057
|
default_1$1 = modal.default = _default$D;
|
|
57056
57058
|
|
|
57057
|
-
const _hoisted_1$
|
|
57059
|
+
const _hoisted_1$c = {
|
|
57058
57060
|
ref: "modalBody",
|
|
57059
57061
|
class: "bm-modal-body"
|
|
57060
57062
|
};
|
|
57061
57063
|
const __default__$4 = {
|
|
57062
57064
|
name: "BmModal"
|
|
57063
57065
|
};
|
|
57064
|
-
const _sfc_main$
|
|
57066
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
57065
57067
|
...__default__$4,
|
|
57066
57068
|
props: {
|
|
57067
57069
|
width: {
|
|
@@ -57104,7 +57106,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
57104
57106
|
onChange: _cache[1] || (_cache[1] = (v) => _ctx.$emit("close", v))
|
|
57105
57107
|
}, createSlots({
|
|
57106
57108
|
default: withCtx(() => [
|
|
57107
|
-
createElementVNode("div", _hoisted_1$
|
|
57109
|
+
createElementVNode("div", _hoisted_1$c, [
|
|
57108
57110
|
renderSlot(_ctx.$slots, "default")
|
|
57109
57111
|
], 512)
|
|
57110
57112
|
]),
|
|
@@ -57148,7 +57150,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
57148
57150
|
};
|
|
57149
57151
|
}
|
|
57150
57152
|
});
|
|
57151
|
-
var AModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
57153
|
+
var AModal = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__file", "bmModal.vue"]]);
|
|
57152
57154
|
|
|
57153
57155
|
const idGenerator = (function () {
|
|
57154
57156
|
let id = 0;
|
|
@@ -57165,6 +57167,23 @@ var feedbackType;
|
|
|
57165
57167
|
feedbackType["CONFIRM"] = "confirm";
|
|
57166
57168
|
feedbackType["WARN"] = "warn";
|
|
57167
57169
|
})(feedbackType || (feedbackType = {}));
|
|
57170
|
+
var feedbackColor;
|
|
57171
|
+
(function (feedbackColor) {
|
|
57172
|
+
feedbackColor["SUCCESS"] = "#29CC7A";
|
|
57173
|
+
feedbackColor["ERROR"] = "#E64C2E";
|
|
57174
|
+
feedbackColor["INFO"] = "#2F4EED";
|
|
57175
|
+
feedbackColor["WARNING"] = "#FF9019";
|
|
57176
|
+
feedbackColor["CONFIRM"] = "#2F4EED";
|
|
57177
|
+
feedbackColor["WARN"] = "#FF9019";
|
|
57178
|
+
})(feedbackColor || (feedbackColor = {}));
|
|
57179
|
+
const feedbackIcon = {
|
|
57180
|
+
success: () => h$2(CheckCircleFilled$1, { style: `color: ${feedbackColor.SUCCESS}` }),
|
|
57181
|
+
error: () => h$2(CloseCircleFilled$1, { style: `color: ${feedbackColor.ERROR}` }),
|
|
57182
|
+
warning: () => h$2(ExclamationCircleFilled$1, { style: `color: ${feedbackColor.WARNING}` }),
|
|
57183
|
+
info: () => h$2(InfoCircleFilled$1, { style: `color: ${feedbackColor.INFO}` }),
|
|
57184
|
+
confirm: () => h$2(InfoCircleFilled$1, { style: `color: ${feedbackColor.INFO}` }),
|
|
57185
|
+
warn: () => h$2(ExclamationCircleFilled$1, { style: `color: ${feedbackColor.WARNING}` })
|
|
57186
|
+
};
|
|
57168
57187
|
function __createBtn(btnText = '确定', onClick = (() => '点击'), style = '', type = 'primary', size = 'small') {
|
|
57169
57188
|
return h$2(Button, {
|
|
57170
57189
|
type,
|
|
@@ -57197,14 +57216,14 @@ const BmNotification = (config) => {
|
|
|
57197
57216
|
if (btn)
|
|
57198
57217
|
config['btn'] = btn;
|
|
57199
57218
|
if ([feedbackType.WARNING, feedbackType.WARN].indexOf(type) !== -1) {
|
|
57200
|
-
notification.warning(Object.assign({ key, icon:
|
|
57219
|
+
notification.warning(Object.assign({ key, icon: feedbackIcon['warning'] }, config));
|
|
57201
57220
|
return;
|
|
57202
57221
|
}
|
|
57203
57222
|
notification[type](Object.assign({ key }, config));
|
|
57204
57223
|
};
|
|
57205
57224
|
const StaticBmModal = (config) => {
|
|
57206
57225
|
const type = config['type'] || feedbackType.INFO;
|
|
57207
|
-
return Modal$1[type](Object.assign({ cancelButtonProps: { type: 'second' }, okType: 'primary', cancelText: '取消', okText: '确认', autoFocusButton: null }, config));
|
|
57226
|
+
return Modal$1[type](Object.assign({ cancelButtonProps: { type: 'second' }, okType: 'primary', cancelText: '取消', okText: '确认', autoFocusButton: null, icon: feedbackIcon[type] }, config));
|
|
57208
57227
|
};
|
|
57209
57228
|
const BmMessage = (config) => {
|
|
57210
57229
|
const type = config.type;
|
|
@@ -57230,7 +57249,7 @@ const BmModal = withInstall$2(AModal);
|
|
|
57230
57249
|
const BmAlert = withInstall$2(Alert);
|
|
57231
57250
|
|
|
57232
57251
|
/*!
|
|
57233
|
-
* @form-create/ant-design-vue v3.1.
|
|
57252
|
+
* @form-create/ant-design-vue v3.1.12
|
|
57234
57253
|
* (c) 2018-2022 xaboy
|
|
57235
57254
|
* Github https://github.com/xaboy/form-create
|
|
57236
57255
|
* Released under the MIT License.
|
|
@@ -57425,10 +57444,6 @@ function _nonIterableSpread() {
|
|
|
57425
57444
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
57426
57445
|
}
|
|
57427
57446
|
|
|
57428
|
-
function toString(val) {
|
|
57429
|
-
return val == null ? '' : _typeof$3(val) === 'object' ? JSON.stringify(val, null, 2) : String(val);
|
|
57430
|
-
}
|
|
57431
|
-
|
|
57432
57447
|
function toArray(value) {
|
|
57433
57448
|
return Array.isArray(value) ? value : [null, undefined, ''].indexOf(value) > -1 ? [] : [value];
|
|
57434
57449
|
}
|
|
@@ -57451,7 +57466,7 @@ var _hoisted_1$8$1 = {
|
|
|
57451
57466
|
"class": "anticon"
|
|
57452
57467
|
};
|
|
57453
57468
|
|
|
57454
|
-
var _hoisted_2$8 = /*#__PURE__*/createElementVNode("svg", {
|
|
57469
|
+
var _hoisted_2$8$1 = /*#__PURE__*/createElementVNode("svg", {
|
|
57455
57470
|
height: "1em",
|
|
57456
57471
|
width: "1em",
|
|
57457
57472
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -57464,7 +57479,7 @@ var _hoisted_2$8 = /*#__PURE__*/createElementVNode("svg", {
|
|
|
57464
57479
|
fill: "currentColor"
|
|
57465
57480
|
})], -1);
|
|
57466
57481
|
|
|
57467
|
-
var _hoisted_3$8 = [_hoisted_2$8];
|
|
57482
|
+
var _hoisted_3$8 = [_hoisted_2$8$1];
|
|
57468
57483
|
function render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
57469
57484
|
return openBlock(), createElementBlock("span", _hoisted_1$8$1, _hoisted_3$8);
|
|
57470
57485
|
}
|
|
@@ -57480,7 +57495,7 @@ var parseFile = function parseFile(file, uid) {
|
|
|
57480
57495
|
};
|
|
57481
57496
|
},
|
|
57482
57497
|
getFileName = function getFileName(file) {
|
|
57483
|
-
return
|
|
57498
|
+
return ('' + file).split('/').pop();
|
|
57484
57499
|
},
|
|
57485
57500
|
parseUpload = function parseUpload(file) {
|
|
57486
57501
|
return {
|
|
@@ -57671,9 +57686,9 @@ var _hoisted_2$7$1 = /*#__PURE__*/createElementVNode("svg", {
|
|
|
57671
57686
|
fill: "currentColor"
|
|
57672
57687
|
})], -1);
|
|
57673
57688
|
|
|
57674
|
-
var _hoisted_3$7 = [_hoisted_2$7$1];
|
|
57689
|
+
var _hoisted_3$7$1 = [_hoisted_2$7$1];
|
|
57675
57690
|
function render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
57676
|
-
return openBlock(), createElementBlock("span", _hoisted_1$7$1, _hoisted_3$7);
|
|
57691
|
+
return openBlock(), createElementBlock("span", _hoisted_1$7$1, _hoisted_3$7$1);
|
|
57677
57692
|
}
|
|
57678
57693
|
|
|
57679
57694
|
script$7.render = render$7;
|
|
@@ -58036,6 +58051,7 @@ var Frame = defineComponent({
|
|
|
58036
58051
|
var _this2 = this;
|
|
58037
58052
|
|
|
58038
58053
|
var Type = resolveComponent(this.handleIcon === true || this.handleIcon === undefined ? 'EyeOutlined' : this.handleIcon);
|
|
58054
|
+
console.log('-> Type', Type);
|
|
58039
58055
|
return createVNode(Type, {
|
|
58040
58056
|
"class": "_fc-frame-icon",
|
|
58041
58057
|
"onClick": function onClick() {
|
|
@@ -58906,7 +58922,7 @@ var script = {
|
|
|
58906
58922
|
name: 'QuestionCircleOutlined'
|
|
58907
58923
|
};
|
|
58908
58924
|
|
|
58909
|
-
var _hoisted_1$
|
|
58925
|
+
var _hoisted_1$b = {
|
|
58910
58926
|
"class": "anticon"
|
|
58911
58927
|
};
|
|
58912
58928
|
|
|
@@ -58925,7 +58941,7 @@ var _hoisted_2$9 = /*#__PURE__*/createElementVNode("svg", {
|
|
|
58925
58941
|
|
|
58926
58942
|
var _hoisted_3$9 = [_hoisted_2$9];
|
|
58927
58943
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
58928
|
-
return openBlock(), createElementBlock("span", _hoisted_1$
|
|
58944
|
+
return openBlock(), createElementBlock("span", _hoisted_1$b, _hoisted_3$9);
|
|
58929
58945
|
}
|
|
58930
58946
|
|
|
58931
58947
|
script.render = render;
|
|
@@ -59080,7 +59096,9 @@ function $FormCreate(FormCreate) {
|
|
|
59080
59096
|
fc.$handle.reloadRule(rule.value);
|
|
59081
59097
|
vm.setupState.renderRule();
|
|
59082
59098
|
});
|
|
59083
|
-
watch(
|
|
59099
|
+
watch(function () {
|
|
59100
|
+
return props.option;
|
|
59101
|
+
}, function (n) {
|
|
59084
59102
|
fc.initOptions(n);
|
|
59085
59103
|
fapi.refresh();
|
|
59086
59104
|
});
|
|
@@ -59954,8 +59972,13 @@ function useCache(Render) {
|
|
|
59954
59972
|
},
|
|
59955
59973
|
getCache: function getCache(ctx) {
|
|
59956
59974
|
var cache = this.cache[ctx.id];
|
|
59957
|
-
|
|
59958
|
-
|
|
59975
|
+
|
|
59976
|
+
if (cache) {
|
|
59977
|
+
cache.use = true;
|
|
59978
|
+
return cache.vnode;
|
|
59979
|
+
}
|
|
59980
|
+
|
|
59981
|
+
return undefined;
|
|
59959
59982
|
}
|
|
59960
59983
|
});
|
|
59961
59984
|
}
|
|
@@ -59970,6 +59993,10 @@ function lower(str) {
|
|
|
59970
59993
|
return str.replace(str[0], str[0].toLowerCase());
|
|
59971
59994
|
}
|
|
59972
59995
|
|
|
59996
|
+
function toString(val) {
|
|
59997
|
+
return val == null ? '' : _typeof$3(val) === 'object' ? JSON.stringify(val, null, 2) : String(val);
|
|
59998
|
+
}
|
|
59999
|
+
|
|
59973
60000
|
var id$2 = 0;
|
|
59974
60001
|
function uniqueId() {
|
|
59975
60002
|
return Math.random().toString(36).substr(3, 3) + Number("".concat(Date.now()).concat(++id$2)).toString(36);
|
|
@@ -62279,9 +62306,16 @@ function run(inject, rule, api) {
|
|
|
62279
62306
|
return fetch(_objectSpread2$l(_objectSpread2$l({}, option), {}, {
|
|
62280
62307
|
onSuccess: function onSuccess(body) {
|
|
62281
62308
|
if (check()) return;
|
|
62282
|
-
|
|
62309
|
+
|
|
62310
|
+
var fn = function fn(v) {
|
|
62283
62311
|
return v.data;
|
|
62284
|
-
}
|
|
62312
|
+
};
|
|
62313
|
+
|
|
62314
|
+
if (is.Function(option.parse)) {
|
|
62315
|
+
fn = option.parse;
|
|
62316
|
+
}
|
|
62317
|
+
|
|
62318
|
+
set(fn(body, rule, api));
|
|
62285
62319
|
api.sync(rule);
|
|
62286
62320
|
},
|
|
62287
62321
|
onError: function onError(e) {
|
|
@@ -63527,7 +63561,8 @@ var required = {
|
|
|
63527
63561
|
}, val);
|
|
63528
63562
|
|
|
63529
63563
|
if (!validate.message) {
|
|
63530
|
-
|
|
63564
|
+
var title = rule.title || '';
|
|
63565
|
+
validate.message = ((_typeof$3(title) === 'object' ? title.title : title) || '') + '不能为空';
|
|
63531
63566
|
}
|
|
63532
63567
|
|
|
63533
63568
|
inject.getProp().validate = [validate];
|
|
@@ -63586,7 +63621,7 @@ function install$1(FormCreate) {
|
|
|
63586
63621
|
function antdvFormCreate() {
|
|
63587
63622
|
return FormCreateFactory({
|
|
63588
63623
|
ui: 'ant-design-vue',
|
|
63589
|
-
version: '3.1.
|
|
63624
|
+
version: '3.1.12',
|
|
63590
63625
|
manager: manager,
|
|
63591
63626
|
install: install$1,
|
|
63592
63627
|
extendApi: extendApi,
|
|
@@ -63656,11 +63691,11 @@ const searchFilterProps = Object.assign({ userRule: {
|
|
|
63656
63691
|
default: 'left',
|
|
63657
63692
|
} }, searchResetBtnProps);
|
|
63658
63693
|
|
|
63659
|
-
const _hoisted_1$
|
|
63660
|
-
const _hoisted_2$
|
|
63661
|
-
const _hoisted_3$
|
|
63662
|
-
const _hoisted_4$
|
|
63663
|
-
const _sfc_main$
|
|
63694
|
+
const _hoisted_1$a = { class: "bm-search-filter-btn" };
|
|
63695
|
+
const _hoisted_2$8 = { class: "bm-search-filter-actions" };
|
|
63696
|
+
const _hoisted_3$7 = /* @__PURE__ */ createTextVNode("\u91CD\u7F6E");
|
|
63697
|
+
const _hoisted_4$7 = /* @__PURE__ */ createTextVNode("\u67E5\u8BE2");
|
|
63698
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
63664
63699
|
__name: "search-reset-btn",
|
|
63665
63700
|
props: searchResetBtnProps,
|
|
63666
63701
|
emits: ["submit", "reset", "expand"],
|
|
@@ -63679,7 +63714,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
63679
63714
|
}
|
|
63680
63715
|
return (_ctx, _cache) => {
|
|
63681
63716
|
const _component_a_button = resolveComponent("a-button");
|
|
63682
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
63717
|
+
return openBlock(), createElementBlock("div", _hoisted_1$a, [
|
|
63683
63718
|
props.showExpandBtn ? (openBlock(), createElementBlock("span", {
|
|
63684
63719
|
key: 0,
|
|
63685
63720
|
class: "bm-search-filter-expand",
|
|
@@ -63688,10 +63723,10 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
63688
63723
|
createTextVNode(toDisplayString(isExpand.value ? "\u6536\u8D77" : "\u5C55\u5F00"), 1),
|
|
63689
63724
|
isExpand.value ? (openBlock(), createBlock(unref(UpOutlined$1), { key: 0 })) : (openBlock(), createBlock(unref(DownOutlined$1), { key: 1 }))
|
|
63690
63725
|
])) : createCommentVNode("v-if", true),
|
|
63691
|
-
createElementVNode("span", _hoisted_2$
|
|
63726
|
+
createElementVNode("span", _hoisted_2$8, [
|
|
63692
63727
|
createVNode(_component_a_button, { onClick: handleReset }, {
|
|
63693
63728
|
default: withCtx(() => [
|
|
63694
|
-
_hoisted_3$
|
|
63729
|
+
_hoisted_3$7
|
|
63695
63730
|
]),
|
|
63696
63731
|
_: 1
|
|
63697
63732
|
}),
|
|
@@ -63701,7 +63736,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
63701
63736
|
}, {
|
|
63702
63737
|
default: withCtx(() => [
|
|
63703
63738
|
props.showSearchIcon ? (openBlock(), createBlock(unref(SearchOutlined$4), { key: 0 })) : createCommentVNode("v-if", true),
|
|
63704
|
-
_hoisted_4$
|
|
63739
|
+
_hoisted_4$7
|
|
63705
63740
|
]),
|
|
63706
63741
|
_: 1
|
|
63707
63742
|
})
|
|
@@ -63710,7 +63745,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
63710
63745
|
};
|
|
63711
63746
|
}
|
|
63712
63747
|
});
|
|
63713
|
-
var SearchResetBtn = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
63748
|
+
var SearchResetBtn = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__file", "search-reset-btn.vue"]]);
|
|
63714
63749
|
|
|
63715
63750
|
function multiCascaderComposeProps() {
|
|
63716
63751
|
return {
|
|
@@ -63753,25 +63788,25 @@ function multiCascaderComposeProps() {
|
|
|
63753
63788
|
};
|
|
63754
63789
|
}
|
|
63755
63790
|
|
|
63756
|
-
const _hoisted_1$
|
|
63757
|
-
const _hoisted_2$
|
|
63758
|
-
const _hoisted_3$
|
|
63759
|
-
const _hoisted_4$
|
|
63791
|
+
const _hoisted_1$9 = { class: "bm-multi-cascader-wrapper" };
|
|
63792
|
+
const _hoisted_2$7 = { class: "bm-multi-cascader" };
|
|
63793
|
+
const _hoisted_3$6 = { class: "bm-multi-cascader-inner" };
|
|
63794
|
+
const _hoisted_4$6 = {
|
|
63760
63795
|
key: 0,
|
|
63761
63796
|
class: "bm-multi-cascader-tags"
|
|
63762
63797
|
};
|
|
63763
|
-
const _hoisted_5$
|
|
63764
|
-
const _hoisted_6$
|
|
63765
|
-
const _hoisted_7$
|
|
63798
|
+
const _hoisted_5$6 = { class: "bm-multi-cascader-tag-text" };
|
|
63799
|
+
const _hoisted_6$5 = ["onClick"];
|
|
63800
|
+
const _hoisted_7$5 = {
|
|
63766
63801
|
key: 0,
|
|
63767
63802
|
class: "bm-multi-cascader-tag"
|
|
63768
63803
|
};
|
|
63769
|
-
const _hoisted_8$
|
|
63770
|
-
const _hoisted_9$
|
|
63804
|
+
const _hoisted_8$5 = { class: "bm-multi-cascader-tag-text" };
|
|
63805
|
+
const _hoisted_9$5 = {
|
|
63771
63806
|
key: 1,
|
|
63772
63807
|
class: "bm-multi-cascader-placeholder"
|
|
63773
63808
|
};
|
|
63774
|
-
const _hoisted_10$
|
|
63809
|
+
const _hoisted_10$5 = { class: "bm-multi-cascader-action" };
|
|
63775
63810
|
const _hoisted_11$4 = {
|
|
63776
63811
|
key: 0,
|
|
63777
63812
|
class: "bm-multi-cascader-popover"
|
|
@@ -63790,7 +63825,7 @@ const _hoisted_19$2 = { class: "bm-multi-cascader-moduler" };
|
|
|
63790
63825
|
const __default__$3 = {
|
|
63791
63826
|
name: "BmMultiCascaderCompose"
|
|
63792
63827
|
};
|
|
63793
|
-
const _sfc_main$
|
|
63828
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
63794
63829
|
...__default__$3,
|
|
63795
63830
|
props: multiCascaderComposeProps(),
|
|
63796
63831
|
emits: ["update:modelValue", "change"],
|
|
@@ -63866,7 +63901,9 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
63866
63901
|
tempRes.push({ checked: true });
|
|
63867
63902
|
} else {
|
|
63868
63903
|
let tempRes2 = tempChildren[j];
|
|
63869
|
-
let tempIndex2 = props.modelValue.indexOf(
|
|
63904
|
+
let tempIndex2 = props.modelValue.indexOf(
|
|
63905
|
+
tempRes2[props.optionValueName]
|
|
63906
|
+
);
|
|
63870
63907
|
if (tempIndex2 !== -1) {
|
|
63871
63908
|
tempRes.push({ checked: true });
|
|
63872
63909
|
} else {
|
|
@@ -63892,7 +63929,9 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
63892
63929
|
if (tempChildren) {
|
|
63893
63930
|
for (let j = 0; j < tempChildren.length; j++) {
|
|
63894
63931
|
let tempRes2 = tempChildren[j];
|
|
63895
|
-
let tempIndex2 = props.modelValue.indexOf(
|
|
63932
|
+
let tempIndex2 = props.modelValue.indexOf(
|
|
63933
|
+
tempRes2[props.optionValueName]
|
|
63934
|
+
);
|
|
63896
63935
|
if (path.value[i] && tempRes2[props.optionValueName] === path.value[i][props.optionValueName] && tempIndex2 !== -1) {
|
|
63897
63936
|
parentChecked = true;
|
|
63898
63937
|
break;
|
|
@@ -63974,7 +64013,9 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
63974
64013
|
checked.push(tempOption?.[props.optionValueName]);
|
|
63975
64014
|
if (tempOption?.children) {
|
|
63976
64015
|
let allSonValues = getAllSonValues(tempOption.children);
|
|
63977
|
-
allSonValues = allSonValues.filter(
|
|
64016
|
+
allSonValues = allSonValues.filter(
|
|
64017
|
+
(item) => item !== tempOption?.[props.optionValueName]
|
|
64018
|
+
);
|
|
63978
64019
|
unChecked = unChecked.concat(allSonValues);
|
|
63979
64020
|
}
|
|
63980
64021
|
for (let i = level; i > 0; i--) {
|
|
@@ -63989,7 +64030,9 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
63989
64030
|
checked.push(tempOption2[props.optionValueName]);
|
|
63990
64031
|
if (tempOption2.children) {
|
|
63991
64032
|
let allSonValues = getAllSonValues(tempOption2.children);
|
|
63992
|
-
allSonValues = allSonValues.filter(
|
|
64033
|
+
allSonValues = allSonValues.filter(
|
|
64034
|
+
(item) => item !== tempOption2[props.optionValueName]
|
|
64035
|
+
);
|
|
63993
64036
|
unChecked = unChecked.concat(allSonValues);
|
|
63994
64037
|
}
|
|
63995
64038
|
}
|
|
@@ -64015,7 +64058,9 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
64015
64058
|
if (tempStatus.checked) {
|
|
64016
64059
|
checked = [];
|
|
64017
64060
|
} else {
|
|
64018
|
-
checked = modulersOptions.value[level].children?.map(
|
|
64061
|
+
checked = modulersOptions.value[level].children?.map(
|
|
64062
|
+
(item) => item[props.optionValueName]
|
|
64063
|
+
) || [];
|
|
64019
64064
|
}
|
|
64020
64065
|
} else {
|
|
64021
64066
|
if (tempStatus.checked) {
|
|
@@ -64038,7 +64083,9 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
64038
64083
|
checked.push(tempOption[props.optionValueName]);
|
|
64039
64084
|
if (tempOption.children) {
|
|
64040
64085
|
let allSonValues = getAllSonValues(tempOption.children);
|
|
64041
|
-
allSonValues = allSonValues.filter(
|
|
64086
|
+
allSonValues = allSonValues.filter(
|
|
64087
|
+
(item) => item !== tempOption[props.optionValueName]
|
|
64088
|
+
);
|
|
64042
64089
|
unChecked = unChecked.concat(allSonValues);
|
|
64043
64090
|
}
|
|
64044
64091
|
for (let i = level; i > 0; i--) {
|
|
@@ -64053,7 +64100,9 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
64053
64100
|
checked.push(tempOption2[props.optionValueName]);
|
|
64054
64101
|
if (tempOption2.children) {
|
|
64055
64102
|
let allSonValues = getAllSonValues(tempOption2.children);
|
|
64056
|
-
allSonValues = allSonValues.filter(
|
|
64103
|
+
allSonValues = allSonValues.filter(
|
|
64104
|
+
(item) => item !== tempOption2[props.optionValueName]
|
|
64105
|
+
);
|
|
64057
64106
|
unChecked = unChecked.concat(allSonValues);
|
|
64058
64107
|
}
|
|
64059
64108
|
}
|
|
@@ -64101,7 +64150,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
64101
64150
|
const _component_a_form_item_rest = resolveComponent("a-form-item-rest");
|
|
64102
64151
|
const _component_a_empty = resolveComponent("a-empty");
|
|
64103
64152
|
const _component_v_dropdown = resolveComponent("v-dropdown");
|
|
64104
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
64153
|
+
return openBlock(), createElementBlock("div", _hoisted_1$9, [
|
|
64105
64154
|
createVNode(_component_v_dropdown, {
|
|
64106
64155
|
placement: "bottom-start",
|
|
64107
64156
|
container: false,
|
|
@@ -64139,7 +64188,9 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
64139
64188
|
return openBlock(), createElementBlock("div", {
|
|
64140
64189
|
key: index,
|
|
64141
64190
|
class: normalizeClass(["bm-multi-cascader-item", {
|
|
64142
|
-
"is-active": path.value.find(
|
|
64191
|
+
"is-active": path.value.find(
|
|
64192
|
+
(item) => option[props.optionValueName] === item[props.optionValueName]
|
|
64193
|
+
)
|
|
64143
64194
|
}]),
|
|
64144
64195
|
onClick: ($event) => handleClick(option, level, index)
|
|
64145
64196
|
}, [
|
|
@@ -64180,31 +64231,31 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
64180
64231
|
]))
|
|
64181
64232
|
]),
|
|
64182
64233
|
default: withCtx(() => [
|
|
64183
|
-
createElementVNode("div", _hoisted_2$
|
|
64234
|
+
createElementVNode("div", _hoisted_2$7, [
|
|
64184
64235
|
createCommentVNode(" container "),
|
|
64185
|
-
createElementVNode("section", _hoisted_3$
|
|
64186
|
-
props.modelValue.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
64236
|
+
createElementVNode("section", _hoisted_3$6, [
|
|
64237
|
+
props.modelValue.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_4$6, [
|
|
64187
64238
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(checkedShowMap), (item, index) => {
|
|
64188
64239
|
return openBlock(), createElementBlock("div", {
|
|
64189
64240
|
key: index,
|
|
64190
64241
|
class: "bm-multi-cascader-tag"
|
|
64191
64242
|
}, [
|
|
64192
|
-
createElementVNode("span", _hoisted_5$
|
|
64243
|
+
createElementVNode("span", _hoisted_5$6, toDisplayString(item[props.optionLabelName]), 1),
|
|
64193
64244
|
createElementVNode("span", {
|
|
64194
64245
|
class: "bm-multi-cascader-tag-close",
|
|
64195
64246
|
onClick: withModifiers(($event) => removeItem(item[props.optionValueName]), ["stop"])
|
|
64196
64247
|
}, [
|
|
64197
64248
|
createVNode(unref(CloseOutlined$1), { class: "bm-multi-cascader-tag-close-inner" })
|
|
64198
|
-
], 8, _hoisted_6$
|
|
64249
|
+
], 8, _hoisted_6$5)
|
|
64199
64250
|
]);
|
|
64200
64251
|
}), 128)),
|
|
64201
64252
|
createCommentVNode(" \u66F4\u591A\u6570\u91CF\u9690\u85CF "),
|
|
64202
|
-
unref(checkedHideCount) ? (openBlock(), createElementBlock("div", _hoisted_7$
|
|
64203
|
-
createElementVNode("span", _hoisted_8$
|
|
64253
|
+
unref(checkedHideCount) ? (openBlock(), createElementBlock("div", _hoisted_7$5, [
|
|
64254
|
+
createElementVNode("span", _hoisted_8$5, "+ " + toDisplayString(unref(checkedHideCount)), 1)
|
|
64204
64255
|
])) : createCommentVNode("v-if", true)
|
|
64205
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_9$
|
|
64256
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_9$5, toDisplayString(props.placeholder), 1))
|
|
64206
64257
|
]),
|
|
64207
|
-
createElementVNode("div", _hoisted_10$
|
|
64258
|
+
createElementVNode("div", _hoisted_10$5, [
|
|
64208
64259
|
props.allowClear && props.modelValue.length > 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
64209
64260
|
createVNode(unref(DownOutlined$1), { class: "bm-multi-cascader-icon bm-multi-cascader-caret" }),
|
|
64210
64261
|
createVNode(unref(CloseCircleFilled$1), {
|
|
@@ -64221,14 +64272,14 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
64221
64272
|
};
|
|
64222
64273
|
}
|
|
64223
64274
|
});
|
|
64224
|
-
var MultiCascaderCompose = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
64275
|
+
var MultiCascaderCompose = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__file", "multi-cascader-compose.vue"]]);
|
|
64225
64276
|
|
|
64226
64277
|
const BmMultiCascaderCompose = withInstall$2(MultiCascaderCompose);
|
|
64227
64278
|
|
|
64228
64279
|
const __default__$2 = {
|
|
64229
64280
|
name: "BmSearchFilter"
|
|
64230
64281
|
};
|
|
64231
|
-
const _sfc_main$
|
|
64282
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
64232
64283
|
...__default__$2,
|
|
64233
64284
|
props: searchFilterProps,
|
|
64234
64285
|
emits: ["update:value", "submit", "reset", "expand"],
|
|
@@ -64308,11 +64359,15 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
64308
64359
|
onBeforeUnmount(() => {
|
|
64309
64360
|
window.removeEventListener("resize", handleResize);
|
|
64310
64361
|
});
|
|
64311
|
-
watch(
|
|
64312
|
-
|
|
64313
|
-
|
|
64314
|
-
|
|
64315
|
-
|
|
64362
|
+
watch(
|
|
64363
|
+
() => props.showExpandBtn,
|
|
64364
|
+
(val) => {
|
|
64365
|
+
handleShowExpandBtn(val);
|
|
64366
|
+
},
|
|
64367
|
+
{
|
|
64368
|
+
immediate: true
|
|
64369
|
+
}
|
|
64370
|
+
);
|
|
64316
64371
|
const expandRule = computed(() => {
|
|
64317
64372
|
const fixedCount = props.fixedCount && props.fixedCount >= 0 ? props.fixedCount : 0;
|
|
64318
64373
|
const fixedFields = props.fixedFields?.length ? props.fixedFields : [];
|
|
@@ -64331,11 +64386,15 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
64331
64386
|
});
|
|
64332
64387
|
}
|
|
64333
64388
|
}
|
|
64334
|
-
watch(
|
|
64335
|
-
|
|
64336
|
-
|
|
64337
|
-
|
|
64338
|
-
|
|
64389
|
+
watch(
|
|
64390
|
+
isExpand,
|
|
64391
|
+
(val) => {
|
|
64392
|
+
handleChangeExpand(val);
|
|
64393
|
+
},
|
|
64394
|
+
{
|
|
64395
|
+
immediate: true
|
|
64396
|
+
}
|
|
64397
|
+
);
|
|
64339
64398
|
expose({
|
|
64340
64399
|
fApi
|
|
64341
64400
|
});
|
|
@@ -64356,7 +64415,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
64356
64415
|
};
|
|
64357
64416
|
}
|
|
64358
64417
|
});
|
|
64359
|
-
var SearchFilter = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
64418
|
+
var SearchFilter = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__file", "search-filter.vue"]]);
|
|
64360
64419
|
|
|
64361
64420
|
const BmSearchFilter = withInstall$2(SearchFilter);
|
|
64362
64421
|
|
|
@@ -72923,7 +72982,7 @@ var _default$b = (0, _type$1.withInstall)(Popover);
|
|
|
72923
72982
|
|
|
72924
72983
|
var default_1 = popover.default = _default$b;
|
|
72925
72984
|
|
|
72926
|
-
const _sfc_main$
|
|
72985
|
+
const _sfc_main$a = defineComponent({
|
|
72927
72986
|
name: "BmShopsFilter",
|
|
72928
72987
|
components: {
|
|
72929
72988
|
DownOutlined: DownOutlined$1,
|
|
@@ -73083,22 +73142,28 @@ const _sfc_main$9 = defineComponent({
|
|
|
73083
73142
|
};
|
|
73084
73143
|
props.loadFilter().then((data) => {
|
|
73085
73144
|
state.filterArr = data;
|
|
73086
|
-
state.filterSelects = state.filterArr.map(
|
|
73087
|
-
|
|
73088
|
-
|
|
73145
|
+
state.filterSelects = state.filterArr.map(
|
|
73146
|
+
(item) => {
|
|
73147
|
+
return item.multiple ? [] : "";
|
|
73148
|
+
}
|
|
73149
|
+
);
|
|
73089
73150
|
}).finally(() => {
|
|
73090
73151
|
methods.fetchData();
|
|
73091
73152
|
});
|
|
73092
|
-
watch(
|
|
73093
|
-
|
|
73094
|
-
|
|
73095
|
-
|
|
73096
|
-
|
|
73097
|
-
|
|
73098
|
-
|
|
73099
|
-
|
|
73100
|
-
|
|
73101
|
-
|
|
73153
|
+
watch(
|
|
73154
|
+
() => state.shopCheck,
|
|
73155
|
+
() => {
|
|
73156
|
+
let list = [];
|
|
73157
|
+
for (let [key, value] of Object.entries(state.shopCheck)) {
|
|
73158
|
+
value && list.push(key);
|
|
73159
|
+
}
|
|
73160
|
+
state.selected = list;
|
|
73161
|
+
emit("update:selected", list);
|
|
73162
|
+
emit("change", list);
|
|
73163
|
+
methods.checkboxChange();
|
|
73164
|
+
},
|
|
73165
|
+
{ deep: true }
|
|
73166
|
+
);
|
|
73102
73167
|
if (props.showAlways) {
|
|
73103
73168
|
state.isActive = true;
|
|
73104
73169
|
}
|
|
@@ -73116,19 +73181,19 @@ const _sfc_main$9 = defineComponent({
|
|
|
73116
73181
|
};
|
|
73117
73182
|
}
|
|
73118
73183
|
});
|
|
73119
|
-
const _hoisted_1$
|
|
73120
|
-
const _hoisted_2$
|
|
73121
|
-
const _hoisted_3$
|
|
73122
|
-
const _hoisted_4$
|
|
73123
|
-
const _hoisted_5$
|
|
73124
|
-
const _hoisted_6$
|
|
73125
|
-
const _hoisted_7$
|
|
73184
|
+
const _hoisted_1$8 = /* @__PURE__ */ createElementVNode("span", null, "\u8BF7\u9009\u62E9", -1);
|
|
73185
|
+
const _hoisted_2$6 = { class: "input-icon active-icon" };
|
|
73186
|
+
const _hoisted_3$5 = { class: "pop-seleted-title" };
|
|
73187
|
+
const _hoisted_4$5 = /* @__PURE__ */ createTextVNode(" \u5DF2\u9009\u62E9");
|
|
73188
|
+
const _hoisted_5$5 = /* @__PURE__ */ createTextVNode("\u9879 ");
|
|
73189
|
+
const _hoisted_6$4 = { class: "__shops-filter-list" };
|
|
73190
|
+
const _hoisted_7$4 = {
|
|
73126
73191
|
key: 0,
|
|
73127
73192
|
class: "__shops-filter-tabs"
|
|
73128
73193
|
};
|
|
73129
|
-
const _hoisted_8$
|
|
73130
|
-
const _hoisted_9$
|
|
73131
|
-
const _hoisted_10$
|
|
73194
|
+
const _hoisted_8$4 = { class: "label" };
|
|
73195
|
+
const _hoisted_9$4 = { class: "__shops-filter-areas" };
|
|
73196
|
+
const _hoisted_10$4 = ["onClick"];
|
|
73132
73197
|
const _hoisted_11$3 = ["onClick"];
|
|
73133
73198
|
const _hoisted_12$3 = { class: "__shops-filter-selecting" };
|
|
73134
73199
|
const _hoisted_13$3 = /* @__PURE__ */ createTextVNode(" \u5DF2\u9009\u62E9");
|
|
@@ -73144,7 +73209,7 @@ const _hoisted_19$1 = {
|
|
|
73144
73209
|
const _hoisted_20$1 = /* @__PURE__ */ createTextVNode(" \u5DF2\u9009\u62E9");
|
|
73145
73210
|
const _hoisted_21$1 = /* @__PURE__ */ createTextVNode("\u9879 ");
|
|
73146
73211
|
const _hoisted_22$1 = /* @__PURE__ */ createElementVNode("span", { style: { "color": "#9393a3" } }, "\u6682\u65E0\u6570\u636E", -1);
|
|
73147
|
-
function _sfc_render$
|
|
73212
|
+
function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
73148
73213
|
const _component_down_outlined = resolveComponent("down-outlined");
|
|
73149
73214
|
const _component_close_circle_filled = resolveComponent("close-circle-filled");
|
|
73150
73215
|
const _component_Popover = resolveComponent("Popover");
|
|
@@ -73171,8 +73236,8 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
73171
73236
|
onClick: _cache[3] || (_cache[3] = (...args) => _ctx.triggleActive && _ctx.triggleActive(...args))
|
|
73172
73237
|
}, [
|
|
73173
73238
|
withDirectives(createElementVNode("div", null, [
|
|
73174
|
-
_hoisted_1$
|
|
73175
|
-
createElementVNode("span", _hoisted_2$
|
|
73239
|
+
_hoisted_1$8,
|
|
73240
|
+
createElementVNode("span", _hoisted_2$6, [
|
|
73176
73241
|
createVNode(_component_down_outlined)
|
|
73177
73242
|
])
|
|
73178
73243
|
], 512), [
|
|
@@ -73188,10 +73253,10 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
73188
73253
|
class: "pop-seleted",
|
|
73189
73254
|
style: normalizeStyle({ "min-width": _ctx.displayParams?.width || "436px" })
|
|
73190
73255
|
}, [
|
|
73191
|
-
createElementVNode("div", _hoisted_3$
|
|
73192
|
-
_hoisted_4$
|
|
73256
|
+
createElementVNode("div", _hoisted_3$5, [
|
|
73257
|
+
_hoisted_4$5,
|
|
73193
73258
|
createElementVNode("span", null, toDisplayString(_ctx.selected.length), 1),
|
|
73194
|
-
_hoisted_5$
|
|
73259
|
+
_hoisted_5$5
|
|
73195
73260
|
]),
|
|
73196
73261
|
createElementVNode("div", {
|
|
73197
73262
|
class: "pop-seleted-shops",
|
|
@@ -73208,7 +73273,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
73208
73273
|
], 4)
|
|
73209
73274
|
]),
|
|
73210
73275
|
default: withCtx(() => [
|
|
73211
|
-
createElementVNode("div", _hoisted_6$
|
|
73276
|
+
createElementVNode("div", _hoisted_6$4, [
|
|
73212
73277
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.selected, (item) => {
|
|
73213
73278
|
return openBlock(), createElementBlock("div", {
|
|
73214
73279
|
key: item,
|
|
@@ -73248,20 +73313,20 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
73248
73313
|
withDirectives(createElementVNode("div", {
|
|
73249
73314
|
class: normalizeClass(["__shops-filter-content", { "__shops-filter-no-absolute": _ctx.showAlways }])
|
|
73250
73315
|
}, [
|
|
73251
|
-
_ctx.filterArr && _ctx.filterArr.length ? (openBlock(), createElementBlock("div", _hoisted_7$
|
|
73316
|
+
_ctx.filterArr && _ctx.filterArr.length ? (openBlock(), createElementBlock("div", _hoisted_7$4, [
|
|
73252
73317
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.filterArr, (item, index) => {
|
|
73253
73318
|
return openBlock(), createElementBlock("div", {
|
|
73254
73319
|
key: item.paramsStr,
|
|
73255
73320
|
class: "__shops-filter-area-tabs"
|
|
73256
73321
|
}, [
|
|
73257
|
-
createElementVNode("div", _hoisted_8$
|
|
73258
|
-
createElementVNode("div", _hoisted_9$
|
|
73322
|
+
createElementVNode("div", _hoisted_8$4, toDisplayString(item.label) + ":", 1),
|
|
73323
|
+
createElementVNode("div", _hoisted_9$4, [
|
|
73259
73324
|
createElementVNode("span", {
|
|
73260
73325
|
class: normalizeClass({
|
|
73261
73326
|
active: !(item.multiple ? _ctx.filterSelects[index].length : !!_ctx.filterSelects[index])
|
|
73262
73327
|
}),
|
|
73263
73328
|
onClick: withModifiers(($event) => _ctx.changeFilterSelect(index, ""), ["self"])
|
|
73264
|
-
}, "\u5168\u90E8", 10, _hoisted_10$
|
|
73329
|
+
}, "\u5168\u90E8", 10, _hoisted_10$4),
|
|
73265
73330
|
(openBlock(true), createElementBlock(Fragment, null, renderList(item.list, (element) => {
|
|
73266
73331
|
return openBlock(), createElementBlock("span", {
|
|
73267
73332
|
key: element.code,
|
|
@@ -73357,7 +73422,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
73357
73422
|
])
|
|
73358
73423
|
]);
|
|
73359
73424
|
}
|
|
73360
|
-
var shopsFilter = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
73425
|
+
var shopsFilter = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$8], ["__file", "shops-filter.vue"]]);
|
|
73361
73426
|
|
|
73362
73427
|
const BmShopsFilter = withInstall$2(shopsFilter);
|
|
73363
73428
|
|
|
@@ -75825,7 +75890,7 @@ function useScrollTo(containerRef, mergedData, heights, props, getKey, collectHe
|
|
|
75825
75890
|
});
|
|
75826
75891
|
};
|
|
75827
75892
|
|
|
75828
|
-
syncScroll(
|
|
75893
|
+
syncScroll(5);
|
|
75829
75894
|
}
|
|
75830
75895
|
};
|
|
75831
75896
|
}
|
|
@@ -80335,7 +80400,7 @@ exports.default = _default;
|
|
|
80335
80400
|
|
|
80336
80401
|
var ATree = /*@__PURE__*/getDefaultExportFromCjs(tree);
|
|
80337
80402
|
|
|
80338
|
-
const _sfc_main$
|
|
80403
|
+
const _sfc_main$9 = defineComponent({
|
|
80339
80404
|
components: {
|
|
80340
80405
|
CloseCircleFilled: CloseCircleFilled$1,
|
|
80341
80406
|
SearchOutlined: SearchOutlined$4,
|
|
@@ -80368,6 +80433,14 @@ const _sfc_main$8 = defineComponent({
|
|
|
80368
80433
|
curlistKeys: {
|
|
80369
80434
|
type: Set,
|
|
80370
80435
|
default: () => /* @__PURE__ */ new Set()
|
|
80436
|
+
},
|
|
80437
|
+
showCount: {
|
|
80438
|
+
type: Boolean,
|
|
80439
|
+
default: true
|
|
80440
|
+
},
|
|
80441
|
+
unitStr: {
|
|
80442
|
+
type: String,
|
|
80443
|
+
default: "\u4EBA"
|
|
80371
80444
|
}
|
|
80372
80445
|
},
|
|
80373
80446
|
emits: ["fetchList", "update:selected"],
|
|
@@ -80427,39 +80500,50 @@ const _sfc_main$8 = defineComponent({
|
|
|
80427
80500
|
return data ? data.title : "\u672A\u77E5";
|
|
80428
80501
|
}
|
|
80429
80502
|
};
|
|
80430
|
-
watch(
|
|
80431
|
-
|
|
80432
|
-
|
|
80433
|
-
|
|
80434
|
-
|
|
80435
|
-
|
|
80436
|
-
|
|
80437
|
-
|
|
80438
|
-
|
|
80439
|
-
|
|
80440
|
-
|
|
80441
|
-
|
|
80442
|
-
|
|
80443
|
-
|
|
80444
|
-
|
|
80445
|
-
|
|
80446
|
-
|
|
80447
|
-
|
|
80448
|
-
|
|
80449
|
-
|
|
80450
|
-
|
|
80451
|
-
|
|
80452
|
-
|
|
80453
|
-
let
|
|
80454
|
-
|
|
80455
|
-
|
|
80456
|
-
|
|
80457
|
-
|
|
80458
|
-
|
|
80459
|
-
|
|
80460
|
-
|
|
80461
|
-
|
|
80462
|
-
|
|
80503
|
+
watch(
|
|
80504
|
+
() => state.listChecked,
|
|
80505
|
+
() => {
|
|
80506
|
+
let list = [];
|
|
80507
|
+
for (let [key, value] of Object.entries(state.listChecked)) {
|
|
80508
|
+
value && list.push(key);
|
|
80509
|
+
}
|
|
80510
|
+
if (props.limit > 0 && list.length >= props.limit)
|
|
80511
|
+
state.isFulfill = true;
|
|
80512
|
+
else
|
|
80513
|
+
state.isFulfill = false;
|
|
80514
|
+
methods.setState();
|
|
80515
|
+
emit("update:selected", list);
|
|
80516
|
+
},
|
|
80517
|
+
{ deep: true }
|
|
80518
|
+
);
|
|
80519
|
+
watch(
|
|
80520
|
+
() => state.departmentChecked,
|
|
80521
|
+
() => {
|
|
80522
|
+
let flatMap = props.dataMap;
|
|
80523
|
+
let curlistKeys = props.curlistKeys;
|
|
80524
|
+
let hadselected = new Set(props.selected);
|
|
80525
|
+
let curselect = new Set(state.departmentChecked);
|
|
80526
|
+
for (let key of hadselected) {
|
|
80527
|
+
if (curlistKeys.has(key) && (!curselect.has(key) || curselect.has(key) && curselect.has(flatMap.get(key)["parent"]))) {
|
|
80528
|
+
hadselected.delete(key);
|
|
80529
|
+
}
|
|
80530
|
+
}
|
|
80531
|
+
for (let key of curselect) {
|
|
80532
|
+
let obj = flatMap.get(key);
|
|
80533
|
+
if (obj && !curselect.has(obj["parent"])) {
|
|
80534
|
+
hadselected.add(key);
|
|
80535
|
+
}
|
|
80536
|
+
}
|
|
80537
|
+
emit("update:selected", Array.from(hadselected));
|
|
80538
|
+
},
|
|
80539
|
+
{ deep: true }
|
|
80540
|
+
);
|
|
80541
|
+
watch(
|
|
80542
|
+
() => props.list,
|
|
80543
|
+
() => {
|
|
80544
|
+
!props.isTree && methods.setState();
|
|
80545
|
+
}
|
|
80546
|
+
);
|
|
80463
80547
|
onMounted(() => {
|
|
80464
80548
|
let list = props.selected;
|
|
80465
80549
|
list && list.forEach((key) => {
|
|
@@ -80472,41 +80556,44 @@ const _sfc_main$8 = defineComponent({
|
|
|
80472
80556
|
};
|
|
80473
80557
|
}
|
|
80474
80558
|
});
|
|
80475
|
-
const _hoisted_1$
|
|
80476
|
-
const _hoisted_2$
|
|
80477
|
-
const _hoisted_3$
|
|
80478
|
-
const _hoisted_4$
|
|
80479
|
-
const _hoisted_5$
|
|
80480
|
-
const _hoisted_6$
|
|
80481
|
-
const _hoisted_7$
|
|
80482
|
-
const _hoisted_8$
|
|
80559
|
+
const _hoisted_1$7 = { class: "multiple-selector" };
|
|
80560
|
+
const _hoisted_2$5 = { class: "__selector-modal-panel" };
|
|
80561
|
+
const _hoisted_3$4 = { class: "__search-panel" };
|
|
80562
|
+
const _hoisted_4$4 = { class: "__selector-modal-options" };
|
|
80563
|
+
const _hoisted_5$4 = { class: "__selector-modal-options-item fixed-option" };
|
|
80564
|
+
const _hoisted_6$3 = /* @__PURE__ */ createTextVNode("\u5168\u9009");
|
|
80565
|
+
const _hoisted_7$3 = { class: "department-option-item" };
|
|
80566
|
+
const _hoisted_8$3 = {
|
|
80483
80567
|
key: 0,
|
|
80484
80568
|
class: "department-desc"
|
|
80485
80569
|
};
|
|
80486
|
-
const _hoisted_9$
|
|
80570
|
+
const _hoisted_9$3 = {
|
|
80487
80571
|
key: 2,
|
|
80488
80572
|
class: "noData",
|
|
80489
80573
|
style: { "height": "280px" }
|
|
80490
80574
|
};
|
|
80491
|
-
const _hoisted_10$
|
|
80575
|
+
const _hoisted_10$3 = { style: { "color": "#9393a3", "font-size": "12px", "font-weight": "400" } };
|
|
80492
80576
|
const _hoisted_11$2 = { class: "__selector-chosen-panel" };
|
|
80493
|
-
const _hoisted_12$2 = {
|
|
80577
|
+
const _hoisted_12$2 = {
|
|
80578
|
+
key: 0,
|
|
80579
|
+
class: "__chosen-panel-tip"
|
|
80580
|
+
};
|
|
80494
80581
|
const _hoisted_13$2 = {
|
|
80495
80582
|
key: 0,
|
|
80496
80583
|
class: "__limit-tip"
|
|
80497
80584
|
};
|
|
80498
80585
|
const _hoisted_14$2 = { class: "__chosen-panel-list" };
|
|
80499
80586
|
const _hoisted_15$2 = { class: "__tiem-title" };
|
|
80500
|
-
function _sfc_render$
|
|
80587
|
+
function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
80501
80588
|
const _component_search_outlined = resolveComponent("search-outlined");
|
|
80502
80589
|
const _component_AInput = resolveComponent("AInput");
|
|
80503
80590
|
const _component_Checkbox = resolveComponent("Checkbox");
|
|
80504
80591
|
const _component_ATree = resolveComponent("ATree");
|
|
80505
80592
|
const _component_Empty = resolveComponent("Empty");
|
|
80506
80593
|
const _component_CloseCircleFilled = resolveComponent("CloseCircleFilled");
|
|
80507
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
80508
|
-
createElementVNode("div", _hoisted_2$
|
|
80509
|
-
createElementVNode("div", _hoisted_3$
|
|
80594
|
+
return openBlock(), createElementBlock("div", _hoisted_1$7, [
|
|
80595
|
+
createElementVNode("div", _hoisted_2$5, [
|
|
80596
|
+
createElementVNode("div", _hoisted_3$4, [
|
|
80510
80597
|
createVNode(_component_AInput, {
|
|
80511
80598
|
value: _ctx.searchVal,
|
|
80512
80599
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => _ctx.searchVal = $event),
|
|
@@ -80518,9 +80605,9 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
80518
80605
|
]),
|
|
80519
80606
|
_: 1
|
|
80520
80607
|
}, 8, ["value", "onChange"]),
|
|
80521
|
-
createElementVNode("div", _hoisted_4$
|
|
80608
|
+
createElementVNode("div", _hoisted_4$4, [
|
|
80522
80609
|
!_ctx.isTree ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
80523
|
-
createElementVNode("div", _hoisted_5$
|
|
80610
|
+
createElementVNode("div", _hoisted_5$4, [
|
|
80524
80611
|
withDirectives(createVNode(_component_Checkbox, {
|
|
80525
80612
|
checked: _ctx.selectAll,
|
|
80526
80613
|
"onUpdate:checked": _cache[1] || (_cache[1] = ($event) => _ctx.selectAll = $event),
|
|
@@ -80528,7 +80615,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
80528
80615
|
onChange: _ctx.changeAllOption
|
|
80529
80616
|
}, {
|
|
80530
80617
|
default: withCtx(() => [
|
|
80531
|
-
_hoisted_6$
|
|
80618
|
+
_hoisted_6$3
|
|
80532
80619
|
]),
|
|
80533
80620
|
_: 1
|
|
80534
80621
|
}, 8, ["checked", "indeterminate", "onChange"]), [
|
|
@@ -80561,17 +80648,17 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
80561
80648
|
"tree-data": _ctx.list
|
|
80562
80649
|
}, {
|
|
80563
80650
|
title: withCtx(({ title, description }) => [
|
|
80564
|
-
createElementVNode("div", _hoisted_7$
|
|
80651
|
+
createElementVNode("div", _hoisted_7$3, [
|
|
80565
80652
|
createElementVNode("span", null, toDisplayString(title), 1),
|
|
80566
|
-
description ? (openBlock(), createElementBlock("p", _hoisted_8$
|
|
80653
|
+
description ? (openBlock(), createElementBlock("p", _hoisted_8$3, toDisplayString(description), 1)) : createCommentVNode("v-if", true)
|
|
80567
80654
|
])
|
|
80568
80655
|
]),
|
|
80569
80656
|
_: 1
|
|
80570
80657
|
}, 8, ["checkedKeys", "tree-data"])) : createCommentVNode("v-if", true),
|
|
80571
|
-
_ctx.list && !_ctx.list.length ? (openBlock(), createElementBlock("div", _hoisted_9$
|
|
80658
|
+
_ctx.list && !_ctx.list.length ? (openBlock(), createElementBlock("div", _hoisted_9$3, [
|
|
80572
80659
|
createVNode(_component_Empty, { image: _ctx.emptyPic }, {
|
|
80573
80660
|
description: withCtx(() => [
|
|
80574
|
-
createElementVNode("span", _hoisted_10$
|
|
80661
|
+
createElementVNode("span", _hoisted_10$3, toDisplayString(!!_ctx.searchVal ? "\u6682\u65E0\u6570\u636E" : "\u8BF7\u5148\u641C\u7D22\u4EBA\u5458\u5173\u952E\u5B57"), 1)
|
|
80575
80662
|
]),
|
|
80576
80663
|
_: 1
|
|
80577
80664
|
}, 8, ["image"])
|
|
@@ -80580,10 +80667,10 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
80580
80667
|
])
|
|
80581
80668
|
]),
|
|
80582
80669
|
createElementVNode("div", _hoisted_11$2, [
|
|
80583
|
-
|
|
80670
|
+
_ctx.showCount ? (openBlock(), createElementBlock("div", _hoisted_12$2, [
|
|
80584
80671
|
createElementVNode("span", null, "\u5DF2\u9009\u62E9" + toDisplayString(_ctx.selected && _ctx.selected.length || 0) + "\u4EBA", 1),
|
|
80585
|
-
_ctx.limit ? (openBlock(), createElementBlock("span", _hoisted_13$2, "\u6700\u591A\u9009\u62E9" + toDisplayString(_ctx.limit) +
|
|
80586
|
-
]),
|
|
80672
|
+
_ctx.limit ? (openBlock(), createElementBlock("span", _hoisted_13$2, "\u6700\u591A\u9009\u62E9" + toDisplayString(_ctx.limit) + toDisplayString(_ctx.unitStr), 1)) : createCommentVNode("v-if", true)
|
|
80673
|
+
])) : createCommentVNode("v-if", true),
|
|
80587
80674
|
createElementVNode("div", _hoisted_14$2, [
|
|
80588
80675
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.selected, (item) => {
|
|
80589
80676
|
return openBlock(), createElementBlock("div", {
|
|
@@ -80601,7 +80688,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
80601
80688
|
])
|
|
80602
80689
|
]);
|
|
80603
80690
|
}
|
|
80604
|
-
var multipleCmp = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
80691
|
+
var multipleCmp = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$7], ["__file", "multipleCmp.vue"]]);
|
|
80605
80692
|
|
|
80606
80693
|
var radio = {};
|
|
80607
80694
|
|
|
@@ -81040,7 +81127,7 @@ exports.default = _default;
|
|
|
81040
81127
|
|
|
81041
81128
|
var ARadio = /*@__PURE__*/getDefaultExportFromCjs(radio);
|
|
81042
81129
|
|
|
81043
|
-
const _sfc_main$
|
|
81130
|
+
const _sfc_main$8 = defineComponent({
|
|
81044
81131
|
name: "RadioCmp",
|
|
81045
81132
|
components: { ARadio, AInput, ARadioGroup: radio.Group, Empty: default_1$3, SearchOutlined: SearchOutlined$4 },
|
|
81046
81133
|
props: {
|
|
@@ -81072,25 +81159,25 @@ const _sfc_main$7 = defineComponent({
|
|
|
81072
81159
|
};
|
|
81073
81160
|
}
|
|
81074
81161
|
});
|
|
81075
|
-
const _hoisted_1$
|
|
81076
|
-
const _hoisted_2$
|
|
81077
|
-
const _hoisted_3$
|
|
81162
|
+
const _hoisted_1$6 = { class: "radio-selector-panel" };
|
|
81163
|
+
const _hoisted_2$4 = { class: "__search-panel withoutpad" };
|
|
81164
|
+
const _hoisted_3$3 = {
|
|
81078
81165
|
key: 0,
|
|
81079
81166
|
class: "__selector-modal-options __radio-panel"
|
|
81080
81167
|
};
|
|
81081
|
-
const _hoisted_4$
|
|
81168
|
+
const _hoisted_4$3 = {
|
|
81082
81169
|
key: 1,
|
|
81083
81170
|
class: "noData"
|
|
81084
81171
|
};
|
|
81085
|
-
const _hoisted_5$
|
|
81086
|
-
function _sfc_render$
|
|
81172
|
+
const _hoisted_5$3 = { style: { "color": "#9393a3", "font-size": "12px", "font-weight": "400" } };
|
|
81173
|
+
function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
81087
81174
|
const _component_search_outlined = resolveComponent("search-outlined");
|
|
81088
81175
|
const _component_a_input = resolveComponent("a-input");
|
|
81089
81176
|
const _component_ARadio = resolveComponent("ARadio");
|
|
81090
81177
|
const _component_ARadioGroup = resolveComponent("ARadioGroup");
|
|
81091
81178
|
const _component_Empty = resolveComponent("Empty");
|
|
81092
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
81093
|
-
createElementVNode("div", _hoisted_2$
|
|
81179
|
+
return openBlock(), createElementBlock("div", _hoisted_1$6, [
|
|
81180
|
+
createElementVNode("div", _hoisted_2$4, [
|
|
81094
81181
|
createVNode(_component_a_input, {
|
|
81095
81182
|
value: _ctx.searchVal,
|
|
81096
81183
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => _ctx.searchVal = $event),
|
|
@@ -81102,7 +81189,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81102
81189
|
]),
|
|
81103
81190
|
_: 1
|
|
81104
81191
|
}, 8, ["value", "onChange"]),
|
|
81105
|
-
_ctx.list && _ctx.list.length ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
81192
|
+
_ctx.list && _ctx.list.length ? (openBlock(), createElementBlock("div", _hoisted_3$3, [
|
|
81106
81193
|
createVNode(_component_ARadioGroup, {
|
|
81107
81194
|
value: _ctx.selected,
|
|
81108
81195
|
style: { width: "100%" },
|
|
@@ -81125,10 +81212,10 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81125
81212
|
_: 1
|
|
81126
81213
|
}, 8, ["value", "onChange"])
|
|
81127
81214
|
])) : createCommentVNode("v-if", true),
|
|
81128
|
-
_ctx.list && !_ctx.list.length ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
81215
|
+
_ctx.list && !_ctx.list.length ? (openBlock(), createElementBlock("div", _hoisted_4$3, [
|
|
81129
81216
|
createVNode(_component_Empty, { image: _ctx.emptyPic }, {
|
|
81130
81217
|
description: withCtx(() => [
|
|
81131
|
-
createElementVNode("span", _hoisted_5$
|
|
81218
|
+
createElementVNode("span", _hoisted_5$3, toDisplayString(!!_ctx.searchVal ? "\u6682\u65E0\u6570\u636E" : "\u8BF7\u5148\u641C\u7D22\u4EBA\u5458\u5173\u952E\u5B57"), 1)
|
|
81132
81219
|
]),
|
|
81133
81220
|
_: 1
|
|
81134
81221
|
}, 8, ["image"])
|
|
@@ -81136,9 +81223,9 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81136
81223
|
])
|
|
81137
81224
|
]);
|
|
81138
81225
|
}
|
|
81139
|
-
var radioCmp = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
81226
|
+
var radioCmp = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$6], ["__file", "radioCmp.vue"]]);
|
|
81140
81227
|
|
|
81141
|
-
const _sfc_main$
|
|
81228
|
+
const _sfc_main$7 = defineComponent({
|
|
81142
81229
|
name: "VariedCmp",
|
|
81143
81230
|
components: {
|
|
81144
81231
|
CloseCircleFilled: CloseCircleFilled$1,
|
|
@@ -81230,57 +81317,73 @@ const _sfc_main$6 = defineComponent({
|
|
|
81230
81317
|
return data ? data.title : "\u672A\u77E5";
|
|
81231
81318
|
}
|
|
81232
81319
|
};
|
|
81233
|
-
watch(
|
|
81234
|
-
|
|
81235
|
-
|
|
81236
|
-
|
|
81237
|
-
|
|
81238
|
-
|
|
81239
|
-
|
|
81240
|
-
|
|
81320
|
+
watch(
|
|
81321
|
+
() => departmentChecked,
|
|
81322
|
+
() => {
|
|
81323
|
+
let flatMap = props.dataMap;
|
|
81324
|
+
let curlistKeys = props.curlistKeys;
|
|
81325
|
+
let hadselected = new Set(props.selected);
|
|
81326
|
+
let curselect = new Set(departmentChecked.value);
|
|
81327
|
+
for (let key of hadselected) {
|
|
81328
|
+
if (curlistKeys.has(key) && (!curselect.has(key) || curselect.has(key) && curselect.has(flatMap.get(key)["parent"]))) {
|
|
81329
|
+
hadselected.delete(key);
|
|
81330
|
+
}
|
|
81241
81331
|
}
|
|
81242
|
-
|
|
81243
|
-
|
|
81244
|
-
|
|
81245
|
-
|
|
81246
|
-
|
|
81332
|
+
for (let key of curselect) {
|
|
81333
|
+
let obj = flatMap.get(key);
|
|
81334
|
+
if (obj && !curselect.has(obj["parent"])) {
|
|
81335
|
+
hadselected.add(key);
|
|
81336
|
+
}
|
|
81247
81337
|
}
|
|
81248
|
-
|
|
81249
|
-
|
|
81250
|
-
|
|
81251
|
-
|
|
81252
|
-
|
|
81253
|
-
|
|
81254
|
-
|
|
81255
|
-
|
|
81256
|
-
|
|
81257
|
-
|
|
81338
|
+
emit("update:selected", Array.from(hadselected));
|
|
81339
|
+
},
|
|
81340
|
+
{ deep: true }
|
|
81341
|
+
);
|
|
81342
|
+
watch(
|
|
81343
|
+
() => staffsChecked,
|
|
81344
|
+
() => {
|
|
81345
|
+
let set = new Set(props.selected.length ? props.selected : null);
|
|
81346
|
+
for (let [key, value] of Object.entries(staffsChecked.value)) {
|
|
81347
|
+
if (value) {
|
|
81348
|
+
set.add(key);
|
|
81349
|
+
} else {
|
|
81350
|
+
set.has(key) && set.delete(key);
|
|
81351
|
+
}
|
|
81258
81352
|
}
|
|
81259
|
-
|
|
81260
|
-
|
|
81261
|
-
|
|
81262
|
-
|
|
81263
|
-
|
|
81264
|
-
|
|
81265
|
-
|
|
81266
|
-
|
|
81267
|
-
|
|
81268
|
-
|
|
81353
|
+
emit("update:selected", Array.from(set));
|
|
81354
|
+
},
|
|
81355
|
+
{ deep: true }
|
|
81356
|
+
);
|
|
81357
|
+
watch(
|
|
81358
|
+
() => shopChecked,
|
|
81359
|
+
() => {
|
|
81360
|
+
let set = new Set(props.selected.length ? props.selected : null);
|
|
81361
|
+
for (let [key, value] of Object.entries(shopChecked.value)) {
|
|
81362
|
+
if (value) {
|
|
81363
|
+
set.add(key);
|
|
81364
|
+
} else {
|
|
81365
|
+
set.has(key) && set.delete(key);
|
|
81366
|
+
}
|
|
81269
81367
|
}
|
|
81270
|
-
|
|
81271
|
-
|
|
81272
|
-
|
|
81273
|
-
|
|
81274
|
-
|
|
81275
|
-
|
|
81276
|
-
|
|
81277
|
-
|
|
81278
|
-
|
|
81279
|
-
|
|
81368
|
+
emit("update:selected", Array.from(set));
|
|
81369
|
+
},
|
|
81370
|
+
{ deep: true }
|
|
81371
|
+
);
|
|
81372
|
+
watch(
|
|
81373
|
+
() => groupChecked,
|
|
81374
|
+
() => {
|
|
81375
|
+
let set = new Set(props.selected.length ? props.selected : null);
|
|
81376
|
+
for (let [key, value] of Object.entries(groupChecked.value)) {
|
|
81377
|
+
if (value) {
|
|
81378
|
+
set.add(key);
|
|
81379
|
+
} else {
|
|
81380
|
+
set.has(key) && set.delete(key);
|
|
81381
|
+
}
|
|
81280
81382
|
}
|
|
81281
|
-
|
|
81282
|
-
|
|
81283
|
-
|
|
81383
|
+
emit("update:selected", Array.from(set));
|
|
81384
|
+
},
|
|
81385
|
+
{ deep: true }
|
|
81386
|
+
);
|
|
81284
81387
|
onMounted(() => {
|
|
81285
81388
|
let list = props.selected;
|
|
81286
81389
|
list && list.forEach((key) => {
|
|
@@ -81304,25 +81407,25 @@ const _sfc_main$6 = defineComponent({
|
|
|
81304
81407
|
};
|
|
81305
81408
|
}
|
|
81306
81409
|
});
|
|
81307
|
-
const _hoisted_1$
|
|
81308
|
-
const _hoisted_2$
|
|
81309
|
-
const _hoisted_3$
|
|
81310
|
-
const _hoisted_4$
|
|
81311
|
-
const _hoisted_5$
|
|
81312
|
-
const _hoisted_6$
|
|
81410
|
+
const _hoisted_1$5 = { class: "varied-selector-panel" };
|
|
81411
|
+
const _hoisted_2$3 = { class: "__selector-modal-panel-withGroup" };
|
|
81412
|
+
const _hoisted_3$2 = { class: "varied-area-tabs" };
|
|
81413
|
+
const _hoisted_4$2 = ["onClick"];
|
|
81414
|
+
const _hoisted_5$2 = { class: "area-panel" };
|
|
81415
|
+
const _hoisted_6$2 = {
|
|
81313
81416
|
key: 0,
|
|
81314
81417
|
class: "noData"
|
|
81315
81418
|
};
|
|
81316
|
-
const _hoisted_7$
|
|
81317
|
-
const _hoisted_8$
|
|
81419
|
+
const _hoisted_7$2 = { style: { "color": "#9393a3", "font-size": "12px", "font-weight": "400" } };
|
|
81420
|
+
const _hoisted_8$2 = {
|
|
81318
81421
|
key: 0,
|
|
81319
81422
|
class: "__selector-modal-options"
|
|
81320
81423
|
};
|
|
81321
|
-
const _hoisted_9$
|
|
81424
|
+
const _hoisted_9$2 = {
|
|
81322
81425
|
key: 1,
|
|
81323
81426
|
class: "__selector-modal-options"
|
|
81324
81427
|
};
|
|
81325
|
-
const _hoisted_10$
|
|
81428
|
+
const _hoisted_10$2 = { class: "department-option-item" };
|
|
81326
81429
|
const _hoisted_11$1 = {
|
|
81327
81430
|
key: 0,
|
|
81328
81431
|
class: "department-desc"
|
|
@@ -81338,22 +81441,22 @@ const _hoisted_13$1 = {
|
|
|
81338
81441
|
const _hoisted_14$1 = { class: "__selector-chosen-panel" };
|
|
81339
81442
|
const _hoisted_15$1 = { class: "__chosen-panel-list" };
|
|
81340
81443
|
const _hoisted_16$1 = { class: "__tiem-title" };
|
|
81341
|
-
function _sfc_render$
|
|
81444
|
+
function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
81342
81445
|
const _component_search_outlined = resolveComponent("search-outlined");
|
|
81343
81446
|
const _component_a_input = resolveComponent("a-input");
|
|
81344
81447
|
const _component_Empty = resolveComponent("Empty");
|
|
81345
81448
|
const _component_Checkbox = resolveComponent("Checkbox");
|
|
81346
81449
|
const _component_a_tree = resolveComponent("a-tree");
|
|
81347
81450
|
const _component_CloseCircleFilled = resolveComponent("CloseCircleFilled");
|
|
81348
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
81349
|
-
createElementVNode("div", _hoisted_2$
|
|
81350
|
-
createElementVNode("div", _hoisted_3$
|
|
81451
|
+
return openBlock(), createElementBlock("div", _hoisted_1$5, [
|
|
81452
|
+
createElementVNode("div", _hoisted_2$3, [
|
|
81453
|
+
createElementVNode("div", _hoisted_3$2, [
|
|
81351
81454
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.areas, (item) => {
|
|
81352
81455
|
return openBlock(), createElementBlock("div", {
|
|
81353
81456
|
key: item.key,
|
|
81354
81457
|
class: normalizeClass(["area-tabs-item", { active: item.key === _ctx.activeKey }]),
|
|
81355
81458
|
onClick: withModifiers(($event) => _ctx.changeArea(item), ["stop"])
|
|
81356
|
-
}, toDisplayString(item.title), 11, _hoisted_4$
|
|
81459
|
+
}, toDisplayString(item.title), 11, _hoisted_4$2);
|
|
81357
81460
|
}), 128))
|
|
81358
81461
|
]),
|
|
81359
81462
|
createVNode(_component_a_input, {
|
|
@@ -81367,16 +81470,16 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81367
81470
|
]),
|
|
81368
81471
|
_: 1
|
|
81369
81472
|
}, 8, ["value", "placeholder", "onChange"]),
|
|
81370
|
-
createElementVNode("div", _hoisted_5$
|
|
81371
|
-
_ctx.list && !_ctx.list.length ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
81473
|
+
createElementVNode("div", _hoisted_5$2, [
|
|
81474
|
+
_ctx.list && !_ctx.list.length ? (openBlock(), createElementBlock("div", _hoisted_6$2, [
|
|
81372
81475
|
createVNode(_component_Empty, { image: _ctx.emptyPic }, {
|
|
81373
81476
|
description: withCtx(() => [
|
|
81374
|
-
createElementVNode("span", _hoisted_7$
|
|
81477
|
+
createElementVNode("span", _hoisted_7$2, toDisplayString(!!_ctx.searchVal ? "\u6682\u65E0\u6570\u636E" : "\u8BF7\u5148\u641C\u7D22\u4EBA\u5458\u5173\u952E\u5B57"), 1)
|
|
81375
81478
|
]),
|
|
81376
81479
|
_: 1
|
|
81377
81480
|
}, 8, ["image"])
|
|
81378
81481
|
])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
81379
|
-
_ctx.activeKey === 0 ? (openBlock(), createElementBlock("div", _hoisted_8$
|
|
81482
|
+
_ctx.activeKey === 0 ? (openBlock(), createElementBlock("div", _hoisted_8$2, [
|
|
81380
81483
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.list, (item) => {
|
|
81381
81484
|
return openBlock(), createElementBlock("div", {
|
|
81382
81485
|
key: item.key,
|
|
@@ -81394,7 +81497,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81394
81497
|
}, 1032, ["checked", "onUpdate:checked"])
|
|
81395
81498
|
]);
|
|
81396
81499
|
}), 128))
|
|
81397
|
-
])) : _ctx.activeKey === 1 ? (openBlock(), createElementBlock("div", _hoisted_9$
|
|
81500
|
+
])) : _ctx.activeKey === 1 ? (openBlock(), createElementBlock("div", _hoisted_9$2, [
|
|
81398
81501
|
createVNode(_component_a_tree, {
|
|
81399
81502
|
checkedKeys: _ctx.departmentChecked,
|
|
81400
81503
|
"onUpdate:checkedKeys": _cache[1] || (_cache[1] = ($event) => _ctx.departmentChecked = $event),
|
|
@@ -81403,7 +81506,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81403
81506
|
"tree-data": _ctx.list
|
|
81404
81507
|
}, {
|
|
81405
81508
|
title: withCtx(({ title, description }) => [
|
|
81406
|
-
createElementVNode("div", _hoisted_10$
|
|
81509
|
+
createElementVNode("div", _hoisted_10$2, [
|
|
81407
81510
|
createElementVNode("span", null, toDisplayString(title), 1),
|
|
81408
81511
|
description ? (openBlock(), createElementBlock("p", _hoisted_11$1, toDisplayString(description), 1)) : createCommentVNode("v-if", true)
|
|
81409
81512
|
])
|
|
@@ -81467,14 +81570,14 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81467
81570
|
])
|
|
81468
81571
|
]);
|
|
81469
81572
|
}
|
|
81470
|
-
var VariedCmp = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
81573
|
+
var VariedCmp = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$5], ["__file", "variedCmp.vue"]]);
|
|
81471
81574
|
|
|
81472
81575
|
const MODE = {
|
|
81473
81576
|
RADIO: "radio",
|
|
81474
81577
|
MULTIPLE: "multiple",
|
|
81475
81578
|
VARIED: "varied"
|
|
81476
81579
|
};
|
|
81477
|
-
const _sfc_main$
|
|
81580
|
+
const _sfc_main$6 = defineComponent({
|
|
81478
81581
|
name: "BmStaffsSelector",
|
|
81479
81582
|
components: { AModal: default_1$1, multipleCmp, radioCmp, VariedCmp },
|
|
81480
81583
|
props: {
|
|
@@ -81507,6 +81610,18 @@ const _sfc_main$5 = defineComponent({
|
|
|
81507
81610
|
forceStatic: {
|
|
81508
81611
|
type: Boolean,
|
|
81509
81612
|
default: false
|
|
81613
|
+
},
|
|
81614
|
+
immediateFetch: {
|
|
81615
|
+
type: Boolean,
|
|
81616
|
+
default: false
|
|
81617
|
+
},
|
|
81618
|
+
showCount: {
|
|
81619
|
+
type: Boolean,
|
|
81620
|
+
default: true
|
|
81621
|
+
},
|
|
81622
|
+
unitStr: {
|
|
81623
|
+
type: String,
|
|
81624
|
+
default: "\u4EBA"
|
|
81510
81625
|
}
|
|
81511
81626
|
},
|
|
81512
81627
|
emits: ["update:visible", "update:select"],
|
|
@@ -81551,11 +81666,14 @@ const _sfc_main$5 = defineComponent({
|
|
|
81551
81666
|
return map;
|
|
81552
81667
|
},
|
|
81553
81668
|
summitSelect() {
|
|
81554
|
-
if (typeof state.selected
|
|
81669
|
+
if (["string", "number"].includes(typeof state.selected)) {
|
|
81555
81670
|
emit("update:select", [state.dataMap.get(state.selected)]);
|
|
81556
81671
|
} else if (state.selected instanceof Array) {
|
|
81557
|
-
emit(
|
|
81558
|
-
|
|
81672
|
+
emit(
|
|
81673
|
+
"update:select",
|
|
81674
|
+
state.selected.map((item) => state.dataMap.get(item))
|
|
81675
|
+
);
|
|
81676
|
+
} else ;
|
|
81559
81677
|
state.list = [];
|
|
81560
81678
|
methods.modalCancel();
|
|
81561
81679
|
}
|
|
@@ -81575,14 +81693,19 @@ const _sfc_main$5 = defineComponent({
|
|
|
81575
81693
|
return 648;
|
|
81576
81694
|
})
|
|
81577
81695
|
});
|
|
81696
|
+
watch(() => props.visible, (val) => {
|
|
81697
|
+
if (val && props.immediateFetch) {
|
|
81698
|
+
methods.fetch({});
|
|
81699
|
+
}
|
|
81700
|
+
}, { immediate: true });
|
|
81578
81701
|
return {
|
|
81579
81702
|
...methods,
|
|
81580
81703
|
...toRefs(state)
|
|
81581
81704
|
};
|
|
81582
81705
|
}
|
|
81583
81706
|
});
|
|
81584
|
-
const _hoisted_1$
|
|
81585
|
-
function _sfc_render$
|
|
81707
|
+
const _hoisted_1$4 = { class: "selector-content" };
|
|
81708
|
+
function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
81586
81709
|
const _component_radioCmp = resolveComponent("radioCmp");
|
|
81587
81710
|
const _component_VariedCmp = resolveComponent("VariedCmp");
|
|
81588
81711
|
const _component_multipleCmp = resolveComponent("multipleCmp");
|
|
@@ -81599,7 +81722,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81599
81722
|
onOk: _ctx.summitSelect
|
|
81600
81723
|
}, {
|
|
81601
81724
|
default: withCtx(() => [
|
|
81602
|
-
createElementVNode("div", _hoisted_1$
|
|
81725
|
+
createElementVNode("div", _hoisted_1$4, [
|
|
81603
81726
|
_ctx.mode === "radio" ? (openBlock(), createBlock(_component_radioCmp, {
|
|
81604
81727
|
key: 0,
|
|
81605
81728
|
selected: _ctx.selected,
|
|
@@ -81623,18 +81746,20 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81623
81746
|
"curlist-keys": _ctx.curlistKeys,
|
|
81624
81747
|
"is-tree": _ctx.multipTree,
|
|
81625
81748
|
"data-map": _ctx.dataMap,
|
|
81626
|
-
onFetchList: _ctx.fetch
|
|
81627
|
-
|
|
81749
|
+
onFetchList: _ctx.fetch,
|
|
81750
|
+
showCount: _ctx.showCount,
|
|
81751
|
+
unitStr: _ctx.unitStr
|
|
81752
|
+
}, null, 8, ["selected", "limit", "list", "curlist-keys", "is-tree", "data-map", "onFetchList", "showCount", "unitStr"]))
|
|
81628
81753
|
])
|
|
81629
81754
|
]),
|
|
81630
81755
|
_: 1
|
|
81631
81756
|
}, 8, ["title", "visible", "width", "onCancel", "onOk"]);
|
|
81632
81757
|
}
|
|
81633
|
-
var staffsSelector = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
81758
|
+
var staffsSelector = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$4], ["__file", "staffs-selector.vue"]]);
|
|
81634
81759
|
|
|
81635
81760
|
const BmStaffsSelector = withInstall$2(staffsSelector);
|
|
81636
81761
|
|
|
81637
|
-
const _sfc_main$
|
|
81762
|
+
const _sfc_main$5 = {
|
|
81638
81763
|
name: "BmFloatTable",
|
|
81639
81764
|
props: {
|
|
81640
81765
|
config: {
|
|
@@ -81858,7 +81983,9 @@ const _sfc_main$4 = {
|
|
|
81858
81983
|
if (state.floatHandleDomCol)
|
|
81859
81984
|
return;
|
|
81860
81985
|
let id = column.id;
|
|
81861
|
-
state.floatHandleDomCol = floatTable.value.querySelector(
|
|
81986
|
+
state.floatHandleDomCol = floatTable.value.querySelector(
|
|
81987
|
+
`.vxe-table--header-wrapper .vxe-header--row .${id}`
|
|
81988
|
+
);
|
|
81862
81989
|
},
|
|
81863
81990
|
leaveFloatTable() {
|
|
81864
81991
|
let timer = setTimeout(() => {
|
|
@@ -81919,36 +82046,43 @@ const _sfc_main$4 = {
|
|
|
81919
82046
|
let closeSetRow;
|
|
81920
82047
|
let headerWrapper;
|
|
81921
82048
|
if (props.isNeedFloatHandle) {
|
|
81922
|
-
inObserverDom = new IntersectionObserver(
|
|
81923
|
-
entries
|
|
81924
|
-
|
|
81925
|
-
|
|
81926
|
-
|
|
81927
|
-
|
|
81928
|
-
|
|
82049
|
+
inObserverDom = new IntersectionObserver(
|
|
82050
|
+
(entries) => {
|
|
82051
|
+
entries.forEach((item) => {
|
|
82052
|
+
if (item.intersectionRatio > 0.1) {
|
|
82053
|
+
closeSetRow = closeSetRow || item.target.closest(".vxe-header--row");
|
|
82054
|
+
headerWrapper = headerWrapper || item.target.closest(".vxe-table--header-wrapper");
|
|
82055
|
+
if (closeSetRow.clientWidth <= headerWrapper.clientWidth && !isHasOver) {
|
|
82056
|
+
inObserverDom.disconnect();
|
|
82057
|
+
} else {
|
|
82058
|
+
isHasOver = true;
|
|
82059
|
+
}
|
|
82060
|
+
state.isShowFloatHandle = false;
|
|
82061
|
+
state.atVisible = true;
|
|
81929
82062
|
} else {
|
|
81930
|
-
|
|
81931
|
-
|
|
81932
|
-
|
|
81933
|
-
|
|
81934
|
-
|
|
81935
|
-
if (gridOptions.value.data && gridOptions.value.data.length > 0) {
|
|
81936
|
-
state.goAnimationEnd = false;
|
|
81937
|
-
state.isShowFloatHandle = true;
|
|
81938
|
-
state.atVisible = false;
|
|
82063
|
+
if (gridOptions.value.data && gridOptions.value.data.length > 0) {
|
|
82064
|
+
state.goAnimationEnd = false;
|
|
82065
|
+
state.isShowFloatHandle = true;
|
|
82066
|
+
state.atVisible = false;
|
|
82067
|
+
}
|
|
81939
82068
|
}
|
|
82069
|
+
});
|
|
82070
|
+
},
|
|
82071
|
+
{
|
|
82072
|
+
threshold: 0.1
|
|
82073
|
+
}
|
|
82074
|
+
);
|
|
82075
|
+
watch(
|
|
82076
|
+
() => state.floatHandleDomCol,
|
|
82077
|
+
function(col) {
|
|
82078
|
+
if (col) {
|
|
82079
|
+
inObserverDom.observe(col);
|
|
81940
82080
|
}
|
|
81941
|
-
}
|
|
81942
|
-
|
|
81943
|
-
|
|
81944
|
-
});
|
|
81945
|
-
watch(() => state.floatHandleDomCol, function(col) {
|
|
81946
|
-
if (col) {
|
|
81947
|
-
inObserverDom.observe(col);
|
|
82081
|
+
},
|
|
82082
|
+
{
|
|
82083
|
+
immediate: true
|
|
81948
82084
|
}
|
|
81949
|
-
|
|
81950
|
-
immediate: true
|
|
81951
|
-
});
|
|
82085
|
+
);
|
|
81952
82086
|
}
|
|
81953
82087
|
return {
|
|
81954
82088
|
floatTable,
|
|
@@ -81962,11 +82096,11 @@ const _sfc_main$4 = {
|
|
|
81962
82096
|
};
|
|
81963
82097
|
}
|
|
81964
82098
|
};
|
|
81965
|
-
const _hoisted_1$
|
|
82099
|
+
const _hoisted_1$3 = {
|
|
81966
82100
|
key: 0,
|
|
81967
82101
|
class: "floatPager"
|
|
81968
82102
|
};
|
|
81969
|
-
function _sfc_render$
|
|
82103
|
+
function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
81970
82104
|
const _component_a_pagination = resolveComponent("a-pagination");
|
|
81971
82105
|
const _component_a_empty = resolveComponent("a-empty");
|
|
81972
82106
|
const _component_vxe_grid = resolveComponent("vxe-grid");
|
|
@@ -81977,7 +82111,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81977
82111
|
}, [
|
|
81978
82112
|
createVNode(_component_vxe_grid, mergeProps$1({ ref: "xGrid" }, $setup.gridOptions, toHandlers($setup.gridEvents)), createSlots({
|
|
81979
82113
|
pager: withCtx(() => [
|
|
81980
|
-
$setup.pager.total && !$setup.pager.hideOnSinglePage ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
82114
|
+
$setup.pager.total && !$setup.pager.hideOnSinglePage ? (openBlock(), createElementBlock("div", _hoisted_1$3, [
|
|
81981
82115
|
createVNode(_component_a_pagination, mergeProps$1($setup.pager, {
|
|
81982
82116
|
onChange: _ctx.pageNoChange,
|
|
81983
82117
|
onShowSizeChange: _ctx.pageSizeChange
|
|
@@ -82038,20 +82172,20 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
82038
82172
|
])
|
|
82039
82173
|
], 34);
|
|
82040
82174
|
}
|
|
82041
|
-
var FloatTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
82175
|
+
var FloatTable = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$3], ["__file", "float-table.vue"]]);
|
|
82042
82176
|
|
|
82043
82177
|
const BmFloatTable = withInstall$2(FloatTable);
|
|
82044
82178
|
|
|
82045
|
-
const _sfc_main$
|
|
82179
|
+
const _sfc_main$4 = {
|
|
82046
82180
|
name: "BmOverTooltips",
|
|
82047
82181
|
props: {
|
|
82048
82182
|
title: {
|
|
82049
82183
|
type: String,
|
|
82050
|
-
default:
|
|
82184
|
+
default: void 0
|
|
82051
82185
|
},
|
|
82052
82186
|
labelTitle: {
|
|
82053
82187
|
type: String,
|
|
82054
|
-
default:
|
|
82188
|
+
default: void 0
|
|
82055
82189
|
},
|
|
82056
82190
|
line: {
|
|
82057
82191
|
type: Number,
|
|
@@ -82072,16 +82206,19 @@ const _sfc_main$3 = {
|
|
|
82072
82206
|
isShow: false,
|
|
82073
82207
|
openShow: false
|
|
82074
82208
|
});
|
|
82075
|
-
const observer = new IntersectionObserver(
|
|
82076
|
-
entries
|
|
82077
|
-
|
|
82078
|
-
|
|
82079
|
-
|
|
82080
|
-
|
|
82081
|
-
|
|
82082
|
-
|
|
82083
|
-
|
|
82084
|
-
|
|
82209
|
+
const observer = new IntersectionObserver(
|
|
82210
|
+
(entries) => {
|
|
82211
|
+
entries.forEach((item) => {
|
|
82212
|
+
if (item.intersectionRatio > 0.3) {
|
|
82213
|
+
observerDom();
|
|
82214
|
+
observer.disconnect();
|
|
82215
|
+
}
|
|
82216
|
+
});
|
|
82217
|
+
},
|
|
82218
|
+
{
|
|
82219
|
+
threshold: 0.3
|
|
82220
|
+
}
|
|
82221
|
+
);
|
|
82085
82222
|
function observerDom() {
|
|
82086
82223
|
if (props.line === 1) {
|
|
82087
82224
|
if (mySelf.value.scrollWidth > mySelf.value.clientWidth) {
|
|
@@ -82097,16 +82234,20 @@ const _sfc_main$3 = {
|
|
|
82097
82234
|
observer.disconnect();
|
|
82098
82235
|
});
|
|
82099
82236
|
let mySelf = ref();
|
|
82100
|
-
watch(
|
|
82101
|
-
|
|
82102
|
-
|
|
82103
|
-
|
|
82104
|
-
|
|
82105
|
-
mySelf.value && observer.
|
|
82106
|
-
|
|
82107
|
-
|
|
82108
|
-
|
|
82109
|
-
|
|
82237
|
+
watch(
|
|
82238
|
+
() => props.showAlways,
|
|
82239
|
+
function(showAlways) {
|
|
82240
|
+
if (showAlways)
|
|
82241
|
+
state.openShow = showAlways;
|
|
82242
|
+
mySelf.value && observer.unobserve(mySelf.value);
|
|
82243
|
+
nextTick(function() {
|
|
82244
|
+
mySelf.value && observer.observe(mySelf.value);
|
|
82245
|
+
});
|
|
82246
|
+
},
|
|
82247
|
+
{
|
|
82248
|
+
immediate: true
|
|
82249
|
+
}
|
|
82250
|
+
);
|
|
82110
82251
|
const handleVisibleChange = (val) => {
|
|
82111
82252
|
state.isShow = !state.openShow ? false : val;
|
|
82112
82253
|
};
|
|
@@ -82121,7 +82262,7 @@ const _sfc_main$3 = {
|
|
|
82121
82262
|
};
|
|
82122
82263
|
}
|
|
82123
82264
|
};
|
|
82124
|
-
function _sfc_render$
|
|
82265
|
+
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
82125
82266
|
const _component_a_tooltip = resolveComponent("a-tooltip");
|
|
82126
82267
|
return openBlock(), createBlock(_component_a_tooltip, {
|
|
82127
82268
|
visible: _ctx.isShow,
|
|
@@ -82130,6 +82271,9 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
82130
82271
|
"get-popup-container": $setup.getPopupContainer,
|
|
82131
82272
|
onVisibleChange: $setup.handleVisibleChange
|
|
82132
82273
|
}, {
|
|
82274
|
+
title: withCtx(() => [
|
|
82275
|
+
renderSlot(_ctx.$slots, "title")
|
|
82276
|
+
]),
|
|
82133
82277
|
default: withCtx(() => [
|
|
82134
82278
|
createElementVNode("div", {
|
|
82135
82279
|
ref: "mySelf",
|
|
@@ -82138,12 +82282,18 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
82138
82282
|
WebkitLineClamp: $props.line
|
|
82139
82283
|
}),
|
|
82140
82284
|
class: normalizeClass($props.line === 1 ? `bm-over-tooltip` : `bm-over-tooltip-multi`)
|
|
82141
|
-
},
|
|
82285
|
+
}, [
|
|
82286
|
+
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
82287
|
+
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
82288
|
+
createTextVNode(toDisplayString($props.title), 1)
|
|
82289
|
+
])
|
|
82290
|
+
])
|
|
82291
|
+
], 6)
|
|
82142
82292
|
]),
|
|
82143
|
-
_:
|
|
82293
|
+
_: 3
|
|
82144
82294
|
}, 8, ["visible", "title", "get-popup-container", "onVisibleChange"]);
|
|
82145
82295
|
}
|
|
82146
|
-
var OverTooltips = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
82296
|
+
var OverTooltips = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$2], ["__file", "over-tooltips.vue"]]);
|
|
82147
82297
|
|
|
82148
82298
|
const BmOverTooltips = withInstall$2(OverTooltips);
|
|
82149
82299
|
|
|
@@ -82181,7 +82331,7 @@ var icons = {
|
|
|
82181
82331
|
};
|
|
82182
82332
|
|
|
82183
82333
|
const CLOUND_PRE = "/cloudStorage/read";
|
|
82184
|
-
const _sfc_main$
|
|
82334
|
+
const _sfc_main$3 = {
|
|
82185
82335
|
name: "BmUpload",
|
|
82186
82336
|
components: { PlusOutlined: PlusOutlined$1, OverTooltips: BmOverTooltips, UploadOutlined: UploadOutlined$1 },
|
|
82187
82337
|
props: {
|
|
@@ -82272,10 +82422,14 @@ const _sfc_main$2 = {
|
|
|
82272
82422
|
disabled: false,
|
|
82273
82423
|
async customRequest({ file, fileField, data }) {
|
|
82274
82424
|
if (file.size > state.extraConfigs.maxSize * 1024 * 1024) {
|
|
82275
|
-
return methods.uploadError(
|
|
82425
|
+
return methods.uploadError(
|
|
82426
|
+
new Error(`\u4E0D\u80FD\u4E0A\u4F20\u5927\u4E8E${state.extraConfigs.maxSize}M\u7684\u6587\u4EF6`)
|
|
82427
|
+
);
|
|
82276
82428
|
}
|
|
82277
82429
|
if (Object.keys(state.fileList).length >= state.extraConfigs.maxCount) {
|
|
82278
|
-
return methods.uploadError(
|
|
82430
|
+
return methods.uploadError(
|
|
82431
|
+
new Error(`\u4E0D\u80FD\u4E0A\u4F20\u591A\u4E8E${state.extraConfigs.maxCount}\u4E2A\u6587\u4EF6`)
|
|
82432
|
+
);
|
|
82279
82433
|
}
|
|
82280
82434
|
let name = file.name;
|
|
82281
82435
|
let fileFormat = name.split(".").pop();
|
|
@@ -82340,7 +82494,9 @@ const _sfc_main$2 = {
|
|
|
82340
82494
|
emit("error", error);
|
|
82341
82495
|
},
|
|
82342
82496
|
async deleteFile(uid) {
|
|
82343
|
-
const index = state.uploadedList.findIndex(
|
|
82497
|
+
const index = state.uploadedList.findIndex(
|
|
82498
|
+
(ele) => state.extraConfigs.fileDetail ? ele === state.fileList[uid].url : ele.url === state.fileList[uid].url
|
|
82499
|
+
);
|
|
82344
82500
|
emit("deleteFile", state.fileList[uid]);
|
|
82345
82501
|
state.uploadedList.splice(index, 1);
|
|
82346
82502
|
delete state.fileList[uid];
|
|
@@ -82354,7 +82510,9 @@ const _sfc_main$2 = {
|
|
|
82354
82510
|
state.onepViewImageHover[uid] = false;
|
|
82355
82511
|
},
|
|
82356
82512
|
viewOnePicture(item) {
|
|
82357
|
-
if (["img", "image", "png", "jpg", "jpeg"].includes(
|
|
82513
|
+
if (["img", "image", "png", "jpg", "jpeg"].includes(
|
|
82514
|
+
item.type.toLowerCase()
|
|
82515
|
+
)) {
|
|
82358
82516
|
state.previewVisible = true;
|
|
82359
82517
|
state.onepViewImage = item;
|
|
82360
82518
|
return;
|
|
@@ -82406,40 +82564,48 @@ const _sfc_main$2 = {
|
|
|
82406
82564
|
}
|
|
82407
82565
|
}
|
|
82408
82566
|
};
|
|
82409
|
-
watch(
|
|
82410
|
-
|
|
82411
|
-
|
|
82412
|
-
|
|
82413
|
-
|
|
82414
|
-
|
|
82415
|
-
|
|
82416
|
-
|
|
82417
|
-
|
|
82418
|
-
|
|
82419
|
-
|
|
82420
|
-
|
|
82421
|
-
|
|
82422
|
-
|
|
82423
|
-
|
|
82424
|
-
|
|
82567
|
+
watch(
|
|
82568
|
+
() => props.defaultList,
|
|
82569
|
+
function(list) {
|
|
82570
|
+
if (list.length) {
|
|
82571
|
+
list.forEach(function(item) {
|
|
82572
|
+
let uid = utils.getuid();
|
|
82573
|
+
if (!item.url.includes("http") && !item.url.includes(CLOUND_PRE))
|
|
82574
|
+
item.url = props.cloudReadUrl + item.url;
|
|
82575
|
+
state.fileList[uid] = {
|
|
82576
|
+
uid,
|
|
82577
|
+
name: item.name,
|
|
82578
|
+
url: item.url,
|
|
82579
|
+
type: item.type || "png",
|
|
82580
|
+
progress: 100,
|
|
82581
|
+
isDoneDeloy: true
|
|
82582
|
+
};
|
|
82583
|
+
state.uploadedList.push(item);
|
|
82584
|
+
});
|
|
82585
|
+
}
|
|
82586
|
+
},
|
|
82587
|
+
{
|
|
82588
|
+
immediate: true
|
|
82425
82589
|
}
|
|
82426
|
-
|
|
82427
|
-
|
|
82428
|
-
|
|
82429
|
-
|
|
82430
|
-
|
|
82431
|
-
|
|
82432
|
-
|
|
82433
|
-
|
|
82434
|
-
|
|
82435
|
-
|
|
82436
|
-
|
|
82437
|
-
|
|
82438
|
-
|
|
82439
|
-
|
|
82440
|
-
|
|
82441
|
-
|
|
82442
|
-
|
|
82590
|
+
);
|
|
82591
|
+
watch(
|
|
82592
|
+
[() => props.uploadProps, () => props.extraProps],
|
|
82593
|
+
function([config, extra]) {
|
|
82594
|
+
state.uploadConfigs = {
|
|
82595
|
+
...state.uploadConfigs,
|
|
82596
|
+
...config,
|
|
82597
|
+
showUploadList: false
|
|
82598
|
+
};
|
|
82599
|
+
state.extraConfigs = {
|
|
82600
|
+
...state.extraConfigs,
|
|
82601
|
+
...extra
|
|
82602
|
+
};
|
|
82603
|
+
},
|
|
82604
|
+
{
|
|
82605
|
+
immediate: true,
|
|
82606
|
+
deep: true
|
|
82607
|
+
}
|
|
82608
|
+
);
|
|
82443
82609
|
const uploadDisabled = computed(() => {
|
|
82444
82610
|
if (Object.keys(state.fileList).length >= state.extraConfigs.maxCount) {
|
|
82445
82611
|
return true;
|
|
@@ -82457,19 +82623,19 @@ const _sfc_main$2 = {
|
|
|
82457
82623
|
};
|
|
82458
82624
|
}
|
|
82459
82625
|
};
|
|
82460
|
-
const _hoisted_1$
|
|
82626
|
+
const _hoisted_1$2 = {
|
|
82461
82627
|
key: 0,
|
|
82462
82628
|
class: "bm-upload__picture-progress"
|
|
82463
82629
|
};
|
|
82464
|
-
const _hoisted_2$
|
|
82465
|
-
const _hoisted_3 = ["onMouseenter", "onMouseleave"];
|
|
82466
|
-
const _hoisted_4 = ["src"];
|
|
82467
|
-
const _hoisted_5 = ["src"];
|
|
82468
|
-
const _hoisted_6 = ["src"];
|
|
82469
|
-
const _hoisted_7 = ["src"];
|
|
82470
|
-
const _hoisted_8 = ["src"];
|
|
82471
|
-
const _hoisted_9 = ["src"];
|
|
82472
|
-
const _hoisted_10 = {
|
|
82630
|
+
const _hoisted_2$2 = /* @__PURE__ */ createElementVNode("div", { class: "bm-upload__picture-progress__text" }, "\u56FE\u7247\u4E0A\u4F20\u4E2D", -1);
|
|
82631
|
+
const _hoisted_3$1 = ["onMouseenter", "onMouseleave"];
|
|
82632
|
+
const _hoisted_4$1 = ["src"];
|
|
82633
|
+
const _hoisted_5$1 = ["src"];
|
|
82634
|
+
const _hoisted_6$1 = ["src"];
|
|
82635
|
+
const _hoisted_7$1 = ["src"];
|
|
82636
|
+
const _hoisted_8$1 = ["src"];
|
|
82637
|
+
const _hoisted_9$1 = ["src"];
|
|
82638
|
+
const _hoisted_10$1 = {
|
|
82473
82639
|
key: 6,
|
|
82474
82640
|
class: "bm-upload__picture-result__cover"
|
|
82475
82641
|
};
|
|
@@ -82517,7 +82683,7 @@ const _hoisted_31 = {
|
|
|
82517
82683
|
const _hoisted_32 = { style: { "padding-top": "20px" } };
|
|
82518
82684
|
const _hoisted_33 = ["src"];
|
|
82519
82685
|
const _hoisted_34 = ["title", "src"];
|
|
82520
|
-
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
82686
|
+
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
82521
82687
|
const _component_a_progress = resolveComponent("a-progress");
|
|
82522
82688
|
const _component_PlusOutlined = resolveComponent("PlusOutlined");
|
|
82523
82689
|
const _component_UploadOutlined = resolveComponent("UploadOutlined");
|
|
@@ -82536,8 +82702,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
82536
82702
|
class: normalizeClass(["bm-upload__picture", { "bm-upload__picture--error": item.status === "error" }])
|
|
82537
82703
|
}, [
|
|
82538
82704
|
createCommentVNode(" \u4E0A\u4F20\u4E2D "),
|
|
82539
|
-
item.progress < 100 && item.status !== "error" ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
82540
|
-
_hoisted_2$
|
|
82705
|
+
item.progress < 100 && item.status !== "error" ? (openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
82706
|
+
_hoisted_2$2,
|
|
82541
82707
|
createVNode(_component_a_progress, {
|
|
82542
82708
|
type: "line",
|
|
82543
82709
|
"stroke-width": 2,
|
|
@@ -82560,33 +82726,33 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
82560
82726
|
class: "bm-upload__picture-result__image",
|
|
82561
82727
|
src: $setup.icons.pdf,
|
|
82562
82728
|
alt: "avatar"
|
|
82563
|
-
}, null, 8, _hoisted_4)) : item.type === "xlsx" ? (openBlock(), createElementBlock("img", {
|
|
82729
|
+
}, null, 8, _hoisted_4$1)) : item.type === "xlsx" ? (openBlock(), createElementBlock("img", {
|
|
82564
82730
|
key: 1,
|
|
82565
82731
|
class: "bm-upload__picture-result__image",
|
|
82566
82732
|
src: $setup.icons.excel,
|
|
82567
82733
|
alt: "avatar"
|
|
82568
|
-
}, null, 8, _hoisted_5)) : item.type === "ppt" ? (openBlock(), createElementBlock("img", {
|
|
82734
|
+
}, null, 8, _hoisted_5$1)) : item.type === "ppt" ? (openBlock(), createElementBlock("img", {
|
|
82569
82735
|
key: 2,
|
|
82570
82736
|
class: "bm-upload__picture-result__image",
|
|
82571
82737
|
src: $setup.icons.ppt,
|
|
82572
82738
|
alt: "avatar"
|
|
82573
|
-
}, null, 8, _hoisted_6)) : ["docx", "doc"].includes(item.type) ? (openBlock(), createElementBlock("img", {
|
|
82739
|
+
}, null, 8, _hoisted_6$1)) : ["docx", "doc"].includes(item.type) ? (openBlock(), createElementBlock("img", {
|
|
82574
82740
|
key: 3,
|
|
82575
82741
|
class: "bm-upload__picture-result__image",
|
|
82576
82742
|
src: $setup.icons.doc,
|
|
82577
82743
|
alt: "avatar"
|
|
82578
|
-
}, null, 8, _hoisted_7)) : ["img", "image", "png", "jpg", "jpeg"].includes(item.type) ? (openBlock(), createElementBlock("img", {
|
|
82744
|
+
}, null, 8, _hoisted_7$1)) : ["img", "image", "png", "jpg", "jpeg"].includes(item.type) ? (openBlock(), createElementBlock("img", {
|
|
82579
82745
|
key: 4,
|
|
82580
82746
|
class: "bm-upload__picture-result__image",
|
|
82581
82747
|
src: item.url,
|
|
82582
82748
|
alt: "avatar"
|
|
82583
|
-
}, null, 8, _hoisted_8)) : (openBlock(), createElementBlock("img", {
|
|
82749
|
+
}, null, 8, _hoisted_8$1)) : (openBlock(), createElementBlock("img", {
|
|
82584
82750
|
key: 5,
|
|
82585
82751
|
class: "bm-upload__picture-result__image",
|
|
82586
82752
|
src: $setup.icons.others,
|
|
82587
82753
|
alt: "avatar"
|
|
82588
|
-
}, null, 8, _hoisted_9)),
|
|
82589
|
-
_ctx.onepViewImageHover[item.uid] ? (openBlock(), createElementBlock("div", _hoisted_10, [
|
|
82754
|
+
}, null, 8, _hoisted_9$1)),
|
|
82755
|
+
_ctx.onepViewImageHover[item.uid] ? (openBlock(), createElementBlock("div", _hoisted_10$1, [
|
|
82590
82756
|
!_ctx.extraConfigs.canNotViewAccept?.includes(item?.type) ? (openBlock(), createElementBlock("div", {
|
|
82591
82757
|
key: 0,
|
|
82592
82758
|
class: "bm-upload__picture-result__icon bm-upload__picture-result__icon--view",
|
|
@@ -82598,7 +82764,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
82598
82764
|
onClick: ($event) => _ctx.deleteFile(item.uid)
|
|
82599
82765
|
}, null, 8, _hoisted_12)) : createCommentVNode("v-if", true)
|
|
82600
82766
|
])) : createCommentVNode("v-if", true)
|
|
82601
|
-
], 40, _hoisted_3)) : renderSlot(_ctx.$slots, "file", {
|
|
82767
|
+
], 40, _hoisted_3$1)) : renderSlot(_ctx.$slots, "file", {
|
|
82602
82768
|
key: 1,
|
|
82603
82769
|
file: item
|
|
82604
82770
|
})
|
|
@@ -82719,7 +82885,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
82719
82885
|
}, 8, ["visible", "width", "onCancel"])
|
|
82720
82886
|
], 2);
|
|
82721
82887
|
}
|
|
82722
|
-
var Upload = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
82888
|
+
var Upload = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$1], ["__file", "upload.vue"]]);
|
|
82723
82889
|
|
|
82724
82890
|
const BmUpload = withInstall$2(Upload);
|
|
82725
82891
|
|
|
@@ -82756,22 +82922,22 @@ function isPlainObject(o) {
|
|
|
82756
82922
|
return true;
|
|
82757
82923
|
}
|
|
82758
82924
|
|
|
82759
|
-
function t(){return t=Object.assign
|
|
82925
|
+
function t(){return t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);}return e},t.apply(this,arguments)}function r(e,t){if(null==e)return {};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)t.indexOf(r=o[n])>=0||(i[r]=e[r]);return i}const n={silent:!1,logLevel:"warn"},i=["validator"],o=Object.prototype,a=o.toString,s=o.hasOwnProperty,u=/^\s*function (\w+)/;function l(e){var t;const r=null!==(t=null==e?void 0:e.type)&&void 0!==t?t:e;if(r){const e=r.toString().match(u);return e?e[1]:""}return ""}const c=isPlainObject,f=e=>e;let d=f;if("production"!==process.env.NODE_ENV){const e="undefined"!=typeof console;d=e?function(e,t=n.logLevel){!1===n.silent&&console[t](`[VueTypes warn]: ${e}`);}:f;}const p=(e,t)=>s.call(e,t),y=Number.isInteger||function(e){return "number"==typeof e&&isFinite(e)&&Math.floor(e)===e},v=Array.isArray||function(e){return "[object Array]"===a.call(e)},h=e=>"[object Function]"===a.call(e),b=e=>c(e)&&p(e,"_vueTypes_name"),g=e=>c(e)&&(p(e,"type")||["_vueTypes_name","validator","default","required"].some(t=>p(e,t)));function O(e,t){return Object.defineProperty(e.bind(t),"__original",{value:e})}function m(e,t,r=!1){let n,i=!0,o="";n=c(e)?e:{type:e};const a=b(n)?n._vueTypes_name+" - ":"";if(g(n)&&null!==n.type){if(void 0===n.type||!0===n.type)return i;if(!n.required&&void 0===t)return i;v(n.type)?(i=n.type.some(e=>!0===m(e,t,!0)),o=n.type.map(e=>l(e)).join(" or ")):(o=l(n),i="Array"===o?v(t):"Object"===o?c(t):"String"===o||"Number"===o||"Boolean"===o||"Function"===o?function(e){if(null==e)return "";const t=e.constructor.toString().match(u);return t?t[1]:""}(t)===o:t instanceof n.type);}if(!i){const e=`${a}value "${t}" should be of type "${o}"`;return !1===r?(d(e),!1):e}if(p(n,"validator")&&h(n.validator)){const e=d,o=[];if(d=e=>{o.push(e);},i=n.validator(t),d=e,!i){const e=(o.length>1?"* ":"")+o.join("\n* ");return o.length=0,!1===r?(d(e),i):e}}return i}function j(e,t){const r=Object.defineProperties(t,{_vueTypes_name:{value:e,writable:!0},isRequired:{get(){return this.required=!0,this}},def:{value(e){return void 0===e?(p(this,"default")&&delete this.default,this):h(e)||!0===m(this,e,!0)?(this.default=v(e)?()=>[...e]:c(e)?()=>Object.assign({},e):e,this):(d(`${this._vueTypes_name} - invalid default value: "${e}"`),this)}}}),{validator:n}=r;return h(n)&&(r.validator=O(n,r)),r}function _(e,t){const r=j(e,t);return Object.defineProperty(r,"validate",{value(e){return h(this.validator)&&d(`${this._vueTypes_name} - calling .validate() will overwrite the current custom validator function. Validator info:\n${JSON.stringify(this)}`),this.validator=O(e,this),this}})}function T(e,t,n){const o=function(e){const t={};return Object.getOwnPropertyNames(e).forEach(r=>{t[r]=Object.getOwnPropertyDescriptor(e,r);}),Object.defineProperties({},t)}(t);if(o._vueTypes_name=e,!c(n))return o;const{validator:a}=n,s=r(n,i);if(h(a)){let{validator:e}=o;e&&(e=null!==(l=(u=e).__original)&&void 0!==l?l:u),o.validator=O(e?function(t){return e.call(this,t)&&a.call(this,t)}:a,o);}var u,l;return Object.assign(o,s)}function $(e){return e.replace(/^(?!\s*$)/gm," ")}const w=()=>_("any",{}),P=()=>_("function",{type:Function}),x=()=>_("boolean",{type:Boolean}),E=()=>_("string",{type:String}),N=()=>_("number",{type:Number}),q=()=>_("array",{type:Array}),A=()=>_("object",{type:Object}),V=()=>j("integer",{type:Number,validator:e=>y(e)}),S=()=>j("symbol",{validator:e=>"symbol"==typeof e});function D(e,t="custom validation failed"){if("function"!=typeof e)throw new TypeError("[VueTypes error]: You must provide a function as argument");return j(e.name||"<<anonymous function>>",{type:null,validator(r){const n=e(r);return n||d(`${this._vueTypes_name} - ${t}`),n}})}function L(e){if(!v(e))throw new TypeError("[VueTypes error]: You must provide an array as argument.");const t=`oneOf - value should be one of "${e.join('", "')}".`,r=e.reduce((e,t)=>{if(null!=t){const r=t.constructor;-1===e.indexOf(r)&&e.push(r);}return e},[]);return j("oneOf",{type:r.length>0?r:void 0,validator(r){const n=-1!==e.indexOf(r);return n||d(t),n}})}function F(e){if(!v(e))throw new TypeError("[VueTypes error]: You must provide an array as argument");let t=!1,r=[];for(let n=0;n<e.length;n+=1){const i=e[n];if(g(i)){if(b(i)&&"oneOf"===i._vueTypes_name&&i.type){r=r.concat(i.type);continue}if(h(i.validator)&&(t=!0),!0===i.type||!i.type){d('oneOfType - invalid usage of "true" or "null" as types.');continue}r=r.concat(i.type);}else r.push(i);}r=r.filter((e,t)=>r.indexOf(e)===t);const n=r.length>0?r:null;return j("oneOfType",t?{type:n,validator(t){const r=[],n=e.some(e=>{const n=m(b(e)&&"oneOf"===e._vueTypes_name?e.type||null:e,t,!0);return "string"==typeof n&&r.push(n),!0===n});return n||d(`oneOfType - provided value does not match any of the ${r.length} passed-in validators:\n${$(r.join("\n"))}`),n}}:{type:n})}function Y(e){return j("arrayOf",{type:Array,validator(t){let r="";const n=t.every(t=>(r=m(e,t,!0),!0===r));return n||d(`arrayOf - value validation error:\n${$(r)}`),n}})}function B(e){return j("instanceOf",{type:e})}function I(e){return j("objectOf",{type:Object,validator(t){let r="";const n=Object.keys(t).every(n=>(r=m(e,t[n],!0),!0===r));return n||d(`objectOf - value validation error:\n${$(r)}`),n}})}function J(e){const t=Object.keys(e),r=t.filter(t=>{var r;return !(null===(r=e[t])||void 0===r||!r.required)}),n=j("shape",{type:Object,validator(n){if(!c(n))return !1;const i=Object.keys(n);if(r.length>0&&r.some(e=>-1===i.indexOf(e))){const e=r.filter(e=>-1===i.indexOf(e));return d(1===e.length?`shape - required property "${e[0]}" is not defined.`:`shape - required properties "${e.join('", "')}" are not defined.`),!1}return i.every(r=>{if(-1===t.indexOf(r))return !0===this._vueTypes_isLoose||(d(`shape - shape definition does not include a "${r}" property. Allowed keys: "${t.join('", "')}".`),!1);const i=m(e[r],n[r],!0);return "string"==typeof i&&d(`shape - "${r}" property validation error:\n ${$(i)}`),!0===i})}});return Object.defineProperty(n,"_vueTypes_isLoose",{writable:!0,value:!1}),Object.defineProperty(n,"loose",{get(){return this._vueTypes_isLoose=!0,this}}),n}const M=["name","validate","getter"],R=/*#__PURE__*/(()=>{var e;return (e=class{static get any(){return w()}static get func(){return P().def(this.defaults.func)}static get bool(){return x().def(this.defaults.bool)}static get string(){return E().def(this.defaults.string)}static get number(){return N().def(this.defaults.number)}static get array(){return q().def(this.defaults.array)}static get object(){return A().def(this.defaults.object)}static get integer(){return V().def(this.defaults.integer)}static get symbol(){return S()}static get nullable(){return {type:null}}static extend(e){if(v(e))return e.forEach(e=>this.extend(e)),this;const{name:t,validate:n=!1,getter:i=!1}=e,o=r(e,M);if(p(this,t))throw new TypeError(`[VueTypes error]: Type "${t}" already defined`);const{type:a}=o;if(b(a))return delete o.type,Object.defineProperty(this,t,i?{get:()=>T(t,a,o)}:{value(...e){const r=T(t,a,o);return r.validator&&(r.validator=r.validator.bind(r,...e)),r}});let s;return s=i?{get(){const e=Object.assign({},o);return n?_(t,e):j(t,e)},enumerable:!0}:{value(...e){const r=Object.assign({},o);let i;return i=n?_(t,r):j(t,r),r.validator&&(i.validator=r.validator.bind(i,...e)),i},enumerable:!0},Object.defineProperty(this,t,s)}}).defaults={},e.sensibleDefaults=void 0,e.config=n,e.custom=D,e.oneOf=L,e.instanceOf=B,e.oneOfType=F,e.arrayOf=Y,e.objectOf=I,e.shape=J,e.utils={validate:(e,t)=>!0===m(t,e,!0),toType:(e,t,r=!1)=>r?_(e,t):j(e,t)},e})();function z(e={func:()=>{},bool:!0,string:"",number:0,array:()=>[],object:()=>({}),integer:0}){var r;return (r=class extends R{static get sensibleDefaults(){return t({},this.defaults)}static set sensibleDefaults(r){this.defaults=!1!==r?t({},!0!==r?r:e):{};}}).defaults=t({},e),r}class C extends(z()){}
|
|
82760
82926
|
|
|
82761
82927
|
const timelineProps = () => ({
|
|
82762
|
-
mode:
|
|
82763
|
-
labelWidth:
|
|
82928
|
+
mode: C.oneOf(['left', 'right']).def('left'),
|
|
82929
|
+
labelWidth: C.string.def(''),
|
|
82764
82930
|
});
|
|
82765
82931
|
const timelineItemProps = () => ({
|
|
82766
|
-
color:
|
|
82767
|
-
dot:
|
|
82768
|
-
label:
|
|
82932
|
+
color: C.oneOf(['blue', 'red', 'green', 'gray']).def('blue'),
|
|
82933
|
+
dot: C.any,
|
|
82934
|
+
label: C.any,
|
|
82769
82935
|
});
|
|
82770
82936
|
|
|
82771
82937
|
const __default__$1 = {
|
|
82772
82938
|
name: "BmTimeline"
|
|
82773
82939
|
};
|
|
82774
|
-
const _sfc_main$
|
|
82940
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
82775
82941
|
...__default__$1,
|
|
82776
82942
|
props: timelineProps(),
|
|
82777
82943
|
setup(__props) {
|
|
@@ -82795,14 +82961,14 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
82795
82961
|
};
|
|
82796
82962
|
}
|
|
82797
82963
|
});
|
|
82798
|
-
var Timeline = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
82964
|
+
var Timeline = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__file", "timeline.vue"]]);
|
|
82799
82965
|
|
|
82800
|
-
const _hoisted_1 = { class: "bm-timeline-item-main" };
|
|
82801
|
-
const _hoisted_2 = { class: "bm-timeline-item-content" };
|
|
82966
|
+
const _hoisted_1$1 = { class: "bm-timeline-item-main" };
|
|
82967
|
+
const _hoisted_2$1 = { class: "bm-timeline-item-content" };
|
|
82802
82968
|
const __default__ = {
|
|
82803
82969
|
name: "BmTimelineItem"
|
|
82804
82970
|
};
|
|
82805
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
82971
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
82806
82972
|
...__default__,
|
|
82807
82973
|
props: timelineItemProps(),
|
|
82808
82974
|
setup(__props) {
|
|
@@ -82852,7 +83018,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
82852
83018
|
createTextVNode(toDisplayString(props.dot), 1)
|
|
82853
83019
|
])
|
|
82854
83020
|
], 6),
|
|
82855
|
-
createElementVNode("div", _hoisted_1, [
|
|
83021
|
+
createElementVNode("div", _hoisted_1$1, [
|
|
82856
83022
|
unref(labelWidth) ? (openBlock(), createElementBlock("div", {
|
|
82857
83023
|
key: 0,
|
|
82858
83024
|
class: "bm-timeline-item-label",
|
|
@@ -82862,7 +83028,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
82862
83028
|
createTextVNode(toDisplayString(props.label), 1)
|
|
82863
83029
|
])
|
|
82864
83030
|
], 4)) : createCommentVNode("v-if", true),
|
|
82865
|
-
createElementVNode("div", _hoisted_2, [
|
|
83031
|
+
createElementVNode("div", _hoisted_2$1, [
|
|
82866
83032
|
renderSlot(_ctx.$slots, "default")
|
|
82867
83033
|
])
|
|
82868
83034
|
])
|
|
@@ -82870,11 +83036,165 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
82870
83036
|
};
|
|
82871
83037
|
}
|
|
82872
83038
|
});
|
|
82873
|
-
var TimelineItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "timeline-item.vue"]]);
|
|
83039
|
+
var TimelineItem = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__file", "timeline-item.vue"]]);
|
|
82874
83040
|
|
|
82875
83041
|
const BmTimeline = withInstall$2(Timeline);
|
|
82876
83042
|
const BmTimelineItem = withInstall$2(TimelineItem);
|
|
82877
83043
|
|
|
83044
|
+
const _sfc_main = defineComponent({
|
|
83045
|
+
components: { Popover: default_1, CloseCircleFilled: CloseCircleFilled$1, Button: Button$2 },
|
|
83046
|
+
props: {
|
|
83047
|
+
list: {
|
|
83048
|
+
type: Array,
|
|
83049
|
+
default: () => []
|
|
83050
|
+
},
|
|
83051
|
+
showEmpty: {
|
|
83052
|
+
type: Boolean,
|
|
83053
|
+
default: false
|
|
83054
|
+
},
|
|
83055
|
+
showEmptyBtn: {
|
|
83056
|
+
type: Boolean,
|
|
83057
|
+
default: true
|
|
83058
|
+
},
|
|
83059
|
+
btnText: {
|
|
83060
|
+
type: String,
|
|
83061
|
+
default: "\u6DFB\u52A0"
|
|
83062
|
+
},
|
|
83063
|
+
placement: {
|
|
83064
|
+
type: String,
|
|
83065
|
+
default: "bottom"
|
|
83066
|
+
}
|
|
83067
|
+
},
|
|
83068
|
+
emits: ["clear", "update:list", "addClick"],
|
|
83069
|
+
setup(props, { emit }) {
|
|
83070
|
+
const containId = `bm-tags-display${Date.now()}`;
|
|
83071
|
+
function getPopupContainer() {
|
|
83072
|
+
return document.querySelector(`#${containId}`);
|
|
83073
|
+
}
|
|
83074
|
+
function clear() {
|
|
83075
|
+
emit("update:list", []);
|
|
83076
|
+
emit("clear");
|
|
83077
|
+
if (!props.showEmptyBtn && !props.showEmpty) {
|
|
83078
|
+
console.error(
|
|
83079
|
+
"\u4E0D\u5E94\u5C06showEmptyBtn\u4E0EshowEmpty\u90FD\u7F6E\u4E3Afalse,\u8282\u70B9\u5E76\u672A\u5B9E\u9645\u9500\u6BC1"
|
|
83080
|
+
);
|
|
83081
|
+
}
|
|
83082
|
+
}
|
|
83083
|
+
function toAddTags() {
|
|
83084
|
+
emit("addClick");
|
|
83085
|
+
}
|
|
83086
|
+
return {
|
|
83087
|
+
containId,
|
|
83088
|
+
clear,
|
|
83089
|
+
toAddTags,
|
|
83090
|
+
getPopupContainer
|
|
83091
|
+
};
|
|
83092
|
+
}
|
|
83093
|
+
});
|
|
83094
|
+
const _hoisted_1 = { class: "bm-tags-display" };
|
|
83095
|
+
const _hoisted_2 = ["id"];
|
|
83096
|
+
const _hoisted_3 = { class: "pop-seleted" };
|
|
83097
|
+
const _hoisted_4 = { class: "pop-seleted-title" };
|
|
83098
|
+
const _hoisted_5 = /* @__PURE__ */ createTextVNode(" \u5DF2\u9009\u62E9");
|
|
83099
|
+
const _hoisted_6 = /* @__PURE__ */ createTextVNode("\u9879 ");
|
|
83100
|
+
const _hoisted_7 = { class: "select-input-wrapper" };
|
|
83101
|
+
const _hoisted_8 = { key: 1 };
|
|
83102
|
+
const _hoisted_9 = { key: 2 };
|
|
83103
|
+
const _hoisted_10 = /* @__PURE__ */ createElementVNode("div", null, null, -1);
|
|
83104
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
83105
|
+
const _component_a_tag = resolveComponent("a-tag");
|
|
83106
|
+
const _component_CloseCircleFilled = resolveComponent("CloseCircleFilled");
|
|
83107
|
+
const _component_Popover = resolveComponent("Popover");
|
|
83108
|
+
const _component_Button = resolveComponent("Button");
|
|
83109
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
83110
|
+
_ctx.list && _ctx.list.length ? (openBlock(), createElementBlock("div", {
|
|
83111
|
+
key: 0,
|
|
83112
|
+
id: _ctx.containId,
|
|
83113
|
+
class: "bm-tags-display-wrapper"
|
|
83114
|
+
}, [
|
|
83115
|
+
createVNode(_component_Popover, {
|
|
83116
|
+
"get-popup-container": _ctx.getPopupContainer,
|
|
83117
|
+
placement: _ctx.placement,
|
|
83118
|
+
"overlay-class-name": "__list-filter-popover"
|
|
83119
|
+
}, {
|
|
83120
|
+
title: withCtx(() => [
|
|
83121
|
+
createElementVNode("div", _hoisted_3, [
|
|
83122
|
+
createElementVNode("div", _hoisted_4, [
|
|
83123
|
+
_hoisted_5,
|
|
83124
|
+
createElementVNode("span", null, toDisplayString(_ctx.list.length), 1),
|
|
83125
|
+
_hoisted_6
|
|
83126
|
+
])
|
|
83127
|
+
])
|
|
83128
|
+
]),
|
|
83129
|
+
content: withCtx(() => [
|
|
83130
|
+
createElementVNode("div", {
|
|
83131
|
+
class: "pop-seleted-list",
|
|
83132
|
+
onWheel: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
83133
|
+
}, ["stop"]))
|
|
83134
|
+
}, [
|
|
83135
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.list, (item) => {
|
|
83136
|
+
return openBlock(), createBlock(_component_a_tag, {
|
|
83137
|
+
key: item.key,
|
|
83138
|
+
class: "pop-seleted-item"
|
|
83139
|
+
}, {
|
|
83140
|
+
default: withCtx(() => [
|
|
83141
|
+
createTextVNode(toDisplayString(item.title), 1)
|
|
83142
|
+
]),
|
|
83143
|
+
_: 2
|
|
83144
|
+
}, 1024);
|
|
83145
|
+
}), 128))
|
|
83146
|
+
], 32)
|
|
83147
|
+
]),
|
|
83148
|
+
default: withCtx(() => [
|
|
83149
|
+
createElementVNode("div", _hoisted_7, [
|
|
83150
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.list, (item) => {
|
|
83151
|
+
return openBlock(), createBlock(_component_a_tag, {
|
|
83152
|
+
key: item.key
|
|
83153
|
+
}, {
|
|
83154
|
+
default: withCtx(() => [
|
|
83155
|
+
createTextVNode(toDisplayString(item.title), 1)
|
|
83156
|
+
]),
|
|
83157
|
+
_: 2
|
|
83158
|
+
}, 1024);
|
|
83159
|
+
}), 128)),
|
|
83160
|
+
createElementVNode("div", {
|
|
83161
|
+
class: "list-clear",
|
|
83162
|
+
onClick: _cache[1] || (_cache[1] = withModifiers((...args) => _ctx.clear && _ctx.clear(...args), ["stop"])),
|
|
83163
|
+
onMouseenter: _cache[2] || (_cache[2] = withModifiers(() => {
|
|
83164
|
+
}, ["stop"])),
|
|
83165
|
+
onMouseover: _cache[3] || (_cache[3] = withModifiers(() => {
|
|
83166
|
+
}, ["stop"]))
|
|
83167
|
+
}, [
|
|
83168
|
+
createVNode(_component_CloseCircleFilled)
|
|
83169
|
+
], 32)
|
|
83170
|
+
])
|
|
83171
|
+
]),
|
|
83172
|
+
_: 1
|
|
83173
|
+
}, 8, ["get-popup-container", "placement"])
|
|
83174
|
+
], 8, _hoisted_2)) : createCommentVNode("v-if", true),
|
|
83175
|
+
_ctx.showEmptyBtn && !_ctx.list.length ? (openBlock(), createElementBlock("div", _hoisted_8, [
|
|
83176
|
+
createVNode(_component_Button, {
|
|
83177
|
+
onClick: withModifiers(_ctx.toAddTags, ["stop"])
|
|
83178
|
+
}, {
|
|
83179
|
+
default: withCtx(() => [
|
|
83180
|
+
createTextVNode(toDisplayString(_ctx.btnText), 1)
|
|
83181
|
+
]),
|
|
83182
|
+
_: 1
|
|
83183
|
+
}, 8, ["onClick"])
|
|
83184
|
+
])) : createCommentVNode("v-if", true),
|
|
83185
|
+
_ctx.showEmpty && !_ctx.list.length ? (openBlock(), createElementBlock("div", _hoisted_9, [
|
|
83186
|
+
createElementVNode("div", {
|
|
83187
|
+
class: "selector-empty-input",
|
|
83188
|
+
onClick: _cache[4] || (_cache[4] = withModifiers((...args) => _ctx.toAddTags && _ctx.toAddTags(...args), ["stop"]))
|
|
83189
|
+
}, "\xA0")
|
|
83190
|
+
])) : createCommentVNode("v-if", true),
|
|
83191
|
+
_hoisted_10
|
|
83192
|
+
]);
|
|
83193
|
+
}
|
|
83194
|
+
var InputTagsDisplay = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "input-tags-display.vue"]]);
|
|
83195
|
+
|
|
83196
|
+
const BmTagsDisplay = withInstall$2(InputTagsDisplay);
|
|
83197
|
+
|
|
82878
83198
|
var components = /*#__PURE__*/Object.freeze({
|
|
82879
83199
|
__proto__: null,
|
|
82880
83200
|
BmButton: BmButton,
|
|
@@ -82893,7 +83213,8 @@ var components = /*#__PURE__*/Object.freeze({
|
|
|
82893
83213
|
BmOverTooltips: BmOverTooltips,
|
|
82894
83214
|
BmUpload: BmUpload,
|
|
82895
83215
|
BmTimeline: BmTimeline,
|
|
82896
|
-
BmTimelineItem: BmTimelineItem
|
|
83216
|
+
BmTimelineItem: BmTimelineItem,
|
|
83217
|
+
BmTagsDisplay: BmTagsDisplay
|
|
82897
83218
|
});
|
|
82898
83219
|
|
|
82899
83220
|
const install = (app) => {
|
|
@@ -82905,4 +83226,4 @@ var index = {
|
|
|
82905
83226
|
install,
|
|
82906
83227
|
};
|
|
82907
83228
|
|
|
82908
|
-
export { BmAlert, BmButton, BmFloatTable, BmFlowDesigner, BmFormDesigner, BmMessage, BmModal, BmMultiCascaderCompose, BmNotification, BmOverTooltips, BmSearchFilter, BmShopsFilter, BmStaffsSelector, BmTimeline, BmTimelineItem, BmUpload, StaticBmModal, index as default };
|
|
83229
|
+
export { BmAlert, BmButton, BmFloatTable, BmFlowDesigner, BmFormDesigner, BmMessage, BmModal, BmMultiCascaderCompose, BmNotification, BmOverTooltips, BmSearchFilter, BmShopsFilter, BmStaffsSelector, BmTagsDisplay, BmTimeline, BmTimelineItem, BmUpload, StaticBmModal, index as default };
|