@datarailsshared/datarailsshared 1.6.367 → 1.6.369

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.
@@ -17413,12 +17413,12 @@ function DrCronFieldComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) {
17413
17413
  i0.ɵɵproperty("ngTemplateOutlet", _r3);
17414
17414
  } }
17415
17415
  function DrCronFieldComponent_ng_template_3_ng_template_0_Template(rf, ctx) { if (rf & 1) {
17416
- const _r27 = i0.ɵɵgetCurrentView();
17416
+ const _r26 = i0.ɵɵgetCurrentView();
17417
17417
  i0.ɵɵelementStart(0, "span");
17418
17418
  i0.ɵɵtext(1, "Repeat every quarter on");
17419
17419
  i0.ɵɵelementEnd();
17420
17420
  i0.ɵɵelementStart(2, "dr-select", 21);
17421
- i0.ɵɵlistener("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_template_0_Template_dr_select_ngModelChange_2_listener($event) { i0.ɵɵrestoreView(_r27); const ctx_r26 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r26.cronModel.month = $event); })("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_template_0_Template_dr_select_ngModelChange_2_listener() { i0.ɵɵrestoreView(_r27); const ctx_r28 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r28.onSelectionChange()); });
17421
+ i0.ɵɵlistener("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_template_0_Template_dr_select_ngModelChange_2_listener($event) { i0.ɵɵrestoreView(_r26); const ctx_r25 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r25.cronModel.month = $event); })("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_template_0_Template_dr_select_ngModelChange_2_listener() { i0.ɵɵrestoreView(_r26); const ctx_r27 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r27.onSelectionChange()); });
17422
17422
  i0.ɵɵelementEnd();
17423
17423
  i0.ɵɵelementStart(3, "span");
17424
17424
  i0.ɵɵtext(4, "month of the quarter");
@@ -17429,12 +17429,12 @@ function DrCronFieldComponent_ng_template_3_ng_template_0_Template(rf, ctx) { if
17429
17429
  i0.ɵɵproperty("ngModel", ctx_r13.cronModel.month)("items", ctx_r13.MONTH_OF_QUARTER_ARRAY);
17430
17430
  } }
17431
17431
  function DrCronFieldComponent_ng_template_3_ng_template_2_Template(rf, ctx) { if (rf & 1) {
17432
- const _r30 = i0.ɵɵgetCurrentView();
17432
+ const _r29 = i0.ɵɵgetCurrentView();
17433
17433
  i0.ɵɵelementStart(0, "span");
17434
17434
  i0.ɵɵtext(1, "Repeat every");
17435
17435
  i0.ɵɵelementEnd();
17436
17436
  i0.ɵɵelementStart(2, "dr-select", 22);
17437
- i0.ɵɵlistener("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_template_2_Template_dr_select_ngModelChange_2_listener($event) { i0.ɵɵrestoreView(_r30); const ctx_r29 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r29.cronModel.everyXHours = $event); })("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_template_2_Template_dr_select_ngModelChange_2_listener() { i0.ɵɵrestoreView(_r30); const ctx_r31 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r31.onSelectionChange()); });
17437
+ i0.ɵɵlistener("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_template_2_Template_dr_select_ngModelChange_2_listener($event) { i0.ɵɵrestoreView(_r29); const ctx_r28 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r28.cronModel.everyXHours = $event); })("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_template_2_Template_dr_select_ngModelChange_2_listener() { i0.ɵɵrestoreView(_r29); const ctx_r30 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r30.onSelectionChange()); });
17438
17438
  i0.ɵɵelementEnd();
17439
17439
  i0.ɵɵelementStart(3, "span");
17440
17440
  i0.ɵɵtext(4, "hour(s)");
@@ -17445,12 +17445,12 @@ function DrCronFieldComponent_ng_template_3_ng_template_2_Template(rf, ctx) { if
17445
17445
  i0.ɵɵproperty("ngModel", ctx_r15.cronModel.everyXHours)("items", ctx_r15.HOURS_DIVISIBLE_INTO_DAY);
17446
17446
  } }
17447
17447
  function DrCronFieldComponent_ng_template_3_ng_template_4_Template(rf, ctx) { if (rf & 1) {
17448
- const _r33 = i0.ɵɵgetCurrentView();
17448
+ const _r32 = i0.ɵɵgetCurrentView();
17449
17449
  i0.ɵɵelementStart(0, "span");
17450
17450
  i0.ɵɵtext(1, "Repeat every");
17451
17451
  i0.ɵɵelementEnd();
17452
17452
  i0.ɵɵelementStart(2, "dr-select", 23);
17453
- i0.ɵɵlistener("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_template_4_Template_dr_select_ngModelChange_2_listener($event) { i0.ɵɵrestoreView(_r33); const ctx_r32 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r32.cronModel.dayOfWeek = $event); })("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_template_4_Template_dr_select_ngModelChange_2_listener() { i0.ɵɵrestoreView(_r33); const ctx_r34 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r34.onSelectionChange()); });
17453
+ i0.ɵɵlistener("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_template_4_Template_dr_select_ngModelChange_2_listener($event) { i0.ɵɵrestoreView(_r32); const ctx_r31 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r31.cronModel.dayOfWeek = $event); })("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_template_4_Template_dr_select_ngModelChange_2_listener() { i0.ɵɵrestoreView(_r32); const ctx_r33 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r33.onSelectionChange()); });
17454
17454
  i0.ɵɵelementEnd();
17455
17455
  } if (rf & 2) {
17456
17456
  const ctx_r17 = i0.ɵɵnextContext(2);
@@ -17458,21 +17458,21 @@ function DrCronFieldComponent_ng_template_3_ng_template_4_Template(rf, ctx) { if
17458
17458
  i0.ɵɵproperty("ngModel", ctx_r17.cronModel.dayOfWeek)("items", ctx_r17.DAY_OF_WEEK_ARRAY);
17459
17459
  } }
17460
17460
  function DrCronFieldComponent_ng_template_3_ng_template_6_Template(rf, ctx) { if (rf & 1) {
17461
- const _r36 = i0.ɵɵgetCurrentView();
17461
+ const _r35 = i0.ɵɵgetCurrentView();
17462
17462
  i0.ɵɵelementStart(0, "dr-select", 24);
17463
- i0.ɵɵlistener("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_template_6_Template_dr_select_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r36); const ctx_r35 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r35.cronModel.dayOfMonth = $event); })("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_template_6_Template_dr_select_ngModelChange_0_listener() { i0.ɵɵrestoreView(_r36); const ctx_r37 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r37.onSelectionChange()); });
17463
+ i0.ɵɵlistener("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_template_6_Template_dr_select_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r35); const ctx_r34 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r34.cronModel.dayOfMonth = $event); })("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_template_6_Template_dr_select_ngModelChange_0_listener() { i0.ɵɵrestoreView(_r35); const ctx_r36 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r36.onSelectionChange()); });
17464
17464
  i0.ɵɵelementEnd();
17465
17465
  } if (rf & 2) {
17466
17466
  const ctx_r19 = i0.ɵɵnextContext(2);
17467
17467
  i0.ɵɵproperty("ngModel", ctx_r19.cronModel.dayOfMonth)("items", ctx_r19.DAY_OF_MONTH_ARRAY)("searchable", true);
17468
17468
  } }
17469
17469
  function DrCronFieldComponent_ng_template_3_ng_template_8_Template(rf, ctx) { if (rf & 1) {
17470
- const _r39 = i0.ɵɵgetCurrentView();
17470
+ const _r38 = i0.ɵɵgetCurrentView();
17471
17471
  i0.ɵɵelementStart(0, "span");
17472
17472
  i0.ɵɵtext(1, "Repeat every");
17473
17473
  i0.ɵɵelementEnd();
17474
17474
  i0.ɵɵelementStart(2, "dr-select", 25);
17475
- i0.ɵɵlistener("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_template_8_Template_dr_select_ngModelChange_2_listener($event) { i0.ɵɵrestoreView(_r39); const ctx_r38 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r38.cronModel.month = $event); })("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_template_8_Template_dr_select_ngModelChange_2_listener() { i0.ɵɵrestoreView(_r39); const ctx_r40 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r40.onSelectionChange()); });
17475
+ i0.ɵɵlistener("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_template_8_Template_dr_select_ngModelChange_2_listener($event) { i0.ɵɵrestoreView(_r38); const ctx_r37 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r37.cronModel.month = $event); })("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_template_8_Template_dr_select_ngModelChange_2_listener() { i0.ɵɵrestoreView(_r38); const ctx_r39 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r39.onSelectionChange()); });
17476
17476
  i0.ɵɵelementEnd();
17477
17477
  } if (rf & 2) {
17478
17478
  const ctx_r21 = i0.ɵɵnextContext(2);
@@ -17484,56 +17484,85 @@ function DrCronFieldComponent_ng_template_3_dr_radio_group_11_dr_radio_button_1_
17484
17484
  i0.ɵɵtext(1);
17485
17485
  i0.ɵɵelementEnd();
17486
17486
  } if (rf & 2) {
17487
- const option_r42 = ctx.$implicit;
17488
- i0.ɵɵproperty("value", option_r42.value);
17489
- i0.ɵɵattribute("data-analytics", "dr-cron-field_radio-button-" + option_r42.value);
17487
+ const option_r41 = ctx.$implicit;
17488
+ i0.ɵɵproperty("value", option_r41.value);
17489
+ i0.ɵɵattribute("data-analytics", "dr-cron-field_radio-button-" + option_r41.value);
17490
17490
  i0.ɵɵadvance(1);
17491
- i0.ɵɵtextInterpolate1(" ", option_r42.label, " ");
17491
+ i0.ɵɵtextInterpolate1(" ", option_r41.label, " ");
17492
17492
  } }
17493
17493
  function DrCronFieldComponent_ng_template_3_dr_radio_group_11_Template(rf, ctx) { if (rf & 1) {
17494
- const _r44 = i0.ɵɵgetCurrentView();
17494
+ const _r43 = i0.ɵɵgetCurrentView();
17495
17495
  i0.ɵɵelementStart(0, "dr-radio-group", 26);
17496
- i0.ɵɵlistener("ngModelChange", function DrCronFieldComponent_ng_template_3_dr_radio_group_11_Template_dr_radio_group_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r44); const ctx_r43 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r43.cronModel.every = $event); })("ngModelChange", function DrCronFieldComponent_ng_template_3_dr_radio_group_11_Template_dr_radio_group_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r44); const ctx_r45 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r45.onEveryChange($event)); });
17496
+ i0.ɵɵlistener("ngModelChange", function DrCronFieldComponent_ng_template_3_dr_radio_group_11_Template_dr_radio_group_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r43); const ctx_r42 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r42.onEveryChange($event)); });
17497
17497
  i0.ɵɵtemplate(1, DrCronFieldComponent_ng_template_3_dr_radio_group_11_dr_radio_button_1_Template, 2, 3, "dr-radio-button", 27);
17498
17498
  i0.ɵɵelementEnd();
17499
17499
  } if (rf & 2) {
17500
17500
  const ctx_r22 = i0.ɵɵnextContext(2);
17501
- i0.ɵɵproperty("ngModel", ctx_r22.cronModel.every);
17501
+ i0.ɵɵproperty("ngModel", ctx_r22.isAdvancedMode ? "advanced" : ctx_r22.cronModel.every);
17502
17502
  i0.ɵɵadvance(1);
17503
17503
  i0.ɵɵproperty("ngForOf", ctx_r22.cronEditorPeriodArray);
17504
17504
  } }
17505
- function DrCronFieldComponent_ng_template_3_ng_container_12_ng_container_2_Template(rf, ctx) { if (rf & 1) {
17505
+ function DrCronFieldComponent_ng_template_3_div_12_div_6_Template(rf, ctx) { if (rf & 1) {
17506
+ i0.ɵɵelementStart(0, "div", 34);
17507
+ i0.ɵɵtext(1);
17508
+ i0.ɵɵelementEnd();
17509
+ } if (rf & 2) {
17510
+ const ctx_r44 = i0.ɵɵnextContext(3);
17511
+ i0.ɵɵadvance(1);
17512
+ i0.ɵɵtextInterpolate(ctx_r44.advancedError);
17513
+ } }
17514
+ function DrCronFieldComponent_ng_template_3_div_12_Template(rf, ctx) { if (rf & 1) {
17515
+ const _r46 = i0.ɵɵgetCurrentView();
17516
+ i0.ɵɵelementStart(0, "div", 29)(1, "div", 30);
17517
+ i0.ɵɵtext(2, " Use crontab to set custom time intervals for sync frequency, such as every two weeks at 10:05. ");
17518
+ i0.ɵɵelementEnd();
17519
+ i0.ɵɵelementStart(3, "div", 31);
17520
+ i0.ɵɵtext(4, "Enter your cron expression:");
17521
+ i0.ɵɵelementEnd();
17522
+ i0.ɵɵelementStart(5, "dr-input", 32);
17523
+ i0.ɵɵlistener("ngModelChange", function DrCronFieldComponent_ng_template_3_div_12_Template_dr_input_ngModelChange_5_listener($event) { i0.ɵɵrestoreView(_r46); const ctx_r45 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r45.advancedCron = $event); })("ngModelChange", function DrCronFieldComponent_ng_template_3_div_12_Template_dr_input_ngModelChange_5_listener() { i0.ɵɵrestoreView(_r46); const ctx_r47 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r47.onAdvancedChange()); });
17524
+ i0.ɵɵelementEnd();
17525
+ i0.ɵɵtemplate(6, DrCronFieldComponent_ng_template_3_div_12_div_6_Template, 2, 1, "div", 33);
17526
+ i0.ɵɵelementEnd();
17527
+ } if (rf & 2) {
17528
+ const ctx_r23 = i0.ɵɵnextContext(2);
17529
+ i0.ɵɵadvance(5);
17530
+ i0.ɵɵproperty("ngModel", ctx_r23.advancedCron);
17531
+ i0.ɵɵadvance(1);
17532
+ i0.ɵɵproperty("ngIf", ctx_r23.advancedError);
17533
+ } }
17534
+ function DrCronFieldComponent_ng_template_3_ng_container_13_ng_container_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
17506
17535
  i0.ɵɵelementContainer(0, 8);
17507
17536
  } if (rf & 2) {
17508
- i0.ɵɵnextContext(2);
17537
+ i0.ɵɵnextContext(3);
17509
17538
  const _r12 = i0.ɵɵreference(1);
17510
17539
  i0.ɵɵproperty("ngTemplateOutlet", _r12);
17511
17540
  } }
17512
- function DrCronFieldComponent_ng_template_3_ng_container_12_span_3_Template(rf, ctx) { if (rf & 1) {
17541
+ function DrCronFieldComponent_ng_template_3_ng_container_13_ng_container_1_span_3_Template(rf, ctx) { if (rf & 1) {
17513
17542
  i0.ɵɵelementStart(0, "span");
17514
17543
  i0.ɵɵtext(1, "Repeat every day");
17515
17544
  i0.ɵɵelementEnd();
17516
17545
  } }
17517
- function DrCronFieldComponent_ng_template_3_ng_container_12_ng_container_4_Template(rf, ctx) { if (rf & 1) {
17546
+ function DrCronFieldComponent_ng_template_3_ng_container_13_ng_container_1_ng_container_4_Template(rf, ctx) { if (rf & 1) {
17518
17547
  i0.ɵɵelementContainer(0, 8);
17519
17548
  } if (rf & 2) {
17520
- i0.ɵɵnextContext(2);
17549
+ i0.ɵɵnextContext(3);
17521
17550
  const _r14 = i0.ɵɵreference(3);
17522
17551
  i0.ɵɵproperty("ngTemplateOutlet", _r14);
17523
17552
  } }
17524
- function DrCronFieldComponent_ng_template_3_ng_container_12_ng_container_5_Template(rf, ctx) { if (rf & 1) {
17553
+ function DrCronFieldComponent_ng_template_3_ng_container_13_ng_container_1_ng_container_5_Template(rf, ctx) { if (rf & 1) {
17525
17554
  i0.ɵɵelementContainer(0, 8);
17526
17555
  } if (rf & 2) {
17527
- i0.ɵɵnextContext(2);
17556
+ i0.ɵɵnextContext(3);
17528
17557
  const _r16 = i0.ɵɵreference(5);
17529
17558
  i0.ɵɵproperty("ngTemplateOutlet", _r16);
17530
17559
  } }
17531
- function DrCronFieldComponent_ng_template_3_ng_container_12_ng_container_6_Template(rf, ctx) { if (rf & 1) {
17560
+ function DrCronFieldComponent_ng_template_3_ng_container_13_ng_container_1_ng_container_6_Template(rf, ctx) { if (rf & 1) {
17532
17561
  i0.ɵɵelementContainerStart(0);
17533
17562
  i0.ɵɵelementContainer(1, 8)(2, 8);
17534
17563
  i0.ɵɵelementContainerEnd();
17535
17564
  } if (rf & 2) {
17536
- i0.ɵɵnextContext(2);
17565
+ i0.ɵɵnextContext(3);
17537
17566
  const _r20 = i0.ɵɵreference(9);
17538
17567
  const _r18 = i0.ɵɵreference(7);
17539
17568
  i0.ɵɵadvance(1);
@@ -17541,7 +17570,7 @@ function DrCronFieldComponent_ng_template_3_ng_container_12_ng_container_6_Templ
17541
17570
  i0.ɵɵadvance(1);
17542
17571
  i0.ɵɵproperty("ngTemplateOutlet", _r18);
17543
17572
  } }
17544
- function DrCronFieldComponent_ng_template_3_ng_container_12_ng_container_7_Template(rf, ctx) { if (rf & 1) {
17573
+ function DrCronFieldComponent_ng_template_3_ng_container_13_ng_container_1_ng_container_7_Template(rf, ctx) { if (rf & 1) {
17545
17574
  i0.ɵɵelementContainerStart(0);
17546
17575
  i0.ɵɵelementStart(1, "span");
17547
17576
  i0.ɵɵtext(2, "Repeat on");
@@ -17552,13 +17581,13 @@ function DrCronFieldComponent_ng_template_3_ng_container_12_ng_container_7_Templ
17552
17581
  i0.ɵɵelementEnd();
17553
17582
  i0.ɵɵelementContainerEnd();
17554
17583
  } if (rf & 2) {
17555
- i0.ɵɵnextContext(2);
17584
+ i0.ɵɵnextContext(3);
17556
17585
  const _r18 = i0.ɵɵreference(7);
17557
17586
  i0.ɵɵadvance(3);
17558
17587
  i0.ɵɵproperty("ngTemplateOutlet", _r18);
17559
17588
  } }
17560
- function DrCronFieldComponent_ng_template_3_ng_container_12_div_8_Template(rf, ctx) { if (rf & 1) {
17561
- i0.ɵɵelementStart(0, "div", 29)(1, "span");
17589
+ function DrCronFieldComponent_ng_template_3_ng_container_13_ng_container_1_div_8_Template(rf, ctx) { if (rf & 1) {
17590
+ i0.ɵɵelementStart(0, "div", 37)(1, "span");
17562
17591
  i0.ɵɵtext(2, "on");
17563
17592
  i0.ɵɵelementEnd();
17564
17593
  i0.ɵɵelementContainer(3, 8);
@@ -17566,184 +17595,195 @@ function DrCronFieldComponent_ng_template_3_ng_container_12_div_8_Template(rf, c
17566
17595
  i0.ɵɵtext(5, "day of the month");
17567
17596
  i0.ɵɵelementEnd()();
17568
17597
  } if (rf & 2) {
17569
- i0.ɵɵnextContext(2);
17598
+ i0.ɵɵnextContext(3);
17570
17599
  const _r18 = i0.ɵɵreference(7);
17571
17600
  i0.ɵɵadvance(3);
17572
17601
  i0.ɵɵproperty("ngTemplateOutlet", _r18);
17573
17602
  } }
17574
- function DrCronFieldComponent_ng_template_3_ng_container_12_Template(rf, ctx) { if (rf & 1) {
17575
- const _r54 = i0.ɵɵgetCurrentView();
17603
+ function DrCronFieldComponent_ng_template_3_ng_container_13_ng_container_1_Template(rf, ctx) { if (rf & 1) {
17604
+ const _r59 = i0.ɵɵgetCurrentView();
17576
17605
  i0.ɵɵelementContainerStart(0);
17577
- i0.ɵɵelementStart(1, "div", 29);
17578
- i0.ɵɵtemplate(2, DrCronFieldComponent_ng_template_3_ng_container_12_ng_container_2_Template, 1, 1, "ng-container", 30);
17579
- i0.ɵɵtemplate(3, DrCronFieldComponent_ng_template_3_ng_container_12_span_3_Template, 2, 0, "span", 31);
17580
- i0.ɵɵtemplate(4, DrCronFieldComponent_ng_template_3_ng_container_12_ng_container_4_Template, 1, 1, "ng-container", 30);
17581
- i0.ɵɵtemplate(5, DrCronFieldComponent_ng_template_3_ng_container_12_ng_container_5_Template, 1, 1, "ng-container", 30);
17582
- i0.ɵɵtemplate(6, DrCronFieldComponent_ng_template_3_ng_container_12_ng_container_6_Template, 3, 2, "ng-container", 31);
17583
- i0.ɵɵtemplate(7, DrCronFieldComponent_ng_template_3_ng_container_12_ng_container_7_Template, 6, 1, "ng-container", 31);
17584
- i0.ɵɵelementEnd();
17585
- i0.ɵɵtemplate(8, DrCronFieldComponent_ng_template_3_ng_container_12_div_8_Template, 6, 1, "div", 32);
17586
- i0.ɵɵelementStart(9, "div", 33)(10, "span", 34);
17606
+ i0.ɵɵelementStart(1, "div", 37);
17607
+ i0.ɵɵtemplate(2, DrCronFieldComponent_ng_template_3_ng_container_13_ng_container_1_ng_container_2_Template, 1, 1, "ng-container", 38);
17608
+ i0.ɵɵtemplate(3, DrCronFieldComponent_ng_template_3_ng_container_13_ng_container_1_span_3_Template, 2, 0, "span", 20);
17609
+ i0.ɵɵtemplate(4, DrCronFieldComponent_ng_template_3_ng_container_13_ng_container_1_ng_container_4_Template, 1, 1, "ng-container", 38);
17610
+ i0.ɵɵtemplate(5, DrCronFieldComponent_ng_template_3_ng_container_13_ng_container_1_ng_container_5_Template, 1, 1, "ng-container", 38);
17611
+ i0.ɵɵtemplate(6, DrCronFieldComponent_ng_template_3_ng_container_13_ng_container_1_ng_container_6_Template, 3, 2, "ng-container", 20);
17612
+ i0.ɵɵtemplate(7, DrCronFieldComponent_ng_template_3_ng_container_13_ng_container_1_ng_container_7_Template, 6, 1, "ng-container", 20);
17613
+ i0.ɵɵelementEnd();
17614
+ i0.ɵɵtemplate(8, DrCronFieldComponent_ng_template_3_ng_container_13_ng_container_1_div_8_Template, 6, 1, "div", 39);
17615
+ i0.ɵɵelementStart(9, "div", 40)(10, "span", 41);
17587
17616
  i0.ɵɵtext(11, "at");
17588
17617
  i0.ɵɵelementEnd();
17589
- i0.ɵɵelementStart(12, "dr-time-picker", 35);
17590
- i0.ɵɵlistener("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_container_12_Template_dr_time_picker_ngModelChange_12_listener($event) { i0.ɵɵrestoreView(_r54); const ctx_r53 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r53.onTimePickerChange($event)); });
17618
+ i0.ɵɵelementStart(12, "dr-time-picker", 42);
17619
+ i0.ɵɵlistener("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_container_13_ng_container_1_Template_dr_time_picker_ngModelChange_12_listener($event) { i0.ɵɵrestoreView(_r59); const ctx_r58 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r58.onTimePickerChange($event)); });
17591
17620
  i0.ɵɵelementEnd()();
17592
17621
  i0.ɵɵelementContainerEnd();
17593
17622
  } if (rf & 2) {
17594
- const ctx_r23 = i0.ɵɵnextContext(2);
17623
+ const ctx_r48 = i0.ɵɵnextContext(3);
17595
17624
  i0.ɵɵadvance(2);
17596
- i0.ɵɵproperty("ngIf", ctx_r23.cronModel.every === ctx_r23.cronEditorPeriod.QUARTER);
17625
+ i0.ɵɵproperty("ngIf", ctx_r48.cronModel.every === ctx_r48.cronEditorPeriod.QUARTER);
17597
17626
  i0.ɵɵadvance(1);
17598
- i0.ɵɵproperty("ngIf", ctx_r23.cronModel.every === ctx_r23.cronEditorPeriod.DAY);
17627
+ i0.ɵɵproperty("ngIf", ctx_r48.cronModel.every === ctx_r48.cronEditorPeriod.DAY);
17599
17628
  i0.ɵɵadvance(1);
17600
- i0.ɵɵproperty("ngIf", ctx_r23.cronModel.every === ctx_r23.cronEditorPeriod.HOUR);
17629
+ i0.ɵɵproperty("ngIf", ctx_r48.cronModel.every === ctx_r48.cronEditorPeriod.HOUR);
17601
17630
  i0.ɵɵadvance(1);
17602
- i0.ɵɵproperty("ngIf", ctx_r23.cronModel.every === ctx_r23.cronEditorPeriod.WEEK);
17631
+ i0.ɵɵproperty("ngIf", ctx_r48.cronModel.every === ctx_r48.cronEditorPeriod.WEEK);
17603
17632
  i0.ɵɵadvance(1);
17604
- i0.ɵɵproperty("ngIf", ctx_r23.cronModel.every === ctx_r23.cronEditorPeriod.YEAR);
17633
+ i0.ɵɵproperty("ngIf", ctx_r48.cronModel.every === ctx_r48.cronEditorPeriod.YEAR);
17605
17634
  i0.ɵɵadvance(1);
17606
- i0.ɵɵproperty("ngIf", ctx_r23.cronModel.every === ctx_r23.cronEditorPeriod.MONTH);
17635
+ i0.ɵɵproperty("ngIf", ctx_r48.cronModel.every === ctx_r48.cronEditorPeriod.MONTH);
17607
17636
  i0.ɵɵadvance(1);
17608
- i0.ɵɵproperty("ngIf", ctx_r23.cronModel.every === ctx_r23.cronEditorPeriod.QUARTER);
17637
+ i0.ɵɵproperty("ngIf", ctx_r48.cronModel.every === ctx_r48.cronEditorPeriod.QUARTER);
17609
17638
  i0.ɵɵadvance(4);
17610
- i0.ɵɵproperty("ngModel", ctx_r23.cronModel);
17639
+ i0.ɵɵproperty("ngModel", ctx_r48.cronModel);
17611
17640
  } }
17612
- function DrCronFieldComponent_ng_template_3_ng_template_13_div_0_Template(rf, ctx) { if (rf & 1) {
17613
- i0.ɵɵelementStart(0, "div", 37);
17641
+ function DrCronFieldComponent_ng_template_3_ng_container_13_ng_template_2_div_0_Template(rf, ctx) { if (rf & 1) {
17642
+ i0.ɵɵelementStart(0, "div", 44);
17614
17643
  i0.ɵɵelementContainer(1, 8);
17615
17644
  i0.ɵɵelementEnd();
17616
17645
  } if (rf & 2) {
17617
- i0.ɵɵnextContext(2);
17646
+ i0.ɵɵnextContext(3);
17618
17647
  const _r12 = i0.ɵɵreference(1);
17619
17648
  i0.ɵɵadvance(1);
17620
17649
  i0.ɵɵproperty("ngTemplateOutlet", _r12);
17621
17650
  } }
17622
- function DrCronFieldComponent_ng_template_3_ng_template_13_span_2_Template(rf, ctx) { if (rf & 1) {
17651
+ function DrCronFieldComponent_ng_template_3_ng_container_13_ng_template_2_span_2_Template(rf, ctx) { if (rf & 1) {
17623
17652
  i0.ɵɵelementStart(0, "span");
17624
17653
  i0.ɵɵtext(1, " Repeat every day ");
17625
17654
  i0.ɵɵelementEnd();
17626
17655
  } }
17627
- function DrCronFieldComponent_ng_template_3_ng_template_13_ng_container_3_Template(rf, ctx) { if (rf & 1) {
17656
+ function DrCronFieldComponent_ng_template_3_ng_container_13_ng_template_2_ng_container_3_Template(rf, ctx) { if (rf & 1) {
17628
17657
  i0.ɵɵelementContainer(0, 8);
17629
17658
  } if (rf & 2) {
17630
- i0.ɵɵnextContext(2);
17659
+ i0.ɵɵnextContext(3);
17631
17660
  const _r14 = i0.ɵɵreference(3);
17632
17661
  i0.ɵɵproperty("ngTemplateOutlet", _r14);
17633
17662
  } }
17634
- function DrCronFieldComponent_ng_template_3_ng_template_13_ng_container_4_Template(rf, ctx) { if (rf & 1) {
17663
+ function DrCronFieldComponent_ng_template_3_ng_container_13_ng_template_2_ng_container_4_Template(rf, ctx) { if (rf & 1) {
17635
17664
  i0.ɵɵelementContainer(0, 8);
17636
17665
  } if (rf & 2) {
17637
- i0.ɵɵnextContext(2);
17666
+ i0.ɵɵnextContext(3);
17638
17667
  const _r16 = i0.ɵɵreference(5);
17639
17668
  i0.ɵɵproperty("ngTemplateOutlet", _r16);
17640
17669
  } }
17641
- function DrCronFieldComponent_ng_template_3_ng_template_13_ng_container_5_span_1_Template(rf, ctx) { if (rf & 1) {
17670
+ function DrCronFieldComponent_ng_template_3_ng_container_13_ng_template_2_ng_container_5_span_1_Template(rf, ctx) { if (rf & 1) {
17642
17671
  i0.ɵɵelementStart(0, "span");
17643
17672
  i0.ɵɵtext(1, "Repeat on ");
17644
17673
  i0.ɵɵelementEnd();
17645
17674
  } }
17646
- function DrCronFieldComponent_ng_template_3_ng_template_13_ng_container_5_span_2_Template(rf, ctx) { if (rf & 1) {
17675
+ function DrCronFieldComponent_ng_template_3_ng_container_13_ng_template_2_ng_container_5_span_2_Template(rf, ctx) { if (rf & 1) {
17647
17676
  i0.ɵɵelementStart(0, "span");
17648
17677
  i0.ɵɵtext(1, "on ");
17649
17678
  i0.ɵɵelementEnd();
17650
17679
  } }
17651
- function DrCronFieldComponent_ng_template_3_ng_template_13_ng_container_5_ng_container_3_Template(rf, ctx) { if (rf & 1) {
17680
+ function DrCronFieldComponent_ng_template_3_ng_container_13_ng_template_2_ng_container_5_ng_container_3_Template(rf, ctx) { if (rf & 1) {
17652
17681
  i0.ɵɵelementContainer(0, 8);
17653
17682
  } if (rf & 2) {
17654
- i0.ɵɵnextContext(3);
17683
+ i0.ɵɵnextContext(4);
17655
17684
  const _r20 = i0.ɵɵreference(9);
17656
17685
  i0.ɵɵproperty("ngTemplateOutlet", _r20);
17657
17686
  } }
17658
- function DrCronFieldComponent_ng_template_3_ng_template_13_ng_container_5_span_5_Template(rf, ctx) { if (rf & 1) {
17687
+ function DrCronFieldComponent_ng_template_3_ng_container_13_ng_template_2_ng_container_5_span_5_Template(rf, ctx) { if (rf & 1) {
17659
17688
  i0.ɵɵelementStart(0, "span");
17660
17689
  i0.ɵɵtext(1, "day of every month ");
17661
17690
  i0.ɵɵelementEnd();
17662
17691
  } }
17663
- function DrCronFieldComponent_ng_template_3_ng_template_13_ng_container_5_span_6_Template(rf, ctx) { if (rf & 1) {
17692
+ function DrCronFieldComponent_ng_template_3_ng_container_13_ng_template_2_ng_container_5_span_6_Template(rf, ctx) { if (rf & 1) {
17664
17693
  i0.ɵɵelementStart(0, "span");
17665
17694
  i0.ɵɵtext(1, "day of the month ");
17666
17695
  i0.ɵɵelementEnd();
17667
17696
  } }
17668
- function DrCronFieldComponent_ng_template_3_ng_template_13_ng_container_5_Template(rf, ctx) { if (rf & 1) {
17697
+ function DrCronFieldComponent_ng_template_3_ng_container_13_ng_template_2_ng_container_5_Template(rf, ctx) { if (rf & 1) {
17669
17698
  i0.ɵɵelementContainerStart(0);
17670
- i0.ɵɵtemplate(1, DrCronFieldComponent_ng_template_3_ng_template_13_ng_container_5_span_1_Template, 2, 0, "span", 31);
17671
- i0.ɵɵtemplate(2, DrCronFieldComponent_ng_template_3_ng_template_13_ng_container_5_span_2_Template, 2, 0, "span", 31);
17672
- i0.ɵɵtemplate(3, DrCronFieldComponent_ng_template_3_ng_template_13_ng_container_5_ng_container_3_Template, 1, 1, "ng-container", 30);
17699
+ i0.ɵɵtemplate(1, DrCronFieldComponent_ng_template_3_ng_container_13_ng_template_2_ng_container_5_span_1_Template, 2, 0, "span", 20);
17700
+ i0.ɵɵtemplate(2, DrCronFieldComponent_ng_template_3_ng_container_13_ng_template_2_ng_container_5_span_2_Template, 2, 0, "span", 20);
17701
+ i0.ɵɵtemplate(3, DrCronFieldComponent_ng_template_3_ng_container_13_ng_template_2_ng_container_5_ng_container_3_Template, 1, 1, "ng-container", 38);
17673
17702
  i0.ɵɵelementContainer(4, 8);
17674
- i0.ɵɵtemplate(5, DrCronFieldComponent_ng_template_3_ng_template_13_ng_container_5_span_5_Template, 2, 0, "span", 31);
17675
- i0.ɵɵtemplate(6, DrCronFieldComponent_ng_template_3_ng_template_13_ng_container_5_span_6_Template, 2, 0, "span", 31);
17703
+ i0.ɵɵtemplate(5, DrCronFieldComponent_ng_template_3_ng_container_13_ng_template_2_ng_container_5_span_5_Template, 2, 0, "span", 20);
17704
+ i0.ɵɵtemplate(6, DrCronFieldComponent_ng_template_3_ng_container_13_ng_template_2_ng_container_5_span_6_Template, 2, 0, "span", 20);
17676
17705
  i0.ɵɵelementContainerEnd();
17677
17706
  } if (rf & 2) {
17678
- i0.ɵɵnextContext(2);
17707
+ i0.ɵɵnextContext(3);
17679
17708
  const _r18 = i0.ɵɵreference(7);
17680
- const ctx_r59 = i0.ɵɵnextContext();
17709
+ const ctx_r64 = i0.ɵɵnextContext();
17681
17710
  i0.ɵɵadvance(1);
17682
- i0.ɵɵproperty("ngIf", ctx_r59.cronModel.every === ctx_r59.cronEditorPeriod.MONTH);
17711
+ i0.ɵɵproperty("ngIf", ctx_r64.cronModel.every === ctx_r64.cronEditorPeriod.MONTH);
17683
17712
  i0.ɵɵadvance(1);
17684
- i0.ɵɵproperty("ngIf", ctx_r59.cronModel.every === ctx_r59.cronEditorPeriod.QUARTER);
17713
+ i0.ɵɵproperty("ngIf", ctx_r64.cronModel.every === ctx_r64.cronEditorPeriod.QUARTER);
17685
17714
  i0.ɵɵadvance(1);
17686
- i0.ɵɵproperty("ngIf", ctx_r59.cronModel.every === ctx_r59.cronEditorPeriod.YEAR);
17715
+ i0.ɵɵproperty("ngIf", ctx_r64.cronModel.every === ctx_r64.cronEditorPeriod.YEAR);
17687
17716
  i0.ɵɵadvance(1);
17688
17717
  i0.ɵɵproperty("ngTemplateOutlet", _r18);
17689
17718
  i0.ɵɵadvance(1);
17690
- i0.ɵɵproperty("ngIf", ctx_r59.cronModel.every === ctx_r59.cronEditorPeriod.MONTH);
17719
+ i0.ɵɵproperty("ngIf", ctx_r64.cronModel.every === ctx_r64.cronEditorPeriod.MONTH);
17691
17720
  i0.ɵɵadvance(1);
17692
- i0.ɵɵproperty("ngIf", ctx_r59.cronModel.every === ctx_r59.cronEditorPeriod.QUARTER);
17721
+ i0.ɵɵproperty("ngIf", ctx_r64.cronModel.every === ctx_r64.cronEditorPeriod.QUARTER);
17693
17722
  } }
17694
- function DrCronFieldComponent_ng_template_3_ng_template_13_ng_template_14_Template(rf, ctx) { if (rf & 1) {
17723
+ function DrCronFieldComponent_ng_template_3_ng_container_13_ng_template_2_ng_template_14_Template(rf, ctx) { if (rf & 1) {
17695
17724
  i0.ɵɵtext(0);
17696
17725
  } if (rf & 2) {
17697
- const item_r67 = ctx.item;
17698
- const ctx_r61 = i0.ɵɵnextContext(3);
17699
- i0.ɵɵtextInterpolate1(" ", ctx_r61.LOCAL_TIME_ZONE_OFFSET !== ctx_r61.cronModel.timeZone ? item_r67.label : "Local Time", " ");
17700
- } }
17701
- function DrCronFieldComponent_ng_template_3_ng_template_13_Template(rf, ctx) { if (rf & 1) {
17702
- const _r69 = i0.ɵɵgetCurrentView();
17703
- i0.ɵɵtemplate(0, DrCronFieldComponent_ng_template_3_ng_template_13_div_0_Template, 2, 1, "div", 36);
17704
- i0.ɵɵelementStart(1, "div", 37);
17705
- i0.ɵɵtemplate(2, DrCronFieldComponent_ng_template_3_ng_template_13_span_2_Template, 2, 0, "span", 31);
17706
- i0.ɵɵtemplate(3, DrCronFieldComponent_ng_template_3_ng_template_13_ng_container_3_Template, 1, 1, "ng-container", 30);
17707
- i0.ɵɵtemplate(4, DrCronFieldComponent_ng_template_3_ng_template_13_ng_container_4_Template, 1, 1, "ng-container", 30);
17708
- i0.ɵɵtemplate(5, DrCronFieldComponent_ng_template_3_ng_template_13_ng_container_5_Template, 7, 6, "ng-container", 31);
17709
- i0.ɵɵelementStart(6, "span", 34);
17726
+ const item_r72 = ctx.item;
17727
+ const ctx_r66 = i0.ɵɵnextContext(4);
17728
+ i0.ɵɵtextInterpolate1(" ", ctx_r66.LOCAL_TIME_ZONE_OFFSET !== ctx_r66.cronModel.timeZone ? item_r72.label : "Local Time", " ");
17729
+ } }
17730
+ function DrCronFieldComponent_ng_template_3_ng_container_13_ng_template_2_Template(rf, ctx) { if (rf & 1) {
17731
+ const _r74 = i0.ɵɵgetCurrentView();
17732
+ i0.ɵɵtemplate(0, DrCronFieldComponent_ng_template_3_ng_container_13_ng_template_2_div_0_Template, 2, 1, "div", 43);
17733
+ i0.ɵɵelementStart(1, "div", 44);
17734
+ i0.ɵɵtemplate(2, DrCronFieldComponent_ng_template_3_ng_container_13_ng_template_2_span_2_Template, 2, 0, "span", 20);
17735
+ i0.ɵɵtemplate(3, DrCronFieldComponent_ng_template_3_ng_container_13_ng_template_2_ng_container_3_Template, 1, 1, "ng-container", 38);
17736
+ i0.ɵɵtemplate(4, DrCronFieldComponent_ng_template_3_ng_container_13_ng_template_2_ng_container_4_Template, 1, 1, "ng-container", 38);
17737
+ i0.ɵɵtemplate(5, DrCronFieldComponent_ng_template_3_ng_container_13_ng_template_2_ng_container_5_Template, 7, 6, "ng-container", 20);
17738
+ i0.ɵɵelementStart(6, "span", 41);
17710
17739
  i0.ɵɵtext(7, "at");
17711
17740
  i0.ɵɵelementEnd();
17712
- i0.ɵɵelementStart(8, "dr-input", 38);
17713
- i0.ɵɵlistener("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_template_13_Template_dr_input_ngModelChange_8_listener($event) { i0.ɵɵrestoreView(_r69); const ctx_r68 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r68.cronModel.hour = $event); })("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_template_13_Template_dr_input_ngModelChange_8_listener() { i0.ɵɵrestoreView(_r69); const ctx_r70 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r70.onSelectionChange()); });
17741
+ i0.ɵɵelementStart(8, "dr-input", 45);
17742
+ i0.ɵɵlistener("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_container_13_ng_template_2_Template_dr_input_ngModelChange_8_listener($event) { i0.ɵɵrestoreView(_r74); const ctx_r73 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r73.cronModel.hour = $event); })("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_container_13_ng_template_2_Template_dr_input_ngModelChange_8_listener() { i0.ɵɵrestoreView(_r74); const ctx_r75 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r75.onSelectionChange()); });
17714
17743
  i0.ɵɵelementEnd();
17715
- i0.ɵɵelementStart(9, "span", 39);
17744
+ i0.ɵɵelementStart(9, "span", 46);
17716
17745
  i0.ɵɵtext(10, ":");
17717
17746
  i0.ɵɵelementEnd();
17718
- i0.ɵɵelementStart(11, "dr-input", 40);
17719
- i0.ɵɵlistener("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_template_13_Template_dr_input_ngModelChange_11_listener($event) { i0.ɵɵrestoreView(_r69); const ctx_r71 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r71.cronModel.minute = $event); })("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_template_13_Template_dr_input_ngModelChange_11_listener() { i0.ɵɵrestoreView(_r69); const ctx_r72 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r72.onSelectionChange()); });
17747
+ i0.ɵɵelementStart(11, "dr-input", 47);
17748
+ i0.ɵɵlistener("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_container_13_ng_template_2_Template_dr_input_ngModelChange_11_listener($event) { i0.ɵɵrestoreView(_r74); const ctx_r76 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r76.cronModel.minute = $event); })("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_container_13_ng_template_2_Template_dr_input_ngModelChange_11_listener() { i0.ɵɵrestoreView(_r74); const ctx_r77 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r77.onSelectionChange()); });
17720
17749
  i0.ɵɵelementEnd();
17721
- i0.ɵɵelementStart(12, "dr-select", 41);
17722
- i0.ɵɵlistener("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_template_13_Template_dr_select_ngModelChange_12_listener($event) { i0.ɵɵrestoreView(_r69); const ctx_r73 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r73.cronModel.timePeriod = $event); })("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_template_13_Template_dr_select_ngModelChange_12_listener() { i0.ɵɵrestoreView(_r69); const ctx_r74 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r74.onSelectionChange()); });
17750
+ i0.ɵɵelementStart(12, "dr-select", 48);
17751
+ i0.ɵɵlistener("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_container_13_ng_template_2_Template_dr_select_ngModelChange_12_listener($event) { i0.ɵɵrestoreView(_r74); const ctx_r78 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r78.cronModel.timePeriod = $event); })("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_container_13_ng_template_2_Template_dr_select_ngModelChange_12_listener() { i0.ɵɵrestoreView(_r74); const ctx_r79 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r79.onSelectionChange()); });
17723
17752
  i0.ɵɵelementEnd();
17724
- i0.ɵɵelementStart(13, "dr-select", 42);
17725
- i0.ɵɵlistener("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_template_13_Template_dr_select_ngModelChange_13_listener($event) { i0.ɵɵrestoreView(_r69); const ctx_r75 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r75.cronModel.timeZone = $event); })("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_template_13_Template_dr_select_ngModelChange_13_listener() { i0.ɵɵrestoreView(_r69); const ctx_r76 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r76.onSelectionChange()); });
17726
- i0.ɵɵtemplate(14, DrCronFieldComponent_ng_template_3_ng_template_13_ng_template_14_Template, 1, 1, "ng-template", null, 43, i0.ɵɵtemplateRefExtractor);
17753
+ i0.ɵɵelementStart(13, "dr-select", 49);
17754
+ i0.ɵɵlistener("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_container_13_ng_template_2_Template_dr_select_ngModelChange_13_listener($event) { i0.ɵɵrestoreView(_r74); const ctx_r80 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r80.cronModel.timeZone = $event); })("ngModelChange", function DrCronFieldComponent_ng_template_3_ng_container_13_ng_template_2_Template_dr_select_ngModelChange_13_listener() { i0.ɵɵrestoreView(_r74); const ctx_r81 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r81.onSelectionChange()); });
17755
+ i0.ɵɵtemplate(14, DrCronFieldComponent_ng_template_3_ng_container_13_ng_template_2_ng_template_14_Template, 1, 1, "ng-template", null, 50, i0.ɵɵtemplateRefExtractor);
17727
17756
  i0.ɵɵelementEnd()();
17728
17757
  } if (rf & 2) {
17729
- const ctx_r25 = i0.ɵɵnextContext(2);
17730
- i0.ɵɵproperty("ngIf", ctx_r25.cronModel.every === ctx_r25.cronEditorPeriod.QUARTER);
17758
+ const ctx_r50 = i0.ɵɵnextContext(3);
17759
+ i0.ɵɵproperty("ngIf", ctx_r50.cronModel.every === ctx_r50.cronEditorPeriod.QUARTER);
17731
17760
  i0.ɵɵadvance(2);
17732
- i0.ɵɵproperty("ngIf", ctx_r25.cronModel.every === ctx_r25.cronEditorPeriod.DAY);
17761
+ i0.ɵɵproperty("ngIf", ctx_r50.cronModel.every === ctx_r50.cronEditorPeriod.DAY);
17733
17762
  i0.ɵɵadvance(1);
17734
- i0.ɵɵproperty("ngIf", ctx_r25.cronModel.every === ctx_r25.cronEditorPeriod.HOUR);
17763
+ i0.ɵɵproperty("ngIf", ctx_r50.cronModel.every === ctx_r50.cronEditorPeriod.HOUR);
17735
17764
  i0.ɵɵadvance(1);
17736
- i0.ɵɵproperty("ngIf", ctx_r25.cronModel.every === ctx_r25.cronEditorPeriod.WEEK);
17765
+ i0.ɵɵproperty("ngIf", ctx_r50.cronModel.every === ctx_r50.cronEditorPeriod.WEEK);
17737
17766
  i0.ɵɵadvance(1);
17738
- i0.ɵɵproperty("ngIf", ctx_r25.cronModel.every !== ctx_r25.cronEditorPeriod.WEEK && ctx_r25.cronModel.every !== ctx_r25.cronEditorPeriod.HOUR && ctx_r25.cronModel.every !== ctx_r25.cronEditorPeriod.DAY);
17767
+ i0.ɵɵproperty("ngIf", ctx_r50.cronModel.every !== ctx_r50.cronEditorPeriod.WEEK && ctx_r50.cronModel.every !== ctx_r50.cronEditorPeriod.HOUR && ctx_r50.cronModel.every !== ctx_r50.cronEditorPeriod.DAY);
17739
17768
  i0.ɵɵadvance(3);
17740
- i0.ɵɵproperty("ngModel", ctx_r25.cronModel.hour)("mask", "00")("min", 1)("max", 12);
17769
+ i0.ɵɵproperty("ngModel", ctx_r50.cronModel.hour)("mask", "00")("min", 0)("max", 12);
17741
17770
  i0.ɵɵadvance(3);
17742
- i0.ɵɵproperty("ngModel", ctx_r25.cronModel.minute)("mask", "00")("min", 0)("max", 59);
17771
+ i0.ɵɵproperty("ngModel", ctx_r50.cronModel.minute)("mask", "00")("min", 0)("max", 59);
17772
+ i0.ɵɵadvance(1);
17773
+ i0.ɵɵproperty("ngModel", ctx_r50.cronModel.timePeriod)("items", ctx_r50.CRON_TIME_PERIOD_ARRAY);
17743
17774
  i0.ɵɵadvance(1);
17744
- i0.ɵɵproperty("ngModel", ctx_r25.cronModel.timePeriod)("items", ctx_r25.CRON_TIME_PERIOD_ARRAY);
17775
+ i0.ɵɵproperty("ngModel", ctx_r50.cronModel.timeZone)("items", ctx_r50.GMT_OFFSETS)("textView", true);
17776
+ } }
17777
+ function DrCronFieldComponent_ng_template_3_ng_container_13_Template(rf, ctx) { if (rf & 1) {
17778
+ i0.ɵɵelementContainerStart(0);
17779
+ i0.ɵɵtemplate(1, DrCronFieldComponent_ng_template_3_ng_container_13_ng_container_1_Template, 13, 8, "ng-container", 35);
17780
+ i0.ɵɵtemplate(2, DrCronFieldComponent_ng_template_3_ng_container_13_ng_template_2_Template, 16, 18, "ng-template", null, 36, i0.ɵɵtemplateRefExtractor);
17781
+ i0.ɵɵelementContainerEnd();
17782
+ } if (rf & 2) {
17783
+ const _r49 = i0.ɵɵreference(3);
17784
+ const ctx_r24 = i0.ɵɵnextContext(2);
17745
17785
  i0.ɵɵadvance(1);
17746
- i0.ɵɵproperty("ngModel", ctx_r25.cronModel.timeZone)("items", ctx_r25.GMT_OFFSETS)("textView", true);
17786
+ i0.ɵɵproperty("ngIf", ctx_r24.multiRowMode)("ngIfElse", _r49);
17747
17787
  } }
17748
17788
  function DrCronFieldComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
17749
17789
  i0.ɵɵtemplate(0, DrCronFieldComponent_ng_template_3_ng_template_0_Template, 5, 2, "ng-template", null, 12, i0.ɵɵtemplateRefExtractor);
@@ -17753,18 +17793,19 @@ function DrCronFieldComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
17753
17793
  i0.ɵɵtemplate(8, DrCronFieldComponent_ng_template_3_ng_template_8_Template, 3, 2, "ng-template", null, 16, i0.ɵɵtemplateRefExtractor);
17754
17794
  i0.ɵɵelementStart(10, "div", 17);
17755
17795
  i0.ɵɵtemplate(11, DrCronFieldComponent_ng_template_3_dr_radio_group_11_Template, 2, 2, "dr-radio-group", 18);
17756
- i0.ɵɵtemplate(12, DrCronFieldComponent_ng_template_3_ng_container_12_Template, 13, 8, "ng-container", 19);
17757
- i0.ɵɵtemplate(13, DrCronFieldComponent_ng_template_3_ng_template_13_Template, 16, 18, "ng-template", null, 20, i0.ɵɵtemplateRefExtractor);
17796
+ i0.ɵɵtemplate(12, DrCronFieldComponent_ng_template_3_div_12_Template, 7, 2, "div", 19);
17797
+ i0.ɵɵtemplate(13, DrCronFieldComponent_ng_template_3_ng_container_13_Template, 4, 2, "ng-container", 20);
17758
17798
  i0.ɵɵelementEnd();
17759
17799
  } if (rf & 2) {
17760
- const _r24 = i0.ɵɵreference(14);
17761
17800
  const ctx_r4 = i0.ɵɵnextContext();
17762
17801
  i0.ɵɵadvance(10);
17763
17802
  i0.ɵɵclassProp("cron-configuration--multi-row", ctx_r4.multiRowMode);
17764
17803
  i0.ɵɵadvance(1);
17765
17804
  i0.ɵɵproperty("ngIf", !ctx_r4.hidePeriodSelector);
17766
17805
  i0.ɵɵadvance(1);
17767
- i0.ɵɵproperty("ngIf", ctx_r4.multiRowMode)("ngIfElse", _r24);
17806
+ i0.ɵɵproperty("ngIf", ctx_r4.isAdvancedMode);
17807
+ i0.ɵɵadvance(1);
17808
+ i0.ɵɵproperty("ngIf", !ctx_r4.isAdvancedMode);
17768
17809
  } }
17769
17810
  class DrCronFieldComponent {
17770
17811
  set value(value) {
@@ -17793,6 +17834,7 @@ class DrCronFieldComponent {
17793
17834
  this.hidePeriodSelector = false;
17794
17835
  this.flatMode = false;
17795
17836
  this.multiRowMode = false;
17837
+ this.allowAdvanced = false;
17796
17838
  this.DAY_OF_MONTH_ARRAY = DAY_OF_MONTH_ARRAY;
17797
17839
  this.MONTH_OF_QUARTER_ARRAY = MONTH_OF_QUARTER_ARRAY;
17798
17840
  this.MONTH_OF_YEAR_ARRAY = MONTH_OF_YEAR_ARRAY;
@@ -17802,6 +17844,9 @@ class DrCronFieldComponent {
17802
17844
  this.LOCAL_TIME_ZONE_OFFSET = LOCAL_TIME_ZONE_OFFSET;
17803
17845
  this.GMT_OFFSETS = GMT_OFFSETS;
17804
17846
  this.cronEditorPeriod = CronEditorPeriod;
17847
+ this.isAdvancedMode = false;
17848
+ this.advancedCron = '';
17849
+ this.advancedError = null;
17805
17850
  this.onChange = () => { };
17806
17851
  this.onTouched = () => { };
17807
17852
  }
@@ -17813,6 +17858,9 @@ class DrCronFieldComponent {
17813
17858
  value: period,
17814
17859
  label: capitalize(getCronTypeAsPeriodLabel(period)),
17815
17860
  }));
17861
+ if (this.allowAdvanced) {
17862
+ this.cronEditorPeriodArray.push({ value: 'advanced', label: 'Advanced' });
17863
+ }
17816
17864
  }
17817
17865
  registerOnChange(fn) {
17818
17866
  this.onChange = fn;
@@ -17832,6 +17880,15 @@ class DrCronFieldComponent {
17832
17880
  this.cdr.markForCheck();
17833
17881
  }
17834
17882
  update() {
17883
+ if (this.isAdvancedMode) {
17884
+ this.validateAdvancedCron();
17885
+ if (!this.advancedError) {
17886
+ this.visibleString = this.advancedCron;
17887
+ this.onChange(this.advancedCron);
17888
+ }
17889
+ this.cdr.markForCheck();
17890
+ return;
17891
+ }
17835
17892
  this.valueObject.valueObject = this.cronModel;
17836
17893
  this.visibleString = this.valueObject.getReadableString();
17837
17894
  this.cdr.markForCheck();
@@ -17842,6 +17899,14 @@ class DrCronFieldComponent {
17842
17899
  this.cronModel = this.valueObject.valueObject;
17843
17900
  }
17844
17901
  onEveryChange($event) {
17902
+ if ($event === 'advanced') {
17903
+ this.isAdvancedMode = true;
17904
+ this.advancedCron = '';
17905
+ this.advancedError = null;
17906
+ return;
17907
+ }
17908
+ this.isAdvancedMode = false;
17909
+ this.advancedError = null;
17845
17910
  const tempValueObject = new CronEditor(CronEditorDefaultConfigByPeriod[$event](this.fiscalYearStart), this.fiscalYearStart);
17846
17911
  this.cronModel = tempValueObject.valueObject;
17847
17912
  this.onSelectionChange();
@@ -17858,24 +17923,36 @@ class DrCronFieldComponent {
17858
17923
  this.update();
17859
17924
  }
17860
17925
  }
17926
+ onAdvancedChange() {
17927
+ this.validateAdvancedCron();
17928
+ this.onSelectionChange();
17929
+ }
17930
+ validateAdvancedCron() {
17931
+ if (!this.validateCron) {
17932
+ this.advancedError = null;
17933
+ return;
17934
+ }
17935
+ const validation = this.validateCron(this.advancedCron);
17936
+ this.advancedError = validation.valid ? null : validation.error_message;
17937
+ }
17861
17938
  /** @nocollapse */ static { this.ɵfac = function DrCronFieldComponent_Factory(t) { return new (t || DrCronFieldComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
17862
17939
  /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrCronFieldComponent, selectors: [["dr-cron-field"]], hostVars: 3, hostBindings: function DrCronFieldComponent_HostBindings(rf, ctx) { if (rf & 2) {
17863
17940
  i0.ɵɵattribute("id", ctx.hostId);
17864
17941
  i0.ɵɵclassProp("disabled", ctx.disabled);
17865
- } }, inputs: { id: "id", disabled: "disabled", allowedPeriods: "allowedPeriods", fiscalYearStart: "fiscalYearStart", popoverPosition: "popoverPosition", hidePeriodSelector: ["hidePeriodSelector", "hidePeriodSelector", booleanAttribute], flatMode: ["flatMode", "flatMode", booleanAttribute], multiRowMode: ["multiRowMode", "multiRowMode", booleanAttribute] }, standalone: true, features: [i0.ɵɵProvidersFeature([
17942
+ } }, inputs: { id: "id", disabled: "disabled", allowedPeriods: "allowedPeriods", fiscalYearStart: "fiscalYearStart", popoverPosition: "popoverPosition", hidePeriodSelector: ["hidePeriodSelector", "hidePeriodSelector", booleanAttribute], flatMode: ["flatMode", "flatMode", booleanAttribute], multiRowMode: ["multiRowMode", "multiRowMode", booleanAttribute], allowAdvanced: ["allowAdvanced", "allowAdvanced", booleanAttribute], validateCron: "validateCron" }, standalone: true, features: [i0.ɵɵProvidersFeature([
17866
17943
  {
17867
17944
  provide: NG_VALUE_ACCESSOR,
17868
17945
  useExisting: forwardRef((() => DrCronFieldComponent)),
17869
17946
  multi: true,
17870
17947
  },
17871
- ]), i0.ɵɵInputTransformsFeature, i0.ɵɵStandaloneFeature], decls: 5, vars: 2, consts: [["data-analytics", "dr-cron-field_input-main", "aria-label", "Schedule", "placeholder", "Select...", 3, "id", "ngModel", "drPopover", "drPopoverPosition", "disabled", "readonly", "click", "ngModelChange", 4, "ngIf", "ngIfElse"], ["recurrencePopover", ""], ["cronConfiguration", ""], ["data-analytics", "dr-cron-field_input-main", "aria-label", "Schedule", "placeholder", "Select...", 3, "id", "ngModel", "drPopover", "drPopoverPosition", "disabled", "readonly", "click", "ngModelChange"], ["prefixIcon", "", 1, "dr-icon-date"], ["suffixIcon", "", 1, "dr-icon-arrow-down"], [1, "recurrence-popup"], [1, "recurrence-popup__body"], [3, "ngTemplateOutlet"], [1, "recurrence-popup__footer"], ["data-analytics", "dr-cron-field_button-cancel", "theme", "secondary", 3, "click"], ["data-analytics", "dr-cron-field_button-save", 3, "click"], ["quarterConfig", ""], ["hourConfig", ""], ["weekConfig", ""], ["dayOfMonthSelector", ""], ["yearMonthSelector", ""], [1, "cron-configuration"], ["data-analytics", "dr-cron-field_radio-group-period", "class", "cron-configuration__every", "name", "every", 3, "ngModel", "ngModelChange", 4, "ngIf"], [4, "ngIf", "ngIfElse"], ["singleRowMode", ""], ["data-analytics", "dr-cron-field_select-quarter-month", "aria-label", "Quarter month", "bindLabel", "label", "bindValue", "value", 1, "month-of-quarter", 3, "ngModel", "items", "ngModelChange"], ["data-analytics", "dr-cron-field_select-every-x-hours", "aria-label", "Hour interval", "bindLabel", "label", "bindValue", "value", 1, "day-of-month", 3, "ngModel", "items", "ngModelChange"], ["data-analytics", "dr-cron-field_select-day-of-week", "aria-label", "Day of week", "bindLabel", "label", "bindValue", "value", 1, "day-of-week", 3, "ngModel", "items", "ngModelChange"], ["data-analytics", "dr-cron-field_select-day-of-month", "aria-label", "Day of month", "bindLabel", "label", "bindValue", "value", 1, "day-of-month", 3, "ngModel", "items", "searchable", "ngModelChange"], ["data-analytics", "dr-cron-field_select-month", "aria-label", "Month", "bindLabel", "label", "bindValue", "value", 1, "month-of-year", 3, "ngModel", "items", "ngModelChange"], ["data-analytics", "dr-cron-field_radio-group-period", "name", "every", 1, "cron-configuration__every", 3, "ngModel", "ngModelChange"], [3, "value", 4, "ngFor", "ngForOf"], [3, "value"], [1, "cron-configuration__section", "cron-configuration__row"], [3, "ngTemplateOutlet", 4, "ngIf"], [4, "ngIf"], ["class", "cron-configuration__section cron-configuration__row", 4, "ngIf"], [1, "cron-configuration__section", "cron-configuration__row", "cron-configuration__row--time"], [1, "time-prefix"], [3, "ngModel", "ngModelChange"], ["class", "cron-configuration__section", 4, "ngIf"], [1, "cron-configuration__section"], ["data-analytics", "dr-cron-field_input-hour", "aria-label", "Hour", "type", "number", 1, "hours-input", 3, "ngModel", "mask", "min", "max", "ngModelChange"], [1, "time-dots"], ["data-analytics", "dr-cron-field_input-minute", "aria-label", "Minute", "type", "number", 1, "minutes-input", 3, "ngModel", "mask", "min", "max", "ngModelChange"], ["data-analytics", "dr-cron-field_select-time-period", "aria-label", "Time period", 1, "time-period-selector", 3, "ngModel", "items", "ngModelChange"], ["data-analytics", "dr-cron-field_select-timezone", "aria-label", "Time zone", "bindLabel", "label", "bindValue", "value", 1, "gmt-offsets", 3, "ngModel", "items", "textView", "ngModelChange"], ["labelTemplate", ""]], template: function DrCronFieldComponent_Template(rf, ctx) { if (rf & 1) {
17948
+ ]), i0.ɵɵInputTransformsFeature, i0.ɵɵStandaloneFeature], decls: 5, vars: 2, consts: [["data-analytics", "dr-cron-field_input-main", "aria-label", "Schedule", "placeholder", "Select...", 3, "id", "ngModel", "drPopover", "drPopoverPosition", "disabled", "readonly", "click", "ngModelChange", 4, "ngIf", "ngIfElse"], ["recurrencePopover", ""], ["cronConfiguration", ""], ["data-analytics", "dr-cron-field_input-main", "aria-label", "Schedule", "placeholder", "Select...", 3, "id", "ngModel", "drPopover", "drPopoverPosition", "disabled", "readonly", "click", "ngModelChange"], ["prefixIcon", "", 1, "dr-icon-date"], ["suffixIcon", "", 1, "dr-icon-arrow-down"], [1, "recurrence-popup"], [1, "recurrence-popup__body"], [3, "ngTemplateOutlet"], [1, "recurrence-popup__footer"], ["data-analytics", "dr-cron-field_button-cancel", "theme", "secondary", 3, "click"], ["data-analytics", "dr-cron-field_button-save", 3, "click"], ["quarterConfig", ""], ["hourConfig", ""], ["weekConfig", ""], ["dayOfMonthSelector", ""], ["yearMonthSelector", ""], [1, "cron-configuration"], ["data-analytics", "dr-cron-field_radio-group-period", "class", "cron-configuration__every", "name", "every", 3, "ngModel", "ngModelChange", 4, "ngIf"], ["class", "cron-configuration__advanced", 4, "ngIf"], [4, "ngIf"], ["data-analytics", "dr-cron-field_select-quarter-month", "aria-label", "Quarter month", "bindLabel", "label", "bindValue", "value", 1, "month-of-quarter", 3, "ngModel", "items", "ngModelChange"], ["data-analytics", "dr-cron-field_select-every-x-hours", "aria-label", "Hour interval", "bindLabel", "label", "bindValue", "value", 1, "day-of-month", 3, "ngModel", "items", "ngModelChange"], ["data-analytics", "dr-cron-field_select-day-of-week", "aria-label", "Day of week", "bindLabel", "label", "bindValue", "value", 1, "day-of-week", 3, "ngModel", "items", "ngModelChange"], ["data-analytics", "dr-cron-field_select-day-of-month", "aria-label", "Day of month", "bindLabel", "label", "bindValue", "value", 1, "day-of-month", 3, "ngModel", "items", "searchable", "ngModelChange"], ["data-analytics", "dr-cron-field_select-month", "aria-label", "Month", "bindLabel", "label", "bindValue", "value", 1, "month-of-year", 3, "ngModel", "items", "ngModelChange"], ["data-analytics", "dr-cron-field_radio-group-period", "name", "every", 1, "cron-configuration__every", 3, "ngModel", "ngModelChange"], ["data-analytics", "dr-cron-field_radio-button-0", 3, "value", 4, "ngFor", "ngForOf"], ["data-analytics", "dr-cron-field_radio-button-0", 3, "value"], [1, "cron-configuration__advanced"], [1, "cron-configuration__advanced-note"], [1, "cron-configuration__advanced-label"], ["data-analytics", "dr-cron-field_input-advanced", 3, "ngModel", "ngModelChange"], ["class", "cron-configuration__advanced-error", 4, "ngIf"], [1, "cron-configuration__advanced-error"], [4, "ngIf", "ngIfElse"], ["singleRowMode", ""], [1, "cron-configuration__section", "cron-configuration__row"], [3, "ngTemplateOutlet", 4, "ngIf"], ["class", "cron-configuration__section cron-configuration__row", 4, "ngIf"], [1, "cron-configuration__section", "cron-configuration__row", "cron-configuration__row--time"], [1, "time-prefix"], [3, "ngModel", "ngModelChange"], ["class", "cron-configuration__section", 4, "ngIf"], [1, "cron-configuration__section"], ["data-analytics", "dr-cron-field_input-hour", "aria-label", "Hour", "type", "number", 1, "hours-input", 3, "ngModel", "mask", "min", "max", "ngModelChange"], [1, "time-dots"], ["data-analytics", "dr-cron-field_input-minute", "aria-label", "Minute", "type", "number", 1, "minutes-input", 3, "ngModel", "mask", "min", "max", "ngModelChange"], ["data-analytics", "dr-cron-field_select-time-period", "aria-label", "Time period", 1, "time-period-selector", 3, "ngModel", "items", "ngModelChange"], ["data-analytics", "dr-cron-field_select-timezone", "aria-label", "Time zone", "bindLabel", "label", "bindValue", "value", 1, "gmt-offsets", 3, "ngModel", "items", "textView", "ngModelChange"], ["labelTemplate", ""]], template: function DrCronFieldComponent_Template(rf, ctx) { if (rf & 1) {
17872
17949
  i0.ɵɵtemplate(0, DrCronFieldComponent_dr_input_0_Template, 3, 6, "dr-input", 0);
17873
17950
  i0.ɵɵtemplate(1, DrCronFieldComponent_ng_template_1_Template, 8, 1, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
17874
- i0.ɵɵtemplate(3, DrCronFieldComponent_ng_template_3_Template, 15, 5, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
17951
+ i0.ɵɵtemplate(3, DrCronFieldComponent_ng_template_3_Template, 14, 5, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
17875
17952
  } if (rf & 2) {
17876
17953
  const _r3 = i0.ɵɵreference(4);
17877
17954
  i0.ɵɵproperty("ngIf", !ctx.flatMode)("ngIfElse", _r3);
17878
- } }, dependencies: [CommonModule, i1.NgForOf, i1.NgIf, i1.NgTemplateOutlet, FormsModule, i2.NgControlStatus, i2.NgModel, DrTooltipModule, DrInputsModule, DrButtonComponent, RadioButtonComponent, RadioGroupComponent, DrInputComponent, DrSelectComponent, DrPopoverModule, DrPopoverDirective, TimePickerComponent], styles: ["[_nghost-%COMP%] dr-input[_ngcontent-%COMP%] , [_nghost-%COMP%] dr-input[_ngcontent-%COMP%] input{cursor:pointer;text-overflow:ellipsis}.recurrence-popup__body[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex-grow:1;padding:16px 32px}.recurrence-popup__footer[_ngcontent-%COMP%]{display:flex;align-items:center;padding:8px 16px;border-top:1px solid #dfe0e3;justify-content:flex-end}.recurrence-popup__footer[_ngcontent-%COMP%] dr-button[_ngcontent-%COMP%]{margin-left:12px}.cron-configuration[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:640px;height:auto;font-size:14px;line-height:24px;font-weight:400}.cron-configuration__every[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%;margin:16px 0;gap:24px}.cron-configuration__section[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:nowrap;margin-bottom:8px}.cron-configuration__section[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{flex-shrink:0}.cron-configuration[_ngcontent-%COMP%] .month-of-quarter[_ngcontent-%COMP%]{width:65px;flex-shrink:0;margin:0 8px}.cron-configuration[_ngcontent-%COMP%] .day-of-week[_ngcontent-%COMP%]{width:132px;flex-shrink:0;margin:0 8px}.cron-configuration[_ngcontent-%COMP%] .month-of-year[_ngcontent-%COMP%]{width:125px;flex-shrink:0;margin:0 0 0 8px}.cron-configuration[_ngcontent-%COMP%] .day-of-month[_ngcontent-%COMP%]{width:75px;flex-shrink:0;margin:0 8px}.cron-configuration[_ngcontent-%COMP%] .hours-input[_ngcontent-%COMP%]{width:62px;flex-shrink:0;margin-left:8px}.cron-configuration[_ngcontent-%COMP%] .minutes-input[_ngcontent-%COMP%]{width:62px;flex-shrink:0}.cron-configuration[_ngcontent-%COMP%] .time-period-selector[_ngcontent-%COMP%]{width:64px;flex-shrink:0;margin-left:8px}.cron-configuration[_ngcontent-%COMP%] .time-prefix[_ngcontent-%COMP%]{margin-left:4px}.cron-configuration[_ngcontent-%COMP%] .time-dots[_ngcontent-%COMP%]{margin:0 4px}.cron-configuration[_ngcontent-%COMP%] .gmt-offsets[_ngcontent-%COMP%]{margin-left:16px}.cron-configuration--multi-row[_ngcontent-%COMP%]{width:auto}.cron-configuration--multi-row[_ngcontent-%COMP%] .cron-configuration__row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}.cron-configuration--multi-row[_ngcontent-%COMP%] .cron-configuration__row--time[_ngcontent-%COMP%]{margin-top:8px}.cron-configuration--multi-row[_ngcontent-%COMP%] .time-prefix[_ngcontent-%COMP%]{margin-left:0}"], changeDetection: 0 }); }
17955
+ } }, dependencies: [CommonModule, i1.NgForOf, i1.NgIf, i1.NgTemplateOutlet, FormsModule, i2.NgControlStatus, i2.NgModel, DrTooltipModule, DrInputsModule, DrButtonComponent, RadioButtonComponent, RadioGroupComponent, DrInputComponent, DrSelectComponent, DrPopoverModule, DrPopoverDirective, TimePickerComponent], styles: ["[_nghost-%COMP%] dr-input[_ngcontent-%COMP%] , [_nghost-%COMP%] dr-input[_ngcontent-%COMP%] input{cursor:pointer;text-overflow:ellipsis}.recurrence-popup__body[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex-grow:1;padding:16px 32px}.recurrence-popup__footer[_ngcontent-%COMP%]{display:flex;align-items:center;padding:8px 16px;border-top:1px solid #dfe0e3;justify-content:flex-end}.recurrence-popup__footer[_ngcontent-%COMP%] dr-button[_ngcontent-%COMP%]{margin-left:12px}.cron-configuration[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:640px;height:auto;font-size:14px;line-height:24px;font-weight:400}.cron-configuration__every[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%;margin:16px 0;gap:24px}.cron-configuration__section[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:nowrap;margin-bottom:8px}.cron-configuration__section[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{flex-shrink:0}.cron-configuration[_ngcontent-%COMP%] .month-of-quarter[_ngcontent-%COMP%]{width:65px;flex-shrink:0;margin:0 8px}.cron-configuration[_ngcontent-%COMP%] .day-of-week[_ngcontent-%COMP%]{width:132px;flex-shrink:0;margin:0 8px}.cron-configuration[_ngcontent-%COMP%] .month-of-year[_ngcontent-%COMP%]{width:125px;flex-shrink:0;margin:0 0 0 8px}.cron-configuration[_ngcontent-%COMP%] .day-of-month[_ngcontent-%COMP%]{width:75px;flex-shrink:0;margin:0 8px}.cron-configuration[_ngcontent-%COMP%] .hours-input[_ngcontent-%COMP%]{width:62px;flex-shrink:0;margin-left:8px}.cron-configuration[_ngcontent-%COMP%] .minutes-input[_ngcontent-%COMP%]{width:62px;flex-shrink:0}.cron-configuration[_ngcontent-%COMP%] .time-period-selector[_ngcontent-%COMP%]{width:64px;flex-shrink:0;margin-left:8px}.cron-configuration[_ngcontent-%COMP%] .time-prefix[_ngcontent-%COMP%]{margin-left:4px}.cron-configuration[_ngcontent-%COMP%] .time-dots[_ngcontent-%COMP%]{margin:0 4px}.cron-configuration[_ngcontent-%COMP%] .gmt-offsets[_ngcontent-%COMP%]{margin-left:16px}.cron-configuration__advanced[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}.cron-configuration__advanced[_ngcontent-%COMP%] dr-input[_ngcontent-%COMP%] input{cursor:text}.cron-configuration__advanced-error[_ngcontent-%COMP%]{color:#bf1d30}.cron-configuration--multi-row[_ngcontent-%COMP%]{width:auto}.cron-configuration--multi-row[_ngcontent-%COMP%] .cron-configuration__row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}.cron-configuration--multi-row[_ngcontent-%COMP%] .cron-configuration__row--time[_ngcontent-%COMP%]{margin-top:8px}.cron-configuration--multi-row[_ngcontent-%COMP%] .time-prefix[_ngcontent-%COMP%]{margin-left:0}"], changeDetection: 0 }); }
17879
17956
  }
17880
17957
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrCronFieldComponent, [{
17881
17958
  type: Component,
@@ -17885,7 +17962,7 @@ class DrCronFieldComponent {
17885
17962
  useExisting: forwardRef((() => DrCronFieldComponent)),
17886
17963
  multi: true,
17887
17964
  },
17888
- ], imports: [CommonModule, FormsModule, DrTooltipModule, DrInputsModule, DrPopoverModule, TimePickerComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<dr-input\n [id]=\"id\"\n data-analytics=\"dr-cron-field_input-main\"\n aria-label=\"Schedule\"\n *ngIf=\"!flatMode; else cronConfiguration\"\n placeholder=\"Select...\"\n (click)=\"!disabled ? openPopover() : null\"\n [(ngModel)]=\"visibleString\"\n [drPopover]=\"!disabled ? recurrencePopover : null\"\n [drPopoverPosition]=\"popoverPosition\"\n [disabled]=\"disabled\"\n [readonly]=\"true\">\n <i class=\"dr-icon-date\" prefixIcon></i>\n <i class=\"dr-icon-arrow-down\" suffixIcon></i>\n</dr-input>\n\n<ng-template #recurrencePopover let-closePopover=\"closePopover\">\n <div class=\"recurrence-popup\">\n <div class=\"recurrence-popup__body\">\n <ng-container [ngTemplateOutlet]=\"cronConfiguration\"></ng-container>\n </div>\n <div class=\"recurrence-popup__footer\">\n <dr-button data-analytics=\"dr-cron-field_button-cancel\" theme=\"secondary\" (click)=\"closePopover()\">Cancel</dr-button>\n <dr-button data-analytics=\"dr-cron-field_button-save\" (click)=\"update(); closePopover()\">Save</dr-button>\n </div>\n </div>\n</ng-template>\n\n<ng-template #cronConfiguration>\n <ng-template #quarterConfig>\n <span>Repeat every quarter on</span>\n <dr-select\n data-analytics=\"dr-cron-field_select-quarter-month\"\n aria-label=\"Quarter month\"\n [(ngModel)]=\"cronModel.month\"\n (ngModelChange)=\"onSelectionChange()\"\n [items]=\"MONTH_OF_QUARTER_ARRAY\"\n bindLabel=\"label\"\n bindValue=\"value\"\n class=\"month-of-quarter\"></dr-select>\n <span>month of the quarter</span>\n </ng-template>\n\n <ng-template #hourConfig>\n <span>Repeat every</span>\n <dr-select\n data-analytics=\"dr-cron-field_select-every-x-hours\"\n aria-label=\"Hour interval\"\n [(ngModel)]=\"cronModel.everyXHours\"\n (ngModelChange)=\"onSelectionChange()\"\n [items]=\"HOURS_DIVISIBLE_INTO_DAY\"\n bindLabel=\"label\"\n bindValue=\"value\"\n class=\"day-of-month\">\n </dr-select>\n <span>hour(s)</span>\n </ng-template>\n\n <ng-template #weekConfig>\n <span>Repeat every</span>\n <dr-select\n data-analytics=\"dr-cron-field_select-day-of-week\"\n aria-label=\"Day of week\"\n [(ngModel)]=\"cronModel.dayOfWeek\"\n (ngModelChange)=\"onSelectionChange()\"\n [items]=\"DAY_OF_WEEK_ARRAY\"\n bindLabel=\"label\"\n bindValue=\"value\"\n class=\"day-of-week\">\n </dr-select>\n </ng-template>\n\n <ng-template #dayOfMonthSelector>\n <dr-select\n data-analytics=\"dr-cron-field_select-day-of-month\"\n aria-label=\"Day of month\"\n [(ngModel)]=\"cronModel.dayOfMonth\"\n (ngModelChange)=\"onSelectionChange()\"\n [items]=\"DAY_OF_MONTH_ARRAY\"\n [searchable]=\"true\"\n bindLabel=\"label\"\n bindValue=\"value\"\n class=\"day-of-month\">\n </dr-select>\n </ng-template>\n\n <ng-template #yearMonthSelector>\n <span>Repeat every</span>\n <dr-select\n data-analytics=\"dr-cron-field_select-month\"\n aria-label=\"Month\"\n [(ngModel)]=\"cronModel.month\"\n (ngModelChange)=\"onSelectionChange()\"\n [items]=\"MONTH_OF_YEAR_ARRAY\"\n bindLabel=\"label\"\n bindValue=\"value\"\n class=\"month-of-year\">\n </dr-select>\n </ng-template>\n\n <div class=\"cron-configuration\" [class.cron-configuration--multi-row]=\"multiRowMode\">\n <dr-radio-group\n data-analytics=\"dr-cron-field_radio-group-period\"\n *ngIf=\"!hidePeriodSelector\"\n class=\"cron-configuration__every\"\n [(ngModel)]=\"cronModel.every\"\n (ngModelChange)=\"onEveryChange($event)\"\n name=\"every\">\n <dr-radio-button\n *ngFor=\"let option of cronEditorPeriodArray\"\n [value]=\"option.value\"\n [attr.data-analytics]=\"'dr-cron-field_radio-button-' + option.value\">\n {{ option.label }}\n </dr-radio-button>\n </dr-radio-group>\n\n <ng-container *ngIf=\"multiRowMode; else singleRowMode\">\n <div class=\"cron-configuration__section cron-configuration__row\">\n <ng-container\n *ngIf=\"cronModel.every === cronEditorPeriod.QUARTER\"\n [ngTemplateOutlet]=\"quarterConfig\"></ng-container>\n <span *ngIf=\"cronModel.every === cronEditorPeriod.DAY\">Repeat every day</span>\n <ng-container *ngIf=\"cronModel.every === cronEditorPeriod.HOUR\" [ngTemplateOutlet]=\"hourConfig\"></ng-container>\n <ng-container *ngIf=\"cronModel.every === cronEditorPeriod.WEEK\" [ngTemplateOutlet]=\"weekConfig\"></ng-container>\n <ng-container *ngIf=\"cronModel.every === cronEditorPeriod.YEAR\">\n <ng-container [ngTemplateOutlet]=\"yearMonthSelector\"></ng-container>\n <ng-container [ngTemplateOutlet]=\"dayOfMonthSelector\"></ng-container>\n </ng-container>\n\n <ng-container *ngIf=\"cronModel.every === cronEditorPeriod.MONTH\">\n <span>Repeat on</span>\n <ng-container [ngTemplateOutlet]=\"dayOfMonthSelector\"></ng-container>\n <span>day of every month</span>\n </ng-container>\n </div>\n\n <div class=\"cron-configuration__section cron-configuration__row\" *ngIf=\"cronModel.every === cronEditorPeriod.QUARTER\">\n <span>on</span>\n <ng-container [ngTemplateOutlet]=\"dayOfMonthSelector\"></ng-container>\n <span>day of the month</span>\n </div>\n\n <div class=\"cron-configuration__section cron-configuration__row cron-configuration__row--time\">\n <span class=\"time-prefix\">at</span>\n <dr-time-picker [ngModel]=\"cronModel\" (ngModelChange)=\"onTimePickerChange($event)\"> </dr-time-picker>\n </div>\n </ng-container>\n\n <ng-template #singleRowMode>\n <div *ngIf=\"cronModel.every === cronEditorPeriod.QUARTER\" class=\"cron-configuration__section\">\n <ng-container [ngTemplateOutlet]=\"quarterConfig\"></ng-container>\n </div>\n <div class=\"cron-configuration__section\">\n <span *ngIf=\"cronModel.every === cronEditorPeriod.DAY\"> Repeat every day </span>\n <ng-container *ngIf=\"cronModel.every === cronEditorPeriod.HOUR\" [ngTemplateOutlet]=\"hourConfig\"></ng-container>\n <ng-container *ngIf=\"cronModel.every === cronEditorPeriod.WEEK\" [ngTemplateOutlet]=\"weekConfig\"></ng-container>\n\n <ng-container\n *ngIf=\"\n cronModel.every !== cronEditorPeriod.WEEK &&\n cronModel.every !== cronEditorPeriod.HOUR &&\n cronModel.every !== cronEditorPeriod.DAY\n \">\n <span *ngIf=\"cronModel.every === cronEditorPeriod.MONTH\">Repeat on </span>\n <span *ngIf=\"cronModel.every === cronEditorPeriod.QUARTER\">on </span>\n <ng-container\n *ngIf=\"cronModel.every === cronEditorPeriod.YEAR\"\n [ngTemplateOutlet]=\"yearMonthSelector\"></ng-container>\n\n <ng-container [ngTemplateOutlet]=\"dayOfMonthSelector\"></ng-container>\n\n <span *ngIf=\"cronModel.every === cronEditorPeriod.MONTH\">day of every month </span>\n <span *ngIf=\"cronModel.every === cronEditorPeriod.QUARTER\">day of the month </span>\n </ng-container>\n <span class=\"time-prefix\">at</span>\n <dr-input\n data-analytics=\"dr-cron-field_input-hour\"\n aria-label=\"Hour\"\n [(ngModel)]=\"cronModel.hour\"\n (ngModelChange)=\"onSelectionChange()\"\n [mask]=\"'00'\"\n [min]=\"1\"\n [max]=\"12\"\n type=\"number\"\n class=\"hours-input\">\n </dr-input>\n <span class=\"time-dots\">:</span>\n <dr-input\n data-analytics=\"dr-cron-field_input-minute\"\n aria-label=\"Minute\"\n [(ngModel)]=\"cronModel.minute\"\n (ngModelChange)=\"onSelectionChange()\"\n [mask]=\"'00'\"\n [min]=\"0\"\n [max]=\"59\"\n type=\"number\"\n class=\"minutes-input\">\n </dr-input>\n <dr-select\n data-analytics=\"dr-cron-field_select-time-period\"\n aria-label=\"Time period\"\n [(ngModel)]=\"cronModel.timePeriod\"\n (ngModelChange)=\"onSelectionChange()\"\n [items]=\"CRON_TIME_PERIOD_ARRAY\"\n class=\"time-period-selector\"></dr-select>\n <dr-select\n data-analytics=\"dr-cron-field_select-timezone\"\n aria-label=\"Time zone\"\n [(ngModel)]=\"cronModel.timeZone\"\n (ngModelChange)=\"onSelectionChange()\"\n [items]=\"GMT_OFFSETS\"\n [textView]=\"true\"\n bindLabel=\"label\"\n bindValue=\"value\"\n class=\"gmt-offsets\">\n <ng-template #labelTemplate let-item=\"item\">\n {{ LOCAL_TIME_ZONE_OFFSET !== cronModel.timeZone ? item.label : 'Local Time' }}\n </ng-template>\n </dr-select>\n </div>\n </ng-template>\n </div>\n</ng-template>\n", styles: [":host dr-input::ng-deep,:host dr-input::ng-deep input{cursor:pointer;text-overflow:ellipsis}.recurrence-popup__body{display:flex;flex-direction:column;flex-grow:1;padding:16px 32px}.recurrence-popup__footer{display:flex;align-items:center;padding:8px 16px;border-top:1px solid #dfe0e3;justify-content:flex-end}.recurrence-popup__footer dr-button{margin-left:12px}.cron-configuration{display:flex;flex-direction:column;width:640px;height:auto;font-size:14px;line-height:24px;font-weight:400}.cron-configuration__every{display:flex;align-items:center;width:100%;margin:16px 0;gap:24px}.cron-configuration__section{display:flex;align-items:center;flex-wrap:nowrap;margin-bottom:8px}.cron-configuration__section span{flex-shrink:0}.cron-configuration .month-of-quarter{width:65px;flex-shrink:0;margin:0 8px}.cron-configuration .day-of-week{width:132px;flex-shrink:0;margin:0 8px}.cron-configuration .month-of-year{width:125px;flex-shrink:0;margin:0 0 0 8px}.cron-configuration .day-of-month{width:75px;flex-shrink:0;margin:0 8px}.cron-configuration .hours-input{width:62px;flex-shrink:0;margin-left:8px}.cron-configuration .minutes-input{width:62px;flex-shrink:0}.cron-configuration .time-period-selector{width:64px;flex-shrink:0;margin-left:8px}.cron-configuration .time-prefix{margin-left:4px}.cron-configuration .time-dots{margin:0 4px}.cron-configuration .gmt-offsets{margin-left:16px}.cron-configuration--multi-row{width:auto}.cron-configuration--multi-row .cron-configuration__row{display:flex;align-items:center;gap:8px}.cron-configuration--multi-row .cron-configuration__row--time{margin-top:8px}.cron-configuration--multi-row .time-prefix{margin-left:0}\n"] }]
17965
+ ], imports: [CommonModule, FormsModule, DrTooltipModule, DrInputsModule, DrPopoverModule, TimePickerComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<dr-input\n [id]=\"id\"\n data-analytics=\"dr-cron-field_input-main\"\n aria-label=\"Schedule\"\n *ngIf=\"!flatMode; else cronConfiguration\"\n placeholder=\"Select...\"\n (click)=\"!disabled ? openPopover() : null\"\n [(ngModel)]=\"visibleString\"\n [drPopover]=\"!disabled ? recurrencePopover : null\"\n [drPopoverPosition]=\"popoverPosition\"\n [disabled]=\"disabled\"\n [readonly]=\"true\">\n <i class=\"dr-icon-date\" prefixIcon></i>\n <i class=\"dr-icon-arrow-down\" suffixIcon></i>\n</dr-input>\n\n<ng-template #recurrencePopover let-closePopover=\"closePopover\">\n <div class=\"recurrence-popup\">\n <div class=\"recurrence-popup__body\">\n <ng-container [ngTemplateOutlet]=\"cronConfiguration\"></ng-container>\n </div>\n <div class=\"recurrence-popup__footer\">\n <dr-button data-analytics=\"dr-cron-field_button-cancel\" theme=\"secondary\" (click)=\"closePopover()\">Cancel</dr-button>\n <dr-button data-analytics=\"dr-cron-field_button-save\" (click)=\"update(); closePopover()\">Save</dr-button>\n </div>\n </div>\n</ng-template>\n\n<ng-template #cronConfiguration>\n <ng-template #quarterConfig>\n <span>Repeat every quarter on</span>\n <dr-select\n data-analytics=\"dr-cron-field_select-quarter-month\"\n aria-label=\"Quarter month\"\n [(ngModel)]=\"cronModel.month\"\n (ngModelChange)=\"onSelectionChange()\"\n [items]=\"MONTH_OF_QUARTER_ARRAY\"\n bindLabel=\"label\"\n bindValue=\"value\"\n class=\"month-of-quarter\"></dr-select>\n <span>month of the quarter</span>\n </ng-template>\n\n <ng-template #hourConfig>\n <span>Repeat every</span>\n <dr-select\n data-analytics=\"dr-cron-field_select-every-x-hours\"\n aria-label=\"Hour interval\"\n [(ngModel)]=\"cronModel.everyXHours\"\n (ngModelChange)=\"onSelectionChange()\"\n [items]=\"HOURS_DIVISIBLE_INTO_DAY\"\n bindLabel=\"label\"\n bindValue=\"value\"\n class=\"day-of-month\">\n </dr-select>\n <span>hour(s)</span>\n </ng-template>\n\n <ng-template #weekConfig>\n <span>Repeat every</span>\n <dr-select\n data-analytics=\"dr-cron-field_select-day-of-week\"\n aria-label=\"Day of week\"\n [(ngModel)]=\"cronModel.dayOfWeek\"\n (ngModelChange)=\"onSelectionChange()\"\n [items]=\"DAY_OF_WEEK_ARRAY\"\n bindLabel=\"label\"\n bindValue=\"value\"\n class=\"day-of-week\">\n </dr-select>\n </ng-template>\n\n <ng-template #dayOfMonthSelector>\n <dr-select\n data-analytics=\"dr-cron-field_select-day-of-month\"\n aria-label=\"Day of month\"\n [(ngModel)]=\"cronModel.dayOfMonth\"\n (ngModelChange)=\"onSelectionChange()\"\n [items]=\"DAY_OF_MONTH_ARRAY\"\n [searchable]=\"true\"\n bindLabel=\"label\"\n bindValue=\"value\"\n class=\"day-of-month\">\n </dr-select>\n </ng-template>\n\n <ng-template #yearMonthSelector>\n <span>Repeat every</span>\n <dr-select\n data-analytics=\"dr-cron-field_select-month\"\n aria-label=\"Month\"\n [(ngModel)]=\"cronModel.month\"\n (ngModelChange)=\"onSelectionChange()\"\n [items]=\"MONTH_OF_YEAR_ARRAY\"\n bindLabel=\"label\"\n bindValue=\"value\"\n class=\"month-of-year\">\n </dr-select>\n </ng-template>\n\n <div class=\"cron-configuration\" [class.cron-configuration--multi-row]=\"multiRowMode\">\n <dr-radio-group\n data-analytics=\"dr-cron-field_radio-group-period\"\n *ngIf=\"!hidePeriodSelector\"\n class=\"cron-configuration__every\"\n [ngModel]=\"isAdvancedMode ? 'advanced' : cronModel.every\"\n (ngModelChange)=\"onEveryChange($event)\"\n name=\"every\">\n <dr-radio-button\n data-analytics=\"dr-cron-field_radio-button-0\"\n *ngFor=\"let option of cronEditorPeriodArray\"\n [value]=\"option.value\"\n [attr.data-analytics]=\"'dr-cron-field_radio-button-' + option.value\">\n {{ option.label }}\n </dr-radio-button>\n </dr-radio-group>\n <div *ngIf=\"isAdvancedMode\" class=\"cron-configuration__advanced\">\n <div class=\"cron-configuration__advanced-note\">\n Use crontab to set custom time intervals for sync frequency, such as every two weeks at 10:05.\n </div>\n <div class=\"cron-configuration__advanced-label\">Enter your cron expression:</div>\n <dr-input\n data-analytics=\"dr-cron-field_input-advanced\"\n [(ngModel)]=\"advancedCron\"\n (ngModelChange)=\"onAdvancedChange()\">\n </dr-input>\n <div *ngIf=\"advancedError\" class=\"cron-configuration__advanced-error\">{{ advancedError }}</div>\n </div>\n\n <ng-container *ngIf=\"!isAdvancedMode\">\n <ng-container *ngIf=\"multiRowMode; else singleRowMode\">\n <div class=\"cron-configuration__section cron-configuration__row\">\n <ng-container\n *ngIf=\"cronModel.every === cronEditorPeriod.QUARTER\"\n [ngTemplateOutlet]=\"quarterConfig\"></ng-container>\n <span *ngIf=\"cronModel.every === cronEditorPeriod.DAY\">Repeat every day</span>\n <ng-container\n *ngIf=\"cronModel.every === cronEditorPeriod.HOUR\"\n [ngTemplateOutlet]=\"hourConfig\"></ng-container>\n <ng-container\n *ngIf=\"cronModel.every === cronEditorPeriod.WEEK\"\n [ngTemplateOutlet]=\"weekConfig\"></ng-container>\n <ng-container *ngIf=\"cronModel.every === cronEditorPeriod.YEAR\">\n <ng-container [ngTemplateOutlet]=\"yearMonthSelector\"></ng-container>\n <ng-container [ngTemplateOutlet]=\"dayOfMonthSelector\"></ng-container>\n </ng-container>\n\n <ng-container *ngIf=\"cronModel.every === cronEditorPeriod.MONTH\">\n <span>Repeat on</span>\n <ng-container [ngTemplateOutlet]=\"dayOfMonthSelector\"></ng-container>\n <span>day of every month</span>\n </ng-container>\n </div>\n\n <div\n class=\"cron-configuration__section cron-configuration__row\"\n *ngIf=\"cronModel.every === cronEditorPeriod.QUARTER\">\n <span>on</span>\n <ng-container [ngTemplateOutlet]=\"dayOfMonthSelector\"></ng-container>\n <span>day of the month</span>\n </div>\n\n <div class=\"cron-configuration__section cron-configuration__row cron-configuration__row--time\">\n <span class=\"time-prefix\">at</span>\n <dr-time-picker [ngModel]=\"cronModel\" (ngModelChange)=\"onTimePickerChange($event)\"> </dr-time-picker>\n </div>\n </ng-container>\n\n <ng-template #singleRowMode>\n <div *ngIf=\"cronModel.every === cronEditorPeriod.QUARTER\" class=\"cron-configuration__section\">\n <ng-container [ngTemplateOutlet]=\"quarterConfig\"></ng-container>\n </div>\n <div class=\"cron-configuration__section\">\n <span *ngIf=\"cronModel.every === cronEditorPeriod.DAY\"> Repeat every day </span>\n <ng-container\n *ngIf=\"cronModel.every === cronEditorPeriod.HOUR\"\n [ngTemplateOutlet]=\"hourConfig\"></ng-container>\n <ng-container\n *ngIf=\"cronModel.every === cronEditorPeriod.WEEK\"\n [ngTemplateOutlet]=\"weekConfig\"></ng-container>\n\n <ng-container\n *ngIf=\"\n cronModel.every !== cronEditorPeriod.WEEK &&\n cronModel.every !== cronEditorPeriod.HOUR &&\n cronModel.every !== cronEditorPeriod.DAY\n \">\n <span *ngIf=\"cronModel.every === cronEditorPeriod.MONTH\">Repeat on </span>\n <span *ngIf=\"cronModel.every === cronEditorPeriod.QUARTER\">on </span>\n <ng-container\n *ngIf=\"cronModel.every === cronEditorPeriod.YEAR\"\n [ngTemplateOutlet]=\"yearMonthSelector\"></ng-container>\n\n <ng-container [ngTemplateOutlet]=\"dayOfMonthSelector\"></ng-container>\n\n <span *ngIf=\"cronModel.every === cronEditorPeriod.MONTH\">day of every month </span>\n <span *ngIf=\"cronModel.every === cronEditorPeriod.QUARTER\">day of the month </span>\n </ng-container>\n <span class=\"time-prefix\">at</span>\n <dr-input\n data-analytics=\"dr-cron-field_input-hour\"\n aria-label=\"Hour\"\n [(ngModel)]=\"cronModel.hour\"\n (ngModelChange)=\"onSelectionChange()\"\n [mask]=\"'00'\"\n [min]=\"0\"\n [max]=\"12\"\n type=\"number\"\n class=\"hours-input\">\n </dr-input>\n <span class=\"time-dots\">:</span>\n <dr-input\n data-analytics=\"dr-cron-field_input-minute\"\n aria-label=\"Minute\"\n [(ngModel)]=\"cronModel.minute\"\n (ngModelChange)=\"onSelectionChange()\"\n [mask]=\"'00'\"\n [min]=\"0\"\n [max]=\"59\"\n type=\"number\"\n class=\"minutes-input\">\n </dr-input>\n <dr-select\n data-analytics=\"dr-cron-field_select-time-period\"\n aria-label=\"Time period\"\n [(ngModel)]=\"cronModel.timePeriod\"\n (ngModelChange)=\"onSelectionChange()\"\n [items]=\"CRON_TIME_PERIOD_ARRAY\"\n class=\"time-period-selector\"></dr-select>\n <dr-select\n data-analytics=\"dr-cron-field_select-timezone\"\n aria-label=\"Time zone\"\n [(ngModel)]=\"cronModel.timeZone\"\n (ngModelChange)=\"onSelectionChange()\"\n [items]=\"GMT_OFFSETS\"\n [textView]=\"true\"\n bindLabel=\"label\"\n bindValue=\"value\"\n class=\"gmt-offsets\">\n <ng-template #labelTemplate let-item=\"item\">\n {{ LOCAL_TIME_ZONE_OFFSET !== cronModel.timeZone ? item.label : 'Local Time' }}\n </ng-template>\n </dr-select>\n </div>\n </ng-template>\n </ng-container>\n </div>\n</ng-template>\n", styles: [":host dr-input::ng-deep,:host dr-input::ng-deep input{cursor:pointer;text-overflow:ellipsis}.recurrence-popup__body{display:flex;flex-direction:column;flex-grow:1;padding:16px 32px}.recurrence-popup__footer{display:flex;align-items:center;padding:8px 16px;border-top:1px solid #dfe0e3;justify-content:flex-end}.recurrence-popup__footer dr-button{margin-left:12px}.cron-configuration{display:flex;flex-direction:column;width:640px;height:auto;font-size:14px;line-height:24px;font-weight:400}.cron-configuration__every{display:flex;align-items:center;width:100%;margin:16px 0;gap:24px}.cron-configuration__section{display:flex;align-items:center;flex-wrap:nowrap;margin-bottom:8px}.cron-configuration__section span{flex-shrink:0}.cron-configuration .month-of-quarter{width:65px;flex-shrink:0;margin:0 8px}.cron-configuration .day-of-week{width:132px;flex-shrink:0;margin:0 8px}.cron-configuration .month-of-year{width:125px;flex-shrink:0;margin:0 0 0 8px}.cron-configuration .day-of-month{width:75px;flex-shrink:0;margin:0 8px}.cron-configuration .hours-input{width:62px;flex-shrink:0;margin-left:8px}.cron-configuration .minutes-input{width:62px;flex-shrink:0}.cron-configuration .time-period-selector{width:64px;flex-shrink:0;margin-left:8px}.cron-configuration .time-prefix{margin-left:4px}.cron-configuration .time-dots{margin:0 4px}.cron-configuration .gmt-offsets{margin-left:16px}.cron-configuration__advanced{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}.cron-configuration__advanced dr-input::ng-deep input{cursor:text}.cron-configuration__advanced-error{color:#bf1d30}.cron-configuration--multi-row{width:auto}.cron-configuration--multi-row .cron-configuration__row{display:flex;align-items:center;gap:8px}.cron-configuration--multi-row .cron-configuration__row--time{margin-top:8px}.cron-configuration--multi-row .time-prefix{margin-left:0}\n"] }]
17889
17966
  }], function () { return [{ type: i0.ChangeDetectorRef }]; }, { id: [{
17890
17967
  type: Input
17891
17968
  }], hostId: [{
@@ -17911,6 +17988,11 @@ class DrCronFieldComponent {
17911
17988
  }], multiRowMode: [{
17912
17989
  type: Input,
17913
17990
  args: [{ transform: booleanAttribute }]
17991
+ }], allowAdvanced: [{
17992
+ type: Input,
17993
+ args: [{ transform: booleanAttribute }]
17994
+ }], validateCron: [{
17995
+ type: Input
17914
17996
  }] }); })();
17915
17997
 
17916
17998
  class StepWizardDirective {