@yesilyazilim/web.spa 1.0.68 → 1.0.69

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.
package/index.css CHANGED
@@ -5846,6 +5846,205 @@ app-list > .itemContainer > .filtered {
5846
5846
  display: none !important;
5847
5847
  }
5848
5848
 
5849
+ multi-combo-box {
5850
+ border: 1px solid var(--border-color);
5851
+ border-radius: var(--border-radius);
5852
+ cursor: pointer;
5853
+ background: #fff;
5854
+ align-items: center;
5855
+ display: flex;
5856
+ position: relative;
5857
+ }
5858
+
5859
+ multi-combo-box:hover {
5860
+ border-color: #999;
5861
+ }
5862
+
5863
+ multi-combo-box:focus-within {
5864
+ border-color: var(--primary-color, #007bff);
5865
+ box-shadow: 0 0 0 2px #007bff40;
5866
+ }
5867
+
5868
+ multi-combo-box .screen {
5869
+ padding: var(--spacing-half);
5870
+ flex: 1;
5871
+ align-items: center;
5872
+ min-height: 24px;
5873
+ display: flex;
5874
+ }
5875
+
5876
+ multi-combo-box .screen .selected-items {
5877
+ flex-wrap: wrap;
5878
+ align-items: center;
5879
+ gap: 4px;
5880
+ width: 100%;
5881
+ display: flex;
5882
+ }
5883
+
5884
+ multi-combo-box .screen .selected-items .placeholder {
5885
+ color: #6c757d;
5886
+ font-style: italic;
5887
+ }
5888
+
5889
+ multi-combo-box .screen .selected-items .selected-item {
5890
+ border: 1px solid var(--primary-gray-ghost);
5891
+ border-radius: var(--border-radius);
5892
+ align-items: center;
5893
+ max-width: 120px;
5894
+ padding: 2px;
5895
+ display: inline-flex;
5896
+ }
5897
+
5898
+ multi-combo-box .screen .selected-items .selected-item:hover {
5899
+ background: var(--primary-gray-ghost);
5900
+ }
5901
+
5902
+ multi-combo-box .screen .selected-items .selected-item .remove-item {
5903
+ cursor: pointer;
5904
+ border-radius: 50%;
5905
+ margin-left: 4px;
5906
+ padding: 0 2px;
5907
+ font-weight: bold;
5908
+ }
5909
+
5910
+ multi-combo-box .screen .selected-items .selected-item .remove-item:hover {
5911
+ background: #ffffff4d;
5912
+ }
5913
+
5914
+ multi-combo-box .screen .selected-items .selected-count {
5915
+ color: var(--primary-color, #007bff);
5916
+ font-weight: 500;
5917
+ }
5918
+
5919
+ multi-combo-box .screen .selected-items .clear-all {
5920
+ color: #dc3545;
5921
+ cursor: pointer;
5922
+ font-size: 12px;
5923
+ text-decoration: underline;
5924
+ }
5925
+
5926
+ multi-combo-box .screen .selected-items .clear-all:hover {
5927
+ color: #c82333;
5928
+ }
5929
+
5930
+ multi-combo-box .screen .selected-items .separator {
5931
+ color: #6c757d;
5932
+ font-size: 12px;
5933
+ }
5934
+
5935
+ multi-combo-box .iconButton {
5936
+ padding: var(--spacing);
5937
+ cursor: pointer;
5938
+ color: var(--primary);
5939
+ background: none;
5940
+ border: none;
5941
+ transition: color .2s;
5942
+ }
5943
+
5944
+ multi-combo-box .iconButton:hover {
5945
+ color: #495057;
5946
+ }
5947
+
5948
+ multi-combo-box .iconButton.up {
5949
+ transform: rotate(180deg);
5950
+ }
5951
+
5952
+ multi-combo-box .iconButton.down {
5953
+ transform: rotate(0);
5954
+ }
5955
+
5956
+ multi-combo-box .multi-combo-item {
5957
+ padding: 0 var(--spacing);
5958
+ cursor: pointer;
5959
+ user-select: none;
5960
+ align-items: center;
5961
+ display: flex;
5962
+ }
5963
+
5964
+ multi-combo-box .multi-combo-item:hover {
5965
+ background-color: #f8f9fa;
5966
+ }
5967
+
5968
+ multi-combo-box .multi-combo-item input[type="checkbox"] {
5969
+ cursor: pointer;
5970
+ margin: 0;
5971
+ }
5972
+
5973
+ multi-combo-box .multi-combo-item span {
5974
+ flex: 1;
5975
+ }
5976
+
5977
+ multi-combo-box[disabled] {
5978
+ opacity: .6;
5979
+ cursor: not-allowed;
5980
+ }
5981
+
5982
+ multi-combo-box[disabled] .screen, multi-combo-box[disabled] .iconButton {
5983
+ cursor: not-allowed;
5984
+ }
5985
+
5986
+ multi-combo-box[disabled] .selected-item .remove-item, multi-combo-box[disabled] .clear-all {
5987
+ pointer-events: none;
5988
+ }
5989
+
5990
+ multi-combo-box.loading .iconButton {
5991
+ opacity: .5;
5992
+ }
5993
+
5994
+ multi-combo-box:has(app-dropdown) .itemContainer {
5995
+ max-height: 20vh;
5996
+ overflow-y: auto;
5997
+ }
5998
+
5999
+ @media (prefers-color-scheme: dark) {
6000
+ multi-combo-box {
6001
+ color: #e2e8f0;
6002
+ background: #2d3748;
6003
+ border-color: #4a5568;
6004
+ }
6005
+
6006
+ multi-combo-box:hover {
6007
+ border-color: #718096;
6008
+ }
6009
+
6010
+ multi-combo-box:focus-within {
6011
+ border-color: var(--primary-color, #4299e1);
6012
+ box-shadow: 0 0 0 2px #4299e140;
6013
+ }
6014
+
6015
+ multi-combo-box .screen .selected-items .placeholder {
6016
+ color: #a0aec0;
6017
+ }
6018
+
6019
+ multi-combo-box .screen .selected-items .selected-item {
6020
+ background: var(--primary-color, #4299e1);
6021
+ }
6022
+
6023
+ multi-combo-box .screen .selected-items .selected-item:hover {
6024
+ background: var(--primary-dark, #3182ce);
6025
+ }
6026
+
6027
+ multi-combo-box .screen .selected-items .selected-count {
6028
+ color: var(--primary-color, #4299e1);
6029
+ }
6030
+
6031
+ multi-combo-box .screen .selected-items .separator {
6032
+ color: #a0aec0;
6033
+ }
6034
+
6035
+ multi-combo-box .multi-combo-item:hover {
6036
+ background-color: #4a5568;
6037
+ }
6038
+
6039
+ multi-combo-box .iconButton {
6040
+ color: #a0aec0;
6041
+ }
6042
+
6043
+ multi-combo-box .iconButton:hover {
6044
+ color: #e2e8f0;
6045
+ }
6046
+ }
6047
+
5849
6048
  app-dt {
5850
6049
  width: 100%;
5851
6050
  height: 100%;
@@ -5896,7 +6095,7 @@ app-dt > .dt-header > .dt-table-actions {
5896
6095
  display: flex;
5897
6096
  }
5898
6097
 
5899
- app-dt > .dt-header > .dt-table-actions > .dt-tbl-ab {
6098
+ app-dt > .dt-header > .dt-table-actions .dt-tbl-ab {
5900
6099
  --background-color: var(--main-backgroundcolor);
5901
6100
  --color: var(--main-color);
5902
6101
  --border-color: var(--form-element-border-color);
@@ -5904,10 +6103,22 @@ app-dt > .dt-header > .dt-table-actions > .dt-tbl-ab {
5904
6103
  margin: 0;
5905
6104
  }
5906
6105
 
5907
- app-dt > .dt-header > .dt-table-actions > .dt-tbl-ab:hover {
6106
+ app-dt > .dt-header > .dt-table-actions .dt-tbl-ab:hover {
5908
6107
  box-shadow: 0px 2px 2px -1px var(--primary-gray-light);
5909
6108
  }
5910
6109
 
6110
+ app-dt > .dt-header > .dt-table-actions > .col-select-btn-container {
6111
+ display: flex;
6112
+ }
6113
+
6114
+ app-dt > .dt-header > .dt-table-actions > .col-select-btn-container > app-dropdown {
6115
+ right: 0;
6116
+ }
6117
+
6118
+ app-dt > .dt-header > .dt-table-actions > .col-select-btn-container > app-dropdown > .ddBody {
6119
+ max-width: 200px;
6120
+ }
6121
+
5911
6122
  app-dt > .dt-body {
5912
6123
  grid-area: dt_body;
5913
6124
  width: 100%;