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.js
CHANGED
|
@@ -2060,18 +2060,18 @@ var process = {
|
|
|
2060
2060
|
|
|
2061
2061
|
var vueTypes = {};
|
|
2062
2062
|
|
|
2063
|
-
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
|
|
2063
|
+
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());
|
|
2064
2064
|
|
|
2065
2065
|
var vueTypes_m = /*#__PURE__*/Object.freeze({
|
|
2066
2066
|
__proto__: null,
|
|
2067
|
-
'default': C,
|
|
2067
|
+
'default': C$1,
|
|
2068
2068
|
any: x$1,
|
|
2069
2069
|
array: S$1,
|
|
2070
2070
|
arrayOf: I$1,
|
|
2071
2071
|
bool: E$1,
|
|
2072
2072
|
createTypes: z$1,
|
|
2073
2073
|
custom: L$1,
|
|
2074
|
-
fromType: k
|
|
2074
|
+
fromType: k,
|
|
2075
2075
|
func: A$1,
|
|
2076
2076
|
instanceOf: J$1,
|
|
2077
2077
|
integer: F$1,
|
|
@@ -8192,7 +8192,7 @@ var process = {
|
|
|
8192
8192
|
const __default__$8 = {
|
|
8193
8193
|
name: "BmButton"
|
|
8194
8194
|
};
|
|
8195
|
-
const _sfc_main$
|
|
8195
|
+
const _sfc_main$i = /* @__PURE__ */ require$$1$1.defineComponent({
|
|
8196
8196
|
...__default__$8,
|
|
8197
8197
|
props: buttonProps$2,
|
|
8198
8198
|
setup(__props) {
|
|
@@ -8210,14 +8210,14 @@ var process = {
|
|
|
8210
8210
|
};
|
|
8211
8211
|
}
|
|
8212
8212
|
});
|
|
8213
|
-
var Button$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8213
|
+
var Button$1 = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__file", "button.vue"]]);
|
|
8214
8214
|
|
|
8215
8215
|
const BmButton = withInstall$2(Button$1);
|
|
8216
8216
|
|
|
8217
8217
|
const __default__$7 = {
|
|
8218
8218
|
name: "BmFormDesigner"
|
|
8219
8219
|
};
|
|
8220
|
-
const _sfc_main$
|
|
8220
|
+
const _sfc_main$h = /* @__PURE__ */ require$$1$1.defineComponent({
|
|
8221
8221
|
...__default__$7,
|
|
8222
8222
|
setup(__props) {
|
|
8223
8223
|
const rule = [
|
|
@@ -8233,7 +8233,7 @@ var process = {
|
|
|
8233
8233
|
};
|
|
8234
8234
|
}
|
|
8235
8235
|
});
|
|
8236
|
-
var FormDesigner = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8236
|
+
var FormDesigner = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__file", "form-designer.vue"]]);
|
|
8237
8237
|
|
|
8238
8238
|
const BmFormDesigner = withInstall$2(FormDesigner);
|
|
8239
8239
|
|
|
@@ -38199,9 +38199,11 @@ var process = {
|
|
|
38199
38199
|
|
|
38200
38200
|
Anchor_defineProperty(Anchor_assertThisInitialized(_this), "onDragEnd", function (event) {
|
|
38201
38201
|
if (_this.t) {
|
|
38202
|
-
|
|
38202
|
+
cancelRaf(_this.t);
|
|
38203
38203
|
}
|
|
38204
38204
|
|
|
38205
|
+
console.log(555, 'dragend');
|
|
38206
|
+
|
|
38205
38207
|
_this.checkEnd(event);
|
|
38206
38208
|
|
|
38207
38209
|
_this.setState({
|
|
@@ -44867,7 +44869,7 @@ var process = {
|
|
|
44867
44869
|
const __default__$6 = {
|
|
44868
44870
|
name: "BmFlowDesigner"
|
|
44869
44871
|
};
|
|
44870
|
-
const _sfc_main$
|
|
44872
|
+
const _sfc_main$g = /* @__PURE__ */ require$$1$1.defineComponent({
|
|
44871
44873
|
...__default__$6,
|
|
44872
44874
|
setup(__props) {
|
|
44873
44875
|
const container = require$$1$1.ref();
|
|
@@ -44891,7 +44893,7 @@ var process = {
|
|
|
44891
44893
|
};
|
|
44892
44894
|
}
|
|
44893
44895
|
});
|
|
44894
|
-
var FlowDesigner = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
44896
|
+
var FlowDesigner = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__file", "flow-designer.vue"]]);
|
|
44895
44897
|
|
|
44896
44898
|
const BmFlowDesigner = withInstall$2(FlowDesigner);
|
|
44897
44899
|
|
|
@@ -51687,37 +51689,17 @@ var process = {
|
|
|
51687
51689
|
var RightOutlined$1 = RightOutlined;
|
|
51688
51690
|
|
|
51689
51691
|
// This icon file is generated automatically.
|
|
51690
|
-
var
|
|
51691
|
-
var
|
|
51692
|
+
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" };
|
|
51693
|
+
var PlusOutlinedSvg = PlusOutlined$2;
|
|
51692
51694
|
|
|
51693
51695
|
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; }
|
|
51694
51696
|
|
|
51695
51697
|
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; }
|
|
51696
51698
|
|
|
51697
|
-
var
|
|
51699
|
+
var PlusOutlined = function PlusOutlined(props, context) {
|
|
51698
51700
|
var p = _objectSpread$3({}, props, context.attrs);
|
|
51699
51701
|
|
|
51700
51702
|
return require$$1$1.createVNode(AntdIcon, _objectSpread$3({}, p, {
|
|
51701
|
-
"icon": DeleteOutlinedSvg
|
|
51702
|
-
}), null);
|
|
51703
|
-
};
|
|
51704
|
-
|
|
51705
|
-
DeleteOutlined.displayName = 'DeleteOutlined';
|
|
51706
|
-
DeleteOutlined.inheritAttrs = false;
|
|
51707
|
-
var DeleteOutlined$1 = DeleteOutlined;
|
|
51708
|
-
|
|
51709
|
-
// This icon file is generated automatically.
|
|
51710
|
-
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" };
|
|
51711
|
-
var PlusOutlinedSvg = PlusOutlined$2;
|
|
51712
|
-
|
|
51713
|
-
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; }
|
|
51714
|
-
|
|
51715
|
-
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; }
|
|
51716
|
-
|
|
51717
|
-
var PlusOutlined = function PlusOutlined(props, context) {
|
|
51718
|
-
var p = _objectSpread$2({}, props, context.attrs);
|
|
51719
|
-
|
|
51720
|
-
return require$$1$1.createVNode(AntdIcon, _objectSpread$2({}, p, {
|
|
51721
51703
|
"icon": PlusOutlinedSvg
|
|
51722
51704
|
}), null);
|
|
51723
51705
|
};
|
|
@@ -51726,46 +51708,6 @@ var process = {
|
|
|
51726
51708
|
PlusOutlined.inheritAttrs = false;
|
|
51727
51709
|
var PlusOutlined$1 = PlusOutlined;
|
|
51728
51710
|
|
|
51729
|
-
// This icon file is generated automatically.
|
|
51730
|
-
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" };
|
|
51731
|
-
var UpOutlinedSvg = UpOutlined$2;
|
|
51732
|
-
|
|
51733
|
-
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; }
|
|
51734
|
-
|
|
51735
|
-
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; }
|
|
51736
|
-
|
|
51737
|
-
var UpOutlined = function UpOutlined(props, context) {
|
|
51738
|
-
var p = _objectSpread$1({}, props, context.attrs);
|
|
51739
|
-
|
|
51740
|
-
return require$$1$1.createVNode(AntdIcon, _objectSpread$1({}, p, {
|
|
51741
|
-
"icon": UpOutlinedSvg
|
|
51742
|
-
}), null);
|
|
51743
|
-
};
|
|
51744
|
-
|
|
51745
|
-
UpOutlined.displayName = 'UpOutlined';
|
|
51746
|
-
UpOutlined.inheritAttrs = false;
|
|
51747
|
-
var UpOutlined$1 = UpOutlined;
|
|
51748
|
-
|
|
51749
|
-
// This icon file is generated automatically.
|
|
51750
|
-
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" };
|
|
51751
|
-
var UploadOutlinedSvg = UploadOutlined$2;
|
|
51752
|
-
|
|
51753
|
-
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; }
|
|
51754
|
-
|
|
51755
|
-
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; }
|
|
51756
|
-
|
|
51757
|
-
var UploadOutlined = function UploadOutlined(props, context) {
|
|
51758
|
-
var p = _objectSpread({}, props, context.attrs);
|
|
51759
|
-
|
|
51760
|
-
return require$$1$1.createVNode(AntdIcon, _objectSpread({}, p, {
|
|
51761
|
-
"icon": UploadOutlinedSvg
|
|
51762
|
-
}), null);
|
|
51763
|
-
};
|
|
51764
|
-
|
|
51765
|
-
UploadOutlined.displayName = 'UploadOutlined';
|
|
51766
|
-
UploadOutlined.inheritAttrs = false;
|
|
51767
|
-
var UploadOutlined$1 = UploadOutlined;
|
|
51768
|
-
|
|
51769
51711
|
var canUseDocElement$1 = function canUseDocElement() {
|
|
51770
51712
|
return canUseDom() && window.document.documentElement;
|
|
51771
51713
|
};
|
|
@@ -52824,6 +52766,26 @@ var process = {
|
|
|
52824
52766
|
});
|
|
52825
52767
|
var DialogWrap$3 = DialogWrap$2;
|
|
52826
52768
|
|
|
52769
|
+
// This icon file is generated automatically.
|
|
52770
|
+
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" };
|
|
52771
|
+
var UpOutlinedSvg = UpOutlined$2;
|
|
52772
|
+
|
|
52773
|
+
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; }
|
|
52774
|
+
|
|
52775
|
+
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; }
|
|
52776
|
+
|
|
52777
|
+
var UpOutlined = function UpOutlined(props, context) {
|
|
52778
|
+
var p = _objectSpread$2({}, props, context.attrs);
|
|
52779
|
+
|
|
52780
|
+
return require$$1$1.createVNode(AntdIcon, _objectSpread$2({}, p, {
|
|
52781
|
+
"icon": UpOutlinedSvg
|
|
52782
|
+
}), null);
|
|
52783
|
+
};
|
|
52784
|
+
|
|
52785
|
+
UpOutlined.displayName = 'UpOutlined';
|
|
52786
|
+
UpOutlined.inheritAttrs = false;
|
|
52787
|
+
var UpOutlined$1 = UpOutlined;
|
|
52788
|
+
|
|
52827
52789
|
var __rest$e = undefined && undefined.__rest || function (s, e) {
|
|
52828
52790
|
var t = {};
|
|
52829
52791
|
|
|
@@ -53503,6 +53465,46 @@ var process = {
|
|
|
53503
53465
|
return app;
|
|
53504
53466
|
};
|
|
53505
53467
|
|
|
53468
|
+
// This icon file is generated automatically.
|
|
53469
|
+
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" };
|
|
53470
|
+
var DeleteOutlinedSvg = DeleteOutlined$2;
|
|
53471
|
+
|
|
53472
|
+
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; }
|
|
53473
|
+
|
|
53474
|
+
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; }
|
|
53475
|
+
|
|
53476
|
+
var DeleteOutlined = function DeleteOutlined(props, context) {
|
|
53477
|
+
var p = _objectSpread$1({}, props, context.attrs);
|
|
53478
|
+
|
|
53479
|
+
return require$$1$1.createVNode(AntdIcon, _objectSpread$1({}, p, {
|
|
53480
|
+
"icon": DeleteOutlinedSvg
|
|
53481
|
+
}), null);
|
|
53482
|
+
};
|
|
53483
|
+
|
|
53484
|
+
DeleteOutlined.displayName = 'DeleteOutlined';
|
|
53485
|
+
DeleteOutlined.inheritAttrs = false;
|
|
53486
|
+
var DeleteOutlined$1 = DeleteOutlined;
|
|
53487
|
+
|
|
53488
|
+
// This icon file is generated automatically.
|
|
53489
|
+
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" };
|
|
53490
|
+
var UploadOutlinedSvg = UploadOutlined$2;
|
|
53491
|
+
|
|
53492
|
+
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; }
|
|
53493
|
+
|
|
53494
|
+
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; }
|
|
53495
|
+
|
|
53496
|
+
var UploadOutlined = function UploadOutlined(props, context) {
|
|
53497
|
+
var p = _objectSpread({}, props, context.attrs);
|
|
53498
|
+
|
|
53499
|
+
return require$$1$1.createVNode(AntdIcon, _objectSpread({}, p, {
|
|
53500
|
+
"icon": UploadOutlinedSvg
|
|
53501
|
+
}), null);
|
|
53502
|
+
};
|
|
53503
|
+
|
|
53504
|
+
UploadOutlined.displayName = 'UploadOutlined';
|
|
53505
|
+
UploadOutlined.inheritAttrs = false;
|
|
53506
|
+
var UploadOutlined$1 = UploadOutlined;
|
|
53507
|
+
|
|
53506
53508
|
var alert = {};
|
|
53507
53509
|
|
|
53508
53510
|
var vnode = {};
|
|
@@ -53778,7 +53780,7 @@ var process = {
|
|
|
53778
53780
|
const __default__$5 = {
|
|
53779
53781
|
name: "BmAlert"
|
|
53780
53782
|
};
|
|
53781
|
-
const _sfc_main$
|
|
53783
|
+
const _sfc_main$f = /* @__PURE__ */ require$$1$1.defineComponent({
|
|
53782
53784
|
...__default__$5,
|
|
53783
53785
|
props: {
|
|
53784
53786
|
type: {
|
|
@@ -53831,7 +53833,7 @@ var process = {
|
|
|
53831
53833
|
};
|
|
53832
53834
|
}
|
|
53833
53835
|
});
|
|
53834
|
-
var Alert = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
53836
|
+
var Alert = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__file", "bmAlert.vue"]]);
|
|
53835
53837
|
|
|
53836
53838
|
var modal = {};
|
|
53837
53839
|
|
|
@@ -57062,14 +57064,14 @@ var process = {
|
|
|
57062
57064
|
var _default$D = _Modal.default;
|
|
57063
57065
|
default_1$1 = modal.default = _default$D;
|
|
57064
57066
|
|
|
57065
|
-
const _hoisted_1$
|
|
57067
|
+
const _hoisted_1$c = {
|
|
57066
57068
|
ref: "modalBody",
|
|
57067
57069
|
class: "bm-modal-body"
|
|
57068
57070
|
};
|
|
57069
57071
|
const __default__$4 = {
|
|
57070
57072
|
name: "BmModal"
|
|
57071
57073
|
};
|
|
57072
|
-
const _sfc_main$
|
|
57074
|
+
const _sfc_main$e = /* @__PURE__ */ require$$1$1.defineComponent({
|
|
57073
57075
|
...__default__$4,
|
|
57074
57076
|
props: {
|
|
57075
57077
|
width: {
|
|
@@ -57112,7 +57114,7 @@ var process = {
|
|
|
57112
57114
|
onChange: _cache[1] || (_cache[1] = (v) => _ctx.$emit("close", v))
|
|
57113
57115
|
}, require$$1$1.createSlots({
|
|
57114
57116
|
default: require$$1$1.withCtx(() => [
|
|
57115
|
-
require$$1$1.createElementVNode("div", _hoisted_1$
|
|
57117
|
+
require$$1$1.createElementVNode("div", _hoisted_1$c, [
|
|
57116
57118
|
require$$1$1.renderSlot(_ctx.$slots, "default")
|
|
57117
57119
|
], 512)
|
|
57118
57120
|
]),
|
|
@@ -57156,7 +57158,7 @@ var process = {
|
|
|
57156
57158
|
};
|
|
57157
57159
|
}
|
|
57158
57160
|
});
|
|
57159
|
-
var AModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
57161
|
+
var AModal = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__file", "bmModal.vue"]]);
|
|
57160
57162
|
|
|
57161
57163
|
const idGenerator = (function () {
|
|
57162
57164
|
let id = 0;
|
|
@@ -57173,6 +57175,23 @@ var process = {
|
|
|
57173
57175
|
feedbackType["CONFIRM"] = "confirm";
|
|
57174
57176
|
feedbackType["WARN"] = "warn";
|
|
57175
57177
|
})(feedbackType || (feedbackType = {}));
|
|
57178
|
+
var feedbackColor;
|
|
57179
|
+
(function (feedbackColor) {
|
|
57180
|
+
feedbackColor["SUCCESS"] = "#29CC7A";
|
|
57181
|
+
feedbackColor["ERROR"] = "#E64C2E";
|
|
57182
|
+
feedbackColor["INFO"] = "#2F4EED";
|
|
57183
|
+
feedbackColor["WARNING"] = "#FF9019";
|
|
57184
|
+
feedbackColor["CONFIRM"] = "#2F4EED";
|
|
57185
|
+
feedbackColor["WARN"] = "#FF9019";
|
|
57186
|
+
})(feedbackColor || (feedbackColor = {}));
|
|
57187
|
+
const feedbackIcon = {
|
|
57188
|
+
success: () => require$$1$1.h(CheckCircleFilled$1, { style: `color: ${feedbackColor.SUCCESS}` }),
|
|
57189
|
+
error: () => require$$1$1.h(CloseCircleFilled$1, { style: `color: ${feedbackColor.ERROR}` }),
|
|
57190
|
+
warning: () => require$$1$1.h(ExclamationCircleFilled$1, { style: `color: ${feedbackColor.WARNING}` }),
|
|
57191
|
+
info: () => require$$1$1.h(InfoCircleFilled$1, { style: `color: ${feedbackColor.INFO}` }),
|
|
57192
|
+
confirm: () => require$$1$1.h(InfoCircleFilled$1, { style: `color: ${feedbackColor.INFO}` }),
|
|
57193
|
+
warn: () => require$$1$1.h(ExclamationCircleFilled$1, { style: `color: ${feedbackColor.WARNING}` })
|
|
57194
|
+
};
|
|
57176
57195
|
function __createBtn(btnText = '确定', onClick = (() => '点击'), style = '', type = 'primary', size = 'small') {
|
|
57177
57196
|
return require$$1$1.h(Button, {
|
|
57178
57197
|
type,
|
|
@@ -57205,14 +57224,14 @@ var process = {
|
|
|
57205
57224
|
if (btn)
|
|
57206
57225
|
config['btn'] = btn;
|
|
57207
57226
|
if ([feedbackType.WARNING, feedbackType.WARN].indexOf(type) !== -1) {
|
|
57208
|
-
notification.warning(Object.assign({ key, icon:
|
|
57227
|
+
notification.warning(Object.assign({ key, icon: feedbackIcon['warning'] }, config));
|
|
57209
57228
|
return;
|
|
57210
57229
|
}
|
|
57211
57230
|
notification[type](Object.assign({ key }, config));
|
|
57212
57231
|
};
|
|
57213
57232
|
const StaticBmModal = (config) => {
|
|
57214
57233
|
const type = config['type'] || feedbackType.INFO;
|
|
57215
|
-
return Modal$1[type](Object.assign({ cancelButtonProps: { type: 'second' }, okType: 'primary', cancelText: '取消', okText: '确认', autoFocusButton: null }, config));
|
|
57234
|
+
return Modal$1[type](Object.assign({ cancelButtonProps: { type: 'second' }, okType: 'primary', cancelText: '取消', okText: '确认', autoFocusButton: null, icon: feedbackIcon[type] }, config));
|
|
57216
57235
|
};
|
|
57217
57236
|
const BmMessage = (config) => {
|
|
57218
57237
|
const type = config.type;
|
|
@@ -57238,7 +57257,7 @@ var process = {
|
|
|
57238
57257
|
const BmAlert = withInstall$2(Alert);
|
|
57239
57258
|
|
|
57240
57259
|
/*!
|
|
57241
|
-
* @form-create/ant-design-vue v3.1.
|
|
57260
|
+
* @form-create/ant-design-vue v3.1.12
|
|
57242
57261
|
* (c) 2018-2022 xaboy
|
|
57243
57262
|
* Github https://github.com/xaboy/form-create
|
|
57244
57263
|
* Released under the MIT License.
|
|
@@ -57433,10 +57452,6 @@ var process = {
|
|
|
57433
57452
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
57434
57453
|
}
|
|
57435
57454
|
|
|
57436
|
-
function toString(val) {
|
|
57437
|
-
return val == null ? '' : _typeof$3(val) === 'object' ? JSON.stringify(val, null, 2) : String(val);
|
|
57438
|
-
}
|
|
57439
|
-
|
|
57440
57455
|
function toArray(value) {
|
|
57441
57456
|
return Array.isArray(value) ? value : [null, undefined, ''].indexOf(value) > -1 ? [] : [value];
|
|
57442
57457
|
}
|
|
@@ -57459,7 +57474,7 @@ var process = {
|
|
|
57459
57474
|
"class": "anticon"
|
|
57460
57475
|
};
|
|
57461
57476
|
|
|
57462
|
-
var _hoisted_2$8 = /*#__PURE__*/require$$1$1.createElementVNode("svg", {
|
|
57477
|
+
var _hoisted_2$8$1 = /*#__PURE__*/require$$1$1.createElementVNode("svg", {
|
|
57463
57478
|
height: "1em",
|
|
57464
57479
|
width: "1em",
|
|
57465
57480
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -57472,7 +57487,7 @@ var process = {
|
|
|
57472
57487
|
fill: "currentColor"
|
|
57473
57488
|
})], -1);
|
|
57474
57489
|
|
|
57475
|
-
var _hoisted_3$8 = [_hoisted_2$8];
|
|
57490
|
+
var _hoisted_3$8 = [_hoisted_2$8$1];
|
|
57476
57491
|
function render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
57477
57492
|
return require$$1$1.openBlock(), require$$1$1.createElementBlock("span", _hoisted_1$8$1, _hoisted_3$8);
|
|
57478
57493
|
}
|
|
@@ -57488,7 +57503,7 @@ var process = {
|
|
|
57488
57503
|
};
|
|
57489
57504
|
},
|
|
57490
57505
|
getFileName = function getFileName(file) {
|
|
57491
|
-
return
|
|
57506
|
+
return ('' + file).split('/').pop();
|
|
57492
57507
|
},
|
|
57493
57508
|
parseUpload = function parseUpload(file) {
|
|
57494
57509
|
return {
|
|
@@ -57679,9 +57694,9 @@ var process = {
|
|
|
57679
57694
|
fill: "currentColor"
|
|
57680
57695
|
})], -1);
|
|
57681
57696
|
|
|
57682
|
-
var _hoisted_3$7 = [_hoisted_2$7$1];
|
|
57697
|
+
var _hoisted_3$7$1 = [_hoisted_2$7$1];
|
|
57683
57698
|
function render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
57684
|
-
return require$$1$1.openBlock(), require$$1$1.createElementBlock("span", _hoisted_1$7$1, _hoisted_3$7);
|
|
57699
|
+
return require$$1$1.openBlock(), require$$1$1.createElementBlock("span", _hoisted_1$7$1, _hoisted_3$7$1);
|
|
57685
57700
|
}
|
|
57686
57701
|
|
|
57687
57702
|
script$7.render = render$7;
|
|
@@ -58044,6 +58059,7 @@ var process = {
|
|
|
58044
58059
|
var _this2 = this;
|
|
58045
58060
|
|
|
58046
58061
|
var Type = require$$1$1.resolveComponent(this.handleIcon === true || this.handleIcon === undefined ? 'EyeOutlined' : this.handleIcon);
|
|
58062
|
+
console.log('-> Type', Type);
|
|
58047
58063
|
return require$$1$1.createVNode(Type, {
|
|
58048
58064
|
"class": "_fc-frame-icon",
|
|
58049
58065
|
"onClick": function onClick() {
|
|
@@ -58914,7 +58930,7 @@ var process = {
|
|
|
58914
58930
|
name: 'QuestionCircleOutlined'
|
|
58915
58931
|
};
|
|
58916
58932
|
|
|
58917
|
-
var _hoisted_1$
|
|
58933
|
+
var _hoisted_1$b = {
|
|
58918
58934
|
"class": "anticon"
|
|
58919
58935
|
};
|
|
58920
58936
|
|
|
@@ -58933,7 +58949,7 @@ var process = {
|
|
|
58933
58949
|
|
|
58934
58950
|
var _hoisted_3$9 = [_hoisted_2$9];
|
|
58935
58951
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
58936
|
-
return require$$1$1.openBlock(), require$$1$1.createElementBlock("span", _hoisted_1$
|
|
58952
|
+
return require$$1$1.openBlock(), require$$1$1.createElementBlock("span", _hoisted_1$b, _hoisted_3$9);
|
|
58937
58953
|
}
|
|
58938
58954
|
|
|
58939
58955
|
script.render = render;
|
|
@@ -59088,7 +59104,9 @@ var process = {
|
|
|
59088
59104
|
fc.$handle.reloadRule(rule.value);
|
|
59089
59105
|
vm.setupState.renderRule();
|
|
59090
59106
|
});
|
|
59091
|
-
require$$1$1.watch(
|
|
59107
|
+
require$$1$1.watch(function () {
|
|
59108
|
+
return props.option;
|
|
59109
|
+
}, function (n) {
|
|
59092
59110
|
fc.initOptions(n);
|
|
59093
59111
|
fapi.refresh();
|
|
59094
59112
|
});
|
|
@@ -59962,8 +59980,13 @@ var process = {
|
|
|
59962
59980
|
},
|
|
59963
59981
|
getCache: function getCache(ctx) {
|
|
59964
59982
|
var cache = this.cache[ctx.id];
|
|
59965
|
-
|
|
59966
|
-
|
|
59983
|
+
|
|
59984
|
+
if (cache) {
|
|
59985
|
+
cache.use = true;
|
|
59986
|
+
return cache.vnode;
|
|
59987
|
+
}
|
|
59988
|
+
|
|
59989
|
+
return undefined;
|
|
59967
59990
|
}
|
|
59968
59991
|
});
|
|
59969
59992
|
}
|
|
@@ -59978,6 +60001,10 @@ var process = {
|
|
|
59978
60001
|
return str.replace(str[0], str[0].toLowerCase());
|
|
59979
60002
|
}
|
|
59980
60003
|
|
|
60004
|
+
function toString(val) {
|
|
60005
|
+
return val == null ? '' : _typeof$3(val) === 'object' ? JSON.stringify(val, null, 2) : String(val);
|
|
60006
|
+
}
|
|
60007
|
+
|
|
59981
60008
|
var id$2 = 0;
|
|
59982
60009
|
function uniqueId() {
|
|
59983
60010
|
return Math.random().toString(36).substr(3, 3) + Number("".concat(Date.now()).concat(++id$2)).toString(36);
|
|
@@ -62287,9 +62314,16 @@ var process = {
|
|
|
62287
62314
|
return fetch(_objectSpread2$l(_objectSpread2$l({}, option), {}, {
|
|
62288
62315
|
onSuccess: function onSuccess(body) {
|
|
62289
62316
|
if (check()) return;
|
|
62290
|
-
|
|
62317
|
+
|
|
62318
|
+
var fn = function fn(v) {
|
|
62291
62319
|
return v.data;
|
|
62292
|
-
}
|
|
62320
|
+
};
|
|
62321
|
+
|
|
62322
|
+
if (is.Function(option.parse)) {
|
|
62323
|
+
fn = option.parse;
|
|
62324
|
+
}
|
|
62325
|
+
|
|
62326
|
+
set(fn(body, rule, api));
|
|
62293
62327
|
api.sync(rule);
|
|
62294
62328
|
},
|
|
62295
62329
|
onError: function onError(e) {
|
|
@@ -63535,7 +63569,8 @@ var process = {
|
|
|
63535
63569
|
}, val);
|
|
63536
63570
|
|
|
63537
63571
|
if (!validate.message) {
|
|
63538
|
-
|
|
63572
|
+
var title = rule.title || '';
|
|
63573
|
+
validate.message = ((_typeof$3(title) === 'object' ? title.title : title) || '') + '不能为空';
|
|
63539
63574
|
}
|
|
63540
63575
|
|
|
63541
63576
|
inject.getProp().validate = [validate];
|
|
@@ -63594,7 +63629,7 @@ var process = {
|
|
|
63594
63629
|
function antdvFormCreate() {
|
|
63595
63630
|
return FormCreateFactory({
|
|
63596
63631
|
ui: 'ant-design-vue',
|
|
63597
|
-
version: '3.1.
|
|
63632
|
+
version: '3.1.12',
|
|
63598
63633
|
manager: manager,
|
|
63599
63634
|
install: install$1,
|
|
63600
63635
|
extendApi: extendApi,
|
|
@@ -63664,11 +63699,11 @@ var process = {
|
|
|
63664
63699
|
default: 'left',
|
|
63665
63700
|
} }, searchResetBtnProps);
|
|
63666
63701
|
|
|
63667
|
-
const _hoisted_1$
|
|
63668
|
-
const _hoisted_2$
|
|
63669
|
-
const _hoisted_3$
|
|
63670
|
-
const _hoisted_4$
|
|
63671
|
-
const _sfc_main$
|
|
63702
|
+
const _hoisted_1$a = { class: "bm-search-filter-btn" };
|
|
63703
|
+
const _hoisted_2$8 = { class: "bm-search-filter-actions" };
|
|
63704
|
+
const _hoisted_3$7 = /* @__PURE__ */ require$$1$1.createTextVNode("\u91CD\u7F6E");
|
|
63705
|
+
const _hoisted_4$7 = /* @__PURE__ */ require$$1$1.createTextVNode("\u67E5\u8BE2");
|
|
63706
|
+
const _sfc_main$d = /* @__PURE__ */ require$$1$1.defineComponent({
|
|
63672
63707
|
__name: "search-reset-btn",
|
|
63673
63708
|
props: searchResetBtnProps,
|
|
63674
63709
|
emits: ["submit", "reset", "expand"],
|
|
@@ -63687,7 +63722,7 @@ var process = {
|
|
|
63687
63722
|
}
|
|
63688
63723
|
return (_ctx, _cache) => {
|
|
63689
63724
|
const _component_a_button = require$$1$1.resolveComponent("a-button");
|
|
63690
|
-
return require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_1$
|
|
63725
|
+
return require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_1$a, [
|
|
63691
63726
|
props.showExpandBtn ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("span", {
|
|
63692
63727
|
key: 0,
|
|
63693
63728
|
class: "bm-search-filter-expand",
|
|
@@ -63696,10 +63731,10 @@ var process = {
|
|
|
63696
63731
|
require$$1$1.createTextVNode(require$$1$1.toDisplayString(isExpand.value ? "\u6536\u8D77" : "\u5C55\u5F00"), 1),
|
|
63697
63732
|
isExpand.value ? (require$$1$1.openBlock(), require$$1$1.createBlock(require$$1$1.unref(UpOutlined$1), { key: 0 })) : (require$$1$1.openBlock(), require$$1$1.createBlock(require$$1$1.unref(DownOutlined$1), { key: 1 }))
|
|
63698
63733
|
])) : require$$1$1.createCommentVNode("v-if", true),
|
|
63699
|
-
require$$1$1.createElementVNode("span", _hoisted_2$
|
|
63734
|
+
require$$1$1.createElementVNode("span", _hoisted_2$8, [
|
|
63700
63735
|
require$$1$1.createVNode(_component_a_button, { onClick: handleReset }, {
|
|
63701
63736
|
default: require$$1$1.withCtx(() => [
|
|
63702
|
-
_hoisted_3$
|
|
63737
|
+
_hoisted_3$7
|
|
63703
63738
|
]),
|
|
63704
63739
|
_: 1
|
|
63705
63740
|
}),
|
|
@@ -63709,7 +63744,7 @@ var process = {
|
|
|
63709
63744
|
}, {
|
|
63710
63745
|
default: require$$1$1.withCtx(() => [
|
|
63711
63746
|
props.showSearchIcon ? (require$$1$1.openBlock(), require$$1$1.createBlock(require$$1$1.unref(SearchOutlined$4), { key: 0 })) : require$$1$1.createCommentVNode("v-if", true),
|
|
63712
|
-
_hoisted_4$
|
|
63747
|
+
_hoisted_4$7
|
|
63713
63748
|
]),
|
|
63714
63749
|
_: 1
|
|
63715
63750
|
})
|
|
@@ -63718,7 +63753,7 @@ var process = {
|
|
|
63718
63753
|
};
|
|
63719
63754
|
}
|
|
63720
63755
|
});
|
|
63721
|
-
var SearchResetBtn = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
63756
|
+
var SearchResetBtn = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__file", "search-reset-btn.vue"]]);
|
|
63722
63757
|
|
|
63723
63758
|
function multiCascaderComposeProps() {
|
|
63724
63759
|
return {
|
|
@@ -63761,25 +63796,25 @@ var process = {
|
|
|
63761
63796
|
};
|
|
63762
63797
|
}
|
|
63763
63798
|
|
|
63764
|
-
const _hoisted_1$
|
|
63765
|
-
const _hoisted_2$
|
|
63766
|
-
const _hoisted_3$
|
|
63767
|
-
const _hoisted_4$
|
|
63799
|
+
const _hoisted_1$9 = { class: "bm-multi-cascader-wrapper" };
|
|
63800
|
+
const _hoisted_2$7 = { class: "bm-multi-cascader" };
|
|
63801
|
+
const _hoisted_3$6 = { class: "bm-multi-cascader-inner" };
|
|
63802
|
+
const _hoisted_4$6 = {
|
|
63768
63803
|
key: 0,
|
|
63769
63804
|
class: "bm-multi-cascader-tags"
|
|
63770
63805
|
};
|
|
63771
|
-
const _hoisted_5$
|
|
63772
|
-
const _hoisted_6$
|
|
63773
|
-
const _hoisted_7$
|
|
63806
|
+
const _hoisted_5$6 = { class: "bm-multi-cascader-tag-text" };
|
|
63807
|
+
const _hoisted_6$5 = ["onClick"];
|
|
63808
|
+
const _hoisted_7$5 = {
|
|
63774
63809
|
key: 0,
|
|
63775
63810
|
class: "bm-multi-cascader-tag"
|
|
63776
63811
|
};
|
|
63777
|
-
const _hoisted_8$
|
|
63778
|
-
const _hoisted_9$
|
|
63812
|
+
const _hoisted_8$5 = { class: "bm-multi-cascader-tag-text" };
|
|
63813
|
+
const _hoisted_9$5 = {
|
|
63779
63814
|
key: 1,
|
|
63780
63815
|
class: "bm-multi-cascader-placeholder"
|
|
63781
63816
|
};
|
|
63782
|
-
const _hoisted_10$
|
|
63817
|
+
const _hoisted_10$5 = { class: "bm-multi-cascader-action" };
|
|
63783
63818
|
const _hoisted_11$4 = {
|
|
63784
63819
|
key: 0,
|
|
63785
63820
|
class: "bm-multi-cascader-popover"
|
|
@@ -63798,7 +63833,7 @@ var process = {
|
|
|
63798
63833
|
const __default__$3 = {
|
|
63799
63834
|
name: "BmMultiCascaderCompose"
|
|
63800
63835
|
};
|
|
63801
|
-
const _sfc_main$
|
|
63836
|
+
const _sfc_main$c = /* @__PURE__ */ require$$1$1.defineComponent({
|
|
63802
63837
|
...__default__$3,
|
|
63803
63838
|
props: multiCascaderComposeProps(),
|
|
63804
63839
|
emits: ["update:modelValue", "change"],
|
|
@@ -63874,7 +63909,9 @@ var process = {
|
|
|
63874
63909
|
tempRes.push({ checked: true });
|
|
63875
63910
|
} else {
|
|
63876
63911
|
let tempRes2 = tempChildren[j];
|
|
63877
|
-
let tempIndex2 = props.modelValue.indexOf(
|
|
63912
|
+
let tempIndex2 = props.modelValue.indexOf(
|
|
63913
|
+
tempRes2[props.optionValueName]
|
|
63914
|
+
);
|
|
63878
63915
|
if (tempIndex2 !== -1) {
|
|
63879
63916
|
tempRes.push({ checked: true });
|
|
63880
63917
|
} else {
|
|
@@ -63900,7 +63937,9 @@ var process = {
|
|
|
63900
63937
|
if (tempChildren) {
|
|
63901
63938
|
for (let j = 0; j < tempChildren.length; j++) {
|
|
63902
63939
|
let tempRes2 = tempChildren[j];
|
|
63903
|
-
let tempIndex2 = props.modelValue.indexOf(
|
|
63940
|
+
let tempIndex2 = props.modelValue.indexOf(
|
|
63941
|
+
tempRes2[props.optionValueName]
|
|
63942
|
+
);
|
|
63904
63943
|
if (path.value[i] && tempRes2[props.optionValueName] === path.value[i][props.optionValueName] && tempIndex2 !== -1) {
|
|
63905
63944
|
parentChecked = true;
|
|
63906
63945
|
break;
|
|
@@ -63982,7 +64021,9 @@ var process = {
|
|
|
63982
64021
|
checked.push(tempOption?.[props.optionValueName]);
|
|
63983
64022
|
if (tempOption?.children) {
|
|
63984
64023
|
let allSonValues = getAllSonValues(tempOption.children);
|
|
63985
|
-
allSonValues = allSonValues.filter(
|
|
64024
|
+
allSonValues = allSonValues.filter(
|
|
64025
|
+
(item) => item !== tempOption?.[props.optionValueName]
|
|
64026
|
+
);
|
|
63986
64027
|
unChecked = unChecked.concat(allSonValues);
|
|
63987
64028
|
}
|
|
63988
64029
|
for (let i = level; i > 0; i--) {
|
|
@@ -63997,7 +64038,9 @@ var process = {
|
|
|
63997
64038
|
checked.push(tempOption2[props.optionValueName]);
|
|
63998
64039
|
if (tempOption2.children) {
|
|
63999
64040
|
let allSonValues = getAllSonValues(tempOption2.children);
|
|
64000
|
-
allSonValues = allSonValues.filter(
|
|
64041
|
+
allSonValues = allSonValues.filter(
|
|
64042
|
+
(item) => item !== tempOption2[props.optionValueName]
|
|
64043
|
+
);
|
|
64001
64044
|
unChecked = unChecked.concat(allSonValues);
|
|
64002
64045
|
}
|
|
64003
64046
|
}
|
|
@@ -64023,7 +64066,9 @@ var process = {
|
|
|
64023
64066
|
if (tempStatus.checked) {
|
|
64024
64067
|
checked = [];
|
|
64025
64068
|
} else {
|
|
64026
|
-
checked = modulersOptions.value[level].children?.map(
|
|
64069
|
+
checked = modulersOptions.value[level].children?.map(
|
|
64070
|
+
(item) => item[props.optionValueName]
|
|
64071
|
+
) || [];
|
|
64027
64072
|
}
|
|
64028
64073
|
} else {
|
|
64029
64074
|
if (tempStatus.checked) {
|
|
@@ -64046,7 +64091,9 @@ var process = {
|
|
|
64046
64091
|
checked.push(tempOption[props.optionValueName]);
|
|
64047
64092
|
if (tempOption.children) {
|
|
64048
64093
|
let allSonValues = getAllSonValues(tempOption.children);
|
|
64049
|
-
allSonValues = allSonValues.filter(
|
|
64094
|
+
allSonValues = allSonValues.filter(
|
|
64095
|
+
(item) => item !== tempOption[props.optionValueName]
|
|
64096
|
+
);
|
|
64050
64097
|
unChecked = unChecked.concat(allSonValues);
|
|
64051
64098
|
}
|
|
64052
64099
|
for (let i = level; i > 0; i--) {
|
|
@@ -64061,7 +64108,9 @@ var process = {
|
|
|
64061
64108
|
checked.push(tempOption2[props.optionValueName]);
|
|
64062
64109
|
if (tempOption2.children) {
|
|
64063
64110
|
let allSonValues = getAllSonValues(tempOption2.children);
|
|
64064
|
-
allSonValues = allSonValues.filter(
|
|
64111
|
+
allSonValues = allSonValues.filter(
|
|
64112
|
+
(item) => item !== tempOption2[props.optionValueName]
|
|
64113
|
+
);
|
|
64065
64114
|
unChecked = unChecked.concat(allSonValues);
|
|
64066
64115
|
}
|
|
64067
64116
|
}
|
|
@@ -64109,7 +64158,7 @@ var process = {
|
|
|
64109
64158
|
const _component_a_form_item_rest = require$$1$1.resolveComponent("a-form-item-rest");
|
|
64110
64159
|
const _component_a_empty = require$$1$1.resolveComponent("a-empty");
|
|
64111
64160
|
const _component_v_dropdown = require$$1$1.resolveComponent("v-dropdown");
|
|
64112
|
-
return require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_1$
|
|
64161
|
+
return require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_1$9, [
|
|
64113
64162
|
require$$1$1.createVNode(_component_v_dropdown, {
|
|
64114
64163
|
placement: "bottom-start",
|
|
64115
64164
|
container: false,
|
|
@@ -64147,7 +64196,9 @@ var process = {
|
|
|
64147
64196
|
return require$$1$1.openBlock(), require$$1$1.createElementBlock("div", {
|
|
64148
64197
|
key: index,
|
|
64149
64198
|
class: require$$1$1.normalizeClass(["bm-multi-cascader-item", {
|
|
64150
|
-
"is-active": path.value.find(
|
|
64199
|
+
"is-active": path.value.find(
|
|
64200
|
+
(item) => option[props.optionValueName] === item[props.optionValueName]
|
|
64201
|
+
)
|
|
64151
64202
|
}]),
|
|
64152
64203
|
onClick: ($event) => handleClick(option, level, index)
|
|
64153
64204
|
}, [
|
|
@@ -64188,31 +64239,31 @@ var process = {
|
|
|
64188
64239
|
]))
|
|
64189
64240
|
]),
|
|
64190
64241
|
default: require$$1$1.withCtx(() => [
|
|
64191
|
-
require$$1$1.createElementVNode("div", _hoisted_2$
|
|
64242
|
+
require$$1$1.createElementVNode("div", _hoisted_2$7, [
|
|
64192
64243
|
require$$1$1.createCommentVNode(" container "),
|
|
64193
|
-
require$$1$1.createElementVNode("section", _hoisted_3$
|
|
64194
|
-
props.modelValue.length > 0 ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_4$
|
|
64244
|
+
require$$1$1.createElementVNode("section", _hoisted_3$6, [
|
|
64245
|
+
props.modelValue.length > 0 ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_4$6, [
|
|
64195
64246
|
(require$$1$1.openBlock(true), require$$1$1.createElementBlock(require$$1$1.Fragment, null, require$$1$1.renderList(require$$1$1.unref(checkedShowMap), (item, index) => {
|
|
64196
64247
|
return require$$1$1.openBlock(), require$$1$1.createElementBlock("div", {
|
|
64197
64248
|
key: index,
|
|
64198
64249
|
class: "bm-multi-cascader-tag"
|
|
64199
64250
|
}, [
|
|
64200
|
-
require$$1$1.createElementVNode("span", _hoisted_5$
|
|
64251
|
+
require$$1$1.createElementVNode("span", _hoisted_5$6, require$$1$1.toDisplayString(item[props.optionLabelName]), 1),
|
|
64201
64252
|
require$$1$1.createElementVNode("span", {
|
|
64202
64253
|
class: "bm-multi-cascader-tag-close",
|
|
64203
64254
|
onClick: require$$1$1.withModifiers(($event) => removeItem(item[props.optionValueName]), ["stop"])
|
|
64204
64255
|
}, [
|
|
64205
64256
|
require$$1$1.createVNode(require$$1$1.unref(CloseOutlined$1), { class: "bm-multi-cascader-tag-close-inner" })
|
|
64206
|
-
], 8, _hoisted_6$
|
|
64257
|
+
], 8, _hoisted_6$5)
|
|
64207
64258
|
]);
|
|
64208
64259
|
}), 128)),
|
|
64209
64260
|
require$$1$1.createCommentVNode(" \u66F4\u591A\u6570\u91CF\u9690\u85CF "),
|
|
64210
|
-
require$$1$1.unref(checkedHideCount) ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_7$
|
|
64211
|
-
require$$1$1.createElementVNode("span", _hoisted_8$
|
|
64261
|
+
require$$1$1.unref(checkedHideCount) ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_7$5, [
|
|
64262
|
+
require$$1$1.createElementVNode("span", _hoisted_8$5, "+ " + require$$1$1.toDisplayString(require$$1$1.unref(checkedHideCount)), 1)
|
|
64212
64263
|
])) : require$$1$1.createCommentVNode("v-if", true)
|
|
64213
|
-
])) : (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_9$
|
|
64264
|
+
])) : (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_9$5, require$$1$1.toDisplayString(props.placeholder), 1))
|
|
64214
64265
|
]),
|
|
64215
|
-
require$$1$1.createElementVNode("div", _hoisted_10$
|
|
64266
|
+
require$$1$1.createElementVNode("div", _hoisted_10$5, [
|
|
64216
64267
|
props.allowClear && props.modelValue.length > 0 ? (require$$1$1.openBlock(), require$$1$1.createElementBlock(require$$1$1.Fragment, { key: 0 }, [
|
|
64217
64268
|
require$$1$1.createVNode(require$$1$1.unref(DownOutlined$1), { class: "bm-multi-cascader-icon bm-multi-cascader-caret" }),
|
|
64218
64269
|
require$$1$1.createVNode(require$$1$1.unref(CloseCircleFilled$1), {
|
|
@@ -64229,14 +64280,14 @@ var process = {
|
|
|
64229
64280
|
};
|
|
64230
64281
|
}
|
|
64231
64282
|
});
|
|
64232
|
-
var MultiCascaderCompose = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
64283
|
+
var MultiCascaderCompose = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__file", "multi-cascader-compose.vue"]]);
|
|
64233
64284
|
|
|
64234
64285
|
const BmMultiCascaderCompose = withInstall$2(MultiCascaderCompose);
|
|
64235
64286
|
|
|
64236
64287
|
const __default__$2 = {
|
|
64237
64288
|
name: "BmSearchFilter"
|
|
64238
64289
|
};
|
|
64239
|
-
const _sfc_main$
|
|
64290
|
+
const _sfc_main$b = /* @__PURE__ */ require$$1$1.defineComponent({
|
|
64240
64291
|
...__default__$2,
|
|
64241
64292
|
props: searchFilterProps,
|
|
64242
64293
|
emits: ["update:value", "submit", "reset", "expand"],
|
|
@@ -64316,11 +64367,15 @@ var process = {
|
|
|
64316
64367
|
require$$1$1.onBeforeUnmount(() => {
|
|
64317
64368
|
window.removeEventListener("resize", handleResize);
|
|
64318
64369
|
});
|
|
64319
|
-
require$$1$1.watch(
|
|
64320
|
-
|
|
64321
|
-
|
|
64322
|
-
|
|
64323
|
-
|
|
64370
|
+
require$$1$1.watch(
|
|
64371
|
+
() => props.showExpandBtn,
|
|
64372
|
+
(val) => {
|
|
64373
|
+
handleShowExpandBtn(val);
|
|
64374
|
+
},
|
|
64375
|
+
{
|
|
64376
|
+
immediate: true
|
|
64377
|
+
}
|
|
64378
|
+
);
|
|
64324
64379
|
const expandRule = require$$1$1.computed(() => {
|
|
64325
64380
|
const fixedCount = props.fixedCount && props.fixedCount >= 0 ? props.fixedCount : 0;
|
|
64326
64381
|
const fixedFields = props.fixedFields?.length ? props.fixedFields : [];
|
|
@@ -64339,11 +64394,15 @@ var process = {
|
|
|
64339
64394
|
});
|
|
64340
64395
|
}
|
|
64341
64396
|
}
|
|
64342
|
-
require$$1$1.watch(
|
|
64343
|
-
|
|
64344
|
-
|
|
64345
|
-
|
|
64346
|
-
|
|
64397
|
+
require$$1$1.watch(
|
|
64398
|
+
isExpand,
|
|
64399
|
+
(val) => {
|
|
64400
|
+
handleChangeExpand(val);
|
|
64401
|
+
},
|
|
64402
|
+
{
|
|
64403
|
+
immediate: true
|
|
64404
|
+
}
|
|
64405
|
+
);
|
|
64347
64406
|
expose({
|
|
64348
64407
|
fApi
|
|
64349
64408
|
});
|
|
@@ -64364,7 +64423,7 @@ var process = {
|
|
|
64364
64423
|
};
|
|
64365
64424
|
}
|
|
64366
64425
|
});
|
|
64367
|
-
var SearchFilter = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
64426
|
+
var SearchFilter = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__file", "search-filter.vue"]]);
|
|
64368
64427
|
|
|
64369
64428
|
const BmSearchFilter = withInstall$2(SearchFilter);
|
|
64370
64429
|
|
|
@@ -72931,7 +72990,7 @@ var process = {
|
|
|
72931
72990
|
|
|
72932
72991
|
var default_1 = popover.default = _default$b;
|
|
72933
72992
|
|
|
72934
|
-
const _sfc_main$
|
|
72993
|
+
const _sfc_main$a = require$$1$1.defineComponent({
|
|
72935
72994
|
name: "BmShopsFilter",
|
|
72936
72995
|
components: {
|
|
72937
72996
|
DownOutlined: DownOutlined$1,
|
|
@@ -73091,22 +73150,28 @@ var process = {
|
|
|
73091
73150
|
};
|
|
73092
73151
|
props.loadFilter().then((data) => {
|
|
73093
73152
|
state.filterArr = data;
|
|
73094
|
-
state.filterSelects = state.filterArr.map(
|
|
73095
|
-
|
|
73096
|
-
|
|
73153
|
+
state.filterSelects = state.filterArr.map(
|
|
73154
|
+
(item) => {
|
|
73155
|
+
return item.multiple ? [] : "";
|
|
73156
|
+
}
|
|
73157
|
+
);
|
|
73097
73158
|
}).finally(() => {
|
|
73098
73159
|
methods.fetchData();
|
|
73099
73160
|
});
|
|
73100
|
-
require$$1$1.watch(
|
|
73101
|
-
|
|
73102
|
-
|
|
73103
|
-
|
|
73104
|
-
|
|
73105
|
-
|
|
73106
|
-
|
|
73107
|
-
|
|
73108
|
-
|
|
73109
|
-
|
|
73161
|
+
require$$1$1.watch(
|
|
73162
|
+
() => state.shopCheck,
|
|
73163
|
+
() => {
|
|
73164
|
+
let list = [];
|
|
73165
|
+
for (let [key, value] of Object.entries(state.shopCheck)) {
|
|
73166
|
+
value && list.push(key);
|
|
73167
|
+
}
|
|
73168
|
+
state.selected = list;
|
|
73169
|
+
emit("update:selected", list);
|
|
73170
|
+
emit("change", list);
|
|
73171
|
+
methods.checkboxChange();
|
|
73172
|
+
},
|
|
73173
|
+
{ deep: true }
|
|
73174
|
+
);
|
|
73110
73175
|
if (props.showAlways) {
|
|
73111
73176
|
state.isActive = true;
|
|
73112
73177
|
}
|
|
@@ -73124,19 +73189,19 @@ var process = {
|
|
|
73124
73189
|
};
|
|
73125
73190
|
}
|
|
73126
73191
|
});
|
|
73127
|
-
const _hoisted_1$
|
|
73128
|
-
const _hoisted_2$
|
|
73129
|
-
const _hoisted_3$
|
|
73130
|
-
const _hoisted_4$
|
|
73131
|
-
const _hoisted_5$
|
|
73132
|
-
const _hoisted_6$
|
|
73133
|
-
const _hoisted_7$
|
|
73192
|
+
const _hoisted_1$8 = /* @__PURE__ */ require$$1$1.createElementVNode("span", null, "\u8BF7\u9009\u62E9", -1);
|
|
73193
|
+
const _hoisted_2$6 = { class: "input-icon active-icon" };
|
|
73194
|
+
const _hoisted_3$5 = { class: "pop-seleted-title" };
|
|
73195
|
+
const _hoisted_4$5 = /* @__PURE__ */ require$$1$1.createTextVNode(" \u5DF2\u9009\u62E9");
|
|
73196
|
+
const _hoisted_5$5 = /* @__PURE__ */ require$$1$1.createTextVNode("\u9879 ");
|
|
73197
|
+
const _hoisted_6$4 = { class: "__shops-filter-list" };
|
|
73198
|
+
const _hoisted_7$4 = {
|
|
73134
73199
|
key: 0,
|
|
73135
73200
|
class: "__shops-filter-tabs"
|
|
73136
73201
|
};
|
|
73137
|
-
const _hoisted_8$
|
|
73138
|
-
const _hoisted_9$
|
|
73139
|
-
const _hoisted_10$
|
|
73202
|
+
const _hoisted_8$4 = { class: "label" };
|
|
73203
|
+
const _hoisted_9$4 = { class: "__shops-filter-areas" };
|
|
73204
|
+
const _hoisted_10$4 = ["onClick"];
|
|
73140
73205
|
const _hoisted_11$3 = ["onClick"];
|
|
73141
73206
|
const _hoisted_12$3 = { class: "__shops-filter-selecting" };
|
|
73142
73207
|
const _hoisted_13$3 = /* @__PURE__ */ require$$1$1.createTextVNode(" \u5DF2\u9009\u62E9");
|
|
@@ -73152,7 +73217,7 @@ var process = {
|
|
|
73152
73217
|
const _hoisted_20$1 = /* @__PURE__ */ require$$1$1.createTextVNode(" \u5DF2\u9009\u62E9");
|
|
73153
73218
|
const _hoisted_21$1 = /* @__PURE__ */ require$$1$1.createTextVNode("\u9879 ");
|
|
73154
73219
|
const _hoisted_22$1 = /* @__PURE__ */ require$$1$1.createElementVNode("span", { style: { "color": "#9393a3" } }, "\u6682\u65E0\u6570\u636E", -1);
|
|
73155
|
-
function _sfc_render$
|
|
73220
|
+
function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
73156
73221
|
const _component_down_outlined = require$$1$1.resolveComponent("down-outlined");
|
|
73157
73222
|
const _component_close_circle_filled = require$$1$1.resolveComponent("close-circle-filled");
|
|
73158
73223
|
const _component_Popover = require$$1$1.resolveComponent("Popover");
|
|
@@ -73179,8 +73244,8 @@ var process = {
|
|
|
73179
73244
|
onClick: _cache[3] || (_cache[3] = (...args) => _ctx.triggleActive && _ctx.triggleActive(...args))
|
|
73180
73245
|
}, [
|
|
73181
73246
|
require$$1$1.withDirectives(require$$1$1.createElementVNode("div", null, [
|
|
73182
|
-
_hoisted_1$
|
|
73183
|
-
require$$1$1.createElementVNode("span", _hoisted_2$
|
|
73247
|
+
_hoisted_1$8,
|
|
73248
|
+
require$$1$1.createElementVNode("span", _hoisted_2$6, [
|
|
73184
73249
|
require$$1$1.createVNode(_component_down_outlined)
|
|
73185
73250
|
])
|
|
73186
73251
|
], 512), [
|
|
@@ -73196,10 +73261,10 @@ var process = {
|
|
|
73196
73261
|
class: "pop-seleted",
|
|
73197
73262
|
style: require$$1$1.normalizeStyle({ "min-width": _ctx.displayParams?.width || "436px" })
|
|
73198
73263
|
}, [
|
|
73199
|
-
require$$1$1.createElementVNode("div", _hoisted_3$
|
|
73200
|
-
_hoisted_4$
|
|
73264
|
+
require$$1$1.createElementVNode("div", _hoisted_3$5, [
|
|
73265
|
+
_hoisted_4$5,
|
|
73201
73266
|
require$$1$1.createElementVNode("span", null, require$$1$1.toDisplayString(_ctx.selected.length), 1),
|
|
73202
|
-
_hoisted_5$
|
|
73267
|
+
_hoisted_5$5
|
|
73203
73268
|
]),
|
|
73204
73269
|
require$$1$1.createElementVNode("div", {
|
|
73205
73270
|
class: "pop-seleted-shops",
|
|
@@ -73216,7 +73281,7 @@ var process = {
|
|
|
73216
73281
|
], 4)
|
|
73217
73282
|
]),
|
|
73218
73283
|
default: require$$1$1.withCtx(() => [
|
|
73219
|
-
require$$1$1.createElementVNode("div", _hoisted_6$
|
|
73284
|
+
require$$1$1.createElementVNode("div", _hoisted_6$4, [
|
|
73220
73285
|
(require$$1$1.openBlock(true), require$$1$1.createElementBlock(require$$1$1.Fragment, null, require$$1$1.renderList(_ctx.selected, (item) => {
|
|
73221
73286
|
return require$$1$1.openBlock(), require$$1$1.createElementBlock("div", {
|
|
73222
73287
|
key: item,
|
|
@@ -73256,20 +73321,20 @@ var process = {
|
|
|
73256
73321
|
require$$1$1.withDirectives(require$$1$1.createElementVNode("div", {
|
|
73257
73322
|
class: require$$1$1.normalizeClass(["__shops-filter-content", { "__shops-filter-no-absolute": _ctx.showAlways }])
|
|
73258
73323
|
}, [
|
|
73259
|
-
_ctx.filterArr && _ctx.filterArr.length ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_7$
|
|
73324
|
+
_ctx.filterArr && _ctx.filterArr.length ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_7$4, [
|
|
73260
73325
|
(require$$1$1.openBlock(true), require$$1$1.createElementBlock(require$$1$1.Fragment, null, require$$1$1.renderList(_ctx.filterArr, (item, index) => {
|
|
73261
73326
|
return require$$1$1.openBlock(), require$$1$1.createElementBlock("div", {
|
|
73262
73327
|
key: item.paramsStr,
|
|
73263
73328
|
class: "__shops-filter-area-tabs"
|
|
73264
73329
|
}, [
|
|
73265
|
-
require$$1$1.createElementVNode("div", _hoisted_8$
|
|
73266
|
-
require$$1$1.createElementVNode("div", _hoisted_9$
|
|
73330
|
+
require$$1$1.createElementVNode("div", _hoisted_8$4, require$$1$1.toDisplayString(item.label) + ":", 1),
|
|
73331
|
+
require$$1$1.createElementVNode("div", _hoisted_9$4, [
|
|
73267
73332
|
require$$1$1.createElementVNode("span", {
|
|
73268
73333
|
class: require$$1$1.normalizeClass({
|
|
73269
73334
|
active: !(item.multiple ? _ctx.filterSelects[index].length : !!_ctx.filterSelects[index])
|
|
73270
73335
|
}),
|
|
73271
73336
|
onClick: require$$1$1.withModifiers(($event) => _ctx.changeFilterSelect(index, ""), ["self"])
|
|
73272
|
-
}, "\u5168\u90E8", 10, _hoisted_10$
|
|
73337
|
+
}, "\u5168\u90E8", 10, _hoisted_10$4),
|
|
73273
73338
|
(require$$1$1.openBlock(true), require$$1$1.createElementBlock(require$$1$1.Fragment, null, require$$1$1.renderList(item.list, (element) => {
|
|
73274
73339
|
return require$$1$1.openBlock(), require$$1$1.createElementBlock("span", {
|
|
73275
73340
|
key: element.code,
|
|
@@ -73365,7 +73430,7 @@ var process = {
|
|
|
73365
73430
|
])
|
|
73366
73431
|
]);
|
|
73367
73432
|
}
|
|
73368
|
-
var shopsFilter = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
73433
|
+
var shopsFilter = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$8], ["__file", "shops-filter.vue"]]);
|
|
73369
73434
|
|
|
73370
73435
|
const BmShopsFilter = withInstall$2(shopsFilter);
|
|
73371
73436
|
|
|
@@ -75833,7 +75898,7 @@ var process = {
|
|
|
75833
75898
|
});
|
|
75834
75899
|
};
|
|
75835
75900
|
|
|
75836
|
-
syncScroll(
|
|
75901
|
+
syncScroll(5);
|
|
75837
75902
|
}
|
|
75838
75903
|
};
|
|
75839
75904
|
}
|
|
@@ -80343,7 +80408,7 @@ var process = {
|
|
|
80343
80408
|
|
|
80344
80409
|
var ATree = /*@__PURE__*/getDefaultExportFromCjs(tree);
|
|
80345
80410
|
|
|
80346
|
-
const _sfc_main$
|
|
80411
|
+
const _sfc_main$9 = require$$1$1.defineComponent({
|
|
80347
80412
|
components: {
|
|
80348
80413
|
CloseCircleFilled: CloseCircleFilled$1,
|
|
80349
80414
|
SearchOutlined: SearchOutlined$4,
|
|
@@ -80376,6 +80441,14 @@ var process = {
|
|
|
80376
80441
|
curlistKeys: {
|
|
80377
80442
|
type: Set,
|
|
80378
80443
|
default: () => /* @__PURE__ */ new Set()
|
|
80444
|
+
},
|
|
80445
|
+
showCount: {
|
|
80446
|
+
type: Boolean,
|
|
80447
|
+
default: true
|
|
80448
|
+
},
|
|
80449
|
+
unitStr: {
|
|
80450
|
+
type: String,
|
|
80451
|
+
default: "\u4EBA"
|
|
80379
80452
|
}
|
|
80380
80453
|
},
|
|
80381
80454
|
emits: ["fetchList", "update:selected"],
|
|
@@ -80435,39 +80508,50 @@ var process = {
|
|
|
80435
80508
|
return data ? data.title : "\u672A\u77E5";
|
|
80436
80509
|
}
|
|
80437
80510
|
};
|
|
80438
|
-
require$$1$1.watch(
|
|
80439
|
-
|
|
80440
|
-
|
|
80441
|
-
|
|
80442
|
-
|
|
80443
|
-
|
|
80444
|
-
|
|
80445
|
-
|
|
80446
|
-
|
|
80447
|
-
|
|
80448
|
-
|
|
80449
|
-
|
|
80450
|
-
|
|
80451
|
-
|
|
80452
|
-
|
|
80453
|
-
|
|
80454
|
-
|
|
80455
|
-
|
|
80456
|
-
|
|
80457
|
-
|
|
80458
|
-
|
|
80459
|
-
|
|
80460
|
-
|
|
80461
|
-
let
|
|
80462
|
-
|
|
80463
|
-
|
|
80464
|
-
|
|
80465
|
-
|
|
80466
|
-
|
|
80467
|
-
|
|
80468
|
-
|
|
80469
|
-
|
|
80470
|
-
|
|
80511
|
+
require$$1$1.watch(
|
|
80512
|
+
() => state.listChecked,
|
|
80513
|
+
() => {
|
|
80514
|
+
let list = [];
|
|
80515
|
+
for (let [key, value] of Object.entries(state.listChecked)) {
|
|
80516
|
+
value && list.push(key);
|
|
80517
|
+
}
|
|
80518
|
+
if (props.limit > 0 && list.length >= props.limit)
|
|
80519
|
+
state.isFulfill = true;
|
|
80520
|
+
else
|
|
80521
|
+
state.isFulfill = false;
|
|
80522
|
+
methods.setState();
|
|
80523
|
+
emit("update:selected", list);
|
|
80524
|
+
},
|
|
80525
|
+
{ deep: true }
|
|
80526
|
+
);
|
|
80527
|
+
require$$1$1.watch(
|
|
80528
|
+
() => state.departmentChecked,
|
|
80529
|
+
() => {
|
|
80530
|
+
let flatMap = props.dataMap;
|
|
80531
|
+
let curlistKeys = props.curlistKeys;
|
|
80532
|
+
let hadselected = new Set(props.selected);
|
|
80533
|
+
let curselect = new Set(state.departmentChecked);
|
|
80534
|
+
for (let key of hadselected) {
|
|
80535
|
+
if (curlistKeys.has(key) && (!curselect.has(key) || curselect.has(key) && curselect.has(flatMap.get(key)["parent"]))) {
|
|
80536
|
+
hadselected.delete(key);
|
|
80537
|
+
}
|
|
80538
|
+
}
|
|
80539
|
+
for (let key of curselect) {
|
|
80540
|
+
let obj = flatMap.get(key);
|
|
80541
|
+
if (obj && !curselect.has(obj["parent"])) {
|
|
80542
|
+
hadselected.add(key);
|
|
80543
|
+
}
|
|
80544
|
+
}
|
|
80545
|
+
emit("update:selected", Array.from(hadselected));
|
|
80546
|
+
},
|
|
80547
|
+
{ deep: true }
|
|
80548
|
+
);
|
|
80549
|
+
require$$1$1.watch(
|
|
80550
|
+
() => props.list,
|
|
80551
|
+
() => {
|
|
80552
|
+
!props.isTree && methods.setState();
|
|
80553
|
+
}
|
|
80554
|
+
);
|
|
80471
80555
|
require$$1$1.onMounted(() => {
|
|
80472
80556
|
let list = props.selected;
|
|
80473
80557
|
list && list.forEach((key) => {
|
|
@@ -80480,41 +80564,44 @@ var process = {
|
|
|
80480
80564
|
};
|
|
80481
80565
|
}
|
|
80482
80566
|
});
|
|
80483
|
-
const _hoisted_1$
|
|
80484
|
-
const _hoisted_2$
|
|
80485
|
-
const _hoisted_3$
|
|
80486
|
-
const _hoisted_4$
|
|
80487
|
-
const _hoisted_5$
|
|
80488
|
-
const _hoisted_6$
|
|
80489
|
-
const _hoisted_7$
|
|
80490
|
-
const _hoisted_8$
|
|
80567
|
+
const _hoisted_1$7 = { class: "multiple-selector" };
|
|
80568
|
+
const _hoisted_2$5 = { class: "__selector-modal-panel" };
|
|
80569
|
+
const _hoisted_3$4 = { class: "__search-panel" };
|
|
80570
|
+
const _hoisted_4$4 = { class: "__selector-modal-options" };
|
|
80571
|
+
const _hoisted_5$4 = { class: "__selector-modal-options-item fixed-option" };
|
|
80572
|
+
const _hoisted_6$3 = /* @__PURE__ */ require$$1$1.createTextVNode("\u5168\u9009");
|
|
80573
|
+
const _hoisted_7$3 = { class: "department-option-item" };
|
|
80574
|
+
const _hoisted_8$3 = {
|
|
80491
80575
|
key: 0,
|
|
80492
80576
|
class: "department-desc"
|
|
80493
80577
|
};
|
|
80494
|
-
const _hoisted_9$
|
|
80578
|
+
const _hoisted_9$3 = {
|
|
80495
80579
|
key: 2,
|
|
80496
80580
|
class: "noData",
|
|
80497
80581
|
style: { "height": "280px" }
|
|
80498
80582
|
};
|
|
80499
|
-
const _hoisted_10$
|
|
80583
|
+
const _hoisted_10$3 = { style: { "color": "#9393a3", "font-size": "12px", "font-weight": "400" } };
|
|
80500
80584
|
const _hoisted_11$2 = { class: "__selector-chosen-panel" };
|
|
80501
|
-
const _hoisted_12$2 = {
|
|
80585
|
+
const _hoisted_12$2 = {
|
|
80586
|
+
key: 0,
|
|
80587
|
+
class: "__chosen-panel-tip"
|
|
80588
|
+
};
|
|
80502
80589
|
const _hoisted_13$2 = {
|
|
80503
80590
|
key: 0,
|
|
80504
80591
|
class: "__limit-tip"
|
|
80505
80592
|
};
|
|
80506
80593
|
const _hoisted_14$2 = { class: "__chosen-panel-list" };
|
|
80507
80594
|
const _hoisted_15$2 = { class: "__tiem-title" };
|
|
80508
|
-
function _sfc_render$
|
|
80595
|
+
function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
80509
80596
|
const _component_search_outlined = require$$1$1.resolveComponent("search-outlined");
|
|
80510
80597
|
const _component_AInput = require$$1$1.resolveComponent("AInput");
|
|
80511
80598
|
const _component_Checkbox = require$$1$1.resolveComponent("Checkbox");
|
|
80512
80599
|
const _component_ATree = require$$1$1.resolveComponent("ATree");
|
|
80513
80600
|
const _component_Empty = require$$1$1.resolveComponent("Empty");
|
|
80514
80601
|
const _component_CloseCircleFilled = require$$1$1.resolveComponent("CloseCircleFilled");
|
|
80515
|
-
return require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_1$
|
|
80516
|
-
require$$1$1.createElementVNode("div", _hoisted_2$
|
|
80517
|
-
require$$1$1.createElementVNode("div", _hoisted_3$
|
|
80602
|
+
return require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_1$7, [
|
|
80603
|
+
require$$1$1.createElementVNode("div", _hoisted_2$5, [
|
|
80604
|
+
require$$1$1.createElementVNode("div", _hoisted_3$4, [
|
|
80518
80605
|
require$$1$1.createVNode(_component_AInput, {
|
|
80519
80606
|
value: _ctx.searchVal,
|
|
80520
80607
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => _ctx.searchVal = $event),
|
|
@@ -80526,9 +80613,9 @@ var process = {
|
|
|
80526
80613
|
]),
|
|
80527
80614
|
_: 1
|
|
80528
80615
|
}, 8, ["value", "onChange"]),
|
|
80529
|
-
require$$1$1.createElementVNode("div", _hoisted_4$
|
|
80616
|
+
require$$1$1.createElementVNode("div", _hoisted_4$4, [
|
|
80530
80617
|
!_ctx.isTree ? (require$$1$1.openBlock(), require$$1$1.createElementBlock(require$$1$1.Fragment, { key: 0 }, [
|
|
80531
|
-
require$$1$1.createElementVNode("div", _hoisted_5$
|
|
80618
|
+
require$$1$1.createElementVNode("div", _hoisted_5$4, [
|
|
80532
80619
|
require$$1$1.withDirectives(require$$1$1.createVNode(_component_Checkbox, {
|
|
80533
80620
|
checked: _ctx.selectAll,
|
|
80534
80621
|
"onUpdate:checked": _cache[1] || (_cache[1] = ($event) => _ctx.selectAll = $event),
|
|
@@ -80536,7 +80623,7 @@ var process = {
|
|
|
80536
80623
|
onChange: _ctx.changeAllOption
|
|
80537
80624
|
}, {
|
|
80538
80625
|
default: require$$1$1.withCtx(() => [
|
|
80539
|
-
_hoisted_6$
|
|
80626
|
+
_hoisted_6$3
|
|
80540
80627
|
]),
|
|
80541
80628
|
_: 1
|
|
80542
80629
|
}, 8, ["checked", "indeterminate", "onChange"]), [
|
|
@@ -80569,17 +80656,17 @@ var process = {
|
|
|
80569
80656
|
"tree-data": _ctx.list
|
|
80570
80657
|
}, {
|
|
80571
80658
|
title: require$$1$1.withCtx(({ title, description }) => [
|
|
80572
|
-
require$$1$1.createElementVNode("div", _hoisted_7$
|
|
80659
|
+
require$$1$1.createElementVNode("div", _hoisted_7$3, [
|
|
80573
80660
|
require$$1$1.createElementVNode("span", null, require$$1$1.toDisplayString(title), 1),
|
|
80574
|
-
description ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("p", _hoisted_8$
|
|
80661
|
+
description ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("p", _hoisted_8$3, require$$1$1.toDisplayString(description), 1)) : require$$1$1.createCommentVNode("v-if", true)
|
|
80575
80662
|
])
|
|
80576
80663
|
]),
|
|
80577
80664
|
_: 1
|
|
80578
80665
|
}, 8, ["checkedKeys", "tree-data"])) : require$$1$1.createCommentVNode("v-if", true),
|
|
80579
|
-
_ctx.list && !_ctx.list.length ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_9$
|
|
80666
|
+
_ctx.list && !_ctx.list.length ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_9$3, [
|
|
80580
80667
|
require$$1$1.createVNode(_component_Empty, { image: _ctx.emptyPic }, {
|
|
80581
80668
|
description: require$$1$1.withCtx(() => [
|
|
80582
|
-
require$$1$1.createElementVNode("span", _hoisted_10$
|
|
80669
|
+
require$$1$1.createElementVNode("span", _hoisted_10$3, require$$1$1.toDisplayString(!!_ctx.searchVal ? "\u6682\u65E0\u6570\u636E" : "\u8BF7\u5148\u641C\u7D22\u4EBA\u5458\u5173\u952E\u5B57"), 1)
|
|
80583
80670
|
]),
|
|
80584
80671
|
_: 1
|
|
80585
80672
|
}, 8, ["image"])
|
|
@@ -80588,10 +80675,10 @@ var process = {
|
|
|
80588
80675
|
])
|
|
80589
80676
|
]),
|
|
80590
80677
|
require$$1$1.createElementVNode("div", _hoisted_11$2, [
|
|
80591
|
-
require$$1$1.
|
|
80678
|
+
_ctx.showCount ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_12$2, [
|
|
80592
80679
|
require$$1$1.createElementVNode("span", null, "\u5DF2\u9009\u62E9" + require$$1$1.toDisplayString(_ctx.selected && _ctx.selected.length || 0) + "\u4EBA", 1),
|
|
80593
|
-
_ctx.limit ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("span", _hoisted_13$2, "\u6700\u591A\u9009\u62E9" + require$$1$1.toDisplayString(_ctx.limit) +
|
|
80594
|
-
]),
|
|
80680
|
+
_ctx.limit ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("span", _hoisted_13$2, "\u6700\u591A\u9009\u62E9" + require$$1$1.toDisplayString(_ctx.limit) + require$$1$1.toDisplayString(_ctx.unitStr), 1)) : require$$1$1.createCommentVNode("v-if", true)
|
|
80681
|
+
])) : require$$1$1.createCommentVNode("v-if", true),
|
|
80595
80682
|
require$$1$1.createElementVNode("div", _hoisted_14$2, [
|
|
80596
80683
|
(require$$1$1.openBlock(true), require$$1$1.createElementBlock(require$$1$1.Fragment, null, require$$1$1.renderList(_ctx.selected, (item) => {
|
|
80597
80684
|
return require$$1$1.openBlock(), require$$1$1.createElementBlock("div", {
|
|
@@ -80609,7 +80696,7 @@ var process = {
|
|
|
80609
80696
|
])
|
|
80610
80697
|
]);
|
|
80611
80698
|
}
|
|
80612
|
-
var multipleCmp = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
80699
|
+
var multipleCmp = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$7], ["__file", "multipleCmp.vue"]]);
|
|
80613
80700
|
|
|
80614
80701
|
var radio = {};
|
|
80615
80702
|
|
|
@@ -81048,7 +81135,7 @@ var process = {
|
|
|
81048
81135
|
|
|
81049
81136
|
var ARadio = /*@__PURE__*/getDefaultExportFromCjs(radio);
|
|
81050
81137
|
|
|
81051
|
-
const _sfc_main$
|
|
81138
|
+
const _sfc_main$8 = require$$1$1.defineComponent({
|
|
81052
81139
|
name: "RadioCmp",
|
|
81053
81140
|
components: { ARadio, AInput, ARadioGroup: radio.Group, Empty: default_1$3, SearchOutlined: SearchOutlined$4 },
|
|
81054
81141
|
props: {
|
|
@@ -81080,25 +81167,25 @@ var process = {
|
|
|
81080
81167
|
};
|
|
81081
81168
|
}
|
|
81082
81169
|
});
|
|
81083
|
-
const _hoisted_1$
|
|
81084
|
-
const _hoisted_2$
|
|
81085
|
-
const _hoisted_3$
|
|
81170
|
+
const _hoisted_1$6 = { class: "radio-selector-panel" };
|
|
81171
|
+
const _hoisted_2$4 = { class: "__search-panel withoutpad" };
|
|
81172
|
+
const _hoisted_3$3 = {
|
|
81086
81173
|
key: 0,
|
|
81087
81174
|
class: "__selector-modal-options __radio-panel"
|
|
81088
81175
|
};
|
|
81089
|
-
const _hoisted_4$
|
|
81176
|
+
const _hoisted_4$3 = {
|
|
81090
81177
|
key: 1,
|
|
81091
81178
|
class: "noData"
|
|
81092
81179
|
};
|
|
81093
|
-
const _hoisted_5$
|
|
81094
|
-
function _sfc_render$
|
|
81180
|
+
const _hoisted_5$3 = { style: { "color": "#9393a3", "font-size": "12px", "font-weight": "400" } };
|
|
81181
|
+
function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
81095
81182
|
const _component_search_outlined = require$$1$1.resolveComponent("search-outlined");
|
|
81096
81183
|
const _component_a_input = require$$1$1.resolveComponent("a-input");
|
|
81097
81184
|
const _component_ARadio = require$$1$1.resolveComponent("ARadio");
|
|
81098
81185
|
const _component_ARadioGroup = require$$1$1.resolveComponent("ARadioGroup");
|
|
81099
81186
|
const _component_Empty = require$$1$1.resolveComponent("Empty");
|
|
81100
|
-
return require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_1$
|
|
81101
|
-
require$$1$1.createElementVNode("div", _hoisted_2$
|
|
81187
|
+
return require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_1$6, [
|
|
81188
|
+
require$$1$1.createElementVNode("div", _hoisted_2$4, [
|
|
81102
81189
|
require$$1$1.createVNode(_component_a_input, {
|
|
81103
81190
|
value: _ctx.searchVal,
|
|
81104
81191
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => _ctx.searchVal = $event),
|
|
@@ -81110,7 +81197,7 @@ var process = {
|
|
|
81110
81197
|
]),
|
|
81111
81198
|
_: 1
|
|
81112
81199
|
}, 8, ["value", "onChange"]),
|
|
81113
|
-
_ctx.list && _ctx.list.length ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_3$
|
|
81200
|
+
_ctx.list && _ctx.list.length ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_3$3, [
|
|
81114
81201
|
require$$1$1.createVNode(_component_ARadioGroup, {
|
|
81115
81202
|
value: _ctx.selected,
|
|
81116
81203
|
style: { width: "100%" },
|
|
@@ -81133,10 +81220,10 @@ var process = {
|
|
|
81133
81220
|
_: 1
|
|
81134
81221
|
}, 8, ["value", "onChange"])
|
|
81135
81222
|
])) : require$$1$1.createCommentVNode("v-if", true),
|
|
81136
|
-
_ctx.list && !_ctx.list.length ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_4$
|
|
81223
|
+
_ctx.list && !_ctx.list.length ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_4$3, [
|
|
81137
81224
|
require$$1$1.createVNode(_component_Empty, { image: _ctx.emptyPic }, {
|
|
81138
81225
|
description: require$$1$1.withCtx(() => [
|
|
81139
|
-
require$$1$1.createElementVNode("span", _hoisted_5$
|
|
81226
|
+
require$$1$1.createElementVNode("span", _hoisted_5$3, require$$1$1.toDisplayString(!!_ctx.searchVal ? "\u6682\u65E0\u6570\u636E" : "\u8BF7\u5148\u641C\u7D22\u4EBA\u5458\u5173\u952E\u5B57"), 1)
|
|
81140
81227
|
]),
|
|
81141
81228
|
_: 1
|
|
81142
81229
|
}, 8, ["image"])
|
|
@@ -81144,9 +81231,9 @@ var process = {
|
|
|
81144
81231
|
])
|
|
81145
81232
|
]);
|
|
81146
81233
|
}
|
|
81147
|
-
var radioCmp = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
81234
|
+
var radioCmp = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$6], ["__file", "radioCmp.vue"]]);
|
|
81148
81235
|
|
|
81149
|
-
const _sfc_main$
|
|
81236
|
+
const _sfc_main$7 = require$$1$1.defineComponent({
|
|
81150
81237
|
name: "VariedCmp",
|
|
81151
81238
|
components: {
|
|
81152
81239
|
CloseCircleFilled: CloseCircleFilled$1,
|
|
@@ -81238,57 +81325,73 @@ var process = {
|
|
|
81238
81325
|
return data ? data.title : "\u672A\u77E5";
|
|
81239
81326
|
}
|
|
81240
81327
|
};
|
|
81241
|
-
require$$1$1.watch(
|
|
81242
|
-
|
|
81243
|
-
|
|
81244
|
-
|
|
81245
|
-
|
|
81246
|
-
|
|
81247
|
-
|
|
81248
|
-
|
|
81328
|
+
require$$1$1.watch(
|
|
81329
|
+
() => departmentChecked,
|
|
81330
|
+
() => {
|
|
81331
|
+
let flatMap = props.dataMap;
|
|
81332
|
+
let curlistKeys = props.curlistKeys;
|
|
81333
|
+
let hadselected = new Set(props.selected);
|
|
81334
|
+
let curselect = new Set(departmentChecked.value);
|
|
81335
|
+
for (let key of hadselected) {
|
|
81336
|
+
if (curlistKeys.has(key) && (!curselect.has(key) || curselect.has(key) && curselect.has(flatMap.get(key)["parent"]))) {
|
|
81337
|
+
hadselected.delete(key);
|
|
81338
|
+
}
|
|
81249
81339
|
}
|
|
81250
|
-
|
|
81251
|
-
|
|
81252
|
-
|
|
81253
|
-
|
|
81254
|
-
|
|
81340
|
+
for (let key of curselect) {
|
|
81341
|
+
let obj = flatMap.get(key);
|
|
81342
|
+
if (obj && !curselect.has(obj["parent"])) {
|
|
81343
|
+
hadselected.add(key);
|
|
81344
|
+
}
|
|
81255
81345
|
}
|
|
81256
|
-
|
|
81257
|
-
|
|
81258
|
-
|
|
81259
|
-
|
|
81260
|
-
|
|
81261
|
-
|
|
81262
|
-
|
|
81263
|
-
|
|
81264
|
-
|
|
81265
|
-
|
|
81346
|
+
emit("update:selected", Array.from(hadselected));
|
|
81347
|
+
},
|
|
81348
|
+
{ deep: true }
|
|
81349
|
+
);
|
|
81350
|
+
require$$1$1.watch(
|
|
81351
|
+
() => staffsChecked,
|
|
81352
|
+
() => {
|
|
81353
|
+
let set = new Set(props.selected.length ? props.selected : null);
|
|
81354
|
+
for (let [key, value] of Object.entries(staffsChecked.value)) {
|
|
81355
|
+
if (value) {
|
|
81356
|
+
set.add(key);
|
|
81357
|
+
} else {
|
|
81358
|
+
set.has(key) && set.delete(key);
|
|
81359
|
+
}
|
|
81266
81360
|
}
|
|
81267
|
-
|
|
81268
|
-
|
|
81269
|
-
|
|
81270
|
-
|
|
81271
|
-
|
|
81272
|
-
|
|
81273
|
-
|
|
81274
|
-
|
|
81275
|
-
|
|
81276
|
-
|
|
81361
|
+
emit("update:selected", Array.from(set));
|
|
81362
|
+
},
|
|
81363
|
+
{ deep: true }
|
|
81364
|
+
);
|
|
81365
|
+
require$$1$1.watch(
|
|
81366
|
+
() => shopChecked,
|
|
81367
|
+
() => {
|
|
81368
|
+
let set = new Set(props.selected.length ? props.selected : null);
|
|
81369
|
+
for (let [key, value] of Object.entries(shopChecked.value)) {
|
|
81370
|
+
if (value) {
|
|
81371
|
+
set.add(key);
|
|
81372
|
+
} else {
|
|
81373
|
+
set.has(key) && set.delete(key);
|
|
81374
|
+
}
|
|
81277
81375
|
}
|
|
81278
|
-
|
|
81279
|
-
|
|
81280
|
-
|
|
81281
|
-
|
|
81282
|
-
|
|
81283
|
-
|
|
81284
|
-
|
|
81285
|
-
|
|
81286
|
-
|
|
81287
|
-
|
|
81376
|
+
emit("update:selected", Array.from(set));
|
|
81377
|
+
},
|
|
81378
|
+
{ deep: true }
|
|
81379
|
+
);
|
|
81380
|
+
require$$1$1.watch(
|
|
81381
|
+
() => groupChecked,
|
|
81382
|
+
() => {
|
|
81383
|
+
let set = new Set(props.selected.length ? props.selected : null);
|
|
81384
|
+
for (let [key, value] of Object.entries(groupChecked.value)) {
|
|
81385
|
+
if (value) {
|
|
81386
|
+
set.add(key);
|
|
81387
|
+
} else {
|
|
81388
|
+
set.has(key) && set.delete(key);
|
|
81389
|
+
}
|
|
81288
81390
|
}
|
|
81289
|
-
|
|
81290
|
-
|
|
81291
|
-
|
|
81391
|
+
emit("update:selected", Array.from(set));
|
|
81392
|
+
},
|
|
81393
|
+
{ deep: true }
|
|
81394
|
+
);
|
|
81292
81395
|
require$$1$1.onMounted(() => {
|
|
81293
81396
|
let list = props.selected;
|
|
81294
81397
|
list && list.forEach((key) => {
|
|
@@ -81312,25 +81415,25 @@ var process = {
|
|
|
81312
81415
|
};
|
|
81313
81416
|
}
|
|
81314
81417
|
});
|
|
81315
|
-
const _hoisted_1$
|
|
81316
|
-
const _hoisted_2$
|
|
81317
|
-
const _hoisted_3$
|
|
81318
|
-
const _hoisted_4$
|
|
81319
|
-
const _hoisted_5$
|
|
81320
|
-
const _hoisted_6$
|
|
81418
|
+
const _hoisted_1$5 = { class: "varied-selector-panel" };
|
|
81419
|
+
const _hoisted_2$3 = { class: "__selector-modal-panel-withGroup" };
|
|
81420
|
+
const _hoisted_3$2 = { class: "varied-area-tabs" };
|
|
81421
|
+
const _hoisted_4$2 = ["onClick"];
|
|
81422
|
+
const _hoisted_5$2 = { class: "area-panel" };
|
|
81423
|
+
const _hoisted_6$2 = {
|
|
81321
81424
|
key: 0,
|
|
81322
81425
|
class: "noData"
|
|
81323
81426
|
};
|
|
81324
|
-
const _hoisted_7$
|
|
81325
|
-
const _hoisted_8$
|
|
81427
|
+
const _hoisted_7$2 = { style: { "color": "#9393a3", "font-size": "12px", "font-weight": "400" } };
|
|
81428
|
+
const _hoisted_8$2 = {
|
|
81326
81429
|
key: 0,
|
|
81327
81430
|
class: "__selector-modal-options"
|
|
81328
81431
|
};
|
|
81329
|
-
const _hoisted_9$
|
|
81432
|
+
const _hoisted_9$2 = {
|
|
81330
81433
|
key: 1,
|
|
81331
81434
|
class: "__selector-modal-options"
|
|
81332
81435
|
};
|
|
81333
|
-
const _hoisted_10$
|
|
81436
|
+
const _hoisted_10$2 = { class: "department-option-item" };
|
|
81334
81437
|
const _hoisted_11$1 = {
|
|
81335
81438
|
key: 0,
|
|
81336
81439
|
class: "department-desc"
|
|
@@ -81346,22 +81449,22 @@ var process = {
|
|
|
81346
81449
|
const _hoisted_14$1 = { class: "__selector-chosen-panel" };
|
|
81347
81450
|
const _hoisted_15$1 = { class: "__chosen-panel-list" };
|
|
81348
81451
|
const _hoisted_16$1 = { class: "__tiem-title" };
|
|
81349
|
-
function _sfc_render$
|
|
81452
|
+
function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
81350
81453
|
const _component_search_outlined = require$$1$1.resolveComponent("search-outlined");
|
|
81351
81454
|
const _component_a_input = require$$1$1.resolveComponent("a-input");
|
|
81352
81455
|
const _component_Empty = require$$1$1.resolveComponent("Empty");
|
|
81353
81456
|
const _component_Checkbox = require$$1$1.resolveComponent("Checkbox");
|
|
81354
81457
|
const _component_a_tree = require$$1$1.resolveComponent("a-tree");
|
|
81355
81458
|
const _component_CloseCircleFilled = require$$1$1.resolveComponent("CloseCircleFilled");
|
|
81356
|
-
return require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_1$
|
|
81357
|
-
require$$1$1.createElementVNode("div", _hoisted_2$
|
|
81358
|
-
require$$1$1.createElementVNode("div", _hoisted_3$
|
|
81459
|
+
return require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_1$5, [
|
|
81460
|
+
require$$1$1.createElementVNode("div", _hoisted_2$3, [
|
|
81461
|
+
require$$1$1.createElementVNode("div", _hoisted_3$2, [
|
|
81359
81462
|
(require$$1$1.openBlock(true), require$$1$1.createElementBlock(require$$1$1.Fragment, null, require$$1$1.renderList(_ctx.areas, (item) => {
|
|
81360
81463
|
return require$$1$1.openBlock(), require$$1$1.createElementBlock("div", {
|
|
81361
81464
|
key: item.key,
|
|
81362
81465
|
class: require$$1$1.normalizeClass(["area-tabs-item", { active: item.key === _ctx.activeKey }]),
|
|
81363
81466
|
onClick: require$$1$1.withModifiers(($event) => _ctx.changeArea(item), ["stop"])
|
|
81364
|
-
}, require$$1$1.toDisplayString(item.title), 11, _hoisted_4$
|
|
81467
|
+
}, require$$1$1.toDisplayString(item.title), 11, _hoisted_4$2);
|
|
81365
81468
|
}), 128))
|
|
81366
81469
|
]),
|
|
81367
81470
|
require$$1$1.createVNode(_component_a_input, {
|
|
@@ -81375,16 +81478,16 @@ var process = {
|
|
|
81375
81478
|
]),
|
|
81376
81479
|
_: 1
|
|
81377
81480
|
}, 8, ["value", "placeholder", "onChange"]),
|
|
81378
|
-
require$$1$1.createElementVNode("div", _hoisted_5$
|
|
81379
|
-
_ctx.list && !_ctx.list.length ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_6$
|
|
81481
|
+
require$$1$1.createElementVNode("div", _hoisted_5$2, [
|
|
81482
|
+
_ctx.list && !_ctx.list.length ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_6$2, [
|
|
81380
81483
|
require$$1$1.createVNode(_component_Empty, { image: _ctx.emptyPic }, {
|
|
81381
81484
|
description: require$$1$1.withCtx(() => [
|
|
81382
|
-
require$$1$1.createElementVNode("span", _hoisted_7$
|
|
81485
|
+
require$$1$1.createElementVNode("span", _hoisted_7$2, require$$1$1.toDisplayString(!!_ctx.searchVal ? "\u6682\u65E0\u6570\u636E" : "\u8BF7\u5148\u641C\u7D22\u4EBA\u5458\u5173\u952E\u5B57"), 1)
|
|
81383
81486
|
]),
|
|
81384
81487
|
_: 1
|
|
81385
81488
|
}, 8, ["image"])
|
|
81386
81489
|
])) : (require$$1$1.openBlock(), require$$1$1.createElementBlock(require$$1$1.Fragment, { key: 1 }, [
|
|
81387
|
-
_ctx.activeKey === 0 ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_8$
|
|
81490
|
+
_ctx.activeKey === 0 ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_8$2, [
|
|
81388
81491
|
(require$$1$1.openBlock(true), require$$1$1.createElementBlock(require$$1$1.Fragment, null, require$$1$1.renderList(_ctx.list, (item) => {
|
|
81389
81492
|
return require$$1$1.openBlock(), require$$1$1.createElementBlock("div", {
|
|
81390
81493
|
key: item.key,
|
|
@@ -81402,7 +81505,7 @@ var process = {
|
|
|
81402
81505
|
}, 1032, ["checked", "onUpdate:checked"])
|
|
81403
81506
|
]);
|
|
81404
81507
|
}), 128))
|
|
81405
|
-
])) : _ctx.activeKey === 1 ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_9$
|
|
81508
|
+
])) : _ctx.activeKey === 1 ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_9$2, [
|
|
81406
81509
|
require$$1$1.createVNode(_component_a_tree, {
|
|
81407
81510
|
checkedKeys: _ctx.departmentChecked,
|
|
81408
81511
|
"onUpdate:checkedKeys": _cache[1] || (_cache[1] = ($event) => _ctx.departmentChecked = $event),
|
|
@@ -81411,7 +81514,7 @@ var process = {
|
|
|
81411
81514
|
"tree-data": _ctx.list
|
|
81412
81515
|
}, {
|
|
81413
81516
|
title: require$$1$1.withCtx(({ title, description }) => [
|
|
81414
|
-
require$$1$1.createElementVNode("div", _hoisted_10$
|
|
81517
|
+
require$$1$1.createElementVNode("div", _hoisted_10$2, [
|
|
81415
81518
|
require$$1$1.createElementVNode("span", null, require$$1$1.toDisplayString(title), 1),
|
|
81416
81519
|
description ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("p", _hoisted_11$1, require$$1$1.toDisplayString(description), 1)) : require$$1$1.createCommentVNode("v-if", true)
|
|
81417
81520
|
])
|
|
@@ -81475,14 +81578,14 @@ var process = {
|
|
|
81475
81578
|
])
|
|
81476
81579
|
]);
|
|
81477
81580
|
}
|
|
81478
|
-
var VariedCmp = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
81581
|
+
var VariedCmp = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$5], ["__file", "variedCmp.vue"]]);
|
|
81479
81582
|
|
|
81480
81583
|
const MODE = {
|
|
81481
81584
|
RADIO: "radio",
|
|
81482
81585
|
MULTIPLE: "multiple",
|
|
81483
81586
|
VARIED: "varied"
|
|
81484
81587
|
};
|
|
81485
|
-
const _sfc_main$
|
|
81588
|
+
const _sfc_main$6 = require$$1$1.defineComponent({
|
|
81486
81589
|
name: "BmStaffsSelector",
|
|
81487
81590
|
components: { AModal: default_1$1, multipleCmp, radioCmp, VariedCmp },
|
|
81488
81591
|
props: {
|
|
@@ -81515,6 +81618,18 @@ var process = {
|
|
|
81515
81618
|
forceStatic: {
|
|
81516
81619
|
type: Boolean,
|
|
81517
81620
|
default: false
|
|
81621
|
+
},
|
|
81622
|
+
immediateFetch: {
|
|
81623
|
+
type: Boolean,
|
|
81624
|
+
default: false
|
|
81625
|
+
},
|
|
81626
|
+
showCount: {
|
|
81627
|
+
type: Boolean,
|
|
81628
|
+
default: true
|
|
81629
|
+
},
|
|
81630
|
+
unitStr: {
|
|
81631
|
+
type: String,
|
|
81632
|
+
default: "\u4EBA"
|
|
81518
81633
|
}
|
|
81519
81634
|
},
|
|
81520
81635
|
emits: ["update:visible", "update:select"],
|
|
@@ -81559,11 +81674,14 @@ var process = {
|
|
|
81559
81674
|
return map;
|
|
81560
81675
|
},
|
|
81561
81676
|
summitSelect() {
|
|
81562
|
-
if (typeof state.selected
|
|
81677
|
+
if (["string", "number"].includes(typeof state.selected)) {
|
|
81563
81678
|
emit("update:select", [state.dataMap.get(state.selected)]);
|
|
81564
81679
|
} else if (state.selected instanceof Array) {
|
|
81565
|
-
emit(
|
|
81566
|
-
|
|
81680
|
+
emit(
|
|
81681
|
+
"update:select",
|
|
81682
|
+
state.selected.map((item) => state.dataMap.get(item))
|
|
81683
|
+
);
|
|
81684
|
+
} else ;
|
|
81567
81685
|
state.list = [];
|
|
81568
81686
|
methods.modalCancel();
|
|
81569
81687
|
}
|
|
@@ -81583,14 +81701,19 @@ var process = {
|
|
|
81583
81701
|
return 648;
|
|
81584
81702
|
})
|
|
81585
81703
|
});
|
|
81704
|
+
require$$1$1.watch(() => props.visible, (val) => {
|
|
81705
|
+
if (val && props.immediateFetch) {
|
|
81706
|
+
methods.fetch({});
|
|
81707
|
+
}
|
|
81708
|
+
}, { immediate: true });
|
|
81586
81709
|
return {
|
|
81587
81710
|
...methods,
|
|
81588
81711
|
...require$$1$1.toRefs(state)
|
|
81589
81712
|
};
|
|
81590
81713
|
}
|
|
81591
81714
|
});
|
|
81592
|
-
const _hoisted_1$
|
|
81593
|
-
function _sfc_render$
|
|
81715
|
+
const _hoisted_1$4 = { class: "selector-content" };
|
|
81716
|
+
function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
81594
81717
|
const _component_radioCmp = require$$1$1.resolveComponent("radioCmp");
|
|
81595
81718
|
const _component_VariedCmp = require$$1$1.resolveComponent("VariedCmp");
|
|
81596
81719
|
const _component_multipleCmp = require$$1$1.resolveComponent("multipleCmp");
|
|
@@ -81607,7 +81730,7 @@ var process = {
|
|
|
81607
81730
|
onOk: _ctx.summitSelect
|
|
81608
81731
|
}, {
|
|
81609
81732
|
default: require$$1$1.withCtx(() => [
|
|
81610
|
-
require$$1$1.createElementVNode("div", _hoisted_1$
|
|
81733
|
+
require$$1$1.createElementVNode("div", _hoisted_1$4, [
|
|
81611
81734
|
_ctx.mode === "radio" ? (require$$1$1.openBlock(), require$$1$1.createBlock(_component_radioCmp, {
|
|
81612
81735
|
key: 0,
|
|
81613
81736
|
selected: _ctx.selected,
|
|
@@ -81631,18 +81754,20 @@ var process = {
|
|
|
81631
81754
|
"curlist-keys": _ctx.curlistKeys,
|
|
81632
81755
|
"is-tree": _ctx.multipTree,
|
|
81633
81756
|
"data-map": _ctx.dataMap,
|
|
81634
|
-
onFetchList: _ctx.fetch
|
|
81635
|
-
|
|
81757
|
+
onFetchList: _ctx.fetch,
|
|
81758
|
+
showCount: _ctx.showCount,
|
|
81759
|
+
unitStr: _ctx.unitStr
|
|
81760
|
+
}, null, 8, ["selected", "limit", "list", "curlist-keys", "is-tree", "data-map", "onFetchList", "showCount", "unitStr"]))
|
|
81636
81761
|
])
|
|
81637
81762
|
]),
|
|
81638
81763
|
_: 1
|
|
81639
81764
|
}, 8, ["title", "visible", "width", "onCancel", "onOk"]);
|
|
81640
81765
|
}
|
|
81641
|
-
var staffsSelector = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
81766
|
+
var staffsSelector = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$4], ["__file", "staffs-selector.vue"]]);
|
|
81642
81767
|
|
|
81643
81768
|
const BmStaffsSelector = withInstall$2(staffsSelector);
|
|
81644
81769
|
|
|
81645
|
-
const _sfc_main$
|
|
81770
|
+
const _sfc_main$5 = {
|
|
81646
81771
|
name: "BmFloatTable",
|
|
81647
81772
|
props: {
|
|
81648
81773
|
config: {
|
|
@@ -81866,7 +81991,9 @@ var process = {
|
|
|
81866
81991
|
if (state.floatHandleDomCol)
|
|
81867
81992
|
return;
|
|
81868
81993
|
let id = column.id;
|
|
81869
|
-
state.floatHandleDomCol = floatTable.value.querySelector(
|
|
81994
|
+
state.floatHandleDomCol = floatTable.value.querySelector(
|
|
81995
|
+
`.vxe-table--header-wrapper .vxe-header--row .${id}`
|
|
81996
|
+
);
|
|
81870
81997
|
},
|
|
81871
81998
|
leaveFloatTable() {
|
|
81872
81999
|
let timer = setTimeout(() => {
|
|
@@ -81927,36 +82054,43 @@ var process = {
|
|
|
81927
82054
|
let closeSetRow;
|
|
81928
82055
|
let headerWrapper;
|
|
81929
82056
|
if (props.isNeedFloatHandle) {
|
|
81930
|
-
inObserverDom = new IntersectionObserver(
|
|
81931
|
-
entries
|
|
81932
|
-
|
|
81933
|
-
|
|
81934
|
-
|
|
81935
|
-
|
|
81936
|
-
|
|
82057
|
+
inObserverDom = new IntersectionObserver(
|
|
82058
|
+
(entries) => {
|
|
82059
|
+
entries.forEach((item) => {
|
|
82060
|
+
if (item.intersectionRatio > 0.1) {
|
|
82061
|
+
closeSetRow = closeSetRow || item.target.closest(".vxe-header--row");
|
|
82062
|
+
headerWrapper = headerWrapper || item.target.closest(".vxe-table--header-wrapper");
|
|
82063
|
+
if (closeSetRow.clientWidth <= headerWrapper.clientWidth && !isHasOver) {
|
|
82064
|
+
inObserverDom.disconnect();
|
|
82065
|
+
} else {
|
|
82066
|
+
isHasOver = true;
|
|
82067
|
+
}
|
|
82068
|
+
state.isShowFloatHandle = false;
|
|
82069
|
+
state.atVisible = true;
|
|
81937
82070
|
} else {
|
|
81938
|
-
|
|
81939
|
-
|
|
81940
|
-
|
|
81941
|
-
|
|
81942
|
-
|
|
81943
|
-
if (gridOptions.value.data && gridOptions.value.data.length > 0) {
|
|
81944
|
-
state.goAnimationEnd = false;
|
|
81945
|
-
state.isShowFloatHandle = true;
|
|
81946
|
-
state.atVisible = false;
|
|
82071
|
+
if (gridOptions.value.data && gridOptions.value.data.length > 0) {
|
|
82072
|
+
state.goAnimationEnd = false;
|
|
82073
|
+
state.isShowFloatHandle = true;
|
|
82074
|
+
state.atVisible = false;
|
|
82075
|
+
}
|
|
81947
82076
|
}
|
|
82077
|
+
});
|
|
82078
|
+
},
|
|
82079
|
+
{
|
|
82080
|
+
threshold: 0.1
|
|
82081
|
+
}
|
|
82082
|
+
);
|
|
82083
|
+
require$$1$1.watch(
|
|
82084
|
+
() => state.floatHandleDomCol,
|
|
82085
|
+
function(col) {
|
|
82086
|
+
if (col) {
|
|
82087
|
+
inObserverDom.observe(col);
|
|
81948
82088
|
}
|
|
81949
|
-
}
|
|
81950
|
-
|
|
81951
|
-
|
|
81952
|
-
});
|
|
81953
|
-
require$$1$1.watch(() => state.floatHandleDomCol, function(col) {
|
|
81954
|
-
if (col) {
|
|
81955
|
-
inObserverDom.observe(col);
|
|
82089
|
+
},
|
|
82090
|
+
{
|
|
82091
|
+
immediate: true
|
|
81956
82092
|
}
|
|
81957
|
-
|
|
81958
|
-
immediate: true
|
|
81959
|
-
});
|
|
82093
|
+
);
|
|
81960
82094
|
}
|
|
81961
82095
|
return {
|
|
81962
82096
|
floatTable,
|
|
@@ -81970,11 +82104,11 @@ var process = {
|
|
|
81970
82104
|
};
|
|
81971
82105
|
}
|
|
81972
82106
|
};
|
|
81973
|
-
const _hoisted_1$
|
|
82107
|
+
const _hoisted_1$3 = {
|
|
81974
82108
|
key: 0,
|
|
81975
82109
|
class: "floatPager"
|
|
81976
82110
|
};
|
|
81977
|
-
function _sfc_render$
|
|
82111
|
+
function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
81978
82112
|
const _component_a_pagination = require$$1$1.resolveComponent("a-pagination");
|
|
81979
82113
|
const _component_a_empty = require$$1$1.resolveComponent("a-empty");
|
|
81980
82114
|
const _component_vxe_grid = require$$1$1.resolveComponent("vxe-grid");
|
|
@@ -81985,7 +82119,7 @@ var process = {
|
|
|
81985
82119
|
}, [
|
|
81986
82120
|
require$$1$1.createVNode(_component_vxe_grid, require$$1$1.mergeProps({ ref: "xGrid" }, $setup.gridOptions, require$$1$1.toHandlers($setup.gridEvents)), require$$1$1.createSlots({
|
|
81987
82121
|
pager: require$$1$1.withCtx(() => [
|
|
81988
|
-
$setup.pager.total && !$setup.pager.hideOnSinglePage ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_1$
|
|
82122
|
+
$setup.pager.total && !$setup.pager.hideOnSinglePage ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_1$3, [
|
|
81989
82123
|
require$$1$1.createVNode(_component_a_pagination, require$$1$1.mergeProps($setup.pager, {
|
|
81990
82124
|
onChange: _ctx.pageNoChange,
|
|
81991
82125
|
onShowSizeChange: _ctx.pageSizeChange
|
|
@@ -82046,20 +82180,20 @@ var process = {
|
|
|
82046
82180
|
])
|
|
82047
82181
|
], 34);
|
|
82048
82182
|
}
|
|
82049
|
-
var FloatTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
82183
|
+
var FloatTable = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$3], ["__file", "float-table.vue"]]);
|
|
82050
82184
|
|
|
82051
82185
|
const BmFloatTable = withInstall$2(FloatTable);
|
|
82052
82186
|
|
|
82053
|
-
const _sfc_main$
|
|
82187
|
+
const _sfc_main$4 = {
|
|
82054
82188
|
name: "BmOverTooltips",
|
|
82055
82189
|
props: {
|
|
82056
82190
|
title: {
|
|
82057
82191
|
type: String,
|
|
82058
|
-
default:
|
|
82192
|
+
default: void 0
|
|
82059
82193
|
},
|
|
82060
82194
|
labelTitle: {
|
|
82061
82195
|
type: String,
|
|
82062
|
-
default:
|
|
82196
|
+
default: void 0
|
|
82063
82197
|
},
|
|
82064
82198
|
line: {
|
|
82065
82199
|
type: Number,
|
|
@@ -82080,16 +82214,19 @@ var process = {
|
|
|
82080
82214
|
isShow: false,
|
|
82081
82215
|
openShow: false
|
|
82082
82216
|
});
|
|
82083
|
-
const observer = new IntersectionObserver(
|
|
82084
|
-
entries
|
|
82085
|
-
|
|
82086
|
-
|
|
82087
|
-
|
|
82088
|
-
|
|
82089
|
-
|
|
82090
|
-
|
|
82091
|
-
|
|
82092
|
-
|
|
82217
|
+
const observer = new IntersectionObserver(
|
|
82218
|
+
(entries) => {
|
|
82219
|
+
entries.forEach((item) => {
|
|
82220
|
+
if (item.intersectionRatio > 0.3) {
|
|
82221
|
+
observerDom();
|
|
82222
|
+
observer.disconnect();
|
|
82223
|
+
}
|
|
82224
|
+
});
|
|
82225
|
+
},
|
|
82226
|
+
{
|
|
82227
|
+
threshold: 0.3
|
|
82228
|
+
}
|
|
82229
|
+
);
|
|
82093
82230
|
function observerDom() {
|
|
82094
82231
|
if (props.line === 1) {
|
|
82095
82232
|
if (mySelf.value.scrollWidth > mySelf.value.clientWidth) {
|
|
@@ -82105,16 +82242,20 @@ var process = {
|
|
|
82105
82242
|
observer.disconnect();
|
|
82106
82243
|
});
|
|
82107
82244
|
let mySelf = require$$1$1.ref();
|
|
82108
|
-
require$$1$1.watch(
|
|
82109
|
-
|
|
82110
|
-
|
|
82111
|
-
|
|
82112
|
-
|
|
82113
|
-
mySelf.value && observer.
|
|
82114
|
-
|
|
82115
|
-
|
|
82116
|
-
|
|
82117
|
-
|
|
82245
|
+
require$$1$1.watch(
|
|
82246
|
+
() => props.showAlways,
|
|
82247
|
+
function(showAlways) {
|
|
82248
|
+
if (showAlways)
|
|
82249
|
+
state.openShow = showAlways;
|
|
82250
|
+
mySelf.value && observer.unobserve(mySelf.value);
|
|
82251
|
+
require$$1$1.nextTick(function() {
|
|
82252
|
+
mySelf.value && observer.observe(mySelf.value);
|
|
82253
|
+
});
|
|
82254
|
+
},
|
|
82255
|
+
{
|
|
82256
|
+
immediate: true
|
|
82257
|
+
}
|
|
82258
|
+
);
|
|
82118
82259
|
const handleVisibleChange = (val) => {
|
|
82119
82260
|
state.isShow = !state.openShow ? false : val;
|
|
82120
82261
|
};
|
|
@@ -82129,7 +82270,7 @@ var process = {
|
|
|
82129
82270
|
};
|
|
82130
82271
|
}
|
|
82131
82272
|
};
|
|
82132
|
-
function _sfc_render$
|
|
82273
|
+
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
82133
82274
|
const _component_a_tooltip = require$$1$1.resolveComponent("a-tooltip");
|
|
82134
82275
|
return require$$1$1.openBlock(), require$$1$1.createBlock(_component_a_tooltip, {
|
|
82135
82276
|
visible: _ctx.isShow,
|
|
@@ -82138,6 +82279,9 @@ var process = {
|
|
|
82138
82279
|
"get-popup-container": $setup.getPopupContainer,
|
|
82139
82280
|
onVisibleChange: $setup.handleVisibleChange
|
|
82140
82281
|
}, {
|
|
82282
|
+
title: require$$1$1.withCtx(() => [
|
|
82283
|
+
require$$1$1.renderSlot(_ctx.$slots, "title")
|
|
82284
|
+
]),
|
|
82141
82285
|
default: require$$1$1.withCtx(() => [
|
|
82142
82286
|
require$$1$1.createElementVNode("div", {
|
|
82143
82287
|
ref: "mySelf",
|
|
@@ -82146,12 +82290,18 @@ var process = {
|
|
|
82146
82290
|
WebkitLineClamp: $props.line
|
|
82147
82291
|
}),
|
|
82148
82292
|
class: require$$1$1.normalizeClass($props.line === 1 ? `bm-over-tooltip` : `bm-over-tooltip-multi`)
|
|
82149
|
-
},
|
|
82293
|
+
}, [
|
|
82294
|
+
require$$1$1.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
82295
|
+
require$$1$1.renderSlot(_ctx.$slots, "title", {}, () => [
|
|
82296
|
+
require$$1$1.createTextVNode(require$$1$1.toDisplayString($props.title), 1)
|
|
82297
|
+
])
|
|
82298
|
+
])
|
|
82299
|
+
], 6)
|
|
82150
82300
|
]),
|
|
82151
|
-
_:
|
|
82301
|
+
_: 3
|
|
82152
82302
|
}, 8, ["visible", "title", "get-popup-container", "onVisibleChange"]);
|
|
82153
82303
|
}
|
|
82154
|
-
var OverTooltips = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
82304
|
+
var OverTooltips = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$2], ["__file", "over-tooltips.vue"]]);
|
|
82155
82305
|
|
|
82156
82306
|
const BmOverTooltips = withInstall$2(OverTooltips);
|
|
82157
82307
|
|
|
@@ -82189,7 +82339,7 @@ var process = {
|
|
|
82189
82339
|
};
|
|
82190
82340
|
|
|
82191
82341
|
const CLOUND_PRE = "/cloudStorage/read";
|
|
82192
|
-
const _sfc_main$
|
|
82342
|
+
const _sfc_main$3 = {
|
|
82193
82343
|
name: "BmUpload",
|
|
82194
82344
|
components: { PlusOutlined: PlusOutlined$1, OverTooltips: BmOverTooltips, UploadOutlined: UploadOutlined$1 },
|
|
82195
82345
|
props: {
|
|
@@ -82280,10 +82430,14 @@ var process = {
|
|
|
82280
82430
|
disabled: false,
|
|
82281
82431
|
async customRequest({ file, fileField, data }) {
|
|
82282
82432
|
if (file.size > state.extraConfigs.maxSize * 1024 * 1024) {
|
|
82283
|
-
return methods.uploadError(
|
|
82433
|
+
return methods.uploadError(
|
|
82434
|
+
new Error(`\u4E0D\u80FD\u4E0A\u4F20\u5927\u4E8E${state.extraConfigs.maxSize}M\u7684\u6587\u4EF6`)
|
|
82435
|
+
);
|
|
82284
82436
|
}
|
|
82285
82437
|
if (Object.keys(state.fileList).length >= state.extraConfigs.maxCount) {
|
|
82286
|
-
return methods.uploadError(
|
|
82438
|
+
return methods.uploadError(
|
|
82439
|
+
new Error(`\u4E0D\u80FD\u4E0A\u4F20\u591A\u4E8E${state.extraConfigs.maxCount}\u4E2A\u6587\u4EF6`)
|
|
82440
|
+
);
|
|
82287
82441
|
}
|
|
82288
82442
|
let name = file.name;
|
|
82289
82443
|
let fileFormat = name.split(".").pop();
|
|
@@ -82348,7 +82502,9 @@ var process = {
|
|
|
82348
82502
|
emit("error", error);
|
|
82349
82503
|
},
|
|
82350
82504
|
async deleteFile(uid) {
|
|
82351
|
-
const index = state.uploadedList.findIndex(
|
|
82505
|
+
const index = state.uploadedList.findIndex(
|
|
82506
|
+
(ele) => state.extraConfigs.fileDetail ? ele === state.fileList[uid].url : ele.url === state.fileList[uid].url
|
|
82507
|
+
);
|
|
82352
82508
|
emit("deleteFile", state.fileList[uid]);
|
|
82353
82509
|
state.uploadedList.splice(index, 1);
|
|
82354
82510
|
delete state.fileList[uid];
|
|
@@ -82362,7 +82518,9 @@ var process = {
|
|
|
82362
82518
|
state.onepViewImageHover[uid] = false;
|
|
82363
82519
|
},
|
|
82364
82520
|
viewOnePicture(item) {
|
|
82365
|
-
if (["img", "image", "png", "jpg", "jpeg"].includes(
|
|
82521
|
+
if (["img", "image", "png", "jpg", "jpeg"].includes(
|
|
82522
|
+
item.type.toLowerCase()
|
|
82523
|
+
)) {
|
|
82366
82524
|
state.previewVisible = true;
|
|
82367
82525
|
state.onepViewImage = item;
|
|
82368
82526
|
return;
|
|
@@ -82414,40 +82572,48 @@ var process = {
|
|
|
82414
82572
|
}
|
|
82415
82573
|
}
|
|
82416
82574
|
};
|
|
82417
|
-
require$$1$1.watch(
|
|
82418
|
-
|
|
82419
|
-
|
|
82420
|
-
|
|
82421
|
-
|
|
82422
|
-
|
|
82423
|
-
|
|
82424
|
-
|
|
82425
|
-
|
|
82426
|
-
|
|
82427
|
-
|
|
82428
|
-
|
|
82429
|
-
|
|
82430
|
-
|
|
82431
|
-
|
|
82432
|
-
|
|
82575
|
+
require$$1$1.watch(
|
|
82576
|
+
() => props.defaultList,
|
|
82577
|
+
function(list) {
|
|
82578
|
+
if (list.length) {
|
|
82579
|
+
list.forEach(function(item) {
|
|
82580
|
+
let uid = utils.getuid();
|
|
82581
|
+
if (!item.url.includes("http") && !item.url.includes(CLOUND_PRE))
|
|
82582
|
+
item.url = props.cloudReadUrl + item.url;
|
|
82583
|
+
state.fileList[uid] = {
|
|
82584
|
+
uid,
|
|
82585
|
+
name: item.name,
|
|
82586
|
+
url: item.url,
|
|
82587
|
+
type: item.type || "png",
|
|
82588
|
+
progress: 100,
|
|
82589
|
+
isDoneDeloy: true
|
|
82590
|
+
};
|
|
82591
|
+
state.uploadedList.push(item);
|
|
82592
|
+
});
|
|
82593
|
+
}
|
|
82594
|
+
},
|
|
82595
|
+
{
|
|
82596
|
+
immediate: true
|
|
82433
82597
|
}
|
|
82434
|
-
|
|
82435
|
-
|
|
82436
|
-
|
|
82437
|
-
|
|
82438
|
-
|
|
82439
|
-
|
|
82440
|
-
|
|
82441
|
-
|
|
82442
|
-
|
|
82443
|
-
|
|
82444
|
-
|
|
82445
|
-
|
|
82446
|
-
|
|
82447
|
-
|
|
82448
|
-
|
|
82449
|
-
|
|
82450
|
-
|
|
82598
|
+
);
|
|
82599
|
+
require$$1$1.watch(
|
|
82600
|
+
[() => props.uploadProps, () => props.extraProps],
|
|
82601
|
+
function([config, extra]) {
|
|
82602
|
+
state.uploadConfigs = {
|
|
82603
|
+
...state.uploadConfigs,
|
|
82604
|
+
...config,
|
|
82605
|
+
showUploadList: false
|
|
82606
|
+
};
|
|
82607
|
+
state.extraConfigs = {
|
|
82608
|
+
...state.extraConfigs,
|
|
82609
|
+
...extra
|
|
82610
|
+
};
|
|
82611
|
+
},
|
|
82612
|
+
{
|
|
82613
|
+
immediate: true,
|
|
82614
|
+
deep: true
|
|
82615
|
+
}
|
|
82616
|
+
);
|
|
82451
82617
|
const uploadDisabled = require$$1$1.computed(() => {
|
|
82452
82618
|
if (Object.keys(state.fileList).length >= state.extraConfigs.maxCount) {
|
|
82453
82619
|
return true;
|
|
@@ -82465,19 +82631,19 @@ var process = {
|
|
|
82465
82631
|
};
|
|
82466
82632
|
}
|
|
82467
82633
|
};
|
|
82468
|
-
const _hoisted_1$
|
|
82634
|
+
const _hoisted_1$2 = {
|
|
82469
82635
|
key: 0,
|
|
82470
82636
|
class: "bm-upload__picture-progress"
|
|
82471
82637
|
};
|
|
82472
|
-
const _hoisted_2$
|
|
82473
|
-
const _hoisted_3 = ["onMouseenter", "onMouseleave"];
|
|
82474
|
-
const _hoisted_4 = ["src"];
|
|
82475
|
-
const _hoisted_5 = ["src"];
|
|
82476
|
-
const _hoisted_6 = ["src"];
|
|
82477
|
-
const _hoisted_7 = ["src"];
|
|
82478
|
-
const _hoisted_8 = ["src"];
|
|
82479
|
-
const _hoisted_9 = ["src"];
|
|
82480
|
-
const _hoisted_10 = {
|
|
82638
|
+
const _hoisted_2$2 = /* @__PURE__ */ require$$1$1.createElementVNode("div", { class: "bm-upload__picture-progress__text" }, "\u56FE\u7247\u4E0A\u4F20\u4E2D", -1);
|
|
82639
|
+
const _hoisted_3$1 = ["onMouseenter", "onMouseleave"];
|
|
82640
|
+
const _hoisted_4$1 = ["src"];
|
|
82641
|
+
const _hoisted_5$1 = ["src"];
|
|
82642
|
+
const _hoisted_6$1 = ["src"];
|
|
82643
|
+
const _hoisted_7$1 = ["src"];
|
|
82644
|
+
const _hoisted_8$1 = ["src"];
|
|
82645
|
+
const _hoisted_9$1 = ["src"];
|
|
82646
|
+
const _hoisted_10$1 = {
|
|
82481
82647
|
key: 6,
|
|
82482
82648
|
class: "bm-upload__picture-result__cover"
|
|
82483
82649
|
};
|
|
@@ -82525,7 +82691,7 @@ var process = {
|
|
|
82525
82691
|
const _hoisted_32 = { style: { "padding-top": "20px" } };
|
|
82526
82692
|
const _hoisted_33 = ["src"];
|
|
82527
82693
|
const _hoisted_34 = ["title", "src"];
|
|
82528
|
-
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
82694
|
+
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
82529
82695
|
const _component_a_progress = require$$1$1.resolveComponent("a-progress");
|
|
82530
82696
|
const _component_PlusOutlined = require$$1$1.resolveComponent("PlusOutlined");
|
|
82531
82697
|
const _component_UploadOutlined = require$$1$1.resolveComponent("UploadOutlined");
|
|
@@ -82544,8 +82710,8 @@ var process = {
|
|
|
82544
82710
|
class: require$$1$1.normalizeClass(["bm-upload__picture", { "bm-upload__picture--error": item.status === "error" }])
|
|
82545
82711
|
}, [
|
|
82546
82712
|
require$$1$1.createCommentVNode(" \u4E0A\u4F20\u4E2D "),
|
|
82547
|
-
item.progress < 100 && item.status !== "error" ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_1$
|
|
82548
|
-
_hoisted_2$
|
|
82713
|
+
item.progress < 100 && item.status !== "error" ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_1$2, [
|
|
82714
|
+
_hoisted_2$2,
|
|
82549
82715
|
require$$1$1.createVNode(_component_a_progress, {
|
|
82550
82716
|
type: "line",
|
|
82551
82717
|
"stroke-width": 2,
|
|
@@ -82568,33 +82734,33 @@ var process = {
|
|
|
82568
82734
|
class: "bm-upload__picture-result__image",
|
|
82569
82735
|
src: $setup.icons.pdf,
|
|
82570
82736
|
alt: "avatar"
|
|
82571
|
-
}, null, 8, _hoisted_4)) : item.type === "xlsx" ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("img", {
|
|
82737
|
+
}, null, 8, _hoisted_4$1)) : item.type === "xlsx" ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("img", {
|
|
82572
82738
|
key: 1,
|
|
82573
82739
|
class: "bm-upload__picture-result__image",
|
|
82574
82740
|
src: $setup.icons.excel,
|
|
82575
82741
|
alt: "avatar"
|
|
82576
|
-
}, null, 8, _hoisted_5)) : item.type === "ppt" ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("img", {
|
|
82742
|
+
}, null, 8, _hoisted_5$1)) : item.type === "ppt" ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("img", {
|
|
82577
82743
|
key: 2,
|
|
82578
82744
|
class: "bm-upload__picture-result__image",
|
|
82579
82745
|
src: $setup.icons.ppt,
|
|
82580
82746
|
alt: "avatar"
|
|
82581
|
-
}, null, 8, _hoisted_6)) : ["docx", "doc"].includes(item.type) ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("img", {
|
|
82747
|
+
}, null, 8, _hoisted_6$1)) : ["docx", "doc"].includes(item.type) ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("img", {
|
|
82582
82748
|
key: 3,
|
|
82583
82749
|
class: "bm-upload__picture-result__image",
|
|
82584
82750
|
src: $setup.icons.doc,
|
|
82585
82751
|
alt: "avatar"
|
|
82586
|
-
}, null, 8, _hoisted_7)) : ["img", "image", "png", "jpg", "jpeg"].includes(item.type) ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("img", {
|
|
82752
|
+
}, null, 8, _hoisted_7$1)) : ["img", "image", "png", "jpg", "jpeg"].includes(item.type) ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("img", {
|
|
82587
82753
|
key: 4,
|
|
82588
82754
|
class: "bm-upload__picture-result__image",
|
|
82589
82755
|
src: item.url,
|
|
82590
82756
|
alt: "avatar"
|
|
82591
|
-
}, null, 8, _hoisted_8)) : (require$$1$1.openBlock(), require$$1$1.createElementBlock("img", {
|
|
82757
|
+
}, null, 8, _hoisted_8$1)) : (require$$1$1.openBlock(), require$$1$1.createElementBlock("img", {
|
|
82592
82758
|
key: 5,
|
|
82593
82759
|
class: "bm-upload__picture-result__image",
|
|
82594
82760
|
src: $setup.icons.others,
|
|
82595
82761
|
alt: "avatar"
|
|
82596
|
-
}, null, 8, _hoisted_9)),
|
|
82597
|
-
_ctx.onepViewImageHover[item.uid] ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_10, [
|
|
82762
|
+
}, null, 8, _hoisted_9$1)),
|
|
82763
|
+
_ctx.onepViewImageHover[item.uid] ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_10$1, [
|
|
82598
82764
|
!_ctx.extraConfigs.canNotViewAccept?.includes(item?.type) ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", {
|
|
82599
82765
|
key: 0,
|
|
82600
82766
|
class: "bm-upload__picture-result__icon bm-upload__picture-result__icon--view",
|
|
@@ -82606,7 +82772,7 @@ var process = {
|
|
|
82606
82772
|
onClick: ($event) => _ctx.deleteFile(item.uid)
|
|
82607
82773
|
}, null, 8, _hoisted_12)) : require$$1$1.createCommentVNode("v-if", true)
|
|
82608
82774
|
])) : require$$1$1.createCommentVNode("v-if", true)
|
|
82609
|
-
], 40, _hoisted_3)) : require$$1$1.renderSlot(_ctx.$slots, "file", {
|
|
82775
|
+
], 40, _hoisted_3$1)) : require$$1$1.renderSlot(_ctx.$slots, "file", {
|
|
82610
82776
|
key: 1,
|
|
82611
82777
|
file: item
|
|
82612
82778
|
})
|
|
@@ -82727,7 +82893,7 @@ var process = {
|
|
|
82727
82893
|
}, 8, ["visible", "width", "onCancel"])
|
|
82728
82894
|
], 2);
|
|
82729
82895
|
}
|
|
82730
|
-
var Upload = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
82896
|
+
var Upload = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$1], ["__file", "upload.vue"]]);
|
|
82731
82897
|
|
|
82732
82898
|
const BmUpload = withInstall$2(Upload);
|
|
82733
82899
|
|
|
@@ -82764,22 +82930,22 @@ var process = {
|
|
|
82764
82930
|
return true;
|
|
82765
82931
|
}
|
|
82766
82932
|
|
|
82767
|
-
function t(){return t=Object.assign
|
|
82933
|
+
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()){}
|
|
82768
82934
|
|
|
82769
82935
|
const timelineProps = () => ({
|
|
82770
|
-
mode:
|
|
82771
|
-
labelWidth:
|
|
82936
|
+
mode: C.oneOf(['left', 'right']).def('left'),
|
|
82937
|
+
labelWidth: C.string.def(''),
|
|
82772
82938
|
});
|
|
82773
82939
|
const timelineItemProps = () => ({
|
|
82774
|
-
color:
|
|
82775
|
-
dot:
|
|
82776
|
-
label:
|
|
82940
|
+
color: C.oneOf(['blue', 'red', 'green', 'gray']).def('blue'),
|
|
82941
|
+
dot: C.any,
|
|
82942
|
+
label: C.any,
|
|
82777
82943
|
});
|
|
82778
82944
|
|
|
82779
82945
|
const __default__$1 = {
|
|
82780
82946
|
name: "BmTimeline"
|
|
82781
82947
|
};
|
|
82782
|
-
const _sfc_main$
|
|
82948
|
+
const _sfc_main$2 = /* @__PURE__ */ require$$1$1.defineComponent({
|
|
82783
82949
|
...__default__$1,
|
|
82784
82950
|
props: timelineProps(),
|
|
82785
82951
|
setup(__props) {
|
|
@@ -82803,14 +82969,14 @@ var process = {
|
|
|
82803
82969
|
};
|
|
82804
82970
|
}
|
|
82805
82971
|
});
|
|
82806
|
-
var Timeline = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
82972
|
+
var Timeline = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__file", "timeline.vue"]]);
|
|
82807
82973
|
|
|
82808
|
-
const _hoisted_1 = { class: "bm-timeline-item-main" };
|
|
82809
|
-
const _hoisted_2 = { class: "bm-timeline-item-content" };
|
|
82974
|
+
const _hoisted_1$1 = { class: "bm-timeline-item-main" };
|
|
82975
|
+
const _hoisted_2$1 = { class: "bm-timeline-item-content" };
|
|
82810
82976
|
const __default__ = {
|
|
82811
82977
|
name: "BmTimelineItem"
|
|
82812
82978
|
};
|
|
82813
|
-
const _sfc_main = /* @__PURE__ */ require$$1$1.defineComponent({
|
|
82979
|
+
const _sfc_main$1 = /* @__PURE__ */ require$$1$1.defineComponent({
|
|
82814
82980
|
...__default__,
|
|
82815
82981
|
props: timelineItemProps(),
|
|
82816
82982
|
setup(__props) {
|
|
@@ -82860,7 +83026,7 @@ var process = {
|
|
|
82860
83026
|
require$$1$1.createTextVNode(require$$1$1.toDisplayString(props.dot), 1)
|
|
82861
83027
|
])
|
|
82862
83028
|
], 6),
|
|
82863
|
-
require$$1$1.createElementVNode("div", _hoisted_1, [
|
|
83029
|
+
require$$1$1.createElementVNode("div", _hoisted_1$1, [
|
|
82864
83030
|
require$$1$1.unref(labelWidth) ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", {
|
|
82865
83031
|
key: 0,
|
|
82866
83032
|
class: "bm-timeline-item-label",
|
|
@@ -82870,7 +83036,7 @@ var process = {
|
|
|
82870
83036
|
require$$1$1.createTextVNode(require$$1$1.toDisplayString(props.label), 1)
|
|
82871
83037
|
])
|
|
82872
83038
|
], 4)) : require$$1$1.createCommentVNode("v-if", true),
|
|
82873
|
-
require$$1$1.createElementVNode("div", _hoisted_2, [
|
|
83039
|
+
require$$1$1.createElementVNode("div", _hoisted_2$1, [
|
|
82874
83040
|
require$$1$1.renderSlot(_ctx.$slots, "default")
|
|
82875
83041
|
])
|
|
82876
83042
|
])
|
|
@@ -82878,11 +83044,165 @@ var process = {
|
|
|
82878
83044
|
};
|
|
82879
83045
|
}
|
|
82880
83046
|
});
|
|
82881
|
-
var TimelineItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "timeline-item.vue"]]);
|
|
83047
|
+
var TimelineItem = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__file", "timeline-item.vue"]]);
|
|
82882
83048
|
|
|
82883
83049
|
const BmTimeline = withInstall$2(Timeline);
|
|
82884
83050
|
const BmTimelineItem = withInstall$2(TimelineItem);
|
|
82885
83051
|
|
|
83052
|
+
const _sfc_main = require$$1$1.defineComponent({
|
|
83053
|
+
components: { Popover: default_1, CloseCircleFilled: CloseCircleFilled$1, Button: Button$2 },
|
|
83054
|
+
props: {
|
|
83055
|
+
list: {
|
|
83056
|
+
type: Array,
|
|
83057
|
+
default: () => []
|
|
83058
|
+
},
|
|
83059
|
+
showEmpty: {
|
|
83060
|
+
type: Boolean,
|
|
83061
|
+
default: false
|
|
83062
|
+
},
|
|
83063
|
+
showEmptyBtn: {
|
|
83064
|
+
type: Boolean,
|
|
83065
|
+
default: true
|
|
83066
|
+
},
|
|
83067
|
+
btnText: {
|
|
83068
|
+
type: String,
|
|
83069
|
+
default: "\u6DFB\u52A0"
|
|
83070
|
+
},
|
|
83071
|
+
placement: {
|
|
83072
|
+
type: String,
|
|
83073
|
+
default: "bottom"
|
|
83074
|
+
}
|
|
83075
|
+
},
|
|
83076
|
+
emits: ["clear", "update:list", "addClick"],
|
|
83077
|
+
setup(props, { emit }) {
|
|
83078
|
+
const containId = `bm-tags-display${Date.now()}`;
|
|
83079
|
+
function getPopupContainer() {
|
|
83080
|
+
return document.querySelector(`#${containId}`);
|
|
83081
|
+
}
|
|
83082
|
+
function clear() {
|
|
83083
|
+
emit("update:list", []);
|
|
83084
|
+
emit("clear");
|
|
83085
|
+
if (!props.showEmptyBtn && !props.showEmpty) {
|
|
83086
|
+
console.error(
|
|
83087
|
+
"\u4E0D\u5E94\u5C06showEmptyBtn\u4E0EshowEmpty\u90FD\u7F6E\u4E3Afalse,\u8282\u70B9\u5E76\u672A\u5B9E\u9645\u9500\u6BC1"
|
|
83088
|
+
);
|
|
83089
|
+
}
|
|
83090
|
+
}
|
|
83091
|
+
function toAddTags() {
|
|
83092
|
+
emit("addClick");
|
|
83093
|
+
}
|
|
83094
|
+
return {
|
|
83095
|
+
containId,
|
|
83096
|
+
clear,
|
|
83097
|
+
toAddTags,
|
|
83098
|
+
getPopupContainer
|
|
83099
|
+
};
|
|
83100
|
+
}
|
|
83101
|
+
});
|
|
83102
|
+
const _hoisted_1 = { class: "bm-tags-display" };
|
|
83103
|
+
const _hoisted_2 = ["id"];
|
|
83104
|
+
const _hoisted_3 = { class: "pop-seleted" };
|
|
83105
|
+
const _hoisted_4 = { class: "pop-seleted-title" };
|
|
83106
|
+
const _hoisted_5 = /* @__PURE__ */ require$$1$1.createTextVNode(" \u5DF2\u9009\u62E9");
|
|
83107
|
+
const _hoisted_6 = /* @__PURE__ */ require$$1$1.createTextVNode("\u9879 ");
|
|
83108
|
+
const _hoisted_7 = { class: "select-input-wrapper" };
|
|
83109
|
+
const _hoisted_8 = { key: 1 };
|
|
83110
|
+
const _hoisted_9 = { key: 2 };
|
|
83111
|
+
const _hoisted_10 = /* @__PURE__ */ require$$1$1.createElementVNode("div", null, null, -1);
|
|
83112
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
83113
|
+
const _component_a_tag = require$$1$1.resolveComponent("a-tag");
|
|
83114
|
+
const _component_CloseCircleFilled = require$$1$1.resolveComponent("CloseCircleFilled");
|
|
83115
|
+
const _component_Popover = require$$1$1.resolveComponent("Popover");
|
|
83116
|
+
const _component_Button = require$$1$1.resolveComponent("Button");
|
|
83117
|
+
return require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_1, [
|
|
83118
|
+
_ctx.list && _ctx.list.length ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", {
|
|
83119
|
+
key: 0,
|
|
83120
|
+
id: _ctx.containId,
|
|
83121
|
+
class: "bm-tags-display-wrapper"
|
|
83122
|
+
}, [
|
|
83123
|
+
require$$1$1.createVNode(_component_Popover, {
|
|
83124
|
+
"get-popup-container": _ctx.getPopupContainer,
|
|
83125
|
+
placement: _ctx.placement,
|
|
83126
|
+
"overlay-class-name": "__list-filter-popover"
|
|
83127
|
+
}, {
|
|
83128
|
+
title: require$$1$1.withCtx(() => [
|
|
83129
|
+
require$$1$1.createElementVNode("div", _hoisted_3, [
|
|
83130
|
+
require$$1$1.createElementVNode("div", _hoisted_4, [
|
|
83131
|
+
_hoisted_5,
|
|
83132
|
+
require$$1$1.createElementVNode("span", null, require$$1$1.toDisplayString(_ctx.list.length), 1),
|
|
83133
|
+
_hoisted_6
|
|
83134
|
+
])
|
|
83135
|
+
])
|
|
83136
|
+
]),
|
|
83137
|
+
content: require$$1$1.withCtx(() => [
|
|
83138
|
+
require$$1$1.createElementVNode("div", {
|
|
83139
|
+
class: "pop-seleted-list",
|
|
83140
|
+
onWheel: _cache[0] || (_cache[0] = require$$1$1.withModifiers(() => {
|
|
83141
|
+
}, ["stop"]))
|
|
83142
|
+
}, [
|
|
83143
|
+
(require$$1$1.openBlock(true), require$$1$1.createElementBlock(require$$1$1.Fragment, null, require$$1$1.renderList(_ctx.list, (item) => {
|
|
83144
|
+
return require$$1$1.openBlock(), require$$1$1.createBlock(_component_a_tag, {
|
|
83145
|
+
key: item.key,
|
|
83146
|
+
class: "pop-seleted-item"
|
|
83147
|
+
}, {
|
|
83148
|
+
default: require$$1$1.withCtx(() => [
|
|
83149
|
+
require$$1$1.createTextVNode(require$$1$1.toDisplayString(item.title), 1)
|
|
83150
|
+
]),
|
|
83151
|
+
_: 2
|
|
83152
|
+
}, 1024);
|
|
83153
|
+
}), 128))
|
|
83154
|
+
], 32)
|
|
83155
|
+
]),
|
|
83156
|
+
default: require$$1$1.withCtx(() => [
|
|
83157
|
+
require$$1$1.createElementVNode("div", _hoisted_7, [
|
|
83158
|
+
(require$$1$1.openBlock(true), require$$1$1.createElementBlock(require$$1$1.Fragment, null, require$$1$1.renderList(_ctx.list, (item) => {
|
|
83159
|
+
return require$$1$1.openBlock(), require$$1$1.createBlock(_component_a_tag, {
|
|
83160
|
+
key: item.key
|
|
83161
|
+
}, {
|
|
83162
|
+
default: require$$1$1.withCtx(() => [
|
|
83163
|
+
require$$1$1.createTextVNode(require$$1$1.toDisplayString(item.title), 1)
|
|
83164
|
+
]),
|
|
83165
|
+
_: 2
|
|
83166
|
+
}, 1024);
|
|
83167
|
+
}), 128)),
|
|
83168
|
+
require$$1$1.createElementVNode("div", {
|
|
83169
|
+
class: "list-clear",
|
|
83170
|
+
onClick: _cache[1] || (_cache[1] = require$$1$1.withModifiers((...args) => _ctx.clear && _ctx.clear(...args), ["stop"])),
|
|
83171
|
+
onMouseenter: _cache[2] || (_cache[2] = require$$1$1.withModifiers(() => {
|
|
83172
|
+
}, ["stop"])),
|
|
83173
|
+
onMouseover: _cache[3] || (_cache[3] = require$$1$1.withModifiers(() => {
|
|
83174
|
+
}, ["stop"]))
|
|
83175
|
+
}, [
|
|
83176
|
+
require$$1$1.createVNode(_component_CloseCircleFilled)
|
|
83177
|
+
], 32)
|
|
83178
|
+
])
|
|
83179
|
+
]),
|
|
83180
|
+
_: 1
|
|
83181
|
+
}, 8, ["get-popup-container", "placement"])
|
|
83182
|
+
], 8, _hoisted_2)) : require$$1$1.createCommentVNode("v-if", true),
|
|
83183
|
+
_ctx.showEmptyBtn && !_ctx.list.length ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_8, [
|
|
83184
|
+
require$$1$1.createVNode(_component_Button, {
|
|
83185
|
+
onClick: require$$1$1.withModifiers(_ctx.toAddTags, ["stop"])
|
|
83186
|
+
}, {
|
|
83187
|
+
default: require$$1$1.withCtx(() => [
|
|
83188
|
+
require$$1$1.createTextVNode(require$$1$1.toDisplayString(_ctx.btnText), 1)
|
|
83189
|
+
]),
|
|
83190
|
+
_: 1
|
|
83191
|
+
}, 8, ["onClick"])
|
|
83192
|
+
])) : require$$1$1.createCommentVNode("v-if", true),
|
|
83193
|
+
_ctx.showEmpty && !_ctx.list.length ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("div", _hoisted_9, [
|
|
83194
|
+
require$$1$1.createElementVNode("div", {
|
|
83195
|
+
class: "selector-empty-input",
|
|
83196
|
+
onClick: _cache[4] || (_cache[4] = require$$1$1.withModifiers((...args) => _ctx.toAddTags && _ctx.toAddTags(...args), ["stop"]))
|
|
83197
|
+
}, "\xA0")
|
|
83198
|
+
])) : require$$1$1.createCommentVNode("v-if", true),
|
|
83199
|
+
_hoisted_10
|
|
83200
|
+
]);
|
|
83201
|
+
}
|
|
83202
|
+
var InputTagsDisplay = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "input-tags-display.vue"]]);
|
|
83203
|
+
|
|
83204
|
+
const BmTagsDisplay = withInstall$2(InputTagsDisplay);
|
|
83205
|
+
|
|
82886
83206
|
var components = /*#__PURE__*/Object.freeze({
|
|
82887
83207
|
__proto__: null,
|
|
82888
83208
|
BmButton: BmButton,
|
|
@@ -82901,7 +83221,8 @@ var process = {
|
|
|
82901
83221
|
BmOverTooltips: BmOverTooltips,
|
|
82902
83222
|
BmUpload: BmUpload,
|
|
82903
83223
|
BmTimeline: BmTimeline,
|
|
82904
|
-
BmTimelineItem: BmTimelineItem
|
|
83224
|
+
BmTimelineItem: BmTimelineItem,
|
|
83225
|
+
BmTagsDisplay: BmTagsDisplay
|
|
82905
83226
|
});
|
|
82906
83227
|
|
|
82907
83228
|
const install = (app) => {
|
|
@@ -82926,6 +83247,7 @@ var process = {
|
|
|
82926
83247
|
exports.BmSearchFilter = BmSearchFilter;
|
|
82927
83248
|
exports.BmShopsFilter = BmShopsFilter;
|
|
82928
83249
|
exports.BmStaffsSelector = BmStaffsSelector;
|
|
83250
|
+
exports.BmTagsDisplay = BmTagsDisplay;
|
|
82929
83251
|
exports.BmTimeline = BmTimeline;
|
|
82930
83252
|
exports.BmTimelineItem = BmTimelineItem;
|
|
82931
83253
|
exports.BmUpload = BmUpload;
|