aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-workflow-designer-ui/src/app/paletx/plx-datepicker/timepicker-config.ts
diff options
context:
space:
mode:
authorYuanHu <yuan.hu1@zte.com.cn>2018-03-27 17:33:22 +0800
committerYuanHu <yuan.hu1@zte.com.cn>2018-03-27 17:33:22 +0800
commit8261a4ea8091c27b61ac581a852e2e18283b3cdd (patch)
treea2ca109f7600e9e0cbe73eb9139ffe6284be1159 /sdc-workflow-designer-ui/src/app/paletx/plx-datepicker/timepicker-config.ts
parent573f32b362f4639928485d66feb1c0721109716b (diff)
Include paletx components
Include paletx components to WF Designer UI. Issue-ID: SDC-1130,SDC-1131 Change-Id: Iad06b2dde8fc98d03a0e3633e829b686d75cafd0 Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
Diffstat (limited to 'sdc-workflow-designer-ui/src/app/paletx/plx-datepicker/timepicker-config.ts')
-rw-r--r--sdc-workflow-designer-ui/src/app/paletx/plx-datepicker/timepicker-config.ts19
1 files changed, 19 insertions, 0 deletions
diff --git a/sdc-workflow-designer-ui/src/app/paletx/plx-datepicker/timepicker-config.ts b/sdc-workflow-designer-ui/src/app/paletx/plx-datepicker/timepicker-config.ts
new file mode 100644
index 00000000..8b752866
--- /dev/null
+++ b/sdc-workflow-designer-ui/src/app/paletx/plx-datepicker/timepicker-config.ts
@@ -0,0 +1,19 @@
+import { Injectable } from '@angular/core';
+
+/**
+ * Configuration service for the NgbTimepicker component.
+ * You can inject this service, typically in your root component, and customize the values of its properties in
+ * order to provide default values for all the timepickers used in the application.
+ */
+@Injectable()
+export class NgbTimepickerConfig {
+ public meridian = false;
+ public spinners = true;
+ public seconds = false;
+ public hourStep = 1;
+ public minuteStep = 1;
+ public secondStep = 1;
+ public disabled = false;
+ public readonlyInputs = false;
+ public size: 'small' | 'medium' | 'large' = 'medium';
+}