smart-webcomponents-react 16.0.0 → 16.0.1
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 +1 -1
- package/source/modules/smart.3dchart.js +1 -1
- package/source/modules/smart.accordion.js +1 -1
- package/source/modules/smart.array.js +1 -1
- package/source/modules/smart.barcode.js +1 -1
- package/source/modules/smart.breadcrumb.js +1 -1
- package/source/modules/smart.button.js +1 -1
- package/source/modules/smart.buttongroup.js +1 -1
- package/source/modules/smart.calendar.js +1 -1
- package/source/modules/smart.card.js +1 -1
- package/source/modules/smart.cardview.js +1 -1
- package/source/modules/smart.carousel.js +1 -1
- package/source/modules/smart.chart.js +1 -1
- package/source/modules/smart.checkbox.js +1 -1
- package/source/modules/smart.checkinput.js +1 -1
- package/source/modules/smart.chip.js +1 -1
- package/source/modules/smart.colorinput.js +1 -1
- package/source/modules/smart.colorpanel.js +1 -1
- package/source/modules/smart.colorpicker.js +1 -1
- package/source/modules/smart.combobox.js +1 -1
- package/source/modules/smart.common.js +1 -1
- package/source/modules/smart.countryinput.js +1 -1
- package/source/modules/smart.dateinput.js +1 -1
- package/source/modules/smart.daterangeinput.js +2 -2
- package/source/modules/smart.datetimepicker.js +1 -1
- package/source/modules/smart.dockinglayout.js +1 -1
- package/source/modules/smart.dropdownbutton.js +1 -1
- package/source/modules/smart.dropdownlist.js +1 -1
- package/source/modules/smart.editor.js +1 -1
- package/source/modules/smart.element.js +1 -1
- package/source/modules/smart.fileupload.js +1 -1
- package/source/modules/smart.form.js +1 -1
- package/source/modules/smart.formulaparser.js +1 -1
- package/source/modules/smart.ganttchart.js +1 -1
- package/source/modules/smart.gauge.js +1 -1
- package/source/modules/smart.grid.js +2 -2
- package/source/modules/smart.gridpanel.js +1 -1
- package/source/modules/smart.input.js +1 -1
- package/source/modules/smart.kanban.js +1 -1
- package/source/modules/smart.layout.js +1 -1
- package/source/modules/smart.led.js +1 -1
- package/source/modules/smart.listbox.js +1 -1
- package/source/modules/smart.listmenu.js +1 -1
- package/source/modules/smart.map.js +1 -1
- package/source/modules/smart.maskedtextbox.js +1 -1
- package/source/modules/smart.menu.js +1 -1
- package/source/modules/smart.multicomboinput.js +1 -1
- package/source/modules/smart.multiinput.js +1 -1
- package/source/modules/smart.multilinetextbox.js +1 -1
- package/source/modules/smart.multisplitbutton.js +1 -1
- package/source/modules/smart.numberinput.js +1 -1
- package/source/modules/smart.numerictextbox.js +1 -1
- package/source/modules/smart.pager.js +1 -1
- package/source/modules/smart.passwordinput.js +1 -1
- package/source/modules/smart.passwordtextbox.js +1 -1
- package/source/modules/smart.path.js +1 -1
- package/source/modules/smart.phoneinput.js +1 -1
- package/source/modules/smart.pivottable.js +1 -1
- package/source/modules/smart.progressbar.js +1 -1
- package/source/modules/smart.qrcode.js +1 -1
- package/source/modules/smart.querybuilder.js +1 -1
- package/source/modules/smart.radiobutton.js +1 -1
- package/source/modules/smart.rating.js +1 -1
- package/source/modules/smart.router.js +1 -1
- package/source/modules/smart.scheduler.js +1 -1
- package/source/modules/smart.scrollbar.js +1 -1
- package/source/modules/smart.slider.js +1 -1
- package/source/modules/smart.sortable.js +1 -1
- package/source/modules/smart.splitter.js +1 -1
- package/source/modules/smart.switchbutton.js +1 -1
- package/source/modules/smart.table.js +1 -1
- package/source/modules/smart.tabs.js +1 -1
- package/source/modules/smart.tank.js +1 -1
- package/source/modules/smart.textarea.js +1 -1
- package/source/modules/smart.textbox.js +1 -1
- package/source/modules/smart.timeinput.js +1 -1
- package/source/modules/smart.timepicker.js +1 -1
- package/source/modules/smart.toast.js +1 -1
- package/source/modules/smart.tooltip.js +1 -1
- package/source/modules/smart.tree.js +1 -1
- package/source/modules/smart.validator.js +1 -1
- package/source/modules/smart.window.js +1 -1
- package/source/smart.3dchart.js +1 -1
- package/source/smart.accordion.js +1 -1
- package/source/smart.ajax.js +1 -1
- package/source/smart.array.js +1 -1
- package/source/smart.barcode.js +1 -1
- package/source/smart.bootstrap.js +1 -1
- package/source/smart.breadcrumb.js +1 -1
- package/source/smart.button.js +1 -1
- package/source/smart.buttongroup.js +1 -1
- package/source/smart.calendar.js +1 -1
- package/source/smart.card.js +1 -1
- package/source/smart.cardview.js +1 -1
- package/source/smart.carousel.js +1 -1
- package/source/smart.chart.annotations.js +1 -1
- package/source/smart.chart.api.js +1 -1
- package/source/smart.chart.core.js +1 -1
- package/source/smart.chart.js +1 -1
- package/source/smart.chart.rangeselector.js +1 -1
- package/source/smart.chart.waterfall.js +1 -1
- package/source/smart.checkbox.js +1 -1
- package/source/smart.checkinput.js +1 -1
- package/source/smart.chip.js +1 -1
- package/source/smart.colorinput.js +1 -1
- package/source/smart.colorpanel.js +1 -1
- package/source/smart.colorpicker.js +1 -1
- package/source/smart.combobox.js +1 -1
- package/source/smart.complex.js +1 -1
- package/source/smart.core.js +1 -1
- package/source/smart.countryinput.js +1 -1
- package/source/smart.data.js +1 -1
- package/source/smart.date.js +1 -1
- package/source/smart.dateformatpanel.js +1 -1
- package/source/smart.dateinput.js +1 -1
- package/source/smart.daterangeinput.js +2 -2
- package/source/smart.datetimepicker.js +1 -1
- package/source/smart.dockinglayout.js +1 -1
- package/source/smart.draw.js +1 -1
- package/source/smart.dropdownbutton.js +1 -1
- package/source/smart.dropdownlist.js +1 -1
- package/source/smart.editor.js +1 -1
- package/source/smart.element.js +1 -1
- package/source/smart.elements.js +2 -2
- package/source/smart.export.js +1 -1
- package/source/smart.fileupload.js +1 -1
- package/source/smart.filter.js +1 -1
- package/source/smart.filterbuilder.js +1 -1
- package/source/smart.filterpanel.js +1 -1
- package/source/smart.form.js +1 -1
- package/source/smart.format.js +1 -1
- package/source/smart.formulaparser.js +1 -1
- package/source/smart.ganttchart.js +1 -1
- package/source/smart.gauge.js +1 -1
- package/source/smart.grid.cell.js +1 -1
- package/source/smart.grid.chart.js +1 -1
- package/source/smart.grid.column.js +1 -1
- package/source/smart.grid.core.js +1 -1
- package/source/smart.grid.dialog.js +1 -1
- package/source/smart.grid.edit.js +1 -1
- package/source/smart.grid.export.js +1 -1
- package/source/smart.grid.filter.js +1 -1
- package/source/smart.grid.group.js +1 -1
- package/source/smart.grid.js +1 -1
- package/source/smart.grid.menu.js +1 -1
- package/source/smart.grid.pager.js +1 -1
- package/source/smart.grid.reorder.js +1 -1
- package/source/smart.grid.resize.js +1 -1
- package/source/smart.grid.row.js +1 -1
- package/source/smart.grid.select.js +1 -1
- package/source/smart.grid.sort.js +1 -1
- package/source/smart.grid.toolbar.js +1 -1
- package/source/smart.grid.tree.js +1 -1
- package/source/smart.grid.view.js +1 -1
- package/source/smart.gridpanel.js +1 -1
- package/source/smart.input.js +1 -1
- package/source/smart.kanban.js +1 -1
- package/source/smart.layout.js +1 -1
- package/source/smart.led.js +1 -1
- package/source/smart.listbox.js +1 -1
- package/source/smart.listmenu.js +1 -1
- package/source/smart.map.js +1 -1
- package/source/smart.maskedtextbox.js +1 -1
- package/source/smart.math.js +1 -1
- package/source/smart.menu.js +1 -1
- package/source/smart.multicomboinput.js +1 -1
- package/source/smart.multiinput.js +1 -1
- package/source/smart.multilinetextbox.js +1 -1
- package/source/smart.multisplitbutton.js +1 -1
- package/source/smart.numberformatpanel.js +1 -1
- package/source/smart.numberinput.js +1 -1
- package/source/smart.numeric.js +1 -1
- package/source/smart.numerictextbox.js +1 -1
- package/source/smart.pager.js +1 -1
- package/source/smart.passwordinput.js +1 -1
- package/source/smart.passwordtextbox.js +1 -1
- package/source/smart.path.js +1 -1
- package/source/smart.phoneinput.js +1 -1
- package/source/smart.pivottable.js +1 -1
- package/source/smart.powerbutton.js +1 -1
- package/source/smart.progressbar.js +1 -1
- package/source/smart.qrcode.js +1 -1
- package/source/smart.radiobutton.js +1 -1
- package/source/smart.rating.js +1 -1
- package/source/smart.router.js +1 -1
- package/source/smart.scheduler.js +1 -1
- package/source/smart.scrollbar.js +1 -1
- package/source/smart.slider.js +1 -1
- package/source/smart.sortable.js +1 -1
- package/source/smart.splitter.js +1 -1
- package/source/smart.switchbutton.js +1 -1
- package/source/smart.table.js +1 -1
- package/source/smart.tabs.js +1 -1
- package/source/smart.tank.js +1 -1
- package/source/smart.textarea.js +1 -1
- package/source/smart.textbox.js +1 -1
- package/source/smart.tickintervalhandler.js +1 -1
- package/source/smart.timeinput.js +1 -1
- package/source/smart.timepicker.js +1 -1
- package/source/smart.toast.js +1 -1
- package/source/smart.tooltip.js +1 -1
- package/source/smart.tree.js +1 -1
- package/source/smart.validationpanel.js +1 -1
- package/source/smart.validator.js +1 -1
- package/source/smart.window.js +1 -1
|
@@ -1348,7 +1348,7 @@ Smart("smart-date-input",class extends Smart.Input{static get properties(){retur
|
|
|
1348
1348
|
/***/ 5473:
|
|
1349
1349
|
/***/ (() => {
|
|
1350
1350
|
|
|
1351
|
-
Smart("smart-date-range-input",class extends Smart.Input{static get properties(){return{dropDownButtonPosition:{allowedValues:["none","left","right"],value:"right",defaultReflectToAttribute:!0,type:"string"},dateFormat:{type:"object",value:{day:"numeric",month:"numeric",year:"numeric"}},dropDownHeight:{type:"any",value:"auto"},icons:{type:"boolean",value:!1},max:{value:new Date(2100,1,1),type:"any",defaultValue:new Date(2100,1,1)},messages:{value:{en:{done:"Done",today:"Today",clear:"Clear",hours:"Hours",minutes:"Minutes",am:"am",pm:"pm"}},type:"object",extend:!0},min:{value:new Date(1900,1,1),type:"any",defaultValue:new Date(1900,1,1)},months:{value:1,type:"number",defaultValue:1},separator:{value:" - ",type:"string"},timeFormat:{type:"object",value:{hour:"2-digit",minute:"2-digit"}},timepicker:{value:!1,type:"boolean"},value:{type:"any",value:"",validator:"_valueValidator"},valueType:{allowedValues:["string","object"],value:"string",type:"string"}}}template(){return'<div id="inputContainer" role="presentation"><input class="smart-input" id=\'input\' readonly=\'[[readonly]]\' placeholder=\'[[placeholder]]\' type=\'[[type]]\' name=\'[[name]]\' disabled=\'[[disabled]]\' aria-label="[[placeholder]]" /><span class="smart-hidden smart-hint" id="span">[[hint]]</span><div id="dropDownButton" tabindex=-1 class="smart-drop-down-button" role="button" aria-label="Toggle popup"><div id="arrow" class="arrow" aria-hidden="true"></div></div></div>'}static get listeners(){return{"input.change":"_changeHandler","input.focus":"_focusHandler","input.blur":"_blurHandler","input.keydown":"_keyDownHandler","input.keyup":"_keyUpHandler","input.keypress":"_keyPressHandler","dropDownButton.down":"_dropDownButtonDownHandler","inputContainer.down":"_downHandler","document.up":"_documentUpHandler"}}focus(){this.$.input.focus()}select(){const e=this;e.readonly?e.$.input.focus():e.$.input.select()}_documentUpHandler(e){const t=this,l=t.shadowRoot||t.isInShadowDOM?e.originalEvent.composedPath()[0]:e.originalEvent.target;t.contains(l)?requestAnimationFrame((()=>{const e=t.$.calendar;t.opened&&1===e.selectedDates.length&&!e._newRangeSelectionStarted&&(e._newRangeSelectionStarted=!0)})):t.$.scrollView.contains(l.shadowParent||l)?t._isPointerDown&&(t._isPointerDown=!1,t.opened&&(t._preventLookup=!0),t.$.input.focus()):(t.opened&&(t._preventLookup=!0),t._isPointerDown=!1,t.close())}_changeHandler(e){e.stopPropagation(),this._performSelect(void 0)}_focusHandler(){const e=this;e.setAttribute("focus",""),(e.readonly||0!==e.minLength||0!==e.$.input.value.length||e._preventLookup)&&(e.$.fireEvent("focus"),delete e._preventLookup)}_blurHandler(){const e=this;e.opened||e.removeAttribute("focus"),e.$.fireEvent("blur"),delete e._preventLookup}getValue(){return this.selectedDates}_performSelect(e,t){const l=this,r=l.$.calendar;let a,i,s,o=l.$.input.value.split(l.separator);void 0!==e&&"object"!=typeof e&&(s=e,e=void 0);let n=l._oldValue?l._oldValue:l._formatValue(void 0!==s?s:l.value,"string");if(e){let t,r;e.type&&(e.preventDefault(),e.stopPropagation()),l.timepicker&&l._timepicker&&(t=l._timepicker._from,r=l._timepicker._to),o=e.detail?e.detail.value.slice(0).sort(((e,t)=>e.getTime()-t.getTime())):Array.isArray(e)&&2===e.length?e:"object"==typeof e&&e.from?[e.from,e.to]:"",o.length?(o.length,a=new Date(o[0]),i=new Date(o[o.length-1]),t&&a.setHours(t.hours,t.minutes),r&&i.setHours(r.hours,r.minutes),o=[a,i]):o=""}else{if(o=l.$.input.value.split(l.separator),o.length){if(1===o.length)o=new Date(l.$.input.value.trim()),isNaN(o.getTime())?o="":(a=new Date(o),l._noCalendarChange=!0,r.selectedDates=[o],o=[a]);else if(o=o.map((e=>new Date(e))).filter((e=>!isNaN(e.getTime()))),l.selectedDates&&2===l.selectedDates.length&&l.locale&&(o=l.selectedDates),o[0]&&"string"==typeof o[0]&&(o[0]=new Date(o[0]),o[1]=new Date(o[1])),o.sort(((e,t)=>e.getTime()-t.getTime())),o.length){let e=[],t=o[0];if(a=new Date(o[0]),o.length>1&&(i=o[o.length-1]),e.push(new Date(t)),a&&i){const l=new Date(t);if(t=new Date(l.setDate(l.getDate()+1)),t.getTime()<=i.getTime()){for(;t.getTime()<i.getTime()&&(t.getDate()!==i.getDate()||t.getMonth()!==i.getMonth()||t.getFullYear()!==i.getFullYear());)e.push(new Date(t)),t.setDate(t.getDate()+1);e.push(t)}}l._noCalendarChange=!0,r.selectedDates=e}}else o="";if((!o||!o.length)&&r.isRendered&&(l._noCalendarChange=!0,r.clearSelection(),l._timepicker)){l._timepicker.classList.add("smart-visibility-hidden");const e=l.$.scrollView.querySelectorAll(".smart-timepicker-button");for(let t=0;t<e.length;t++)e[t].removeAttribute("selected")}}l.timepicker&&l._timepicker&&(a&&(l._timepicker._from={hours:a.getHours(),minutes:a.getMinutes()}),i&&(l._timepicker._to={hours:i.getHours(),minutes:i.getMinutes()})),r.isRendered?l._setTimePickerButtons(a,i):r.whenRendered((()=>l._setTimePickerButtons(a,i))),l.set("value",l.$.input.value=l._oldValue=o=l._formatDate(o)),t||o===n||(l.$.fireEvent("change",{value:l._formatValue(o),label:o,oldValue:l._formatValue(n),oldLabel:n}),l._updateTargetValue()),delete l._noCalendarChange}_setTimePickerButtons(e,t){const l=this,r=l.$.scrollView.querySelector(".smart-timepicker-button.from"),a=l.$.scrollView.querySelector(".smart-timepicker-button.to");r&&(e&&!isNaN(e.getTime())?r.textContent=e.toLocaleTimeString(l.locale,l.timeFormat):r.textContent=""),a&&(t&&!isNaN(t.getTime())?a.textContent=t.toLocaleTimeString(l.locale,l.timeFormat):a.textContent="")}_formatValue(e,t){const l=this;if(t||(t=l.valueType),"string"===t&&"string"==typeof e||"object"===t&&e.from)return e;let r,a,i;if(Array.isArray(e))r=e[0],a=e[e.length-1];else if("object"==typeof e)r=e.from,a=e.to;else if(i=e.split(l.separator),i.length){if("en"!==l.locale){let e=new Smart.Utilities.DateTime,t=e.tryparseDate(i[0]),l=e.tryparseDate(i[1]);t&&l&&(i=[t,l])}i=i.map((e=>new Date(e))).filter((e=>!isNaN(e.getTime()))),i.sort(((e,t)=>e.getTime()-t.getTime())),r=i[0],a=i[i.length-1]}return"string"===t?l._formatDate([r,a]):{from:new Date(r),to:new Date(a)}}_formatDate(e){const t=this;return e?(e instanceof Date&&(e=[e]),e=e.filter((e=>void 0!==e)),t.selectedDates=e,1===(e=t.timepicker?e.map((e=>new Date(e).toLocaleString(t.locale,Object.assign({},t.dateFormat,t.timeFormat)))):e.map((e=>new Date(e).toLocaleDateString(t.locale,t.dateFormat)))).length?e[0]:e.join(t.separator)):""}_open(){const e=this,t=e.getBoundingClientRect(),l=window.scrollX,r=window.scrollY;let a=0,i=0;if(!this.opened){if(e.timer&&clearTimeout(e.timer),document.body.appendChild(e.$.scrollView),e.setAttribute("aria-owns",e.$.scrollView.id),e.readonly||e.$.input.setAttribute("aria-controls",e.$.scrollView.id),e.$.scrollView.enableShadowDOM&&!e._importedStyle&&(e.$.scrollView.importStyle(e._getStyleUrl("smart.textbox.css")),e._importedStyle=!0),"static"!==getComputedStyle(document.body).position){const e=document.body.getBoundingClientRect();a=e.left,i=e.top}e.$.scrollView.style.setProperty("--smart-input-drop-down-menu-width",""),e.$.scrollView.style.left=-3+t.left+l-a+"px",e.$.scrollView.style.top=t.bottom+r-i+1+"px",e.$.scrollView.classList.remove("open"),e.$.scrollView.onpointerdown=function(){e._isPointerDown=!0},requestAnimationFrame((function(){const t=e.dropDownWidth,l=e.$.calendar;if(e.$.scrollView.setAttribute("open",""),e.setAttribute("open",""),e.$.dropDownButton.setAttribute("open",""),e.$.input.setAttribute("open",""),t&&"string"==typeof t&&-1!==t.indexOf("%")){const r=parseFloat(t)/100;e.$.scrollView.style.setProperty("--smart-input-drop-down-menu-width",e.offsetWidth*r+"px"),l.style.width="100%"}else if("auto"!==t&&t)e.$.scrollView.style.setProperty("--smart-input-drop-down-menu-width",parseFloat(t)+"px"),l.style.width="100%";else if("auto"===t)l.style.width=null,e.$.scrollView.style.setProperty("--smart-input-drop-down-menu-width","auto");else{l.style.width=null;let t=l.offsetWidth;e.$.scrollView.style.setProperty("--smart-input-drop-down-menu-width",Math.max(t,e.offsetWidth-8)+"px")}})),this.opened=!0}}close(){const e=this;if(!e.opened)return!1;if(e.timer&&clearTimeout(e.timer),e.timer=setTimeout((function(){e.$.scrollView.parentNode&&!e.opened&&(document.body.removeChild(e.$.scrollView),e.removeAttribute("aria-owns"),e.readonly||e.$.input.removeAttribute("aria-controls"))}),1e3),e._timepicker){e._timepicker.classList.add("smart-visibility-hidden");const t=e.$.scrollView.querySelectorAll(".smart-timepicker-button");for(let e=0;e<t.length;e++)t[e].removeAttribute("selected")}return e.$.scrollView.removeAttribute("open"),e.$.dropDownButton.removeAttribute("open"),e.$.input.removeAttribute("open"),e.removeAttribute("open"),e.opened=!1,!0}_lookup(){}_downHandler(e){const t=this;t.readonly&&t._dropDownButtonDownHandler(e)}_dropDownButtonDownHandler(e){return this.disabled||(this._toggle(),e.preventDefault(),e.stopPropagation(),e.originalEvent.preventDefault(),e.originalEvent.stopPropagation()),!1}toggle(){this._toggle()}_toggle(){const e=this;e.opened?e.close():e.open()}open(){const e=this;e._process(),e.$.input.focus(),setTimeout((function(){e.$.input.focus()}),25)}_process(){this._performSelect(void 0,!0),this._open()}_matcher(){}_sorter(){}_highlighter(){}_render(){}ensureVisible(){}_next(){}_prev(){}_move(e){e.stopPropagation()}_keyDownHandler(e){this._suppressKeyPressRepeat=![40,38,9,13,27,16,17,18].includes(e.keyCode),e.shiftKey||e.altKey||e.ctrlKey}_keyPressHandler(e){this._suppressKeyPressRepeat||e.shiftKey||e.altKey||e.ctrlKey}_keyUpHandler(e){const t=this;if(!e.shiftKey)switch(e.keyCode){case 40:case 38:case 16:case 17:case 18:40===e.keyCode&&e.altKey&&t.open(),38===e.keyCode&&e.altKey&&t.close();break;case 27:if(!t.opened)return;t.close(),e.stopPropagation(),e.preventDefault()}}propertyChangedHandler(e,t,l){const r=this;switch(e){case"dateFormat":case"value":r.$.input.value=r._formatValue(l,"string"),r._performSelect(t);break;case"months":case"min":case"max":r.$.calendar[e]=l;break;case"theme":case"rightToLeft":case"animation":case"inverted":r.$.calendar&&(r.$.calendar[e]=l),r.$.scrollView&&(l?r.$.scrollView.setAttribute(Smart.Utilities.Core.toDash(e),"boolean"==typeof l?"":l):r.$.scrollView.removeAttribute(Smart.Utilities.Core.toDash(e)));break;case"timepicker":case"icons":if(l?r.$.scrollView.setAttribute(e,""):r.$.scrollView.removeAttribute(e),r._performSelect(void 0),!l&&r._timepicker){r._timepicker.classList.add("smart-visibility-hidden"),r._timepicker.remove();const e=r.$.scrollView.querySelectorAll(".smart-timepicker-button");for(let t=0;t<e.length;t++)e[t].removeAttribute("selected")}break;case"locale":{const e=r.$.calendar.querySelector(".smart-icon-today"),t=r.$.calendar.querySelector(".smart-icon-clear");e&&(e.innerHTML=r.localize("today")),t&&(e.innerHTML=r.localize("clear")),r._performSelect(void 0,!0),r.$.calendar.locale=l;break}default:super.propertyChangedHandler(e,t,l)}}_createElement(){const e=this,t=document.createElement("div"),l=document.createElement("smart-calendar"),r=document.createElement("template");if(t.classList.add("smart-input-drop-down-menu","smart-date-range-input-drop-down-menu"),t.setAttribute("animation",e.animation),t.setAttribute("role","presentation"),e.rightToLeft?t.setAttribute("right-to-left",""):t.removeAttribute("right-to-left"),e.inverted?t.setAttribute("inverted",""):t.removeAttribute("inverted"),t.onclick=function(l){l.stopPropagation(),l.preventDefault();const r=l.target;e.$.input.focus();const a=r.closest(".smart-timepicker-button");if(a){const i=t.querySelectorAll(".smart-timepicker-button");for(let e=0;e<i.length;e++)i[e].removeAttribute("selected");if(r.closest(".smart-icon-clear")){if(e.$.calendar.clearSelection(),e._timepicker){e._timepicker.classList.add("smart-visibility-hidden");const t=e.$.scrollView.querySelectorAll(".smart-timepicker-button");for(let e=0;e<t.length;e++)t[e].removeAttribute("selected"),t[e].setAttribute("aria-selected",!1)}return}return r.closest(".smart-icon-today")?void e.$.calendar.today():(a.setAttribute("selected",""),void e._toggleTimepicker(l))}r.closest("smart-done-button")?e.close():r.closest(".smart-timepicker")&&e._handleTimeSelection(r.closest(".smart-calendar-cell"))},!t.id){const e=t.tagName.toLowerCase();t.id=e.slice(0,1).toLowerCase()+e.slice(1)+Math.floor(65536*(1+Math.random())).toString(16).substring(1)}e.$.scrollView=t,e.classList.add("smart-input"),l.theme=e.theme,l.unfocusable=!0,l.rightToLeft=e.rightToLeft,l.animation=e.animation,l.months=e.months,l.max=e.max,l.min=e.min,l.locale=e.locale,l.viewSections=["header","footer"],l.selectionMode="range",e.button&&t.setAttribute("button",""),e.timepicker&&t.setAttribute("timepicker",""),e.icons&&t.setAttribute("icons",""),e.$.calendar||l.$.listen("change",(()=>{e._noCalendarChange?delete e._noCalendarChange:e._performSelect(event)})),r.innerHTML=`\n <div class="smart-date-range-input-footer-controls">\n <div class="smart-timepicker-buttons">\n <div class="smart-timepicker-button from"></div>\n <div class="smart-timepicker-button to"></div>\n </div>\n <div class="smart-button-controls">\n <div class="smart-icon-today smart-timepicker-button">${e.localize("today")}</div>\n <div class="smart-icon-clear smart-timepicker-button">${e.localize("clear")}</div>\n </div>\n </div>`,l.footerTemplate=r,e.$.calendar=l,t.appendChild(e.$.calendar),e.value&&2===e.value.length&&(e.$.input.value=e._formatValue(e.value,"string"),e._performSelect())}_toggleTimepicker(e){const t=this;if(!t.timepicker)return void(t._timepicker&&(t._timepicker.classList.add("smart-visibility-hidden"),t._timepicker.remove()));if(!t._timepicker){const e=document.createElement("div");e.innerHTML='\n <div class="hour-selection smart-calendar-week" role="row"><div class="header" role="rowheader"></div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="0">12</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="1">01</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="2">02</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="3">03</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="4">04</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="5">05</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="6">06</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="7">07</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="8">08</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="9">09</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="10">10</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="11">11</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="12" pm>12</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="13" pm>01</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="14" pm>02</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="15" pm>03</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="16" pm>04</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="17" pm>05</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="18" pm>06</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="19" pm>07</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="20" pm>08</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="21" pm>09</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="22" pm>10</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="23" pm>11</div>\n </div>\n <div class="minute-selection smart-calendar-week" role="row"><div class="header" role="rowheader"></div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="0">00</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="5">05</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="10">10</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="15">15</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="20">20</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="25">25</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="30">30</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="35">35</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="40">40</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="45">45</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="50">50</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="55">55</div>\n </div>',e.classList.add("smart-timepicker","smart-calendar","smart-visibility-hidden"),e.setAttribute("role","grid"),Smart.Utilities.Core.isMobile||(e.onmouseover=function(e){const t=e.target.closest(".smart-calendar-cell");t&&t.setAttribute("hover","")},e.onmouseout=function(e){const t=e.target.closest(".smart-calendar-cell");t&&t.removeAttribute("hover")}),t._timepicker=e;const l=t.$.calendar.selectedDates;if(l.length){const e=l[0],r={hours:e.getHours(),minutes:e.getMinutes()};let a;const i=l[l.length-1];a={hours:i.getHours(),minutes:i.getMinutes()},r&&(t._timepicker._from=r),a&&(t._timepicker._to=a)}}const l=t._timepicker.querySelector(".hour-selection"),r=t._timepicker.querySelector(".minute-selection"),a=t.$.calendar;l.setAttribute("am-label",t.localize("am")),l.setAttribute("pm-label",t.localize("pm")),l.querySelector(".header").textContent=t.localize("hours"),r.querySelector(".header").textContent=t.localize("minutes"),t._timepicker.style.top=a.offsetTop+"px",t._timepicker.style.left=a.offsetLeft+"px",t._timepicker.style.width=a.offsetWidth+"px",t._timepicker.style.height="calc(100% - 40px)";const i=t._timepicker._rangeType;delete t._timepicker._rangeType;const s=e.target.closest(".smart-timepicker-button"),o=s.classList.contains("from")?"from":"to";s&&(t._timepicker._rangeType=o),Array.from(t._timepicker.querySelectorAll("div[selected]")).map((e=>{e.removeAttribute("selected"),e.setAttribute("aria-selected",!1)}));const n=t._timepicker[`_${o}`];if(n){const e=t._timepicker.querySelectorAll(`.hour-selection div[value="${n.hours}"], .minute-selection div[value="${n.minutes}"]`);for(let t=0;t<e.length;t++){const l=e[t];l&&(l.setAttribute("selected",!0),l.setAttribute("aria-selected",!0))}}const c=t._timepicker.classList.contains("smart-visibility-hidden");if(!c&&i&&i!==o)return;const d=t._timepicker.parentElement;if(d||t.$.scrollView.appendChild(t._timepicker),c)d?t._timepicker.classList.remove("smart-visibility-hidden"):requestAnimationFrame((()=>t._timepicker.classList.remove("smart-visibility-hidden")));else{t._timepicker.classList.add("smart-visibility-hidden");const e=t.$.scrollView.querySelectorAll(".smart-timepicker-button");for(let t=0;t<e.length;t++)e[t].removeAttribute("selected"),e[t].setAttribute("aria-selected",!1)}}_handleTimeSelection(e,t){const l=this;if(!e)return;e.closest(".hour-selection")?Array.from(l._timepicker.querySelectorAll(".hour-selection div[selected]")).map((e=>{e.removeAttribute("selected"),e.setAttribute("aria-selected",!1)})):Array.from(l._timepicker.querySelectorAll(".minute-selection div[selected]")).map((e=>{e.removeAttribute("selected"),e.setAttribute("aria-selected",!1)})),e.setAttribute("selected",!0),e.setAttribute("aria-selected",!0);const r=l._timepicker._rangeType;if(!r)return;let a=l._timepicker[`_${r}`],[i,s]=a?[a.hours,a.minutes]:[0,0];e.closest(".hour-selection")?i=parseInt(e.getAttribute("value"))||0:s=parseInt(e.getAttribute("value"))||0,l._timepicker[`_${r}`]={hours:i,minutes:s};const o=l.$.calendar.selectedDates;o.length&&l._performSelect({detail:{value:o},noChangeEvent:t})}_valueValidator(e,t){return Array.isArray(t)||"object"===this.valueType&&t.from||"string"==typeof t?t:"object"===this.valueType?{}:""}_refreshMenu(){}_setAriaRelations(){const e=this,t=e.getAttribute("aria-label");e.readonly?(e.setAttribute("role","button"),!t&&e.placeholder&&e.setAttribute("aria-label",e.placeholder),e.removeAttribute("aria-readonly"),e.$.input.setAttribute("aria-hidden",!0),e.$.input.removeAttribute("aria-controls"),e.$.dropDownButton.setAttribute("aria-hidden",!0)):(e.setAttribute("role","presentation"),t&&t===e.placeholder&&e.removeAttribute("aria-label"),e.$.input.removeAttribute("aria-hidden"),e.$.dropDownButton.removeAttribute("aria-hidden")),e.setAttribute("aria-haspopup","dialog"),e.$.scrollView.setAttribute("role","dialog")}_setActiveDescendant(){}_setInputPurpose(){}});
|
|
1351
|
+
Smart("smart-date-range-input",class extends Smart.Input{static get properties(){return{dropDownButtonPosition:{allowedValues:["none","left","right"],value:"right",defaultReflectToAttribute:!0,type:"string"},dateFormat:{type:"object",value:{day:"numeric",month:"numeric",year:"numeric"}},dropDownHeight:{type:"any",value:"auto"},icons:{type:"boolean",value:!1},max:{value:new Date(2100,1,1),type:"any",defaultValue:new Date(2100,1,1)},messages:{value:{en:{done:"Done",today:"Today",clear:"Clear",hours:"Hours",minutes:"Minutes",am:"am",pm:"pm"}},type:"object",extend:!0},min:{value:new Date(1900,1,1),type:"any",defaultValue:new Date(1900,1,1)},months:{value:1,type:"number",defaultValue:1},separator:{value:" - ",type:"string"},timeFormat:{type:"object",value:{hour:"2-digit",minute:"2-digit"}},timepicker:{value:!1,type:"boolean"},value:{type:"any",value:"",validator:"_valueValidator"},valueType:{allowedValues:["string","object"],value:"string",type:"string"}}}template(){return'<div id="inputContainer" role="presentation"><input class="smart-input" id=\'input\' readonly=\'[[readonly]]\' placeholder=\'[[placeholder]]\' type=\'[[type]]\' name=\'[[name]]\' disabled=\'[[disabled]]\' aria-label="[[placeholder]]" /><span class="smart-hidden smart-hint" id="span">[[hint]]</span><div id="dropDownButton" tabindex=-1 class="smart-drop-down-button" role="button" aria-label="Toggle popup"><div id="arrow" class="arrow" aria-hidden="true"></div></div></div>'}static get listeners(){return{"input.change":"_changeHandler","input.focus":"_focusHandler","input.blur":"_blurHandler","input.keydown":"_keyDownHandler","input.keyup":"_keyUpHandler","input.keypress":"_keyPressHandler","dropDownButton.down":"_dropDownButtonDownHandler","inputContainer.down":"_downHandler","document.up":"_documentUpHandler"}}focus(){this.$.input.focus()}select(){const e=this;e.readonly?e.$.input.focus():e.$.input.select()}_documentUpHandler(e){const t=this,l=t.shadowRoot||t.isInShadowDOM?e.originalEvent.composedPath()[0]:e.originalEvent.target;t.contains(l)?requestAnimationFrame((()=>{const e=t.$.calendar;t.opened&&1===e.selectedDates.length&&!e._newRangeSelectionStarted&&(e._newRangeSelectionStarted=!0)})):t.$.scrollView.contains(l.shadowParent||l)?t._isPointerDown&&(t._isPointerDown=!1,t.opened&&(t._preventLookup=!0),t.$.input.focus()):(t.opened&&(t._preventLookup=!0),t._isPointerDown=!1,t.close())}_changeHandler(e){e.stopPropagation(),this._performSelect(void 0)}_focusHandler(){const e=this;e.setAttribute("focus",""),(e.readonly||0!==e.minLength||0!==e.$.input.value.length||e._preventLookup)&&(e.$.fireEvent("focus"),delete e._preventLookup)}_blurHandler(){const e=this;e.opened||e.removeAttribute("focus"),e.$.fireEvent("blur"),delete e._preventLookup}getValue(){return this.selectedDates}_performSelect(e,t){const l=this,r=l.$.calendar;let a,i,s,o=l.$.input.value.split(l.separator);void 0!==e&&"object"!=typeof e&&(s=e,e=void 0);let n=l._oldValue?l._oldValue:l._formatValue(void 0!==s?s:l.value,"string");if(e){let t,r;e.type&&(e.preventDefault(),e.stopPropagation()),l.timepicker&&l._timepicker&&(t=l._timepicker._from,r=l._timepicker._to),o=e.detail?e.detail.value.slice(0).sort(((e,t)=>e.getTime()-t.getTime())):Array.isArray(e)&&2===e.length?e:"object"==typeof e&&e.from?[e.from,e.to]:"",o.length?(o.length,a=new Date(o[0]),i=new Date(o[o.length-1]),t&&a.setHours(t.hours,t.minutes),r&&i.setHours(r.hours,r.minutes),o=[a,i]):o=""}else{if(o=l.$.input.value.split(l.separator),o.length){if(1===o.length)o=new Date(l.$.input.value.trim()),isNaN(o.getTime())?o="":(a=new Date(o),l._noCalendarChange=!0,r.selectedDates=[o],o=[a]);else if(o=o.map((e=>new Date(e))).filter((e=>!isNaN(e.getTime()))),l.selectedDates&&2===l.selectedDates.length&&l.locale&&(o=l.selectedDates),o[0]&&"string"==typeof o[0]&&(o[0]=new Date(o[0]),o[1]=new Date(o[1])),o.sort(((e,t)=>e.getTime()-t.getTime())),o.length){let e=[],t=o[0];if(a=new Date(o[0]),o.length>1&&(i=o[o.length-1]),e.push(new Date(t)),a&&i){const l=new Date(t);if(t=new Date(l.setDate(l.getDate()+1)),t.getTime()<=i.getTime()){for(;t.getTime()<i.getTime()&&(t.getDate()!==i.getDate()||t.getMonth()!==i.getMonth()||t.getFullYear()!==i.getFullYear());)e.push(new Date(t)),t.setDate(t.getDate()+1);e.push(t)}}l._noCalendarChange=!0,r.selectedDates=e}}else o="";if((!o||!o.length)&&r.isRendered&&(l._noCalendarChange=!0,r.clearSelection(),l._timepicker)){l._timepicker.classList.add("smart-visibility-hidden");const e=l.$.scrollView.querySelectorAll(".smart-timepicker-button");for(let t=0;t<e.length;t++)e[t].removeAttribute("selected")}}l.timepicker&&l._timepicker&&(a&&(l._timepicker._from={hours:a.getHours(),minutes:a.getMinutes()}),i&&(l._timepicker._to={hours:i.getHours(),minutes:i.getMinutes()})),r.isRendered?l._setTimePickerButtons(a,i):r.whenRendered((()=>l._setTimePickerButtons(a,i))),l.set("value",l.$.input.value=l._oldValue=o=l._formatDate(o)),t||o===n||(l.$.fireEvent("change",{value:l._formatValue(o),label:o,oldValue:l._formatValue(n),oldLabel:n}),l._updateTargetValue()),delete l._noCalendarChange}_setTimePickerButtons(e,t){const l=this,r=l.$.scrollView.querySelector(".smart-timepicker-button.from"),a=l.$.scrollView.querySelector(".smart-timepicker-button.to");r&&(e&&!isNaN(e.getTime())?r.textContent=e.toLocaleTimeString(l.locale,l.timeFormat):r.textContent=""),a&&(t&&!isNaN(t.getTime())?a.textContent=t.toLocaleTimeString(l.locale,l.timeFormat):a.textContent="")}_formatValue(e,t){const l=this;if(t||(t=l.valueType),"string"===t&&"string"==typeof e||"object"===t&&e.from)return e;let r,a,i;if(Array.isArray(e))r=e[0],a=e[e.length-1];else if("object"==typeof e)r=e.from,a=e.to;else if(i=e.split(l.separator),i.length){if("en"!==l.locale){let e=new Smart.Utilities.DateTime,t=e.tryparseDate(i[0]),l=e.tryparseDate(i[1]);t&&l&&(i=[t,l])}i=i.map((e=>new Date(e))).filter((e=>!isNaN(e.getTime()))),i.sort(((e,t)=>e.getTime()-t.getTime())),r=i[0],a=i[i.length-1]}return"string"===t?l._formatDate([r,a]):{from:new Date(r),to:new Date(a)}}_formatDate(e){const t=this;return e?(e instanceof Date&&(e=[e]),e=e.filter((e=>void 0!==e)),t.selectedDates=e,1===(e=t.timepicker?e.map((e=>new Date(e).toLocaleString(t.locale,Object.assign({},t.dateFormat,t.timeFormat)))):e.map((e=>new Date(e).toLocaleDateString(t.locale,t.dateFormat)))).length?e[0]:e.join(t.separator)):""}_open(){const e=this,t=e.getBoundingClientRect(),l=window.scrollX,r=window.scrollY;let a=0,i=0;if(!this.opened){if(e.timer&&clearTimeout(e.timer),document.body.appendChild(e.$.scrollView),e.setAttribute("aria-owns",e.$.scrollView.id),e.readonly||e.$.input.setAttribute("aria-controls",e.$.scrollView.id),e.$.scrollView.enableShadowDOM&&!e._importedStyle&&(e.$.scrollView.importStyle(e._getStyleUrl("smart.textbox.css")),e._importedStyle=!0),"static"!==getComputedStyle(document.body).position){const e=document.body.getBoundingClientRect();a=e.left,i=e.top}e.$.scrollView.style.setProperty("--smart-input-drop-down-menu-width",""),e.$.scrollView.style.left=-3+t.left+l-a+"px",e.$.scrollView.style.top=t.bottom+r-i+1+"px",e.$.scrollView.classList.remove("open"),e.$.scrollView.onpointerdown=function(){e._isPointerDown=!0},requestAnimationFrame((function(){const t=e.dropDownWidth,l=e.$.calendar;if(e.$.scrollView.setAttribute("open",""),e.setAttribute("open",""),e.$.dropDownButton.setAttribute("open",""),e.$.input.setAttribute("open",""),t&&"string"==typeof t&&-1!==t.indexOf("%")){const r=parseFloat(t)/100;e.$.scrollView.style.setProperty("--smart-input-drop-down-menu-width",e.offsetWidth*r+"px"),l.style.width="100%"}else if("auto"!==t&&t)e.$.scrollView.style.setProperty("--smart-input-drop-down-menu-width",parseFloat(t)+"px"),l.style.width="100%";else if("auto"===t)l.style.width=null,e.$.scrollView.style.setProperty("--smart-input-drop-down-menu-width","auto");else{l.style.width=null;let t=l.offsetWidth;e.$.scrollView.style.setProperty("--smart-input-drop-down-menu-width",Math.max(t,e.offsetWidth-8)+"px")}})),this.opened=!0}}close(){const e=this;if(!e.opened)return!1;if(e.timer&&clearTimeout(e.timer),e.timer=setTimeout((function(){e.$.scrollView.parentNode&&!e.opened&&(document.body.removeChild(e.$.scrollView),e.removeAttribute("aria-owns"),e.readonly||e.$.input.removeAttribute("aria-controls"))}),1e3),e._timepicker){e._timepicker.classList.add("smart-visibility-hidden");const t=e.$.scrollView.querySelectorAll(".smart-timepicker-button");for(let e=0;e<t.length;e++)t[e].removeAttribute("selected")}return e.$.scrollView.removeAttribute("open"),e.$.dropDownButton.removeAttribute("open"),e.$.input.removeAttribute("open"),e.removeAttribute("open"),e.opened=!1,!0}_lookup(){}_downHandler(e){const t=this;t.readonly&&t._dropDownButtonDownHandler(e)}_dropDownButtonDownHandler(e){return this.disabled||(this._toggle(),e.preventDefault(),e.stopPropagation(),e.originalEvent.preventDefault(),e.originalEvent.stopPropagation()),!1}toggle(){this._toggle()}_toggle(){const e=this;e.opened?e.close():e.open()}open(){const e=this;e._process(),e.$.input.focus(),setTimeout((function(){e.$.input.focus()}),25)}_process(){this._performSelect(void 0,!0),this._open()}_matcher(){}_sorter(){}_highlighter(){}_render(){}ensureVisible(){}_next(){}_prev(){}_move(e){e.stopPropagation()}_keyDownHandler(e){this._suppressKeyPressRepeat=![40,38,9,13,27,16,17,18].includes(e.keyCode),e.shiftKey||e.altKey||e.ctrlKey}_keyPressHandler(e){this._suppressKeyPressRepeat||e.shiftKey||e.altKey||e.ctrlKey}_keyUpHandler(e){const t=this;if(!e.shiftKey)switch(e.keyCode){case 40:case 38:case 16:case 17:case 18:40===e.keyCode&&e.altKey&&t.open(),38===e.keyCode&&e.altKey&&t.close();break;case 27:if(!t.opened)return;t.close(),e.stopPropagation(),e.preventDefault()}}propertyChangedHandler(e,t,l){const r=this;switch(e){case"dateFormat":case"value":r.$.input.value=r._formatValue(l,"string"),r._performSelect(t);break;case"months":case"min":case"max":r.$.calendar[e]=l;break;case"theme":case"rightToLeft":case"animation":case"inverted":r.$.calendar&&(r.$.calendar[e]=l),r.$.scrollView&&(l?r.$.scrollView.setAttribute(Smart.Utilities.Core.toDash(e),"boolean"==typeof l?"":l):r.$.scrollView.removeAttribute(Smart.Utilities.Core.toDash(e)));break;case"timepicker":case"icons":if(l?r.$.scrollView.setAttribute(e,""):r.$.scrollView.removeAttribute(e),r._performSelect(void 0),!l&&r._timepicker){r._timepicker.classList.add("smart-visibility-hidden"),r._timepicker.remove();const e=r.$.scrollView.querySelectorAll(".smart-timepicker-button");for(let t=0;t<e.length;t++)e[t].removeAttribute("selected")}break;case"locale":{const e=r.$.calendar.querySelector(".smart-icon-today"),t=r.$.calendar.querySelector(".smart-icon-clear");e&&(e.innerHTML=r.localize("today")),t&&(e.innerHTML=r.localize("clear")),r._performSelect(void 0,!0),r.$.calendar.locale=l;break}default:super.propertyChangedHandler(e,t,l)}}_createElement(){const e=this,t=document.createElement("div"),l=document.createElement("smart-calendar"),r=document.createElement("template");if(t.classList.add("smart-input-drop-down-menu","smart-date-range-input-drop-down-menu"),t.setAttribute("animation",e.animation),t.setAttribute("role","presentation"),e.rightToLeft?t.setAttribute("right-to-left",""):t.removeAttribute("right-to-left"),e.inverted?t.setAttribute("inverted",""):t.removeAttribute("inverted"),t.onclick=function(l){l.stopPropagation(),l.preventDefault();const r=l.target;e.$.input.focus();const a=r.closest(".smart-timepicker-button");if(a){const i=t.querySelectorAll(".smart-timepicker-button");for(let e=0;e<i.length;e++)i[e].removeAttribute("selected");if(r.closest(".smart-icon-clear")){if(e.$.calendar.clearSelection(),e._timepicker){e._timepicker.classList.add("smart-visibility-hidden");const t=e.$.scrollView.querySelectorAll(".smart-timepicker-button");for(let e=0;e<t.length;e++)t[e].removeAttribute("selected"),t[e].setAttribute("aria-selected",!1)}return}return r.closest(".smart-icon-today")?void e.$.calendar.today():(a.setAttribute("selected",""),void e._toggleTimepicker(l))}r.closest("smart-done-button")?e.close():r.closest(".smart-timepicker")&&e._handleTimeSelection(r.closest(".smart-calendar-cell"))},!t.id){const e=t.tagName.toLowerCase();t.id=e.slice(0,1).toLowerCase()+e.slice(1)+Math.floor(65536*(1+Math.random())).toString(16).substring(1)}e.$.scrollView=t,e.classList.add("smart-input"),l.theme=e.theme,l.unfocusable=!0,l.rightToLeft=e.rightToLeft,l.animation=e.animation,l.months=e.months,l.max=e.max,l.min=e.min,l.locale=e.locale,l.viewSections=["header","footer"],l.selectionMode="range",e.button&&t.setAttribute("button",""),e.timepicker&&t.setAttribute("timepicker",""),e.icons&&t.setAttribute("icons",""),e.$.calendar||l.$.listen("change",(()=>{e._noCalendarChange?delete e._noCalendarChange:e._performSelect(event)})),r.innerHTML=`\n <div class="smart-date-range-input-footer-controls">\n <div class="smart-timepicker-buttons">\n <div class="smart-timepicker-button from"></div>\n <div class="smart-timepicker-button to"></div>\n </div>\n <div class="smart-button-controls">\n <div class="smart-icon-today smart-timepicker-button">${e.localize("today")}</div>\n <div class="smart-icon-clear smart-timepicker-button">${e.localize("clear")}</div>\n </div>\n </div>`,l.footerTemplate=r,e.$.calendar=l,t.appendChild(e.$.calendar);const a=e.valueType&&"object"===e.valueType&&e.value&&e.value.from&&e.value.to;(e.value&&2===e.value.length||a)&&(e.$.input.value=e._formatValue(e.value,"string"),e._performSelect())}_toggleTimepicker(e){const t=this;if(!t.timepicker)return void(t._timepicker&&(t._timepicker.classList.add("smart-visibility-hidden"),t._timepicker.remove()));if(!t._timepicker){const e=document.createElement("div");e.innerHTML='\n <div class="hour-selection smart-calendar-week" role="row"><div class="header" role="rowheader"></div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="0">12</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="1">01</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="2">02</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="3">03</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="4">04</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="5">05</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="6">06</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="7">07</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="8">08</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="9">09</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="10">10</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="11">11</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="12" pm>12</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="13" pm>01</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="14" pm>02</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="15" pm>03</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="16" pm>04</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="17" pm>05</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="18" pm>06</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="19" pm>07</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="20" pm>08</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="21" pm>09</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="22" pm>10</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="23" pm>11</div>\n </div>\n <div class="minute-selection smart-calendar-week" role="row"><div class="header" role="rowheader"></div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="0">00</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="5">05</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="10">10</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="15">15</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="20">20</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="25">25</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="30">30</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="35">35</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="40">40</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="45">45</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="50">50</div>\n <div class="smart-calendar-cell" role="gridcell" aria-selected="false" value="55">55</div>\n </div>',e.classList.add("smart-timepicker","smart-calendar","smart-visibility-hidden"),e.setAttribute("role","grid"),Smart.Utilities.Core.isMobile||(e.onmouseover=function(e){const t=e.target.closest(".smart-calendar-cell");t&&t.setAttribute("hover","")},e.onmouseout=function(e){const t=e.target.closest(".smart-calendar-cell");t&&t.removeAttribute("hover")}),t._timepicker=e;const l=t.$.calendar.selectedDates;if(l.length){const e=l[0],r={hours:e.getHours(),minutes:e.getMinutes()};let a;const i=l[l.length-1];a={hours:i.getHours(),minutes:i.getMinutes()},r&&(t._timepicker._from=r),a&&(t._timepicker._to=a)}}const l=t._timepicker.querySelector(".hour-selection"),r=t._timepicker.querySelector(".minute-selection"),a=t.$.calendar;l.setAttribute("am-label",t.localize("am")),l.setAttribute("pm-label",t.localize("pm")),l.querySelector(".header").textContent=t.localize("hours"),r.querySelector(".header").textContent=t.localize("minutes"),t._timepicker.style.top=a.offsetTop+"px",t._timepicker.style.left=a.offsetLeft+"px",t._timepicker.style.width=a.offsetWidth+"px",t._timepicker.style.height="calc(100% - 40px)";const i=t._timepicker._rangeType;delete t._timepicker._rangeType;const s=e.target.closest(".smart-timepicker-button"),o=s.classList.contains("from")?"from":"to";s&&(t._timepicker._rangeType=o),Array.from(t._timepicker.querySelectorAll("div[selected]")).map((e=>{e.removeAttribute("selected"),e.setAttribute("aria-selected",!1)}));const n=t._timepicker[`_${o}`];if(n){const e=t._timepicker.querySelectorAll(`.hour-selection div[value="${n.hours}"], .minute-selection div[value="${n.minutes}"]`);for(let t=0;t<e.length;t++){const l=e[t];l&&(l.setAttribute("selected",!0),l.setAttribute("aria-selected",!0))}}const c=t._timepicker.classList.contains("smart-visibility-hidden");if(!c&&i&&i!==o)return;const d=t._timepicker.parentElement;if(d||t.$.scrollView.appendChild(t._timepicker),c)d?t._timepicker.classList.remove("smart-visibility-hidden"):requestAnimationFrame((()=>t._timepicker.classList.remove("smart-visibility-hidden")));else{t._timepicker.classList.add("smart-visibility-hidden");const e=t.$.scrollView.querySelectorAll(".smart-timepicker-button");for(let t=0;t<e.length;t++)e[t].removeAttribute("selected"),e[t].setAttribute("aria-selected",!1)}}_handleTimeSelection(e,t){const l=this;if(!e)return;e.closest(".hour-selection")?Array.from(l._timepicker.querySelectorAll(".hour-selection div[selected]")).map((e=>{e.removeAttribute("selected"),e.setAttribute("aria-selected",!1)})):Array.from(l._timepicker.querySelectorAll(".minute-selection div[selected]")).map((e=>{e.removeAttribute("selected"),e.setAttribute("aria-selected",!1)})),e.setAttribute("selected",!0),e.setAttribute("aria-selected",!0);const r=l._timepicker._rangeType;if(!r)return;let a=l._timepicker[`_${r}`],[i,s]=a?[a.hours,a.minutes]:[0,0];e.closest(".hour-selection")?i=parseInt(e.getAttribute("value"))||0:s=parseInt(e.getAttribute("value"))||0,l._timepicker[`_${r}`]={hours:i,minutes:s};const o=l.$.calendar.selectedDates;o.length&&l._performSelect({detail:{value:o},noChangeEvent:t})}_valueValidator(e,t){return Array.isArray(t)||"object"===this.valueType&&t.from||"string"==typeof t?t:"object"===this.valueType?{}:""}_refreshMenu(){}_setAriaRelations(){const e=this,t=e.getAttribute("aria-label");e.readonly?(e.setAttribute("role","button"),!t&&e.placeholder&&e.setAttribute("aria-label",e.placeholder),e.removeAttribute("aria-readonly"),e.$.input.setAttribute("aria-hidden",!0),e.$.input.removeAttribute("aria-controls"),e.$.dropDownButton.setAttribute("aria-hidden",!0)):(e.setAttribute("role","presentation"),t&&t===e.placeholder&&e.removeAttribute("aria-label"),e.$.input.removeAttribute("aria-hidden"),e.$.dropDownButton.removeAttribute("aria-hidden")),e.setAttribute("aria-haspopup","dialog"),e.$.scrollView.setAttribute("role","dialog")}_setActiveDescendant(){}_setInputPurpose(){}});
|
|
1352
1352
|
|
|
1353
1353
|
/***/ }),
|
|
1354
1354
|
|
|
@@ -1882,7 +1882,7 @@ var __webpack_exports__ = {};
|
|
|
1882
1882
|
/* harmony import */ var _smart_grid_core_js__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(5306);
|
|
1883
1883
|
/* harmony import */ var _smart_grid_core_js__WEBPACK_IMPORTED_MODULE_61___default = /*#__PURE__*/__webpack_require__.n(_smart_grid_core_js__WEBPACK_IMPORTED_MODULE_61__);
|
|
1884
1884
|
|
|
1885
|
-
/* Smart UI v16.0.
|
|
1885
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
1886
1886
|
Copyright (c) 2011-2023 jQWidgets.
|
|
1887
1887
|
License: https://htmlelements.com/license/ */ //
|
|
1888
1888
|
|
|
@@ -268,7 +268,7 @@ var __webpack_exports__ = {};
|
|
|
268
268
|
/* harmony import */ var _smart_gridpanel_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(3176);
|
|
269
269
|
/* harmony import */ var _smart_gridpanel_js__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(_smart_gridpanel_js__WEBPACK_IMPORTED_MODULE_21__);
|
|
270
270
|
|
|
271
|
-
/* Smart UI v16.0.
|
|
271
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
272
272
|
Copyright (c) 2011-2023 jQWidgets.
|
|
273
273
|
License: https://htmlelements.com/license/ */ //
|
|
274
274
|
|
|
@@ -106,7 +106,7 @@ var __webpack_exports__ = {};
|
|
|
106
106
|
/* harmony import */ var _smart_input_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(8588);
|
|
107
107
|
/* harmony import */ var _smart_input_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_smart_input_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
108
108
|
|
|
109
|
-
/* Smart UI v16.0.
|
|
109
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
110
110
|
Copyright (c) 2011-2023 jQWidgets.
|
|
111
111
|
License: https://htmlelements.com/license/ */ //
|
|
112
112
|
|
|
@@ -322,7 +322,7 @@ var __webpack_exports__ = {};
|
|
|
322
322
|
/* harmony import */ var _smart_kanban_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(7498);
|
|
323
323
|
/* harmony import */ var _smart_kanban_js__WEBPACK_IMPORTED_MODULE_27___default = /*#__PURE__*/__webpack_require__.n(_smart_kanban_js__WEBPACK_IMPORTED_MODULE_27__);
|
|
324
324
|
|
|
325
|
-
/* Smart UI v16.0.
|
|
325
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
326
326
|
Copyright (c) 2011-2023 jQWidgets.
|
|
327
327
|
License: https://htmlelements.com/license/ */ //
|
|
328
328
|
|
|
@@ -97,7 +97,7 @@ var __webpack_exports__ = {};
|
|
|
97
97
|
/* harmony import */ var _smart_layout_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2192);
|
|
98
98
|
/* harmony import */ var _smart_layout_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_smart_layout_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
99
99
|
|
|
100
|
-
/* Smart UI v16.0.
|
|
100
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
101
101
|
Copyright (c) 2011-2023 jQWidgets.
|
|
102
102
|
License: https://htmlelements.com/license/ */ //
|
|
103
103
|
|
|
@@ -97,7 +97,7 @@ var __webpack_exports__ = {};
|
|
|
97
97
|
/* harmony import */ var _smart_led_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9894);
|
|
98
98
|
/* harmony import */ var _smart_led_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_smart_led_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
99
99
|
|
|
100
|
-
/* Smart UI v16.0.
|
|
100
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
101
101
|
Copyright (c) 2011-2023 jQWidgets.
|
|
102
102
|
License: https://htmlelements.com/license/ */ //
|
|
103
103
|
|
|
@@ -106,7 +106,7 @@ var __webpack_exports__ = {};
|
|
|
106
106
|
/* harmony import */ var _smart_listbox_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5707);
|
|
107
107
|
/* harmony import */ var _smart_listbox_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_smart_listbox_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
108
108
|
|
|
109
|
-
/* Smart UI v16.0.
|
|
109
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
110
110
|
Copyright (c) 2011-2023 jQWidgets.
|
|
111
111
|
License: https://htmlelements.com/license/ */ //
|
|
112
112
|
|
|
@@ -115,7 +115,7 @@ var __webpack_exports__ = {};
|
|
|
115
115
|
/* harmony import */ var _smart_listmenu_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(4543);
|
|
116
116
|
/* harmony import */ var _smart_listmenu_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_smart_listmenu_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
117
117
|
|
|
118
|
-
/* Smart UI v16.0.
|
|
118
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
119
119
|
Copyright (c) 2011-2023 jQWidgets.
|
|
120
120
|
License: https://htmlelements.com/license/ */ //
|
|
121
121
|
|
|
@@ -88,7 +88,7 @@ var __webpack_exports__ = {};
|
|
|
88
88
|
/* harmony import */ var _smart_map_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7655);
|
|
89
89
|
/* harmony import */ var _smart_map_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_smart_map_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
90
90
|
|
|
91
|
-
/* Smart UI v16.0.
|
|
91
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
92
92
|
Copyright (c) 2011-2023 jQWidgets.
|
|
93
93
|
License: https://htmlelements.com/license/ */ //
|
|
94
94
|
|
|
@@ -97,7 +97,7 @@ var __webpack_exports__ = {};
|
|
|
97
97
|
/* harmony import */ var _smart_maskedtextbox_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2629);
|
|
98
98
|
/* harmony import */ var _smart_maskedtextbox_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_smart_maskedtextbox_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
99
99
|
|
|
100
|
-
/* Smart UI v16.0.
|
|
100
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
101
101
|
Copyright (c) 2011-2023 jQWidgets.
|
|
102
102
|
License: https://htmlelements.com/license/ */ //
|
|
103
103
|
|
|
@@ -106,7 +106,7 @@ var __webpack_exports__ = {};
|
|
|
106
106
|
/* harmony import */ var _smart_menu_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(3661);
|
|
107
107
|
/* harmony import */ var _smart_menu_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_smart_menu_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
108
108
|
|
|
109
|
-
/* Smart UI v16.0.
|
|
109
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
110
110
|
Copyright (c) 2011-2023 jQWidgets.
|
|
111
111
|
License: https://htmlelements.com/license/ */ //
|
|
112
112
|
|
|
@@ -133,7 +133,7 @@ var __webpack_exports__ = {};
|
|
|
133
133
|
/* harmony import */ var _smart_multicomboinput_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(9633);
|
|
134
134
|
/* harmony import */ var _smart_multicomboinput_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_smart_multicomboinput_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
135
135
|
|
|
136
|
-
/* Smart UI v16.0.
|
|
136
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
137
137
|
Copyright (c) 2011-2023 jQWidgets.
|
|
138
138
|
License: https://htmlelements.com/license/ */ //
|
|
139
139
|
|
|
@@ -115,7 +115,7 @@ var __webpack_exports__ = {};
|
|
|
115
115
|
/* harmony import */ var _smart_multiinput_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(9264);
|
|
116
116
|
/* harmony import */ var _smart_multiinput_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_smart_multiinput_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
117
117
|
|
|
118
|
-
/* Smart UI v16.0.
|
|
118
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
119
119
|
Copyright (c) 2011-2023 jQWidgets.
|
|
120
120
|
License: https://htmlelements.com/license/ */ //
|
|
121
121
|
|
|
@@ -142,7 +142,7 @@ var __webpack_exports__ = {};
|
|
|
142
142
|
/* harmony import */ var _smart_multilinetextbox_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(1115);
|
|
143
143
|
/* harmony import */ var _smart_multilinetextbox_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_smart_multilinetextbox_js__WEBPACK_IMPORTED_MODULE_7__);
|
|
144
144
|
|
|
145
|
-
/* Smart UI v16.0.
|
|
145
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
146
146
|
Copyright (c) 2011-2023 jQWidgets.
|
|
147
147
|
License: https://htmlelements.com/license/ */ //
|
|
148
148
|
|
|
@@ -124,7 +124,7 @@ var __webpack_exports__ = {};
|
|
|
124
124
|
/* harmony import */ var _smart_multisplitbutton_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(7371);
|
|
125
125
|
/* harmony import */ var _smart_multisplitbutton_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_smart_multisplitbutton_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
126
126
|
|
|
127
|
-
/* Smart UI v16.0.
|
|
127
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
128
128
|
Copyright (c) 2011-2023 jQWidgets.
|
|
129
129
|
License: https://htmlelements.com/license/ */ //
|
|
130
130
|
|
|
@@ -115,7 +115,7 @@ var __webpack_exports__ = {};
|
|
|
115
115
|
/* harmony import */ var _smart_numberinput_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2066);
|
|
116
116
|
/* harmony import */ var _smart_numberinput_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_smart_numberinput_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
117
117
|
|
|
118
|
-
/* Smart UI v16.0.
|
|
118
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
119
119
|
Copyright (c) 2011-2023 jQWidgets.
|
|
120
120
|
License: https://htmlelements.com/license/ */ //
|
|
121
121
|
|
|
@@ -223,7 +223,7 @@ var __webpack_exports__ = {};
|
|
|
223
223
|
/* harmony import */ var _smart_numerictextbox_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(7997);
|
|
224
224
|
/* harmony import */ var _smart_numerictextbox_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_smart_numerictextbox_js__WEBPACK_IMPORTED_MODULE_16__);
|
|
225
225
|
|
|
226
|
-
/* Smart UI v16.0.
|
|
226
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
227
227
|
Copyright (c) 2011-2023 jQWidgets.
|
|
228
228
|
License: https://htmlelements.com/license/ */ //
|
|
229
229
|
|
|
@@ -115,7 +115,7 @@ var __webpack_exports__ = {};
|
|
|
115
115
|
/* harmony import */ var _smart_pager_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(9362);
|
|
116
116
|
/* harmony import */ var _smart_pager_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_smart_pager_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
117
117
|
|
|
118
|
-
/* Smart UI v16.0.
|
|
118
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
119
119
|
Copyright (c) 2011-2023 jQWidgets.
|
|
120
120
|
License: https://htmlelements.com/license/ */ //
|
|
121
121
|
|
|
@@ -115,7 +115,7 @@ var __webpack_exports__ = {};
|
|
|
115
115
|
/* harmony import */ var _smart_passwordinput_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3725);
|
|
116
116
|
/* harmony import */ var _smart_passwordinput_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_smart_passwordinput_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
117
117
|
|
|
118
|
-
/* Smart UI v16.0.
|
|
118
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
119
119
|
Copyright (c) 2011-2023 jQWidgets.
|
|
120
120
|
License: https://htmlelements.com/license/ */ //
|
|
121
121
|
|
|
@@ -106,7 +106,7 @@ var __webpack_exports__ = {};
|
|
|
106
106
|
/* harmony import */ var _smart_passwordtextbox_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1928);
|
|
107
107
|
/* harmony import */ var _smart_passwordtextbox_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_smart_passwordtextbox_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
108
108
|
|
|
109
|
-
/* Smart UI v16.0.
|
|
109
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
110
110
|
Copyright (c) 2011-2023 jQWidgets.
|
|
111
111
|
License: https://htmlelements.com/license/ */ //
|
|
112
112
|
|
|
@@ -97,7 +97,7 @@ var __webpack_exports__ = {};
|
|
|
97
97
|
/* harmony import */ var _smart_button_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2612);
|
|
98
98
|
/* harmony import */ var _smart_button_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_smart_button_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
99
99
|
|
|
100
|
-
/* Smart UI v16.0.
|
|
100
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
101
101
|
Copyright (c) 2011-2023 jQWidgets.
|
|
102
102
|
License: https://htmlelements.com/license/ */ //
|
|
103
103
|
|
|
@@ -634,7 +634,7 @@ var __webpack_exports__ = {};
|
|
|
634
634
|
/* harmony import */ var _smart_phoneinput_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(842);
|
|
635
635
|
/* harmony import */ var _smart_phoneinput_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_smart_phoneinput_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
636
636
|
|
|
637
|
-
/* Smart UI v16.0.
|
|
637
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
638
638
|
Copyright (c) 2011-2023 jQWidgets.
|
|
639
639
|
License: https://htmlelements.com/license/ */ //
|
|
640
640
|
|
|
@@ -277,7 +277,7 @@ var __webpack_exports__ = {};
|
|
|
277
277
|
/* harmony import */ var _smart_pivottable_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(6885);
|
|
278
278
|
/* harmony import */ var _smart_pivottable_js__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(_smart_pivottable_js__WEBPACK_IMPORTED_MODULE_22__);
|
|
279
279
|
|
|
280
|
-
/* Smart UI v16.0.
|
|
280
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
281
281
|
Copyright (c) 2011-2023 jQWidgets.
|
|
282
282
|
License: https://htmlelements.com/license/ */ //
|
|
283
283
|
|
|
@@ -868,7 +868,7 @@ var __webpack_exports__ = {};
|
|
|
868
868
|
/* harmony import */ var _smart_progressbar_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(5839);
|
|
869
869
|
/* harmony import */ var _smart_progressbar_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_smart_progressbar_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
870
870
|
|
|
871
|
-
/* Smart UI v16.0.
|
|
871
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
872
872
|
Copyright (c) 2011-2023 jQWidgets.
|
|
873
873
|
License: https://htmlelements.com/license/ */ //
|
|
874
874
|
|
|
@@ -97,7 +97,7 @@ var __webpack_exports__ = {};
|
|
|
97
97
|
/* harmony import */ var _smart_qrcode_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5117);
|
|
98
98
|
/* harmony import */ var _smart_qrcode_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_smart_qrcode_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
99
99
|
|
|
100
|
-
/* Smart UI v16.0.
|
|
100
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
101
101
|
Copyright (c) 2011-2023 jQWidgets.
|
|
102
102
|
License: https://htmlelements.com/license/ */ //
|
|
103
103
|
|
|
@@ -295,7 +295,7 @@ var __webpack_exports__ = {};
|
|
|
295
295
|
/* harmony import */ var _smart_filterbuilder_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(3131);
|
|
296
296
|
/* harmony import */ var _smart_filterbuilder_js__WEBPACK_IMPORTED_MODULE_24___default = /*#__PURE__*/__webpack_require__.n(_smart_filterbuilder_js__WEBPACK_IMPORTED_MODULE_24__);
|
|
297
297
|
|
|
298
|
-
/* Smart UI v16.0.
|
|
298
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
299
299
|
Copyright (c) 2011-2023 jQWidgets.
|
|
300
300
|
License: https://htmlelements.com/license/ */ //
|
|
301
301
|
|
|
@@ -133,7 +133,7 @@ var __webpack_exports__ = {};
|
|
|
133
133
|
/* harmony import */ var _smart_switchbutton_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(2616);
|
|
134
134
|
/* harmony import */ var _smart_switchbutton_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_smart_switchbutton_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
135
135
|
|
|
136
|
-
/* Smart UI v16.0.
|
|
136
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
137
137
|
Copyright (c) 2011-2023 jQWidgets.
|
|
138
138
|
License: https://htmlelements.com/license/ */ //
|
|
139
139
|
|
|
@@ -88,7 +88,7 @@ var __webpack_exports__ = {};
|
|
|
88
88
|
/* harmony import */ var _smart_rating_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3353);
|
|
89
89
|
/* harmony import */ var _smart_rating_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_smart_rating_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
90
90
|
|
|
91
|
-
/* Smart UI v16.0.
|
|
91
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
92
92
|
Copyright (c) 2011-2023 jQWidgets.
|
|
93
93
|
License: https://htmlelements.com/license/ */ //
|
|
94
94
|
|
|
@@ -97,7 +97,7 @@ var __webpack_exports__ = {};
|
|
|
97
97
|
/* harmony import */ var _smart_router_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8493);
|
|
98
98
|
/* harmony import */ var _smart_router_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_smart_router_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
99
99
|
|
|
100
|
-
/* Smart UI v16.0.
|
|
100
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
101
101
|
Copyright (c) 2011-2023 jQWidgets.
|
|
102
102
|
License: https://htmlelements.com/license/ */ //
|
|
103
103
|
|
|
@@ -379,7 +379,7 @@ var __webpack_exports__ = {};
|
|
|
379
379
|
/* harmony import */ var _scripts_rrule_min_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(5453);
|
|
380
380
|
/* harmony import */ var _scripts_rrule_min_js__WEBPACK_IMPORTED_MODULE_29___default = /*#__PURE__*/__webpack_require__.n(_scripts_rrule_min_js__WEBPACK_IMPORTED_MODULE_29__);
|
|
381
381
|
|
|
382
|
-
/* Smart UI v16.0.
|
|
382
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
383
383
|
Copyright (c) 2011-2023 jQWidgets.
|
|
384
384
|
License: https://htmlelements.com/license/ */ //
|
|
385
385
|
|
|
@@ -97,7 +97,7 @@ var __webpack_exports__ = {};
|
|
|
97
97
|
/* harmony import */ var _smart_scrollbar_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9135);
|
|
98
98
|
/* harmony import */ var _smart_scrollbar_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_smart_scrollbar_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
99
99
|
|
|
100
|
-
/* Smart UI v16.0.
|
|
100
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
101
101
|
Copyright (c) 2011-2023 jQWidgets.
|
|
102
102
|
License: https://htmlelements.com/license/ */ //
|
|
103
103
|
|
|
@@ -151,7 +151,7 @@ var __webpack_exports__ = {};
|
|
|
151
151
|
/* harmony import */ var _smart_numeric_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(2754);
|
|
152
152
|
/* harmony import */ var _smart_numeric_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_smart_numeric_js__WEBPACK_IMPORTED_MODULE_8__);
|
|
153
153
|
|
|
154
|
-
/* Smart UI v16.0.
|
|
154
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
155
155
|
Copyright (c) 2011-2023 jQWidgets.
|
|
156
156
|
License: https://htmlelements.com/license/ */ //
|
|
157
157
|
|
|
@@ -106,7 +106,7 @@ var __webpack_exports__ = {};
|
|
|
106
106
|
/* harmony import */ var _smart_sortable_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6297);
|
|
107
107
|
/* harmony import */ var _smart_sortable_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_smart_sortable_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
108
108
|
|
|
109
|
-
/* Smart UI v16.0.
|
|
109
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
110
110
|
Copyright (c) 2011-2023 jQWidgets.
|
|
111
111
|
License: https://htmlelements.com/license/ */ //
|
|
112
112
|
|
|
@@ -106,7 +106,7 @@ var __webpack_exports__ = {};
|
|
|
106
106
|
/* harmony import */ var _smart_splitter_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1066);
|
|
107
107
|
/* harmony import */ var _smart_splitter_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_smart_splitter_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
108
108
|
|
|
109
|
-
/* Smart UI v16.0.
|
|
109
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
110
110
|
Copyright (c) 2011-2023 jQWidgets.
|
|
111
111
|
License: https://htmlelements.com/license/ */ //
|
|
112
112
|
|
|
@@ -133,7 +133,7 @@ var __webpack_exports__ = {};
|
|
|
133
133
|
/* harmony import */ var _smart_switchbutton_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(2616);
|
|
134
134
|
/* harmony import */ var _smart_switchbutton_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_smart_switchbutton_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
135
135
|
|
|
136
|
-
/* Smart UI v16.0.
|
|
136
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
137
137
|
Copyright (c) 2011-2023 jQWidgets.
|
|
138
138
|
License: https://htmlelements.com/license/ */ //
|
|
139
139
|
|
|
@@ -976,7 +976,7 @@ var __webpack_exports__ = {};
|
|
|
976
976
|
/* harmony import */ var _smart_table_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(5523);
|
|
977
977
|
/* harmony import */ var _smart_table_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_smart_table_js__WEBPACK_IMPORTED_MODULE_16__);
|
|
978
978
|
|
|
979
|
-
/* Smart UI v16.0.
|
|
979
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
980
980
|
Copyright (c) 2011-2023 jQWidgets.
|
|
981
981
|
License: https://htmlelements.com/license/ */ //
|
|
982
982
|
|
|
@@ -106,7 +106,7 @@ var __webpack_exports__ = {};
|
|
|
106
106
|
/* harmony import */ var _smart_tabs_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9532);
|
|
107
107
|
/* harmony import */ var _smart_tabs_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_smart_tabs_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
108
108
|
|
|
109
|
-
/* Smart UI v16.0.
|
|
109
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
110
110
|
Copyright (c) 2011-2023 jQWidgets.
|
|
111
111
|
License: https://htmlelements.com/license/ */ //
|
|
112
112
|
|
|
@@ -142,7 +142,7 @@ var __webpack_exports__ = {};
|
|
|
142
142
|
/* harmony import */ var _smart_tank_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(5478);
|
|
143
143
|
/* harmony import */ var _smart_tank_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_smart_tank_js__WEBPACK_IMPORTED_MODULE_7__);
|
|
144
144
|
|
|
145
|
-
/* Smart UI v16.0.
|
|
145
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
146
146
|
Copyright (c) 2011-2023 jQWidgets.
|
|
147
147
|
License: https://htmlelements.com/license/ */ //
|
|
148
148
|
|
|
@@ -115,7 +115,7 @@ var __webpack_exports__ = {};
|
|
|
115
115
|
/* harmony import */ var _smart_textarea_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(7341);
|
|
116
116
|
/* harmony import */ var _smart_textarea_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_smart_textarea_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
117
117
|
|
|
118
|
-
/* Smart UI v16.0.
|
|
118
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
119
119
|
Copyright (c) 2011-2023 jQWidgets.
|
|
120
120
|
License: https://htmlelements.com/license/ */ //
|
|
121
121
|
|
|
@@ -223,7 +223,7 @@ var __webpack_exports__ = {};
|
|
|
223
223
|
/* harmony import */ var _smart_numerictextbox_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(7997);
|
|
224
224
|
/* harmony import */ var _smart_numerictextbox_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_smart_numerictextbox_js__WEBPACK_IMPORTED_MODULE_16__);
|
|
225
225
|
|
|
226
|
-
/* Smart UI v16.0.
|
|
226
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
227
227
|
Copyright (c) 2011-2023 jQWidgets.
|
|
228
228
|
License: https://htmlelements.com/license/ */ //
|
|
229
229
|
|
|
@@ -115,7 +115,7 @@ var __webpack_exports__ = {};
|
|
|
115
115
|
/* harmony import */ var _smart_timeinput_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(5435);
|
|
116
116
|
/* harmony import */ var _smart_timeinput_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_smart_timeinput_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
117
117
|
|
|
118
|
-
/* Smart UI v16.0.
|
|
118
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
119
119
|
Copyright (c) 2011-2023 jQWidgets.
|
|
120
120
|
License: https://htmlelements.com/license/ */ //
|
|
121
121
|
|
|
@@ -133,7 +133,7 @@ var __webpack_exports__ = {};
|
|
|
133
133
|
/* harmony import */ var _smart_timepicker_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(1419);
|
|
134
134
|
/* harmony import */ var _smart_timepicker_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_smart_timepicker_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
135
135
|
|
|
136
|
-
/* Smart UI v16.0.
|
|
136
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
137
137
|
Copyright (c) 2011-2023 jQWidgets.
|
|
138
138
|
License: https://htmlelements.com/license/ */ //
|
|
139
139
|
|
|
@@ -97,7 +97,7 @@ var __webpack_exports__ = {};
|
|
|
97
97
|
/* harmony import */ var _smart_toast_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4595);
|
|
98
98
|
/* harmony import */ var _smart_toast_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_smart_toast_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
99
99
|
|
|
100
|
-
/* Smart UI v16.0.
|
|
100
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
101
101
|
Copyright (c) 2011-2023 jQWidgets.
|
|
102
102
|
License: https://htmlelements.com/license/ */ //
|
|
103
103
|
|
|
@@ -97,7 +97,7 @@ var __webpack_exports__ = {};
|
|
|
97
97
|
/* harmony import */ var _smart_tooltip_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6693);
|
|
98
98
|
/* harmony import */ var _smart_tooltip_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_smart_tooltip_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
99
99
|
|
|
100
|
-
/* Smart UI v16.0.
|
|
100
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
101
101
|
Copyright (c) 2011-2023 jQWidgets.
|
|
102
102
|
License: https://htmlelements.com/license/ */ //
|
|
103
103
|
|
|
@@ -133,7 +133,7 @@ var __webpack_exports__ = {};
|
|
|
133
133
|
/* harmony import */ var _smart_tree_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(5482);
|
|
134
134
|
/* harmony import */ var _smart_tree_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_smart_tree_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
135
135
|
|
|
136
|
-
/* Smart UI v16.0.
|
|
136
|
+
/* Smart UI v16.0.1 (2023-08-04)
|
|
137
137
|
Copyright (c) 2011-2023 jQWidgets.
|
|
138
138
|
License: https://htmlelements.com/license/ */ //
|
|
139
139
|
|