sccoreui 5.5.3 → 5.5.4

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/dist/App.tsx ADDED
@@ -0,0 +1,13 @@
1
+ // import Home from './pages/home';
2
+ import "./App.scss";
3
+ // import Home from "./pages/home";
4
+
5
+ const App = () => {
6
+ return (
7
+ <div>
8
+ {/* <div>{<Home />}</div> */}
9
+ </div>
10
+ );
11
+ };
12
+
13
+ export default App;
@@ -319,14 +319,14 @@ const FormulaCoponent = (props) => {
319
319
  switch (optiontype) {
320
320
  case "INCREASE_BY_VALUE":
321
321
  case "DECREASE_BY_VALUE": {
322
- return (0, jsx_runtime_1.jsx)(inputnumber_1.InputNumber, { onChange: (e) => props === null || props === void 0 ? void 0 : props.onChange(e), placeholder: 'Enter Number', value: props === null || props === void 0 ? void 0 : props.inputValue, className: 'border-none w-8', inputClassName: 'border-none \tfocus:shadow-none' });
322
+ return (0, jsx_runtime_1.jsx)(inputnumber_1.InputNumber, { onChange: (e) => (props === null || props === void 0 ? void 0 : props.onChange) && (props === null || props === void 0 ? void 0 : props.onChange(e)), placeholder: 'Enter Number', value: props === null || props === void 0 ? void 0 : props.inputValue, className: 'border-none w-8', inputClassName: 'border-none \tfocus:shadow-none' });
323
323
  }
324
324
  case "INCREASE_BY_PERCENTAGE":
325
325
  case "DECREASE_BY_PERCENTAGE": {
326
- return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: 'w-8 relative' }, { children: [(0, jsx_runtime_1.jsx)("div", Object.assign({ className: 'absolute left-0 h-full flex align-items-center px-2' }, { children: (0, jsx_runtime_1.jsx)(svg_component_1.default, { icon: "percent-01", size: 16, color: '#344054' }) })), (0, jsx_runtime_1.jsx)(inputnumber_1.InputNumber, { onChange: (e) => props === null || props === void 0 ? void 0 : props.onChange(e), placeholder: 'Enter Number', value: props === null || props === void 0 ? void 0 : props.inputValue, className: 'border-none w-full', inputClassName: 'border-none \tpl-8 focus:shadow-none' })] })));
326
+ return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: 'w-8 relative' }, { children: [(0, jsx_runtime_1.jsx)("div", Object.assign({ className: 'absolute left-0 h-full flex align-items-center px-2' }, { children: (0, jsx_runtime_1.jsx)(svg_component_1.default, { icon: "percent-01", size: 16, color: '#344054' }) })), (0, jsx_runtime_1.jsx)(inputnumber_1.InputNumber, { onChange: (e) => (props === null || props === void 0 ? void 0 : props.onChange) && (props === null || props === void 0 ? void 0 : props.onChange(e)), placeholder: 'Enter Number', value: props === null || props === void 0 ? void 0 : props.inputValue, className: 'border-none w-full', inputClassName: 'border-none \tpl-8 focus:shadow-none' })] })));
327
327
  }
328
328
  case "MANUAL": {
329
- return (0, jsx_runtime_1.jsx)(inputnumber_1.InputNumber, { onChange: (e) => props === null || props === void 0 ? void 0 : props.onChange(e), placeholder: 'Enter Number', value: props === null || props === void 0 ? void 0 : props.inputValue, className: 'border-none w-8', inputClassName: 'border-none \tfocus:shadow-none' });
329
+ return (0, jsx_runtime_1.jsx)(inputnumber_1.InputNumber, { onChange: (e) => (props === null || props === void 0 ? void 0 : props.onChange) && (props === null || props === void 0 ? void 0 : props.onChange(e)), placeholder: 'Enter Number', value: props === null || props === void 0 ? void 0 : props.inputValue, className: 'border-none w-8', inputClassName: 'border-none \tfocus:shadow-none' });
330
330
  }
331
331
  case "CALCULATION": {
332
332
  const pattern = /[a-f0-9]{24}/g;
@@ -10,7 +10,7 @@ require("froala-editor/js/plugins.pkgd.min.js");
10
10
  // import { SvgComponent } from 'sccoreui';
11
11
  // import SvgComponent from '../../directives/svg-component';
12
12
  // import { Bold, Italic } from '../../assets/svg/svg';
13
- const FroalaTextEditor = ({ onChange, value, placeholderText, id, className, maxlength = 255 }) => {
13
+ const FroalaTextEditor = ({ onChange, value, placeholderText, id, className, maxLength = 255 }) => {
14
14
  const editorRef = (0, react_1.useRef)(null);
15
15
  // const html = ``;
16
16
  const [editorContent, setEditorContent] = (0, react_1.useState)(value);
@@ -54,7 +54,7 @@ const FroalaTextEditor = ({ onChange, value, placeholderText, id, className, max
54
54
  fontFamilyDefaultSelection: 'sans-serif',
55
55
  placeholderText: placeholderText,
56
56
  key: "5OA4gB3A3B3E3B5D3E3F-11SLJCKHXOSLMc1YGSGb1ZXHSe1CgB5A4D4G4E3C2A12A19A6B4==",
57
- charCounterMax: maxlength,
57
+ charCounterMax: maxLength,
58
58
  toolbarSticky: false,
59
59
  quickInsertEnabled: false,
60
60
  toolbarInline: false,
@@ -2,5 +2,5 @@ import 'froala-editor/css/froala_editor.pkgd.min.css';
2
2
  import 'froala-editor/css/froala_style.min.css';
3
3
  import 'froala-editor/js/plugins.pkgd.min.js';
4
4
  import { FroalaTextEditorTypes } from '../types/type';
5
- declare const FroalaTextEditor: ({ onChange, value, placeholderText, id, className, maxlength }: FroalaTextEditorTypes) => import("react/jsx-runtime").JSX.Element;
5
+ declare const FroalaTextEditor: ({ onChange, value, placeholderText, id, className, maxLength }: FroalaTextEditorTypes) => import("react/jsx-runtime").JSX.Element;
6
6
  export default FroalaTextEditor;
@@ -185,7 +185,7 @@ export interface FroalaTextEditorTypes {
185
185
  id: string;
186
186
  className?: string;
187
187
  isLoading?: boolean;
188
- maxlength?: number;
188
+ maxLength?: number;
189
189
  }
190
190
  export interface ListBoxDropdownTypes {
191
191
  values: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sccoreui",
3
- "version": "5.5.3",
3
+ "version": "5.5.4",
4
4
  "description": "ui-sccore",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
package/dist/App.scss DELETED
@@ -1,910 +0,0 @@
1
- @import url("./assets/theme.css");
2
- @import url("./assets/sccoreui.css");
3
- @import url("./assets/sccoreicons.css");
4
- @import url("./assets/flex.css");
5
- @import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700;900&display=swap');
6
-
7
- @font-face {
8
- font-family: 'RobotoBold';
9
- src: url('./assets/fonts/Roboto-Bold.ttf') format('truetype');
10
- font-weight: 700;
11
- font-style: italic;
12
- }
13
-
14
- @font-face {
15
- font-family: 'RobotoMedium';
16
- src: url('./assets/fonts/Roboto-Medium.ttf') format('truetype');
17
- font-weight: normal;
18
- font-style: normal;
19
- }
20
-
21
- @font-face {
22
- font-family: 'RobotoItalic';
23
- src: url('./assets/fonts/Roboto-Italic.ttf') format('truetype');
24
- font-weight: normal;
25
- font-style: normal;
26
- }
27
-
28
- @font-face {
29
- font-family: 'RobotoRegular';
30
- src: url('./assets/fonts/Roboto-Regular.ttf') format('truetype');
31
- font-weight: normal;
32
- font-style: normal;
33
- }
34
-
35
- :root {
36
- --fw-600: 600;
37
- --fw-400: 400;
38
- --fs-24: 24px;
39
- --fs-18: 18px;
40
- --fs-16: 16px;
41
- --lh: 24px;
42
- --fs-14: 14px;
43
- --grey-bg: #101828;
44
- --border-none: border-none;
45
- }
46
-
47
-
48
-
49
- // @font-face {
50
- // font-family: "Lato";
51
- // }
52
-
53
- // @font-face {
54
- // font-family: "Lato";
55
- // font-weight: 600;
56
- // src: url("./assets/fonts/Lato-Regular.ttf") format("truetype");
57
- // }
58
-
59
-
60
- body {
61
- font-family: 'Lato', sans-serif;
62
- -webkit-font-smoothing: antialiased;
63
- -moz-osx-font-smoothing: grayscale;
64
- line-height: 20px;
65
- padding: 0;
66
- margin: 0;
67
- color: var(--gray-700);
68
- }
69
-
70
- code {
71
- font-family: 'Lato', sans-serif;
72
- }
73
-
74
- // h1 {
75
- // font-size: var(--fs-24);
76
- // font-weight: var(--fw-600);
77
- // }
78
-
79
- // h2 {
80
- // font-size: var(--fs-18);
81
- // font-weight: var(--fw-600);
82
- // }
83
-
84
- // h3 {
85
- // font-size: var(--fs-16);
86
- // font-weight: var(--fw-400);
87
- // }
88
-
89
- // ============= custom progress steps =============== //
90
-
91
- .progress-container {
92
- isolation: isolate;
93
-
94
- &::before {
95
- content: "";
96
- background-color: var(--gray-200);
97
- position: absolute;
98
- z-index: -1;
99
- }
100
-
101
- &.horizontal::before {
102
- height: 2px;
103
- width: 100%;
104
- top: 11%;
105
- }
106
-
107
- &.vertical::before {
108
- height: 100%;
109
- width: 2px;
110
- left: 5%;
111
- top: 0;
112
- }
113
- }
114
-
115
- .progressbar {
116
- z-index: -1;
117
- transition: all 0.6s ease;
118
-
119
- &.horizontal {
120
- left: 0;
121
- height: 2px;
122
- top: 11%;
123
- }
124
-
125
- &.vertical {
126
- width: 2px;
127
- left: 5%;
128
- top: 0;
129
- }
130
- }
131
-
132
- .progress-step-item {
133
- &.horizontal {
134
-
135
-
136
- &:nth-of-type(1) {
137
- transform: translateX(-50%);
138
- }
139
-
140
- &:last-child {
141
- transform: translateX(50%);
142
- }
143
- }
144
-
145
- &.vertical {
146
- transform: translateY(50%);
147
-
148
- &:nth-of-type(1) {
149
- transform: translateY(-5%);
150
- }
151
-
152
- &:last-child {
153
- transform: translateY(100%);
154
- }
155
- }
156
- }
157
-
158
- // CUSTOM multiselect style started
159
- .Multi_select_dropdown_panel {
160
- .p-multiselect-header {
161
- display: block;
162
- padding: 8px 0;
163
-
164
- .p-checkbox,
165
- .p-multiselect-close {
166
- display: none;
167
- }
168
-
169
- .p-multiselect-filter-container {
170
- .p-inputtext {
171
- padding-right: 12px;
172
- padding-left: 1.75rem;
173
- }
174
-
175
- .p-multiselect-filter-icon {
176
- left: 0.55rem;
177
- }
178
- }
179
- }
180
-
181
- .p-multiselect-items-wrapper {
182
- .p-multiselect-item.p-highlight {
183
- &::after {
184
- content: "";
185
- width: 14px;
186
- height: 6px;
187
- border-left: 2px solid #132067;
188
- border-bottom: 2px solid #132067;
189
- transform: rotate(-45deg);
190
- position: absolute;
191
- right: 10px;
192
- }
193
- }
194
- }
195
- }
196
-
197
- .sc_custom_multiselect {
198
-
199
- width: max-content;
200
-
201
- * {
202
- color: #344054;
203
- font-weight: 700;
204
- }
205
-
206
- .left_section_item {
207
- left: 1rem;
208
- }
209
-
210
- .right_section_item {
211
- right: 1rem;
212
- }
213
-
214
- .selected_moreThan_one {
215
- right: 40px;
216
- }
217
-
218
- .p-inputwrapper-filled {
219
- background: #F5F6FD;
220
- border: 1px solid #8190E8;
221
- }
222
-
223
- .p-multiselect {
224
- max-width: 100%;
225
- width: max-content !important;
226
-
227
- .p-multiselect-label {
228
- padding: 0;
229
- padding-left: 44px;
230
- max-width: 100%;
231
-
232
- .p-multiselect-token {
233
- border: none;
234
- width: 100%;
235
- min-width: 100%;
236
- background: none;
237
- padding-left: 0;
238
-
239
- .p-multiselect-token-label {
240
- width: 100%;
241
- white-space: nowrap;
242
- overflow: hidden;
243
- text-overflow: ellipsis;
244
- }
245
- }
246
-
247
- svg {
248
- display: none;
249
- }
250
- }
251
- }
252
-
253
-
254
-
255
- .p-multiselect-trigger {
256
- width: 2rem;
257
-
258
- svg {
259
- display: none;
260
- }
261
- }
262
- }
263
-
264
- .no_icon {
265
-
266
- .p-multiselect-label {
267
- padding-left: 16px !important;
268
- }
269
- }
270
-
271
- .status_dropdown {
272
- .p-multiselect {
273
- .p-multiselect-label {
274
- padding-left: 34px;
275
- }
276
- }
277
-
278
- .select_status_prv {
279
- ul {
280
- li {
281
- width: 10px;
282
- height: 10px;
283
- border-radius: 8px;
284
- position: absolute;
285
- transform: translateY(-50%);
286
- }
287
-
288
- li.all {
289
- background: #667085;
290
- }
291
-
292
-
293
- li:nth-child(2) {
294
- left: 6px;
295
- }
296
-
297
- li:nth-child(3) {
298
- left: 12px;
299
- }
300
-
301
- }
302
- }
303
- }
304
-
305
-
306
- .multi-pl-32 {
307
- padding-left: 40px;
308
- border: 1px solid red;
309
- }
310
-
311
-
312
- .selected_multile {
313
- .p-multiselect-token-label {
314
- padding-right: 18px;
315
- }
316
- }
317
-
318
- .selected_multile.selected_num_2 {
319
- .p-multiselect .p-multiselect-label {
320
- padding-left: 44px;
321
- }
322
- }
323
-
324
- .selected_multile.selected_num_3,
325
- .selected_multile.moreThanThreeItems {
326
- .p-multiselect .p-multiselect-label {
327
- padding-left: 44px;
328
- }
329
- }
330
-
331
- .mutli_select_status {
332
- .p-multiselect-label {
333
- padding-left: 44px !important;
334
- }
335
- }
336
-
337
- .status_dropdown.selected_multile {
338
- .left_section_item {
339
- max-width: 28px;
340
- overflow: hidden;
341
- height: 11px;
342
- width: -webkit-fill-available;
343
- align-items: center;
344
- display: flex;
345
- }
346
- }
347
-
348
-
349
- .status_dropdown_item.Active::before {
350
- background: #12B76A;
351
- }
352
-
353
- .status_dropdown_item.Inactive::before {
354
- background: #F04438;
355
- }
356
-
357
- .status_dropdown_item.Draft::before {
358
- background: #162578;
359
- }
360
-
361
- .status_dropdown_item {
362
- .status_dot {
363
- width: 10px;
364
- height: 10px;
365
- border-radius: 50px;
366
- position: absolute;
367
- transform: translateY(-50%);
368
- top: 50%;
369
- left: 10px;
370
- }
371
- }
372
-
373
-
374
- .custom_date_picker_sec {
375
- .custom_date_picker {
376
-
377
-
378
- .p-inputtext {
379
- padding-right: 16px;
380
- width: 130px;
381
- }
382
-
383
- .p-inputtext {
384
- &:enabled {
385
- &:focus {
386
- box-shadow: none !important;
387
- border-color: #d0d5dd !important;
388
- }
389
- }
390
- }
391
-
392
- .p-datepicker-trigger {
393
- &:focus {
394
- box-shadow: none !important;
395
- border-color: #d0d5dd !important;
396
- }
397
- }
398
- }
399
-
400
- .custom_date_picker.multiple {
401
- .p-inputtext {
402
- width: 236px;
403
-
404
- }
405
- }
406
-
407
- .clear_icon_sec {
408
- right: 32px;
409
- }
410
- }
411
-
412
- .date_filter {
413
- margin: 0;
414
- position: absolute;
415
- top: 0;
416
- left: 0px;
417
- background: #fff;
418
- height: 100%;
419
- padding: 4px 16px;
420
-
421
- li {
422
- height: 40px;
423
-
424
- &:hover {
425
- background: #F9FAFB;
426
- }
427
- }
428
-
429
- .active {
430
- background: #F9FAFB;
431
- }
432
-
433
-
434
- }
435
-
436
- div:has(ul.date_filter) .p-datepicker-group-container {
437
- padding-left: 116px;
438
- margin: -8px;
439
- }
440
-
441
- .bottom_date_filters {
442
- width: calc(100% - 116px);
443
- border-left: 1px solid #dee2e6;
444
- }
445
-
446
- div:has(ul.date_filter) .p-datepicker-group-container .p-datepicker table td>span {
447
- width: 40px;
448
- height: 40px;
449
- }
450
-
451
-
452
-
453
- div:has(ul.date_filter) .p-datepicker-group-container .p-datepicker-group {
454
- width: 328px;
455
- max-width: 328px;
456
- padding: 8px 20px !important;
457
- border: 1px solid #dee2e6;
458
- border-top: 0;
459
- }
460
-
461
- div:has(ul.date_filter) .p-datepicker-group-container div:nth-child(2) {
462
- border-right: 0;
463
- }
464
-
465
- div:has(ul.date_filter) .p-datepicker-group-container table td {
466
- padding: 0;
467
-
468
- }
469
-
470
- div:has(ul.date_filter) .p-datepicker-footer {
471
- margin: -8px;
472
- }
473
-
474
- .panel_status {
475
- .p-multiselect-filter-container {
476
- display: none;
477
- }
478
-
479
- .p-multiselect-header {
480
- padding: 0 !important;
481
- border-bottom: 0;
482
- }
483
- }
484
-
485
- .p-multiselect-panel {
486
- .p-multiselect-items {
487
- padding: 6px;
488
- min-width: 140px !important;
489
-
490
- }
491
- }
492
-
493
- .panel_withIcon.p-multiselect-panel {
494
- .p-multiselect-items {
495
- .p-multiselect-item {
496
- padding: 0 10px;
497
- }
498
- }
499
- }
500
-
501
-
502
-
503
- .Multi_select_dropdown_panel.hidePanelHeader {
504
- .p-multiselect-header {
505
- display: none;
506
- }
507
- }
508
-
509
- .errorField {
510
- color: var(--red-500);
511
- height: 20px;
512
- }
513
-
514
- .full_form_field {
515
- width: 37.125rem;
516
- }
517
-
518
- .form_field {
519
- width: 18.063rem;
520
- }
521
-
522
- .PhoneInput {
523
- background: #ffffff;
524
- border: 1px solid var(--gray-300);
525
- transition: background-color 0.2s, color 0.2s, border-color 0.2s,
526
- box-shadow 0.2s;
527
- border-radius: 8px;
528
- box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
529
- padding-top: 10px;
530
- padding-bottom: 10px;
531
- padding-right: 12px;
532
- padding-left: 0px;
533
- height: 40px;
534
-
535
- :focus-visible {
536
- outline: none;
537
- }
538
-
539
- &:focus-within {
540
- outline: 0 none;
541
- outline-offset: 0;
542
- box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05),
543
- 0px 0px 0px 2px var(--primary-100);
544
- border-radius: 8px;
545
- border: 1px solid var(--primary-300);
546
- }
547
-
548
- .PhoneInputInput {
549
- border: none;
550
- }
551
- }
552
-
553
- .PhoneInputCountry {
554
- .PhoneInputCountryIcon--border {
555
- box-shadow: none;
556
- background-color: #ffffff;
557
- }
558
-
559
- .PhoneInputCountryIconImg {
560
- width: 20px;
561
- height: 20px;
562
- object-fit: cover;
563
- border-radius: 100%;
564
- position: absolute;
565
- top: 0;
566
- }
567
- }
568
-
569
- .phoneNumberClass {
570
- margin-left: 14.5rem;
571
- }
572
-
573
- #customCountryDropDown {
574
- .p-dropdown {
575
- border: none;
576
- box-shadow: none;
577
- background: none;
578
- padding: 0;
579
-
580
- .p-dropdown-label {
581
- padding: 0;
582
- padding-right: 4px;
583
- }
584
-
585
- .p-dropdown-trigger {
586
- padding-top: 20px;
587
- }
588
-
589
- .p-dropdown-trigger[aria-expanded="true"] {
590
- padding-bottom: 20px;
591
- }
592
- }
593
-
594
- }
595
-
596
- .customNumberField {
597
- .p-inputnumber-input {
598
- padding-left: 24px;
599
- }
600
- }
601
-
602
- .text-editor {
603
- button {
604
- &::after {
605
- content: none !important;
606
- }
607
- }
608
- }
609
-
610
-
611
- button#formatULOptions-1:hover::before,
612
- button#formatULOptions-1.fr-btn-hover::before,
613
- button#formatULOptions-1.fr-active::before,
614
- button#formatOLOptions-1:hover::before,
615
- button#formatOLOptions-1.fr-btn-hover::before,
616
- button#formatOLOptions-1.fr-active::before {
617
- content: '';
618
- border: 2px solid gray;
619
- border-left: 0;
620
- border-top: 0;
621
- width: 6px;
622
- height: 6px;
623
- position: absolute;
624
- left: 2px;
625
- top: 39%;
626
- transform: rotate(45deg);
627
- }
628
-
629
- .fr-toolbar .fr-btn-grp {
630
- display: inline-block;
631
- margin: 0 0px 0 12px !important;
632
- }
633
-
634
-
635
- .fr-buttons.fr-tabs {
636
- display: none;
637
- }
638
-
639
- .fr-element {
640
- padding: 12px !important;
641
- }
642
-
643
- .fr-command.fr-btn+.fr-dropdown-menu .fr-dropdown-wrapper .fr-dropdown-content ul.fr-dropdown-list li a.fr-active {
644
- background: #f9fafb !important;
645
- }
646
-
647
- button[data-cmd="fontFamily"]:focus {
648
- box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05), 0px 0px 0px 2px var(--primary-100);
649
- border: 1px solid var(--primary-300) !important;
650
- background: none !important;
651
- }
652
-
653
- .text-editor {
654
- border: 1px solid #d0d5dd;
655
- border-radius: 10px;
656
-
657
- * {
658
- border: none !important;
659
- }
660
- }
661
-
662
- .text-editor.focus-text-editor {
663
- box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05), 0px 0px 0px 4px var(--primary-100);
664
- border: 1px solid var(--primary-300) !important;
665
- }
666
-
667
- .text-editor.p-invalid.focus-text-editor {
668
- box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05), 0px 0px 0px 4px var(--red-100);
669
- border: 1px solid var(--red-300) !important;
670
- }
671
-
672
-
673
- button[data-cmd='fontFamily'] {
674
- border: 1px solid var(--gray-300) !important;
675
-
676
- &::before {
677
- content: '';
678
- border: 1.8px solid #0b0c12;
679
- border-left: 0;
680
- border-top: 0;
681
- width: 7px;
682
- height: 7px;
683
- position: absolute;
684
- right: 8px;
685
- top: 39%;
686
- transform: rotate(45deg);
687
- }
688
- }
689
-
690
- .fr-toolbar .fr-btn-grp {
691
- margin-right: 0px;
692
- margin-left: 8px;
693
- }
694
-
695
- .fr-wrapper .fr-placeholder {
696
- color: #667085 !important;
697
- }
698
-
699
- button[aria-expanded="true"] {
700
- &::before {
701
- top: 48%;
702
- transform: rotate(-136deg);
703
- }
704
- }
705
-
706
-
707
-
708
-
709
- /// Custon treeDropdownSelect style
710
- .treeNoCollaps {
711
- li {
712
- padding-left: 0 !important;
713
- padding-right: 0 !important;
714
- }
715
-
716
- .p-tree-toggler {
717
- display: none;
718
- }
719
-
720
- .treeBadge {
721
- background: var(--Gray-100, #F2F4F7) !important;
722
- }
723
-
724
- .p-treenode-content:hover {
725
- background: var(--Primary-25, #F5F6FD) !important;
726
- }
727
-
728
- .p-treenode-content:hover .treeItem,
729
- .p-treenode-content:focus .treeItem {
730
- color: var(--primary-400);
731
-
732
- .treeBadge {
733
- color: var(--Primary-400, #243DC6) !important;
734
- background: var(--Primary-50, #E2E5FA) !important;
735
- }
736
- }
737
-
738
- .p-treenode-content:hover svg path,
739
- .p-treenode-content:focus svg path {
740
- stroke: var(--primary-400) !important;
741
- }
742
-
743
- .p-treenode-content:focus {
744
- box-shadow: none !important;
745
- outline: none !important;
746
- background: var(--Primary-25, #F5F6FD) !important;
747
-
748
- .treeBadge {
749
- color: var(--Primary-400, #243DC6) !important;
750
- background: var(--Primary-50, #E2E5FA) !important;
751
- }
752
- }
753
- }
754
-
755
- /// Custon treeDropdownSelect style end /////////////////
756
-
757
- /////// Custom list_box_dropdown ///////////
758
- .list_box_dropdown {
759
- .p-listbox-header {
760
- padding: 12px !important;
761
- }
762
-
763
- ul.p-listbox-list {
764
- padding: 6px;
765
-
766
- li {
767
- margin: 4px 0 !important;
768
- border-radius: 4px !important;
769
- padding: 8px 14px !important;
770
-
771
- .item_content {
772
- max-width: 80%;
773
- white-space: nowrap;
774
- text-overflow: ellipsis;
775
- overflow: hidden;
776
- // width: 100%;
777
- }
778
-
779
- .item_icon {
780
- display: none;
781
- }
782
-
783
- &:focus {
784
- box-shadow: none !important;
785
- }
786
- }
787
-
788
- .p-highlight {
789
- background: #F5F6FD !important;
790
- color: #162578 !important;
791
-
792
- .item_icon {
793
- display: block;
794
- }
795
- }
796
- }
797
- }
798
-
799
- .list_box_chips {
800
- display: inline-block;
801
- align-items: center;
802
- list-style: none;
803
-
804
- li {
805
- float: left;
806
- height: 24px;
807
- }
808
- }
809
-
810
- /////// Custom list_box_dropdown ///////////
811
-
812
- //ScMulti Select//
813
- .sc_multiSelect {
814
- height: 40px !important;
815
-
816
- .p-multiselect-clear-icon {
817
- right: 42px !important;
818
- }
819
-
820
- .p-multiselect-label {
821
- line-height: 38px !important;
822
- }
823
- }
824
-
825
- .sc_multiSelect.noShowSelectedCount{
826
- .p-multiselect-label {
827
- padding-right: 0px;
828
- }
829
- }
830
-
831
- .sc_multiSelect.hideChipremoveIcon {
832
- .p-multiselect-token {
833
- svg {
834
- display: none;
835
- }
836
- }
837
- }
838
-
839
- .sc_multiSelect_panel {
840
- .p-multiselect-items {
841
- padding: 4px !important;
842
-
843
- .p-multiselect-item, .p-highlight {
844
- span{
845
- padding-right: 28px;
846
- }
847
- }
848
-
849
- .p-highlight::after {
850
- content: '';
851
- width: 12px;
852
- height: 6px;
853
- border: solid #162578;
854
- border-width: 1.9px;
855
- border-top: 0;
856
- border-right: 0;
857
- transform: rotate(-45deg);
858
- margin-right: 8px;
859
- position: absolute;
860
- right: 4px;
861
- }
862
- }
863
- }
864
-
865
- //////////////////////////////////////////////
866
- ///
867
-
868
- .condition_menu {
869
- width: 648px !important;
870
- }
871
-
872
- .condition_attribute_list_sect{
873
- height: 215px;
874
- .attr_chip {
875
- transition: all 0.1s;
876
- &:hover{
877
- transform: scale(1.05);
878
- // transition: all 0.2s;
879
- }
880
- }
881
-
882
- }
883
-
884
- .condition_configure{
885
- height: 224px;
886
- outline: none;
887
- line-height: 30px;
888
- letter-spacing: 2px;
889
- .formulaChipElm {
890
- line-height: 24px;
891
- letter-spacing: 0px;
892
- margin: 2px;
893
- float: left;
894
- }
895
- .formulaSpanElm {
896
- font-size: 16px;
897
- margin: 2px 0;
898
- float: left;
899
- min-width: 6px;
900
- height: 32px;
901
- }
902
-
903
- }
904
-
905
- .formula_condition_dropdown {
906
- box-shadow: none !important;
907
- .p-dropdown-label {
908
- display: block !important;
909
- }
910
- }