@zhijiancloud/bpm 1.0.39 → 1.0.41

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.
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("lodash")):"function"==typeof define&&define.amd?define(["lodash"],t):"object"==typeof exports?exports.bpm2=t(require("lodash")):e.bpm2=t(e.lodash)}(self,function(e){return function(){var t={4486:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a,u){var l,s="function"==typeof e?e.options:e;if(t&&(s.render=t,s.staticRenderFns=n,s._compiled=!0),r&&(s.functional=!0),i&&(s._scopeId="data-v-"+i),a?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},s._ssrRegister=l):o&&(l=u?function(){o.call(this,(s.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(s.functional){s._injectStyles=l;var c=s.render;s.render=function(e,t){return l.call(t),c(e,t)}}else{var d=s.beforeCreate;s.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:s}}n.d(t,{A:function(){return r}})},7642:function(e){e.exports=function(){return this.ELEMENT}()},5554:function(e){e.exports=function(){return this.Vue}()},6773:function(t){"use strict";t.exports=e}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}};return t[e](i,i.exports,r),i.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return function(){"use strict";r.r(o),r.d(o,{default:function(){return y}});var e=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-select",attrs:{value:e.curVal,fieldConf:e.fieldConf,row:e.row,mode:e.mode,uiType:e.uiType},on:{change:e.handleChange}},"component",e.$attrs,!1),e.$listeners))};e._withStripped=!0;var t=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bpm-time-edit"},[n("el-time-select",{ref:"component",attrs:{"format-model":"number",format:e.format,"value-format":e.checkFormat,"picker-options":{start:"00:00",step:"00:15",end:"24:00"},clearable:e.clearable,disabled:e.disabled},on:{change:e.handleChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}})],1)};t._withStripped=!0;var n=r(6773),i=r.n(n),a=r(5554),u=r.n(a),l=r(7642);u().use(l.TimeSelect);var s={data(){return{curVal:""}},props:["value","fieldConf","row","clearable","disabled"],watch:{value(){this.curVal=this.value}},computed:{format(){return i().get(this.fieldConf,"view.format")},checkFormat(){return i().get(this.fieldConf,"check.format")}},mounted(){this.curVal=this.value},methods:{handleChange(e){this.$emit("change",e)}}},c=r(4486),d=(0,c.A)(s,t,[],!1,null,null,null);d.options.__file="components/lib/bpmTime/src/part/editor.vue";var p=d.exports,f=function(){var e=this,t=e.$createElement;return(e._self._c||t)("span",[e._v(e._s(e.value))])};f._withStripped=!0;var m={props:["value","fieldConf","row"],data(){return{}},computed:{},watch:{},mounted(){},methods:{}},h=(0,c.A)(m,f,[],!1,null,null,null);h.options.__file="components/lib/bpmTime/src/part/reader.vue";var v=h.exports,_={name:"BpmTime",components:{editorComponent:p,readerComponent:v},props:{value:{type:[String,Number]},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}}},data(){return{curVal:""}},computed:{curComponent(){return"view"==this.mode?v:p}},watch:{value(){this.curVal=this.value}},mounted(){this.curVal=this.value},methods:{handleChange(e){this.$emit("input",e),this.$emit("change",e)}}},b=(0,c.A)(_,e,[],!1,null,null,null);b.options.__file="components/lib/bpmTime/src/main.vue";var C=b.exports;C.install=function(e){e.component(C.name,C)};var y=C}(),o}()});
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("lodash")):"function"==typeof define&&define.amd?define(["lodash"],t):"object"==typeof exports?exports.bpm2=t(require("lodash")):e.bpm2=t(e.lodash)}(self,function(e){return function(){var t={4486:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a,l){var s,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(s=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=s):o&&(s=l?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),s)if(u.functional){u._injectStyles=s;var c=u.render;u.render=function(e,t){return s.call(t),c(e,t)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,s):[s]}return{exports:e,options:u}}n.d(t,{A:function(){return r}})},7642:function(e){e.exports=function(){return this.ELEMENT}()},5554:function(e){e.exports=function(){return this.Vue}()},6773:function(t){"use strict";t.exports=e}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}};return t[e](i,i.exports,r),i.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return function(){"use strict";r.r(o),r.d(o,{default:function(){return g}});var e=function(){var e=this,t=e.$createElement;return(e._self._c||t)(e.curComponent,e._g(e._b({tag:"component",staticClass:"bpm-select",attrs:{value:e.curVal,fieldConf:e.fieldConf,row:e.row,mode:e.mode,uiType:e.uiType},on:{change:e.handleChange}},"component",e.$attrs,!1),e.$listeners))};e._withStripped=!0;var t=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bpm-time-edit"},["any_time"==e.uiType?[n("el-time-picker",{ref:"component",attrs:{"format-model":"number",format:e.format,"value-format":e.checkFormat,"picker-options":e.pickerOptions,clearable:e.clearable,disabled:e.disabled,"arrow-control":e.arrowControl},on:{change:e.handleChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}})]:[n("el-time-select",{ref:"component",attrs:{"format-model":"number",format:e.format,"value-format":e.checkFormat,"picker-options":e.pickerOptions,clearable:e.clearable,disabled:e.disabled},on:{change:e.handleChange},model:{value:e.curVal,callback:function(t){e.curVal=t},expression:"curVal"}})]],2)};t._withStripped=!0;var n=r(6773),i=r.n(n),a=r(5554),l=r.n(a),s=r(7642);l().use(s.TimeSelect);var u={data(){return{curVal:""}},props:["value","fieldConf","row","clearable","disabled"],watch:{value(){this.curVal=this.value}},computed:{format(){return i().get(this.fieldConf,"view.format")},checkFormat(){return i().get(this.fieldConf,"check.format")},uiType(){return i().get(this.fieldConf,"style.ui_type","fixed_time")},pickerOptions(){let e={},t=i().get(this.fieldConf,"style.ui_type","any_time");return console.log("time_ui_type ",t),e="any_time"==t?{selectableRange:`${i().get(this.fieldConf,"style.start_point","00:00")||"00:00"}:00 - ${i().get(this.fieldConf,"style.end_point","23:59")||"23:59"}:00`}:{start:i().get(this.fieldConf,"style.start_point")||"00:00",step:i().get(this.fieldConf,"style.step","00:15")||"00:15",end:i().get(this.fieldConf,"style.end_point","24:00")||"24:00"},console.log("pickerOptions ",e),e},arrowControl(){return i().get(this.fieldConf,"style.arrow_control",!1)}},mounted(){this.curVal=this.value},methods:{handleChange(e){this.$emit("change",e)}}},c=r(4486),p=(0,c.A)(u,t,[],!1,null,null,null);p.options.__file="components/lib/bpmTime/src/part/editor.vue";var f=p.exports,d=function(){var e=this,t=e.$createElement;return(e._self._c||t)("span",[e._v(e._s(e.value))])};d._withStripped=!0;var m={props:["value","fieldConf","row"],data(){return{}},computed:{},watch:{},mounted(){},methods:{}},h=(0,c.A)(m,d,[],!1,null,null,null);h.options.__file="components/lib/bpmTime/src/part/reader.vue";var _=h.exports,v={name:"BpmTime",components:{editorComponent:f,readerComponent:_},props:{value:{type:[String,Number]},fieldConf:{type:Object,default(){return{}}},row:{type:Object,default(){return{}}},mode:{type:String,default(){return"view"}},uiType:{type:String,default(){return"default"}}},data(){return{curVal:""}},computed:{curComponent(){return"view"==this.mode?_:f}},watch:{value(){this.curVal=this.value}},mounted(){this.curVal=this.value},methods:{handleChange(e){this.$emit("input",e),this.$emit("change",e)}}},b=(0,c.A)(v,e,[],!1,null,null,null);b.options.__file="components/lib/bpmTime/src/main.vue";var y=b.exports;y.install=function(e){e.component(y.name,y)};var g=y}(),o}()});