{"version":3,"sources":["webpack:///./src/components/base/pc/InsConfirm.vue?8fe0","webpack:///./src/components/base/pc/InsConfirm.vue?69a6","webpack:///./src/components/base/pc/InsConfirm.vue","webpack:///./src/components/base/pc/InsConfirm.vue?dcc1","webpack:///./src/components/base/pc/InsConfirm.vue?409e","webpack:///./src/components/base/mobile/InsConfirm.vue?5981","webpack:///./src/components/base/mobile/InsConfirm.vue","webpack:///./src/components/base/mobile/InsConfirm.vue?79a9","webpack:///./src/components/base/mobile/InsConfirm.vue?1af4","webpack:///./src/components/base/pc/InsConfirm.ts","webpack:///./src/assets/scripts/common.ts","webpack:///./src/init.ts","webpack:///./node_modules/core-js/modules/es6.regexp.constructor.js","webpack:///./src/components/base/pc/InsButton.vue?647e","webpack:///./src/components/base/pc/InsButton.vue?5215","webpack:///./src/components/base/pc/InsButton.vue","webpack:///./src/components/base/pc/InsButton.vue?45f7","webpack:///./src/components/base/pc/InsButton.vue?ce6c","webpack:///./src/components/base/mobile/InsConfirm.vue?0762"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","staticClass","on","$event","preventDefault","_v","_s","Title","Content","$i18n","t","doConfirm","doCacel","_e","staticRenderFns","Visible","LayerVisible","prototype","$ClearSingtonConfirm","Confirm","Function","setTimeout","Cancel","components","inButton","component","$t","ep","userAgent","LoadScript","src","async","id","site","Promise","resolve","reject","isInclude","oScript","document","createElement","type","getElementsByTagName","appendChild","body","name","js","test","es","i","length","indexOf","util","confirm","options","content","cancel","undefined","Error","instance","data","i18n","$mount","$el","nextTick","confirmCount","instanceConfirm","singtonConfirm","clearSingtonConfirm","showLayer","el","HTMLElement","getElementById","getLayer","showL","hiddenLayer","hidden","layer","InsLayer","show","delay","Shake","fn","d","timeout","clearTimeout","CheckMemberInfo","member","keys","Object","lang","$Storage","get","index","element","match","$notify","title","messages","Message","dangerouslyUseHTMLString","message","MemberInfo","customClass","install","Vue","$Confirm","informCount","$ShowLayer","$HiddenLayer","$Api","InstoreSdk","api","$SingtonConfirm","FrontE","$LoadScript","Reload","window","location","reload","priceFormat","num","r","Number","isNaN","r0","Math","round","r1","String","split","r2","reverse","r3","join","global","inheritIfRequired","dP","f","gOPN","isRegExp","$flags","$RegExp","RegExp","Base","proto","re1","re2","CORRECT_NEW","p","tiRE","piRE","fiU","constructor","source","call","proxy","key","configurable","set","it","class","MyType","MySize","style","BtnStyle","borderRadius","click","directives","rawName","value","expression","staticStyle","loading","icon","nama","action","$emit","size","Width","width","Height","height","Style","default"],"mappings":"kHAAA,yBAAkqB,EAAG,G,qICAjqBA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,aAAa,CAACE,MAAM,CAAC,KAAO,SAAS,CAAEN,EAAgB,aAAEI,EAAG,MAAM,CAACG,YAAY,SAAS,CAACH,EAAG,aAAa,CAACE,MAAM,CAAC,KAAO,SAAS,CAAEN,EAAW,QAAEI,EAAG,MAAM,CAACG,YAAY,kBAAkBC,GAAG,CAAC,WAAa,SAASC,GAAQA,EAAOC,oBAAqB,CAACN,EAAG,MAAM,CAACG,YAAY,WAAW,CAACH,EAAG,MAAM,CAACG,YAAY,iBAAiB,CAACP,EAAIW,GAAGX,EAAIY,GAAGZ,EAAIa,UAAUT,EAAG,MAAM,CAACG,YAAY,WAAW,CAACP,EAAIW,GAAGX,EAAIY,GAAGZ,EAAIc,YAAYV,EAAG,MAAM,CAACG,YAAY,UAAU,CAACH,EAAG,WAAW,CAACE,MAAM,CAAC,KAAON,EAAIe,MAAMC,EAAE,mBAAmB,KAAO,SAAS,MAAQ,OAAOR,GAAG,CAAC,MAAQR,EAAIiB,aAAab,EAAG,WAAW,CAACE,MAAM,CAAC,KAAON,EAAIe,MAAMC,EAAE,kBAAkB,KAAO,SAAS,MAAQ,OAAOR,GAAG,CAAC,MAAQR,EAAIkB,YAAY,OAAOlB,EAAImB,QAAQ,GAAGnB,EAAImB,QACryBC,EAAkB,G,gGCu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WU,EAAAoJ,OAAS,GACT,EAAAC,OAAS,GAZnB,EACA,2EAqBQxK,KAAKkL,UACLlL,KAAKqL,OACPrL,KAAKsL,MAAM,QAAStL,KAAKqL,QAEzBrL,KAAKsL,MAAM,YAzBjB,gCA6BItL,KAAKuK,OAASvK,KAAK8C,KAAO9C,KAAK8C,KAAO,UACtC9C,KAAKwK,OAASxK,KAAKuL,KAAOvL,KAAKuL,KAAO,UA9B1C,+BAaI,IAAIC,EAAQxL,KAAKyL,MACbC,EAAS1L,KAAK2L,OACdC,GACDJ,EAAQ,SAAWA,EAAQ,IAAM,KACjCE,EAAS,UAAYA,EAAS,IAAM,IACvC,OAAOE,MAlBX,GAAuC,QAC7B,QAAP,kB,2BACO,QAAP,kB,4BACO,QAAP,kB,6BACO,QAAP,kB,2BACO,QAAP,kB,2BACO,QAAP,kB,6BACyB,QAAzB,eAAK,CAAEC,SAAS,K,mCACS,QAAzB,eAAK,CAAEA,SAAS,K,8BACa,QAA7B,eAAK,CAAEA,aAAS/H,K,2BATE,EAAS,QAD7B,QACoB,WChB2b,I,wBCQ5chC,EAAY,eACd,EACAhC,EACAqB,GACA,EACA,KACA,WACA,MAIa,aAAAW,E,6CCnBf,yBAA0gB,EAAG","file":"js/chunk-b4b57ac4.bf0c090e.js","sourcesContent":["import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--10-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../node_modules/style-resources-loader/lib/index.js??ref--10-oneOf-1-4!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InsConfirm.vue?vue&type=style&index=0&id=2cdf70e9&scoped=true&lang=less&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--10-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../node_modules/style-resources-loader/lib/index.js??ref--10-oneOf-1-4!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InsConfirm.vue?vue&type=style&index=0&id=2cdf70e9&scoped=true&lang=less&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{\"name\":\"fade\"}},[(_vm.LayerVisible)?_c('div',{staticClass:\"layer\"},[_c('transition',{attrs:{\"name\":\"fade\"}},[(_vm.Visible)?_c('div',{staticClass:\"message_warpper\",on:{\"mousewheel\":function($event){$event.preventDefault();}}},[_c('div',{staticClass:\"confirm\"},[_c('div',{staticClass:\"title primary\"},[_vm._v(_vm._s(_vm.Title))]),_c('div',{staticClass:\"content\"},[_vm._v(_vm._s(_vm.Content))]),_c('div',{staticClass:\"footer\"},[_c('inButton',{attrs:{\"nama\":_vm.$i18n.t('Message.Confirm'),\"size\":\"middle\",\"width\":\"49%\"},on:{\"click\":_vm.doConfirm}}),_c('inButton',{attrs:{\"nama\":_vm.$i18n.t('Message.Cancel'),\"size\":\"middle\",\"width\":\"49%\"},on:{\"click\":_vm.doCacel}})],1)])]):_vm._e()])],1):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Vue, Component } from 'vue-property-decorator';\r\nimport inButton from '@/components/base/pc/InsButton.vue';\r\n@Component({\r\n components: { inButton: inButton }\r\n})\r\nexport default class InsComfirm extends Vue {\r\n public Title!:string;\r\n public Content!:string;\r\n public Visible:boolean = false;\r\n public Confirm!:Function;\r\n public Cancel!:Function;\r\n private LayerVisible:boolean = true;\r\n created () {\r\n // document.body.style.overflow = 'hidden';\r\n }\r\n doConfirm () {\r\n Vue.prototype.$ClearSingtonConfirm();\r\n if (this.Confirm && this.Confirm instanceof Function) { this.Confirm(); };\r\n this.Visible = false;\r\n setTimeout(() => { this.LayerVisible = false; });\r\n // document.body.style.overflow = '';\r\n }\r\n doCacel () {\r\n Vue.prototype.$ClearSingtonConfirm();\r\n if (this.Cancel && this.Cancel instanceof Function) { this.Cancel(); };\r\n this.Visible = false;\r\n setTimeout(() => { this.LayerVisible = false; });\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InsConfirm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InsConfirm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InsConfirm.vue?vue&type=template&id=2cdf70e9&scoped=true&\"\nimport script from \"./InsConfirm.vue?vue&type=script&lang=ts&\"\nexport * from \"./InsConfirm.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./InsConfirm.vue?vue&type=style&index=0&id=2cdf70e9&scoped=true&lang=less&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2cdf70e9\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{\"name\":\"layer\"}},[(_vm.LayerVisible)?_c('div',{staticClass:\"layer\"},[_c('transition',{attrs:{\"name\":\"fade\"}},[(_vm.Visible)?_c('div',{staticClass:\"message_warpper\",on:{\"mousewheel\":function($event){$event.preventDefault();}}},[_c('div',{staticClass:\"confirm\"},[_c('div',{staticClass:\"title\"},[_vm._v(_vm._s(_vm.Title))]),_c('div',{staticClass:\"content\"},[_vm._v(_vm._s(_vm.Content))]),_c('div',{staticClass:\"footer\"},[_c('div',{staticClass:\"button\",on:{\"click\":_vm.doConfirm}},[_vm._v(_vm._s(_vm.$t('Message.Confirm')))]),_c('div',{staticClass:\"button border_left\",on:{\"click\":_vm.doCacel}},[_vm._v(_vm._s(_vm.$t('Message.Cancel')))])])])]):_vm._e()])],1):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Vue, Component } from 'vue-property-decorator';\r\n@Component\r\nexport default class InsConfirm extends Vue {\r\n public Title!:string;\r\n public Content!:string;\r\n public Visible:boolean = false;\r\n public Confirm!:Function;\r\n public Cancel!:Function;\r\n private LayerVisible:boolean = true;\r\n created () {\r\n // document.body.style.overflow = 'hidden';\r\n }\r\n doConfirm () {\r\n if (this.Confirm && this.Confirm instanceof Function) { this.Confirm(); };\r\n this.Visible = false;\r\n setTimeout(() => { this.LayerVisible = false; });\r\n // document.body.style.overflow = '';\r\n }\r\n doCacel () {\r\n if (this.Cancel && this.Cancel instanceof Function) { this.Cancel(); };\r\n this.Visible = false;\r\n setTimeout(() => { this.LayerVisible = false; });\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InsConfirm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InsConfirm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InsConfirm.vue?vue&type=template&id=eb31c64a&scoped=true&\"\nimport script from \"./InsConfirm.vue?vue&type=script&lang=ts&\"\nexport * from \"./InsConfirm.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./InsConfirm.vue?vue&type=style&index=0&id=eb31c64a&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"eb31c64a\",\n null\n \n)\n\nexport default component.exports","import pc from '@/components/base/pc/InsConfirm.vue';\r\nimport mobile from '@/components/base/mobile/InsConfirm.vue';\r\nimport Vue from 'vue';\r\nconst ep = Vue.prototype.userAgent === 'pc' ? pc : mobile;\r\nexport default ep;\r\n","// 引入外部js或第三方js\r\nexport function LoadScript (src, async: boolean = false, id: string = '', site: string = 'body') { // site -> 'head', js在
標籤內引入; 'body',js在標籤內引入\r\n return new Promise((resolve, reject) => {\r\n if (!isInclude(src)) {\r\n const oScript = document.createElement('script');\r\n oScript.type = 'text/javascript';\r\n oScript.src = src;\r\n\r\n if (async) {\r\n oScript.async = true;\r\n }\r\n\r\n if (id) {\r\n oScript.id = id;\r\n }\r\n\r\n switch (site) {\r\n case 'head':\r\n document.getElementsByTagName('head')[0].appendChild(oScript);\r\n break;\r\n default:\r\n document.body.appendChild(oScript);\r\n }\r\n\r\n resolve(true);\r\n }\r\n });\r\n}\r\n\r\n// 判斷js是否已引入\r\nfunction isInclude (name) {\r\n var js = /js$/i.test(name);\r\n var es = document.getElementsByTagName(js ? 'script' : 'link');\r\n for (var i = 0; i < es.length; i++) { if (es[i][js ? 'src' : 'href'].indexOf(name) !== -1) return true; }\r\n return false;\r\n}\r\n\r\n// 获取url参数\r\nexport function getQueryString (name) {\r\n // eslint-disable-next-line no-useless-escape\r\n var result = window.location.search.match(new RegExp('[\\?\\&]' + name + '=([^\\&]+)', 'i'));\r\n if (result == null || result.length < 1) {\r\n return '';\r\n }\r\n return result[1];\r\n}\r\n","import Vue from 'vue';\r\nimport i18n from '@/lang';\r\nimport store from './store';\r\n// import InsInform from '@/components/base/pc/InsInform.vue';\r\n// import InsNotice from '@/components/base/pc/InsNotice.vue';\r\nimport InsConfirm from /* webpackChunkName: \"main\" */ '@/components/base/pc/InsConfirm.ts';\r\nimport InsLayer from /* webpackChunkName: \"main\" */ '@/components/service/InsLayer.vue';\r\nimport InstoreSdk from './sdk/InstoreSdk';\r\n// import InLogin from '@/components/business/pc/login/InsLoginFlow.ts';\r\nimport storage from '@/sdk/common/Storage';\r\nimport language from '@/lang/index';\r\nimport { FrontE } from '@/sdk/common/SysConst';\r\nimport { LoadScript } from './assets/scripts/common';\r\nconst util = {\r\n // info: function (options, type) {\r\n // if (options === undefined || options === null) {\r\n // options = {\r\n // Message: ''\r\n // };\r\n // } else if (typeof options === 'string' || typeof options === 'number') {\r\n // options = {\r\n // Message: options\r\n // };\r\n // if (type !== undefined && options != null) {\r\n // options.Type = type;\r\n // }\r\n // }\r\n // let instance = new InsInform({\r\n // data: options\r\n // }).$mount();\r\n // document.body.appendChild(instance.$el);\r\n // Vue.nextTick(() => {\r\n // Vue.prototype.informCount++;\r\n // instance.Visible = true;\r\n // });\r\n // },\r\n // notice: function (options, content, type) {\r\n // if (options === undefined || options === null) {\r\n // options = {\r\n // Title: ''\r\n // };\r\n // } else if (typeof options === 'string' || typeof options === 'number') {\r\n // options = {\r\n // Title: options\r\n // };\r\n // if (type !== undefined && options != null) {\r\n // options.Type = type;\r\n // }\r\n // if (content !== undefined && options != null) {\r\n // options.Content = content;\r\n // }\r\n // }\r\n // let instance = new InsNotice({\r\n // data: options\r\n // }).$mount();\r\n // document.body.appendChild(instance.$el);\r\n // Vue.nextTick(() => {\r\n // Vue.prototype.noticeCount++;\r\n // instance.Visible = true;\r\n // });\r\n // },\r\n confirm: function (options, content, confirm, cancel) {\r\n if (options === undefined || options === null) {\r\n options = {\r\n Title: ''\r\n };\r\n } else if (typeof options === 'string' || typeof options === 'number') {\r\n options = {\r\n Title: options\r\n };\r\n if (content !== undefined && options != null) {\r\n options.Content = content;\r\n }\r\n } else if (typeof options === 'object') {\r\n if (!options.Title || !options.Content) {\r\n throw new Error();\r\n }\r\n }\r\n options.Confirm = confirm;\r\n options.Cancel = cancel;\r\n\r\n let instance = new InsConfirm({\r\n data: options,\r\n i18n\r\n }).$mount();\r\n document.body.appendChild(instance.$el);\r\n Vue.nextTick(() => {\r\n Vue.prototype.confirmCount++;\r\n instance.Visible = true;\r\n });\r\n },\r\n instanceConfirm: null as any,\r\n singtonConfirm: function (options, content, confirm, cancel) {\r\n if (util.instanceConfirm !== null) return;\r\n if (options === undefined || options === null) {\r\n options = {\r\n Title: ''\r\n };\r\n } else if (typeof options === 'string' || typeof options === 'number') {\r\n options = {\r\n Title: options\r\n };\r\n if (content !== undefined && options != null) {\r\n options.Content = content;\r\n }\r\n } else if (typeof options === 'object') {\r\n if (!options.Title || !options.Content) {\r\n throw new Error();\r\n }\r\n }\r\n options.Confirm = confirm;\r\n options.Cancel = cancel;\r\n\r\n let instance = new InsConfirm({\r\n data: options,\r\n i18n\r\n }).$mount();\r\n util.instanceConfirm = instance;\r\n document.body.appendChild(instance.$el);\r\n Vue.nextTick(() => {\r\n Vue.prototype.confirmCount++;\r\n instance.Visible = true;\r\n });\r\n },\r\n clearSingtonConfirm: function () {\r\n util.instanceConfirm = null;\r\n },\r\n showLayer: function (el) {\r\n el = el instanceof HTMLElement ? el : document.getElementById(el);\r\n if (!el) {\r\n el = document.getElementById('layer');\r\n }\r\n if (!el) {\r\n throw new Error(\r\n 'Layer error:layer depend on a HTMLElement. param el must be a id(string) or a HTMLElement'\r\n );\r\n }\r\n let instance = util.getLayer(el);\r\n instance.showL();\r\n },\r\n hiddenLayer: function (el) {\r\n el = el instanceof HTMLElement ? el : document.getElementById(el);\r\n if (!el) {\r\n el = document.getElementById('layer');\r\n }\r\n if (!el) {\r\n throw new Error(\r\n 'Layer error:layer depend on a HTMLElement. param el must be a id(string) or a HTMLElement'\r\n );\r\n }\r\n let instance = util.getLayer(el) as any;\r\n instance.hidden();\r\n },\r\n layer: InsLayer as any,\r\n getLayer: function (el) {\r\n if (this.layer instanceof InsLayer) {\r\n return this.layer;\r\n } else {\r\n this.layer = new InsLayer({ data: { show: true } }).$mount();\r\n el.appendChild(this.layer.$el);\r\n return this.layer;\r\n }\r\n },\r\n // login: undefined as any,\r\n // Login: function (rollback, ...params) {\r\n // if (this.login) this.login.showL();\r\n // else {\r\n // this.login = new InLogin({ i18n, store }).$mount();\r\n // document.body.appendChild(this.login.$el);\r\n // }\r\n // this.login.setRollback(rollback, params);\r\n // this.login.showL();\r\n // },\r\n // LoginClose: function () {\r\n // if (this.login) this.login.hidden();\r\n // },\r\n delay: 0,\r\n Shake (fn, d) {\r\n if (!(fn instanceof Function)) return;\r\n let timeout = d || 450;\r\n if (this.delay === 0) { this.delay = setTimeout(fn, timeout); } else { clearTimeout(this.delay); this.delay = setTimeout(fn, timeout); }\r\n },\r\n CheckMemberInfo (member) {\r\n if (!member) return;\r\n let keys = Object.keys(member);\r\n let lang = Vue.prototype.$Storage.get('locale');\r\n for (let index = 0; index < keys.length; index++) {\r\n const element = keys[index];\r\n if (element.match(/(FirstName)|(LastName)|(Mobile)|(BirthDate)/) && !member[element]) {\r\n util.Shake(() => {\r\n Vue.prototype.$notify({\r\n title: (language.messages[lang].Message as any).Message,\r\n dangerouslyUseHTMLString: true,\r\n message: '' + (language.messages[lang].Message as any).MemberInfo + '',\r\n customClass: Vue.prototype.userAgent === 'pc' ? '' : 'el_mobile_notify'\r\n });\r\n }, 2000);\r\n break;\r\n }\r\n }\r\n },\r\n install: function (Vue) {\r\n // Vue.prototype.$Inform = util.info;\r\n // Vue.prototype.$Notice = util.notice;\r\n Vue.prototype.$Confirm = util.confirm;\r\n Vue.prototype.confirmCount = 0;\r\n Vue.prototype.informCount = 0;\r\n Vue.prototype.$ShowLayer = util.showLayer;\r\n Vue.prototype.$HiddenLayer = util.hiddenLayer;\r\n Vue.prototype.$Api = InstoreSdk.api;\r\n Vue.prototype.$SingtonConfirm = util.singtonConfirm;\r\n Vue.prototype.$ClearSingtonConfirm = util.clearSingtonConfirm;\r\n // Vue.prototype.$Login = util.Login;\r\n // Vue.prototype.$LoginClose = util.LoginClose;\r\n Vue.prototype.$Storage = storage;\r\n Vue.prototype.Shake = util.Shake;\r\n Vue.prototype.FrontE = FrontE;\r\n Vue.prototype.CheckMemberInfo = util.CheckMemberInfo;\r\n // 掛載方法(引入外部js)到實例\r\n Vue.prototype.$LoadScript = LoadScript;\r\n Vue.prototype.Reload = function () {\r\n window.location.reload();\r\n // if (this instanceof Vue && this.$route) {\r\n // let path = this.$route.path;\r\n // // eslint-disable-next-line no-unused-expressions\r\n // setTimeout(() => { this.$router.push('/none'); }, 100);\r\n // setTimeout(() => { this.$router.push(path); store.dispatch('setShopCart', Vue.prototype.$Api.shoppingCart.getShoppingCart()); }, 500);\r\n // } else {\r\n // let path = location.href.split(location.host)[1];\r\n // setTimeout(() => { Vue.prototype.root.$router.push('/none'); }, 100);\r\n // setTimeout(() => { Vue.prototype.root.$router.push(path); store.dispatch('setShopCart', Vue.prototype.$Api.shoppingCart.getShoppingCart()); }, 500);\r\n // }\r\n };\r\n Vue.prototype.priceFormat = function (num) {\r\n let r = Number(num);\r\n if (isNaN(r)) return 0;\r\n let r0 = Math.round(r * 100) / 100;\r\n let r1 = String(r0).split('.');\r\n let r2 = r1[0].split('').reverse();\r\n let r3 = '';\r\n for (let i = 0; i < r2.length; i++) {\r\n if ((i) % 3 === 0 && i !== 0) r3 += (',' + r2[i]);\r\n else r3 += r2[i];\r\n }\r\n r3 = r3.split('').reverse().join('');\r\n return r1.length === 2 ? r3 + '.' + (r1[1].length === 2 ? r1[1] : r1[1] + '0') : r3 + '.00';\r\n };\r\n }\r\n};\r\nexport default util;\r\n","var global = require('./_global');\nvar inheritIfRequired = require('./_inherit-if-required');\nvar dP = require('./_object-dp').f;\nvar gOPN = require('./_object-gopn').f;\nvar isRegExp = require('./_is-regexp');\nvar $flags = require('./_flags');\nvar $RegExp = global.RegExp;\nvar Base = $RegExp;\nvar proto = $RegExp.prototype;\nvar re1 = /a/g;\nvar re2 = /a/g;\n// \"new\" creates a new object, old webkit buggy here\nvar CORRECT_NEW = new $RegExp(re1) !== re1;\n\nif (require('./_descriptors') && (!CORRECT_NEW || require('./_fails')(function () {\n re2[require('./_wks')('match')] = false;\n // RegExp constructor can alter flags and IsRegExp works correct with @@match\n return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i';\n}))) {\n $RegExp = function RegExp(p, f) {\n var tiRE = this instanceof $RegExp;\n var piRE = isRegExp(p);\n var fiU = f === undefined;\n return !tiRE && piRE && p.constructor === $RegExp && fiU ? p\n : inheritIfRequired(CORRECT_NEW\n ? new Base(piRE && !fiU ? p.source : p, f)\n : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f)\n , tiRE ? this : proto, $RegExp);\n };\n var proxy = function (key) {\n key in $RegExp || dP($RegExp, key, {\n configurable: true,\n get: function () { return Base[key]; },\n set: function (it) { Base[key] = it; }\n });\n };\n for (var keys = gOPN(Base), i = 0; keys.length > i;) proxy(keys[i++]);\n proto.constructor = $RegExp;\n $RegExp.prototype = proto;\n require('./_redefine')(global, 'RegExp', $RegExp);\n}\n\nrequire('./_set-species')('RegExp');\n","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--10-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../node_modules/style-resources-loader/lib/index.js??ref--10-oneOf-1-4!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InsButton.vue?vue&type=style&index=0&id=ed28f4a0&scoped=true&lang=less&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--10-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../node_modules/style-resources-loader/lib/index.js??ref--10-oneOf-1-4!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InsButton.vue?vue&type=style&index=0&id=ed28f4a0&scoped=true&lang=less&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"in_btn\",class:_vm.MyType+' '+_vm.MySize,style:(_vm.BtnStyle + (_vm.borderRadius?'border-radius:20px':'')),on:{\"click\":_vm.click}},[(_vm.icon)?_c('div',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],staticStyle:{\"display\":\"inline-block\",\"vertical-align\":\"middle\"},attrs:{\"element-loading-spinner\":\"el-icon-loading\",\"element-loading-background\":\"rgba(0, 0, 0, 0)\"}},[_c('img',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.loading),expression:\"!loading\"}],attrs:{\"src\":'/static/Image/button/'+_vm.icon+'.png'}}),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.loading),expression:\"loading\"}],staticClass:\"img\"}),_c('span',{staticStyle:{\"text-align\":\"center\",\"vertical-align\":\"middle\"}},[_vm._v(_vm._s(_vm.nama))])]):_c('div',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],attrs:{\"element-loading-spinner\":\"el-icon-loading\",\"element-loading-background\":\"gray\"}},[_c('span',{staticStyle:{\"text-align\":\"center\",\"vertical-align\":\"middle\"}},[_vm._v(_vm._s(_vm.nama))])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Vue, Prop, Component, Watch } from 'vue-property-decorator';\r\n@Component\r\nexport default class InsButton extends Vue {\r\n @Prop() private readonly nama!: string;\r\n @Prop() private readonly width!: string;\r\n @Prop() private readonly height!: string;\r\n @Prop() private readonly type!: string;\r\n @Prop() private readonly size!: string;\r\n @Prop() private readonly action!: string;\r\n @Prop({ default: false }) private readonly borderRadius!:boolean;\r\n @Prop({ default: false }) private readonly loading!: boolean;\r\n @Prop({ default: undefined }) private readonly icon: string | undefined;\r\n private MyType = '';\r\n private MySize = '';\r\n get BtnStyle (): string {\r\n let Width = this.width;\r\n let Height = this.height;\r\n let Style =\r\n (Width ? 'width:' + Width + ';' : '') +\r\n (Height ? 'height:' + Height + ';' : '');\r\n return Style;\r\n }\r\n click (): void {\r\n if (this.loading) return;\r\n if (this.action) {\r\n this.$emit('click', this.action);\r\n } else {\r\n this.$emit('click');\r\n }\r\n }\r\n created () {\r\n this.MyType = this.type ? this.type : 'primary';\r\n this.MySize = this.size ? this.size : 'large';\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InsButton.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InsButton.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InsButton.vue?vue&type=template&id=ed28f4a0&scoped=true&\"\nimport script from \"./InsButton.vue?vue&type=script&lang=ts&\"\nexport * from \"./InsButton.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./InsButton.vue?vue&type=style&index=0&id=ed28f4a0&scoped=true&lang=less&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"ed28f4a0\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InsConfirm.vue?vue&type=style&index=0&id=eb31c64a&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InsConfirm.vue?vue&type=style&index=0&id=eb31c64a&scoped=true&lang=css&\""],"sourceRoot":""}