PageSourceSearch

https://s1.sellfox.com/sellfox-web/2026-09/bundle.1153.ac02d7c6.js

js sellfox.com collected 2026-09-24 08:46:35 UTC 9,287 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkamzup_web_main=self.webpackChunkamzup_web_main||[]).push([["1153"],{95928:function(e,n,t){t.d(n,{A:function(){return b}}),t(77949),t(5092),t(937),t(25259),t(18577),t(47424),t(59622),t(8229),t(95365),t(915),t(75038),t(67411),t(10327),t(62394),t(13951);var r,i,o=t(77069),a=t(75589),l=t(8757);function u(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t<n;t++)r[t]=e[t];return r}function s(e,n,t,r,i,o,a){try{var l=e[o](a),u=l.value}catch(e){t(e);return}l.done?n(u):Promise.resolve(u).then(r,i)}function c(e){return function(){var n=this,t=arguments;return new Promise(function(r,i){var o=e.apply(n,t);function a(e){s(o,r,i,a,l,"next",e)}function l(e){s(o,r,i,a,l,"throw",e)}a(void 0)})}}function f(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.forEach(function(n){var r;r=t[n],n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r})}return e}function m(e,n){return n=null!=n?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):(function(e){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n.push.apply(n,t)}return n})(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}),e}function d(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e){if(e){if("string"==typeof e)return u(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,n){var t,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),l=Object.defineProperty;return l(a,"next",{value:u(0)}),l(a,"throw",{value:u(1)}),l(a,"return",{value:u(2)}),"function"==typeof Symbol&&l(a,Symbol.iterator,{value:function(){return this}}),a;function u(l){return function(u){var s=[l,u];if(t)throw TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(o=0)),o;)try{if(t=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=n.call(e,o)}catch(e){s=[6,e],r=0}finally{t=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}var h={name:"CustomColumnsMixins",components:{CustomColumnsNew:t(1369).default},data:function(){return{ccDLVisible:!1,ccFullColumn:[],disableField:null}},watch:{ccDLVisible:function(e){if(e)this.getTableColumn();else if(!this.vxeGridTableColumnList){var n=this.$refs.customColumnsNewDL.getDisableField();this.initVTCConfig(n)}}},methods:{customColumnSaveHandle:function(){return c(function(){var e,n,t;return p(this,function(r){switch(r.label){case 0:if(!this.vxeGridTableColumnList)return[3,2];return n=this.$refs.customColumnsNewDL.getDisableField(),t=this.$refs.customColumnsNewDL.getDraggableList(),[4,this.initVTCConfig(n,t)];case 1:r.sent(),null==(e=this.$refs.pagingFooterFixed)||e.pagingFixedInit(),r.label=2;case 2:return this.dynamicColumnSaveEventTrack&&(0,a.vr)("".concat(this.dynamicColumnSaveEventTrack),"click"),[2]}})}).call(this)},initDraggableColumn:function(e,n){var t=this;if(this.vxeGridTableColumnList)if(this.mixinsTableWidth&&this.vxeGridTableColumnList.forEach(function(e){var n;e.params&&e.params.columnName&&e.params.columnName in t.mixinsTableWidth?e.width=t.mixinsTableWidth[e.params.columnName]:(null==e||null==(n=e.children)?void 0:n.length)&&"SalesAssistant"===t.$route.name&&e.children.forEac
1h(function(e){var n;(null==(n=e.params)?void 0:n.columnName)&&Object.keys(t.mixinsTableWidth).includes(e.params.columnName)&&(e.width=t.mixinsTableWidth[e.params.columnName])})}),e&&e.length){var r={},i={},a=!1;e.forEach(function(e,n){r[e.columnName]=e.fixed,i[e.columnName]=n,e.fixed&&(a=!0)});var l=d(this.vxeGridTableColumnList),u={};l.forEach(function(e,n){if(e.params&&Object.keys(r).includes(e.params.columnName))u[e.params.columnName]=m(f({},e),{fixed:r[e.params.columnName]||null}),l[n]=null;else if(e.fixed&&e.params&&"checkbox"!==e.type&&e.title!==(0,o._)("common.operation"))e.fixed&&e.params&&"checkbox"!==e.type&&e.title!==(0,o._)("common.operation")&&(a=!0);else if(e.group&&i[e.group]>=0){u[e.group]=m(f({},e),{fixed:r[e.group]});var t=e.children.length;u[e.group].children.sort(function(e,n){return(i[e.params.columnName]||t)-(i[n.params.columnName]||t)}),l[n]=null}});var s=0;if(Object.keys(r).forEach(function(e){if(e in u){for(var n=s;n<l.length;n++)if(null===l[n]){l[n]=u[e],s=n+1;break}}}),("checkbox"===l[0].type||"checkbox"===l[0].field)&&(l[0].fixed=a?"left":null),this.isGroupColumns){var c=Object.keys(i),p=[],h=[];l.forEach(function(e){var t=e.group||e.params.columnName;if(c.includes(t))e.newSort=i[t],p.push(e);else if(e.group){var r=e.children.map(function(e){return e.field}),o=!n||(null==n?void 0:n.every(function(e){return!r.includes(e)})),a=l.find(function(e){return["todayGroup","yesterdayGroup","lastWeekGroup","lastYearGroup"].includes(e.group)});if(o&&a){var u=["ProductTotalNum","SalePrice","OrderNum","AvgPrice"];a=a.children.map(function(e){return e.field}),u.sort(function(e,n){return a.findIndex(function(n){return n.indexOf(e)>-1})-a.findIndex(function(e){return e.indexOf(n)>-1})}),e.children=e.children.sort(function(e,n){return u.findIndex(function(n){return e.field.indexOf(n)>-1})-u.findIndex(function(e){return n.field.indexOf(e)>-1})})}h.push(e)}else h.push(e)}),p.sort(function(e,n){return e.newSort-n.newSort}),l=d(p).concat(d(h))}this.vxeGridTableColumnList=l}else{var b=d(this.vxeGridTableColumnList);b.sort(function(e,n){var t,r;return((null==(t=e.params)?void 0:t.order)||e.order||0)-((null==(r=n.params)?void 0:r.order)||n.order||0)});var v=!1;b.forEach(function(e){var n;e.fixed=(null==e||null==(n=e.params)?void 0:n.defaultFixed)?"left":null,e.title===(0,o._)("common.operation")&&(e.fixed="right"),e.fixed&&(v=!0)}),("checkbox"===b[0].type||"checkbox"===b[0].field)&&(b[0].fixed=v?"left":null),this.vxeGridTableColumnList=b}},getTableColumn:function(){var e=this,n=this;return new Promise(function(t){var r,i=function(o){setTimeout(function(){(r=n.$refs[e.VTRefName]&&n.$refs[n.VTRefName].getTableColumn())?(n.ccFullColumn=r.fullColumn,t()):o>0&&i(--o)},100)};i(100)})},initVTCConfig:function(e,n){return c(function(){var t;return p(this,function(r){return t=this,[2,new Promise(function(r){t.ccVxeTableKey||r(),t.getTableColumn().then(function(){return c(function(){var t,i;return p(this,function(o){switch(o.label){case 0:t=this,o.label=1;case 1:if(o.trys.push([1,5,,6]),void 0!==e)return[3,3];return[4,this.$http.postCustomizeGet(this.ccVxeTableKey)];case 2:return e=(i=o.sent())&&i.disableField&&i.disableField.split(","),n=[],i&&i.sortField&&JSON.parse(i.sortField).forEach(function(e){"string"==typeof e&&(e={columnName:e,fixed:""}),n.push(e)}),[3,4];case 3:"string"==typeof e&&(e=e.split(",")),o.label=4;case 4:return this.initDraggableColumn(n,e),this.disableField=e,this.ccFullColumn.forEach(function(n){var r=!0;n.params&&(n.params.visibleNot?r=!1:n.params&&void 0===n.params.fixedVisible&&(e||"").indexOf(n.params.columnName)>-1&&(r=!1)),t.$set(n,"visible",r)}),this.setColumnVisible(n,e),this.isSpecialColumn&&this.specialDisposeColumn(this.vxeGridTableColumnList),this.$refs[this.VTRefName]&&(this.$refs[this.VTRefName].clearCurrentRow(),this.$nextTick(function(){t.$refs[t.VTRefName].refreshColumn()})),[3,6];case 5:return o.sent(),[3,6];case 6:return r(e),[2]}})}).call(t)})})]})}).call(this)},getPageKeyByName:l.B,showCustomColumnDL:function(){this.ccDLVisible=!0},setColumnVisible:function(e,n){var t,r=this;null==(t=this.vxeGridTableColumnList)||t.forEach(function(t){var i,o=!0;t.params&&(t.params.visibleNot||t.params&&void 0===t.params.fixedVisible&&(n||"").indexOf(t.params.columnName)>-1?o=!1:(null==t||null==(i=t.params)?void 0:i.defaultNotChecked)&&e.length>0&&(o=!!e.find(function(e){return e.columnName===t.params.columnName}
1))),r.$set(t,"visible",o),t.children&&t.children.forEach(function(e){var t=!0;(e.params.visibleNot||e.params&&void 0===e.params.fixedVisible&&(n||"").indexOf(e.params.columnName)>-1)&&(t=!1),r.$set(e,"visible",t)})})}}},b=(0,t(28644).A)(h,r,i,!1,null,null,null).exports}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.