@bcgov/nr-ngx-component-lib 22.0.91 → 22.0.92

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.
@@ -23,8 +23,6 @@ import { MatInputModule } from "@angular/material/input";
23
23
  import moment from "moment";
24
24
  import * as i1$3 from "@angular/forms";
25
25
  import { FormControl, FormsModule, ReactiveFormsModule } from "@angular/forms";
26
- import * as i4$1 from "@busacca/ng-pick-datetime";
27
- import { OWL_DATE_TIME_FORMATS, OwlDateTimeModule, OwlMomentDateTimeModule } from "@busacca/ng-pick-datetime";
28
26
  import { Overlay } from "@angular/cdk/overlay";
29
27
  import { ComponentPortal, TemplatePortal } from "@angular/cdk/portal";
30
28
  import * as i5 from "@angular/material/list";
@@ -1619,7 +1617,7 @@ var FilterDateComponent = class FilterDateComponent extends NrclBase {
1619
1617
  host: { properties: { "style.--nrcl-filter-date-width": "this.wide ? \"var( --nrcl-filter-width-\" + this.wide + \" )\" : null" } },
1620
1618
  usesInheritance: true,
1621
1619
  ngImport: i0,
1622
- template: "<mat-form-field\n floatLabel=\"auto\"\n appearance=\"outline\"\n subscriptSizing=\"dynamic\"\n>\n <mat-label>{{ label }}</mat-label>\n\n <input matInput class=\"search-input\" \n [ngModel]=\"value\" \n (ngModelChange)=\"onDateChange( $event )\"\n [placeholder]=\"placeholder\"\n [owlDateTime]=\"selectedDateDT\" \n maxlength=\"10\" \n appWFDateMask\n >\n\n @if ( hint ) {\n <mat-hint>{{ hint }}</mat-hint>\n }\n\n <nrcl-button tertiary matSuffix\n icon=\"event\"\n [owlDateTimeTrigger]=\"selectedDateDT\" \n ></nrcl-button>\n</mat-form-field>\n\n<owl-date-time #selectedDateDT pickerType=\"calendar\"></owl-date-time>\n",
1620
+ template: "<mat-form-field\n floatLabel=\"auto\"\n appearance=\"outline\"\n subscriptSizing=\"dynamic\"\n>\n <mat-label>{{ label }}</mat-label>\n\n <input matInput class=\"search-input\" \n [ngModel]=\"value\" \n (ngModelChange)=\"onDateChange( $event )\"\n [placeholder]=\"placeholder\"\n maxlength=\"10\" \n appWFDateMask\n >\n\n @if ( hint ) {\n <mat-hint>{{ hint }}</mat-hint>\n }\n\n <nrcl-button tertiary matSuffix\n icon=\"event\"\n ></nrcl-button>\n</mat-form-field>\n",
1623
1621
  styles: ["::ng-deep :root{--nrcl-filter-date-width: var( --nrcl-filter-width-2 );--nrcl-filter-date-height: var( --nrcl-filter-height )}:host{--mat-form-field-container-height: calc( var( --nrcl-filter-date-height ) - 4px );--mat-form-field-container-vertical-padding: 8px;--mat-form-field-container-text-size: 15px;--mat-form-field-outlined-focus-label-text-color: black;--mat-form-field-outlined-hover-label-text-color: black;width:var(--nrcl-filter-date-width);display:block}:host ::ng-deep .mat-mdc-form-field{width:100%}:host ::ng-deep .mat-mdc-form-field .mat-mdc-text-field-wrapper{background-color:#fff;height:var(--nrcl-filter-date-height)}:host ::ng-deep .mat-mdc-form-field .mat-mdc-text-field-wrapper .mat-mdc-form-field-infix{width:var(--nrcl-filter-date-width)}\n"],
1624
1622
  dependencies: [
1625
1623
  {
@@ -1701,52 +1699,6 @@ var FilterDateComponent = class FilterDateComponent extends NrclBase {
1701
1699
  ],
1702
1700
  exportAs: ["matInput"]
1703
1701
  },
1704
- {
1705
- kind: "directive",
1706
- type: i4$1.OwlDateTimeTriggerDirective,
1707
- selector: "[owlDateTimeTrigger]",
1708
- inputs: ["owlDateTimeTrigger", "disabled"]
1709
- },
1710
- {
1711
- kind: "directive",
1712
- type: i4$1.OwlDateTimeInputDirective,
1713
- selector: "input[owlDateTime]",
1714
- inputs: [
1715
- "owlDateTime",
1716
- "owlDateTimeFilter",
1717
- "_disabled",
1718
- "min",
1719
- "max",
1720
- "selectMode",
1721
- "rangeSeparator",
1722
- "value",
1723
- "values"
1724
- ],
1725
- outputs: ["dateTimeChange", "dateTimeInput"],
1726
- exportAs: ["owlDateTimeInput"]
1727
- },
1728
- {
1729
- kind: "component",
1730
- type: i4$1.OwlDateTimeComponent,
1731
- selector: "owl-date-time",
1732
- inputs: [
1733
- "backdropClass",
1734
- "panelClass",
1735
- "startAt",
1736
- "pickerType",
1737
- "pickerMode",
1738
- "disabled",
1739
- "opened",
1740
- "scrollStrategy"
1741
- ],
1742
- outputs: [
1743
- "afterPickerClosed",
1744
- "afterPickerOpen",
1745
- "yearSelected",
1746
- "monthSelected"
1747
- ],
1748
- exportAs: ["owlDateTime"]
1749
- },
1750
1702
  {
1751
1703
  kind: "component",
1752
1704
  type: ButtonComponent,
@@ -1784,7 +1736,7 @@ i0.ɵɵngDeclareClassMetadata({
1784
1736
  changeDetection: ChangeDetectionStrategy.OnPush,
1785
1737
  host: { "[style.--nrcl-filter-date-width]": "this.wide ? \"var( --nrcl-filter-width-\" + this.wide + \" )\" : null" },
1786
1738
  standalone: false,
1787
- template: "<mat-form-field\n floatLabel=\"auto\"\n appearance=\"outline\"\n subscriptSizing=\"dynamic\"\n>\n <mat-label>{{ label }}</mat-label>\n\n <input matInput class=\"search-input\" \n [ngModel]=\"value\" \n (ngModelChange)=\"onDateChange( $event )\"\n [placeholder]=\"placeholder\"\n [owlDateTime]=\"selectedDateDT\" \n maxlength=\"10\" \n appWFDateMask\n >\n\n @if ( hint ) {\n <mat-hint>{{ hint }}</mat-hint>\n }\n\n <nrcl-button tertiary matSuffix\n icon=\"event\"\n [owlDateTimeTrigger]=\"selectedDateDT\" \n ></nrcl-button>\n</mat-form-field>\n\n<owl-date-time #selectedDateDT pickerType=\"calendar\"></owl-date-time>\n",
1739
+ template: "<mat-form-field\n floatLabel=\"auto\"\n appearance=\"outline\"\n subscriptSizing=\"dynamic\"\n>\n <mat-label>{{ label }}</mat-label>\n\n <input matInput class=\"search-input\" \n [ngModel]=\"value\" \n (ngModelChange)=\"onDateChange( $event )\"\n [placeholder]=\"placeholder\"\n maxlength=\"10\" \n appWFDateMask\n >\n\n @if ( hint ) {\n <mat-hint>{{ hint }}</mat-hint>\n }\n\n <nrcl-button tertiary matSuffix\n icon=\"event\"\n ></nrcl-button>\n</mat-form-field>\n",
1788
1740
  styles: ["::ng-deep :root{--nrcl-filter-date-width: var( --nrcl-filter-width-2 );--nrcl-filter-date-height: var( --nrcl-filter-height )}:host{--mat-form-field-container-height: calc( var( --nrcl-filter-date-height ) - 4px );--mat-form-field-container-vertical-padding: 8px;--mat-form-field-container-text-size: 15px;--mat-form-field-outlined-focus-label-text-color: black;--mat-form-field-outlined-hover-label-text-color: black;width:var(--nrcl-filter-date-width);display:block}:host ::ng-deep .mat-mdc-form-field{width:100%}:host ::ng-deep .mat-mdc-form-field .mat-mdc-text-field-wrapper{background-color:#fff;height:var(--nrcl-filter-date-height)}:host ::ng-deep .mat-mdc-form-field .mat-mdc-text-field-wrapper .mat-mdc-form-field-infix{width:var(--nrcl-filter-date-width)}\n"]
1789
1741
  }]
1790
1742
  }],
@@ -6952,8 +6904,6 @@ var NrNgxComponentLibModule = class NrNgxComponentLibModule {
6952
6904
  MatTooltipModule,
6953
6905
  ReactiveFormsModule,
6954
6906
  RouterModule,
6955
- OwlDateTimeModule,
6956
- OwlMomentDateTimeModule,
6957
6907
  NgxPaginationModule,
6958
6908
  MatDialogModule,
6959
6909
  MatTabsModule
@@ -7019,11 +6969,7 @@ var NrNgxComponentLibModule = class NrNgxComponentLibModule {
7019
6969
  SnackbarUtilService,
7020
6970
  ConfigurationService,
7021
6971
  PageStateService,
7022
- DialogService,
7023
- {
7024
- provide: OWL_DATE_TIME_FORMATS,
7025
- useValue: DATE_FORMATS
7026
- }
6972
+ DialogService
7027
6973
  ],
7028
6974
  imports: [
7029
6975
  BrowserAnimationsModule,
@@ -7048,8 +6994,6 @@ var NrNgxComponentLibModule = class NrNgxComponentLibModule {
7048
6994
  MatTooltipModule,
7049
6995
  ReactiveFormsModule,
7050
6996
  RouterModule,
7051
- OwlDateTimeModule,
7052
- OwlMomentDateTimeModule,
7053
6997
  NgxPaginationModule,
7054
6998
  MatDialogModule,
7055
6999
  MatTabsModule
@@ -7087,8 +7031,6 @@ i0.ɵɵngDeclareClassMetadata({
7087
7031
  MatTooltipModule,
7088
7032
  ReactiveFormsModule,
7089
7033
  RouterModule,
7090
- OwlDateTimeModule,
7091
- OwlMomentDateTimeModule,
7092
7034
  NgxPaginationModule,
7093
7035
  MatDialogModule,
7094
7036
  MatTabsModule
@@ -7199,11 +7141,7 @@ i0.ɵɵngDeclareClassMetadata({
7199
7141
  SnackbarUtilService,
7200
7142
  ConfigurationService,
7201
7143
  PageStateService,
7202
- DialogService,
7203
- {
7204
- provide: OWL_DATE_TIME_FORMATS,
7205
- useValue: DATE_FORMATS
7206
- }
7144
+ DialogService
7207
7145
  ]
7208
7146
  }]
7209
7147
  }]