iv-npm 1.2.35 → 1.2.36

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iv-npm",
3
- "version": "1.2.35",
3
+ "version": "1.2.36",
4
4
  "description": "公共通用包",
5
5
  "author": "Mr.Cong",
6
6
  "license": "ISC",
@@ -14,14 +14,6 @@ declare const _default: import("vue").DefineComponent<{
14
14
  type: ObjectConstructor;
15
15
  required: false;
16
16
  };
17
- fieldNames: {
18
- type: null;
19
- required: false;
20
- default: () => {
21
- label: string;
22
- value: string;
23
- };
24
- };
25
17
  replaceFields: {
26
18
  type: null;
27
19
  required: false;
@@ -99,14 +91,6 @@ declare const _default: import("vue").DefineComponent<{
99
91
  type: ObjectConstructor;
100
92
  required: false;
101
93
  };
102
- fieldNames: {
103
- type: null;
104
- required: false;
105
- default: () => {
106
- label: string;
107
- value: string;
108
- };
109
- };
110
94
  replaceFields: {
111
95
  type: null;
112
96
  required: false;
@@ -173,7 +157,6 @@ declare const _default: import("vue").DefineComponent<{
173
157
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
174
158
  onChange?: ((...args: any[]) => any) | undefined;
175
159
  }, {
176
- fieldNames: any;
177
160
  replaceFields: any;
178
161
  labelCol: Record<string, any>;
179
162
  wrapperCol: Record<string, any>;
@@ -3106,16 +3106,6 @@ var script$d = /*#__PURE__*/vue.defineComponent({
3106
3106
  type: Object,
3107
3107
  required: false
3108
3108
  },
3109
- fieldNames: {
3110
- type: null,
3111
- required: false,
3112
- "default": function _default() {
3113
- return {
3114
- label: "name",
3115
- value: "id"
3116
- };
3117
- }
3118
- },
3119
3109
  replaceFields: {
3120
3110
  type: null,
3121
3111
  required: false,
@@ -3235,9 +3225,6 @@ var script$d = /*#__PURE__*/vue.defineComponent({
3235
3225
  emit("update:value", value);
3236
3226
  }
3237
3227
  });
3238
- var filterOption = vue.computed(function () {
3239
- return filterOptionHeadle(props.fieldNames.label);
3240
- });
3241
3228
  /**
3242
3229
  * 侦听器-------------------------------------
3243
3230
  * */
@@ -3301,18 +3288,17 @@ var script$d = /*#__PURE__*/vue.defineComponent({
3301
3288
  maxHeight: '400px',
3302
3289
  overflow: 'auto'
3303
3290
  },
3304
- filterOption: vue.unref(filterOption),
3291
+ filterOption: _ctx.filterOption,
3305
3292
  multiple: __props.multiple,
3306
3293
  treeDefaultExpandAll: "",
3307
3294
  style: __props.inputStyle,
3308
3295
  onChange: _cache[1] || (_cache[1] = function ($event) {
3309
3296
  return _ctx.$emit('change', $event);
3310
3297
  }),
3311
- fieldNames: __props.fieldNames,
3312
3298
  replaceFields: __props.replaceFields
3313
3299
  }), null, 16
3314
3300
  /* FULL_PROPS */
3315
- , ["value", "tree-data", "getPopupContainer", "placeholder", "allowClear", "filterOption", "multiple", "style", "fieldNames", "replaceFields"])];
3301
+ , ["value", "tree-data", "getPopupContainer", "placeholder", "allowClear", "filterOption", "multiple", "style", "replaceFields"])];
3316
3302
  }),
3317
3303
  _: 1
3318
3304
  /* STABLE */
@@ -3102,16 +3102,6 @@ var script$d = /*#__PURE__*/defineComponent({
3102
3102
  type: Object,
3103
3103
  required: false
3104
3104
  },
3105
- fieldNames: {
3106
- type: null,
3107
- required: false,
3108
- "default": function _default() {
3109
- return {
3110
- label: "name",
3111
- value: "id"
3112
- };
3113
- }
3114
- },
3115
3105
  replaceFields: {
3116
3106
  type: null,
3117
3107
  required: false,
@@ -3231,9 +3221,6 @@ var script$d = /*#__PURE__*/defineComponent({
3231
3221
  emit("update:value", value);
3232
3222
  }
3233
3223
  });
3234
- var filterOption = computed(function () {
3235
- return filterOptionHeadle(props.fieldNames.label);
3236
- });
3237
3224
  /**
3238
3225
  * 侦听器-------------------------------------
3239
3226
  * */
@@ -3297,18 +3284,17 @@ var script$d = /*#__PURE__*/defineComponent({
3297
3284
  maxHeight: '400px',
3298
3285
  overflow: 'auto'
3299
3286
  },
3300
- filterOption: unref(filterOption),
3287
+ filterOption: _ctx.filterOption,
3301
3288
  multiple: __props.multiple,
3302
3289
  treeDefaultExpandAll: "",
3303
3290
  style: __props.inputStyle,
3304
3291
  onChange: _cache[1] || (_cache[1] = function ($event) {
3305
3292
  return _ctx.$emit('change', $event);
3306
3293
  }),
3307
- fieldNames: __props.fieldNames,
3308
3294
  replaceFields: __props.replaceFields
3309
3295
  }), null, 16
3310
3296
  /* FULL_PROPS */
3311
- , ["value", "tree-data", "getPopupContainer", "placeholder", "allowClear", "filterOption", "multiple", "style", "fieldNames", "replaceFields"])];
3297
+ , ["value", "tree-data", "getPopupContainer", "placeholder", "allowClear", "filterOption", "multiple", "style", "replaceFields"])];
3312
3298
  }),
3313
3299
  _: 1
3314
3300
  /* STABLE */
@@ -3106,16 +3106,6 @@
3106
3106
  type: Object,
3107
3107
  required: false
3108
3108
  },
3109
- fieldNames: {
3110
- type: null,
3111
- required: false,
3112
- "default": function _default() {
3113
- return {
3114
- label: "name",
3115
- value: "id"
3116
- };
3117
- }
3118
- },
3119
3109
  replaceFields: {
3120
3110
  type: null,
3121
3111
  required: false,
@@ -3235,9 +3225,6 @@
3235
3225
  emit("update:value", value);
3236
3226
  }
3237
3227
  });
3238
- var filterOption = vue.computed(function () {
3239
- return filterOptionHeadle(props.fieldNames.label);
3240
- });
3241
3228
  /**
3242
3229
  * 侦听器-------------------------------------
3243
3230
  * */
@@ -3301,18 +3288,17 @@
3301
3288
  maxHeight: '400px',
3302
3289
  overflow: 'auto'
3303
3290
  },
3304
- filterOption: vue.unref(filterOption),
3291
+ filterOption: _ctx.filterOption,
3305
3292
  multiple: __props.multiple,
3306
3293
  treeDefaultExpandAll: "",
3307
3294
  style: __props.inputStyle,
3308
3295
  onChange: _cache[1] || (_cache[1] = function ($event) {
3309
3296
  return _ctx.$emit('change', $event);
3310
3297
  }),
3311
- fieldNames: __props.fieldNames,
3312
3298
  replaceFields: __props.replaceFields
3313
3299
  }), null, 16
3314
3300
  /* FULL_PROPS */
3315
- , ["value", "tree-data", "getPopupContainer", "placeholder", "allowClear", "filterOption", "multiple", "style", "fieldNames", "replaceFields"])];
3301
+ , ["value", "tree-data", "getPopupContainer", "placeholder", "allowClear", "filterOption", "multiple", "style", "replaceFields"])];
3316
3302
  }),
3317
3303
  _: 1
3318
3304
  /* STABLE */
@@ -1 +1 @@
1
- {"version":3,"file":"index.umd.js","sources":["../../shared/dist/utils/index.mjs","../src/business-ui/component/icon/SelectorIcon.vue?vue&type=template&id=0b124b76&lang.js","../src/business-ui/component/IVTimeSelector.vue?vue&type=template&id=5f0fe252&lang.js"],"sourcesContent":["// utils/arr/tree.ts\nfunction arrToTree(list, parentMark, childrenMark) {\n let result = [], temp;\n for (let i = 0; i < list.length; i++) {\n if (!list[i][parentMark]) {\n temp = list.filter(\n (item) => item[parentMark] === list[i][childrenMark]\n );\n if (temp.length > 0) {\n list[i].children = temp;\n }\n result.push(list[i]);\n }\n }\n return result;\n}\nfunction _loadChildren(obj, list) {\n const arr = list.filter((x) => x.parentId == obj.id);\n if (!arr.length)\n return;\n obj.children = arr;\n obj.children.forEach((x) => {\n _loadChildren(x, list);\n });\n return obj;\n}\nfunction tranListToTreeData(list) {\n const results = list.filter((x) => x.parentId == null);\n results.forEach((x) => _loadChildren(x, list));\n return results;\n}\nfunction findTree(id, list, idName) {\n let result;\n if (!list.length)\n return;\n const fn = (id2, list2, idName2) => {\n list2.find((_e) => {\n if (_e[idName2] === id2) {\n result = _e;\n } else if (_e.children && _e.children.length !== 0)\n return fn(id2, _e.children, idName2);\n });\n };\n fn(id, list, idName);\n return result;\n}\n\n// utils/obj/judge.ts\nfunction isPlainObject(obj) {\n let proto, Ctor;\n if (!obj || toString.call(obj) !== \"[object Object]\") {\n return false;\n }\n proto = Object.getPrototypeOf(obj);\n if (!proto) {\n return true;\n }\n Ctor = {}.hasOwnProperty.call(proto, \"constructor\") && proto.constructor;\n return typeof Ctor === \"function\" && {}.hasOwnProperty.toString.call(Ctor) === {}.hasOwnProperty.toString.call(Object);\n}\nvar isObject = (val) => val !== null && typeof val === \"object\";\nfunction isDate(val) {\n return toString.call(val) === \"[object Date]\";\n}\nfunction isURLSearchParams(val) {\n return typeof URLSearchParams !== \"undefined\" && val instanceof URLSearchParams;\n}\n\n// utils/obj/cache.ts\nvar assign = Object.assign;\n\n// utils/input/index.ts\nfunction filterOptionHeadle(key) {\n return (input, option) => option[key] && option[key].toLowerCase().indexOf(input.toLowerCase()) >= 0;\n}\n\n// utils/format/buildUrl.ts\nfunction encode(val) {\n return encodeURIComponent(val).replace(/%40/g, \"@\").replace(/%3A/gi, \":\").replace(/%24/g, \"$\").replace(/%2C/gi, \",\").replace(/%20/g, \"+\").replace(/%5B/gi, \"[\").replace(/%5D/gi, \"]\");\n}\nfunction buildURL(url, params) {\n if (!params) {\n return url;\n }\n if (isURLSearchParams(params)) {\n return url += (url.includes(\"?\") ? \"&\" : \"?\") + params.toString();\n }\n const parts = [];\n Object.keys(params).forEach((key) => {\n const val = params[key];\n if (val === null || typeof val === \"undefined\") {\n return;\n }\n let tempVal = [];\n if (Array.isArray(val)) {\n tempVal = val;\n key = key + \"[]\";\n } else {\n tempVal = [val];\n }\n tempVal.forEach((temp) => {\n if (isDate(temp)) {\n temp = val.toString();\n } else if (isObject(temp)) {\n temp = JSON.stringify(temp);\n }\n parts.push(`${encode(key)}=${encode(temp)}`);\n });\n });\n const hashmarkIndex = url.indexOf(\"#\");\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n url += (url.includes(\"?\") ? \"&\" : \"?\") + parts.join(\"&\");\n return url;\n}\n\n// utils/format/apiConfiger.ts\nvar hostname = window.location.hostname.split(\".\");\nvar protocol = window.location.protocol;\nfunction apiConfiger(config) {\n if (config.requestBase == \"USER_BASE_URL\") {\n config.baseURL = process.env.NODE_ENV == \"development\" ? \"/user\" : `${protocol}//basis.${hostname[1]}.${hostname[2]}`;\n }\n if (config.requestBase == \"BASIS_BASE_URL\") {\n config.baseURL = process.env.NODE_ENV == \"development\" ? \"/basis\" : `${protocol}//basis.${hostname[1]}.${hostname[2]}`;\n }\n if (config.requestBase == \"MRP2_BASE_URL\") {\n config.baseURL = process.env.NODE_ENV == \"development\" ? \"/mrp2\" : `${protocol}//mrp2.${hostname[1]}.${hostname[2]}`;\n }\n if (config.requestBase == \"ROOT_BASE_URL\") {\n config.baseURL = process.env.NODE_ENV == \"development\" ? \"/root\" : `${protocol}//basis.${hostname[1]}.${hostname[2]}`;\n }\n return config;\n}\n\n// utils/format/dateFormat.ts\nfunction dateFormat(data, format) {\n const weekList = [\n \"\\u661F\\u671F\\u65E5\",\n \"\\u661F\\u671F\\u4E00\",\n \"\\u661F\\u671F\\u4E8C\",\n \"\\u661F\\u671F\\u4E09\",\n \"\\u661F\\u671F\\u56DB\",\n \"\\u661F\\u671F\\u4E94\",\n \"\\u661F\\u671F\\u516D\"\n ];\n const now = data ? new Date(data) : new Date();\n let year = now.getFullYear();\n let month = now.getMonth() + 1;\n month = month < 10 ? \"0\" + month : month;\n let day = now.getDate();\n day = day < 10 ? \"0\" + day : day;\n let hours = now.getHours();\n hours = hours < 10 ? \"0\" + hours : hours;\n let minutes = now.getMinutes();\n minutes = minutes < 10 ? \"0\" + minutes : minutes;\n let seconds = now.getSeconds();\n seconds = seconds < 10 ? \"0\" + seconds : seconds;\n let week = weekList[now.getDay()];\n if (format) {\n format = format.replace(/YYYY/, String(year)).replace(/MM/, String(month)).replace(/DD/, String(day)).replace(/hh/, String(hours)).replace(/mm/, String(minutes)).replace(/ss/, String(seconds));\n return format;\n } else {\n return {\n date: `${year}\\u5E74${month}\\u6708${day}`,\n time: `${hours}:${minutes}:${seconds}`,\n week\n };\n }\n}\nfunction yearMonthFormat(data) {\n if (data) {\n const now = data ? new Date(data) : new Date();\n let year = now.getFullYear();\n let month = now.getMonth() + 1;\n month = month;\n return `${year}\\u5E74${month}\\u6708`;\n } else {\n return \"\";\n }\n}\nfunction yearMonthDayFormat(data) {\n if (data) {\n const now = data ? new Date(data) : new Date();\n let year = now.getFullYear();\n let month = now.getMonth() + 1;\n let day = now.getDate();\n month = month;\n return `${year}\\u5E74${month}\\u6708${day}\\u65E5`;\n } else {\n return \"\";\n }\n}\nexport {\n apiConfiger,\n arrToTree,\n assign,\n buildURL as buildUrl,\n dateFormat,\n filterOptionHeadle,\n findTree,\n isDate,\n isObject,\n isPlainObject,\n isURLSearchParams,\n tranListToTreeData,\n yearMonthDayFormat,\n yearMonthFormat\n};\n","<!--\r\n * @Author: Mr.Cong Wei\r\n * @Date: 2022-08-11 09:51:33\r\n * @LastEditTime: 2022-08-16 13:24:36\r\n-->\r\n<template>\r\n <div style=\"position: relative; margin-top: 8px; width: 30px; height: 23px;\">\r\n <svg\r\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n version=\"1.1\"\r\n width=\"23px\"\r\n height=\"23px\"\r\n style=\"position: absolute;\"\r\n >\r\n <g transform=\"matrix(1 0 0 1 -256 -275 )\">\r\n <path\r\n d=\"M 2.8482972136223452 0 C 1.2746130030959648 0.028482972136316675 0 1.3030959752322815 0 2.8767801857584345 L 0 20.151702786377655 C 0 21.725386996904035 1.2746130030959648 23 2.8482972136223452 23 L 20.123219814241565 23 C 21.69690402476772 23 22.971517027863683 21.725386996904035 23 20.151702786377655 L 23 2.8767801857584345 C 22.971517027863683 1.3030959752322815 21.69690402476772 0.028482972136316675 20.123219814241565 0 L 2.8482972136223452 0 Z \"\r\n fill-rule=\"nonzero\"\r\n fill=\"#bd9e55\"\r\n stroke=\"none\"\r\n transform=\"matrix(1 0 0 1 256 275 )\"\r\n />\r\n </g>\r\n </svg>\r\n <svg\r\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n version=\"1.1\"\r\n width=\"23px\"\r\n height=\"23px\"\r\n style=\"position: absolute;left: 7px;bottom: 7px;\"\r\n >\r\n <g transform=\"matrix(1 0 0 1 -263 -268 )\">\r\n <path\r\n d=\"M 2.8767801857584345 0 C 1.3030959752322815 0 0.028482972136316675 1.2746130030959648 0.028482972136316675 2.8482972136223452 L 0.028482972136316675 4.870588235294008 C 0.028482972136316675 5.027244582043295 0.15665634674928697 5.155417956656265 0.31331269349834656 5.155417956656265 L 14.426625386996877 5.155417956656265 C 16.306501547987637 5.155417956656265 17.844582043343735 6.693498452012363 17.844582043343735 8.573374613003125 L 17.844582043343735 22.686687306501653 C 17.844582043343735 22.843343653250713 17.972755417956705 22.971517027863683 18.129411764705992 22.971517027863683 L 20.151702786377655 22.971517027863683 C 21.725386996904035 22.971517027863683 23 21.69690402476772 23 20.123219814241565 L 23 2.8482972136223452 C 23 1.2746130030959648 21.725386996904035 0 20.151702786377655 0 L 2.8767801857584345 0 Z \"\r\n fill-rule=\"nonzero\"\r\n fill=\"#bd9e55\"\r\n stroke=\"none\"\r\n transform=\"matrix(1 0 0 1 263 268 )\"\r\n />\r\n </g>\r\n </svg>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\"></script>\r\n\r\n<style scoped></style>\r\n","<template>\r\n <div class=\"Mrp-time text-[18px] flex items-center\">\r\n <a-radio-group v-model:value=\"activeBtn\" size=\"large\" @change=\"selectTime\">\r\n <a-radio-button\r\n v-for=\"item in btnList\"\r\n :key=\"item.id\"\r\n :value=\"item.id\"\r\n class=\"cursor-pointer\"\r\n >{{ item.name }}</a-radio-button\r\n >\r\n </a-radio-group>\r\n <a-range-picker\r\n class=\"picker\"\r\n style=\"height: 35px; width: 210px;border-radius: 5px;\"\r\n v-model:value=\"time\"\r\n format=\"YYYY/MM/DD\"\r\n valueFormat=\"YYYY-MM-DD\"\r\n @change=\"timeChange\"\r\n >\r\n <template #suffixIcon>\r\n <FieldTimeOutlined />\r\n </template>\r\n </a-range-picker>\r\n </div>\r\n</template>\r\n\r\n<script lang=\"ts\">\r\nimport { reactive, toRefs, onBeforeMount, onMounted, ref } from \"vue\";\r\n\r\nexport default {\r\n name: \"time\",\r\n props: {\r\n timeType: Number,\r\n },\r\n emits: [\"selectedTime\"],\r\n setup(props: any, context: any) {\r\n const data: any = reactive({\r\n time: \"\",\r\n year: \"\",\r\n beginTime: \"\",\r\n endTime: \"\",\r\n });\r\n const today = ref(\"\");\r\n const activeBtn = ref(0);\r\n const btnList = ref([\r\n {\r\n id: 0,\r\n name: \"开累\",\r\n },\r\n {\r\n id: 1,\r\n name: \"上月\",\r\n },\r\n {\r\n id: 2,\r\n name: \"本月\",\r\n },\r\n {\r\n id: 3,\r\n name: \"去年\",\r\n },\r\n {\r\n id: 4,\r\n name: \"今年\",\r\n },\r\n ]);\r\n const refData: any = toRefs(data);\r\n onBeforeMount(() => {\r\n const date = new Date();\r\n refData.year.value = date.getFullYear();\r\n const y = date.getFullYear().toString();\r\n const m = (date.getMonth() + 1).toString().padStart(2, \"0\");\r\n const d = date.getDate().toString().padStart(2, \"0\");\r\n today.value = y + \"/\" + m + \"/\" + d;\r\n data.time = [\"1990-01-01\", y + \"-\" + m + \"-\" + d];\r\n });\r\n onMounted(() => {});\r\n\r\n const formatFun = (date,format)=>{\r\n var o: any = {\r\n \"M+\": date.getMonth() + 1, //month\r\n \"d+\": date.getDate(), //day\r\n \"h+\": date.getHours(), //hour\r\n \"m+\": date.getMinutes(), //minute\r\n \"s+\": date.getSeconds(), //second\r\n \"q+\": Math.floor((date.getMonth() + 3) / 3), //quarter\r\n S: date.getMilliseconds(), //millisecond\r\n };\r\n if (/(y+)/.test(format))\r\n format = format.replace(\r\n RegExp.$1,\r\n (date.getFullYear() + \"\").substr(4 - RegExp.$1.length)\r\n );\r\n for (var k in o)\r\n if (new RegExp(\"(\" + k + \")\").test(format))\r\n format = format.replace(\r\n RegExp.$1,\r\n RegExp.$1.length == 1 ? o[k] : (\"00\" + o[k]).substr((\"\" + o[k]).length)\r\n );\r\n return format;\r\n }\r\n\r\n const timeChange = (dates: any | String) => {\r\n activeBtn.value = -1;\r\n context.emit(\"selectedTime\", dates[0], dates[1], props.timeType);\r\n console.log(\r\n dates[0],\r\n dates[1],\r\n props.timeType,\r\n \"-----------------------selectedTime\"\r\n );\r\n };\r\n const selectTime = (e: any) => {\r\n console.log(props.timeType);\r\n\r\n let type = e.target.value;\r\n if (type === 0) {\r\n //开累\r\n refData.beginTime.value = \"1990/01/01\";\r\n refData.endTime.value = today.value;\r\n } else if (type === 1) {\r\n //上月\r\n refData.beginTime.value = formatFun(new Date(\r\n new Date(new Date().setMonth(new Date().getMonth() - 1)).setDate(1)\r\n ),\"yyyy/MM/dd\");\r\n refData.endTime.value = formatFun(new Date(new Date().setDate(0)),\"yyyy/MM/dd\");\r\n } else if (type === 2) {\r\n //本月\r\n refData.beginTime.value = formatFun(new Date(new Date().setDate(1)),\"yyyy/MM/dd\");\r\n refData.endTime.value = formatFun(new Date(\r\n new Date(new Date().setMonth(new Date().getMonth() + 1)).setDate(0)\r\n ),\"yyyy/MM/dd\");\r\n } else if (type === 3) {\r\n //去年\r\n refData.beginTime.value = \"2021/01/01\";\r\n refData.endTime.value = \"2021/12/31\";\r\n } else if (type === 4) {\r\n //今年\r\n refData.beginTime.value = formatFun(new Date(\r\n new Date(new Date().setMonth(0)).setDate(1)\r\n ),\"yyyy/MM/dd\");\r\n refData.endTime.value = formatFun(new Date(\r\n new Date(new Date().setMonth(12)).setDate(0)\r\n ),\"yyyy/MM/dd\");\r\n }\r\n refData.time.value = [refData.beginTime.value, refData.endTime.value];\r\n console.log(\r\n refData.beginTime.value,\r\n refData.endTime.value,\r\n props.timeType,\r\n \"-----------------------selectedTime\"\r\n );\r\n context.emit(\r\n \"selectedTime\",\r\n refData.beginTime.value,\r\n refData.endTime.value,\r\n props.timeType\r\n );\r\n };\r\n return {\r\n ...refData,\r\n activeBtn,\r\n btnList,\r\n timeChange,\r\n selectTime,\r\n };\r\n },\r\n};\r\n</script>\r\n<style lang=\"scss\" scoped>\r\n.Mrp-time {\r\n .button {\r\n width: 48px;\r\n height: 30px;\r\n }\r\n .active {\r\n background: rgba(189, 158, 85, 1);\r\n }\r\n\r\n :deep(.ant-radio-button-wrapper:first-child) {\r\n border-radius: 4px 0 0 4px;\r\n }\r\n\r\n :deep(.ant-radio-button-wrapper:last-child) {\r\n border-radius: 0 4px 4px 0;\r\n }\r\n\r\n :deep(.el-range-editor.el-input__inner) {\r\n width: 200px;\r\n height: 35px;\r\n }\r\n :deep(.el-date-editor .el-range-input) {\r\n font-size: 12px;\r\n color: #333333;\r\n }\r\n :deep(.ant-radio-button-wrapper) {\r\n width: 52px;\r\n height: 35px;\r\n font-size: 12px;\r\n color: #006ab2;\r\n padding: 0;\r\n text-align: center;\r\n line-height: 35px;\r\n border: 1px solid rgba(0, 106, 178, 1);\r\n }\r\n :deep(.ant-radio-button-wrapper-checked) {\r\n background: rgba(189, 158, 85, 1);\r\n color: #fff;\r\n border: 1px solid rgba(189, 158, 85, 1);\r\n }\r\n :deep(.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):first-child) {\r\n border-color: rgba(189, 158, 85, 1);\r\n }\r\n .picker {\r\n margin-left: 10px;\r\n }\r\n :deep(.ant-picker-input > input){\r\n font-size: 12px;\r\n }\r\n :deep(.ant-picker-range-separator){\r\n margin-bottom: 5px;\r\n }\r\n}\r\n</style>\r\n"],"names":["_loadChildren","obj","list","arr","filter","x","parentId","id","length","children","forEach","tranListToTreeData","results","isObject","val","isDate","toString","call","isURLSearchParams","URLSearchParams","assign","Object","filterOptionHeadle","key","input","option","toLowerCase","indexOf","encode","encodeURIComponent","replace","buildURL","url","params","includes","parts","keys","tempVal","Array","isArray","temp","JSON","stringify","push","hashmarkIndex","slice","join","window","location","hostname","split","dateFormat","data","format","weekList","now","Date","year","getFullYear","month","getMonth","day","getDate","hours","getHours","minutes","getMinutes","seconds","getSeconds","week","getDay","String","date","time","_hoisted_1","style","xmlns","version","d","fill","stroke","transform","_hoisted_4","_openBlock","_createElementBlock","_createVNode","_component_a_radio_group","value","$setup","activeBtn","$event","size","onChange","selectTime","_Fragment","_renderList","btnList","item","_createBlock","_component_a_radio_button","_createTextVNode","_toDisplayString","name","_component_a_range_picker","_ctx","valueFormat","timeChange","suffixIcon","_component_FieldTimeOutlined"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.umd.js","sources":["../../shared/dist/utils/index.mjs","../src/business-ui/component/icon/SelectorIcon.vue?vue&type=template&id=0b124b76&lang.js","../src/business-ui/component/IVTimeSelector.vue?vue&type=template&id=5f0fe252&lang.js"],"sourcesContent":["// utils/arr/tree.ts\nfunction arrToTree(list, parentMark, childrenMark) {\n let result = [], temp;\n for (let i = 0; i < list.length; i++) {\n if (!list[i][parentMark]) {\n temp = list.filter(\n (item) => item[parentMark] === list[i][childrenMark]\n );\n if (temp.length > 0) {\n list[i].children = temp;\n }\n result.push(list[i]);\n }\n }\n return result;\n}\nfunction _loadChildren(obj, list) {\n const arr = list.filter((x) => x.parentId == obj.id);\n if (!arr.length)\n return;\n obj.children = arr;\n obj.children.forEach((x) => {\n _loadChildren(x, list);\n });\n return obj;\n}\nfunction tranListToTreeData(list) {\n const results = list.filter((x) => x.parentId == null);\n results.forEach((x) => _loadChildren(x, list));\n return results;\n}\nfunction findTree(id, list, idName) {\n let result;\n if (!list.length)\n return;\n const fn = (id2, list2, idName2) => {\n list2.find((_e) => {\n if (_e[idName2] === id2) {\n result = _e;\n } else if (_e.children && _e.children.length !== 0)\n return fn(id2, _e.children, idName2);\n });\n };\n fn(id, list, idName);\n return result;\n}\n\n// utils/obj/judge.ts\nfunction isPlainObject(obj) {\n let proto, Ctor;\n if (!obj || toString.call(obj) !== \"[object Object]\") {\n return false;\n }\n proto = Object.getPrototypeOf(obj);\n if (!proto) {\n return true;\n }\n Ctor = {}.hasOwnProperty.call(proto, \"constructor\") && proto.constructor;\n return typeof Ctor === \"function\" && {}.hasOwnProperty.toString.call(Ctor) === {}.hasOwnProperty.toString.call(Object);\n}\nvar isObject = (val) => val !== null && typeof val === \"object\";\nfunction isDate(val) {\n return toString.call(val) === \"[object Date]\";\n}\nfunction isURLSearchParams(val) {\n return typeof URLSearchParams !== \"undefined\" && val instanceof URLSearchParams;\n}\n\n// utils/obj/cache.ts\nvar assign = Object.assign;\n\n// utils/input/index.ts\nfunction filterOptionHeadle(key) {\n return (input, option) => option[key] && option[key].toLowerCase().indexOf(input.toLowerCase()) >= 0;\n}\n\n// utils/format/buildUrl.ts\nfunction encode(val) {\n return encodeURIComponent(val).replace(/%40/g, \"@\").replace(/%3A/gi, \":\").replace(/%24/g, \"$\").replace(/%2C/gi, \",\").replace(/%20/g, \"+\").replace(/%5B/gi, \"[\").replace(/%5D/gi, \"]\");\n}\nfunction buildURL(url, params) {\n if (!params) {\n return url;\n }\n if (isURLSearchParams(params)) {\n return url += (url.includes(\"?\") ? \"&\" : \"?\") + params.toString();\n }\n const parts = [];\n Object.keys(params).forEach((key) => {\n const val = params[key];\n if (val === null || typeof val === \"undefined\") {\n return;\n }\n let tempVal = [];\n if (Array.isArray(val)) {\n tempVal = val;\n key = key + \"[]\";\n } else {\n tempVal = [val];\n }\n tempVal.forEach((temp) => {\n if (isDate(temp)) {\n temp = val.toString();\n } else if (isObject(temp)) {\n temp = JSON.stringify(temp);\n }\n parts.push(`${encode(key)}=${encode(temp)}`);\n });\n });\n const hashmarkIndex = url.indexOf(\"#\");\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n url += (url.includes(\"?\") ? \"&\" : \"?\") + parts.join(\"&\");\n return url;\n}\n\n// utils/format/apiConfiger.ts\nvar hostname = window.location.hostname.split(\".\");\nvar protocol = window.location.protocol;\nfunction apiConfiger(config) {\n if (config.requestBase == \"USER_BASE_URL\") {\n config.baseURL = process.env.NODE_ENV == \"development\" ? \"/user\" : `${protocol}//basis.${hostname[1]}.${hostname[2]}`;\n }\n if (config.requestBase == \"BASIS_BASE_URL\") {\n config.baseURL = process.env.NODE_ENV == \"development\" ? \"/basis\" : `${protocol}//basis.${hostname[1]}.${hostname[2]}`;\n }\n if (config.requestBase == \"MRP2_BASE_URL\") {\n config.baseURL = process.env.NODE_ENV == \"development\" ? \"/mrp2\" : `${protocol}//mrp2.${hostname[1]}.${hostname[2]}`;\n }\n if (config.requestBase == \"ROOT_BASE_URL\") {\n config.baseURL = process.env.NODE_ENV == \"development\" ? \"/root\" : `${protocol}//basis.${hostname[1]}.${hostname[2]}`;\n }\n return config;\n}\n\n// utils/format/dateFormat.ts\nfunction dateFormat(data, format) {\n const weekList = [\n \"\\u661F\\u671F\\u65E5\",\n \"\\u661F\\u671F\\u4E00\",\n \"\\u661F\\u671F\\u4E8C\",\n \"\\u661F\\u671F\\u4E09\",\n \"\\u661F\\u671F\\u56DB\",\n \"\\u661F\\u671F\\u4E94\",\n \"\\u661F\\u671F\\u516D\"\n ];\n const now = data ? new Date(data) : new Date();\n let year = now.getFullYear();\n let month = now.getMonth() + 1;\n month = month < 10 ? \"0\" + month : month;\n let day = now.getDate();\n day = day < 10 ? \"0\" + day : day;\n let hours = now.getHours();\n hours = hours < 10 ? \"0\" + hours : hours;\n let minutes = now.getMinutes();\n minutes = minutes < 10 ? \"0\" + minutes : minutes;\n let seconds = now.getSeconds();\n seconds = seconds < 10 ? \"0\" + seconds : seconds;\n let week = weekList[now.getDay()];\n if (format) {\n format = format.replace(/YYYY/, String(year)).replace(/MM/, String(month)).replace(/DD/, String(day)).replace(/hh/, String(hours)).replace(/mm/, String(minutes)).replace(/ss/, String(seconds));\n return format;\n } else {\n return {\n date: `${year}\\u5E74${month}\\u6708${day}`,\n time: `${hours}:${minutes}:${seconds}`,\n week\n };\n }\n}\nfunction yearMonthFormat(data) {\n if (data) {\n const now = data ? new Date(data) : new Date();\n let year = now.getFullYear();\n let month = now.getMonth() + 1;\n month = month;\n return `${year}\\u5E74${month}\\u6708`;\n } else {\n return \"\";\n }\n}\nfunction yearMonthDayFormat(data) {\n if (data) {\n const now = data ? new Date(data) : new Date();\n let year = now.getFullYear();\n let month = now.getMonth() + 1;\n let day = now.getDate();\n month = month;\n return `${year}\\u5E74${month}\\u6708${day}\\u65E5`;\n } else {\n return \"\";\n }\n}\nexport {\n apiConfiger,\n arrToTree,\n assign,\n buildURL as buildUrl,\n dateFormat,\n filterOptionHeadle,\n findTree,\n isDate,\n isObject,\n isPlainObject,\n isURLSearchParams,\n tranListToTreeData,\n yearMonthDayFormat,\n yearMonthFormat\n};\n","<!--\r\n * @Author: Mr.Cong Wei\r\n * @Date: 2022-08-11 09:51:33\r\n * @LastEditTime: 2022-08-16 13:24:36\r\n-->\r\n<template>\r\n <div style=\"position: relative; margin-top: 8px; width: 30px; height: 23px;\">\r\n <svg\r\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n version=\"1.1\"\r\n width=\"23px\"\r\n height=\"23px\"\r\n style=\"position: absolute;\"\r\n >\r\n <g transform=\"matrix(1 0 0 1 -256 -275 )\">\r\n <path\r\n d=\"M 2.8482972136223452 0 C 1.2746130030959648 0.028482972136316675 0 1.3030959752322815 0 2.8767801857584345 L 0 20.151702786377655 C 0 21.725386996904035 1.2746130030959648 23 2.8482972136223452 23 L 20.123219814241565 23 C 21.69690402476772 23 22.971517027863683 21.725386996904035 23 20.151702786377655 L 23 2.8767801857584345 C 22.971517027863683 1.3030959752322815 21.69690402476772 0.028482972136316675 20.123219814241565 0 L 2.8482972136223452 0 Z \"\r\n fill-rule=\"nonzero\"\r\n fill=\"#bd9e55\"\r\n stroke=\"none\"\r\n transform=\"matrix(1 0 0 1 256 275 )\"\r\n />\r\n </g>\r\n </svg>\r\n <svg\r\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n version=\"1.1\"\r\n width=\"23px\"\r\n height=\"23px\"\r\n style=\"position: absolute;left: 7px;bottom: 7px;\"\r\n >\r\n <g transform=\"matrix(1 0 0 1 -263 -268 )\">\r\n <path\r\n d=\"M 2.8767801857584345 0 C 1.3030959752322815 0 0.028482972136316675 1.2746130030959648 0.028482972136316675 2.8482972136223452 L 0.028482972136316675 4.870588235294008 C 0.028482972136316675 5.027244582043295 0.15665634674928697 5.155417956656265 0.31331269349834656 5.155417956656265 L 14.426625386996877 5.155417956656265 C 16.306501547987637 5.155417956656265 17.844582043343735 6.693498452012363 17.844582043343735 8.573374613003125 L 17.844582043343735 22.686687306501653 C 17.844582043343735 22.843343653250713 17.972755417956705 22.971517027863683 18.129411764705992 22.971517027863683 L 20.151702786377655 22.971517027863683 C 21.725386996904035 22.971517027863683 23 21.69690402476772 23 20.123219814241565 L 23 2.8482972136223452 C 23 1.2746130030959648 21.725386996904035 0 20.151702786377655 0 L 2.8767801857584345 0 Z \"\r\n fill-rule=\"nonzero\"\r\n fill=\"#bd9e55\"\r\n stroke=\"none\"\r\n transform=\"matrix(1 0 0 1 263 268 )\"\r\n />\r\n </g>\r\n </svg>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\"></script>\r\n\r\n<style scoped></style>\r\n","<template>\r\n <div class=\"Mrp-time text-[18px] flex items-center\">\r\n <a-radio-group v-model:value=\"activeBtn\" size=\"large\" @change=\"selectTime\">\r\n <a-radio-button\r\n v-for=\"item in btnList\"\r\n :key=\"item.id\"\r\n :value=\"item.id\"\r\n class=\"cursor-pointer\"\r\n >{{ item.name }}</a-radio-button\r\n >\r\n </a-radio-group>\r\n <a-range-picker\r\n class=\"picker\"\r\n style=\"height: 35px; width: 210px;border-radius: 5px;\"\r\n v-model:value=\"time\"\r\n format=\"YYYY/MM/DD\"\r\n valueFormat=\"YYYY-MM-DD\"\r\n @change=\"timeChange\"\r\n >\r\n <template #suffixIcon>\r\n <FieldTimeOutlined />\r\n </template>\r\n </a-range-picker>\r\n </div>\r\n</template>\r\n\r\n<script lang=\"ts\">\r\nimport { reactive, toRefs, onBeforeMount, onMounted, ref } from \"vue\";\r\n\r\nexport default {\r\n name: \"time\",\r\n props: {\r\n timeType: Number,\r\n },\r\n emits: [\"selectedTime\"],\r\n setup(props: any, context: any) {\r\n const data: any = reactive({\r\n time: \"\",\r\n year: \"\",\r\n beginTime: \"\",\r\n endTime: \"\",\r\n });\r\n const today = ref(\"\");\r\n const activeBtn = ref(0);\r\n const btnList = ref([\r\n {\r\n id: 0,\r\n name: \"开累\",\r\n },\r\n {\r\n id: 1,\r\n name: \"上月\",\r\n },\r\n {\r\n id: 2,\r\n name: \"本月\",\r\n },\r\n {\r\n id: 3,\r\n name: \"去年\",\r\n },\r\n {\r\n id: 4,\r\n name: \"今年\",\r\n },\r\n ]);\r\n const refData: any = toRefs(data);\r\n onBeforeMount(() => {\r\n const date = new Date();\r\n refData.year.value = date.getFullYear();\r\n const y = date.getFullYear().toString();\r\n const m = (date.getMonth() + 1).toString().padStart(2, \"0\");\r\n const d = date.getDate().toString().padStart(2, \"0\");\r\n today.value = y + \"/\" + m + \"/\" + d;\r\n data.time = [\"1990-01-01\", y + \"-\" + m + \"-\" + d];\r\n });\r\n onMounted(() => {});\r\n\r\n const formatFun = (date,format)=>{\r\n var o: any = {\r\n \"M+\": date.getMonth() + 1, //month\r\n \"d+\": date.getDate(), //day\r\n \"h+\": date.getHours(), //hour\r\n \"m+\": date.getMinutes(), //minute\r\n \"s+\": date.getSeconds(), //second\r\n \"q+\": Math.floor((date.getMonth() + 3) / 3), //quarter\r\n S: date.getMilliseconds(), //millisecond\r\n };\r\n if (/(y+)/.test(format))\r\n format = format.replace(\r\n RegExp.$1,\r\n (date.getFullYear() + \"\").substr(4 - RegExp.$1.length)\r\n );\r\n for (var k in o)\r\n if (new RegExp(\"(\" + k + \")\").test(format))\r\n format = format.replace(\r\n RegExp.$1,\r\n RegExp.$1.length == 1 ? o[k] : (\"00\" + o[k]).substr((\"\" + o[k]).length)\r\n );\r\n return format;\r\n }\r\n\r\n const timeChange = (dates: any | String) => {\r\n activeBtn.value = -1;\r\n context.emit(\"selectedTime\", dates[0], dates[1], props.timeType);\r\n console.log(\r\n dates[0],\r\n dates[1],\r\n props.timeType,\r\n \"-----------------------selectedTime\"\r\n );\r\n };\r\n const selectTime = (e: any) => {\r\n console.log(props.timeType);\r\n\r\n let type = e.target.value;\r\n if (type === 0) {\r\n //开累\r\n refData.beginTime.value = \"1990/01/01\";\r\n refData.endTime.value = today.value;\r\n } else if (type === 1) {\r\n //上月\r\n refData.beginTime.value = formatFun(new Date(\r\n new Date(new Date().setMonth(new Date().getMonth() - 1)).setDate(1)\r\n ),\"yyyy/MM/dd\");\r\n refData.endTime.value = formatFun(new Date(new Date().setDate(0)),\"yyyy/MM/dd\");\r\n } else if (type === 2) {\r\n //本月\r\n refData.beginTime.value = formatFun(new Date(new Date().setDate(1)),\"yyyy/MM/dd\");\r\n refData.endTime.value = formatFun(new Date(\r\n new Date(new Date().setMonth(new Date().getMonth() + 1)).setDate(0)\r\n ),\"yyyy/MM/dd\");\r\n } else if (type === 3) {\r\n //去年\r\n refData.beginTime.value = \"2021/01/01\";\r\n refData.endTime.value = \"2021/12/31\";\r\n } else if (type === 4) {\r\n //今年\r\n refData.beginTime.value = formatFun(new Date(\r\n new Date(new Date().setMonth(0)).setDate(1)\r\n ),\"yyyy/MM/dd\");\r\n refData.endTime.value = formatFun(new Date(\r\n new Date(new Date().setMonth(12)).setDate(0)\r\n ),\"yyyy/MM/dd\");\r\n }\r\n refData.time.value = [refData.beginTime.value, refData.endTime.value];\r\n console.log(\r\n refData.beginTime.value,\r\n refData.endTime.value,\r\n props.timeType,\r\n \"-----------------------selectedTime\"\r\n );\r\n context.emit(\r\n \"selectedTime\",\r\n refData.beginTime.value,\r\n refData.endTime.value,\r\n props.timeType\r\n );\r\n };\r\n return {\r\n ...refData,\r\n activeBtn,\r\n btnList,\r\n timeChange,\r\n selectTime,\r\n };\r\n },\r\n};\r\n</script>\r\n<style lang=\"scss\" scoped>\r\n.Mrp-time {\r\n .button {\r\n width: 48px;\r\n height: 30px;\r\n }\r\n .active {\r\n background: rgba(189, 158, 85, 1);\r\n }\r\n\r\n :deep(.ant-radio-button-wrapper:first-child) {\r\n border-radius: 4px 0 0 4px;\r\n }\r\n\r\n :deep(.ant-radio-button-wrapper:last-child) {\r\n border-radius: 0 4px 4px 0;\r\n }\r\n\r\n :deep(.el-range-editor.el-input__inner) {\r\n width: 200px;\r\n height: 35px;\r\n }\r\n :deep(.el-date-editor .el-range-input) {\r\n font-size: 12px;\r\n color: #333333;\r\n }\r\n :deep(.ant-radio-button-wrapper) {\r\n width: 52px;\r\n height: 35px;\r\n font-size: 12px;\r\n color: #006ab2;\r\n padding: 0;\r\n text-align: center;\r\n line-height: 35px;\r\n border: 1px solid rgba(0, 106, 178, 1);\r\n }\r\n :deep(.ant-radio-button-wrapper-checked) {\r\n background: rgba(189, 158, 85, 1);\r\n color: #fff;\r\n border: 1px solid rgba(189, 158, 85, 1);\r\n }\r\n :deep(.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):first-child) {\r\n border-color: rgba(189, 158, 85, 1);\r\n }\r\n .picker {\r\n margin-left: 10px;\r\n }\r\n :deep(.ant-picker-input > input){\r\n font-size: 12px;\r\n }\r\n :deep(.ant-picker-range-separator){\r\n margin-bottom: 5px;\r\n }\r\n}\r\n</style>\r\n"],"names":["_loadChildren","obj","list","arr","filter","x","parentId","id","length","children","forEach","tranListToTreeData","results","isObject","val","isDate","toString","call","isURLSearchParams","URLSearchParams","assign","Object","filterOptionHeadle","key","input","option","toLowerCase","indexOf","encode","encodeURIComponent","replace","buildURL","url","params","includes","parts","keys","tempVal","Array","isArray","temp","JSON","stringify","push","hashmarkIndex","slice","join","window","location","hostname","split","dateFormat","data","format","weekList","now","Date","year","getFullYear","month","getMonth","day","getDate","hours","getHours","minutes","getMinutes","seconds","getSeconds","week","getDay","String","date","time","_hoisted_1","style","xmlns","version","d","fill","stroke","transform","_hoisted_4","_openBlock","_createElementBlock","_createVNode","_component_a_radio_group","value","$setup","activeBtn","$event","size","onChange","selectTime","_Fragment","_renderList","btnList","item","_createBlock","_component_a_radio_button","_createTextVNode","_toDisplayString","name","_component_a_range_picker","_ctx","valueFormat","timeChange","suffixIcon","_component_FieldTimeOutlined"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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