fleet-contractor/Site/js/lib/element.min.js.map
2024-03-26 15:56:31 +08:00

1 line
22 KiB
Plaintext

{"version":3,"file":"element.min.js","sources":["../../../../../../UILib/ui-lib/lib/element/schedule.js"],"sourcesContent":["import { Grid, GridColumn, createElement, setTooltip, createIcon, createCheckbox, createRadiobox, showAlert, showConfirm, Popup, Dropdown, validation } from \"../ui\";\r\nimport { r as lang, nullOrEmpty, formatUrl, escapeEmoji, isEmail, isPhone } from \"../utility\";\r\n\r\nlet r = lang;\r\n\r\nfunction datepicker(element) {\r\n if (typeof $?.fn?.datepicker === 'function') {\r\n $(element).datepicker({\r\n autoHide: true,\r\n format: 'm/dd/yyyy'\r\n });\r\n }\r\n return element;\r\n}\r\n\r\nexport default class ScheduleItem {\r\n _var = {};\r\n\r\n constructor(opt) {\r\n this._var.option = opt ?? {};\r\n const getText = opt?.getText;\r\n if (typeof getText === 'function') {\r\n r = getText;\r\n }\r\n }\r\n\r\n get checkOccurOnce() { return this._var.container.querySelector('.schedule-id-box-occur-once>input'); }\r\n get checkOccurEvery() { return this._var.container.querySelector('.schedule-id-box-occur-every>input'); }\r\n get inputOccurOnce() { return this._var.container.querySelector('.schedule-id-occur-once'); }\r\n get inputOccurEvery() { return this._var.container.querySelector('.schedule-id-occur-every'); }\r\n get inputOccurStarting() { return this._var.container.querySelector('.schedule-id-occur-starting') }\r\n get inputOccurEnding() { return this._var.container.querySelector('.schedule-id-occur-ending') }\r\n\r\n changeDailyFrequency(once) {\r\n this.inputOccurOnce.disabled = !once;\r\n this.inputOccurEvery.disabled = once;\r\n this.inputOccurStarting.disabled = once;\r\n this.inputOccurEnding.disabled = once;\r\n }\r\n\r\n getParameters() {\r\n return {\r\n Enabled: this._var.container.querySelector('.schedule-id-enabled>input').checked,\r\n Schedule: {\r\n Frequency: Number(this.dropFrequency.selected.value),\r\n Daily: {\r\n OcurrsOnce: this.checkOccurOnce.checked,\r\n OcurrsOnceAt: this.inputOccurOnce.value,\r\n OcurrsInterval: Number(this.inputOccurEvery.value),\r\n StartingAt: this.inputOccurStarting.value,\r\n EndingAt: this.inputOccurEnding.value\r\n },\r\n Monday: this._var.container.querySelector('.schedule-id-1>input').checked,\r\n Tuesday: this._var.container.querySelector('.schedule-id-2>input').checked,\r\n Wednesday: this._var.container.querySelector('.schedule-id-3>input').checked,\r\n Thursday: this._var.container.querySelector('.schedule-id-4>input').checked,\r\n Friday: this._var.container.querySelector('.schedule-id-5>input').checked,\r\n Saturday: this._var.container.querySelector('.schedule-id-6>input').checked,\r\n Sunday: this._var.container.querySelector('.schedule-id-7>input').checked,\r\n DayOfMonth: Number(this._var.container.querySelector('.schedule-id-dayofmonth').value),\r\n StartDate: this._var.container.querySelector('.schedule-id-duration-start').value,\r\n EndDate: this._var.container.querySelector('.schedule-id-duration-end').value\r\n }\r\n };\r\n }\r\n\r\n getDateTime(s) {\r\n if (typeof s === 'string') {\r\n const d = new Date(s);\r\n return isNaN(d.getTime()) ? new Date() : d;\r\n }\r\n return s;\r\n }\r\n\r\n getTimeString(s) {\r\n const d = this.getDateTime(s);\r\n return String(d.getHours()).padStart(2, '0') + ':' + String(d.getMinutes()).padStart(2, '0');\r\n }\r\n\r\n getDateString(s) {\r\n const d = this.getDateTime(s);\r\n return String(d.getMonth() + 1).padStart(2, '0') + '/' + String(d.getDate()).padStart(2, '0') + '/' + String(d.getFullYear());\r\n }\r\n\r\n setParameters(p) {\r\n this._var.container.querySelector('.schedule-id-enabled>input').checked = p.Enabled;\r\n const schedule = p.Schedule || {};\r\n this.dropFrequency.select(String(schedule.Frequency));\r\n let checker = schedule.Daily.OcurrsOnce ? this.checkOccurOnce : this.checkOccurEvery;\r\n checker.checked = true;\r\n checker.dispatchEvent(new Event('change'));\r\n this.inputOccurOnce.value = this.getTimeString(schedule.Daily.OcurrsOnceAt);\r\n this.inputOccurEvery.value = String(schedule.Daily.OcurrsInterval);\r\n this.inputOccurStarting.value = this.getTimeString(schedule.Daily.StartingAt);\r\n this.inputOccurEnding.value = this.getTimeString(schedule.Daily.EndingAt);\r\n this._var.container.querySelector('.schedule-id-1>input').checked = schedule.Monday;\r\n this._var.container.querySelector('.schedule-id-2>input').checked = schedule.Tuesday;\r\n this._var.container.querySelector('.schedule-id-3>input').checked = schedule.Wednesday;\r\n this._var.container.querySelector('.schedule-id-4>input').checked = schedule.Thursday;\r\n this._var.container.querySelector('.schedule-id-5>input').checked = schedule.Friday;\r\n this._var.container.querySelector('.schedule-id-6>input').checked = schedule.Saturday;\r\n this._var.container.querySelector('.schedule-id-7>input').checked = schedule.Sunday;\r\n this._var.container.querySelector('.schedule-id-dayofmonth').value = String(schedule.DayOfMonth);\r\n const start = this.getDateString(schedule.StartDate);\r\n const end = this.getDateString(schedule.EndDate);\r\n if (typeof $?.fn?.datepicker === 'function') {\r\n $(this._var.container.querySelector('.schedule-id-duration-start')).datepicker('setDate', new Date(start));\r\n $(this._var.container.querySelector('.schedule-id-duration-end')).datepicker('setDate', new Date(end));\r\n } else {\r\n this._var.container.querySelector('.schedule-id-duration-start').value = start;\r\n this._var.container.querySelector('.schedule-id-duration-end').value = end;\r\n }\r\n }\r\n\r\n create() {\r\n const option = this._var.option;\r\n const drop = new Dropdown({ selected: '0' });\r\n this.dropFrequency = drop;\r\n drop.source = [\r\n { value: '0', text: 'Daily' },\r\n { value: '1', text: 'Weekly' },\r\n { value: '2', text: 'Monthly' }\r\n ];\r\n drop.onSelected = item => {\r\n container.querySelector('.schedule-item-weekly').style.display = item.value === '1' ? '' : 'none';\r\n const monthly = item.value === '2';\r\n container.querySelector('.schedule-item-monthly').style.display = monthly ? '' : 'none';\r\n if (!monthly) {\r\n const dayofmonth = this._var.container.querySelector('.schedule-id-dayofmonth');\r\n if (dayofmonth.classList.contains('validation-error')) {\r\n dayofmonth.value = '1';\r\n }\r\n }\r\n };\r\n const container = createElement('div', 'schedule-item-container',\r\n createElement('fieldset', 'schedule-item-frequency',\r\n createElement('legend', legend => legend.innerText = 'Frequency'),\r\n createElement('div', 'schedule-item-line',\r\n createElement('span', span => span.innerText = 'Occurs'),\r\n drop.create()\r\n ),\r\n createElement('div', div => {\r\n div.className = 'schedule-item-panel schedule-item-weekly';\r\n div.style.display = 'none';\r\n },\r\n createElement('table', 'schedule-item-table',\r\n createElement('tr', 'schedule-item-tr',\r\n createElement('td', null, createCheckbox({ className: 'schedule-id-1', label: 'Monday' })),\r\n createElement('td', null, createCheckbox({ className: 'schedule-id-3', label: 'Wednesday' })),\r\n createElement('td', null, createCheckbox({ className: 'schedule-id-5', label: 'Friday' })),\r\n createElement('td', null, createCheckbox({ className: 'schedule-id-6', label: 'Saturday' }))\r\n ),\r\n createElement('tr', 'schedule-item-tr',\r\n createElement('td', null, createCheckbox({ className: 'schedule-id-2', label: 'Tuesday' })),\r\n createElement('td', null, createCheckbox({ className: 'schedule-id-4', label: 'Thursday' })),\r\n createElement('td'),\r\n createElement('td', null, createCheckbox({ className: 'schedule-id-7', label: 'Sunday' }))\r\n )\r\n )\r\n ),\r\n createElement('div', div => {\r\n div.className = 'schedule-item-panel schedule-item-monthly';\r\n div.style.display = 'none';\r\n },\r\n createElement('div', 'schedule-item-line',\r\n createElement('span', span => span.innerText = 'On day'),\r\n validation(\r\n createElement('input', i => { i.type = 'text', i.className = 'ui-input schedule-id-dayofmonth', i.maxLength = 2 }),\r\n /^([0]?[1-9]|[12][0-9]|[3][01])$/\r\n ),\r\n createElement('span', span => span.innerText = 'of the month')\r\n )\r\n )\r\n ),\r\n createElement('fieldset', 'schedule-item-daily-frequency',\r\n createElement('legend', legend => legend.innerText = 'Daily frequency'),\r\n createElement('div', 'schedule-item-line',\r\n createRadiobox({\r\n name: 'schedule-daily-occurs',\r\n checked: true,\r\n className: 'schedule-id-box-occur-once',\r\n label: 'Occurs once at',\r\n onchange: e => this.changeDailyFrequency(e.target.checked)\r\n }),\r\n validation(\r\n createElement('input', i => { i.type = 'text', i.className = 'ui-input schedule-id-occur-once', i.maxLength = 5 }),\r\n /^([01][0-9]|[2][0-3]):[0-5][0-9]$/\r\n )\r\n ),\r\n createElement('div', 'schedule-item-line schedule-item-line-occur-every',\r\n createRadiobox({\r\n name: 'schedule-daily-occurs',\r\n className: 'schedule-id-box-occur-every',\r\n label: 'Occurs every',\r\n onchange: e => this.changeDailyFrequency(!e.target.checked)\r\n }),\r\n validation(\r\n createElement('input', i => { i.type = 'text', i.className = 'ui-input schedule-id-occur-every', i.maxLength = 5 }),\r\n /^([0][1-9]+|[1-9][0-9]*)$/\r\n ),\r\n createElement('span', span => span.innerText = 'minute(s)'),\r\n createElement('div', 'schedule-item-placeholder'),\r\n createElement('div', 'schedule-item-block',\r\n createElement('div', 'scheldule-item-line',\r\n createElement('span', span => span.innerText = 'Starting at'),\r\n validation(\r\n createElement('input', i => { i.type = 'text', i.className = 'ui-input schedule-id-occur-starting', i.maxLength = 5 }),\r\n /^([01][0-9]|[2][0-3]):[0-5][0-9]$/\r\n )\r\n ),\r\n createElement('div', 'scheldule-item-line',\r\n createElement('span', span => span.innerText = 'Ending at'),\r\n validation(\r\n createElement('input', i => { i.type = 'text', i.className = 'ui-input schedule-id-occur-ending', i.maxLength = 5 }),\r\n /^([01][0-9]|[2][0-3]):[0-5][0-9]$/\r\n )\r\n )\r\n )\r\n )\r\n ),\r\n createElement('fieldset', 'schedule-item-duration',\r\n createElement('legend', legend => legend.innerText = 'Duration'),\r\n createElement('div', 'schedule-item-line schedule-item-line-duration',\r\n createElement('span', span => span.innerText = 'Start date'),\r\n datepicker(\r\n validation(\r\n createElement('input', i => { i.type = 'text', i.className = 'ui-input schedule-id-duration-start', i.maxLength = 10 }),\r\n /^([0]?[1-9]|[1][0-2])\\/([0]?[1-9]|[12][0-9]|[3][01])\\/[0-9]{4}$/\r\n )\r\n ),\r\n createElement('div', 'schedule-item-placeholder'),\r\n createElement('span', span => span.innerText = 'End date'),\r\n datepicker(\r\n validation(\r\n createElement('input', i => { i.type = 'text', i.className = 'ui-input schedule-id-duration-end', i.maxLength = 10 }),\r\n /^([0]?[1-9]|[1][0-2])\\/([0]?[1-9]|[12][0-9]|[3][01])\\/[0-9]{4}$/\r\n )\r\n )\r\n ),\r\n createElement('div', 'schedule-item-line',\r\n createCheckbox({ className: 'schedule-id-enabled', checked: true, label: 'Enabled' })\r\n )\r\n )\r\n );\r\n this._var.container = container;\r\n if (option.parameter == null) {\r\n option.parameter = {\r\n Enabled: true,\r\n Schedule: {\r\n Frequency: 0,\r\n Daily: {\r\n OcurrsOnce: true,\r\n OcurrsOnceAt: '00:00',\r\n OcurrsInterval: 60,\r\n StartingAt: '00:00',\r\n EndingAt: '23:00'\r\n },\r\n Monday: true,\r\n Tuesday: false,\r\n Wednesday: false,\r\n Thursday: false,\r\n Friday: false,\r\n Saturday: false,\r\n Sunday: false,\r\n DayOfMonth: 1,\r\n StartDate: '',\r\n EndDate: ''\r\n }\r\n };\r\n }\r\n this.setParameters(option.parameter);\r\n return container;\r\n }\r\n}"],"names":["datepicker","element","_a","ScheduleItem","opt","__publicField","once","s","d","p","schedule","checker","start","end","option","drop","Dropdown","item","container","monthly","dayofmonth","createElement","legend","span","div","createCheckbox","validation","i","createRadiobox"],"mappings":"8YAAA,OAAA,QAAA,EAAA,yVACA,OAAA,aAAA,EAAA,kKAIA,SAASA,EAAWC,EAAS,OACzB,OAAI,QAAOC,EAAA,iBAAG,KAAH,YAAAA,EAAO,aAAe,YAC7B,EAAED,CAAO,EAAE,WAAW,CAClB,SAAU,GACV,OAAQ,WACpB,CAAS,EAEEA,CACX,CAEe,MAAME,CAAa,CAG9B,YAAYC,EAAK,CAFjBC,EAAA,YAAO,CAAA,GAGH,KAAK,KAAK,OAASD,GAAO,CAAA,EACVA,GAAA,MAAAA,EAAK,OAIxB,CAED,IAAI,gBAAiB,CAAE,OAAO,KAAK,KAAK,UAAU,cAAc,mCAAmC,CAAI,CACvG,IAAI,iBAAkB,CAAE,OAAO,KAAK,KAAK,UAAU,cAAc,oCAAoC,CAAI,CACzG,IAAI,gBAAiB,CAAE,OAAO,KAAK,KAAK,UAAU,cAAc,yBAAy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