@siemens/ix 1.0.0 → 1.1.0-beta.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.
Files changed (159) hide show
  1. package/README.md +4 -0
  2. package/dist/cjs/ix-blind.cjs.entry.js +1 -1
  3. package/dist/cjs/ix-breadcrumb_2.cjs.entry.js +1 -1
  4. package/dist/cjs/ix-button.cjs.entry.js +1 -1
  5. package/dist/cjs/ix-category-filter.cjs.entry.js +1 -1
  6. package/dist/cjs/ix-chip.cjs.entry.js +1 -1
  7. package/dist/cjs/ix-date-picker_2.cjs.entry.js +214 -56
  8. package/dist/cjs/ix-date-time-card.cjs.entry.js +1 -1
  9. package/dist/cjs/ix-datetime-picker.cjs.entry.js +79 -10
  10. package/dist/cjs/ix-dropdown_2.cjs.entry.js +1 -1
  11. package/dist/cjs/ix-event-list_2.cjs.entry.js +3 -3
  12. package/dist/cjs/ix-expanding-search.cjs.entry.js +2 -1
  13. package/dist/cjs/ix-filter-chip.cjs.entry.js +1 -1
  14. package/dist/cjs/ix-map-navigation_2.cjs.entry.js +0 -25
  15. package/dist/cjs/ix-menu_9.cjs.entry.js +32 -16
  16. package/dist/cjs/ix-select_2.cjs.entry.js +1 -1
  17. package/dist/cjs/ix-tile.cjs.entry.js +1 -1
  18. package/dist/cjs/ix-toast_2.cjs.entry.js +4 -0
  19. package/dist/cjs/ix-tree_2.cjs.entry.js +1 -1
  20. package/dist/cjs/ix-validation-tooltip.cjs.entry.js +1 -1
  21. package/dist/cjs/{ix-workflow-step.cjs.entry.js → ix-workflow-step_2.cjs.entry.js} +77 -0
  22. package/dist/cjs/loader.cjs.js +1 -1
  23. package/dist/cjs/siemens-ix.cjs.js +1 -1
  24. package/dist/collection/collection-manifest.json +6 -0
  25. package/dist/collection/components/blind/blind.css +1 -1
  26. package/dist/collection/components/breadcrumb/breadcrumb.css +1 -1
  27. package/dist/collection/components/button/button.css +3 -0
  28. package/dist/collection/components/button/button.js +1 -1
  29. package/dist/collection/components/category-filter/category-filter.css +2 -3
  30. package/dist/collection/components/chip/chip.css +8 -8
  31. package/dist/collection/components/date-picker/date-picker.css +51 -49
  32. package/dist/collection/components/date-picker/date-picker.js +371 -57
  33. package/dist/collection/components/date-picker/events.js +1 -0
  34. package/dist/collection/components/date-time-card/date-time-card.css +3 -1
  35. package/dist/collection/components/datetime-picker/datetime-picker.css +12 -3
  36. package/dist/collection/components/datetime-picker/datetime-picker.js +361 -21
  37. package/dist/collection/components/datetime-picker/event.js +9 -0
  38. package/dist/collection/components/dropdown/dropdown.css +1 -1
  39. package/dist/collection/components/event-list/event-list.css +2 -2
  40. package/dist/collection/components/event-list-item/event-list-item.css +36 -19
  41. package/dist/collection/components/event-list-item/event-list-item.js +2 -2
  42. package/dist/collection/components/expanding-search/expanding-search.css +6 -3
  43. package/dist/collection/components/expanding-search/expanding-search.js +1 -0
  44. package/dist/collection/components/filter-chip/filter-chip.css +2 -2
  45. package/dist/collection/components/map-navigation/map-navigation.js +1 -28
  46. package/dist/collection/components/menu/menu.js +36 -17
  47. package/dist/collection/components/menu-about/menu-about.js +13 -34
  48. package/dist/collection/components/menu-item/menu-item.css +2 -2
  49. package/dist/collection/components/menu-settings/menu-settings.js +1 -1
  50. package/dist/collection/components/select/select.css +1 -1
  51. package/dist/collection/components/tile/tile.css +1 -1
  52. package/dist/collection/components/time-picker/time-picker.js +188 -31
  53. package/dist/collection/components/toast/toast.js +6 -1
  54. package/dist/collection/components/tree-item/tree-item.css +9 -3
  55. package/dist/collection/components/validation-tooltip/validation-tooltip.css +2 -1
  56. package/dist/collection/exports.js +2 -0
  57. package/dist/components/button.js +2 -2
  58. package/dist/components/date-picker.js +162 -45
  59. package/dist/components/date-time-card.js +1 -1
  60. package/dist/components/dropdown.js +1 -1
  61. package/dist/components/filter-chip.js +1 -1
  62. package/dist/components/ix-blind.js +1 -1
  63. package/dist/components/ix-breadcrumb.js +1 -1
  64. package/dist/components/ix-category-filter.js +1 -1
  65. package/dist/components/ix-chip.js +1 -1
  66. package/dist/components/ix-datetime-picker.js +90 -11
  67. package/dist/components/ix-event-list-item.js +2 -2
  68. package/dist/components/ix-event-list.js +1 -1
  69. package/dist/components/ix-expanding-search.js +2 -1
  70. package/dist/components/ix-map-navigation.js +6 -51
  71. package/dist/components/ix-menu-about.js +115 -1
  72. package/dist/components/ix-menu.js +20 -2
  73. package/dist/components/ix-select.js +1 -1
  74. package/dist/components/ix-tile.js +1 -1
  75. package/dist/components/ix-validation-tooltip.js +1 -1
  76. package/dist/components/menu-item.js +1 -1
  77. package/dist/components/time-picker.js +70 -17
  78. package/dist/components/toast.js +4 -0
  79. package/dist/components/tree-item.js +1 -1
  80. package/dist/esm/ix-blind.entry.js +1 -1
  81. package/dist/esm/ix-breadcrumb_2.entry.js +1 -1
  82. package/dist/esm/ix-button.entry.js +1 -1
  83. package/dist/esm/ix-category-filter.entry.js +1 -1
  84. package/dist/esm/ix-chip.entry.js +1 -1
  85. package/dist/esm/ix-date-picker_2.entry.js +214 -56
  86. package/dist/esm/ix-date-time-card.entry.js +1 -1
  87. package/dist/esm/ix-datetime-picker.entry.js +79 -10
  88. package/dist/esm/ix-dropdown_2.entry.js +1 -1
  89. package/dist/esm/ix-event-list_2.entry.js +3 -3
  90. package/dist/esm/ix-expanding-search.entry.js +2 -1
  91. package/dist/esm/ix-filter-chip.entry.js +1 -1
  92. package/dist/esm/ix-map-navigation_2.entry.js +0 -25
  93. package/dist/esm/ix-menu_9.entry.js +32 -16
  94. package/dist/esm/ix-select_2.entry.js +1 -1
  95. package/dist/esm/ix-tile.entry.js +1 -1
  96. package/dist/esm/ix-toast_2.entry.js +4 -0
  97. package/dist/esm/ix-tree_2.entry.js +1 -1
  98. package/dist/esm/ix-validation-tooltip.entry.js +1 -1
  99. package/dist/esm/{ix-workflow-step.entry.js → ix-workflow-step_2.entry.js} +78 -2
  100. package/dist/esm/loader.js +1 -1
  101. package/dist/esm/siemens-ix.js +1 -1
  102. package/dist/siemens-ix/p-02501b64.entry.js +1 -0
  103. package/dist/siemens-ix/{p-03d95feb.entry.js → p-1d56d9b6.entry.js} +1 -1
  104. package/dist/siemens-ix/p-2b7ed5d4.entry.js +1 -0
  105. package/dist/siemens-ix/p-334b7d5c.entry.js +1 -0
  106. package/dist/siemens-ix/{p-cde8f20e.entry.js → p-4287bd7e.entry.js} +1 -1
  107. package/dist/siemens-ix/{p-7ec8a00e.entry.js → p-52d99490.entry.js} +1 -1
  108. package/dist/siemens-ix/{p-2cda7278.entry.js → p-5fed62f8.entry.js} +1 -1
  109. package/dist/siemens-ix/p-71de6498.entry.js +1 -0
  110. package/dist/siemens-ix/p-77823732.entry.js +1 -0
  111. package/dist/siemens-ix/{p-2ce29bcd.entry.js → p-94b86dec.entry.js} +1 -1
  112. package/dist/siemens-ix/{p-40842bea.entry.js → p-a49005f3.entry.js} +1 -1
  113. package/dist/siemens-ix/{p-e1f54836.entry.js → p-a8396077.entry.js} +1 -1
  114. package/dist/siemens-ix/{p-504927a0.entry.js → p-b93c2fab.entry.js} +1 -1
  115. package/dist/siemens-ix/p-bf5513a0.entry.js +1 -0
  116. package/dist/siemens-ix/p-c0c9fb81.entry.js +1 -0
  117. package/dist/siemens-ix/p-c792adb4.entry.js +1 -0
  118. package/dist/siemens-ix/{p-7a4c744e.entry.js → p-c9a5d942.entry.js} +1 -1
  119. package/dist/siemens-ix/p-cb6e62ff.entry.js +1 -0
  120. package/dist/siemens-ix/p-cbd0f8a7.entry.js +1 -0
  121. package/dist/siemens-ix/p-fa44655a.entry.js +1 -0
  122. package/dist/siemens-ix/siemens-ix.css +13 -13
  123. package/dist/siemens-ix/siemens-ix.esm.js +1 -1
  124. package/dist/types/components/date-picker/date-picker.d.ts +93 -13
  125. package/dist/types/components/date-picker/events.d.ts +5 -0
  126. package/dist/types/components/datetime-picker/datetime-picker.d.ts +106 -9
  127. package/dist/types/components/datetime-picker/event.d.ts +5 -0
  128. package/dist/types/components/map-navigation/map-navigation.d.ts +0 -8
  129. package/dist/types/components/menu/menu.d.ts +2 -0
  130. package/dist/types/components/menu-about/menu-about.d.ts +1 -4
  131. package/dist/types/components/time-picker/time-picker.d.ts +42 -8
  132. package/dist/types/components.d.ts +274 -38
  133. package/dist/types/exports.d.ts +2 -0
  134. package/package.json +10 -1
  135. package/scss/components/_buttons.scss +15 -5
  136. package/scss/components/_checkboxes.scss +26 -14
  137. package/scss/components/_dropdown.scss +1 -1
  138. package/scss/components/_forms.scss +2 -1
  139. package/scss/components/_radiobuttons.scss +26 -14
  140. package/scss/mixins/_hover.scss +0 -1
  141. package/src/components/date-picker/readme.md +31 -10
  142. package/src/components/datetime-picker/readme.md +23 -10
  143. package/src/components/menu-about/readme.md +5 -6
  144. package/src/components/time-picker/readme.md +25 -8
  145. package/dist/cjs/ix-workflow-steps.cjs.entry.js +0 -83
  146. package/dist/components/menu-about.js +0 -120
  147. package/dist/esm/ix-workflow-steps.entry.js +0 -79
  148. package/dist/siemens-ix/p-1e111d1d.entry.js +0 -1
  149. package/dist/siemens-ix/p-240d22b6.entry.js +0 -1
  150. package/dist/siemens-ix/p-3613be96.entry.js +0 -1
  151. package/dist/siemens-ix/p-5990f0cb.entry.js +0 -1
  152. package/dist/siemens-ix/p-59c81e2a.entry.js +0 -1
  153. package/dist/siemens-ix/p-61b032bf.entry.js +0 -1
  154. package/dist/siemens-ix/p-662d756f.entry.js +0 -1
  155. package/dist/siemens-ix/p-9d9b8ad1.entry.js +0 -1
  156. package/dist/siemens-ix/p-ca71538c.entry.js +0 -1
  157. package/dist/siemens-ix/p-caf856f2.entry.js +0 -1
  158. package/dist/siemens-ix/p-d31bf6db.entry.js +0 -1
  159. package/dist/siemens-ix/p-fe020fa3.entry.js +0 -1
@@ -1,30 +1,76 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
2
  import { DateTime, MonthNumbers } from 'luxon';
3
3
  import { DateTimeCardCorners } from '../date-time-card/date-time-card';
4
+ import { DateChangeEvent, LegacyDateChangeEvent } from './events';
4
5
  export declare class DatePicker {
6
+ private daysInWeek;
7
+ private dayNames;
8
+ private monthNames;
5
9
  /**
6
- * output date format
10
+ * Date format string.
11
+ * See {@link https://moment.github.io/luxon/#/formatting?id=table-of-tokens} for all available tokens.
7
12
  */
8
13
  format: string;
9
14
  /**
10
- * Set range size
15
+ * If true a range of dates can be selected.
11
16
  */
12
17
  range: boolean;
13
18
  /**
14
- * set styles
19
+ * @deprecated - will get removed with next major release
15
20
  */
16
21
  individual: boolean;
17
22
  /**
18
- * Set corners style
23
+ * Corner style
19
24
  */
20
25
  corners: DateTimeCardCorners;
21
- private daysInWeek;
22
- private dayNames;
23
- private monthNames;
24
- year: number;
25
- month: MonthNumbers;
26
- calendar: [number, number[]][];
26
+ /**
27
+ * Picker date. If the picker is in range mode this property is the start date.
28
+ *
29
+ * Format is based on `format`
30
+ *
31
+ * @since 1.1.0
32
+ */
33
+ from: string;
34
+ /**
35
+ * Picker date. If the picker is in range mode this property is the end date.
36
+ * If the picker is not in range mode leave this value `null`
37
+ *
38
+ * Format is based on `format`
39
+ *
40
+ * @since 1.1.0
41
+ */
42
+ to: string | null;
43
+ /**
44
+ * The earliest date that can be selected by the date picker.
45
+ * If not set there will be no restriction.
46
+ *
47
+ * @since 1.1.0
48
+ */
49
+ minDate: string;
50
+ /**
51
+ * The latest date that can be selected by the date picker.
52
+ * If not set there will be no restriction.
53
+ *
54
+ * @since 1.1.0
55
+ */
56
+ maxDate: string;
57
+ /**
58
+ * Default behavior of the done event is to join the two events (date and time) into one combined string output.
59
+ * This combination can be configured over the delimiter
60
+ *
61
+ * @since 1.1.0
62
+ */
63
+ eventDelimiter: string;
64
+ /**
65
+ * Text of date select button
66
+ *
67
+ * @since 1.1.0
68
+ */
69
+ textSelectDate: string;
70
+ yearValue: number;
27
71
  today: DateTime;
72
+ monthValue: number;
73
+ calendar: [number, number[]][];
28
74
  years: number[];
29
75
  tempYear: number;
30
76
  tempMonth: number;
@@ -33,13 +79,39 @@ export declare class DatePicker {
33
79
  dropdownButtonRef: HTMLElement;
34
80
  yearContainerRef: HTMLElement;
35
81
  /**
36
- * Time change event
82
+ * Date change event
83
+ *
84
+ * If datepicker is in range mode the event detail will be sperated with a `-` e.g.
85
+ * `2022/10/22 - 2022/10/24` (start and end). If range mode is choosen consider to use `dateRangeChange`.
86
+ *
87
+ * @depracted String output will be removed. Set ´doneEventDelimiter´ to undefined or null to get date change object instead of a string
37
88
  */
38
- dateChange: EventEmitter<string>;
89
+ dateChange: EventEmitter<LegacyDateChangeEvent>;
39
90
  /**
40
- * done event
91
+ * Date range change.
92
+ * Only triggered if datepicker is in range mode
93
+ *
94
+ * @since 1.1.0
95
+ */
96
+ dateRangeChange: EventEmitter<DateChangeEvent>;
97
+ /**
98
+ * Date selection confirmed via button action
99
+ *
100
+ * @deprecated Use `dateSelect`
41
101
  */
42
102
  done: EventEmitter<string>;
103
+ /**
104
+ * Date selection confirmed via button action
105
+ *
106
+ * @since 1.1.0
107
+ */
108
+ dateSelect: EventEmitter<DateChangeEvent>;
109
+ get year(): number;
110
+ get day(): import("luxon").DayNumbers;
111
+ get month(): MonthNumbers;
112
+ private onDone;
113
+ private onDateChange;
114
+ private selectionProps;
43
115
  private getStartOfMonth;
44
116
  private getEndOfMonth;
45
117
  private getDaysInMonth;
@@ -51,6 +123,14 @@ export declare class DatePicker {
51
123
  private todayClass;
52
124
  private selectDay;
53
125
  private getOutputFormat;
126
+ private isWithinMinMax;
54
127
  componentWillRender(): void;
128
+ /**
129
+ * Get the current DateTime
130
+ */
131
+ getCurrentDate(): Promise<{
132
+ start: DateTime;
133
+ end: DateTime;
134
+ }>;
55
135
  render(): any;
56
136
  }
@@ -0,0 +1,5 @@
1
+ export interface DateChangeEvent {
2
+ from: string;
3
+ to: string;
4
+ }
5
+ export declare type LegacyDateChangeEvent = DateChangeEvent | string;
@@ -1,31 +1,128 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
+ import { DateTimeSelectEvent } from './event';
2
3
  export declare class DatePicker {
3
4
  /**
4
5
  * Set range size
5
6
  */
6
7
  range: boolean;
7
8
  /**
8
- * Show Hour Input
9
+ * Show hour input
9
10
  */
10
11
  showHour: boolean;
11
12
  /**
12
- * Show Minutes Input
13
+ * Show minutes input
13
14
  */
14
15
  showMinutes: boolean;
15
16
  /**
16
- * Show Seconds Input
17
+ * Show seconds input
17
18
  */
18
19
  showSeconds: boolean;
19
20
  /**
20
- * Show Time Reference Input
21
+ * The earliest date that can be selected by the date picker.
22
+ * If not set there will be no restriction.
23
+ *
24
+ * @since 1.1.0
21
25
  */
22
- showTimeReference: boolean;
23
- private date;
24
- private time;
26
+ minDate: string;
25
27
  /**
26
- * Time event
28
+ * The latest date that can be selected by the date picker.
29
+ * If not set there will be no restriction.
30
+ *
31
+ * @since 1.1.0
32
+ */
33
+ maxDate: string;
34
+ /**
35
+ * Date format string.
36
+ * See {@link https://moment.github.io/luxon/#/formatting?id=table-of-tokens} for all available tokens.
37
+ *
38
+ * @since 1.1.0
39
+ */
40
+ dateFormat: string;
41
+ /**
42
+ * Time format string.
43
+ * See {@link https://moment.github.io/luxon/#/formatting?id=table-of-tokens} for all available tokens.
44
+ *
45
+ * @since 1.1.0
46
+ */
47
+ timeFormat: string;
48
+ /**
49
+ * Picker date. If the picker is in range mode this property is the start date.
50
+ *
51
+ * Format is based on `format`
52
+ *
53
+ * @since 1.1.0
54
+ */
55
+ from: string;
56
+ /**
57
+ * Picker date. If the picker is in range mode this property is the end date.
58
+ * If the picker is not in range mode leave this value `null`
59
+ *
60
+ * Format is based on `format`
61
+ *
62
+ * @since 1.1.0
63
+ */
64
+ to: string | null;
65
+ /**
66
+ * Select time with format string
67
+ *
68
+ * @since 1.1.0
69
+ */
70
+ time: string;
71
+ /**
72
+ * Show time reference input
73
+ *
74
+ * @since 1.1.0 time reference is default aligned with formt tt
75
+ */
76
+ showTimeReference: any;
77
+ /**
78
+ * Default behavior of the done event is to join the two events (date and time) into one combined string output.
79
+ * This combination can be configured over the delimiter
80
+ *
81
+ * @since 1.1.0
82
+ */
83
+ eventDelimiter: string;
84
+ /**
85
+ * Set time reference
86
+ */
87
+ timeReference: 'AM' | 'PM';
88
+ /**
89
+ * Text of date select button
90
+ *
91
+ * @since 1.1.0
92
+ */
93
+ textSelectDate: string;
94
+ /**
95
+ * Done event
96
+ *
97
+ * Set `doneEventDelimiter` to null or undefine to get the typed event
27
98
  */
28
99
  done: EventEmitter<string>;
29
- private doneEvent;
100
+ /**
101
+ * Time change
102
+ *
103
+ * @since 1.1.0
104
+ */
105
+ timeChange: EventEmitter<string>;
106
+ /**
107
+ * Date change
108
+ *
109
+ * @since 1.1.0
110
+ */
111
+ dateChange: EventEmitter<string | Omit<DateTimeSelectEvent, 'time'>>;
112
+ /**
113
+ * Date selection event is fired after confirm button is pressend
114
+ *
115
+ * @since 1.1.0
116
+ */
117
+ dateSelect: EventEmitter<DateTimeSelectEvent>;
118
+ private datePickerElement;
119
+ private timePickerElement;
120
+ private _from;
121
+ private _to;
122
+ private _time;
123
+ private onDone;
124
+ private onDateChange;
125
+ private onTimeChange;
126
+ componentDidLoad(): void;
30
127
  render(): any;
31
128
  }
@@ -0,0 +1,5 @@
1
+ export interface DateTimeSelectEvent {
2
+ from: string;
3
+ to: string;
4
+ time: string;
5
+ }
@@ -16,8 +16,6 @@ export declare class MapNavigation {
16
16
  */
17
17
  hideContextMenu: boolean;
18
18
  isSidebarOpen: boolean;
19
- isAboutOpen: boolean;
20
- isSettingsOpen: boolean;
21
19
  /**
22
20
  * Navigation toggled
23
21
  */
@@ -28,17 +26,11 @@ export declare class MapNavigation {
28
26
  contextMenuClick: EventEmitter<void>;
29
27
  get menu(): HTMLIxMenuElement;
30
28
  get menuOverlay(): Element;
31
- get about(): HTMLIxMenuAboutElement;
32
- get aboutItems(): HTMLIxMenuAboutItemElement;
33
- get settings(): HTMLIxMenuSettingsElement;
34
- get settingsItems(): HTMLIxMenuSettingsItemElement;
35
29
  get mapNavMenu(): Element;
36
30
  get sidebar(): Element;
37
31
  get overlay(): Element;
38
32
  componentDidRender(): void;
39
33
  private appendMenu;
40
- private appendAbout;
41
- private appendSettings;
42
34
  private toggleSidebar;
43
35
  private closeSidebar;
44
36
  private openSidebar;
@@ -94,6 +94,7 @@ export declare class Menu {
94
94
  get settings(): HTMLIxMenuSettingsElement;
95
95
  get isSettingsEmpty(): boolean;
96
96
  get avatarItem(): HTMLIxMenuAvatarElement;
97
+ get tabsContainer(): HTMLDivElement;
97
98
  private popoverListener;
98
99
  private showTab;
99
100
  componentDidLoad(): void;
@@ -139,5 +140,6 @@ export declare class Menu {
139
140
  private showMoreButton;
140
141
  private getCollapseText;
141
142
  private getCollapseIcon;
143
+ private isMenuItemClicked;
142
144
  render(): any;
143
145
  }
@@ -1,9 +1,5 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
2
  export declare class MenuAbout {
3
- /**
4
- *
5
- */
6
- i18nImprintLabel: string;
7
3
  /**
8
4
  * Active tab
9
5
  */
@@ -30,5 +26,6 @@ export declare class MenuAbout {
30
26
  private updateLabels;
31
27
  watchActiveTabLabel(value: string): void;
32
28
  private getSelectedTabIndex;
29
+ private getTabItems;
33
30
  render(): any;
34
31
  }
@@ -1,31 +1,56 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
+ import { DateTime } from 'luxon';
2
3
  import { DateTimeCardCorners } from '../date-time-card/date-time-card';
3
4
  export declare class TimePicker {
4
5
  hostElement: HTMLIxTimePickerElement;
5
6
  /**
6
- * Set corners style
7
+ * Format of time string
8
+ *
9
+ * @since 1.1.0
10
+ */
11
+ format: string;
12
+ /**
13
+ * Corner style
7
14
  */
8
15
  corners: DateTimeCardCorners;
9
16
  /**
10
- * set styles
17
+ * @deprecated - will get removed with next major release
11
18
  */
12
19
  individual: boolean;
13
20
  /**
14
- * Show Hour Input
21
+ * Show hour input
15
22
  */
16
23
  showHour: boolean;
17
24
  /**
18
- * Show Minutes Input
25
+ * Show minutes input
19
26
  */
20
27
  showMinutes: boolean;
21
28
  /**
22
- * Show Seconds Input
29
+ * Show seconds input
23
30
  */
24
31
  showSeconds: boolean;
25
32
  /**
26
- * Show Time Reference Input
33
+ * Select time with format string
34
+ *
35
+ * @since 1.1.0
36
+ */
37
+ time: string;
38
+ /**
39
+ * Show time reference input
40
+ *
41
+ * @since 1.1.0 time reference is default aligned with formt tt
42
+ */
43
+ showTimeReference: any;
44
+ /**
45
+ * Set time reference
46
+ */
47
+ timeReference: 'AM' | 'PM';
48
+ /**
49
+ * Text of date select button
50
+ *
51
+ * @since 1.1.0
27
52
  */
28
- showTimeReference: boolean;
53
+ textSelectTime: string;
29
54
  /**
30
55
  * Time event
31
56
  */
@@ -38,9 +63,18 @@ export declare class TimePicker {
38
63
  minuteInputRef: HTMLInputElement;
39
64
  secondInputRef: HTMLInputElement;
40
65
  referenceInputRef: HTMLInputElement;
41
- private time;
66
+ get hour(): import("luxon").HourNumbers;
67
+ get minutes(): import("luxon").SecondNumbers;
68
+ get seconds(): import("luxon").SecondNumbers;
69
+ private _time;
42
70
  private updateInput;
43
71
  private changeReference;
44
72
  private setHourAccordingToReference;
73
+ private emitTimeChange;
74
+ componentWillLoad(): void;
75
+ /**
76
+ * Get current time
77
+ */
78
+ getCurrentTime(): Promise<DateTime>;
45
79
  render(): any;
46
80
  }