igniteui-webcomponents-inputs 1.3.3 → 1.4.0
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/bundles/igniteui-webcomponents-inputs.umd.js +5252 -5006
- package/bundles/igniteui-webcomponents-inputs.umd.js.map +1 -1
- package/bundles/igniteui-webcomponents-inputs.umd.min.js +1 -1
- package/bundles/igniteui-webcomponents-inputs.umd.min.js.map +1 -1
- package/esm2015/lib/ButtonGroupView_combined.js +138 -138
- package/esm2015/lib/ButtonGroupView_combined.js.map +1 -1
- package/esm2015/lib/ButtonView_combined.js +404 -404
- package/esm2015/lib/ButtonView_combined.js.map +1 -1
- package/esm2015/lib/CalendarView_combined.js +20 -18
- package/esm2015/lib/CalendarView_combined.js.map +1 -1
- package/esm2015/lib/CheckboxView_combined.js +83 -77
- package/esm2015/lib/CheckboxView_combined.js.map +1 -1
- package/esm2015/lib/DatePickerView_combined.js +388 -357
- package/esm2015/lib/DatePickerView_combined.js.map +1 -1
- package/esm2015/lib/IconClickedEventArgs.js +17 -0
- package/esm2015/lib/IconClickedEventArgs.js.map +1 -0
- package/esm2015/lib/IconView_combined.js +373 -324
- package/esm2015/lib/IconView_combined.js.map +1 -1
- package/esm2015/lib/IconVisualModelExport.js +27 -18
- package/esm2015/lib/IconVisualModelExport.js.map +1 -1
- package/esm2015/lib/InputGroupView_combined.js +1589 -1528
- package/esm2015/lib/InputGroupView_combined.js.map +1 -1
- package/esm2015/lib/RippleView_combined.js +11 -11
- package/esm2015/lib/RippleView_combined.js.map +1 -1
- package/esm2015/lib/{Button.js → XButton.js} +2 -2
- package/esm2015/lib/XButton.js.map +1 -0
- package/esm2015/lib/{ButtonGroup.js → XButtonGroup.js} +2 -2
- package/esm2015/lib/XButtonGroup.js.map +1 -0
- package/esm2015/lib/{ButtonGroupButtonCollection.js → XButtonGroupButtonCollection.js} +7 -7
- package/esm2015/lib/XButtonGroupButtonCollection.js.map +1 -0
- package/esm2015/lib/XCheckbox.js +8 -0
- package/esm2015/lib/XCheckbox.js.map +1 -0
- package/{esm5/lib/Icon.js → esm2015/lib/XIcon.js} +2 -2
- package/esm2015/lib/XIcon.js.map +1 -0
- package/esm2015/lib/XInput.js +8 -0
- package/esm2015/lib/XInput.js.map +1 -0
- package/esm2015/lib/XInputGroup.js +8 -0
- package/esm2015/lib/XInputGroup.js.map +1 -0
- package/esm2015/lib/XInputGroupInputCollection.js +8 -0
- package/esm2015/lib/XInputGroupInputCollection.js.map +1 -0
- package/esm2015/lib/XInputGroupItem.js +8 -0
- package/esm2015/lib/XInputGroupItem.js.map +1 -0
- package/esm2015/lib/XLabel.js +8 -0
- package/esm2015/lib/XLabel.js.map +1 -0
- package/esm2015/lib/{Checkbox.js → XPrefix.js} +2 -2
- package/esm2015/lib/XPrefix.js.map +1 -0
- package/esm2015/lib/{Label.js → XRipple.js} +2 -2
- package/esm2015/lib/XRipple.js.map +1 -0
- package/esm2015/lib/XSuffix.js +8 -0
- package/esm2015/lib/XSuffix.js.map +1 -0
- package/esm2015/lib/igc-calendar-module.js +4 -4
- package/esm2015/lib/igc-calendar-module.js.map +1 -1
- package/esm2015/lib/igc-date-picker-component.js +48 -41
- package/esm2015/lib/igc-date-picker-component.js.map +1 -1
- package/esm2015/lib/igc-date-picker-module.js +6 -6
- package/esm2015/lib/igc-date-picker-module.js.map +1 -1
- package/esm2015/lib/{igc-button-component.js → igc-x-button-component.js} +19 -19
- package/esm2015/lib/igc-x-button-component.js.map +1 -0
- package/esm2015/lib/{igc-button-group-button-collection.js → igc-x-button-group-button-collection.js} +10 -10
- package/esm2015/lib/igc-x-button-group-button-collection.js.map +1 -0
- package/esm2015/lib/{igc-button-group-component.js → igc-x-button-group-component.js} +24 -24
- package/esm2015/lib/igc-x-button-group-component.js.map +1 -0
- package/esm2015/lib/{igc-button-group-module.js → igc-x-button-group-module.js} +10 -10
- package/esm2015/lib/igc-x-button-group-module.js.map +1 -0
- package/esm2015/lib/{igc-button-module.js → igc-x-button-module.js} +10 -10
- package/esm2015/lib/igc-x-button-module.js.map +1 -0
- package/esm2015/lib/{igc-checkbox-component.js → igc-x-checkbox-component.js} +19 -19
- package/esm2015/lib/igc-x-checkbox-component.js.map +1 -0
- package/esm2015/lib/{igc-checkbox-module.js → igc-x-checkbox-module.js} +10 -10
- package/esm2015/lib/igc-x-checkbox-module.js.map +1 -0
- package/esm2015/lib/{igc-icon-component.js → igc-x-icon-component.js} +84 -77
- package/esm2015/lib/igc-x-icon-component.js.map +1 -0
- package/esm2015/lib/{igc-input-module.js → igc-x-icon-module.js} +8 -8
- package/esm2015/lib/igc-x-icon-module.js.map +1 -0
- package/esm2015/lib/{igc-input-component.js → igc-x-input-component.js} +72 -67
- package/esm2015/lib/igc-x-input-component.js.map +1 -0
- package/esm2015/lib/{igc-input-group-component.js → igc-x-input-group-component.js} +367 -366
- package/esm2015/lib/igc-x-input-group-component.js.map +1 -0
- package/esm2015/lib/{igc-input-group-input-collection.js → igc-x-input-group-input-collection.js} +10 -10
- package/esm2015/lib/igc-x-input-group-input-collection.js.map +1 -0
- package/esm2015/lib/{igc-input-group-item-component.js → igc-x-input-group-item-component.js} +10 -10
- package/esm2015/lib/igc-x-input-group-item-component.js.map +1 -0
- package/esm2015/lib/igc-x-input-group-module.js +24 -0
- package/esm2015/lib/igc-x-input-group-module.js.map +1 -0
- package/esm2015/lib/{igc-prefix-module.js → igc-x-input-module.js} +8 -8
- package/esm2015/lib/igc-x-input-module.js.map +1 -0
- package/esm2015/lib/{igc-label-component.js → igc-x-label-component.js} +68 -56
- package/esm2015/lib/igc-x-label-component.js.map +1 -0
- package/esm2015/lib/{igc-label-module.js → igc-x-label-module.js} +8 -8
- package/esm2015/lib/igc-x-label-module.js.map +1 -0
- package/esm2015/lib/{igc-prefix-component.js → igc-x-prefix-component.js} +19 -19
- package/esm2015/lib/igc-x-prefix-component.js.map +1 -0
- package/esm2015/lib/{igc-icon-module.js → igc-x-prefix-module.js} +8 -8
- package/esm2015/lib/igc-x-prefix-module.js.map +1 -0
- package/esm2015/lib/{igc-ripple-component.js → igc-x-ripple-component.js} +19 -19
- package/esm2015/lib/igc-x-ripple-component.js.map +1 -0
- package/esm2015/lib/{igc-ripple-module.js → igc-x-ripple-module.js} +8 -8
- package/esm2015/lib/igc-x-ripple-module.js.map +1 -0
- package/esm2015/lib/{igc-suffix-component.js → igc-x-suffix-component.js} +19 -19
- package/esm2015/lib/igc-x-suffix-component.js.map +1 -0
- package/esm2015/public_api.js +36 -35
- package/esm2015/public_api.js.map +1 -1
- package/esm5/lib/ButtonGroupView_combined.js +233 -233
- package/esm5/lib/ButtonGroupView_combined.js.map +1 -1
- package/esm5/lib/ButtonView_combined.js +579 -579
- package/esm5/lib/ButtonView_combined.js.map +1 -1
- package/esm5/lib/CalendarView_combined.js +20 -18
- package/esm5/lib/CalendarView_combined.js.map +1 -1
- package/esm5/lib/CheckboxView_combined.js +140 -134
- package/esm5/lib/CheckboxView_combined.js.map +1 -1
- package/esm5/lib/DatePickerView_combined.js +378 -343
- package/esm5/lib/DatePickerView_combined.js.map +1 -1
- package/esm5/lib/IconClickedEventArgs.js +21 -0
- package/esm5/lib/IconClickedEventArgs.js.map +1 -0
- package/esm5/lib/IconView_combined.js +371 -318
- package/esm5/lib/IconView_combined.js.map +1 -1
- package/esm5/lib/IconVisualModelExport.js +27 -18
- package/esm5/lib/IconVisualModelExport.js.map +1 -1
- package/esm5/lib/InputGroupView_combined.js +1767 -1697
- package/esm5/lib/InputGroupView_combined.js.map +1 -1
- package/esm5/lib/RippleView_combined.js +40 -40
- package/esm5/lib/RippleView_combined.js.map +1 -1
- package/{esm2015/lib/Input.js → esm5/lib/XButton.js} +2 -2
- package/esm5/lib/XButton.js.map +1 -0
- package/esm5/lib/XButtonGroup.js +8 -0
- package/esm5/lib/XButtonGroup.js.map +1 -0
- package/esm5/lib/{ButtonGroupButtonCollection.js → XButtonGroupButtonCollection.js} +10 -10
- package/esm5/lib/XButtonGroupButtonCollection.js.map +1 -0
- package/esm5/lib/XCheckbox.js +8 -0
- package/esm5/lib/XCheckbox.js.map +1 -0
- package/{esm2015/lib/Icon.js → esm5/lib/XIcon.js} +2 -2
- package/esm5/lib/XIcon.js.map +1 -0
- package/esm5/lib/XInput.js +8 -0
- package/esm5/lib/XInput.js.map +1 -0
- package/esm5/lib/XInputGroup.js +8 -0
- package/esm5/lib/XInputGroup.js.map +1 -0
- package/esm5/lib/XInputGroupInputCollection.js +8 -0
- package/esm5/lib/XInputGroupInputCollection.js.map +1 -0
- package/esm5/lib/XInputGroupItem.js +8 -0
- package/esm5/lib/XInputGroupItem.js.map +1 -0
- package/esm5/lib/XLabel.js +8 -0
- package/esm5/lib/XLabel.js.map +1 -0
- package/esm5/lib/XPrefix.js +8 -0
- package/esm5/lib/XPrefix.js.map +1 -0
- package/esm5/lib/XRipple.js +8 -0
- package/esm5/lib/XRipple.js.map +1 -0
- package/esm5/lib/XSuffix.js +8 -0
- package/esm5/lib/XSuffix.js.map +1 -0
- package/esm5/lib/igc-calendar-module.js +4 -4
- package/esm5/lib/igc-calendar-module.js.map +1 -1
- package/esm5/lib/igc-date-picker-component.js +52 -41
- package/esm5/lib/igc-date-picker-component.js.map +1 -1
- package/esm5/lib/igc-date-picker-module.js +6 -6
- package/esm5/lib/igc-date-picker-module.js.map +1 -1
- package/esm5/lib/{igc-button-component.js → igc-x-button-component.js} +225 -225
- package/esm5/lib/igc-x-button-component.js.map +1 -0
- package/esm5/lib/{igc-button-group-button-collection.js → igc-x-button-group-button-collection.js} +15 -15
- package/esm5/lib/igc-x-button-group-button-collection.js.map +1 -0
- package/esm5/lib/{igc-button-group-component.js → igc-x-button-group-component.js} +117 -117
- package/esm5/lib/igc-x-button-group-component.js.map +1 -0
- package/esm5/lib/igc-x-button-group-module.js +26 -0
- package/esm5/lib/igc-x-button-group-module.js.map +1 -0
- package/esm5/lib/igc-x-button-module.js +26 -0
- package/esm5/lib/igc-x-button-module.js.map +1 -0
- package/esm5/lib/{igc-checkbox-component.js → igc-x-checkbox-component.js} +78 -78
- package/esm5/lib/igc-x-checkbox-component.js.map +1 -0
- package/esm5/lib/igc-x-checkbox-module.js +26 -0
- package/esm5/lib/igc-x-checkbox-module.js.map +1 -0
- package/esm5/lib/{igc-icon-component.js → igc-x-icon-component.js} +135 -124
- package/esm5/lib/igc-x-icon-component.js.map +1 -0
- package/esm5/lib/{igc-label-module.js → igc-x-icon-module.js} +12 -12
- package/esm5/lib/igc-x-icon-module.js.map +1 -0
- package/esm5/lib/{igc-input-component.js → igc-x-input-component.js} +124 -110
- package/esm5/lib/igc-x-input-component.js.map +1 -0
- package/esm5/lib/{igc-input-group-component.js → igc-x-input-group-component.js} +567 -566
- package/esm5/lib/igc-x-input-group-component.js.map +1 -0
- package/esm5/lib/igc-x-input-group-input-collection.js +54 -0
- package/esm5/lib/igc-x-input-group-input-collection.js.map +1 -0
- package/esm5/lib/{igc-input-group-item-component.js → igc-x-input-group-item-component.js} +27 -27
- package/esm5/lib/igc-x-input-group-item-component.js.map +1 -0
- package/esm5/lib/igc-x-input-group-module.js +28 -0
- package/esm5/lib/igc-x-input-group-module.js.map +1 -0
- package/esm5/lib/{igc-prefix-module.js → igc-x-input-module.js} +12 -12
- package/esm5/lib/igc-x-input-module.js.map +1 -0
- package/esm5/lib/{igc-label-component.js → igc-x-label-component.js} +117 -101
- package/esm5/lib/igc-x-label-component.js.map +1 -0
- package/esm5/lib/{igc-icon-module.js → igc-x-label-module.js} +12 -12
- package/esm5/lib/igc-x-label-module.js.map +1 -0
- package/esm5/lib/{igc-prefix-component.js → igc-x-prefix-component.js} +40 -40
- package/esm5/lib/igc-x-prefix-component.js.map +1 -0
- package/esm5/lib/{igc-input-module.js → igc-x-prefix-module.js} +12 -12
- package/esm5/lib/igc-x-prefix-module.js.map +1 -0
- package/esm5/lib/{igc-ripple-component.js → igc-x-ripple-component.js} +57 -57
- package/esm5/lib/igc-x-ripple-component.js.map +1 -0
- package/esm5/lib/igc-x-ripple-module.js +22 -0
- package/esm5/lib/igc-x-ripple-module.js.map +1 -0
- package/esm5/lib/{igc-suffix-component.js → igc-x-suffix-component.js} +40 -40
- package/esm5/lib/igc-x-suffix-component.js.map +1 -0
- package/esm5/public_api.js +36 -35
- package/esm5/public_api.js.map +1 -1
- package/fesm2015/igniteui-webcomponents-inputs.js +3863 -3658
- package/fesm2015/igniteui-webcomponents-inputs.js.map +1 -1
- package/fesm5/igniteui-webcomponents-inputs.js +5218 -4973
- package/fesm5/igniteui-webcomponents-inputs.js.map +1 -1
- package/lib/ButtonGroupView_combined.d.ts +8 -8
- package/lib/ButtonView_combined.d.ts +2 -2
- package/lib/CalendarView_combined.d.ts +4 -4
- package/lib/CheckboxView_combined.d.ts +4 -4
- package/lib/DatePickerView_combined.d.ts +77 -75
- package/lib/IconClickedEventArgs.d.ts +7 -0
- package/lib/IconView_combined.d.ts +82 -74
- package/lib/IconVisualModelExport.d.ts +10 -6
- package/lib/InputGroupView_combined.d.ts +360 -353
- package/lib/RippleView_combined.d.ts +2 -2
- package/lib/XButton.d.ts +1 -0
- package/lib/XButtonGroup.d.ts +1 -0
- package/lib/{ButtonGroupButtonCollection.d.ts → XButtonGroupButtonCollection.d.ts} +2 -2
- package/lib/XCheckbox.d.ts +1 -0
- package/lib/XIcon.d.ts +1 -0
- package/lib/XInput.d.ts +1 -0
- package/lib/XInputGroup.d.ts +1 -0
- package/lib/XInputGroupInputCollection.d.ts +1 -0
- package/lib/XInputGroupItem.d.ts +1 -0
- package/lib/XLabel.d.ts +1 -0
- package/lib/XPrefix.d.ts +1 -0
- package/lib/XRipple.d.ts +1 -0
- package/lib/XSuffix.d.ts +1 -0
- package/lib/igc-date-picker-component.d.ts +1 -0
- package/lib/{igc-button-component.d.ts → igc-x-button-component.d.ts} +7 -7
- package/lib/igc-x-button-group-button-collection.d.ts +8 -0
- package/lib/{igc-button-group-component.d.ts → igc-x-button-group-component.d.ts} +12 -12
- package/lib/igc-x-button-group-module.d.ts +3 -0
- package/lib/igc-x-button-module.d.ts +3 -0
- package/lib/{igc-checkbox-component.d.ts → igc-x-checkbox-component.d.ts} +7 -7
- package/lib/igc-x-checkbox-module.d.ts +3 -0
- package/lib/{igc-icon-component.d.ts → igc-x-icon-component.d.ts} +7 -6
- package/lib/igc-x-icon-module.d.ts +3 -0
- package/lib/{igc-input-component.d.ts → igc-x-input-component.d.ts} +15 -11
- package/lib/{igc-input-group-component.d.ts → igc-x-input-group-component.d.ts} +11 -11
- package/lib/igc-x-input-group-input-collection.d.ts +8 -0
- package/lib/{igc-input-group-item-component.d.ts → igc-x-input-group-item-component.d.ts} +6 -6
- package/lib/igc-x-input-group-module.d.ts +3 -0
- package/lib/igc-x-input-module.d.ts +3 -0
- package/lib/{igc-label-component.d.ts → igc-x-label-component.d.ts} +11 -6
- package/lib/igc-x-label-module.d.ts +3 -0
- package/lib/{igc-prefix-component.d.ts → igc-x-prefix-component.d.ts} +6 -6
- package/lib/igc-x-prefix-module.d.ts +3 -0
- package/lib/{igc-ripple-component.d.ts → igc-x-ripple-component.d.ts} +6 -6
- package/lib/igc-x-ripple-module.d.ts +3 -0
- package/lib/{igc-suffix-component.d.ts → igc-x-suffix-component.d.ts} +6 -6
- package/package.json +2 -2
- package/public_api.d.ts +36 -35
- package/esm2015/lib/Button.js.map +0 -1
- package/esm2015/lib/ButtonGroup.js.map +0 -1
- package/esm2015/lib/ButtonGroupButtonCollection.js.map +0 -1
- package/esm2015/lib/Checkbox.js.map +0 -1
- package/esm2015/lib/Icon.js.map +0 -1
- package/esm2015/lib/Input.js.map +0 -1
- package/esm2015/lib/InputGroup.js +0 -8
- package/esm2015/lib/InputGroup.js.map +0 -1
- package/esm2015/lib/InputGroupInputCollection.js +0 -8
- package/esm2015/lib/InputGroupInputCollection.js.map +0 -1
- package/esm2015/lib/InputGroupItem.js +0 -8
- package/esm2015/lib/InputGroupItem.js.map +0 -1
- package/esm2015/lib/Label.js.map +0 -1
- package/esm2015/lib/Prefix.js +0 -8
- package/esm2015/lib/Prefix.js.map +0 -1
- package/esm2015/lib/Ripple.js +0 -8
- package/esm2015/lib/Ripple.js.map +0 -1
- package/esm2015/lib/Suffix.js +0 -8
- package/esm2015/lib/Suffix.js.map +0 -1
- package/esm2015/lib/igc-button-component.js.map +0 -1
- package/esm2015/lib/igc-button-group-button-collection.js.map +0 -1
- package/esm2015/lib/igc-button-group-component.js.map +0 -1
- package/esm2015/lib/igc-button-group-module.js.map +0 -1
- package/esm2015/lib/igc-button-module.js.map +0 -1
- package/esm2015/lib/igc-checkbox-component.js.map +0 -1
- package/esm2015/lib/igc-checkbox-module.js.map +0 -1
- package/esm2015/lib/igc-icon-component.js.map +0 -1
- package/esm2015/lib/igc-icon-module.js.map +0 -1
- package/esm2015/lib/igc-input-component.js.map +0 -1
- package/esm2015/lib/igc-input-group-component.js.map +0 -1
- package/esm2015/lib/igc-input-group-input-collection.js.map +0 -1
- package/esm2015/lib/igc-input-group-item-component.js.map +0 -1
- package/esm2015/lib/igc-input-group-module.js +0 -24
- package/esm2015/lib/igc-input-group-module.js.map +0 -1
- package/esm2015/lib/igc-input-module.js.map +0 -1
- package/esm2015/lib/igc-label-component.js.map +0 -1
- package/esm2015/lib/igc-label-module.js.map +0 -1
- package/esm2015/lib/igc-prefix-component.js.map +0 -1
- package/esm2015/lib/igc-prefix-module.js.map +0 -1
- package/esm2015/lib/igc-ripple-component.js.map +0 -1
- package/esm2015/lib/igc-ripple-module.js.map +0 -1
- package/esm2015/lib/igc-suffix-component.js.map +0 -1
- package/esm5/lib/Button.js +0 -8
- package/esm5/lib/Button.js.map +0 -1
- package/esm5/lib/ButtonGroup.js +0 -8
- package/esm5/lib/ButtonGroup.js.map +0 -1
- package/esm5/lib/ButtonGroupButtonCollection.js.map +0 -1
- package/esm5/lib/Checkbox.js +0 -8
- package/esm5/lib/Checkbox.js.map +0 -1
- package/esm5/lib/Icon.js.map +0 -1
- package/esm5/lib/Input.js +0 -8
- package/esm5/lib/Input.js.map +0 -1
- package/esm5/lib/InputGroup.js +0 -8
- package/esm5/lib/InputGroup.js.map +0 -1
- package/esm5/lib/InputGroupInputCollection.js +0 -8
- package/esm5/lib/InputGroupInputCollection.js.map +0 -1
- package/esm5/lib/InputGroupItem.js +0 -8
- package/esm5/lib/InputGroupItem.js.map +0 -1
- package/esm5/lib/Label.js +0 -8
- package/esm5/lib/Label.js.map +0 -1
- package/esm5/lib/Prefix.js +0 -8
- package/esm5/lib/Prefix.js.map +0 -1
- package/esm5/lib/Ripple.js +0 -8
- package/esm5/lib/Ripple.js.map +0 -1
- package/esm5/lib/Suffix.js +0 -8
- package/esm5/lib/Suffix.js.map +0 -1
- package/esm5/lib/igc-button-component.js.map +0 -1
- package/esm5/lib/igc-button-group-button-collection.js.map +0 -1
- package/esm5/lib/igc-button-group-component.js.map +0 -1
- package/esm5/lib/igc-button-group-module.js +0 -26
- package/esm5/lib/igc-button-group-module.js.map +0 -1
- package/esm5/lib/igc-button-module.js +0 -26
- package/esm5/lib/igc-button-module.js.map +0 -1
- package/esm5/lib/igc-checkbox-component.js.map +0 -1
- package/esm5/lib/igc-checkbox-module.js +0 -26
- package/esm5/lib/igc-checkbox-module.js.map +0 -1
- package/esm5/lib/igc-icon-component.js.map +0 -1
- package/esm5/lib/igc-icon-module.js.map +0 -1
- package/esm5/lib/igc-input-component.js.map +0 -1
- package/esm5/lib/igc-input-group-component.js.map +0 -1
- package/esm5/lib/igc-input-group-input-collection.js +0 -54
- package/esm5/lib/igc-input-group-input-collection.js.map +0 -1
- package/esm5/lib/igc-input-group-item-component.js.map +0 -1
- package/esm5/lib/igc-input-group-module.js +0 -28
- package/esm5/lib/igc-input-group-module.js.map +0 -1
- package/esm5/lib/igc-input-module.js.map +0 -1
- package/esm5/lib/igc-label-component.js.map +0 -1
- package/esm5/lib/igc-label-module.js.map +0 -1
- package/esm5/lib/igc-prefix-component.js.map +0 -1
- package/esm5/lib/igc-prefix-module.js.map +0 -1
- package/esm5/lib/igc-ripple-component.js.map +0 -1
- package/esm5/lib/igc-ripple-module.js +0 -22
- package/esm5/lib/igc-ripple-module.js.map +0 -1
- package/esm5/lib/igc-suffix-component.js.map +0 -1
- package/lib/Button.d.ts +0 -1
- package/lib/ButtonGroup.d.ts +0 -1
- package/lib/Checkbox.d.ts +0 -1
- package/lib/Icon.d.ts +0 -1
- package/lib/Input.d.ts +0 -1
- package/lib/InputGroup.d.ts +0 -1
- package/lib/InputGroupInputCollection.d.ts +0 -1
- package/lib/InputGroupItem.d.ts +0 -1
- package/lib/Label.d.ts +0 -1
- package/lib/Prefix.d.ts +0 -1
- package/lib/Ripple.d.ts +0 -1
- package/lib/Suffix.d.ts +0 -1
- package/lib/igc-button-group-button-collection.d.ts +0 -8
- package/lib/igc-button-group-module.d.ts +0 -3
- package/lib/igc-button-module.d.ts +0 -3
- package/lib/igc-checkbox-module.d.ts +0 -3
- package/lib/igc-icon-module.d.ts +0 -3
- package/lib/igc-input-group-input-collection.d.ts +0 -8
- package/lib/igc-input-group-module.d.ts +0 -3
- package/lib/igc-input-module.d.ts +0 -3
- package/lib/igc-label-module.d.ts +0 -3
- package/lib/igc-prefix-module.d.ts +0 -3
- package/lib/igc-ripple-module.d.ts +0 -3
|
@@ -5,11 +5,11 @@ https://www.infragistics.com/legal/license/igultimate-eula
|
|
|
5
5
|
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
6
6
|
*/
|
|
7
7
|
import { Base, runOn, markType, INotifyPropertyChanged_$type, PropertyChangedEventArgs, delegateRemove, enumGetBox, delegateCombine } from "igniteui-webcomponents-core";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
8
|
+
import { XInputGroup } from "./XInputGroup";
|
|
9
|
+
import { XLabel } from "./XLabel";
|
|
10
|
+
import { XInput } from "./XInput";
|
|
11
|
+
import { XSuffix } from "./XSuffix";
|
|
12
|
+
import { XIcon } from "./XIcon";
|
|
13
13
|
import { Popup } from "igniteui-webcomponents-layouts";
|
|
14
14
|
import { Calendar } from "./Calendar";
|
|
15
15
|
import { SRProvider } from "igniteui-webcomponents-core";
|
|
@@ -81,7 +81,7 @@ export let DatePickerView = /*@__PURE__*/ (() => {
|
|
|
81
81
|
this.h = this.c.createElement("div");
|
|
82
82
|
this.h.setAttribute("aria-hidden", "true");
|
|
83
83
|
this.g = this.c.createElement("div");
|
|
84
|
-
this.a.
|
|
84
|
+
this.a.cd();
|
|
85
85
|
this.i.getChildAt(0).setAttribute("aria-expanded", "fasle");
|
|
86
86
|
this.i.getChildAt(0).setAttribute("aria-invalid", "false");
|
|
87
87
|
this.e.setStyleProperty("height", "16px");
|
|
@@ -96,30 +96,35 @@ export let DatePickerView = /*@__PURE__*/ (() => {
|
|
|
96
96
|
if (this.c != null) {
|
|
97
97
|
let b = this.c.getSubRenderer(this.j);
|
|
98
98
|
a.provideContainer(b);
|
|
99
|
+
let c = this.c.getExternal(a, b.rootWrapper, this.c.getExternal(this.a, null, null));
|
|
99
100
|
}
|
|
100
101
|
}
|
|
101
102
|
aj(a) {
|
|
102
103
|
if (this.c != null) {
|
|
103
104
|
let b = this.c.getSubRenderer(this.k);
|
|
104
105
|
a.provideContainer(b);
|
|
106
|
+
let c = this.c.getExternal(a, b.rootWrapper, this.c.getExternal(this.a, null, null));
|
|
105
107
|
}
|
|
106
108
|
}
|
|
107
109
|
ai(a) {
|
|
108
110
|
if (this.c != null) {
|
|
109
111
|
let b = this.c.getSubRenderer(this.i);
|
|
110
112
|
a.provideContainer(b);
|
|
113
|
+
let c = this.c.getExternal(a, b.rootWrapper, this.c.getExternal(this.a, null, null));
|
|
111
114
|
}
|
|
112
115
|
}
|
|
113
116
|
al(a, b) {
|
|
114
117
|
if (this.c != null) {
|
|
115
118
|
let c = this.c.getSubRenderer(b);
|
|
116
119
|
a.provideContainer(c);
|
|
120
|
+
let d = this.c.getExternal(a, c.rootWrapper, this.c.getExternal(this.a, null, null));
|
|
117
121
|
}
|
|
118
122
|
}
|
|
119
123
|
ag(a, b) {
|
|
120
124
|
if (this.c != null) {
|
|
121
125
|
let c = this.c.getSubRenderer(b);
|
|
122
126
|
a.provideContainer(c);
|
|
127
|
+
let d = this.c.getExternal(a, c.rootWrapper, this.c.getExternal(this.a, null, null));
|
|
123
128
|
}
|
|
124
129
|
}
|
|
125
130
|
s() {
|
|
@@ -160,7 +165,7 @@ export let DatePickerView = /*@__PURE__*/ (() => {
|
|
|
160
165
|
}
|
|
161
166
|
am() {
|
|
162
167
|
if (this.e != null) {
|
|
163
|
-
if (this.a.
|
|
168
|
+
if (this.a.as == true) {
|
|
164
169
|
this.e.show();
|
|
165
170
|
}
|
|
166
171
|
else {
|
|
@@ -180,7 +185,7 @@ export let DatePickerView = /*@__PURE__*/ (() => {
|
|
|
180
185
|
this.d.setStyleProperty("width", "100%");
|
|
181
186
|
this.d.setStyleProperty("height", "100%");
|
|
182
187
|
this.d.setStyleProperty("display", "flex");
|
|
183
|
-
this.a.
|
|
188
|
+
this.a.ce();
|
|
184
189
|
this.d.parent().setStyleProperty("height", "100%");
|
|
185
190
|
}
|
|
186
191
|
}
|
|
@@ -188,51 +193,53 @@ export let DatePickerView = /*@__PURE__*/ (() => {
|
|
|
188
193
|
if (this.c != null) {
|
|
189
194
|
let b = this.c.getSubRenderer(this.l);
|
|
190
195
|
a.provideRenderer(b);
|
|
196
|
+
let c = b.getExternal(a, b.rootWrapper, b.getExternal(this.a, null, null));
|
|
191
197
|
}
|
|
192
198
|
}
|
|
193
199
|
af(a) {
|
|
194
200
|
if (this.c != null) {
|
|
195
201
|
let b = this.c.getSubRenderer(this.d);
|
|
196
202
|
a.provideContainer(b);
|
|
203
|
+
let c = this.c.getExternal(a, b.rootWrapper, this.c.getExternal(this.a, null, null));
|
|
197
204
|
}
|
|
198
205
|
}
|
|
199
206
|
m() {
|
|
200
207
|
return this.d;
|
|
201
208
|
}
|
|
202
209
|
w(a) {
|
|
203
|
-
this.a.
|
|
210
|
+
this.a.cb();
|
|
204
211
|
if (this.e != null) {
|
|
205
212
|
this.e.hide();
|
|
206
213
|
}
|
|
207
214
|
}
|
|
208
215
|
aa(a) {
|
|
209
216
|
a.stopPropagation();
|
|
210
|
-
this.a.
|
|
217
|
+
this.a.cj();
|
|
211
218
|
}
|
|
212
219
|
v(a) {
|
|
213
220
|
let b = a.which;
|
|
214
221
|
if (b == 27) {
|
|
215
|
-
this.a.
|
|
222
|
+
this.a.cc();
|
|
216
223
|
}
|
|
217
224
|
}
|
|
218
225
|
t(a) {
|
|
219
226
|
this.a.focus();
|
|
220
227
|
let b = (a.originalEvent.relatedTarget);
|
|
221
228
|
if (!this.b(b)) {
|
|
222
|
-
this.a.
|
|
229
|
+
this.a.cp();
|
|
223
230
|
}
|
|
224
231
|
}
|
|
225
232
|
u(a) {
|
|
226
233
|
let b = (a.originalEvent.relatedTarget);
|
|
227
234
|
if (!this.b(b)) {
|
|
228
|
-
this.a.
|
|
229
|
-
this.a.
|
|
235
|
+
this.a.ci();
|
|
236
|
+
this.a.cq();
|
|
230
237
|
}
|
|
231
238
|
}
|
|
232
239
|
z(a) {
|
|
233
240
|
let b = a.target;
|
|
234
241
|
if (!this.b(b)) {
|
|
235
|
-
this.a.
|
|
242
|
+
this.a.cc();
|
|
236
243
|
}
|
|
237
244
|
}
|
|
238
245
|
ap() {
|
|
@@ -273,41 +280,42 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
273
280
|
this.q = null;
|
|
274
281
|
this.r = null;
|
|
275
282
|
this.g = null;
|
|
276
|
-
this.
|
|
277
|
-
this.
|
|
278
|
-
this.
|
|
279
|
-
this.
|
|
280
|
-
this.
|
|
283
|
+
this.a6 = "dd";
|
|
284
|
+
this.ba = "mm";
|
|
285
|
+
this.bd = "yyyy";
|
|
286
|
+
this.a7 = "mdy";
|
|
287
|
+
this.bc = "/";
|
|
281
288
|
this.ah = false;
|
|
289
|
+
this.ao = false;
|
|
282
290
|
this.an = false;
|
|
283
|
-
this.
|
|
284
|
-
this.av = dateMinValue();
|
|
291
|
+
this.ax = dateMinValue();
|
|
285
292
|
this.propertyChanged = null;
|
|
286
293
|
this.valueChanged = null;
|
|
287
294
|
this.ae = null;
|
|
288
|
-
this.
|
|
289
|
-
this.
|
|
290
|
-
this.a7 = "";
|
|
291
|
-
this.c6 = BrushUtil.g(255, 24, 29, 31);
|
|
292
|
-
this.z = null;
|
|
295
|
+
this.az = dateMinValue();
|
|
296
|
+
this.ay = dateMinValue();
|
|
293
297
|
this.a9 = "";
|
|
294
|
-
this.
|
|
295
|
-
this.
|
|
298
|
+
this.c9 = BrushUtil.g(255, 24, 29, 31);
|
|
299
|
+
this.z = null;
|
|
300
|
+
this.bb = "";
|
|
301
|
+
this.aw = dateMinValue();
|
|
302
|
+
this.av = dateMaxValue();
|
|
296
303
|
this.c = 2;
|
|
297
304
|
this.a = 1;
|
|
298
305
|
this.aa = null;
|
|
299
|
-
this.
|
|
300
|
-
this.
|
|
301
|
-
this.
|
|
302
|
-
this.
|
|
306
|
+
this.da = BrushUtil.g(255, 24, 29, 31);
|
|
307
|
+
this.c8 = BrushUtil.g(255, 163, 172, 184);
|
|
308
|
+
this.ak = true;
|
|
309
|
+
this.al = false;
|
|
303
310
|
this.ag = true;
|
|
304
|
-
this.
|
|
311
|
+
this.aj = true;
|
|
305
312
|
this.m = 0;
|
|
306
313
|
this.o = 0;
|
|
307
|
-
this.
|
|
314
|
+
this.am = false;
|
|
308
315
|
this.e = new DateTimeValueFormatter();
|
|
309
316
|
this.h = 0;
|
|
310
|
-
this.
|
|
317
|
+
this.a8 = null;
|
|
318
|
+
this.ai = false;
|
|
311
319
|
this.gotFocus = null;
|
|
312
320
|
this.lostFocus = null;
|
|
313
321
|
this.keyDown = null;
|
|
@@ -316,14 +324,14 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
316
324
|
a.a = this;
|
|
317
325
|
this.l = a;
|
|
318
326
|
this.l.ae();
|
|
319
|
-
this.
|
|
327
|
+
this.ca();
|
|
320
328
|
}
|
|
321
|
-
|
|
329
|
+
cv(a, b) {
|
|
322
330
|
if (this.y != null) {
|
|
323
331
|
this.ah = true;
|
|
324
|
-
this.
|
|
332
|
+
this.cc();
|
|
325
333
|
}
|
|
326
|
-
this.
|
|
334
|
+
this.c3();
|
|
327
335
|
if (this.valueChanged != null) {
|
|
328
336
|
this.valueChanged(this, ((() => {
|
|
329
337
|
let $ret = new ValueChangedEventArgs();
|
|
@@ -332,7 +340,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
332
340
|
return $ret;
|
|
333
341
|
})()));
|
|
334
342
|
}
|
|
335
|
-
this.
|
|
343
|
+
this.cz();
|
|
336
344
|
}
|
|
337
345
|
notifySizeChanged() {
|
|
338
346
|
this.l.ac();
|
|
@@ -340,9 +348,9 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
340
348
|
destroy() {
|
|
341
349
|
if (this.g != null) {
|
|
342
350
|
let a = this.g;
|
|
343
|
-
a.valueChanged = delegateRemove(a.valueChanged, runOn(this, this.
|
|
351
|
+
a.valueChanged = delegateRemove(a.valueChanged, runOn(this, this.b9));
|
|
344
352
|
let b = this.g;
|
|
345
|
-
b.close = delegateRemove(b.close, runOn(this, this.
|
|
353
|
+
b.close = delegateRemove(b.close, runOn(this, this.b8));
|
|
346
354
|
}
|
|
347
355
|
this.provideContainer(null);
|
|
348
356
|
}
|
|
@@ -356,45 +364,45 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
356
364
|
}
|
|
357
365
|
return this.ae;
|
|
358
366
|
}
|
|
359
|
-
get
|
|
360
|
-
return this.
|
|
367
|
+
get a3() {
|
|
368
|
+
return this.az;
|
|
361
369
|
}
|
|
362
|
-
set
|
|
363
|
-
let b = this.
|
|
364
|
-
this.
|
|
365
|
-
this.
|
|
366
|
-
if (+b != +(this.
|
|
367
|
-
this.
|
|
370
|
+
set a3(a) {
|
|
371
|
+
let b = this.az;
|
|
372
|
+
this.ax = b;
|
|
373
|
+
this.az = a;
|
|
374
|
+
if (+b != +(this.az)) {
|
|
375
|
+
this.cu("Value", b, this.az);
|
|
368
376
|
}
|
|
369
377
|
}
|
|
370
|
-
get
|
|
371
|
-
return this.
|
|
378
|
+
get a2() {
|
|
379
|
+
return this.ay;
|
|
372
380
|
}
|
|
373
|
-
set
|
|
374
|
-
let b = this.
|
|
375
|
-
this.
|
|
376
|
-
if (+b != +(this.
|
|
377
|
-
this.
|
|
381
|
+
set a2(a) {
|
|
382
|
+
let b = this.ay;
|
|
383
|
+
this.ay = a;
|
|
384
|
+
if (+b != +(this.ay)) {
|
|
385
|
+
this.cu("Today", b, this.ay);
|
|
378
386
|
}
|
|
379
387
|
}
|
|
380
|
-
get
|
|
381
|
-
return this.
|
|
388
|
+
get bs() {
|
|
389
|
+
return this.a9;
|
|
382
390
|
}
|
|
383
|
-
set
|
|
384
|
-
let b = this.
|
|
385
|
-
this.
|
|
386
|
-
if (b != this.
|
|
387
|
-
this.
|
|
391
|
+
set bs(a) {
|
|
392
|
+
let b = this.a9;
|
|
393
|
+
this.a9 = a;
|
|
394
|
+
if (b != this.a9) {
|
|
395
|
+
this.cu("Label", b, this.a9);
|
|
388
396
|
}
|
|
389
397
|
}
|
|
390
|
-
get
|
|
391
|
-
return this.
|
|
398
|
+
get dc() {
|
|
399
|
+
return this.c9;
|
|
392
400
|
}
|
|
393
|
-
set
|
|
394
|
-
let b = this.
|
|
395
|
-
this.
|
|
396
|
-
if (b != this.
|
|
397
|
-
this.
|
|
401
|
+
set dc(a) {
|
|
402
|
+
let b = this.c9;
|
|
403
|
+
this.c9 = a;
|
|
404
|
+
if (b != this.c9) {
|
|
405
|
+
this.cu("LabelTextColor", b, a);
|
|
398
406
|
}
|
|
399
407
|
}
|
|
400
408
|
get ac() {
|
|
@@ -404,37 +412,37 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
404
412
|
let b = this.z;
|
|
405
413
|
this.z = a;
|
|
406
414
|
if (b != this.z) {
|
|
407
|
-
this.
|
|
415
|
+
this.cu("LabelTextStyle", b, this.z);
|
|
408
416
|
}
|
|
409
417
|
}
|
|
410
|
-
get
|
|
411
|
-
return this.
|
|
418
|
+
get bz() {
|
|
419
|
+
return this.bb;
|
|
412
420
|
}
|
|
413
|
-
set
|
|
414
|
-
let b = this.
|
|
415
|
-
this.
|
|
416
|
-
if (b != this.
|
|
417
|
-
this.
|
|
421
|
+
set bz(a) {
|
|
422
|
+
let b = this.bb;
|
|
423
|
+
this.bb = a;
|
|
424
|
+
if (b != this.bb) {
|
|
425
|
+
this.cu("Placeholder", b, this.bb);
|
|
418
426
|
}
|
|
419
427
|
}
|
|
420
|
-
get
|
|
421
|
-
return this.
|
|
428
|
+
get a1() {
|
|
429
|
+
return this.aw;
|
|
422
430
|
}
|
|
423
|
-
set
|
|
424
|
-
let b = this.
|
|
425
|
-
this.
|
|
426
|
-
if (+b != +(this.
|
|
427
|
-
this.
|
|
431
|
+
set a1(a) {
|
|
432
|
+
let b = this.aw;
|
|
433
|
+
this.aw = a;
|
|
434
|
+
if (+b != +(this.aw)) {
|
|
435
|
+
this.cu("MinDate", b, this.aw);
|
|
428
436
|
}
|
|
429
437
|
}
|
|
430
|
-
get
|
|
431
|
-
return this.
|
|
438
|
+
get a0() {
|
|
439
|
+
return this.av;
|
|
432
440
|
}
|
|
433
|
-
set
|
|
434
|
-
let b = this.
|
|
435
|
-
this.
|
|
436
|
-
if (+b != +(this.
|
|
437
|
-
this.
|
|
441
|
+
set a0(a) {
|
|
442
|
+
let b = this.av;
|
|
443
|
+
this.av = a;
|
|
444
|
+
if (+b != +(this.av)) {
|
|
445
|
+
this.cu("MaxDate", b, this.av);
|
|
438
446
|
}
|
|
439
447
|
}
|
|
440
448
|
get d() {
|
|
@@ -444,7 +452,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
444
452
|
let b = this.c;
|
|
445
453
|
this.c = a;
|
|
446
454
|
if (b != this.c) {
|
|
447
|
-
this.
|
|
455
|
+
this.cu("Density", enumGetBox(ControlDisplayDensity_$type, b), enumGetBox(ControlDisplayDensity_$type, this.c));
|
|
448
456
|
}
|
|
449
457
|
}
|
|
450
458
|
get b() {
|
|
@@ -454,7 +462,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
454
462
|
let b = this.a;
|
|
455
463
|
this.a = a;
|
|
456
464
|
if (b != this.a) {
|
|
457
|
-
this.
|
|
465
|
+
this.cu("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, this.a));
|
|
458
466
|
}
|
|
459
467
|
}
|
|
460
468
|
get ad() {
|
|
@@ -464,67 +472,67 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
464
472
|
let b = this.aa;
|
|
465
473
|
this.aa = a;
|
|
466
474
|
if (b != this.aa) {
|
|
467
|
-
this.
|
|
475
|
+
this.cu("TextStyle", b, this.aa);
|
|
468
476
|
}
|
|
469
477
|
}
|
|
470
|
-
get
|
|
471
|
-
return this.
|
|
478
|
+
get dd() {
|
|
479
|
+
return this.da;
|
|
472
480
|
}
|
|
473
|
-
set
|
|
474
|
-
let b = this.
|
|
475
|
-
this.
|
|
476
|
-
if (b != this.
|
|
477
|
-
this.
|
|
481
|
+
set dd(a) {
|
|
482
|
+
let b = this.da;
|
|
483
|
+
this.da = a;
|
|
484
|
+
if (b != this.da) {
|
|
485
|
+
this.cu("TextColor", b, this.da);
|
|
478
486
|
}
|
|
479
487
|
}
|
|
480
|
-
get
|
|
481
|
-
return this.
|
|
482
|
-
}
|
|
483
|
-
set c8(a) {
|
|
484
|
-
let b = this.c5;
|
|
485
|
-
this.c5 = a;
|
|
486
|
-
if (b != this.c5) {
|
|
487
|
-
this.cr("IconColor", b, this.c5);
|
|
488
|
-
}
|
|
488
|
+
get db() {
|
|
489
|
+
return this.c8;
|
|
489
490
|
}
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
this.aj = a;
|
|
496
|
-
if (b != this.aj) {
|
|
497
|
-
this.cr("ShowClearButton", b, this.aj);
|
|
491
|
+
set db(a) {
|
|
492
|
+
let b = this.c8;
|
|
493
|
+
this.c8 = a;
|
|
494
|
+
if (b != this.c8) {
|
|
495
|
+
this.cu("IconColor", b, this.c8);
|
|
498
496
|
}
|
|
499
497
|
}
|
|
500
|
-
get
|
|
498
|
+
get as() {
|
|
501
499
|
return this.ak;
|
|
502
500
|
}
|
|
503
|
-
set
|
|
501
|
+
set as(a) {
|
|
504
502
|
let b = this.ak;
|
|
505
503
|
this.ak = a;
|
|
506
504
|
if (b != this.ak) {
|
|
507
|
-
this.
|
|
505
|
+
this.cu("ShowClearButton", b, this.ak);
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
get at() {
|
|
509
|
+
return this.al;
|
|
510
|
+
}
|
|
511
|
+
set at(a) {
|
|
512
|
+
let b = this.al;
|
|
513
|
+
this.al = a;
|
|
514
|
+
if (b != this.al) {
|
|
515
|
+
this.cu("ShowTodayButton", b, this.al);
|
|
508
516
|
}
|
|
509
517
|
}
|
|
510
|
-
get
|
|
518
|
+
get ap() {
|
|
511
519
|
return this.ag;
|
|
512
520
|
}
|
|
513
|
-
set
|
|
521
|
+
set ap(a) {
|
|
514
522
|
let b = this.ag;
|
|
515
523
|
this.ag = a;
|
|
516
524
|
if (b != this.ag) {
|
|
517
|
-
this.
|
|
525
|
+
this.cu("AllowTextInput", b, this.ag);
|
|
518
526
|
}
|
|
519
527
|
}
|
|
520
|
-
get
|
|
521
|
-
return this.
|
|
528
|
+
get ar() {
|
|
529
|
+
return this.aj;
|
|
522
530
|
}
|
|
523
|
-
set
|
|
524
|
-
let b = this.
|
|
525
|
-
this.
|
|
526
|
-
if (b != this.
|
|
527
|
-
this.
|
|
531
|
+
set ar(a) {
|
|
532
|
+
let b = this.aj;
|
|
533
|
+
this.aj = a;
|
|
534
|
+
if (b != this.aj) {
|
|
535
|
+
this.cu("OpenOnFocus", b, this.aj);
|
|
528
536
|
}
|
|
529
537
|
}
|
|
530
538
|
get n() {
|
|
@@ -534,7 +542,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
534
542
|
let b = this.m;
|
|
535
543
|
this.m = a;
|
|
536
544
|
if (b != this.m) {
|
|
537
|
-
this.
|
|
545
|
+
this.cu("FirstDayOfWeek", enumGetBox(DayOfWeek_$type, b), enumGetBox(DayOfWeek_$type, this.m));
|
|
538
546
|
}
|
|
539
547
|
}
|
|
540
548
|
get p() {
|
|
@@ -544,17 +552,17 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
544
552
|
let b = this.o;
|
|
545
553
|
this.o = a;
|
|
546
554
|
if (b != this.o) {
|
|
547
|
-
this.
|
|
555
|
+
this.cu("FirstWeekOfYear", enumGetBox(FirstWeek_$type, b), enumGetBox(FirstWeek_$type, this.o));
|
|
548
556
|
}
|
|
549
557
|
}
|
|
550
|
-
get
|
|
551
|
-
return this.
|
|
558
|
+
get au() {
|
|
559
|
+
return this.am;
|
|
552
560
|
}
|
|
553
|
-
set
|
|
554
|
-
let b = this.
|
|
555
|
-
this.
|
|
556
|
-
if (b != this.
|
|
557
|
-
this.
|
|
561
|
+
set au(a) {
|
|
562
|
+
let b = this.am;
|
|
563
|
+
this.am = a;
|
|
564
|
+
if (b != this.am) {
|
|
565
|
+
this.cu("ShowWeekNumbers", b, this.am);
|
|
558
566
|
}
|
|
559
567
|
}
|
|
560
568
|
get i() {
|
|
@@ -564,49 +572,59 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
564
572
|
let b = this.h;
|
|
565
573
|
this.h = a;
|
|
566
574
|
if (this.h != b) {
|
|
567
|
-
this.
|
|
575
|
+
this.cu("DateFormat", enumGetBox(DateFormats_$type, b), enumGetBox(DateFormats_$type, this.h));
|
|
568
576
|
}
|
|
569
577
|
}
|
|
570
|
-
get
|
|
571
|
-
return this.
|
|
578
|
+
get bo() {
|
|
579
|
+
return this.a8;
|
|
572
580
|
}
|
|
573
|
-
set
|
|
574
|
-
let b = this.
|
|
575
|
-
this.
|
|
576
|
-
if (b != this.
|
|
577
|
-
this.
|
|
581
|
+
set bo(a) {
|
|
582
|
+
let b = this.a8;
|
|
583
|
+
this.a8 = a;
|
|
584
|
+
if (b != this.a8) {
|
|
585
|
+
this.cu("FormatString", b, this.a8);
|
|
578
586
|
}
|
|
579
587
|
}
|
|
580
|
-
|
|
588
|
+
get aq() {
|
|
589
|
+
return this.ai;
|
|
590
|
+
}
|
|
591
|
+
set aq(a) {
|
|
592
|
+
let b = this.ai;
|
|
593
|
+
this.ai = a;
|
|
594
|
+
if (b != this.ai) {
|
|
595
|
+
this.cu("IsDisabled", b, this.ai);
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
cu(a, b, c) {
|
|
581
599
|
if (this.propertyChanged != null) {
|
|
582
600
|
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
583
601
|
}
|
|
584
|
-
this.
|
|
602
|
+
this.cx(a, b, c);
|
|
585
603
|
}
|
|
586
|
-
|
|
604
|
+
cx(a, b, c) {
|
|
587
605
|
switch (a) {
|
|
588
606
|
case "Density":
|
|
589
|
-
this.
|
|
607
|
+
this.c0();
|
|
590
608
|
break;
|
|
591
609
|
case "BaseTheme":
|
|
592
|
-
this.
|
|
610
|
+
this.c1();
|
|
593
611
|
break;
|
|
594
612
|
case "Value":
|
|
595
|
-
if (+(this.
|
|
596
|
-
if (dateGetDate(this.
|
|
597
|
-
this.
|
|
613
|
+
if (+(this.a3) != +(dateMinValue())) {
|
|
614
|
+
if (dateGetDate(this.a3) < dateGetDate(this.a1) || dateGetDate(this.a3) > dateGetDate(this.a0)) {
|
|
615
|
+
this.a3 = this.ax;
|
|
598
616
|
}
|
|
599
617
|
}
|
|
600
|
-
this.
|
|
601
|
-
this.
|
|
618
|
+
this.cv(this.ax, this.a3);
|
|
619
|
+
this.ax = this.a3;
|
|
602
620
|
if (this.g != null) {
|
|
603
|
-
this.g.aw = this.
|
|
621
|
+
this.g.aw = this.a3;
|
|
604
622
|
}
|
|
605
623
|
break;
|
|
606
624
|
case "Label":
|
|
607
625
|
if (this.v != null) {
|
|
608
|
-
this.v.text = this.
|
|
609
|
-
if (this.
|
|
626
|
+
this.v.text = this.bs;
|
|
627
|
+
if (this.bs != null && this.bs != "") {
|
|
610
628
|
if (!this.u.inputs.contains(this.v)) {
|
|
611
629
|
this.u.inputs.insert(0, this.v);
|
|
612
630
|
}
|
|
@@ -620,48 +638,48 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
620
638
|
break;
|
|
621
639
|
case "Placeholder":
|
|
622
640
|
if (this.s != null) {
|
|
623
|
-
this.s.
|
|
624
|
-
this.l.ao(this.
|
|
641
|
+
this.s.cb = this.bz;
|
|
642
|
+
this.l.ao(this.bz);
|
|
625
643
|
}
|
|
626
644
|
break;
|
|
627
645
|
case "Today":
|
|
628
646
|
if (this.g != null) {
|
|
629
|
-
this.g.av = this.
|
|
647
|
+
this.g.av = this.a2;
|
|
630
648
|
}
|
|
631
649
|
break;
|
|
632
650
|
case "MaxDate":
|
|
633
651
|
if (this.g != null) {
|
|
634
|
-
let d = Base.compareSimple(this.
|
|
652
|
+
let d = Base.compareSimple(this.a1, this.a0);
|
|
635
653
|
if (d >= 0) {
|
|
636
|
-
this.
|
|
654
|
+
this.a0 = dateMaxValue();
|
|
637
655
|
}
|
|
638
|
-
this.g.at = this.
|
|
656
|
+
this.g.at = this.av;
|
|
639
657
|
}
|
|
640
|
-
if (dateGetDate(this.
|
|
641
|
-
this.
|
|
642
|
-
this.
|
|
658
|
+
if (dateGetDate(this.a3) > dateGetDate(this.a0)) {
|
|
659
|
+
this.ax = dateMinValue();
|
|
660
|
+
this.a3 = dateMinValue();
|
|
643
661
|
}
|
|
644
662
|
break;
|
|
645
663
|
case "MinDate":
|
|
646
664
|
if (this.g != null) {
|
|
647
|
-
this.g.au = this.
|
|
648
|
-
let e = Base.compareSimple(this.
|
|
665
|
+
this.g.au = this.aw;
|
|
666
|
+
let e = Base.compareSimple(this.a1, this.a0);
|
|
649
667
|
if (e >= 0) {
|
|
650
|
-
this.
|
|
651
|
-
this.g.at = this.
|
|
668
|
+
this.ax = dateMaxValue();
|
|
669
|
+
this.g.at = this.a0;
|
|
652
670
|
}
|
|
653
671
|
}
|
|
654
|
-
if (dateGetDate(this.
|
|
655
|
-
this.
|
|
656
|
-
this.
|
|
672
|
+
if (dateGetDate(this.a3) < dateGetDate(this.a1)) {
|
|
673
|
+
this.ax = dateMinValue();
|
|
674
|
+
this.a3 = dateMinValue();
|
|
657
675
|
}
|
|
658
676
|
break;
|
|
659
677
|
case "TextStyle":
|
|
660
|
-
this.
|
|
678
|
+
this.c4();
|
|
661
679
|
break;
|
|
662
680
|
case "ShowClearButton":
|
|
663
681
|
if (this.s != null) {
|
|
664
|
-
if (this.s.
|
|
682
|
+
if (this.s.cj != "") {
|
|
665
683
|
this.l.am();
|
|
666
684
|
}
|
|
667
685
|
}
|
|
@@ -670,26 +688,26 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
670
688
|
case "LabelTextStyle":
|
|
671
689
|
case "TextColor":
|
|
672
690
|
case "IconColor":
|
|
673
|
-
this.
|
|
691
|
+
this.c5();
|
|
674
692
|
break;
|
|
675
693
|
case "ShowTodayButton":
|
|
676
694
|
if (this.g != null) {
|
|
677
|
-
this.g.ae = this.
|
|
695
|
+
this.g.ae = this.at;
|
|
678
696
|
}
|
|
679
697
|
break;
|
|
680
698
|
case "AllowTextInput":
|
|
681
699
|
if (this.s != null) {
|
|
682
|
-
this.s.disabled = !this.
|
|
700
|
+
this.s.disabled = !this.ap;
|
|
683
701
|
}
|
|
684
702
|
break;
|
|
685
703
|
case "OpenOnFocus": break;
|
|
686
704
|
case "DateFormat":
|
|
687
705
|
this.e.k(this.i);
|
|
688
|
-
this.
|
|
706
|
+
this.c3();
|
|
689
707
|
break;
|
|
690
708
|
case "FormatString":
|
|
691
|
-
this.
|
|
692
|
-
this.
|
|
709
|
+
this.ca();
|
|
710
|
+
this.c3();
|
|
693
711
|
break;
|
|
694
712
|
case "FirstDayOfWeek":
|
|
695
713
|
if (this.g != null) {
|
|
@@ -698,7 +716,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
698
716
|
break;
|
|
699
717
|
case "ShowWeekNumbers":
|
|
700
718
|
if (this.g != null) {
|
|
701
|
-
this.g.af = this.
|
|
719
|
+
this.g.af = this.au;
|
|
702
720
|
}
|
|
703
721
|
break;
|
|
704
722
|
case "FirstWeekOfYear":
|
|
@@ -706,11 +724,21 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
706
724
|
this.g.s = this.p;
|
|
707
725
|
}
|
|
708
726
|
break;
|
|
727
|
+
case "IsDisabled":
|
|
728
|
+
{
|
|
729
|
+
if (this.u != null) {
|
|
730
|
+
this.u.disabled = this.aq;
|
|
731
|
+
}
|
|
732
|
+
if (this.s != null) {
|
|
733
|
+
this.s.disabled = this.aq;
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
break;
|
|
709
737
|
}
|
|
710
738
|
}
|
|
711
|
-
|
|
739
|
+
ca() {
|
|
712
740
|
let a = '/';
|
|
713
|
-
let b = this.
|
|
741
|
+
let b = this.bo != null ? this.bo.toLowerCase() : this.e.j();
|
|
714
742
|
if (stringContains(b, "/")) {
|
|
715
743
|
a = '/';
|
|
716
744
|
}
|
|
@@ -726,7 +754,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
726
754
|
else if (stringContains(b, ",")) {
|
|
727
755
|
a = ',';
|
|
728
756
|
}
|
|
729
|
-
this.
|
|
757
|
+
this.bc = a.toString();
|
|
730
758
|
let c = b.split(a);
|
|
731
759
|
if (c.length == 3) {
|
|
732
760
|
let d = "";
|
|
@@ -735,19 +763,19 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
735
763
|
d += "d";
|
|
736
764
|
switch (c[e]) {
|
|
737
765
|
case "d":
|
|
738
|
-
this.
|
|
766
|
+
this.a6 = c[e];
|
|
739
767
|
break;
|
|
740
768
|
case "dd":
|
|
741
|
-
this.
|
|
769
|
+
this.a6 = c[e];
|
|
742
770
|
break;
|
|
743
771
|
case "ddd":
|
|
744
|
-
this.
|
|
772
|
+
this.a6 = c[e];
|
|
745
773
|
break;
|
|
746
774
|
case "dddd":
|
|
747
|
-
this.
|
|
775
|
+
this.a6 = c[e];
|
|
748
776
|
break;
|
|
749
777
|
default:
|
|
750
|
-
this.
|
|
778
|
+
this.a6 = "dd";
|
|
751
779
|
break;
|
|
752
780
|
}
|
|
753
781
|
}
|
|
@@ -755,125 +783,125 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
755
783
|
d += "m";
|
|
756
784
|
switch (c[e]) {
|
|
757
785
|
case "m":
|
|
758
|
-
this.
|
|
786
|
+
this.ba = c[e];
|
|
759
787
|
break;
|
|
760
788
|
case "mm":
|
|
761
|
-
this.
|
|
789
|
+
this.ba = c[e];
|
|
762
790
|
break;
|
|
763
791
|
case "mmm":
|
|
764
|
-
this.
|
|
792
|
+
this.ba = c[e];
|
|
765
793
|
break;
|
|
766
794
|
case "mmmm":
|
|
767
|
-
this.
|
|
795
|
+
this.ba = c[e];
|
|
768
796
|
break;
|
|
769
797
|
default:
|
|
770
|
-
this.
|
|
798
|
+
this.ba = "mm";
|
|
771
799
|
break;
|
|
772
800
|
}
|
|
773
|
-
this.
|
|
801
|
+
this.ba = c[e];
|
|
774
802
|
}
|
|
775
803
|
else if (stringContains(c[e], "y")) {
|
|
776
804
|
d += "y";
|
|
777
805
|
switch (c[e]) {
|
|
778
806
|
case "yy":
|
|
779
|
-
this.
|
|
807
|
+
this.bd = c[e];
|
|
780
808
|
break;
|
|
781
809
|
case "yyyy":
|
|
782
|
-
this.
|
|
810
|
+
this.bd = c[e];
|
|
783
811
|
break;
|
|
784
812
|
default:
|
|
785
|
-
this.
|
|
813
|
+
this.bd = "yyyy";
|
|
786
814
|
break;
|
|
787
815
|
}
|
|
788
816
|
}
|
|
789
817
|
}
|
|
790
818
|
if (d == "dmy" || d == "mdy" || d == "ymd") {
|
|
791
|
-
this.
|
|
819
|
+
this.a7 = d;
|
|
792
820
|
}
|
|
793
821
|
else {
|
|
794
|
-
this.
|
|
822
|
+
this.a7 = "mdy";
|
|
795
823
|
}
|
|
796
824
|
}
|
|
797
825
|
}
|
|
798
|
-
|
|
826
|
+
c5() {
|
|
799
827
|
if (this.s != null) {
|
|
800
|
-
this.s.
|
|
828
|
+
this.s.dy = this.dd;
|
|
801
829
|
}
|
|
802
830
|
if (this.q != null) {
|
|
803
|
-
this.q.fill = this.
|
|
831
|
+
this.q.fill = this.db;
|
|
804
832
|
}
|
|
805
833
|
if (this.r != null) {
|
|
806
|
-
this.r.fill = this.
|
|
834
|
+
this.r.fill = this.db;
|
|
807
835
|
}
|
|
808
836
|
if (this.v != null) {
|
|
809
|
-
this.v.
|
|
837
|
+
this.v.df = this.dc;
|
|
810
838
|
this.v.y = this.ac;
|
|
811
839
|
}
|
|
812
840
|
}
|
|
813
|
-
|
|
841
|
+
c2() {
|
|
814
842
|
if (this.u != null) {
|
|
815
843
|
}
|
|
816
844
|
}
|
|
817
|
-
|
|
845
|
+
c4() {
|
|
818
846
|
if (this.aa != null) {
|
|
819
847
|
this.s.ac = this.aa;
|
|
820
848
|
}
|
|
821
849
|
}
|
|
822
|
-
|
|
823
|
-
this.u = new
|
|
850
|
+
cd() {
|
|
851
|
+
this.u = new XInputGroup();
|
|
824
852
|
this.l.ah(this.u);
|
|
825
853
|
this.u.k = 0;
|
|
826
854
|
this.u.d = this.b;
|
|
827
855
|
this.u.h = this.d;
|
|
828
|
-
this.v = new
|
|
856
|
+
this.v = new XLabel();
|
|
829
857
|
this.l.aj(this.v);
|
|
830
|
-
this.v.
|
|
858
|
+
this.v.df = this.dc;
|
|
831
859
|
this.v.y = this.ac;
|
|
832
860
|
this.u.appendContentChild(this.l.s());
|
|
833
|
-
if (this.
|
|
834
|
-
this.v.text = this.
|
|
861
|
+
if (this.bs != null && this.bs != "") {
|
|
862
|
+
this.v.text = this.bs;
|
|
835
863
|
this.u.inputs.add(this.v);
|
|
836
864
|
}
|
|
837
|
-
this.s = new
|
|
865
|
+
this.s = new XInput();
|
|
838
866
|
this.l.ai(this.s);
|
|
839
|
-
this.s.
|
|
867
|
+
this.s.b3 = "text";
|
|
840
868
|
if (this.aa != null) {
|
|
841
869
|
this.s.ac = this.aa;
|
|
842
870
|
}
|
|
843
|
-
this.s.disabled = !this.
|
|
844
|
-
this.s.
|
|
871
|
+
this.s.disabled = !this.ap;
|
|
872
|
+
this.s.dy = this.dd;
|
|
845
873
|
this.u.appendContentChild(this.l.r());
|
|
846
874
|
this.u.inputs.add(this.s);
|
|
847
|
-
this.s.
|
|
848
|
-
this.l.ao(this.
|
|
875
|
+
this.s.cb = this.bz;
|
|
876
|
+
this.l.ao(this.bz);
|
|
849
877
|
let a = this.s;
|
|
850
|
-
a.change = delegateCombine(a.change, runOn(this, this.
|
|
878
|
+
a.change = delegateCombine(a.change, runOn(this, this.ck));
|
|
851
879
|
let b = this.s;
|
|
852
|
-
b.changing = delegateCombine(b.changing, runOn(this, this.
|
|
880
|
+
b.changing = delegateCombine(b.changing, runOn(this, this.cl));
|
|
853
881
|
let c = this.s;
|
|
854
|
-
c.keyDown = delegateCombine(c.keyDown, runOn(this, this.
|
|
855
|
-
let d = new
|
|
882
|
+
c.keyDown = delegateCombine(c.keyDown, runOn(this, this.cm));
|
|
883
|
+
let d = new XSuffix();
|
|
856
884
|
this.l.al(d, this.l.o());
|
|
857
|
-
this.q = new
|
|
885
|
+
this.q = new XIcon();
|
|
858
886
|
this.l.ag(this.q, this.l.n());
|
|
859
|
-
this.q.svgPath = DatePicker.
|
|
860
|
-
this.q.fill = this.
|
|
887
|
+
this.q.svgPath = DatePicker.bh;
|
|
888
|
+
this.q.fill = this.db;
|
|
861
889
|
d.appendContentChild(this.l.n());
|
|
862
890
|
this.u.appendContentChild(this.l.o());
|
|
863
891
|
this.u.inputs.add(d);
|
|
864
|
-
this.
|
|
865
|
-
let e = new
|
|
892
|
+
this.c3();
|
|
893
|
+
let e = new XSuffix();
|
|
866
894
|
this.l.al(e, this.l.q());
|
|
867
|
-
this.r = new
|
|
895
|
+
this.r = new XIcon();
|
|
868
896
|
this.l.ag(this.r, this.l.p());
|
|
869
|
-
this.r.svgPath = DatePicker.
|
|
870
|
-
this.r.fill = this.
|
|
897
|
+
this.r.svgPath = DatePicker.bg;
|
|
898
|
+
this.r.fill = this.db;
|
|
871
899
|
e.appendContentChild(this.l.p());
|
|
872
900
|
this.u.appendContentChild(this.l.q());
|
|
873
901
|
this.u.inputs.add(e);
|
|
874
902
|
}
|
|
875
|
-
|
|
876
|
-
this.
|
|
903
|
+
cm(a, b) {
|
|
904
|
+
this.cs(b);
|
|
877
905
|
if (b.defaultPrevented) {
|
|
878
906
|
return;
|
|
879
907
|
}
|
|
@@ -881,38 +909,38 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
881
909
|
let d = b.modifiers;
|
|
882
910
|
switch (c) {
|
|
883
911
|
case 9:
|
|
884
|
-
this.
|
|
885
|
-
if (!this.
|
|
886
|
-
this.
|
|
912
|
+
this.an = true;
|
|
913
|
+
if (!this.ao) {
|
|
914
|
+
this.c7(this.s.cj);
|
|
887
915
|
}
|
|
888
916
|
this.ah = true;
|
|
889
|
-
this.
|
|
890
|
-
this.
|
|
917
|
+
this.cc();
|
|
918
|
+
this.an = false;
|
|
891
919
|
break;
|
|
892
920
|
case 13:
|
|
893
|
-
this.
|
|
894
|
-
if (!this.
|
|
895
|
-
this.
|
|
921
|
+
this.an = true;
|
|
922
|
+
if (!this.ao) {
|
|
923
|
+
this.c7(this.s.cj);
|
|
896
924
|
}
|
|
897
925
|
this.ah = true;
|
|
898
|
-
this.
|
|
899
|
-
this.
|
|
926
|
+
this.cc();
|
|
927
|
+
this.an = false;
|
|
900
928
|
break;
|
|
901
929
|
case 40:
|
|
902
930
|
if (d == 1) {
|
|
903
|
-
this.
|
|
904
|
-
this.
|
|
931
|
+
this.cw();
|
|
932
|
+
this.ch();
|
|
905
933
|
}
|
|
906
934
|
break;
|
|
907
935
|
case 38:
|
|
908
936
|
if (d == 1) {
|
|
909
|
-
this.
|
|
937
|
+
this.cc();
|
|
910
938
|
}
|
|
911
939
|
break;
|
|
912
940
|
}
|
|
913
941
|
}
|
|
914
|
-
|
|
915
|
-
this.
|
|
942
|
+
cl(a, b) {
|
|
943
|
+
this.co(b);
|
|
916
944
|
if (b.value.length > 0) {
|
|
917
945
|
this.l.am();
|
|
918
946
|
}
|
|
@@ -920,12 +948,12 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
920
948
|
this.l.ab();
|
|
921
949
|
}
|
|
922
950
|
}
|
|
923
|
-
|
|
924
|
-
this.
|
|
925
|
-
this.
|
|
926
|
-
this.
|
|
951
|
+
ck(a, b) {
|
|
952
|
+
this.ao = true;
|
|
953
|
+
this.c7(b.value);
|
|
954
|
+
this.ao = false;
|
|
927
955
|
}
|
|
928
|
-
|
|
956
|
+
c7(a) {
|
|
929
957
|
let b = ['/', '-', ' ', '.', ','];
|
|
930
958
|
let c = stringSplit(a, b, 1);
|
|
931
959
|
let d = 0;
|
|
@@ -936,17 +964,17 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
936
964
|
if (c[0].length == 0 || c[1].length == 0 || c[2].length == 0) {
|
|
937
965
|
g = false;
|
|
938
966
|
}
|
|
939
|
-
if (this.
|
|
967
|
+
if (this.a7 == "dmy") {
|
|
940
968
|
d = parseInt(c[0]);
|
|
941
969
|
e = parseInt(c[1]);
|
|
942
970
|
f = parseInt(c[2]);
|
|
943
971
|
}
|
|
944
|
-
else if (this.
|
|
972
|
+
else if (this.a7 == "mdy") {
|
|
945
973
|
e = parseInt(c[0]);
|
|
946
974
|
d = parseInt(c[1]);
|
|
947
975
|
f = parseInt(c[2]);
|
|
948
976
|
}
|
|
949
|
-
else if (this.
|
|
977
|
+
else if (this.a7 == "ymd") {
|
|
950
978
|
f = parseInt(c[0]);
|
|
951
979
|
e = parseInt(c[1]);
|
|
952
980
|
d = parseInt(c[2]);
|
|
@@ -959,13 +987,13 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
959
987
|
}
|
|
960
988
|
if (isNaN_(e)) {
|
|
961
989
|
let h = "";
|
|
962
|
-
if (this.
|
|
990
|
+
if (this.a7 == "dmy") {
|
|
963
991
|
h = c[1].toLowerCase();
|
|
964
992
|
}
|
|
965
|
-
else if (this.
|
|
993
|
+
else if (this.a7 == "mdy") {
|
|
966
994
|
h = c[0].toLowerCase();
|
|
967
995
|
}
|
|
968
|
-
else if (this.
|
|
996
|
+
else if (this.a7 == "ymd") {
|
|
969
997
|
h = c[1].toLowerCase();
|
|
970
998
|
}
|
|
971
999
|
let i = !stringIsNullOrWhiteSpace(this.af.b1("January_Full")) ? this.af.b1("January_Full").toLowerCase() : "january";
|
|
@@ -1041,41 +1069,41 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
1041
1069
|
}
|
|
1042
1070
|
if (g) {
|
|
1043
1071
|
let ag = dateFromValues(f, e, d, 0, 0, 0, 0);
|
|
1044
|
-
let ah = Base.compareSimple(ag, this.
|
|
1045
|
-
let ai = Base.compareSimple(ag, this.
|
|
1072
|
+
let ah = Base.compareSimple(ag, this.a1);
|
|
1073
|
+
let ai = Base.compareSimple(ag, this.a0);
|
|
1046
1074
|
if (ah < 0 || ai > 0) {
|
|
1047
|
-
this.
|
|
1075
|
+
this.c3();
|
|
1048
1076
|
}
|
|
1049
1077
|
else {
|
|
1050
|
-
this.
|
|
1078
|
+
this.c6(ag);
|
|
1051
1079
|
this.l.am();
|
|
1052
1080
|
}
|
|
1053
1081
|
}
|
|
1054
1082
|
else {
|
|
1055
|
-
this.
|
|
1083
|
+
this.c3();
|
|
1056
1084
|
}
|
|
1057
1085
|
}
|
|
1058
|
-
|
|
1059
|
-
let b = this.
|
|
1060
|
-
this.
|
|
1086
|
+
c6(a) {
|
|
1087
|
+
let b = this.a3;
|
|
1088
|
+
this.a3 = a;
|
|
1061
1089
|
}
|
|
1062
|
-
|
|
1090
|
+
c3() {
|
|
1063
1091
|
if (this.s != null) {
|
|
1064
|
-
if (+(this.
|
|
1092
|
+
if (+(this.az) != +(dateMinValue())) {
|
|
1065
1093
|
let a = "";
|
|
1066
|
-
if (this.
|
|
1067
|
-
a = this.e.i(this.
|
|
1094
|
+
if (this.bo == null) {
|
|
1095
|
+
a = this.e.i(this.a3);
|
|
1068
1096
|
}
|
|
1069
1097
|
else {
|
|
1070
|
-
let b = this.
|
|
1098
|
+
let b = this.a3.getDate().toString();
|
|
1071
1099
|
let c = b;
|
|
1072
|
-
if (this.
|
|
1073
|
-
if (this.
|
|
1100
|
+
if (this.a6 == "dd") {
|
|
1101
|
+
if (this.a3.getDate() < 10) {
|
|
1074
1102
|
b = "0" + b;
|
|
1075
1103
|
}
|
|
1076
1104
|
}
|
|
1077
|
-
else if (this.
|
|
1078
|
-
switch (this.
|
|
1105
|
+
else if (this.a6 == "ddd") {
|
|
1106
|
+
switch (this.a3.getDay()) {
|
|
1079
1107
|
case 0:
|
|
1080
1108
|
b = !stringIsNullOrWhiteSpace(this.af.b1("Sunday_Short")) ? this.af.b1("Sunday_Short") : "Sun";
|
|
1081
1109
|
break;
|
|
@@ -1099,8 +1127,8 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
1099
1127
|
break;
|
|
1100
1128
|
}
|
|
1101
1129
|
}
|
|
1102
|
-
else if (this.
|
|
1103
|
-
switch (this.
|
|
1130
|
+
else if (this.a6 == "dddd") {
|
|
1131
|
+
switch (this.a3.getDay()) {
|
|
1104
1132
|
case 0:
|
|
1105
1133
|
b = !stringIsNullOrWhiteSpace(this.af.b1("Sunday_Full")) ? this.af.b1("Sunday_Full") : "Sunday";
|
|
1106
1134
|
break;
|
|
@@ -1124,14 +1152,14 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
1124
1152
|
break;
|
|
1125
1153
|
}
|
|
1126
1154
|
}
|
|
1127
|
-
let d = dateGetMonth(this.
|
|
1128
|
-
if (this.
|
|
1129
|
-
if (dateGetMonth(this.
|
|
1155
|
+
let d = dateGetMonth(this.a3).toString();
|
|
1156
|
+
if (this.ba == "mm") {
|
|
1157
|
+
if (dateGetMonth(this.a3) < 10) {
|
|
1130
1158
|
d = "0" + d;
|
|
1131
1159
|
}
|
|
1132
1160
|
}
|
|
1133
|
-
else if (this.
|
|
1134
|
-
switch (dateGetMonth(this.
|
|
1161
|
+
else if (this.ba == "mmm") {
|
|
1162
|
+
switch (dateGetMonth(this.a3)) {
|
|
1135
1163
|
case 1:
|
|
1136
1164
|
d = !stringIsNullOrWhiteSpace(this.af.b1("January_Short")) ? this.af.b1("January_Short") : "Jan";
|
|
1137
1165
|
break;
|
|
@@ -1170,8 +1198,8 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
1170
1198
|
break;
|
|
1171
1199
|
}
|
|
1172
1200
|
}
|
|
1173
|
-
else if (this.
|
|
1174
|
-
switch (dateGetMonth(this.
|
|
1201
|
+
else if (this.ba == "mmmm") {
|
|
1202
|
+
switch (dateGetMonth(this.a3)) {
|
|
1175
1203
|
case 1:
|
|
1176
1204
|
d = !stringIsNullOrWhiteSpace(this.af.b1("January_Full")) ? this.af.b1("January_Full") : "January";
|
|
1177
1205
|
break;
|
|
@@ -1210,105 +1238,108 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
1210
1238
|
break;
|
|
1211
1239
|
}
|
|
1212
1240
|
}
|
|
1213
|
-
let e = this.
|
|
1214
|
-
if (this.
|
|
1241
|
+
let e = this.a3.getFullYear().toString();
|
|
1242
|
+
if (this.bd == "yy") {
|
|
1215
1243
|
e = e.substr(2);
|
|
1216
1244
|
}
|
|
1217
|
-
if (this.
|
|
1218
|
-
if (this.
|
|
1219
|
-
a = b + this.
|
|
1245
|
+
if (this.a7 == "dmy") {
|
|
1246
|
+
if (this.a6 == "ddd" || this.a6 == "dddd") {
|
|
1247
|
+
a = b + this.bc + d + " " + c + this.bc + e;
|
|
1220
1248
|
}
|
|
1221
1249
|
else {
|
|
1222
|
-
a = b + this.
|
|
1250
|
+
a = b + this.bc + d + this.bc + e;
|
|
1223
1251
|
}
|
|
1224
1252
|
}
|
|
1225
|
-
else if (this.
|
|
1226
|
-
if (this.
|
|
1227
|
-
a = d + " " + c + this.
|
|
1253
|
+
else if (this.a7 == "mdy") {
|
|
1254
|
+
if (this.a6 == "ddd" || this.a6 == "dddd") {
|
|
1255
|
+
a = d + " " + c + this.bc + b + this.bc + e;
|
|
1228
1256
|
}
|
|
1229
1257
|
else {
|
|
1230
|
-
a = d + this.
|
|
1258
|
+
a = d + this.bc + b + this.bc + e;
|
|
1231
1259
|
}
|
|
1232
1260
|
}
|
|
1233
|
-
else if (this.
|
|
1234
|
-
if (this.
|
|
1235
|
-
a = e + this.
|
|
1261
|
+
else if (this.a7 == "ymd") {
|
|
1262
|
+
if (this.a6 == "ddd" || this.a6 == "dddd") {
|
|
1263
|
+
a = e + this.bc + d + " " + c + this.bc + b;
|
|
1236
1264
|
}
|
|
1237
1265
|
else {
|
|
1238
|
-
a = e + this.
|
|
1266
|
+
a = e + this.bc + d + this.bc + b;
|
|
1239
1267
|
}
|
|
1240
1268
|
}
|
|
1241
1269
|
}
|
|
1242
|
-
this.s.
|
|
1270
|
+
this.s.cj = a;
|
|
1243
1271
|
this.l.am();
|
|
1244
1272
|
}
|
|
1245
1273
|
else {
|
|
1246
|
-
this.s.
|
|
1274
|
+
this.s.cj = "";
|
|
1247
1275
|
this.l.ab();
|
|
1248
1276
|
}
|
|
1249
1277
|
}
|
|
1250
1278
|
}
|
|
1251
|
-
|
|
1279
|
+
cb() {
|
|
1252
1280
|
if (this.s != null) {
|
|
1253
|
-
this.s.
|
|
1281
|
+
this.s.cj = "";
|
|
1254
1282
|
}
|
|
1255
|
-
this.
|
|
1283
|
+
this.a3 = dateMinValue();
|
|
1256
1284
|
this.g.ch();
|
|
1257
1285
|
}
|
|
1258
|
-
|
|
1286
|
+
ce() {
|
|
1259
1287
|
this.y = new Popup();
|
|
1260
1288
|
this.l.ak(this.y);
|
|
1261
1289
|
this.g = new Calendar();
|
|
1262
1290
|
this.l.af(this.g);
|
|
1263
|
-
if (+(this.
|
|
1264
|
-
this.g.au = this.
|
|
1291
|
+
if (+(this.a1) != +(dateMinValue())) {
|
|
1292
|
+
this.g.au = this.a1;
|
|
1265
1293
|
}
|
|
1266
|
-
if (+(this.
|
|
1267
|
-
this.g.at = this.
|
|
1294
|
+
if (+(this.a0) != +(dateMaxValue())) {
|
|
1295
|
+
this.g.at = this.a0;
|
|
1268
1296
|
}
|
|
1269
|
-
if (+(this.
|
|
1270
|
-
this.g.av = this.
|
|
1297
|
+
if (+(this.a2) != +(dateMinValue())) {
|
|
1298
|
+
this.g.av = this.a2;
|
|
1271
1299
|
}
|
|
1272
|
-
this.g.ae = this.
|
|
1300
|
+
this.g.ae = this.at;
|
|
1273
1301
|
this.g.p = this.n;
|
|
1274
|
-
this.g.af = this.
|
|
1302
|
+
this.g.af = this.au;
|
|
1275
1303
|
this.g.s = this.p;
|
|
1276
1304
|
let a = this.g;
|
|
1277
|
-
a.valueChanged = delegateCombine(a.valueChanged, runOn(this, this.
|
|
1305
|
+
a.valueChanged = delegateCombine(a.valueChanged, runOn(this, this.b9));
|
|
1278
1306
|
let b = this.g;
|
|
1279
|
-
b.close = delegateCombine(b.close, runOn(this, this.
|
|
1307
|
+
b.close = delegateCombine(b.close, runOn(this, this.b8));
|
|
1280
1308
|
this.y.appendPopupContent(this.l.m());
|
|
1281
1309
|
}
|
|
1282
|
-
|
|
1283
|
-
this.
|
|
1310
|
+
b9(a, b) {
|
|
1311
|
+
this.a3 = b.newValue;
|
|
1284
1312
|
}
|
|
1285
|
-
|
|
1313
|
+
b8(a) {
|
|
1286
1314
|
if (this.y.t) {
|
|
1287
1315
|
this.ah = true;
|
|
1288
|
-
this.
|
|
1316
|
+
this.cc();
|
|
1289
1317
|
}
|
|
1290
1318
|
}
|
|
1291
|
-
|
|
1319
|
+
cj() {
|
|
1292
1320
|
if (this.ah == false) {
|
|
1293
1321
|
if (this.y.t) {
|
|
1294
|
-
this.
|
|
1322
|
+
this.cc();
|
|
1295
1323
|
}
|
|
1296
1324
|
else {
|
|
1297
|
-
this.
|
|
1325
|
+
this.cw();
|
|
1298
1326
|
}
|
|
1299
1327
|
}
|
|
1300
1328
|
else {
|
|
1301
1329
|
this.ah = false;
|
|
1302
1330
|
}
|
|
1303
1331
|
}
|
|
1304
|
-
|
|
1332
|
+
cw() {
|
|
1333
|
+
if (this.aq) {
|
|
1334
|
+
return;
|
|
1335
|
+
}
|
|
1305
1336
|
let a = this.l.ap();
|
|
1306
1337
|
if (this.y != null) {
|
|
1307
1338
|
this.y.showRelativeToExclusionRect(a, 0, 0);
|
|
1308
1339
|
}
|
|
1309
1340
|
this.l.an(true);
|
|
1310
1341
|
}
|
|
1311
|
-
|
|
1342
|
+
cc() {
|
|
1312
1343
|
if (this.y != null) {
|
|
1313
1344
|
window.setTimeout(() => this.y.ao(), 0);
|
|
1314
1345
|
}
|
|
@@ -1322,18 +1353,18 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
1322
1353
|
if (this.s != null) {
|
|
1323
1354
|
this.s.focus(a);
|
|
1324
1355
|
}
|
|
1325
|
-
if (!this.y.t && this.
|
|
1356
|
+
if (!this.y.t && this.ar == true) {
|
|
1326
1357
|
if (this.ah == false) {
|
|
1327
|
-
if (this.
|
|
1328
|
-
this.
|
|
1358
|
+
if (this.ap == false) {
|
|
1359
|
+
this.cw();
|
|
1329
1360
|
this.ah = true;
|
|
1330
|
-
window.setTimeout(() => this.
|
|
1361
|
+
window.setTimeout(() => this.ch(), 0);
|
|
1331
1362
|
}
|
|
1332
1363
|
else {
|
|
1333
|
-
if (this.
|
|
1334
|
-
this.
|
|
1364
|
+
if (this.ar == true && this.an == false) {
|
|
1365
|
+
this.cw();
|
|
1335
1366
|
this.ah = true;
|
|
1336
|
-
window.setTimeout(() => this.
|
|
1367
|
+
window.setTimeout(() => this.ch(), 0);
|
|
1337
1368
|
}
|
|
1338
1369
|
}
|
|
1339
1370
|
}
|
|
@@ -1342,33 +1373,33 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
1342
1373
|
}
|
|
1343
1374
|
}
|
|
1344
1375
|
}
|
|
1345
|
-
|
|
1376
|
+
ci() {
|
|
1346
1377
|
this.ah = false;
|
|
1347
1378
|
}
|
|
1348
|
-
|
|
1379
|
+
cz() {
|
|
1349
1380
|
if (this.s != null) {
|
|
1350
|
-
this.s.
|
|
1381
|
+
this.s.dg();
|
|
1351
1382
|
}
|
|
1352
1383
|
}
|
|
1353
|
-
|
|
1384
|
+
ch() {
|
|
1354
1385
|
this.g.cq();
|
|
1355
1386
|
}
|
|
1356
|
-
|
|
1387
|
+
cp() {
|
|
1357
1388
|
let a = new GotFocusEventArgs();
|
|
1358
|
-
this.
|
|
1389
|
+
this.cr(a);
|
|
1359
1390
|
}
|
|
1360
|
-
|
|
1391
|
+
cq() {
|
|
1361
1392
|
let a = new LostFocusEventArgs();
|
|
1362
|
-
this.
|
|
1393
|
+
this.ct(a);
|
|
1363
1394
|
}
|
|
1364
|
-
|
|
1395
|
+
c1() {
|
|
1365
1396
|
}
|
|
1366
|
-
|
|
1397
|
+
c0() {
|
|
1367
1398
|
}
|
|
1368
|
-
|
|
1399
|
+
a5() {
|
|
1369
1400
|
return this.f();
|
|
1370
1401
|
}
|
|
1371
|
-
|
|
1402
|
+
bl() {
|
|
1372
1403
|
let a = this.f();
|
|
1373
1404
|
return a.g();
|
|
1374
1405
|
}
|
|
@@ -1409,30 +1440,30 @@ export let DatePicker = /*@__PURE__*/ (() => {
|
|
|
1409
1440
|
}
|
|
1410
1441
|
return a;
|
|
1411
1442
|
}
|
|
1412
|
-
|
|
1443
|
+
cr(a) {
|
|
1413
1444
|
if (null != this.gotFocus) {
|
|
1414
1445
|
this.gotFocus(this, a);
|
|
1415
1446
|
}
|
|
1416
1447
|
}
|
|
1417
|
-
|
|
1448
|
+
ct(a) {
|
|
1418
1449
|
if (null != this.lostFocus) {
|
|
1419
1450
|
this.lostFocus(this, a);
|
|
1420
1451
|
}
|
|
1421
1452
|
}
|
|
1422
|
-
|
|
1453
|
+
cs(a) {
|
|
1423
1454
|
if (null != this.keyDown) {
|
|
1424
1455
|
this.keyDown(this, a);
|
|
1425
1456
|
}
|
|
1426
1457
|
}
|
|
1427
|
-
|
|
1458
|
+
co(a) {
|
|
1428
1459
|
if (null != this.changing) {
|
|
1429
1460
|
this.changing(this, a);
|
|
1430
1461
|
}
|
|
1431
1462
|
}
|
|
1432
1463
|
}
|
|
1433
1464
|
DatePicker.$t = /*@__PURE__*/ markType(DatePicker, 'DatePicker', Base.$, [INotifyPropertyChanged_$type]);
|
|
1434
|
-
DatePicker.
|
|
1435
|
-
DatePicker.
|
|
1465
|
+
DatePicker.bg = "M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 18H4V8h16v13z";
|
|
1466
|
+
DatePicker.bh = "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z";
|
|
1436
1467
|
DatePicker.ab = null;
|
|
1437
1468
|
return DatePicker;
|
|
1438
1469
|
})();
|