@esvndev/es-data-sharing 1.2.0 → 1.4.0

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.
@@ -1,46 +1,106 @@
1
+ .es-data-sharing-modal {
2
+ --es-brand: var(--bs-primary, #f26522);
3
+ --es-brand-rgb: var(--bs-primary-rgb, 242, 101, 34);
4
+ --es-brand-soft: #fff2eb;
5
+ --es-brand-border: #ffd8c4;
6
+ --es-border: #e6ebf2;
7
+ --es-surface-muted: #f6f8fb;
8
+ }
1
9
  .es-data-sharing-modal .modal-content {
2
- border: 0;
3
- border-radius: 12px;
4
- overflow: hidden;
5
- box-shadow: 0 12px 36px rgba(15, 23, 42, 0.16);
10
+ border: 1px solid var(--es-border);
11
+ border-radius: 14px;
12
+ overflow: visible;
13
+ box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14);
6
14
  }
7
15
  .es-data-sharing-modal .modal-header {
8
16
  background-color: #ffffff;
9
- border-bottom: 1px solid #e6e9f0;
10
- padding: 1rem 1.35rem;
17
+ border-bottom: 1px solid var(--es-border);
18
+ border-radius: 14px 14px 0 0;
19
+ padding: 0.95rem 1.35rem;
20
+ display: flex;
21
+ align-items: center;
22
+ }
23
+ .es-data-sharing-modal .modal-header .modal-title,
24
+ .es-data-sharing-modal .modal-header h4 {
25
+ color: #1e293b;
26
+ letter-spacing: -0.01em;
11
27
  }
12
28
  .es-data-sharing-modal .modal-header .es-data-sharing-header-icon {
13
- width: 38px;
14
- height: 38px;
29
+ width: 40px;
30
+ height: 40px;
15
31
  border-radius: 10px;
16
- background: rgba(var(--bs-primary-rgb, 115, 103, 240), 0.12);
32
+ background: linear-gradient(135deg, #fff4ee 0%, #ffe6d8 100%);
33
+ border: 1px solid var(--es-brand-border);
34
+ color: var(--es-brand);
17
35
  display: inline-flex;
18
36
  align-items: center;
19
37
  justify-content: center;
20
38
  font-size: 1.15rem;
21
39
  flex-shrink: 0;
22
40
  }
41
+ .es-data-sharing-modal .modal-header .es-batch-badge {
42
+ background-color: var(--es-brand) !important;
43
+ color: #ffffff !important;
44
+ border-radius: 6px;
45
+ font-weight: 600;
46
+ padding: 0.3em 0.6em;
47
+ }
48
+ .es-data-sharing-modal .modal-header .btn-close {
49
+ transform: none !important;
50
+ margin: 0 !important;
51
+ margin-left: auto !important;
52
+ padding: 0.55rem !important;
53
+ border-radius: 8px;
54
+ background-color: #f1f5f9;
55
+ box-shadow: none;
56
+ align-self: center;
57
+ transition: background-color 0.15s ease;
58
+ }
59
+ .es-data-sharing-modal .modal-header .btn-close:hover, .es-data-sharing-modal .modal-header .btn-close:focus, .es-data-sharing-modal .modal-header .btn-close:active {
60
+ transform: none !important;
61
+ background-color: #e2e8f0;
62
+ box-shadow: none;
63
+ }
23
64
  .es-data-sharing-modal .modal-body {
24
- background-color: #f7f8fb;
65
+ background-color: var(--es-surface-muted);
25
66
  padding: 1.15rem 1.35rem;
26
67
  }
27
68
  .es-data-sharing-modal .modal-footer {
28
69
  background-color: #ffffff;
29
- border-top: 1px solid #e6e9f0;
70
+ border-top: 1px solid var(--es-border);
71
+ border-radius: 0 0 14px 14px;
30
72
  padding: 0.85rem 1.35rem;
31
- gap: 0.5rem;
73
+ gap: 0.55rem;
74
+ }
75
+ .es-data-sharing-modal .modal-footer .btn-primary {
76
+ background-color: var(--es-brand);
77
+ border-color: var(--es-brand);
78
+ box-shadow: 0 2px 6px rgba(var(--es-brand-rgb), 0.28);
79
+ }
80
+ .es-data-sharing-modal .modal-footer .btn-primary:hover:not(:disabled), .es-data-sharing-modal .modal-footer .btn-primary:focus:not(:disabled) {
81
+ background-color: #df5416;
82
+ border-color: #df5416;
32
83
  }
33
84
 
85
+ .es-data-sharing-content {
86
+ --es-brand: var(--bs-primary, #f26522);
87
+ --es-brand-rgb: var(--bs-primary-rgb, 242, 101, 34);
88
+ --es-brand-soft: #fff2eb;
89
+ --es-brand-soft-hover: #fff6f1;
90
+ --es-brand-border: #ffd8c4;
91
+ --es-border: #e6ebf2;
92
+ --es-border-soft: #eef2f7;
93
+ }
34
94
  .es-data-sharing-content .es-data-sharing-master-card,
35
95
  .es-data-sharing-content .es-data-sharing-org-scope,
36
96
  .es-data-sharing-content .es-data-sharing-tabs-section {
37
- border: 1px solid #e6e9f0 !important;
38
- border-radius: 10px;
39
- box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
97
+ border: 1px solid var(--es-border) !important;
98
+ border-radius: 12px;
99
+ box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
40
100
  }
41
101
 
42
102
  .es-data-sharing-master-card {
43
- background-color: #fafbfd;
103
+ background-color: #ffffff;
44
104
  }
45
105
  .es-data-sharing-master-card .card-body {
46
106
  padding: 1rem 1.15rem;
@@ -48,19 +108,31 @@
48
108
  .es-data-sharing-master-card .es-master-header {
49
109
  padding-bottom: 0.75rem;
50
110
  margin-bottom: 0.75rem;
51
- border-bottom: 1px solid #edf0f5;
111
+ border-bottom: 1px solid #eef2f7;
112
+ }
113
+ .es-data-sharing-master-card .es-master-header h5 {
114
+ color: #1e293b;
52
115
  }
53
116
  .es-data-sharing-master-card .es-master-header .es-master-avatar {
54
- width: 34px;
55
- height: 34px;
56
- border-radius: 8px;
117
+ width: 36px;
118
+ height: 36px;
119
+ border-radius: 9px;
120
+ background: linear-gradient(135deg, #fff4ee 0%, #ffe6d8 100%) !important;
121
+ border: 1px solid #ffd8c4;
122
+ color: var(--bs-primary, #f26522);
57
123
  display: inline-flex;
58
124
  align-items: center;
59
125
  justify-content: center;
60
126
  flex-shrink: 0;
61
127
  }
128
+ .es-data-sharing-master-card .es-master-header .es-batch-count-badge {
129
+ background-color: var(--bs-primary, #f26522) !important;
130
+ color: #ffffff !important;
131
+ font-weight: 600;
132
+ padding: 0.35em 0.75em;
133
+ }
62
134
  .es-data-sharing-master-card .master-fields-list {
63
- max-height: 360px;
135
+ max-height: 415px;
64
136
  min-height: 0;
65
137
  overflow-y: auto;
66
138
  overflow-x: hidden;
@@ -75,27 +147,47 @@
75
147
  border-radius: 999px;
76
148
  }
77
149
  .es-data-sharing-master-card .master-fields-list .es-master-field-row {
78
- padding: 0.35rem 0.25rem;
79
- border-bottom: 1px dashed #edf0f5;
150
+ padding: 0.42rem 0.4rem;
151
+ border-bottom: 1px dashed #eef2f7;
80
152
  transition: background-color 0.15s ease;
81
153
  }
82
154
  .es-data-sharing-master-card .master-fields-list .es-master-field-row:last-child {
83
155
  border-bottom: none;
84
156
  }
85
157
  .es-data-sharing-master-card .master-fields-list .es-master-field-row:hover {
86
- background-color: rgba(15, 23, 42, 0.02);
158
+ background-color: #fff8f4;
87
159
  border-radius: 6px;
88
160
  }
89
161
  .es-data-sharing-master-card .es-batch-items-list {
90
- max-height: 225px;
162
+ max-height: 415px;
163
+ min-height: 220px;
91
164
  overflow-y: auto;
92
165
  overflow-x: hidden;
93
- border: 1px solid #e6e9f0 !important;
94
- border-radius: 8px;
166
+ border: 1px solid #e6ebf2 !important;
167
+ border-radius: 10px;
95
168
  background-color: #ffffff;
96
169
  scrollbar-width: thin;
97
170
  scrollbar-color: #cbd5e1 transparent;
98
171
  }
172
+ .es-data-sharing-master-card .es-batch-items-list .es-batch-items-header {
173
+ position: sticky;
174
+ top: 0;
175
+ z-index: 1;
176
+ background-color: #f8fafc;
177
+ border-bottom-color: #e6ebf2 !important;
178
+ color: #475569;
179
+ font-size: 0.76rem;
180
+ letter-spacing: 0.01em;
181
+ }
182
+ .es-data-sharing-master-card .es-batch-items-list .es-batch-row {
183
+ transition: background-color 0.15s ease;
184
+ }
185
+ .es-data-sharing-master-card .es-batch-items-list .es-batch-row:hover {
186
+ background-color: #fff8f4;
187
+ }
188
+ .es-data-sharing-master-card .es-batch-items-list .es-batch-row .es-batch-code {
189
+ color: var(--bs-primary, #f26522) !important;
190
+ }
99
191
  .es-data-sharing-master-card .es-batch-items-list::-webkit-scrollbar {
100
192
  width: 5px;
101
193
  }
@@ -103,17 +195,6 @@
103
195
  background-color: #cbd5e1;
104
196
  border-radius: 999px;
105
197
  }
106
- .es-data-sharing-master-card .es-global-shared-box {
107
- background-color: #ffffff;
108
- border: 1px solid #e6e9f0;
109
- border-radius: 8px;
110
- padding: 0.65rem 0.85rem;
111
- transition: border-color 0.15s ease, box-shadow 0.15s ease;
112
- }
113
- .es-data-sharing-master-card .es-global-shared-box.is-active {
114
- border-color: rgba(var(--bs-primary-rgb, 115, 103, 240), 0.45);
115
- background-color: rgba(var(--bs-primary-rgb, 115, 103, 240), 0.04);
116
- }
117
198
 
118
199
  .es-data-sharing-org-scope {
119
200
  background-color: #ffffff;
@@ -121,19 +202,68 @@
121
202
  .es-data-sharing-org-scope .card-body {
122
203
  padding: 1rem 1.15rem;
123
204
  }
205
+ .es-data-sharing-org-scope h5 {
206
+ color: #1e293b;
207
+ }
208
+ .es-data-sharing-org-scope .es-badge-sharing {
209
+ background-color: #fff2eb !important;
210
+ color: #ea580c !important;
211
+ border: 1px solid #ffd8c4;
212
+ font-weight: 600;
213
+ padding: 0.35em 0.65em;
214
+ }
215
+ .es-data-sharing-org-scope .es-badge-override {
216
+ background-color: #ecfeff !important;
217
+ color: #0284c7 !important;
218
+ border: 1px solid #bae6fd;
219
+ font-weight: 600;
220
+ padding: 0.35em 0.65em;
221
+ }
222
+ .es-data-sharing-org-scope .es-org-search-wrap .form-control {
223
+ border-color: #dce3ef;
224
+ border-radius: 8px;
225
+ color: #1e293b;
226
+ }
227
+ .es-data-sharing-org-scope .es-org-search-wrap .form-control::placeholder {
228
+ color: #94a3b8;
229
+ }
230
+ .es-data-sharing-org-scope .es-org-search-wrap .form-control:focus {
231
+ border-color: var(--bs-primary, #f26522);
232
+ box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb, 242, 101, 34), 0.12);
233
+ }
124
234
  .es-data-sharing-org-scope .es-org-scope-toolbar {
125
235
  gap: 0.5rem;
126
236
  }
127
237
  .es-data-sharing-org-scope .es-parent-org-pill {
128
238
  display: inline-flex;
129
239
  align-items: center;
130
- gap: 0.35rem;
131
- padding: 0.25rem 0.6rem;
132
- border-radius: 6px;
133
- background-color: #f4f6fa;
134
- border: 1px solid #e6e9f0;
240
+ gap: 0.4rem;
241
+ padding: 0.3rem 0.7rem;
242
+ border-radius: 8px;
243
+ background-color: #f8fafc;
244
+ border: 1px solid #e2e8f0;
135
245
  font-size: 0.8rem;
136
246
  }
247
+ .es-data-sharing-org-scope .es-parent-org-pill .es-parent-org-name {
248
+ color: var(--bs-primary, #f26522) !important;
249
+ }
250
+ .es-data-sharing-org-scope .es-data-sharing-grid-wrap table col:first-child {
251
+ width: 44px !important;
252
+ }
253
+ .es-data-sharing-org-scope .es-data-sharing-grid-wrap table th:first-child,
254
+ .es-data-sharing-org-scope .es-data-sharing-grid-wrap table td:first-child {
255
+ width: 44px !important;
256
+ min-width: 44px !important;
257
+ max-width: 44px !important;
258
+ padding-left: 0.25rem !important;
259
+ padding-right: 0.25rem !important;
260
+ }
261
+ .es-data-sharing-org-scope .es-data-sharing-grid-wrap tbody tr:nth-child(even) {
262
+ background-color: #fffaf7;
263
+ }
264
+ .es-data-sharing-org-scope .es-data-sharing-grid-wrap tbody tr:hover {
265
+ background-color: #fff3ec !important;
266
+ }
137
267
  .es-data-sharing-org-scope .table {
138
268
  font-size: 0.875rem;
139
269
  }
@@ -143,7 +273,7 @@
143
273
  padding: 0.85rem 1.15rem 1rem;
144
274
  }
145
275
  .es-data-sharing-tabs-section .nav-tabs {
146
- border-bottom: 1px solid #e6e9f0;
276
+ border-bottom: 1px solid #e6ebf2;
147
277
  gap: 0.25rem;
148
278
  margin-bottom: 0.85rem !important;
149
279
  }
@@ -153,41 +283,70 @@
153
283
  padding: 0.5rem 0.9rem;
154
284
  border: 0;
155
285
  border-bottom: 2px solid transparent;
156
- border-radius: 6px 6px 0 0;
286
+ border-radius: 8px 8px 0 0;
157
287
  color: #64748b;
158
288
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
159
289
  }
160
290
  .es-data-sharing-tabs-section .nav-tabs .nav-link:hover {
161
291
  color: #1e293b;
162
- background-color: #f8fafc;
292
+ background-color: #fff8f4;
163
293
  }
164
294
  .es-data-sharing-tabs-section .nav-tabs .nav-link.active {
165
- color: var(--bs-primary, #7367f0);
166
- background-color: transparent;
167
- border-bottom-color: var(--bs-primary, #7367f0);
295
+ color: var(--bs-primary, #f26522);
296
+ background-color: #fff6f1;
297
+ border-bottom-color: var(--bs-primary, #f26522);
168
298
  }
169
299
 
170
300
  .es-data-sharing-grid-wrap {
171
- border: 1px solid #e6e9f0;
172
- border-radius: 8px;
301
+ border: 1px solid #e6ebf2;
302
+ border-radius: 10px;
173
303
  overflow: hidden;
304
+ background-color: #ffffff;
305
+ }
306
+ .es-data-sharing-grid-wrap thead th {
307
+ background-color: #f8fafc !important;
308
+ color: #334155 !important;
309
+ font-weight: 600;
310
+ border-bottom: 1px solid #e6ebf2 !important;
311
+ }
312
+ .es-data-sharing-grid-wrap tbody td {
313
+ border-color: #eef2f7 !important;
174
314
  }
175
315
  .es-data-sharing-grid-wrap .form-check-input {
176
316
  cursor: pointer;
177
317
  margin-top: 0;
178
318
  }
319
+ .es-data-sharing-grid-wrap .form-check-input:checked {
320
+ background-color: var(--bs-primary, #f26522);
321
+ border-color: var(--bs-primary, #f26522);
322
+ }
179
323
 
324
+ .es-data-sharing-override-table .es-apply-first-btn {
325
+ padding: 0.35rem 0.75rem !important;
326
+ font-size: 0.8rem !important;
327
+ font-weight: 500;
328
+ color: #334155 !important;
329
+ background-color: #f8fafc !important;
330
+ border: 1px solid #e2e8f0 !important;
331
+ border-radius: 8px !important;
332
+ box-shadow: none !important;
333
+ transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
334
+ }
335
+ .es-data-sharing-override-table .es-apply-first-btn:hover, .es-data-sharing-override-table .es-apply-first-btn:focus {
336
+ background-color: #fff4ee !important;
337
+ border-color: #ffd8c4 !important;
338
+ color: #ea580c !important;
339
+ }
180
340
  .es-data-sharing-override-table .table {
181
341
  font-size: 0.875rem;
182
342
  }
183
343
  .es-data-sharing-override-table .es-override-note {
184
- background-color: #f8fafc;
185
- border: 1px solid #e6e9f0;
186
- border-left: 3px solid var(--bs-primary, #7367f0);
187
- border-radius: 6px;
344
+ background-color: #fff8f4;
345
+ border: 1px solid #ffe4d6;
346
+ border-radius: 8px;
188
347
  padding: 0.5rem 0.75rem;
189
348
  font-size: 0.8rem;
190
- color: #475569;
349
+ color: #64748b;
191
350
  }
192
351
 
193
352
  .es-data-sharing-detail-tab .table {
@@ -195,9 +354,9 @@
195
354
  }
196
355
 
197
356
  .es-data-sharing-summary-box {
198
- background-color: #fafbfd;
199
- border: 1px solid #e6e9f0;
200
- border-radius: 8px;
357
+ background-color: #f8fafc;
358
+ border: 1px solid #e6ebf2;
359
+ border-radius: 10px;
201
360
  padding: 0.9rem 1rem;
202
361
  }
203
362
  .es-data-sharing-summary-box .es-summary-grid {
@@ -207,7 +366,7 @@
207
366
  }
208
367
  .es-data-sharing-summary-box .es-summary-item {
209
368
  background-color: #ffffff;
210
- border: 1px solid #edf0f5;
369
+ border: 1px solid #eef2f7;
211
370
  border-radius: 8px;
212
371
  padding: 0.6rem 0.8rem;
213
372
  }
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["../../src/styles/modal.scss","../../src/styles/index.scss"],"names":[],"mappings":"AACE;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAIJ;EACE;EACA;;AAGF;EACE;EACA;EACA;EACA;;;AC/BF;AAAA;AAAA;EAGE;EACA;EACA;;;AAIJ;EACE;;AAEA;EACE;;AAGF;EACE;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EACE;EACA;;AAGF;EACE;EACA;EACA;;AAEA;EACE;;AAGF;EACE;EACA;;AAKN;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EACE;EACA;;AAIJ;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;;AAKN;EACE;;AAEA;EACE;;AAGF;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;;;AAIJ;EACE;EACA;;AAEA;EACE;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAGF;EACE;EACA;EACA;;;AAMR;EACE;EACA;EACA;;AAEA;EACE;EACA;;;AAKF;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAKF;EACE;;;AAIJ;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;;AAGF;EACE;EACA;EACA;;;AAKN;EACE","file":"index.css"}
1
+ {"version":3,"sourceRoot":"","sources":["../../src/styles/modal.scss","../../src/styles/index.scss"],"names":[],"mappings":"AAAA;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;AAAA;EAEE;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EAGE;EACA;EACA;;AAKN;EACE;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;;AAEA;EAEE;EACA;;;AC1FR;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAGA;AAAA;AAAA;EAGE;EACA;EACA;;;AAIJ;EACE;;AAEA;EACE;;AAGF;EACE;EACA;EACA;;AAEA;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EACE;EACA;;AAGF;EACE;EACA;EACA;;AAEA;EACE;;AAGF;EACE;EACA;;AAKN;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;;AAEA;EACE;;AAGF;EACE;;AAIJ;EACE;;AAGF;EACE;EACA;;;AAKN;EACE;;AAEA;EACE;;AAGF;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAIA;EACE;EACA;EACA;;AAEA;EACE;;AAGF;EACE;EACA;;AAKN;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAKF;EACE;;AAGF;AAAA;EAEE;EACA;EACA;EACA;EACA;;AAGF;EACE;;AAGF;EACE;;AAIJ;EACE;;;AAIJ;EACE;EACA;;AAEA;EACE;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAGF;EACE;EACA;EACA;;;AAMR;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAGF;EACE;;AAGF;EACE;EACA;;AAEA;EACE;EACA;;;AAMJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EAEE;EACA;EACA;;AAIJ;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;;;AAKF;EACE;;;AAIJ;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;;AAGF;EACE;EACA;EACA;;;AAKN;EACE","file":"index.css"}
@@ -1,34 +1,85 @@
1
+ .es-data-sharing-modal {
2
+ --es-brand: var(--bs-primary, #f26522);
3
+ --es-brand-rgb: var(--bs-primary-rgb, 242, 101, 34);
4
+ --es-brand-soft: #fff2eb;
5
+ --es-brand-border: #ffd8c4;
6
+ --es-border: #e6ebf2;
7
+ --es-surface-muted: #f6f8fb;
8
+ }
1
9
  .es-data-sharing-modal .modal-content {
2
- border: 0;
3
- border-radius: 12px;
4
- overflow: hidden;
5
- box-shadow: 0 12px 36px rgba(15, 23, 42, 0.16);
10
+ border: 1px solid var(--es-border);
11
+ border-radius: 14px;
12
+ overflow: visible;
13
+ box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14);
6
14
  }
7
15
  .es-data-sharing-modal .modal-header {
8
16
  background-color: #ffffff;
9
- border-bottom: 1px solid #e6e9f0;
10
- padding: 1rem 1.35rem;
17
+ border-bottom: 1px solid var(--es-border);
18
+ border-radius: 14px 14px 0 0;
19
+ padding: 0.95rem 1.35rem;
20
+ display: flex;
21
+ align-items: center;
22
+ }
23
+ .es-data-sharing-modal .modal-header .modal-title,
24
+ .es-data-sharing-modal .modal-header h4 {
25
+ color: #1e293b;
26
+ letter-spacing: -0.01em;
11
27
  }
12
28
  .es-data-sharing-modal .modal-header .es-data-sharing-header-icon {
13
- width: 38px;
14
- height: 38px;
29
+ width: 40px;
30
+ height: 40px;
15
31
  border-radius: 10px;
16
- background: rgba(var(--bs-primary-rgb, 115, 103, 240), 0.12);
32
+ background: linear-gradient(135deg, #fff4ee 0%, #ffe6d8 100%);
33
+ border: 1px solid var(--es-brand-border);
34
+ color: var(--es-brand);
17
35
  display: inline-flex;
18
36
  align-items: center;
19
37
  justify-content: center;
20
38
  font-size: 1.15rem;
21
39
  flex-shrink: 0;
22
40
  }
41
+ .es-data-sharing-modal .modal-header .es-batch-badge {
42
+ background-color: var(--es-brand) !important;
43
+ color: #ffffff !important;
44
+ border-radius: 6px;
45
+ font-weight: 600;
46
+ padding: 0.3em 0.6em;
47
+ }
48
+ .es-data-sharing-modal .modal-header .btn-close {
49
+ transform: none !important;
50
+ margin: 0 !important;
51
+ margin-left: auto !important;
52
+ padding: 0.55rem !important;
53
+ border-radius: 8px;
54
+ background-color: #f1f5f9;
55
+ box-shadow: none;
56
+ align-self: center;
57
+ transition: background-color 0.15s ease;
58
+ }
59
+ .es-data-sharing-modal .modal-header .btn-close:hover, .es-data-sharing-modal .modal-header .btn-close:focus, .es-data-sharing-modal .modal-header .btn-close:active {
60
+ transform: none !important;
61
+ background-color: #e2e8f0;
62
+ box-shadow: none;
63
+ }
23
64
  .es-data-sharing-modal .modal-body {
24
- background-color: #f7f8fb;
65
+ background-color: var(--es-surface-muted);
25
66
  padding: 1.15rem 1.35rem;
26
67
  }
27
68
  .es-data-sharing-modal .modal-footer {
28
69
  background-color: #ffffff;
29
- border-top: 1px solid #e6e9f0;
70
+ border-top: 1px solid var(--es-border);
71
+ border-radius: 0 0 14px 14px;
30
72
  padding: 0.85rem 1.35rem;
31
- gap: 0.5rem;
73
+ gap: 0.55rem;
74
+ }
75
+ .es-data-sharing-modal .modal-footer .btn-primary {
76
+ background-color: var(--es-brand);
77
+ border-color: var(--es-brand);
78
+ box-shadow: 0 2px 6px rgba(var(--es-brand-rgb), 0.28);
79
+ }
80
+ .es-data-sharing-modal .modal-footer .btn-primary:hover:not(:disabled), .es-data-sharing-modal .modal-footer .btn-primary:focus:not(:disabled) {
81
+ background-color: #df5416;
82
+ border-color: #df5416;
32
83
  }
33
84
 
34
85
  /*# sourceMappingURL=modal.css.map */
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["../../src/styles/modal.scss"],"names":[],"mappings":"AACE;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAIJ;EACE;EACA;;AAGF;EACE;EACA;EACA;EACA","file":"modal.css"}
1
+ {"version":3,"sourceRoot":"","sources":["../../src/styles/modal.scss"],"names":[],"mappings":"AAAA;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;AAAA;EAEE;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EAGE;EACA;EACA;;AAKN;EACE;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;;AAEA;EAEE;EACA","file":"modal.css"}
@@ -46,15 +46,17 @@ export interface ISharingSectionVisibility {
46
46
  showOverrideTab?: boolean;
47
47
  /** Hiện/ẩn tab Tổng hợp phân quyền (mặc định: true) */
48
48
  showSummaryTab?: boolean;
49
- /** Hiện/ẩn nút gạt "Danh mục dùng chung toàn tập đoàn" (mặc định: true) */
50
- showGlobalSharedSwitch?: boolean;
51
49
  }
52
50
  export interface ISharingMetadataConfig extends ISharingSectionVisibility {
53
51
  entityType: string;
54
52
  title: string;
55
53
  masterCardTitle?: string;
56
- /** Tên/mã công ty mẹ hiển thị trên thanh tiêu đề của Phạm vi chia sẻ */
54
+ /** Nhãn hiển thị trước tên công ty ở khối Phạm vi chia sẻ */
55
+ parentOrgLabel?: string;
56
+ /** Tên/mã công ty hiển thị trên thanh tiêu đề của Phạm vi chia sẻ */
57
57
  parentOrgName?: string;
58
+ /** ID hoặc mã tổ chức hiện tại để tự động map tên/mã hiển thị */
59
+ organizationId?: string;
58
60
  masterFields?: ISharingFieldDef[];
59
61
  overrideColumns?: ISharingFieldDef[];
60
62
  detailTabs?: ISharingDetailTabConfig[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esvndev/es-data-sharing",
3
- "version": "1.2.0",
3
+ "version": "1.4.0",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",