Files
ETB/ETB-FrontEnd/node_modules/.cache/babel-loader/fec72c575278522c1c3c50d99c884dbe9c18c80140c1f1a78d33838a7d46d5b9.json
Iliyan Angelov 306b20e24a Frontend start
2025-09-14 00:54:48 +03:00

1 line
4.5 KiB
JSON

{"ast":null,"code":"import BaseAdapterDayjs from '@date-io/dayjs';\nconst formatTokenMap = {\n YY: 'year',\n YYYY: 'year',\n M: 'month',\n MM: 'month',\n MMM: 'month',\n MMMM: 'month',\n D: 'day',\n DD: 'day',\n H: 'hour',\n HH: 'hour',\n h: 'hour',\n hh: 'hour',\n m: 'minute',\n mm: 'minute',\n s: 'second',\n ss: 'second',\n A: 'am-pm',\n a: 'am-pm'\n};\nexport class AdapterDayjs extends BaseAdapterDayjs {\n constructor() {\n super(...arguments);\n this.formatTokenMap = formatTokenMap;\n this.expandFormat = format => {\n var _this$rawDayJsInstanc;\n const localeFormats = (_this$rawDayJsInstanc = this.rawDayJsInstance.Ls[this.locale || 'en']) == null ? void 0 : _this$rawDayJsInstanc.formats; // @see https://github.com/iamkun/dayjs/blob/dev/src/plugin/localizedFormat/index.js\n\n const t = formatBis => formatBis.replace(/(\\[[^\\]]+])|(MMMM|MM|DD|dddd)/g, (_, a, b) => a || b.slice(1));\n return format.replace(/(\\[[^\\]]+])|(LTS?|l{1,4}|L{1,4})/g, (_, a, b) => {\n const B = b && b.toUpperCase();\n return a || localeFormats[b] || t(localeFormats[B]);\n });\n };\n this.getFormatHelperText = format => {\n return this.expandFormat(format).replace(/a/gi, '(a|p)m').toLocaleLowerCase();\n };\n }\n}","map":{"version":3,"names":["BaseAdapterDayjs","formatTokenMap","YY","YYYY","M","MM","MMM","MMMM","D","DD","H","HH","h","hh","m","mm","s","ss","A","a","AdapterDayjs","constructor","arguments","expandFormat","format","_this$rawDayJsInstanc","localeFormats","rawDayJsInstance","Ls","locale","formats","t","formatBis","replace","_","b","slice","B","toUpperCase","getFormatHelperText","toLocaleLowerCase"],"sources":["/home/gnx/Desktop/ETB/ETB-FrontEnd/node_modules/@mui/x-date-pickers/AdapterDayjs/index.js"],"sourcesContent":["import BaseAdapterDayjs from '@date-io/dayjs';\nconst formatTokenMap = {\n YY: 'year',\n YYYY: 'year',\n M: 'month',\n MM: 'month',\n MMM: 'month',\n MMMM: 'month',\n D: 'day',\n DD: 'day',\n H: 'hour',\n HH: 'hour',\n h: 'hour',\n hh: 'hour',\n m: 'minute',\n mm: 'minute',\n s: 'second',\n ss: 'second',\n A: 'am-pm',\n a: 'am-pm'\n};\nexport class AdapterDayjs extends BaseAdapterDayjs {\n constructor(...args) {\n super(...args);\n this.formatTokenMap = formatTokenMap;\n\n this.expandFormat = format => {\n var _this$rawDayJsInstanc;\n\n const localeFormats = (_this$rawDayJsInstanc = this.rawDayJsInstance.Ls[this.locale || 'en']) == null ? void 0 : _this$rawDayJsInstanc.formats; // @see https://github.com/iamkun/dayjs/blob/dev/src/plugin/localizedFormat/index.js\n\n const t = formatBis => formatBis.replace(/(\\[[^\\]]+])|(MMMM|MM|DD|dddd)/g, (_, a, b) => a || b.slice(1));\n\n return format.replace(/(\\[[^\\]]+])|(LTS?|l{1,4}|L{1,4})/g, (_, a, b) => {\n const B = b && b.toUpperCase();\n return a || localeFormats[b] || t(localeFormats[B]);\n });\n };\n\n this.getFormatHelperText = format => {\n return this.expandFormat(format).replace(/a/gi, '(a|p)m').toLocaleLowerCase();\n };\n }\n\n}"],"mappings":"AAAA,OAAOA,gBAAgB,MAAM,gBAAgB;AAC7C,MAAMC,cAAc,GAAG;EACrBC,EAAE,EAAE,MAAM;EACVC,IAAI,EAAE,MAAM;EACZC,CAAC,EAAE,OAAO;EACVC,EAAE,EAAE,OAAO;EACXC,GAAG,EAAE,OAAO;EACZC,IAAI,EAAE,OAAO;EACbC,CAAC,EAAE,KAAK;EACRC,EAAE,EAAE,KAAK;EACTC,CAAC,EAAE,MAAM;EACTC,EAAE,EAAE,MAAM;EACVC,CAAC,EAAE,MAAM;EACTC,EAAE,EAAE,MAAM;EACVC,CAA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