@zeedhi/common 1.124.0 → 1.125.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.
@@ -3960,7 +3960,7 @@ class Date$1 extends TextInput {
3960
3960
  /**
3961
3961
  * Width of the picker.
3962
3962
  */
3963
- this.width = 248;
3963
+ this.pickerWidth = 248;
3964
3964
  this.isoFormat = 'YYYY-MM-DD';
3965
3965
  this.dateError = false;
3966
3966
  this.formatterFn = FormatterParserProvider.getFormatter('ZdDate');
@@ -3986,7 +3986,7 @@ class Date$1 extends TextInput {
3986
3986
  this.helperValue = this.getInitValue('helperValue', props.helperValue, this.helperValue);
3987
3987
  this.min = this.getInitValue('min', props.min, this.min);
3988
3988
  this.max = this.getInitValue('max', props.max, this.max);
3989
- this.width = this.getInitValue('width', props.width, this.width);
3989
+ this.pickerWidth = this.getInitValue('pickerWidth', props.width || props.pickerWidth, this.pickerWidth);
3990
3990
  this.mask = this.getInitValue('mask', props.mask, undefined);
3991
3991
  this.createAccessors();
3992
3992
  this.initialMask = this.getInitialMask();
@@ -4361,7 +4361,7 @@ class DateRange extends TextInput {
4361
4361
  /**
4362
4362
  * Width of the picker.
4363
4363
  */
4364
- this.width = 248;
4364
+ this.pickerWidth = 248;
4365
4365
  /**
4366
4366
  * Helper options.
4367
4367
  */
@@ -4398,7 +4398,7 @@ class DateRange extends TextInput {
4398
4398
  this.showDatePicker = this.getInitValue('showDatePicker', props.showDatePicker, this.showDatePicker);
4399
4399
  this.showWeek = this.getInitValue('showWeek', props.showWeek, this.showWeek);
4400
4400
  this.splitter = this.getInitValue('splitter', props.splitter, this.internalSplitter);
4401
- this.width = this.getInitValue('width', props.width, this.width);
4401
+ this.pickerWidth = this.getInitValue('pickerWidth', props.width || props.pickerWidth, this.pickerWidth);
4402
4402
  this.mask = this.getInitValue('mask', props.mask, undefined);
4403
4403
  this.helperOptions = this.getInitValue('helperOptions', props.helperOptions, this.helperOptions);
4404
4404
  this.helperValue = this.getInitValue('helperValue', props.helperValue, this.helperValue);
@@ -14561,7 +14561,7 @@ class Time extends TextInput {
14561
14561
  /**
14562
14562
  * Width of the picker.
14563
14563
  */
14564
- this.width = 290;
14564
+ this.pickerWidth = 248;
14565
14565
  this.formatterFn = FormatterParserProvider.getFormatter('ZdTime');
14566
14566
  this.parserFn = FormatterParserProvider.getParser('ZdTime');
14567
14567
  this.isoFormatValue = 'HH:mm';
@@ -14587,7 +14587,7 @@ class Time extends TextInput {
14587
14587
  this.scrollable = this.getInitValue('scrollable', props.scrollable, this.scrollable);
14588
14588
  this.showTimePicker = this.getInitValue('showTimePicker', props.showTimePicker, this.showTimePicker);
14589
14589
  this.useSeconds = this.getInitValue('useSeconds', props.useSeconds, this.useSeconds);
14590
- this.width = this.getInitValue('width', props.width, this.width);
14590
+ this.pickerWidth = this.getInitValue('pickerWidth', props.pickerWidth, this.pickerWidth);
14591
14591
  this.autofill = this.getInitValue('autofill', props.autofill, this.autofill);
14592
14592
  this.timeValidation = this.timeValidation.bind(this);
14593
14593
  this.valueFormat = this.getInitValue('valueFormat', props.valueFormat, this.valueFormatInternal);
@@ -3967,7 +3967,7 @@
3967
3967
  /**
3968
3968
  * Width of the picker.
3969
3969
  */
3970
- this.width = 248;
3970
+ this.pickerWidth = 248;
3971
3971
  this.isoFormat = 'YYYY-MM-DD';
3972
3972
  this.dateError = false;
3973
3973
  this.formatterFn = core.FormatterParserProvider.getFormatter('ZdDate');
@@ -3993,7 +3993,7 @@
3993
3993
  this.helperValue = this.getInitValue('helperValue', props.helperValue, this.helperValue);
3994
3994
  this.min = this.getInitValue('min', props.min, this.min);
3995
3995
  this.max = this.getInitValue('max', props.max, this.max);
3996
- this.width = this.getInitValue('width', props.width, this.width);
3996
+ this.pickerWidth = this.getInitValue('pickerWidth', props.width || props.pickerWidth, this.pickerWidth);
3997
3997
  this.mask = this.getInitValue('mask', props.mask, undefined);
3998
3998
  this.createAccessors();
3999
3999
  this.initialMask = this.getInitialMask();
@@ -4368,7 +4368,7 @@
4368
4368
  /**
4369
4369
  * Width of the picker.
4370
4370
  */
4371
- this.width = 248;
4371
+ this.pickerWidth = 248;
4372
4372
  /**
4373
4373
  * Helper options.
4374
4374
  */
@@ -4405,7 +4405,7 @@
4405
4405
  this.showDatePicker = this.getInitValue('showDatePicker', props.showDatePicker, this.showDatePicker);
4406
4406
  this.showWeek = this.getInitValue('showWeek', props.showWeek, this.showWeek);
4407
4407
  this.splitter = this.getInitValue('splitter', props.splitter, this.internalSplitter);
4408
- this.width = this.getInitValue('width', props.width, this.width);
4408
+ this.pickerWidth = this.getInitValue('pickerWidth', props.width || props.pickerWidth, this.pickerWidth);
4409
4409
  this.mask = this.getInitValue('mask', props.mask, undefined);
4410
4410
  this.helperOptions = this.getInitValue('helperOptions', props.helperOptions, this.helperOptions);
4411
4411
  this.helperValue = this.getInitValue('helperValue', props.helperValue, this.helperValue);
@@ -14568,7 +14568,7 @@
14568
14568
  /**
14569
14569
  * Width of the picker.
14570
14570
  */
14571
- this.width = 290;
14571
+ this.pickerWidth = 248;
14572
14572
  this.formatterFn = core.FormatterParserProvider.getFormatter('ZdTime');
14573
14573
  this.parserFn = core.FormatterParserProvider.getParser('ZdTime');
14574
14574
  this.isoFormatValue = 'HH:mm';
@@ -14594,7 +14594,7 @@
14594
14594
  this.scrollable = this.getInitValue('scrollable', props.scrollable, this.scrollable);
14595
14595
  this.showTimePicker = this.getInitValue('showTimePicker', props.showTimePicker, this.showTimePicker);
14596
14596
  this.useSeconds = this.getInitValue('useSeconds', props.useSeconds, this.useSeconds);
14597
- this.width = this.getInitValue('width', props.width, this.width);
14597
+ this.pickerWidth = this.getInitValue('pickerWidth', props.pickerWidth, this.pickerWidth);
14598
14598
  this.autofill = this.getInitValue('autofill', props.autofill, this.autofill);
14599
14599
  this.timeValidation = this.timeValidation.bind(this);
14600
14600
  this.valueFormat = this.getInitValue('valueFormat', props.valueFormat, this.valueFormatInternal);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeedhi/common",
3
- "version": "1.124.0",
3
+ "version": "1.125.0",
4
4
  "description": "Zeedhi Common",
5
5
  "author": "Zeedhi <zeedhi@teknisa.com>",
6
6
  "license": "ISC",
@@ -43,5 +43,5 @@
43
43
  "lodash.times": "4.3.*",
44
44
  "mockdate": "3.0.*"
45
45
  },
46
- "gitHead": "120616c6e887ac9554014048404f98fb894b87f2"
46
+ "gitHead": "f60e2accfe8411d446d5acd8c4f64d224b896263"
47
47
  }
@@ -65,7 +65,7 @@ export declare class DateRange extends TextInput implements IDateRange {
65
65
  /**
66
66
  * Width of the picker.
67
67
  */
68
- width: number | string;
68
+ pickerWidth: number | string;
69
69
  /**
70
70
  * Helper options.
71
71
  */
@@ -75,7 +75,7 @@ export declare class Date extends TextInput implements IDate {
75
75
  /**
76
76
  * Width of the picker.
77
77
  */
78
- width: number | string;
78
+ pickerWidth: number | string;
79
79
  protected isoFormat: string;
80
80
  protected dateError: boolean;
81
81
  protected formatterFn: Function;
@@ -19,7 +19,7 @@ export interface IDate extends ITextInput {
19
19
  scrollable?: boolean;
20
20
  showDatePicker?: boolean;
21
21
  showWeek?: boolean;
22
- width?: number | string;
22
+ pickerWidth?: number | string;
23
23
  orderedDates?: boolean;
24
24
  helperOptions?: string[];
25
25
  helperValue?: string;
@@ -20,4 +20,5 @@ export interface ITime extends ITextInput {
20
20
  useSeconds?: boolean;
21
21
  valueFormat?: string;
22
22
  inputFormat?: string;
23
+ pickerWidth?: number | string;
23
24
  }
@@ -55,7 +55,7 @@ export declare class Time extends TextInput implements ITime {
55
55
  /**
56
56
  * Width of the picker.
57
57
  */
58
- width: number | string;
58
+ pickerWidth: number | string;
59
59
  protected formatterFn: Function;
60
60
  protected parserFn: Function;
61
61
  private isoFormatValue;