smart-webcomponents 18.0.1 → 18.0.2
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/bootstrap/source/smart.element.js +1 -1
- package/framework/smart.element.js +1 -1
- package/package.json +1 -1
- package/source/components/smart.ui.ganttchart.js +1 -1
- package/source/components/smart.ui.grid.js +1 -1
- package/source/modules/smart.3dchart.js +3 -3
- package/source/modules/smart.accordion.js +3 -3
- package/source/modules/smart.array.js +3 -3
- package/source/modules/smart.barcode.js +3 -3
- package/source/modules/smart.breadcrumb.js +3 -3
- package/source/modules/smart.button.js +3 -3
- package/source/modules/smart.buttongroup.js +3 -3
- package/source/modules/smart.calendar.js +3 -3
- package/source/modules/smart.card.js +3 -3
- package/source/modules/smart.cardview.js +3 -3
- package/source/modules/smart.carousel.js +3 -3
- package/source/modules/smart.chart.js +3 -3
- package/source/modules/smart.checkbox.js +3 -3
- package/source/modules/smart.checkinput.js +3 -3
- package/source/modules/smart.chip.js +3 -3
- package/source/modules/smart.colorinput.js +3 -3
- package/source/modules/smart.colorpanel.js +3 -3
- package/source/modules/smart.colorpicker.js +3 -3
- package/source/modules/smart.combobox.js +3 -3
- package/source/modules/smart.common.js +3 -3
- package/source/modules/smart.countryinput.js +3 -3
- package/source/modules/smart.dateinput.js +3 -3
- package/source/modules/smart.daterangeinput.js +3 -3
- package/source/modules/smart.datetimepicker.js +3 -3
- package/source/modules/smart.dockinglayout.js +3 -3
- package/source/modules/smart.dropdownbutton.js +3 -3
- package/source/modules/smart.dropdownlist.js +3 -3
- package/source/modules/smart.editor.js +3 -3
- package/source/modules/smart.element.js +3 -3
- package/source/modules/smart.fileupload.js +3 -3
- package/source/modules/smart.form.js +3 -3
- package/source/modules/smart.formulaparser.js +3 -3
- package/source/modules/smart.ganttchart.js +4 -4
- package/source/modules/smart.gauge.js +3 -3
- package/source/modules/smart.grid.js +5 -5
- package/source/modules/smart.gridpanel.js +3 -3
- package/source/modules/smart.input.js +3 -3
- package/source/modules/smart.kanban.js +3 -3
- package/source/modules/smart.layout.js +3 -3
- package/source/modules/smart.led.js +3 -3
- package/source/modules/smart.listbox.js +3 -3
- package/source/modules/smart.listmenu.js +3 -3
- package/source/modules/smart.map.js +3 -3
- package/source/modules/smart.maskedtextbox.js +3 -3
- package/source/modules/smart.menu.js +3 -3
- package/source/modules/smart.multicomboinput.js +3 -3
- package/source/modules/smart.multiinput.js +3 -3
- package/source/modules/smart.multilinetextbox.js +3 -3
- package/source/modules/smart.multisplitbutton.js +3 -3
- package/source/modules/smart.numberinput.js +3 -3
- package/source/modules/smart.numerictextbox.js +3 -3
- package/source/modules/smart.pager.js +3 -3
- package/source/modules/smart.passwordinput.js +3 -3
- package/source/modules/smart.passwordtextbox.js +3 -3
- package/source/modules/smart.path.js +3 -3
- package/source/modules/smart.phoneinput.js +3 -3
- package/source/modules/smart.pivottable.js +3 -3
- package/source/modules/smart.progressbar.js +3 -3
- package/source/modules/smart.qrcode.js +3 -3
- package/source/modules/smart.querybuilder.js +3 -3
- package/source/modules/smart.radiobutton.js +3 -3
- package/source/modules/smart.rating.js +3 -3
- package/source/modules/smart.ribbon.js +3 -3
- package/source/modules/smart.router.js +3 -3
- package/source/modules/smart.scheduler.js +3 -3
- package/source/modules/smart.scrollbar.js +3 -3
- package/source/modules/smart.slider.js +3 -3
- package/source/modules/smart.sortable.js +3 -3
- package/source/modules/smart.splitter.js +3 -3
- package/source/modules/smart.switchbutton.js +3 -3
- package/source/modules/smart.table.js +3 -3
- package/source/modules/smart.tabs.js +3 -3
- package/source/modules/smart.tank.js +3 -3
- package/source/modules/smart.textarea.js +3 -3
- package/source/modules/smart.textbox.js +3 -3
- package/source/modules/smart.timeinput.js +3 -3
- package/source/modules/smart.timepicker.js +3 -3
- package/source/modules/smart.toast.js +3 -3
- package/source/modules/smart.tooltip.js +3 -3
- package/source/modules/smart.tree.js +3 -3
- package/source/modules/smart.validator.js +3 -3
- package/source/modules/smart.window.js +3 -3
- 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 +1 -1
- 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 +4 -4
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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.ribbon.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
- package/source/angular/accordion/index.ts +0 -1
- package/source/angular/accordion/public_api.ts +0 -5
- package/source/angular/accordion/smart.accordion.module.ts +0 -13
- package/source/angular/accordion/smart.accordion.ts +0 -370
- package/source/angular/accordion/smart.accordionitem.ts +0 -142
- package/source/angular/accordion/smart.element.ts +0 -104
- package/source/angular/array/index.ts +0 -1
- package/source/angular/array/public_api.ts +0 -3
- package/source/angular/array/smart.array.module.ts +0 -12
- package/source/angular/array/smart.array.ts +0 -817
- package/source/angular/array/smart.element.ts +0 -104
- package/source/angular/barcode/index.ts +0 -1
- package/source/angular/barcode/public_api.ts +0 -3
- package/source/angular/barcode/smart.barcode.module.ts +0 -12
- package/source/angular/barcode/smart.barcode.ts +0 -306
- package/source/angular/barcode/smart.element.ts +0 -104
- package/source/angular/bootstrap/bootstrap.button.ts +0 -160
- package/source/angular/bootstrap/bootstrap.checkbox.ts +0 -165
- package/source/angular/bootstrap/bootstrap.circular.ts +0 -151
- package/source/angular/bootstrap/bootstrap.dropdown.ts +0 -253
- package/source/angular/bootstrap/bootstrap.fileinput.ts +0 -133
- package/source/angular/bootstrap/bootstrap.input.ts +0 -160
- package/source/angular/bootstrap/bootstrap.inputgroup.ts +0 -178
- package/source/angular/bootstrap/bootstrap.modal.ts +0 -204
- package/source/angular/bootstrap/bootstrap.progressbar.ts +0 -151
- package/source/angular/bootstrap/bootstrap.radiobutton.ts +0 -156
- package/source/angular/bootstrap/bootstrap.range.ts +0 -133
- package/source/angular/bootstrap/bootstrap.splitbutton.ts +0 -253
- package/source/angular/bootstrap/bootstrap.switchbutton.ts +0 -165
- package/source/angular/bootstrap/bootstrap.tabs.ts +0 -175
- package/source/angular/bootstrap/bootstrap.textarea.ts +0 -160
- package/source/angular/bootstrap/bootstrap.togglebutton.ts +0 -156
- package/source/angular/bootstrap/index.ts +0 -1
- package/source/angular/bootstrap/public_api.ts +0 -17
- package/source/angular/bootstrap/smart.element.ts +0 -104
- package/source/angular/breadcrumb/index.ts +0 -1
- package/source/angular/breadcrumb/public_api.ts +0 -3
- package/source/angular/breadcrumb/smart.breadcrumb.module.ts +0 -12
- package/source/angular/breadcrumb/smart.breadcrumb.ts +0 -306
- package/source/angular/breadcrumb/smart.element.ts +0 -104
- package/source/angular/button/index.ts +0 -1
- package/source/angular/button/public_api.ts +0 -9
- package/source/angular/button/smart.button.module.ts +0 -15
- package/source/angular/button/smart.button.ts +0 -230
- package/source/angular/button/smart.element.ts +0 -104
- package/source/angular/button/smart.powerbutton.ts +0 -283
- package/source/angular/button/smart.repeatbutton.ts +0 -214
- package/source/angular/button/smart.togglebutton.ts +0 -235
- package/source/angular/buttongroup/index.ts +0 -1
- package/source/angular/buttongroup/public_api.ts +0 -3
- package/source/angular/buttongroup/smart.buttongroup.module.ts +0 -12
- package/source/angular/buttongroup/smart.buttongroup.ts +0 -229
- package/source/angular/buttongroup/smart.element.ts +0 -104
- package/source/angular/calendar/index.ts +0 -1
- package/source/angular/calendar/public_api.ts +0 -3
- package/source/angular/calendar/smart.calendar.module.ts +0 -12
- package/source/angular/calendar/smart.calendar.ts +0 -787
- package/source/angular/calendar/smart.element.ts +0 -104
- package/source/angular/card/index.ts +0 -1
- package/source/angular/card/public_api.ts +0 -3
- package/source/angular/card/smart.card.module.ts +0 -12
- package/source/angular/card/smart.card.ts +0 -220
- package/source/angular/card/smart.element.ts +0 -104
- package/source/angular/cardview/index.ts +0 -1
- package/source/angular/cardview/public_api.ts +0 -3
- package/source/angular/cardview/smart.cardview.module.ts +0 -12
- package/source/angular/cardview/smart.cardview.ts +0 -573
- package/source/angular/cardview/smart.element.ts +0 -104
- package/source/angular/carousel/index.ts +0 -1
- package/source/angular/carousel/public_api.ts +0 -3
- package/source/angular/carousel/smart.carousel.module.ts +0 -12
- package/source/angular/carousel/smart.carousel.ts +0 -414
- package/source/angular/carousel/smart.element.ts +0 -104
- package/source/angular/chart/index.ts +0 -1
- package/source/angular/chart/public_api.ts +0 -3
- package/source/angular/chart/smart.chart.module.ts +0 -12
- package/source/angular/chart/smart.chart.ts +0 -930
- package/source/angular/chart/smart.element.ts +0 -104
- package/source/angular/checkbox/index.ts +0 -1
- package/source/angular/checkbox/public_api.ts +0 -3
- package/source/angular/checkbox/smart.checkbox.module.ts +0 -12
- package/source/angular/checkbox/smart.checkbox.ts +0 -341
- package/source/angular/checkbox/smart.element.ts +0 -104
- package/source/angular/checkinput/index.ts +0 -1
- package/source/angular/checkinput/public_api.ts +0 -3
- package/source/angular/checkinput/smart.checkinput.module.ts +0 -12
- package/source/angular/checkinput/smart.checkinput.ts +0 -497
- package/source/angular/checkinput/smart.element.ts +0 -104
- package/source/angular/chip/index.ts +0 -1
- package/source/angular/chip/public_api.ts +0 -3
- package/source/angular/chip/smart.chip.module.ts +0 -12
- package/source/angular/chip/smart.chip.ts +0 -221
- package/source/angular/chip/smart.element.ts +0 -104
- package/source/angular/colorinput/index.ts +0 -1
- package/source/angular/colorinput/public_api.ts +0 -3
- package/source/angular/colorinput/smart.colorinput.module.ts +0 -12
- package/source/angular/colorinput/smart.colorinput.ts +0 -456
- package/source/angular/colorinput/smart.element.ts +0 -104
- package/source/angular/colorpanel/index.ts +0 -1
- package/source/angular/colorpanel/public_api.ts +0 -3
- package/source/angular/colorpanel/smart.colorpanel.module.ts +0 -12
- package/source/angular/colorpanel/smart.colorpanel.ts +0 -501
- package/source/angular/colorpanel/smart.element.ts +0 -104
- package/source/angular/colorpicker/index.ts +0 -1
- package/source/angular/colorpicker/public_api.ts +0 -3
- package/source/angular/colorpicker/smart.colorpicker.module.ts +0 -12
- package/source/angular/colorpicker/smart.colorpicker.ts +0 -756
- package/source/angular/colorpicker/smart.element.ts +0 -104
- package/source/angular/columnpanel/index.ts +0 -1
- package/source/angular/columnpanel/public_api.ts +0 -3
- package/source/angular/columnpanel/smart.columnpanel.module.ts +0 -12
- package/source/angular/columnpanel/smart.columnpanel.ts +0 -183
- package/source/angular/columnpanel/smart.element.ts +0 -104
- package/source/angular/combobox/index.ts +0 -1
- package/source/angular/combobox/public_api.ts +0 -7
- package/source/angular/combobox/smart.combobox.module.ts +0 -14
- package/source/angular/combobox/smart.combobox.ts +0 -1154
- package/source/angular/combobox/smart.element.ts +0 -104
- package/source/angular/combobox/smart.listitem.ts +0 -162
- package/source/angular/combobox/smart.listitemsgroup.ts +0 -72
- package/source/angular/countryinput/index.ts +0 -1
- package/source/angular/countryinput/public_api.ts +0 -3
- package/source/angular/countryinput/smart.countryinput.module.ts +0 -12
- package/source/angular/countryinput/smart.countryinput.ts +0 -391
- package/source/angular/countryinput/smart.element.ts +0 -104
- package/source/angular/customizationdialog/index.ts +0 -1
- package/source/angular/customizationdialog/public_api.ts +0 -3
- package/source/angular/customizationdialog/smart.customizationdialog.module.ts +0 -12
- package/source/angular/customizationdialog/smart.customizationdialog.ts +0 -311
- package/source/angular/customizationdialog/smart.element.ts +0 -104
- package/source/angular/dateinput/index.ts +0 -1
- package/source/angular/dateinput/public_api.ts +0 -3
- package/source/angular/dateinput/smart.dateinput.module.ts +0 -12
- package/source/angular/dateinput/smart.dateinput.ts +0 -465
- package/source/angular/dateinput/smart.element.ts +0 -104
- package/source/angular/daterangeinput/index.ts +0 -1
- package/source/angular/daterangeinput/public_api.ts +0 -3
- package/source/angular/daterangeinput/smart.daterangeinput.module.ts +0 -12
- package/source/angular/daterangeinput/smart.daterangeinput.ts +0 -456
- package/source/angular/daterangeinput/smart.element.ts +0 -104
- package/source/angular/datetimepicker/index.ts +0 -1
- package/source/angular/datetimepicker/public_api.ts +0 -3
- package/source/angular/datetimepicker/smart.datetimepicker.module.ts +0 -12
- package/source/angular/datetimepicker/smart.datetimepicker.ts +0 -835
- package/source/angular/datetimepicker/smart.element.ts +0 -104
- package/source/angular/dockinglayout/index.ts +0 -1
- package/source/angular/dockinglayout/public_api.ts +0 -3
- package/source/angular/dockinglayout/smart.dockinglayout.module.ts +0 -12
- package/source/angular/dockinglayout/smart.dockinglayout.ts +0 -866
- package/source/angular/dockinglayout/smart.element.ts +0 -104
- package/source/angular/dropdownbutton/index.ts +0 -1
- package/source/angular/dropdownbutton/public_api.ts +0 -3
- package/source/angular/dropdownbutton/smart.dropdownbutton.module.ts +0 -12
- package/source/angular/dropdownbutton/smart.dropdownbutton.ts +0 -542
- package/source/angular/dropdownbutton/smart.element.ts +0 -104
- package/source/angular/dropdownlist/index.ts +0 -1
- package/source/angular/dropdownlist/public_api.ts +0 -7
- package/source/angular/dropdownlist/smart.dropdownlist.module.ts +0 -14
- package/source/angular/dropdownlist/smart.dropdownlist.ts +0 -1111
- package/source/angular/dropdownlist/smart.element.ts +0 -104
- package/source/angular/dropdownlist/smart.listitem.ts +0 -162
- package/source/angular/dropdownlist/smart.listitemsgroup.ts +0 -72
- package/source/angular/editor/index.ts +0 -1
- package/source/angular/editor/public_api.ts +0 -3
- package/source/angular/editor/smart.editor.module.ts +0 -12
- package/source/angular/editor/smart.editor.ts +0 -1353
- package/source/angular/editor/smart.element.ts +0 -104
- package/source/angular/element/index.ts +0 -1
- package/source/angular/element/public_api.ts +0 -3
- package/source/angular/element/smart.element.module.ts +0 -10
- package/source/angular/element/smart.element.ts +0 -104
- package/source/angular/fileupload/index.ts +0 -1
- package/source/angular/fileupload/public_api.ts +0 -3
- package/source/angular/fileupload/smart.element.ts +0 -104
- package/source/angular/fileupload/smart.fileupload.module.ts +0 -12
- package/source/angular/fileupload/smart.fileupload.ts +0 -517
- package/source/angular/filterbuilder/index.ts +0 -1
- package/source/angular/filterbuilder/public_api.ts +0 -3
- package/source/angular/filterbuilder/smart.element.ts +0 -104
- package/source/angular/filterbuilder/smart.filterbuilder.module.ts +0 -12
- package/source/angular/filterbuilder/smart.filterbuilder.ts +0 -506
- package/source/angular/filterpanel/index.ts +0 -1
- package/source/angular/filterpanel/public_api.ts +0 -3
- package/source/angular/filterpanel/smart.element.ts +0 -104
- package/source/angular/filterpanel/smart.filterpanel.module.ts +0 -12
- package/source/angular/filterpanel/smart.filterpanel.ts +0 -334
- package/source/angular/form/index.ts +0 -1
- package/source/angular/form/public_api.ts +0 -7
- package/source/angular/form/smart.element.ts +0 -104
- package/source/angular/form/smart.form.module.ts +0 -14
- package/source/angular/form/smart.form.ts +0 -288
- package/source/angular/form/smart.formcontrol.ts +0 -336
- package/source/angular/form/smart.formgroup.ts +0 -238
- package/source/angular/ganttchart/index.ts +0 -1
- package/source/angular/ganttchart/public_api.ts +0 -3
- package/source/angular/ganttchart/smart.element.ts +0 -104
- package/source/angular/ganttchart/smart.ganttchart.module.ts +0 -12
- package/source/angular/ganttchart/smart.ganttchart.ts +0 -2214
- package/source/angular/gauge/index.ts +0 -1
- package/source/angular/gauge/public_api.ts +0 -3
- package/source/angular/gauge/smart.element.ts +0 -104
- package/source/angular/gauge/smart.gauge.module.ts +0 -12
- package/source/angular/gauge/smart.gauge.ts +0 -650
- package/source/angular/grid/index.ts +0 -1
- package/source/angular/grid/public_api.ts +0 -3
- package/source/angular/grid/smart.element.ts +0 -104
- package/source/angular/grid/smart.grid.module.ts +0 -12
- package/source/angular/grid/smart.grid.ts +0 -3154
- package/source/angular/grouppanel/index.ts +0 -1
- package/source/angular/grouppanel/public_api.ts +0 -3
- package/source/angular/grouppanel/smart.element.ts +0 -104
- package/source/angular/grouppanel/smart.grouppanel.module.ts +0 -12
- package/source/angular/grouppanel/smart.grouppanel.ts +0 -220
- package/source/angular/index.d.ts +0 -33688
- package/source/angular/input/index.ts +0 -1
- package/source/angular/input/public_api.ts +0 -3
- package/source/angular/input/smart.element.ts +0 -104
- package/source/angular/input/smart.input.module.ts +0 -12
- package/source/angular/input/smart.input.ts +0 -590
- package/source/angular/kanban/index.ts +0 -1
- package/source/angular/kanban/public_api.ts +0 -3
- package/source/angular/kanban/smart.element.ts +0 -104
- package/source/angular/kanban/smart.kanban.module.ts +0 -12
- package/source/angular/kanban/smart.kanban.ts +0 -1700
- package/source/angular/layout/index.ts +0 -1
- package/source/angular/layout/public_api.ts +0 -11
- package/source/angular/layout/smart.element.ts +0 -104
- package/source/angular/layout/smart.layout.module.ts +0 -16
- package/source/angular/layout/smart.layout.ts +0 -363
- package/source/angular/layout/smart.layoutgroup.ts +0 -140
- package/source/angular/layout/smart.layoutitem.ts +0 -129
- package/source/angular/layout/smart.tablayoutgroup.ts +0 -147
- package/source/angular/layout/smart.tablayoutitem.ts +0 -138
- package/source/angular/led/index.ts +0 -1
- package/source/angular/led/public_api.ts +0 -3
- package/source/angular/led/smart.element.ts +0 -104
- package/source/angular/led/smart.led.module.ts +0 -12
- package/source/angular/led/smart.led.ts +0 -280
- package/source/angular/listbox/index.ts +0 -1
- package/source/angular/listbox/public_api.ts +0 -7
- package/source/angular/listbox/smart.element.ts +0 -104
- package/source/angular/listbox/smart.listbox.module.ts +0 -14
- package/source/angular/listbox/smart.listbox.ts +0 -1036
- package/source/angular/listbox/smart.listitem.ts +0 -162
- package/source/angular/listbox/smart.listitemsgroup.ts +0 -72
- package/source/angular/listmenu/index.ts +0 -1
- package/source/angular/listmenu/public_api.ts +0 -7
- package/source/angular/listmenu/smart.element.ts +0 -104
- package/source/angular/listmenu/smart.listmenu.module.ts +0 -14
- package/source/angular/listmenu/smart.listmenu.ts +0 -597
- package/source/angular/listmenu/smart.menuitem.ts +0 -126
- package/source/angular/listmenu/smart.menuitemsgroup.ts +0 -153
- package/source/angular/map/index.ts +0 -1
- package/source/angular/map/public_api.ts +0 -3
- package/source/angular/map/smart.element.ts +0 -104
- package/source/angular/map/smart.map.module.ts +0 -12
- package/source/angular/map/smart.map.ts +0 -128
- package/source/angular/maskedtextbox/index.ts +0 -1
- package/source/angular/maskedtextbox/public_api.ts +0 -3
- package/source/angular/maskedtextbox/smart.element.ts +0 -104
- package/source/angular/maskedtextbox/smart.maskedtextbox.module.ts +0 -12
- package/source/angular/maskedtextbox/smart.maskedtextbox.ts +0 -539
- package/source/angular/menu/index.ts +0 -1
- package/source/angular/menu/public_api.ts +0 -7
- package/source/angular/menu/smart.element.ts +0 -104
- package/source/angular/menu/smart.menu.module.ts +0 -14
- package/source/angular/menu/smart.menu.ts +0 -695
- package/source/angular/menu/smart.menuitem.ts +0 -126
- package/source/angular/menu/smart.menuitemsgroup.ts +0 -153
- package/source/angular/multicolumnfilterpanel/index.ts +0 -1
- package/source/angular/multicolumnfilterpanel/public_api.ts +0 -3
- package/source/angular/multicolumnfilterpanel/smart.element.ts +0 -104
- package/source/angular/multicolumnfilterpanel/smart.multicolumnfilterpanel.module.ts +0 -12
- package/source/angular/multicolumnfilterpanel/smart.multicolumnfilterpanel.ts +0 -256
- package/source/angular/multicomboinput/index.ts +0 -1
- package/source/angular/multicomboinput/public_api.ts +0 -3
- package/source/angular/multicomboinput/smart.element.ts +0 -104
- package/source/angular/multicomboinput/smart.multicomboinput.module.ts +0 -12
- package/source/angular/multicomboinput/smart.multicomboinput.ts +0 -542
- package/source/angular/multiinput/index.ts +0 -1
- package/source/angular/multiinput/public_api.ts +0 -3
- package/source/angular/multiinput/smart.element.ts +0 -104
- package/source/angular/multiinput/smart.multiinput.module.ts +0 -12
- package/source/angular/multiinput/smart.multiinput.ts +0 -497
- package/source/angular/multilinetextbox/index.ts +0 -1
- package/source/angular/multilinetextbox/public_api.ts +0 -7
- package/source/angular/multilinetextbox/smart.element.ts +0 -104
- package/source/angular/multilinetextbox/smart.listitem.ts +0 -162
- package/source/angular/multilinetextbox/smart.listitemsgroup.ts +0 -72
- package/source/angular/multilinetextbox/smart.multilinetextbox.module.ts +0 -14
- package/source/angular/multilinetextbox/smart.multilinetextbox.ts +0 -561
- package/source/angular/multisplitbutton/index.ts +0 -1
- package/source/angular/multisplitbutton/public_api.ts +0 -7
- package/source/angular/multisplitbutton/smart.element.ts +0 -104
- package/source/angular/multisplitbutton/smart.listitem.ts +0 -162
- package/source/angular/multisplitbutton/smart.listitemsgroup.ts +0 -72
- package/source/angular/multisplitbutton/smart.multisplitbutton.module.ts +0 -14
- package/source/angular/multisplitbutton/smart.multisplitbutton.ts +0 -620
- package/source/angular/numberinput/index.ts +0 -1
- package/source/angular/numberinput/public_api.ts +0 -3
- package/source/angular/numberinput/smart.element.ts +0 -104
- package/source/angular/numberinput/smart.numberinput.module.ts +0 -12
- package/source/angular/numberinput/smart.numberinput.ts +0 -398
- package/source/angular/numerictextbox/index.ts +0 -1
- package/source/angular/numerictextbox/public_api.ts +0 -3
- package/source/angular/numerictextbox/smart.element.ts +0 -104
- package/source/angular/numerictextbox/smart.numerictextbox.module.ts +0 -12
- package/source/angular/numerictextbox/smart.numerictextbox.ts +0 -648
- package/source/angular/pager/index.ts +0 -1
- package/source/angular/pager/public_api.ts +0 -3
- package/source/angular/pager/smart.element.ts +0 -104
- package/source/angular/pager/smart.pager.module.ts +0 -12
- package/source/angular/pager/smart.pager.ts +0 -386
- package/source/angular/passwordinput/index.ts +0 -1
- package/source/angular/passwordinput/public_api.ts +0 -3
- package/source/angular/passwordinput/smart.element.ts +0 -104
- package/source/angular/passwordinput/smart.passwordinput.module.ts +0 -12
- package/source/angular/passwordinput/smart.passwordinput.ts +0 -218
- package/source/angular/passwordtextbox/index.ts +0 -1
- package/source/angular/passwordtextbox/public_api.ts +0 -3
- package/source/angular/passwordtextbox/smart.element.ts +0 -104
- package/source/angular/passwordtextbox/smart.passwordtextbox.module.ts +0 -12
- package/source/angular/passwordtextbox/smart.passwordtextbox.ts +0 -463
- package/source/angular/path/index.ts +0 -1
- package/source/angular/path/public_api.ts +0 -3
- package/source/angular/path/smart.element.ts +0 -104
- package/source/angular/path/smart.path.module.ts +0 -12
- package/source/angular/path/smart.path.ts +0 -491
- package/source/angular/phoneinput/index.ts +0 -1
- package/source/angular/phoneinput/public_api.ts +0 -3
- package/source/angular/phoneinput/smart.element.ts +0 -104
- package/source/angular/phoneinput/smart.phoneinput.module.ts +0 -12
- package/source/angular/phoneinput/smart.phoneinput.ts +0 -493
- package/source/angular/pivottable/index.ts +0 -1
- package/source/angular/pivottable/public_api.ts +0 -3
- package/source/angular/pivottable/smart.element.ts +0 -104
- package/source/angular/pivottable/smart.pivottable.module.ts +0 -12
- package/source/angular/pivottable/smart.pivottable.ts +0 -840
- package/source/angular/progressbar/index.ts +0 -1
- package/source/angular/progressbar/public_api.ts +0 -5
- package/source/angular/progressbar/smart.circularprogressbar.ts +0 -223
- package/source/angular/progressbar/smart.element.ts +0 -104
- package/source/angular/progressbar/smart.progressbar.module.ts +0 -13
- package/source/angular/progressbar/smart.progressbar.ts +0 -235
- package/source/angular/qrcode/index.ts +0 -1
- package/source/angular/qrcode/public_api.ts +0 -3
- package/source/angular/qrcode/smart.element.ts +0 -104
- package/source/angular/qrcode/smart.qrcode.module.ts +0 -12
- package/source/angular/qrcode/smart.qrcode.ts +0 -333
- package/source/angular/querybuilder/index.ts +0 -1
- package/source/angular/querybuilder/public_api.ts +0 -3
- package/source/angular/querybuilder/smart.element.ts +0 -104
- package/source/angular/querybuilder/smart.querybuilder.module.ts +0 -12
- package/source/angular/querybuilder/smart.querybuilder.ts +0 -460
- package/source/angular/radiobutton/index.ts +0 -1
- package/source/angular/radiobutton/public_api.ts +0 -3
- package/source/angular/radiobutton/smart.element.ts +0 -104
- package/source/angular/radiobutton/smart.radiobutton.module.ts +0 -12
- package/source/angular/radiobutton/smart.radiobutton.ts +0 -350
- package/source/angular/rating/index.ts +0 -1
- package/source/angular/rating/public_api.ts +0 -3
- package/source/angular/rating/smart.element.ts +0 -104
- package/source/angular/rating/smart.rating.module.ts +0 -12
- package/source/angular/rating/smart.rating.ts +0 -309
- package/source/angular/ribbon/index.ts +0 -1
- package/source/angular/ribbon/public_api.ts +0 -9
- package/source/angular/ribbon/smart.element.ts +0 -104
- package/source/angular/ribbon/smart.ribbon.module.ts +0 -15
- package/source/angular/ribbon/smart.ribbon.ts +0 -427
- package/source/angular/ribbon/smart.ribbongroup.ts +0 -126
- package/source/angular/ribbon/smart.ribbonitem.ts +0 -180
- package/source/angular/ribbon/smart.ribbontab.ts +0 -99
- package/source/angular/scheduler/index.ts +0 -1
- package/source/angular/scheduler/public_api.ts +0 -3
- package/source/angular/scheduler/smart.element.ts +0 -104
- package/source/angular/scheduler/smart.scheduler.module.ts +0 -12
- package/source/angular/scheduler/smart.scheduler.ts +0 -2337
- package/source/angular/scrollbar/index.ts +0 -1
- package/source/angular/scrollbar/public_api.ts +0 -3
- package/source/angular/scrollbar/smart.element.ts +0 -104
- package/source/angular/scrollbar/smart.scrollbar.module.ts +0 -12
- package/source/angular/scrollbar/smart.scrollbar.ts +0 -260
- package/source/angular/slider/index.ts +0 -1
- package/source/angular/slider/public_api.ts +0 -3
- package/source/angular/slider/smart.element.ts +0 -104
- package/source/angular/slider/smart.slider.module.ts +0 -12
- package/source/angular/slider/smart.slider.ts +0 -632
- package/source/angular/sortable/index.ts +0 -1
- package/source/angular/sortable/public_api.ts +0 -3
- package/source/angular/sortable/smart.element.ts +0 -104
- package/source/angular/sortable/smart.sortable.module.ts +0 -12
- package/source/angular/sortable/smart.sortable.ts +0 -217
- package/source/angular/sortpanel/index.ts +0 -1
- package/source/angular/sortpanel/public_api.ts +0 -3
- package/source/angular/sortpanel/smart.element.ts +0 -104
- package/source/angular/sortpanel/smart.sortpanel.module.ts +0 -12
- package/source/angular/sortpanel/smart.sortpanel.ts +0 -180
- package/source/angular/splitter/index.ts +0 -1
- package/source/angular/splitter/public_api.ts +0 -7
- package/source/angular/splitter/smart.element.ts +0 -104
- package/source/angular/splitter/smart.splitter.module.ts +0 -14
- package/source/angular/splitter/smart.splitter.ts +0 -530
- package/source/angular/splitter/smart.splitterbar.ts +0 -121
- package/source/angular/splitter/smart.splitteritem.ts +0 -192
- package/source/angular/switchbutton/index.ts +0 -1
- package/source/angular/switchbutton/public_api.ts +0 -3
- package/source/angular/switchbutton/smart.element.ts +0 -104
- package/source/angular/switchbutton/smart.switchbutton.module.ts +0 -12
- package/source/angular/switchbutton/smart.switchbutton.ts +0 -386
- package/source/angular/table/index.ts +0 -1
- package/source/angular/table/public_api.ts +0 -3
- package/source/angular/table/smart.element.ts +0 -104
- package/source/angular/table/smart.table.module.ts +0 -12
- package/source/angular/table/smart.table.ts +0 -1507
- package/source/angular/tabs/index.ts +0 -1
- package/source/angular/tabs/public_api.ts +0 -7
- package/source/angular/tabs/smart.element.ts +0 -104
- package/source/angular/tabs/smart.tabitem.ts +0 -126
- package/source/angular/tabs/smart.tabitemsgroup.ts +0 -81
- package/source/angular/tabs/smart.tabs.module.ts +0 -14
- package/source/angular/tabs/smart.tabs.ts +0 -622
- package/source/angular/tank/index.ts +0 -1
- package/source/angular/tank/public_api.ts +0 -3
- package/source/angular/tank/smart.element.ts +0 -104
- package/source/angular/tank/smart.tank.module.ts +0 -12
- package/source/angular/tank/smart.tank.ts +0 -593
- package/source/angular/textarea/index.ts +0 -1
- package/source/angular/textarea/public_api.ts +0 -3
- package/source/angular/textarea/smart.element.ts +0 -104
- package/source/angular/textarea/smart.textarea.module.ts +0 -12
- package/source/angular/textarea/smart.textarea.ts +0 -519
- package/source/angular/textbox/index.ts +0 -1
- package/source/angular/textbox/public_api.ts +0 -7
- package/source/angular/textbox/smart.element.ts +0 -104
- package/source/angular/textbox/smart.listitem.ts +0 -162
- package/source/angular/textbox/smart.listitemsgroup.ts +0 -72
- package/source/angular/textbox/smart.textbox.module.ts +0 -14
- package/source/angular/textbox/smart.textbox.ts +0 -708
- package/source/angular/threedchart/index.ts +0 -1
- package/source/angular/threedchart/public_api.ts +0 -3
- package/source/angular/threedchart/smart.element.ts +0 -104
- package/source/angular/threedchart/smart.threedchart.module.ts +0 -12
- package/source/angular/threedchart/smart.threedchart.ts +0 -1052
- package/source/angular/timeinput/index.ts +0 -1
- package/source/angular/timeinput/public_api.ts +0 -3
- package/source/angular/timeinput/smart.element.ts +0 -104
- package/source/angular/timeinput/smart.timeinput.module.ts +0 -12
- package/source/angular/timeinput/smart.timeinput.ts +0 -427
- package/source/angular/timepicker/index.ts +0 -1
- package/source/angular/timepicker/public_api.ts +0 -3
- package/source/angular/timepicker/smart.element.ts +0 -104
- package/source/angular/timepicker/smart.timepicker.module.ts +0 -12
- package/source/angular/timepicker/smart.timepicker.ts +0 -370
- package/source/angular/toast/index.ts +0 -1
- package/source/angular/toast/public_api.ts +0 -3
- package/source/angular/toast/smart.element.ts +0 -104
- package/source/angular/toast/smart.toast.module.ts +0 -12
- package/source/angular/toast/smart.toast.ts +0 -405
- package/source/angular/tooltip/index.ts +0 -1
- package/source/angular/tooltip/public_api.ts +0 -3
- package/source/angular/tooltip/smart.element.ts +0 -104
- package/source/angular/tooltip/smart.tooltip.module.ts +0 -12
- package/source/angular/tooltip/smart.tooltip.ts +0 -339
- package/source/angular/tree/index.ts +0 -1
- package/source/angular/tree/public_api.ts +0 -7
- package/source/angular/tree/smart.element.ts +0 -104
- package/source/angular/tree/smart.tree.module.ts +0 -14
- package/source/angular/tree/smart.tree.ts +0 -1042
- package/source/angular/tree/smart.treeitem.ts +0 -135
- package/source/angular/tree/smart.treeitemsgroup.ts +0 -135
- package/source/angular/validator/index.ts +0 -1
- package/source/angular/validator/public_api.ts +0 -3
- package/source/angular/validator/smart.element.ts +0 -104
- package/source/angular/validator/smart.validator.module.ts +0 -12
- package/source/angular/validator/smart.validator.ts +0 -124
- package/source/angular/window/index.ts +0 -1
- package/source/angular/window/public_api.ts +0 -3
- package/source/angular/window/smart.element.ts +0 -104
- package/source/angular/window/smart.window.module.ts +0 -12
- package/source/angular/window/smart.window.ts +0 -1180
- package/source/react/accordion/accordion.jsx +0 -508
- package/source/react/accordion/accordion.tsx +0 -516
- package/source/react/accordion/accordionitem.jsx +0 -257
- package/source/react/accordion/accordionitem.tsx +0 -279
- package/source/react/alertwindow/alertwindow.jsx +0 -1437
- package/source/react/alertwindow/alertwindow.tsx +0 -1399
- package/source/react/array/array.jsx +0 -953
- package/source/react/array/array.tsx +0 -959
- package/source/react/barcode/barcode.jsx +0 -442
- package/source/react/barcode/barcode.tsx +0 -468
- package/source/react/breadcrumb/breadcrumb.jsx +0 -445
- package/source/react/breadcrumb/breadcrumb.tsx +0 -455
- package/source/react/button/button.jsx +0 -377
- package/source/react/button/button.tsx +0 -409
- package/source/react/button/powerbutton.jsx +0 -347
- package/source/react/button/powerbutton.tsx +0 -373
- package/source/react/button/repeatbutton.jsx +0 -371
- package/source/react/button/repeatbutton.tsx +0 -397
- package/source/react/button/togglebutton.jsx +0 -383
- package/source/react/button/togglebutton.tsx +0 -401
- package/source/react/buttongroup/buttongroup.jsx +0 -386
- package/source/react/buttongroup/buttongroup.tsx +0 -412
- package/source/react/calendar/calendar.jsx +0 -914
- package/source/react/calendar/calendar.tsx +0 -916
- package/source/react/card/card.jsx +0 -359
- package/source/react/card/card.tsx +0 -373
- package/source/react/cardview/cardview.jsx +0 -710
- package/source/react/cardview/cardview.tsx +0 -706
- package/source/react/carousel/carousel.jsx +0 -592
- package/source/react/carousel/carousel.tsx +0 -606
- package/source/react/chart/chart.jsx +0 -1060
- package/source/react/chart/chart.tsx +0 -1046
- package/source/react/checkbox/checkbox.jsx +0 -407
- package/source/react/checkbox/checkbox.tsx +0 -425
- package/source/react/checkinput/checkinput.jsx +0 -612
- package/source/react/checkinput/checkinput.tsx +0 -638
- package/source/react/chip/chip.jsx +0 -375
- package/source/react/chip/chip.tsx +0 -401
- package/source/react/colorinput/colorinput.jsx +0 -562
- package/source/react/colorinput/colorinput.tsx +0 -588
- package/source/react/colorpanel/colorpanel.jsx +0 -616
- package/source/react/colorpanel/colorpanel.tsx +0 -630
- package/source/react/colorpicker/colorpicker.jsx +0 -892
- package/source/react/colorpicker/colorpicker.tsx +0 -874
- package/source/react/columnpanel/columnpanel.jsx +0 -322
- package/source/react/columnpanel/columnpanel.tsx +0 -344
- package/source/react/combobox/combobox.jsx +0 -1287
- package/source/react/combobox/combobox.tsx +0 -1277
- package/source/react/combobox/listitem.jsx +0 -325
- package/source/react/combobox/listitem.tsx +0 -355
- package/source/react/combobox/listitemsgroup.jsx +0 -205
- package/source/react/combobox/listitemsgroup.tsx +0 -235
- package/source/react/countryinput/countryinput.jsx +0 -455
- package/source/react/countryinput/countryinput.tsx +0 -473
- package/source/react/customizationdialog/customizationdialog.jsx +0 -471
- package/source/react/customizationdialog/customizationdialog.tsx +0 -485
- package/source/react/dateinput/dateinput.jsx +0 -559
- package/source/react/dateinput/dateinput.tsx +0 -585
- package/source/react/daterangeinput/daterangeinput.jsx +0 -562
- package/source/react/daterangeinput/daterangeinput.tsx +0 -588
- package/source/react/datetimepicker/datetimepicker.jsx +0 -1013
- package/source/react/datetimepicker/datetimepicker.tsx +0 -1023
- package/source/react/dialogwindow/dialogwindow.jsx +0 -1437
- package/source/react/dialogwindow/dialogwindow.tsx +0 -1399
- package/source/react/dockinglayout/dockinglayout.jsx +0 -969
- package/source/react/dockinglayout/dockinglayout.tsx +0 -975
- package/source/react/dropdownbutton/dropdownbutton.jsx +0 -711
- package/source/react/dropdownbutton/dropdownbutton.tsx +0 -709
- package/source/react/dropdownlist/dropdownlist.jsx +0 -1223
- package/source/react/dropdownlist/dropdownlist.tsx +0 -1209
- package/source/react/dropdownlist/listitem.jsx +0 -325
- package/source/react/dropdownlist/listitem.tsx +0 -355
- package/source/react/dropdownlist/listitemsgroup.jsx +0 -205
- package/source/react/dropdownlist/listitemsgroup.tsx +0 -235
- package/source/react/editor/editor.jsx +0 -1465
- package/source/react/editor/editor.tsx +0 -1383
- package/source/react/element/element.jsx +0 -438
- package/source/react/element/element.tsx +0 -460
- package/source/react/fileupload/fileupload.jsx +0 -689
- package/source/react/fileupload/fileupload.tsx +0 -691
- package/source/react/filterbuilder/filterbuilder.jsx +0 -654
- package/source/react/filterbuilder/filterbuilder.tsx +0 -644
- package/source/react/filterpanel/filterpanel.jsx +0 -479
- package/source/react/filterpanel/filterpanel.tsx +0 -497
- package/source/react/form/form.jsx +0 -429
- package/source/react/form/form.tsx +0 -463
- package/source/react/form/formcontrol.jsx +0 -541
- package/source/react/form/formcontrol.tsx +0 -571
- package/source/react/form/formgroup.jsx +0 -380
- package/source/react/form/formgroup.tsx +0 -410
- package/source/react/ganttchart/ganttchart.jsx +0 -2344
- package/source/react/ganttchart/ganttchart.tsx +0 -2262
- package/source/react/gauge/gauge.jsx +0 -801
- package/source/react/gauge/gauge.tsx +0 -827
- package/source/react/grid/grid.jsx +0 -3021
- package/source/react/grid/grid.tsx +0 -2897
- package/source/react/grouppanel/grouppanel.jsx +0 -359
- package/source/react/grouppanel/grouppanel.tsx +0 -373
- package/source/react/input/input.jsx +0 -672
- package/source/react/input/input.tsx +0 -682
- package/source/react/kanban/kanban.jsx +0 -1894
- package/source/react/kanban/kanban.tsx +0 -1810
- package/source/react/layout/layout.jsx +0 -495
- package/source/react/layout/layout.tsx +0 -501
- package/source/react/layout/layoutgroup.jsx +0 -279
- package/source/react/layout/layoutgroup.tsx +0 -309
- package/source/react/layout/layoutitem.jsx +0 -265
- package/source/react/layout/layoutitem.tsx +0 -295
- package/source/react/layout/tablayoutgroup.jsx +0 -289
- package/source/react/layout/tablayoutgroup.tsx +0 -319
- package/source/react/layout/tablayoutitem.jsx +0 -277
- package/source/react/layout/tablayoutitem.tsx +0 -307
- package/source/react/led/led.jsx +0 -458
- package/source/react/led/led.tsx +0 -484
- package/source/react/listbox/listbox.jsx +0 -1119
- package/source/react/listbox/listbox.tsx +0 -1109
- package/source/react/listbox/listitem.jsx +0 -325
- package/source/react/listbox/listitem.tsx +0 -355
- package/source/react/listbox/listitemsgroup.jsx +0 -205
- package/source/react/listbox/listitemsgroup.tsx +0 -235
- package/source/react/listmenu/listmenu.jsx +0 -786
- package/source/react/listmenu/listmenu.tsx +0 -796
- package/source/react/listmenu/menuitem.jsx +0 -277
- package/source/react/listmenu/menuitem.tsx +0 -307
- package/source/react/listmenu/menuitemsgroup.jsx +0 -313
- package/source/react/listmenu/menuitemsgroup.tsx +0 -343
- package/source/react/map/map.jsx +0 -279
- package/source/react/map/map.tsx +0 -309
- package/source/react/maskedtextbox/maskedtextbox.jsx +0 -663
- package/source/react/maskedtextbox/maskedtextbox.tsx +0 -681
- package/source/react/menu/menu.jsx +0 -863
- package/source/react/menu/menu.tsx +0 -857
- package/source/react/menu/menuitem.jsx +0 -277
- package/source/react/menu/menuitem.tsx +0 -307
- package/source/react/menu/menuitemsgroup.jsx +0 -313
- package/source/react/menu/menuitemsgroup.tsx +0 -343
- package/source/react/multicolumnfilterpanel/multicolumnfilterpanel.jsx +0 -407
- package/source/react/multicolumnfilterpanel/multicolumnfilterpanel.tsx +0 -421
- package/source/react/multicomboinput/multicomboinput.jsx +0 -672
- package/source/react/multicomboinput/multicomboinput.tsx +0 -698
- package/source/react/multiinput/multiinput.jsx +0 -612
- package/source/react/multiinput/multiinput.tsx +0 -638
- package/source/react/multilinetextbox/listitem.jsx +0 -325
- package/source/react/multilinetextbox/listitem.tsx +0 -355
- package/source/react/multilinetextbox/listitemsgroup.jsx +0 -205
- package/source/react/multilinetextbox/listitemsgroup.tsx +0 -235
- package/source/react/multilinetextbox/multilinetextbox.jsx +0 -684
- package/source/react/multilinetextbox/multilinetextbox.tsx +0 -714
- package/source/react/multilinewindow/multilinewindow.jsx +0 -1437
- package/source/react/multilinewindow/multilinewindow.tsx +0 -1399
- package/source/react/multisplitbutton/listitem.jsx +0 -325
- package/source/react/multisplitbutton/listitem.tsx +0 -355
- package/source/react/multisplitbutton/listitemsgroup.jsx +0 -205
- package/source/react/multisplitbutton/listitemsgroup.tsx +0 -235
- package/source/react/multisplitbutton/multisplitbutton.jsx +0 -797
- package/source/react/multisplitbutton/multisplitbutton.tsx +0 -795
- package/source/react/numberinput/numberinput.jsx +0 -459
- package/source/react/numberinput/numberinput.tsx +0 -485
- package/source/react/numerictextbox/numerictextbox.jsx +0 -767
- package/source/react/numerictextbox/numerictextbox.tsx +0 -769
- package/source/react/pager/pager.jsx +0 -570
- package/source/react/pager/pager.tsx +0 -592
- package/source/react/passwordinput/passwordinput.jsx +0 -363
- package/source/react/passwordinput/passwordinput.tsx +0 -385
- package/source/react/passwordtextbox/passwordtextbox.jsx +0 -569
- package/source/react/passwordtextbox/passwordtextbox.tsx +0 -591
- package/source/react/path/path.jsx +0 -675
- package/source/react/path/path.tsx +0 -673
- package/source/react/phoneinput/phoneinput.jsx +0 -527
- package/source/react/phoneinput/phoneinput.tsx +0 -545
- package/source/react/pivottable/pivottable.jsx +0 -1036
- package/source/react/pivottable/pivottable.tsx +0 -1030
- package/source/react/progressbar/circularprogressbar.jsx +0 -383
- package/source/react/progressbar/circularprogressbar.tsx +0 -409
- package/source/react/progressbar/progressbar.jsx +0 -397
- package/source/react/progressbar/progressbar.tsx +0 -425
- package/source/react/progresswindow/progresswindow.jsx +0 -1437
- package/source/react/progresswindow/progresswindow.tsx +0 -1399
- package/source/react/promptwindow/promptwindow.jsx +0 -1437
- package/source/react/promptwindow/promptwindow.tsx +0 -1399
- package/source/react/qrcode/qrcode.jsx +0 -478
- package/source/react/qrcode/qrcode.tsx +0 -504
- package/source/react/querybuilder/querybuilder.jsx +0 -635
- package/source/react/querybuilder/querybuilder.tsx +0 -637
- package/source/react/radiobutton/radiobutton.jsx +0 -419
- package/source/react/radiobutton/radiobutton.tsx +0 -437
- package/source/react/rating/rating.jsx +0 -361
- package/source/react/rating/rating.tsx +0 -387
- package/source/react/ribbon/ribbon.jsx +0 -535
- package/source/react/ribbon/ribbon.tsx +0 -527
- package/source/react/ribbon/ribbongroup.jsx +0 -277
- package/source/react/ribbon/ribbongroup.tsx +0 -307
- package/source/react/ribbon/ribbonitem.jsx +0 -349
- package/source/react/ribbon/ribbonitem.tsx +0 -379
- package/source/react/ribbon/ribbontab.jsx +0 -241
- package/source/react/ribbon/ribbontab.tsx +0 -271
- package/source/react/scheduler/scheduler.jsx +0 -2510
- package/source/react/scheduler/scheduler.tsx +0 -2398
- package/source/react/scrollbar/scrollbar.jsx +0 -426
- package/source/react/scrollbar/scrollbar.tsx +0 -452
- package/source/react/slider/slider.jsx +0 -777
- package/source/react/slider/slider.tsx +0 -803
- package/source/react/sortable/sortable.jsx +0 -365
- package/source/react/sortable/sortable.tsx +0 -391
- package/source/react/sortpanel/sortpanel.jsx +0 -319
- package/source/react/sortpanel/sortpanel.tsx +0 -341
- package/source/react/splitter/splitter.jsx +0 -659
- package/source/react/splitter/splitter.tsx +0 -677
- package/source/react/splitter/splitterbar.jsx +0 -251
- package/source/react/splitter/splitterbar.tsx +0 -281
- package/source/react/splitter/splitteritem.jsx +0 -334
- package/source/react/splitter/splitteritem.tsx +0 -364
- package/source/react/switchbutton/switchbutton.jsx +0 -467
- package/source/react/switchbutton/switchbutton.tsx +0 -485
- package/source/react/table/table.jsx +0 -1688
- package/source/react/table/table.tsx +0 -1654
- package/source/react/tabs/tabitem.jsx +0 -265
- package/source/react/tabs/tabitem.tsx +0 -295
- package/source/react/tabs/tabitemsgroup.jsx +0 -217
- package/source/react/tabs/tabitemsgroup.tsx +0 -247
- package/source/react/tabs/tabs.jsx +0 -766
- package/source/react/tabs/tabs.tsx +0 -772
- package/source/react/tabswindow/tabswindow.jsx +0 -1437
- package/source/react/tabswindow/tabswindow.tsx +0 -1399
- package/source/react/tank/tank.jsx +0 -726
- package/source/react/tank/tank.tsx +0 -752
- package/source/react/textarea/textarea.jsx +0 -619
- package/source/react/textarea/textarea.tsx +0 -641
- package/source/react/textbox/listitem.jsx +0 -325
- package/source/react/textbox/listitem.tsx +0 -355
- package/source/react/textbox/listitemsgroup.jsx +0 -205
- package/source/react/textbox/listitemsgroup.tsx +0 -235
- package/source/react/textbox/textbox.jsx +0 -888
- package/source/react/textbox/textbox.tsx +0 -914
- package/source/react/threedchart/threedchart.jsx +0 -1182
- package/source/react/threedchart/threedchart.tsx +0 -1168
- package/source/react/timeinput/timeinput.jsx +0 -509
- package/source/react/timeinput/timeinput.tsx +0 -535
- package/source/react/timepicker/timepicker.jsx +0 -452
- package/source/react/timepicker/timepicker.tsx +0 -478
- package/source/react/toast/toast.jsx +0 -556
- package/source/react/toast/toast.tsx +0 -558
- package/source/react/tooltip/tooltip.jsx +0 -499
- package/source/react/tooltip/tooltip.tsx +0 -513
- package/source/react/tree/tree.jsx +0 -1222
- package/source/react/tree/tree.tsx +0 -1208
- package/source/react/tree/treeitem.jsx +0 -289
- package/source/react/tree/treeitem.tsx +0 -319
- package/source/react/tree/treeitemsgroup.jsx +0 -289
- package/source/react/tree/treeitemsgroup.tsx +0 -319
- package/source/react/validator/validator.jsx +0 -248
- package/source/react/validator/validator.tsx +0 -278
- package/source/react/waitwindow/waitwindow.jsx +0 -1437
- package/source/react/waitwindow/waitwindow.tsx +0 -1399
- package/source/react/window/window.jsx +0 -1421
- package/source/react/window/window.tsx +0 -1399
|
@@ -1,787 +0,0 @@
|
|
|
1
|
-
import { Calendar } from './../index';
|
|
2
|
-
import { Animation, CalendarMode, DayFormat, CalendarDisplayMode, CalendarDisplayModeView, MonthFormat, ViewLayout, LayoutPosition, CalendarSelectionMode, TooltipPosition, YearFormat, ElementRenderMode} from './../index';
|
|
3
|
-
import { Component, Directive, AfterViewInit, ElementRef, Input, OnInit, OnChanges, OnDestroy, SimpleChanges, forwardRef, ChangeDetectionStrategy, Output, EventEmitter } from '@angular/core';
|
|
4
|
-
import { BaseElement, Smart } from './smart.element';
|
|
5
|
-
export { Animation, CalendarMode, DayFormat, CalendarDisplayMode, CalendarDisplayModeView, MonthFormat, ViewLayout, LayoutPosition, CalendarSelectionMode, TooltipPosition, YearFormat, ElementRenderMode} from './../index';
|
|
6
|
-
export { Smart } from './smart.element';
|
|
7
|
-
export { Calendar } from './../index';
|
|
8
|
-
import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
const CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR: any = {
|
|
13
|
-
provide: NG_VALUE_ACCESSOR,
|
|
14
|
-
useExisting: forwardRef(() => CalendarComponent),
|
|
15
|
-
multi: true
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
@Directive({
|
|
19
|
-
exportAs: 'smart-calendar', selector: 'smart-calendar, [smart-calendar]',
|
|
20
|
-
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR]
|
|
21
|
-
|
|
22
|
-
})
|
|
23
|
-
|
|
24
|
-
export class CalendarComponent extends BaseElement implements OnInit, AfterViewInit, OnDestroy, OnChanges, ControlValueAccessor {
|
|
25
|
-
constructor(ref: ElementRef<Calendar>) {
|
|
26
|
-
super(ref);
|
|
27
|
-
this.nativeElement = ref.nativeElement as Calendar;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
private eventHandlers: any[] = [];
|
|
31
|
-
|
|
32
|
-
public declare nativeElement: Calendar;
|
|
33
|
-
/** @description Creates the component on demand.
|
|
34
|
-
* @param properties An optional object of properties, which will be added to the template binded ones.
|
|
35
|
-
*/
|
|
36
|
-
public createComponent(properties = {}): any {
|
|
37
|
-
this.nativeElement = <Calendar>document.createElement('smart-calendar');
|
|
38
|
-
for (let propertyName in properties) {
|
|
39
|
-
this.nativeElement[propertyName] = properties[propertyName];
|
|
40
|
-
}
|
|
41
|
-
return this.nativeElement;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* @description
|
|
45
|
-
* The registered callback function called when a change event occurs on the form elements.
|
|
46
|
-
*/
|
|
47
|
-
_onChange: (value: any) => void = () => {};
|
|
48
|
-
/**
|
|
49
|
-
* @description
|
|
50
|
-
* The registered callback function called when a blur event occurs on the form elements.
|
|
51
|
-
*/
|
|
52
|
-
_onTouched: () => any = () => {};
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
/** @description Sets or gets the animation mode. Animation is disabled when the property is set to 'none' */
|
|
56
|
-
@Input()
|
|
57
|
-
get animation(): Animation | string {
|
|
58
|
-
return this.nativeElement ? this.nativeElement.animation : undefined;
|
|
59
|
-
}
|
|
60
|
-
set animation(value: Animation | string) {
|
|
61
|
-
this.nativeElement ? this.nativeElement.animation = value : undefined;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
/** @description Applies new animation settings when it is enabled. Properties:startSpeed - Determines the initial speed of the animation.easeThreshold - Determines the point at which the animation starts to slow down - the "ease effect".step - Determines the step ( scrolling interval ) at which the animation will run. stepEaseSize - Coefficient that is used to calculated the new step once the threshold has been passed. resetThreshold - Determines the threshold for animation reset. When it's reached the animation will start over. */
|
|
65
|
-
@Input()
|
|
66
|
-
get animationSettings(): any {
|
|
67
|
-
return this.nativeElement ? this.nativeElement.animationSettings : undefined;
|
|
68
|
-
}
|
|
69
|
-
set animationSettings(value: any) {
|
|
70
|
-
this.nativeElement ? this.nativeElement.animationSettings = value : undefined;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
/** @description Determines the date controls inside the header of the Calendar. */
|
|
74
|
-
@Input()
|
|
75
|
-
get calendarMode(): CalendarMode | string {
|
|
76
|
-
return this.nativeElement ? this.nativeElement.calendarMode : undefined;
|
|
77
|
-
}
|
|
78
|
-
set calendarMode(value: CalendarMode | string) {
|
|
79
|
-
this.nativeElement ? this.nativeElement.calendarMode = value : undefined;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
/** @description Determines the format of the day names located above the days inside the calendar. */
|
|
83
|
-
@Input()
|
|
84
|
-
get dayNameFormat(): DayFormat | string {
|
|
85
|
-
return this.nativeElement ? this.nativeElement.dayNameFormat : undefined;
|
|
86
|
-
}
|
|
87
|
-
set dayNameFormat(value: DayFormat | string) {
|
|
88
|
-
this.nativeElement ? this.nativeElement.dayNameFormat = value : undefined;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
/** @description A callback that can be used to customize the format of the month name when calendarMode is set to 'default'. */
|
|
92
|
-
@Input()
|
|
93
|
-
get dateFormatFunction(): any {
|
|
94
|
-
return this.nativeElement ? this.nativeElement.dateFormatFunction : undefined;
|
|
95
|
-
}
|
|
96
|
-
set dateFormatFunction(value: any) {
|
|
97
|
-
this.nativeElement ? this.nativeElement.dateFormatFunction = value : undefined;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
/** @description Enables or disables the Calendar. */
|
|
101
|
-
@Input()
|
|
102
|
-
get disabled(): boolean {
|
|
103
|
-
return this.nativeElement ? this.nativeElement.disabled : undefined;
|
|
104
|
-
}
|
|
105
|
-
set disabled(value: boolean) {
|
|
106
|
-
this.nativeElement ? this.nativeElement.disabled = value : undefined;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
/** @description Disables auto navigation when the user clicks on a date that's not from the current month in view. */
|
|
110
|
-
@Input()
|
|
111
|
-
get disableAutoNavigation(): boolean {
|
|
112
|
-
return this.nativeElement ? this.nativeElement.disableAutoNavigation : undefined;
|
|
113
|
-
}
|
|
114
|
-
set disableAutoNavigation(value: boolean) {
|
|
115
|
-
this.nativeElement ? this.nativeElement.disableAutoNavigation = value : undefined;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
/** @description Determines the date view of the calendar when calendarMode is set to 'default' */
|
|
119
|
-
@Input()
|
|
120
|
-
get displayMode(): CalendarDisplayMode | string {
|
|
121
|
-
return this.nativeElement ? this.nativeElement.displayMode : undefined;
|
|
122
|
-
}
|
|
123
|
-
set displayMode(value: CalendarDisplayMode | string) {
|
|
124
|
-
this.nativeElement ? this.nativeElement.displayMode = value : undefined;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
/** @description Determines the type of the month/year view when calendarMode is set to Default. */
|
|
128
|
-
@Input()
|
|
129
|
-
get displayModeView(): CalendarDisplayModeView | string {
|
|
130
|
-
return this.nativeElement ? this.nativeElement.displayModeView : undefined;
|
|
131
|
-
}
|
|
132
|
-
set displayModeView(value: CalendarDisplayModeView | string) {
|
|
133
|
-
this.nativeElement ? this.nativeElement.displayModeView = value : undefined;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
/** @description Determines the height of the month's drop down inside the Calendar. */
|
|
137
|
-
@Input()
|
|
138
|
-
get dropDownHeight(): string | number {
|
|
139
|
-
return this.nativeElement ? this.nativeElement.dropDownHeight : undefined;
|
|
140
|
-
}
|
|
141
|
-
set dropDownHeight(value: string | number) {
|
|
142
|
-
this.nativeElement ? this.nativeElement.dropDownHeight = value : undefined;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
/** @description Determines the width of the month's drop down inside the Calendar. */
|
|
146
|
-
@Input()
|
|
147
|
-
get dropDownWidth(): string | number {
|
|
148
|
-
return this.nativeElement ? this.nativeElement.dropDownWidth : undefined;
|
|
149
|
-
}
|
|
150
|
-
set dropDownWidth(value: string | number) {
|
|
151
|
-
this.nativeElement ? this.nativeElement.dropDownWidth = value : undefined;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
/** @description Determines the first day of the week. From 0(Sunday) to 6(Saturday) */
|
|
155
|
-
@Input()
|
|
156
|
-
get firstDayOfWeek(): number {
|
|
157
|
-
return this.nativeElement ? this.nativeElement.firstDayOfWeek : undefined;
|
|
158
|
-
}
|
|
159
|
-
set firstDayOfWeek(value: number) {
|
|
160
|
-
this.nativeElement ? this.nativeElement.firstDayOfWeek = value : undefined;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
/** @description Sets a custom footer template. Accepts the id of an HTMLTemplateElement or a reference ot it. */
|
|
164
|
-
@Input()
|
|
165
|
-
get footerTemplate(): any {
|
|
166
|
-
return this.nativeElement ? this.nativeElement.footerTemplate : undefined;
|
|
167
|
-
}
|
|
168
|
-
set footerTemplate(value: any) {
|
|
169
|
-
this.nativeElement ? this.nativeElement.footerTemplate = value : undefined;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
/** @description Sets custom header template. Accepts the id of an HTMLTemplateElement or a reference ot it. */
|
|
173
|
-
@Input()
|
|
174
|
-
get headerTemplate(): any {
|
|
175
|
-
return this.nativeElement ? this.nativeElement.headerTemplate : undefined;
|
|
176
|
-
}
|
|
177
|
-
set headerTemplate(value: any) {
|
|
178
|
-
this.nativeElement ? this.nativeElement.headerTemplate = value : undefined;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
/** @description Hides the names of the weekdays. */
|
|
182
|
-
@Input()
|
|
183
|
-
get hideDayNames(): boolean {
|
|
184
|
-
return this.nativeElement ? this.nativeElement.hideDayNames : undefined;
|
|
185
|
-
}
|
|
186
|
-
set hideDayNames(value: boolean) {
|
|
187
|
-
this.nativeElement ? this.nativeElement.hideDayNames = value : undefined;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
/** @description Hides the dates from other months. */
|
|
191
|
-
@Input()
|
|
192
|
-
get hideOtherMonthDays(): boolean {
|
|
193
|
-
return this.nativeElement ? this.nativeElement.hideOtherMonthDays : undefined;
|
|
194
|
-
}
|
|
195
|
-
set hideOtherMonthDays(value: boolean) {
|
|
196
|
-
this.nativeElement ? this.nativeElement.hideOtherMonthDays = value : undefined;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
/** @description Hides the arrow of the tooltip. */
|
|
200
|
-
@Input()
|
|
201
|
-
get hideTooltipArrow(): boolean {
|
|
202
|
-
return this.nativeElement ? this.nativeElement.hideTooltipArrow : undefined;
|
|
203
|
-
}
|
|
204
|
-
set hideTooltipArrow(value: boolean) {
|
|
205
|
-
this.nativeElement ? this.nativeElement.hideTooltipArrow = value : undefined;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
/** @description Sets the dates that will be displayed as important. */
|
|
209
|
-
@Input()
|
|
210
|
-
get importantDates(): string[] | Date[] {
|
|
211
|
-
return this.nativeElement ? this.nativeElement.importantDates : undefined;
|
|
212
|
-
}
|
|
213
|
-
set importantDates(value: string[] | Date[]) {
|
|
214
|
-
this.nativeElement ? this.nativeElement.importantDates = value : undefined;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
/** @description Sets a template for the important dates. Accepts the id of an HTMLTemplate element inside the DOM of or a reference to it. */
|
|
218
|
-
@Input()
|
|
219
|
-
get importantDatesTemplate(): any {
|
|
220
|
-
return this.nativeElement ? this.nativeElement.importantDatesTemplate : undefined;
|
|
221
|
-
}
|
|
222
|
-
set importantDatesTemplate(value: any) {
|
|
223
|
-
this.nativeElement ? this.nativeElement.importantDatesTemplate = value : undefined;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
/** @description Determines the language of the Calendar. */
|
|
227
|
-
@Input()
|
|
228
|
-
get locale(): string {
|
|
229
|
-
return this.nativeElement ? this.nativeElement.locale : undefined;
|
|
230
|
-
}
|
|
231
|
-
set locale(value: string) {
|
|
232
|
-
this.nativeElement ? this.nativeElement.locale = value : undefined;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
/** @description Callback used to customize the format of the messages that are returned from the Localization Module. */
|
|
236
|
-
@Input()
|
|
237
|
-
get localizeFormatFunction(): any {
|
|
238
|
-
return this.nativeElement ? this.nativeElement.localizeFormatFunction : undefined;
|
|
239
|
-
}
|
|
240
|
-
set localizeFormatFunction(value: any) {
|
|
241
|
-
this.nativeElement ? this.nativeElement.localizeFormatFunction = value : undefined;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
/** @description Determines the max date for the Calendar. Accepts date objects and valid date string formats. */
|
|
245
|
-
@Input()
|
|
246
|
-
get max(): string | Date {
|
|
247
|
-
return this.nativeElement ? this.nativeElement.max : undefined;
|
|
248
|
-
}
|
|
249
|
-
set max(value: string | Date) {
|
|
250
|
-
this.nativeElement ? this.nativeElement.max = value : undefined;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
/** @description Sets or gets an object specifying strings used in the widget that can be localized. Used in conjunction with the property locale. */
|
|
254
|
-
@Input()
|
|
255
|
-
get messages(): any {
|
|
256
|
-
return this.nativeElement ? this.nativeElement.messages : undefined;
|
|
257
|
-
}
|
|
258
|
-
set messages(value: any) {
|
|
259
|
-
this.nativeElement ? this.nativeElement.messages = value : undefined;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
/** @description Determines the min date for the Calendar. Accepts date objects and valid date string formats. */
|
|
263
|
-
@Input()
|
|
264
|
-
get min(): string | Date {
|
|
265
|
-
return this.nativeElement ? this.nativeElement.min : undefined;
|
|
266
|
-
}
|
|
267
|
-
set min(value: string | Date) {
|
|
268
|
-
this.nativeElement ? this.nativeElement.min = value : undefined;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
/** @description Determines the number of months to be displayed inside the calendar. The maximum amount of months that can be shown is 12. By default only 1 month is shown. */
|
|
272
|
-
@Input()
|
|
273
|
-
get months(): number {
|
|
274
|
-
return this.nativeElement ? this.nativeElement.months : undefined;
|
|
275
|
-
}
|
|
276
|
-
set months(value: number) {
|
|
277
|
-
this.nativeElement ? this.nativeElement.months = value : undefined;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
/** @description Determines the format of the month names in the header when DisplayMode is set to Default or when Months property is greater than 1. */
|
|
281
|
-
@Input()
|
|
282
|
-
get monthNameFormat(): MonthFormat | string {
|
|
283
|
-
return this.nativeElement ? this.nativeElement.monthNameFormat : undefined;
|
|
284
|
-
}
|
|
285
|
-
set monthNameFormat(value: MonthFormat | string) {
|
|
286
|
-
this.nativeElement ? this.nativeElement.monthNameFormat = value : undefined;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
/** @description Sets or gets the name attribute for the element. Name is used when submiting HTML forms. */
|
|
290
|
-
@Input()
|
|
291
|
-
get name(): string {
|
|
292
|
-
return this.nativeElement ? this.nativeElement.name : undefined;
|
|
293
|
-
}
|
|
294
|
-
set name(value: string) {
|
|
295
|
-
this.nativeElement ? this.nativeElement.name = value : undefined;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
/** @description If the element is readonly, users cannot interact with it. */
|
|
299
|
-
@Input()
|
|
300
|
-
get readonly(): boolean {
|
|
301
|
-
return this.nativeElement ? this.nativeElement.readonly : undefined;
|
|
302
|
-
}
|
|
303
|
-
set readonly(value: boolean) {
|
|
304
|
-
this.nativeElement ? this.nativeElement.readonly = value : undefined;
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
/** @description Sets restricted dates. Restricted dates are dates that cannot be selected/hovered/focused. They are visualy styled as restricted. The dates can be javascript date objects or strings representing a valid date. */
|
|
308
|
-
@Input()
|
|
309
|
-
get restrictedDates(): string[] | Date[] {
|
|
310
|
-
return this.nativeElement ? this.nativeElement.restrictedDates : undefined;
|
|
311
|
-
}
|
|
312
|
-
set restrictedDates(value: string[] | Date[]) {
|
|
313
|
-
this.nativeElement ? this.nativeElement.restrictedDates = value : undefined;
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
/** @description Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts. */
|
|
317
|
-
@Input()
|
|
318
|
-
get rightToLeft(): boolean {
|
|
319
|
-
return this.nativeElement ? this.nativeElement.rightToLeft : undefined;
|
|
320
|
-
}
|
|
321
|
-
set rightToLeft(value: boolean) {
|
|
322
|
-
this.nativeElement ? this.nativeElement.rightToLeft = value : undefined;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
/** @description Determines the direction of the navigation buttons located in the header and the animation. */
|
|
326
|
-
@Input()
|
|
327
|
-
get scrollButtonsNavigationMode(): ViewLayout | string {
|
|
328
|
-
return this.nativeElement ? this.nativeElement.scrollButtonsNavigationMode : undefined;
|
|
329
|
-
}
|
|
330
|
-
set scrollButtonsNavigationMode(value: ViewLayout | string) {
|
|
331
|
-
this.nativeElement ? this.nativeElement.scrollButtonsNavigationMode = value : undefined;
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
/** @description Determines the position of the navigation buttons located inside the header. */
|
|
335
|
-
@Input()
|
|
336
|
-
get scrollButtonsPosition(): LayoutPosition | string {
|
|
337
|
-
return this.nativeElement ? this.nativeElement.scrollButtonsPosition : undefined;
|
|
338
|
-
}
|
|
339
|
-
set scrollButtonsPosition(value: LayoutPosition | string) {
|
|
340
|
-
this.nativeElement ? this.nativeElement.scrollButtonsPosition = value : undefined;
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
/** @description Sets the dates that will be selected. Selected dates are styled differently than the rest. The dates can be Date objects or strings in a valid date format. */
|
|
344
|
-
@Input()
|
|
345
|
-
get selectedDates(): string[] | Date[] {
|
|
346
|
-
return this.nativeElement ? this.nativeElement.selectedDates : undefined;
|
|
347
|
-
}
|
|
348
|
-
set selectedDates(value: string[] | Date[]) {
|
|
349
|
-
this.nativeElement ? this.nativeElement.selectedDates = value : undefined;
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
/** @description Determines the date selection mode. */
|
|
353
|
-
@Input()
|
|
354
|
-
get selectionMode(): CalendarSelectionMode | string {
|
|
355
|
-
return this.nativeElement ? this.nativeElement.selectionMode : undefined;
|
|
356
|
-
}
|
|
357
|
-
set selectionMode(value: CalendarSelectionMode | string) {
|
|
358
|
-
this.nativeElement ? this.nativeElement.selectionMode = value : undefined;
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
/** @description Sets the delay between clicks of the date navigation buttons located in the header of the Calendar. */
|
|
362
|
-
@Input()
|
|
363
|
-
get spinButtonsDelay(): number {
|
|
364
|
-
return this.nativeElement ? this.nativeElement.spinButtonsDelay : undefined;
|
|
365
|
-
}
|
|
366
|
-
set spinButtonsDelay(value: number) {
|
|
367
|
-
this.nativeElement ? this.nativeElement.spinButtonsDelay = value : undefined;
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
/** @description Determines the initial delay before the action of the date navigation buttons located in the header of the Calendar. */
|
|
371
|
-
@Input()
|
|
372
|
-
get spinButtonsInitialDelay(): number {
|
|
373
|
-
return this.nativeElement ? this.nativeElement.spinButtonsInitialDelay : undefined;
|
|
374
|
-
}
|
|
375
|
-
set spinButtonsInitialDelay(value: number) {
|
|
376
|
-
this.nativeElement ? this.nativeElement.spinButtonsInitialDelay = value : undefined;
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
/** @description Determines the theme. Theme defines the look of the element */
|
|
380
|
-
@Input()
|
|
381
|
-
get theme(): string {
|
|
382
|
-
return this.nativeElement ? this.nativeElement.theme : undefined;
|
|
383
|
-
}
|
|
384
|
-
set theme(value: string) {
|
|
385
|
-
this.nativeElement ? this.nativeElement.theme = value : undefined;
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
/** @description Sets a template for the title section of the Calendar. Accepts the id of an HTMLTemplate element inside the DOM of or a reference it. */
|
|
389
|
-
@Input()
|
|
390
|
-
get titleTemplate(): any {
|
|
391
|
-
return this.nativeElement ? this.nativeElement.titleTemplate : undefined;
|
|
392
|
-
}
|
|
393
|
-
set titleTemplate(value: any) {
|
|
394
|
-
this.nativeElement ? this.nativeElement.titleTemplate = value : undefined;
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
/** @description Enables/Disabled the tooltip for the important dates. If enabled when an important date is hovered a tooltip is displayed. */
|
|
398
|
-
@Input()
|
|
399
|
-
get tooltip(): boolean {
|
|
400
|
-
return this.nativeElement ? this.nativeElement.tooltip : undefined;
|
|
401
|
-
}
|
|
402
|
-
set tooltip(value: boolean) {
|
|
403
|
-
this.nativeElement ? this.nativeElement.tooltip = value : undefined;
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
/** @description Show/Hide the arrow of the the tooltip for the important dates. By default the arrow is visible. */
|
|
407
|
-
@Input()
|
|
408
|
-
get tooltipArrow(): boolean {
|
|
409
|
-
return this.nativeElement ? this.nativeElement.tooltipArrow : undefined;
|
|
410
|
-
}
|
|
411
|
-
set tooltipArrow(value: boolean) {
|
|
412
|
-
this.nativeElement ? this.nativeElement.tooltipArrow = value : undefined;
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
/** @description Sets the delay of the tooltip before it appears. */
|
|
416
|
-
@Input()
|
|
417
|
-
get tooltipDelay(): number {
|
|
418
|
-
return this.nativeElement ? this.nativeElement.tooltipDelay : undefined;
|
|
419
|
-
}
|
|
420
|
-
set tooltipDelay(value: number) {
|
|
421
|
-
this.nativeElement ? this.nativeElement.tooltipDelay = value : undefined;
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
/** @description Set's a custom offset to the tooltip's position. Accepts an array of two numbers: the left coordinate and the top coordinate. */
|
|
425
|
-
@Input()
|
|
426
|
-
get tooltipOffset(): number[][] {
|
|
427
|
-
return this.nativeElement ? this.nativeElement.tooltipOffset : undefined;
|
|
428
|
-
}
|
|
429
|
-
set tooltipOffset(value: number[][]) {
|
|
430
|
-
this.nativeElement ? this.nativeElement.tooltipOffset = value : undefined;
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
/** @description Sets the position of the tooltip. */
|
|
434
|
-
@Input()
|
|
435
|
-
get tooltipPosition(): TooltipPosition | string {
|
|
436
|
-
return this.nativeElement ? this.nativeElement.tooltipPosition : undefined;
|
|
437
|
-
}
|
|
438
|
-
set tooltipPosition(value: TooltipPosition | string) {
|
|
439
|
-
this.nativeElement ? this.nativeElement.tooltipPosition = value : undefined;
|
|
440
|
-
}
|
|
441
|
-
|
|
442
|
-
/** @description Sets a template for the tooltip's content. Accepts the id of an HTMLTEmplate element inside the DOM or it's reference. */
|
|
443
|
-
@Input()
|
|
444
|
-
get tooltipTemplate(): any {
|
|
445
|
-
return this.nativeElement ? this.nativeElement.tooltipTemplate : undefined;
|
|
446
|
-
}
|
|
447
|
-
set tooltipTemplate(value: any) {
|
|
448
|
-
this.nativeElement ? this.nativeElement.tooltipTemplate = value : undefined;
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
/** @description If is set to true, the element cannot be focused. */
|
|
452
|
-
@Input()
|
|
453
|
-
get unfocusable(): boolean {
|
|
454
|
-
return this.nativeElement ? this.nativeElement.unfocusable : undefined;
|
|
455
|
-
}
|
|
456
|
-
set unfocusable(value: boolean) {
|
|
457
|
-
this.nativeElement ? this.nativeElement.unfocusable = value : undefined;
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
/** @description Determines the orientation of the Calendar. */
|
|
461
|
-
@Input()
|
|
462
|
-
get view(): ViewLayout | string {
|
|
463
|
-
return this.nativeElement ? this.nativeElement.view : undefined;
|
|
464
|
-
}
|
|
465
|
-
set view(value: ViewLayout | string) {
|
|
466
|
-
this.nativeElement ? this.nativeElement.view = value : undefined;
|
|
467
|
-
}
|
|
468
|
-
|
|
469
|
-
/** @description Determines the visible sections of the Calendar. The view sections are : title, header, footer. Multiple sections can be applied at the same time. By default only the 'header' section is visible. */
|
|
470
|
-
@Input()
|
|
471
|
-
get viewSections(): string[] {
|
|
472
|
-
return this.nativeElement ? this.nativeElement.viewSections : undefined;
|
|
473
|
-
}
|
|
474
|
-
set viewSections(value: string[]) {
|
|
475
|
-
this.nativeElement ? this.nativeElement.viewSections = value : undefined;
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
/** @description Enables/Disabled week numbering. If enabled week numbers are displayed infront of each week inside the Calendar. */
|
|
479
|
-
@Input()
|
|
480
|
-
get weekNumbers(): boolean {
|
|
481
|
-
return this.nativeElement ? this.nativeElement.weekNumbers : undefined;
|
|
482
|
-
}
|
|
483
|
-
set weekNumbers(value: boolean) {
|
|
484
|
-
this.nativeElement ? this.nativeElement.weekNumbers = value : undefined;
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
/** @description Determines the number of visible weeks. The value of the property ranges from 1 to 6. Where 1 is one week and 6 is a full month ( 6 weeks ). */
|
|
488
|
-
@Input()
|
|
489
|
-
get weeks(): number {
|
|
490
|
-
return this.nativeElement ? this.nativeElement.weeks : undefined;
|
|
491
|
-
}
|
|
492
|
-
set weeks(value: number) {
|
|
493
|
-
this.nativeElement ? this.nativeElement.weeks = value : undefined;
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
/** @description Determines the year format in the header when DisplayMode is set to Default or when Months property is greater than 1. */
|
|
497
|
-
@Input()
|
|
498
|
-
get yearFormat(): YearFormat | string {
|
|
499
|
-
return this.nativeElement ? this.nativeElement.yearFormat : undefined;
|
|
500
|
-
}
|
|
501
|
-
set yearFormat(value: YearFormat | string) {
|
|
502
|
-
this.nativeElement ? this.nativeElement.yearFormat = value : undefined;
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
/** @description This event is triggered when a new date has been selected/unselected.
|
|
506
|
-
* @param event. The custom event. Custom event was created with: event.detail( value)
|
|
507
|
-
* value - An array of all currently selected dates.
|
|
508
|
-
*/
|
|
509
|
-
@Output() onChange: EventEmitter<CustomEvent> = new EventEmitter();
|
|
510
|
-
|
|
511
|
-
/** @description This event is triggered when the displayMode is about to change. This event allows to cancel the operation by calling event.preventDefault() in the event handler function.
|
|
512
|
-
* @param event. The custom event. Custom event was created with: event.detail( oldDisplayMode, newDisplayMode)
|
|
513
|
-
* oldDisplayMode - The previous display mode.
|
|
514
|
-
* newDisplayMode - The new display mode.
|
|
515
|
-
*/
|
|
516
|
-
@Output() onDisplayModeChanging: EventEmitter<CustomEvent> = new EventEmitter();
|
|
517
|
-
|
|
518
|
-
/** @description This event is triggered when the display mode has changed.
|
|
519
|
-
* @param event. The custom event. */
|
|
520
|
-
@Output() onDisplayModeChange: EventEmitter<CustomEvent> = new EventEmitter();
|
|
521
|
-
|
|
522
|
-
/** @description This event is triggered when the view is changing. This navigation can be cancelled by using the preventDefault method.
|
|
523
|
-
* @param event. The custom event. Custom event was created with: event.detail( value, type)
|
|
524
|
-
* value - The view's date.
|
|
525
|
-
* type - The view type - 'month', 'decade' or 'year'.
|
|
526
|
-
*/
|
|
527
|
-
@Output() onNavigationChanging: EventEmitter<CustomEvent> = new EventEmitter();
|
|
528
|
-
|
|
529
|
-
/** @description This event is triggered when the view is changed.
|
|
530
|
-
* @param event. The custom event. Custom event was created with: event.detail( value, type)
|
|
531
|
-
* value - The view's date.
|
|
532
|
-
* type - The view type - 'month', 'decade' or 'year'.
|
|
533
|
-
*/
|
|
534
|
-
@Output() onNavigationChange: EventEmitter<CustomEvent> = new EventEmitter();
|
|
535
|
-
|
|
536
|
-
/** @description This event is triggered when the tooltip for the important date is opened.
|
|
537
|
-
* @param event. The custom event. Custom event was created with: event.detail( target, value)
|
|
538
|
-
* target - The event target - tooltip.
|
|
539
|
-
* value - The important date of the hovered cell.
|
|
540
|
-
*/
|
|
541
|
-
@Output() onOpen: EventEmitter<CustomEvent> = new EventEmitter();
|
|
542
|
-
|
|
543
|
-
/** @description This event is triggered when the tooltip for the important date is closed.
|
|
544
|
-
* @param event. The custom event. Custom event was created with: event.detail( target, value)
|
|
545
|
-
* target - The event target - tooltip.
|
|
546
|
-
* value - The important date of the hovered cell.
|
|
547
|
-
*/
|
|
548
|
-
@Output() onClose: EventEmitter<CustomEvent> = new EventEmitter();
|
|
549
|
-
|
|
550
|
-
/** @description Clears the selection. Removes all seleceted dates.
|
|
551
|
-
*/
|
|
552
|
-
public clearSelection(): void {
|
|
553
|
-
if (this.nativeElement.isRendered) {
|
|
554
|
-
this.nativeElement.clearSelection();
|
|
555
|
-
}
|
|
556
|
-
else
|
|
557
|
-
{
|
|
558
|
-
this.nativeElement.whenRendered(() => {
|
|
559
|
-
this.nativeElement.clearSelection();
|
|
560
|
-
});
|
|
561
|
-
}
|
|
562
|
-
}
|
|
563
|
-
|
|
564
|
-
/** @description Navigates forwards/backwards depending on the argument.
|
|
565
|
-
* @param {number | Date | string} step. The argument can be the following: <ul><li> number - representing the number of months to scroll. Can be negavtive. If negative it will scroll backwards.</li><li> Date - a date object representing the Date to navigate to.</li><li> string - a string representing a valid Date, e.g. "2020-10-1" </li></ul>
|
|
566
|
-
* @returns {boolean}
|
|
567
|
-
*/
|
|
568
|
-
public async navigate(step): Promise<any> {
|
|
569
|
-
const getResultOnRender = () => {
|
|
570
|
-
return new Promise(resolve => {
|
|
571
|
-
this.nativeElement.whenRendered(() => {
|
|
572
|
-
const result = this.nativeElement.navigate(step);
|
|
573
|
-
resolve(result)
|
|
574
|
-
});
|
|
575
|
-
});
|
|
576
|
-
};
|
|
577
|
-
const result = await getResultOnRender();
|
|
578
|
-
|
|
579
|
-
return result;
|
|
580
|
-
}
|
|
581
|
-
|
|
582
|
-
/** @description Selects or Unselects a date.
|
|
583
|
-
* @param {Date | string} date. The date to be selected or unselected. The date can be a Date object or a string in valid date format.
|
|
584
|
-
*/
|
|
585
|
-
public select(date: Date | string): void {
|
|
586
|
-
if (this.nativeElement.isRendered) {
|
|
587
|
-
this.nativeElement.select(date);
|
|
588
|
-
}
|
|
589
|
-
else
|
|
590
|
-
{
|
|
591
|
-
this.nativeElement.whenRendered(() => {
|
|
592
|
-
this.nativeElement.select(date);
|
|
593
|
-
});
|
|
594
|
-
}
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
/** @description Selects today's date.
|
|
598
|
-
* @returns {Date}
|
|
599
|
-
*/
|
|
600
|
-
public async today(): Promise<any> {
|
|
601
|
-
const getResultOnRender = () => {
|
|
602
|
-
return new Promise(resolve => {
|
|
603
|
-
this.nativeElement.whenRendered(() => {
|
|
604
|
-
const result = this.nativeElement.today();
|
|
605
|
-
resolve(result)
|
|
606
|
-
});
|
|
607
|
-
});
|
|
608
|
-
};
|
|
609
|
-
const result = await getResultOnRender();
|
|
610
|
-
|
|
611
|
-
return result;
|
|
612
|
-
}
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
get isRendered(): boolean {
|
|
616
|
-
return this.nativeElement ? this.nativeElement.isRendered : false;
|
|
617
|
-
}
|
|
618
|
-
|
|
619
|
-
ngOnInit() {
|
|
620
|
-
}
|
|
621
|
-
|
|
622
|
-
ngAfterViewInit() {
|
|
623
|
-
const that = this;
|
|
624
|
-
|
|
625
|
-
that.onCreate.emit(that.nativeElement);
|
|
626
|
-
|
|
627
|
-
Smart.Render();
|
|
628
|
-
|
|
629
|
-
this.nativeElement.classList.add('smart-angular');
|
|
630
|
-
|
|
631
|
-
this.nativeElement.whenRendered(() => { that.onReady.emit(that.nativeElement); });
|
|
632
|
-
this.listen();
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
ngOnDestroy() {
|
|
636
|
-
this.unlisten();
|
|
637
|
-
}
|
|
638
|
-
|
|
639
|
-
_initialChange = true;
|
|
640
|
-
|
|
641
|
-
get ngValue(): any {
|
|
642
|
-
if (!this.nativeElement) {
|
|
643
|
-
return null;
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
if (this.selectedDates && this.selectedDates.length > 0) {
|
|
647
|
-
const value = this.nativeElement.selectedDates.length === 1 ? this.nativeElement.selectedDates[0] : this.nativeElement.selectedDates;
|
|
648
|
-
return value;
|
|
649
|
-
}
|
|
650
|
-
return null;
|
|
651
|
-
}
|
|
652
|
-
|
|
653
|
-
set ngValue(value: any) {
|
|
654
|
-
if (this.nativeElement) {
|
|
655
|
-
this.writeValue(value);
|
|
656
|
-
}
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
writeValue(value: any): void {
|
|
660
|
-
const that = this;
|
|
661
|
-
const normalizedValue = value == null ? '' : value;
|
|
662
|
-
|
|
663
|
-
that.nativeElement.whenRendered(() => {
|
|
664
|
-
that.nativeElement.isInitialized = that._initialChange ? false : true;
|
|
665
|
-
that.clearSelection();
|
|
666
|
-
if (Array.isArray(normalizedValue)) {
|
|
667
|
-
value.forEach((currentValue: any) => this.select(currentValue));
|
|
668
|
-
}
|
|
669
|
-
else {
|
|
670
|
-
that.select(normalizedValue);
|
|
671
|
-
}
|
|
672
|
-
that.nativeElement.isInitialized = true;
|
|
673
|
-
if (that._initialChange === false) {
|
|
674
|
-
if (that.selectedDates && that.selectedDates.length > 1) {
|
|
675
|
-
that._onChange(that.selectedDates);
|
|
676
|
-
} else {
|
|
677
|
-
that._onChange((that.selectedDates && that.selectedDates.length > 0) ? that.selectedDates[0] : null);;
|
|
678
|
-
}
|
|
679
|
-
}
|
|
680
|
-
});
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
registerOnChange(fn: any): void {
|
|
684
|
-
this._onChange = fn;
|
|
685
|
-
}
|
|
686
|
-
|
|
687
|
-
registerOnTouched(fn: any): void {
|
|
688
|
-
this._onTouched = fn;
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
ngOnChanges(changes: SimpleChanges) {
|
|
692
|
-
if (this.nativeElement && this.nativeElement.isRendered) {
|
|
693
|
-
for (const propName in changes) {
|
|
694
|
-
if (changes.hasOwnProperty(propName)) {
|
|
695
|
-
this.nativeElement[propName] = changes[propName].currentValue;
|
|
696
|
-
}
|
|
697
|
-
}
|
|
698
|
-
}
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
/** @description Add event listeners. */
|
|
702
|
-
private listen(): void {
|
|
703
|
-
const that = this;
|
|
704
|
-
that.eventHandlers['changeHandler'] = (event: CustomEvent) => { that.onChange.emit(event); }
|
|
705
|
-
that.nativeElement.addEventListener('change', that.eventHandlers['changeHandler']);
|
|
706
|
-
|
|
707
|
-
that.eventHandlers['displayModeChangingHandler'] = (event: CustomEvent) => { that.onDisplayModeChanging.emit(event); }
|
|
708
|
-
that.nativeElement.addEventListener('displayModeChanging', that.eventHandlers['displayModeChangingHandler']);
|
|
709
|
-
|
|
710
|
-
that.eventHandlers['displayModeChangeHandler'] = (event: CustomEvent) => { that.onDisplayModeChange.emit(event); }
|
|
711
|
-
that.nativeElement.addEventListener('displayModeChange', that.eventHandlers['displayModeChangeHandler']);
|
|
712
|
-
|
|
713
|
-
that.eventHandlers['navigationChangingHandler'] = (event: CustomEvent) => { that.onNavigationChanging.emit(event); }
|
|
714
|
-
that.nativeElement.addEventListener('navigationChanging', that.eventHandlers['navigationChangingHandler']);
|
|
715
|
-
|
|
716
|
-
that.eventHandlers['navigationChangeHandler'] = (event: CustomEvent) => { that.onNavigationChange.emit(event); }
|
|
717
|
-
that.nativeElement.addEventListener('navigationChange', that.eventHandlers['navigationChangeHandler']);
|
|
718
|
-
|
|
719
|
-
that.eventHandlers['openHandler'] = (event: CustomEvent) => { that.onOpen.emit(event); }
|
|
720
|
-
that.nativeElement.addEventListener('open', that.eventHandlers['openHandler']);
|
|
721
|
-
|
|
722
|
-
that.eventHandlers['closeHandler'] = (event: CustomEvent) => { that.onClose.emit(event); }
|
|
723
|
-
that.nativeElement.addEventListener('close', that.eventHandlers['closeHandler']);
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
that.eventHandlers['changeModelHandler'] = (event: Event) => {
|
|
727
|
-
that._initialChange = false;
|
|
728
|
-
that._onChange(that.nativeElement.selectedDates.length > 0 ? (that.nativeElement.selectedDates.length > 1 ? that.nativeElement.selectedDates : that.nativeElement.selectedDates[0]) : null);
|
|
729
|
-
};
|
|
730
|
-
that.eventHandlers['blurModelHandler'] = (event: Event) => {
|
|
731
|
-
that._onTouched();
|
|
732
|
-
};
|
|
733
|
-
that.nativeElement.whenRendered(() => {
|
|
734
|
-
if (that.nativeElement.querySelector('input')) {
|
|
735
|
-
that.eventHandlers['keyupModelHandler'] = (event) => {
|
|
736
|
-
setTimeout(() => { that.eventHandlers['changeModelHandler'](event); }, 50);
|
|
737
|
-
};
|
|
738
|
-
|
|
739
|
-
that.nativeElement.querySelector('input').addEventListener('keyup', that.eventHandlers['keyupModelHandler']);
|
|
740
|
-
}
|
|
741
|
-
});
|
|
742
|
-
that.nativeElement.addEventListener('change', that.eventHandlers['changeModelHandler']);
|
|
743
|
-
that.nativeElement.addEventListener('blur', that.eventHandlers['blurModelHandler']);
|
|
744
|
-
}
|
|
745
|
-
|
|
746
|
-
/** @description Remove event listeners. */
|
|
747
|
-
private unlisten(): void {
|
|
748
|
-
const that = this;
|
|
749
|
-
if (that.eventHandlers['changeHandler']) {
|
|
750
|
-
that.nativeElement.removeEventListener('change', that.eventHandlers['changeHandler']);
|
|
751
|
-
}
|
|
752
|
-
|
|
753
|
-
if (that.eventHandlers['displayModeChangingHandler']) {
|
|
754
|
-
that.nativeElement.removeEventListener('displayModeChanging', that.eventHandlers['displayModeChangingHandler']);
|
|
755
|
-
}
|
|
756
|
-
|
|
757
|
-
if (that.eventHandlers['displayModeChangeHandler']) {
|
|
758
|
-
that.nativeElement.removeEventListener('displayModeChange', that.eventHandlers['displayModeChangeHandler']);
|
|
759
|
-
}
|
|
760
|
-
|
|
761
|
-
if (that.eventHandlers['navigationChangingHandler']) {
|
|
762
|
-
that.nativeElement.removeEventListener('navigationChanging', that.eventHandlers['navigationChangingHandler']);
|
|
763
|
-
}
|
|
764
|
-
|
|
765
|
-
if (that.eventHandlers['navigationChangeHandler']) {
|
|
766
|
-
that.nativeElement.removeEventListener('navigationChange', that.eventHandlers['navigationChangeHandler']);
|
|
767
|
-
}
|
|
768
|
-
|
|
769
|
-
if (that.eventHandlers['openHandler']) {
|
|
770
|
-
that.nativeElement.removeEventListener('open', that.eventHandlers['openHandler']);
|
|
771
|
-
}
|
|
772
|
-
|
|
773
|
-
if (that.eventHandlers['closeHandler']) {
|
|
774
|
-
that.nativeElement.removeEventListener('close', that.eventHandlers['closeHandler']);
|
|
775
|
-
}
|
|
776
|
-
|
|
777
|
-
if (that.eventHandlers['changeModelHandler']) {
|
|
778
|
-
that.nativeElement.removeEventListener('change', that.eventHandlers['changeModelHandler']);
|
|
779
|
-
if (that.nativeElement.querySelector('input')) {
|
|
780
|
-
that.nativeElement.querySelector('input').removeEventListener('keyup', that.eventHandlers['keyupModelHandler']);
|
|
781
|
-
}
|
|
782
|
-
}
|
|
783
|
-
if (that.eventHandlers['blurModelHandler']) {
|
|
784
|
-
that.nativeElement.removeEventListener('blur', that.eventHandlers['blurModelHandler']);
|
|
785
|
-
}
|
|
786
|
-
}
|
|
787
|
-
}
|