ca-components 1.1.94 → 1.1.96

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.
Files changed (24) hide show
  1. package/assets/scss/input-dropdown.scss +182 -80
  2. package/esm2022/lib/components/ca-chart/ca-chart.component.mjs +141 -146
  3. package/esm2022/lib/components/ca-chart/models/chart-line-dataset.model.mjs +1 -1
  4. package/esm2022/lib/components/ca-chart/utils/helpers/chart.helper.mjs +10 -2
  5. package/esm2022/lib/components/ca-input/config/ca-input.config.mjs +1 -1
  6. package/esm2022/lib/components/ca-input-dropdown/ca-input-dropdown.component.mjs +12 -4
  7. package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker/ca-input-dropdown-load-broker-item/ca-input-dropdown-load-broker-item.component.mjs +37 -0
  8. package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker/ca-input-dropdown-load-broker.component.mjs +5 -8
  9. package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-dispatches-ttd/ca-input-dropdown-load-dispatches-ttd-item/ca-input-dropdown-load-dispatches-ttd-item.mjs +44 -0
  10. package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-dispatches-ttd/ca-input-dropdown-load-dispatches-ttd.component.mjs +6 -9
  11. package/esm2022/lib/components/ca-input-dropdown/pipes/dropdown-options.pipe.mjs +1 -1
  12. package/esm2022/lib/components/ca-input-dropdown/utils/svg-routes/index.mjs +2 -0
  13. package/esm2022/lib/components/ca-progress-bar/ca-progress-bar.component.mjs +3 -3
  14. package/fesm2022/ca-components.mjs +230 -163
  15. package/fesm2022/ca-components.mjs.map +1 -1
  16. package/lib/components/ca-chart/ca-chart.component.d.ts +1 -0
  17. package/lib/components/ca-chart/models/chart-line-dataset.model.d.ts +3 -0
  18. package/lib/components/ca-chart/utils/helpers/chart.helper.d.ts +3 -0
  19. package/lib/components/ca-input/config/ca-input.config.d.ts +1 -0
  20. package/lib/components/ca-input-dropdown/ca-input-dropdown.component.d.ts +1 -0
  21. package/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-broker/ca-input-dropdown-load-broker-item/ca-input-dropdown-load-broker-item.component.d.ts +10 -0
  22. package/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-dispatches-ttd/ca-input-dropdown-load-dispatches-ttd-item/ca-input-dropdown-load-dispatches-ttd-item.d.ts +14 -0
  23. package/lib/components/ca-input-dropdown/utils/svg-routes/index.d.ts +1 -0
  24. package/package.json +1 -1
@@ -1040,86 +1040,6 @@
1040
1040
  }
1041
1041
  }
1042
1042
 
1043
- //------------------------ Load Broker Template ------------------------
1044
- .load-broker-template {
1045
- display: grid;
1046
- align-items: center;
1047
- grid-template-columns: 276px 92px;
1048
- -moz-column-gap: 29px;
1049
- column-gap: 29px;
1050
- &.hide-loads {
1051
- grid-template-columns: 333px 92px !important;
1052
- }
1053
- .load-broker-status-text {
1054
- display: flex;
1055
- align-items: center;
1056
- gap: 6px;
1057
- line-height: 18px;
1058
-
1059
- .load-broker-status {
1060
- position: relative;
1061
- line-height: 17px;
1062
-
1063
- &.dnu-status {
1064
- svg {
1065
- path {
1066
- fill: #aaaaaa;
1067
- }
1068
- }
1069
- }
1070
- }
1071
-
1072
- .load-broker-text {
1073
- &.disabled {
1074
- color: #6c6c6c;
1075
- }
1076
- }
1077
- }
1078
-
1079
- .load-broker-progress-status {
1080
- height: 14px;
1081
- display: flex;
1082
- align-items: center;
1083
- justify-content: flex-end;
1084
- grid-gap: 4px;
1085
- gap: 4px;
1086
- text-align: center;
1087
-
1088
- .progress-bar-price {
1089
- color: $bw5;
1090
- font-size: 11px;
1091
- font-weight: 400;
1092
- }
1093
-
1094
- .progress-bar-line {
1095
- width: 24px;
1096
- }
1097
- }
1098
-
1099
- .load-broker-load-counter {
1100
- max-width: -webkit-max-content;
1101
- max-width: -moz-max-content;
1102
- max-width: max-content;
1103
- height: 18px;
1104
- border-radius: 30px;
1105
- text-align: center;
1106
- font-size: 11px;
1107
- font-weight: 400;
1108
- color: $bw5;
1109
- background-color: rgb(145, 145, 145, 0.2);
1110
- padding: 1px 6px;
1111
-
1112
- &.active {
1113
- color: #6f9ee0;
1114
- background-color: rgb(111, 158, 224, 0.2);
1115
- }
1116
-
1117
- &.hasOneValue {
1118
- max-width: 19px !important;
1119
- }
1120
- }
1121
- }
1122
-
1123
1043
  //------------------------ Load Shipper Contact Template -----------------------
1124
1044
  .load-shipper-template {
1125
1045
  display: grid;
@@ -1543,6 +1463,91 @@
1543
1463
  }
1544
1464
  }
1545
1465
 
1466
+
1467
+ //------------------------ Load Broker Template ------------------------
1468
+ .load-broker-template {
1469
+ &.in-option{
1470
+ height: 22px;
1471
+ }
1472
+
1473
+ display: grid;
1474
+ align-items: center;
1475
+ grid-template-columns: 276px 92px;
1476
+ -moz-column-gap: 29px;
1477
+ column-gap: 29px;
1478
+ &.hide-loads {
1479
+ grid-template-columns: 333px 92px !important;
1480
+ }
1481
+ .load-broker-status-text {
1482
+ display: flex;
1483
+ align-items: center;
1484
+ gap: 6px;
1485
+ line-height: 18px;
1486
+
1487
+ .load-broker-status {
1488
+ position: relative;
1489
+ line-height: 17px;
1490
+
1491
+ &.dnu-status {
1492
+ svg {
1493
+ path {
1494
+ fill: #aaaaaa;
1495
+ }
1496
+ }
1497
+ }
1498
+ }
1499
+
1500
+ .load-broker-text {
1501
+ &.disabled {
1502
+ color: #6c6c6c;
1503
+ }
1504
+ }
1505
+ }
1506
+
1507
+ .load-broker-progress-status {
1508
+ height: 14px;
1509
+ display: flex;
1510
+ align-items: center;
1511
+ justify-content: flex-end;
1512
+ grid-gap: 4px;
1513
+ gap: 4px;
1514
+ text-align: center;
1515
+
1516
+ .progress-bar-price {
1517
+ color: $bw5;
1518
+ font-size: 11px;
1519
+ font-weight: 400;
1520
+ }
1521
+
1522
+ .progress-bar-line {
1523
+ width: 24px;
1524
+ }
1525
+ }
1526
+
1527
+ .load-broker-load-counter {
1528
+ max-width: -webkit-max-content;
1529
+ max-width: -moz-max-content;
1530
+ max-width: max-content;
1531
+ height: 18px;
1532
+ border-radius: 30px;
1533
+ text-align: center;
1534
+ font-size: 11px;
1535
+ font-weight: 400;
1536
+ color: $bw5;
1537
+ background-color: rgb(145, 145, 145, 0.2);
1538
+ padding: 1px 6px;
1539
+
1540
+ &.active {
1541
+ color: #6f9ee0;
1542
+ background-color: rgb(111, 158, 224, 0.2);
1543
+ }
1544
+
1545
+ &.hasOneValue {
1546
+ max-width: 19px !important;
1547
+ }
1548
+ }
1549
+ }
1550
+
1546
1551
  // Selected Dropdown Card Preview
1547
1552
  .selected-item-container {
1548
1553
  height: 52px;
@@ -1880,3 +1885,100 @@
1880
1885
  .hide-after-arrow .dropdown-option.active::after {
1881
1886
  display: none !important;
1882
1887
  }
1888
+
1889
+
1890
+
1891
+ //------------------------ Load Dispatches TTD Template ------------------------
1892
+ .load-dispatches-ttd-template {
1893
+ display: grid;
1894
+ grid-template-columns: repeat(3, 155px) 97px;
1895
+ align-items: center;
1896
+
1897
+ .load-dispatches-container {
1898
+ display: flex;
1899
+ align-items: center;
1900
+ gap: 6px;
1901
+ position: relative;
1902
+
1903
+ .owner-avatar {
1904
+ position: absolute;
1905
+ left: 13px;
1906
+ bottom: -3px;
1907
+ width: 10px;
1908
+ height: 10px;
1909
+ }
1910
+
1911
+ .load-dispatch-driver,
1912
+ .load-dispatch-truck,
1913
+ .load-dispatch-trailer {
1914
+ overflow: hidden;
1915
+ text-overflow: ellipsis;
1916
+ white-space: nowrap;
1917
+ width: 116px;
1918
+ max-width: -webkit-fit-content;
1919
+ max-width: -moz-fit-content;
1920
+ max-width: fit-content;
1921
+ line-height: 18px;
1922
+ font-size: 14px;
1923
+ font-weight: 400;
1924
+ }
1925
+
1926
+ .load-dispatches-svg {
1927
+ line-height: 16px;
1928
+ svg {
1929
+ width: 46px;
1930
+ height: 16px;
1931
+ }
1932
+ }
1933
+
1934
+ .load-dipstaches-owner-flag {
1935
+ position: absolute;
1936
+ top: 44%;
1937
+ right: 0;
1938
+ transform: translateY(-50%);
1939
+ svg {
1940
+ path {
1941
+ fill: #6f9ee0 !important;
1942
+ }
1943
+ }
1944
+ }
1945
+
1946
+ &.trailerContainer {
1947
+ width: -webkit-max-content !important;
1948
+ width: -moz-max-content !important;
1949
+ width: max-content !important;
1950
+ padding: 0px !important;
1951
+ margin: 0px !important;
1952
+ }
1953
+ }
1954
+
1955
+ .load-dispatch-driver-rate {
1956
+ width: 130px;
1957
+ text-align: right;
1958
+ font-size: 11px;
1959
+ font-weight: 400;
1960
+ color: $bw5;
1961
+ padding-bottom: 1px;
1962
+ text-overflow: ellipsis;
1963
+ white-space: nowrap;
1964
+ overflow: hidden;
1965
+
1966
+ &.active {
1967
+ color: #6f9ee0;
1968
+ }
1969
+
1970
+ &.driver-owner {
1971
+ text-align: left;
1972
+ width: 80px;
1973
+ }
1974
+ }
1975
+
1976
+ &.active {
1977
+ .load-dispatch-driver-rate,
1978
+ .load-dispatch-driver,
1979
+ .load-dispatch-truck,
1980
+ .load-dispatch-trailer {
1981
+ font-weight: 700;
1982
+ }
1983
+ }
1984
+ }