@datarailsshared/datarailsshared 1.4.56 → 1.4.57

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.
@@ -2947,7 +2947,7 @@
2947
2947
  componentFactory = this.componentFactoryResolver.resolveComponentFactory(DrDropdownComponent);
2948
2948
  this.contentCmpRef = this.viewContainerRef.createComponent(componentFactory);
2949
2949
  this.service.addMenu = this.contentCmpRef;
2950
- this._document.querySelector('nb-layout').appendChild(this.contentCmpRef.location.nativeElement);
2950
+ this._document.querySelector('dr-layout').appendChild(this.contentCmpRef.location.nativeElement);
2951
2951
  this.contentCmpRef.instance.options = options;
2952
2952
  };
2953
2953
  DrDropdownDirective.prototype.ngOnDestroy = function () {
@@ -3462,6 +3462,46 @@
3462
3462
  { type: i0.ChangeDetectorRef }
3463
3463
  ]; };
3464
3464
 
3465
+ var DrLayoutComponent = /** @class */ (function () {
3466
+ function DrLayoutComponent() {
3467
+ }
3468
+ return DrLayoutComponent;
3469
+ }());
3470
+ DrLayoutComponent.decorators = [
3471
+ { type: i0.Component, args: [{
3472
+ selector: 'dr-layout',
3473
+ template: "<div class=\"dr-layout\">\n <ng-content select=\"dr-layout-header\"></ng-content>\n <div class=\"dr-layout__container\">\n <div class=\"content\">\n <div class=\"columns\">\n <ng-content select=\"dr-layout-body\"></ng-content>\n </div>\n </div>\n </div>\n</div>\n",
3474
+ styles: [":host{font-size:16px;font-weight:400;font-family:\"Poppins\",sans-serif;line-height:1.25rem;-webkit-font-smoothing:antialiased}:host .dr-layout{display:flex;flex-direction:column;min-height:100vh;font-size:16px;font-weight:400;line-height:1.4rem}:host .dr-layout ::ng-deep dr-layout-header{display:block;position:fixed;top:0;left:0;right:0;z-index:1040}:host .dr-layout ::ng-deep dr-layout-header nav{align-items:center;justify-content:flex-start;display:flex}:host .dr-layout__container{display:flex;flex:1;-ms-flex:1 1 auto;flex-direction:row}:host .dr-layout__container .content{display:flex;flex:1;-ms-flex:1 1 auto;flex-direction:column;min-width:0}:host .dr-layout__container .content .columns{display:flex;flex:1;-ms-flex:1 1 auto;flex-direction:row;width:100%}:host .dr-layout__container .content .columns ::ng-deep dr-layout-body{flex:1 0;min-width:0}\n"]
3475
+ },] }
3476
+ ];
3477
+ DrLayoutComponent.ctorParameters = function () { return []; };
3478
+
3479
+ var DrLayoutHeaderComponent = /** @class */ (function () {
3480
+ function DrLayoutHeaderComponent() {
3481
+ }
3482
+ return DrLayoutHeaderComponent;
3483
+ }());
3484
+ DrLayoutHeaderComponent.decorators = [
3485
+ { type: i0.Component, args: [{
3486
+ selector: 'dr-layout-header',
3487
+ template: "\n <nav>\n <ng-content></ng-content>\n </nav>\n "
3488
+ },] }
3489
+ ];
3490
+ DrLayoutHeaderComponent.ctorParameters = function () { return []; };
3491
+
3492
+ var DrLayoutBodyComponent = /** @class */ (function () {
3493
+ function DrLayoutBodyComponent() {
3494
+ }
3495
+ return DrLayoutBodyComponent;
3496
+ }());
3497
+ DrLayoutBodyComponent.decorators = [
3498
+ { type: i0.Component, args: [{
3499
+ selector: 'dr-layout-body',
3500
+ template: '<ng-content></ng-content>'
3501
+ },] }
3502
+ ];
3503
+ DrLayoutBodyComponent.ctorParameters = function () { return []; };
3504
+
3465
3505
  var DrModelDebounceChangeDirective = /** @class */ (function () {
3466
3506
  function DrModelDebounceChangeDirective(ngModel) {
3467
3507
  this.ngModel = ngModel;
@@ -3567,7 +3607,7 @@
3567
3607
  CalendarView["FOR_YEARS"] = "multi-year";
3568
3608
  })(exports.CalendarView || (exports.CalendarView = {}));
3569
3609
 
3570
- var components$2 = [DateTagComponent,
3610
+ var components$3 = [DateTagComponent,
3571
3611
  DayTagComponent,
3572
3612
  WeekTagComponent,
3573
3613
  MonthTagComponent,
@@ -3594,11 +3634,11 @@
3594
3634
  materialMomentAdapter.MatMomentDateModule,
3595
3635
  select.MatSelectModule
3596
3636
  ],
3597
- exports: components$2,
3637
+ exports: components$3,
3598
3638
  providers: [
3599
3639
  { provide: materialMomentAdapter.MAT_MOMENT_DATE_ADAPTER_OPTIONS, useValue: ɵ0$1 }
3600
3640
  ],
3601
- declarations: components$2,
3641
+ declarations: components$3,
3602
3642
  },] }
3603
3643
  ];
3604
3644
  ;
@@ -4210,7 +4250,7 @@
4210
4250
  var _a;
4211
4251
  (_a = this._getCurrentViewComponent()) === null || _a === void 0 ? void 0 : _a._focusActiveCell(false);
4212
4252
  };
4213
- var components$1 = [
4253
+ var components$2 = [
4214
4254
  DrButtonComponent,
4215
4255
  RadioButtonComponent,
4216
4256
  RadioGroupComponent,
@@ -4233,8 +4273,8 @@
4233
4273
  }());
4234
4274
  DrInputsModule.decorators = [
4235
4275
  { type: i0.NgModule, args: [{
4236
- declarations: components$1,
4237
- exports: components$1,
4276
+ declarations: components$2,
4277
+ exports: components$2,
4238
4278
  imports: [
4239
4279
  forms.FormsModule,
4240
4280
  forms.ReactiveFormsModule,
@@ -4290,7 +4330,7 @@
4290
4330
  },] }
4291
4331
  ];
4292
4332
 
4293
- var components = [DrSpinnerComponent];
4333
+ var components$1 = [DrSpinnerComponent];
4294
4334
  var directives = [DrSpinnerDirective];
4295
4335
  var DrSpinnerModule = /** @class */ (function () {
4296
4336
  function DrSpinnerModule() {
@@ -4302,8 +4342,8 @@
4302
4342
  imports: [
4303
4343
  common.CommonModule,
4304
4344
  ],
4305
- exports: __spreadArray(__spreadArray([], __read(components)), __read(directives)),
4306
- declarations: __spreadArray(__spreadArray([], __read(components)), __read(directives))
4345
+ exports: __spreadArray(__spreadArray([], __read(components$1)), __read(directives)),
4346
+ declarations: __spreadArray(__spreadArray([], __read(components$1)), __read(directives))
4307
4347
  },] }
4308
4348
  ];
4309
4349
 
@@ -4404,6 +4444,24 @@
4404
4444
  },] }
4405
4445
  ];
4406
4446
 
4447
+ var components = [
4448
+ DrLayoutComponent,
4449
+ DrLayoutHeaderComponent,
4450
+ DrLayoutBodyComponent
4451
+ ];
4452
+ var DrLayoutModule = /** @class */ (function () {
4453
+ function DrLayoutModule() {
4454
+ }
4455
+ return DrLayoutModule;
4456
+ }());
4457
+ DrLayoutModule.decorators = [
4458
+ { type: i0.NgModule, args: [{
4459
+ imports: [common.CommonModule],
4460
+ exports: __spreadArray([], __read(components)),
4461
+ declarations: __spreadArray([], __read(components)),
4462
+ },] }
4463
+ ];
4464
+
4407
4465
  /* components */
4408
4466
 
4409
4467
  /**
@@ -4433,6 +4491,10 @@
4433
4491
  exports.DrDropdownService = DrDropdownService;
4434
4492
  exports.DrInputComponent = DrInputComponent;
4435
4493
  exports.DrInputsModule = DrInputsModule;
4494
+ exports.DrLayoutBodyComponent = DrLayoutBodyComponent;
4495
+ exports.DrLayoutComponent = DrLayoutComponent;
4496
+ exports.DrLayoutHeaderComponent = DrLayoutHeaderComponent;
4497
+ exports.DrLayoutModule = DrLayoutModule;
4436
4498
  exports.DrModelDebounceChangeDirective = DrModelDebounceChangeDirective;
4437
4499
  exports.DrPopoverComponent = DrPopoverComponent;
4438
4500
  exports.DrPopoverDirective = DrPopoverDirective;
@@ -4463,7 +4525,7 @@
4463
4525
  exports.TooltipComponent = TooltipComponent;
4464
4526
  exports.WeekTagComponent = WeekTagComponent;
4465
4527
  exports.YearTagComponent = YearTagComponent;
4466
- exports["ɵa"] = components$2;
4528
+ exports["ɵa"] = components$3;
4467
4529
  exports["ɵb"] = POPUP_ANIMATION;
4468
4530
  exports["ɵc"] = DrDatePickerComponent;
4469
4531
  exports["ɵd"] = DrDatePickerService;