@elite.framework/ng.core 1.0.3 → 1.0.6

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.
@@ -1455,8 +1455,9 @@ class BreadcrumbComponent {
1455
1455
  <li class="relative z-10">
1456
1456
  <a
1457
1457
  [routerLink]="['/']"
1458
- class="flex items-center h-10 px-4 pr-6 text-white bg-blue-500 hover:bg-teal-500 active:bg-teal-600 transition-all duration-150 rounded-r-md"
1459
- style="clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0% 50%)"
1458
+ class="flex items-center h-10 px-4 pr-6 text-white hover:bg-teal-500 active:bg-teal-600 transition-all duration-150 rounded-r-md"
1459
+ style="clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0% 50%) background: var(--p-button-primary-background);
1460
+ border: 1px solid var(--p-button-primary-border-color);"
1460
1461
  >
1461
1462
  <i class="pi pi-home mr-2 rtl:ml-2 rtl:mr-0 text-base"></i>
1462
1463
  </a>
@@ -1469,14 +1470,15 @@ class BreadcrumbComponent {
1469
1470
  <ng-container *ngIf="item.routerLink && !last; else textOnly">
1470
1471
  <a
1471
1472
  [routerLink]="item.routerLink"
1472
- class="flex items-center h-10 px-4 pr-6 text-white bg-blue-500 hover:bg-teal-500 active:bg-teal-600 transition-all duration-150"
1473
+ class="flex items-center h-10 px-4 pr-6 text-white hover:bg-teal-500 active:bg-teal-600 transition-all duration-150"
1473
1474
  [ngClass]="{
1474
- 'bg-blue-500': i % 2 === 0,
1475
- 'bg-blue-600': i % 2 === 1,
1475
+ 'bg-primary-600': i % 2 === 0,
1476
+ 'bg-primary': i % 2 === 1,
1476
1477
  'rounded-l-md pl-5': first,
1477
1478
  'rounded-r-md pr-5': last
1478
1479
  }"
1479
- style="clip-path: polygon(100% 0, 12px 0, 0 50%, 12px 100%, 100% 100%, calc(100% - 12px) 50%)"
1480
+ style="clip-path: polygon(100% 0, 12px 0, 0 50%, 12px 100%, 100% 100%, calc(100% - 12px) 50%) background: var(--p-button-primary-background);
1481
+ border: 1px solid var(--p-button-primary-border-color);"
1480
1482
  >
1481
1483
  <i *ngIf="item.icon" [class]="item.icon + ' mr-2 text-base'"></i>
1482
1484
  {{ item.label }}
@@ -1486,12 +1488,13 @@ class BreadcrumbComponent {
1486
1488
  <span
1487
1489
  class="flex items-center h-10 px-4 pr-6 text-white"
1488
1490
  [ngClass]="{
1489
- 'bg-blue-500': i % 2 === 0,
1490
- 'bg-blue-600': i % 2 === 1,
1491
+ '': i % 2 === 0,
1492
+ 'bg-primary-600': i % 2 === 1,
1491
1493
  'rounded-l-md pl-5': first,
1492
1494
  'rounded-r-md pr-5': last
1493
1495
  }"
1494
- style="clip-path: polygon(100% 0, 12px 0, 0 50%, 12px 100%, 100% 100%, calc(100% - 12px) 50%)"
1496
+ style="clip-path: polygon(100% 0, 12px 0, 0 50%, 12px 100%, 100% 100%, calc(100% - 12px) 50%) background: var(--p-button-primary-background);
1497
+ border: 1px solid var(--p-button-primary-border-color);"
1495
1498
  >
1496
1499
  <i *ngIf="item.icon" [class]="item.icon + ' mr-2 text-base'"></i>
1497
1500
  {{ item.label }}
@@ -1514,8 +1517,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImpor
1514
1517
  <li class="relative z-10">
1515
1518
  <a
1516
1519
  [routerLink]="['/']"
1517
- class="flex items-center h-10 px-4 pr-6 text-white bg-blue-500 hover:bg-teal-500 active:bg-teal-600 transition-all duration-150 rounded-r-md"
1518
- style="clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0% 50%)"
1520
+ class="flex items-center h-10 px-4 pr-6 text-white hover:bg-teal-500 active:bg-teal-600 transition-all duration-150 rounded-r-md"
1521
+ style="clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0% 50%) background: var(--p-button-primary-background);
1522
+ border: 1px solid var(--p-button-primary-border-color);"
1519
1523
  >
1520
1524
  <i class="pi pi-home mr-2 rtl:ml-2 rtl:mr-0 text-base"></i>
1521
1525
  </a>
@@ -1528,14 +1532,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImpor
1528
1532
  <ng-container *ngIf="item.routerLink && !last; else textOnly">
1529
1533
  <a
1530
1534
  [routerLink]="item.routerLink"
1531
- class="flex items-center h-10 px-4 pr-6 text-white bg-blue-500 hover:bg-teal-500 active:bg-teal-600 transition-all duration-150"
1535
+ class="flex items-center h-10 px-4 pr-6 text-white hover:bg-teal-500 active:bg-teal-600 transition-all duration-150"
1532
1536
  [ngClass]="{
1533
- 'bg-blue-500': i % 2 === 0,
1534
- 'bg-blue-600': i % 2 === 1,
1537
+ 'bg-primary-600': i % 2 === 0,
1538
+ 'bg-primary': i % 2 === 1,
1535
1539
  'rounded-l-md pl-5': first,
1536
1540
  'rounded-r-md pr-5': last
1537
1541
  }"
1538
- style="clip-path: polygon(100% 0, 12px 0, 0 50%, 12px 100%, 100% 100%, calc(100% - 12px) 50%)"
1542
+ style="clip-path: polygon(100% 0, 12px 0, 0 50%, 12px 100%, 100% 100%, calc(100% - 12px) 50%) background: var(--p-button-primary-background);
1543
+ border: 1px solid var(--p-button-primary-border-color);"
1539
1544
  >
1540
1545
  <i *ngIf="item.icon" [class]="item.icon + ' mr-2 text-base'"></i>
1541
1546
  {{ item.label }}
@@ -1545,12 +1550,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImpor
1545
1550
  <span
1546
1551
  class="flex items-center h-10 px-4 pr-6 text-white"
1547
1552
  [ngClass]="{
1548
- 'bg-blue-500': i % 2 === 0,
1549
- 'bg-blue-600': i % 2 === 1,
1553
+ '': i % 2 === 0,
1554
+ 'bg-primary-600': i % 2 === 1,
1550
1555
  'rounded-l-md pl-5': first,
1551
1556
  'rounded-r-md pr-5': last
1552
1557
  }"
1553
- style="clip-path: polygon(100% 0, 12px 0, 0 50%, 12px 100%, 100% 100%, calc(100% - 12px) 50%)"
1558
+ style="clip-path: polygon(100% 0, 12px 0, 0 50%, 12px 100%, 100% 100%, calc(100% - 12px) 50%) background: var(--p-button-primary-background);
1559
+ border: 1px solid var(--p-button-primary-border-color);"
1554
1560
  >
1555
1561
  <i *ngIf="item.icon" [class]="item.icon + ' mr-2 text-base'"></i>
1556
1562
  {{ item.label }}
@@ -5334,7 +5340,7 @@ const provideFormly = provideFormlyCore([
5334
5340
  { name: 'attachment-type', component: AttachmentTypeComponent, wrappers: ['form-field'] },
5335
5341
  { name: 'rich-text-editor', component: RichTextEditorTypeComponent, wrappers: ['form-field'] },
5336
5342
  { name: 'generic-selector', component: GenericSelectorTypeComponent, wrappers: ['form-field'] },
5337
- { name: 'switch', component: InputSwitchTypeComponent, wrappers: ['form-field'] },
5343
+ { name: 'switch', component: InputSwitchTypeComponent, wrappers: ['form-field-no'] },
5338
5344
  { name: 'username-with-domain', component: UsernameWithDomainComponent, wrappers: ['form-field'] },
5339
5345
  { name: 'custom-switch', component: CustomSwitchFieldComponent, wrappers: ['form-field'] },
5340
5346
  { name: 'Formly-Split', component: FormlySplitButtonComponent, wrappers: ['form-field'] },