namirasoft-site-react 1.4.34 → 1.4.36
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/.dockerignore +86 -86
- package/.env.template +10 -10
- package/Dockerfile +18 -18
- package/config-overrides.js +70 -70
- package/dist/App.js +6 -2
- package/dist/App.js.map +1 -1
- package/dist/Validator.js.map +1 -1
- package/dist/components/NSAccordion.js.map +1 -1
- package/dist/components/NSAccordion.module.css +4 -4
- package/dist/components/NSActionMenu.js +2 -2
- package/dist/components/NSActionMenu.js.map +1 -1
- package/dist/components/NSActionMenu.module.css +75 -75
- package/dist/components/NSAssistantButton.module.css +130 -130
- package/dist/components/NSBarAction.module.css +87 -87
- package/dist/components/NSBarAlert.module.css +69 -69
- package/dist/components/NSBarHeroBanner.module.css +42 -42
- package/dist/components/NSBarNotification.js.map +1 -1
- package/dist/components/NSBarNotification.module.css +34 -34
- package/dist/components/NSBarTitle.module.css +9 -9
- package/dist/components/NSBox.module.css +124 -124
- package/dist/components/NSBoxBoolean.d.ts +2 -2
- package/dist/components/NSBoxBoolean.js +9 -8
- package/dist/components/NSBoxBoolean.js.map +1 -1
- package/dist/components/NSBoxBoolean.module.css +70 -70
- package/dist/components/NSBoxCombo.js.map +1 -1
- package/dist/components/NSBoxCombo.module.css +6 -6
- package/dist/components/NSBoxCopy.js.map +1 -1
- package/dist/components/NSBoxCopy.module.css +43 -43
- package/dist/components/NSBoxDate.js.map +1 -1
- package/dist/components/NSBoxDate.module.css +42 -42
- package/dist/components/NSBoxDateTime.js.map +1 -1
- package/dist/components/NSBoxDateTime.module.css +43 -43
- package/dist/components/NSBoxDouble.js.map +1 -1
- package/dist/components/NSBoxDuration.js.map +1 -1
- package/dist/components/NSBoxEmail.js.map +1 -1
- package/dist/components/NSBoxEntity.js.map +1 -1
- package/dist/components/NSBoxEntity.module.css +25 -25
- package/dist/components/NSBoxErrorNotifier.module.css +2 -2
- package/dist/components/NSBoxFile.js.map +1 -1
- package/dist/components/NSBoxFile.module.css +4 -4
- package/dist/components/NSBoxIPV4.js.map +1 -1
- package/dist/components/NSBoxIPV6.js.map +1 -1
- package/dist/components/NSBoxInteger.js.map +1 -1
- package/dist/components/NSBoxLabel.module.css +14 -14
- package/dist/components/NSBoxPassword.js.map +1 -1
- package/dist/components/NSBoxPhone.js.map +1 -1
- package/dist/components/NSBoxPrice.js.map +1 -1
- package/dist/components/NSBoxRadio.js.map +1 -1
- package/dist/components/NSBoxRadio.module.css +65 -65
- package/dist/components/NSBoxSearch.js.map +1 -1
- package/dist/components/NSBoxString.js.map +1 -1
- package/dist/components/NSBoxTextArea.js.map +1 -1
- package/dist/components/NSBoxTextArea.module.css +78 -78
- package/dist/components/NSBoxTime.js.map +1 -1
- package/dist/components/NSButton.d.ts +0 -1
- package/dist/components/NSButton.module.css +28 -28
- package/dist/components/NSButtonBlue.module.css +4 -4
- package/dist/components/NSButtonGreen.module.css +4 -4
- package/dist/components/NSButtonRed.module.css +4 -4
- package/dist/components/NSCard.module.css +108 -108
- package/dist/components/NSCardScreenshot.module.css +41 -41
- package/dist/components/NSChartColumn.module.css +7 -7
- package/dist/components/NSChartTable.module.css +21 -21
- package/dist/components/NSDialog.module.css +102 -102
- package/dist/components/NSDownTimer.js.map +1 -1
- package/dist/components/NSDownTimer.module.css +62 -62
- package/dist/components/NSDownload.js.map +1 -1
- package/dist/components/NSDownload.module.css +46 -46
- package/dist/components/NSElectronicCard.js.map +1 -1
- package/dist/components/NSElectronicCard.module.css +60 -60
- package/dist/components/NSEntityBar.module.css +77 -77
- package/dist/components/NSEntityCardBackground.module.css +27 -27
- package/dist/components/NSFilterBox.js.map +1 -1
- package/dist/components/NSFilterBox.module.css +47 -47
- package/dist/components/NSFilterBoxDialog.module.css +36 -36
- package/dist/components/NSFilterItem.module.css +23 -23
- package/dist/components/NSFooter.js.map +1 -1
- package/dist/components/NSFooter.module.css +123 -123
- package/dist/components/NSGroupedList.js.map +1 -1
- package/dist/components/NSGroupedList.module.css +72 -72
- package/dist/components/NSHeader.js.map +1 -1
- package/dist/components/NSHeader.module.css +286 -286
- package/dist/components/NSHeaderScreenshot.module.css +35 -35
- package/dist/components/NSInfoDialog.d.ts +0 -1
- package/dist/components/NSLayout.js.map +1 -1
- package/dist/components/NSLayout.module.css +13 -13
- package/dist/components/NSLine.module.css +12 -12
- package/dist/components/NSLink.module.css +36 -36
- package/dist/components/NSLoading.module.css +31 -31
- package/dist/components/NSNoData.module.css +8 -8
- package/dist/components/NSPageSelectionModal.js.map +1 -1
- package/dist/components/NSPageSelectionModal.module.css +106 -106
- package/dist/components/NSPagination.js.map +1 -1
- package/dist/components/NSPagination.module.css +101 -101
- package/dist/components/NSPanel.module.css +46 -46
- package/dist/components/NSRange.module.css +66 -66
- package/dist/components/NSRepeater.js.map +1 -1
- package/dist/components/NSSection.module.css +10 -10
- package/dist/components/NSSectionBars.module.css +10 -10
- package/dist/components/NSSectionCards.module.css +38 -38
- package/dist/components/NSTabPage.module.css +59 -59
- package/dist/components/NSTable.js +2 -2
- package/dist/components/NSTable.js.map +1 -1
- package/dist/components/NSTable.module.css +289 -289
- package/dist/components/NSTag.module.css +52 -52
- package/dist/components/NSTimeTable.module.css +6 -6
- package/dist/components/NSTimelineMonthly.module.css +71 -71
- package/dist/components/NSTitle.module.css +15 -15
- package/dist/formatter/DateFormatter.js.map +1 -1
- package/dist/formatter/DateTimeFormatter.js.map +1 -1
- package/dist/formatter/TimeFormatter.js.map +1 -1
- package/dist/pages/NSNotFoundPage.module.css +18 -18
- package/dist/pages/NSUpdating.module.css +35 -35
- package/dist/routing/NSRouterMaker.d.ts +0 -1
- package/dist/routing/Notifier.d.ts +0 -1
- package/dist/routing/Notifier.js.map +1 -1
- package/package.json +72 -72
- package/public/index.html +38 -38
- package/src/App.css +16 -16
- package/src/App.tsx +248 -235
- package/src/Color.tsx +10 -10
- package/src/CopyToClipboard.ts +6 -6
- package/src/Validator.ts +117 -117
- package/src/components/NSAccordion.module.css +4 -4
- package/src/components/NSAccordion.tsx +51 -51
- package/src/components/NSActionMenu.module.css +75 -75
- package/src/components/NSActionMenu.tsx +89 -89
- package/src/components/NSAssistantButton.module.css +130 -130
- package/src/components/NSAssistantButton.tsx +70 -70
- package/src/components/NSBarAction.module.css +87 -87
- package/src/components/NSBarAction.tsx +92 -92
- package/src/components/NSBarAlert.module.css +69 -69
- package/src/components/NSBarAlert.tsx +30 -30
- package/src/components/NSBarHeroBanner.module.css +42 -42
- package/src/components/NSBarHeroBanner.tsx +61 -61
- package/src/components/NSBarNotification.module.css +34 -34
- package/src/components/NSBarNotification.tsx +85 -85
- package/src/components/NSBarTitle.module.css +9 -9
- package/src/components/NSBarTitle.tsx +28 -28
- package/src/components/NSBox.module.css +124 -124
- package/src/components/NSBoxBoolean.module.css +70 -70
- package/src/components/NSBoxBoolean.tsx +116 -117
- package/src/components/NSBoxCombo.module.css +6 -6
- package/src/components/NSBoxCombo.tsx +147 -147
- package/src/components/NSBoxCopy.module.css +43 -43
- package/src/components/NSBoxCopy.tsx +41 -41
- package/src/components/NSBoxDate.module.css +42 -42
- package/src/components/NSBoxDate.tsx +86 -86
- package/src/components/NSBoxDateTime.module.css +43 -43
- package/src/components/NSBoxDateTime.tsx +87 -87
- package/src/components/NSBoxDouble.tsx +90 -90
- package/src/components/NSBoxDuration.tsx +90 -90
- package/src/components/NSBoxEmail.tsx +103 -103
- package/src/components/NSBoxEntity.module.css +25 -25
- package/src/components/NSBoxEntity.tsx +181 -181
- package/src/components/NSBoxEnum.tsx +55 -55
- package/src/components/NSBoxErrorNotifier.module.css +2 -2
- package/src/components/NSBoxErrorNotifier.tsx +32 -32
- package/src/components/NSBoxFile.module.css +4 -4
- package/src/components/NSBoxFile.tsx +124 -124
- package/src/components/NSBoxIPV4.tsx +95 -95
- package/src/components/NSBoxIPV6.tsx +92 -92
- package/src/components/NSBoxInteger.tsx +92 -92
- package/src/components/NSBoxLabel.module.css +14 -14
- package/src/components/NSBoxLabel.tsx +29 -29
- package/src/components/NSBoxPassword.tsx +88 -88
- package/src/components/NSBoxPhone.tsx +96 -96
- package/src/components/NSBoxPrice.tsx +90 -90
- package/src/components/NSBoxRadio.module.css +65 -65
- package/src/components/NSBoxRadio.tsx +105 -105
- package/src/components/NSBoxSearch.tsx +105 -105
- package/src/components/NSBoxString.tsx +104 -104
- package/src/components/NSBoxTextArea.module.css +78 -78
- package/src/components/NSBoxTextArea.tsx +110 -110
- package/src/components/NSBoxTime.tsx +90 -90
- package/src/components/NSButton.module.css +28 -28
- package/src/components/NSButton.tsx +23 -23
- package/src/components/NSButtonBlue.module.css +4 -4
- package/src/components/NSButtonBlue.tsx +11 -11
- package/src/components/NSButtonGreen.module.css +4 -4
- package/src/components/NSButtonGreen.tsx +10 -10
- package/src/components/NSButtonRed.module.css +4 -4
- package/src/components/NSButtonRed.tsx +10 -10
- package/src/components/NSCard.module.css +108 -108
- package/src/components/NSCard.tsx +71 -71
- package/src/components/NSCardScreenshot.module.css +41 -41
- package/src/components/NSCardScreenshot.tsx +31 -31
- package/src/components/NSChartColumn.module.css +7 -7
- package/src/components/NSChartColumn.tsx +106 -106
- package/src/components/NSChartPie.tsx +104 -104
- package/src/components/NSChartRange.tsx +16 -16
- package/src/components/NSChartTable.module.css +21 -21
- package/src/components/NSChartTable.tsx +94 -94
- package/src/components/NSCopy.tsx +66 -66
- package/src/components/NSDeleteDialog.tsx +26 -26
- package/src/components/NSDialog.module.css +102 -102
- package/src/components/NSDialog.tsx +47 -47
- package/src/components/NSDownTimer.module.css +62 -62
- package/src/components/NSDownTimer.tsx +77 -77
- package/src/components/NSDownload.module.css +46 -46
- package/src/components/NSDownload.tsx +62 -62
- package/src/components/NSElectronicCard.module.css +60 -60
- package/src/components/NSElectronicCard.tsx +45 -45
- package/src/components/NSEntityBar.module.css +77 -77
- package/src/components/NSEntityBar.tsx +27 -27
- package/src/components/NSEntityCardBackground.module.css +27 -27
- package/src/components/NSEntityCardBackground.tsx +34 -34
- package/src/components/NSFilterBox.module.css +47 -47
- package/src/components/NSFilterBox.tsx +352 -352
- package/src/components/NSFilterBoxDialog.module.css +36 -36
- package/src/components/NSFilterBoxDialog.tsx +74 -74
- package/src/components/NSFilterItem.module.css +23 -23
- package/src/components/NSFilterItem.tsx +73 -73
- package/src/components/NSFooter.module.css +123 -123
- package/src/components/NSFooter.tsx +289 -289
- package/src/components/NSGroupedList.module.css +72 -72
- package/src/components/NSGroupedList.tsx +107 -107
- package/src/components/NSHeader.module.css +286 -286
- package/src/components/NSHeader.tsx +247 -247
- package/src/components/NSHeaderScreenshot.module.css +35 -35
- package/src/components/NSHeaderScreenshot.tsx +38 -38
- package/src/components/NSInfoDialog.tsx +36 -36
- package/src/components/NSLayout.module.css +13 -13
- package/src/components/NSLayout.tsx +107 -107
- package/src/components/NSLine.module.css +12 -12
- package/src/components/NSLine.tsx +15 -15
- package/src/components/NSLink.module.css +36 -36
- package/src/components/NSLink.tsx +25 -25
- package/src/components/NSLinkBlue.tsx +20 -20
- package/src/components/NSLinkGreen.tsx +5 -5
- package/src/components/NSLinkRed.tsx +5 -5
- package/src/components/NSLoading.module.css +31 -31
- package/src/components/NSLoading.tsx +19 -19
- package/src/components/NSNoData.module.css +8 -8
- package/src/components/NSNoData.tsx +24 -24
- package/src/components/NSPageSelectionModal.module.css +106 -106
- package/src/components/NSPageSelectionModal.tsx +227 -227
- package/src/components/NSPagination.module.css +101 -101
- package/src/components/NSPagination.tsx +191 -191
- package/src/components/NSPanel.module.css +46 -46
- package/src/components/NSPanel.tsx +19 -19
- package/src/components/NSProductList.tsx +43 -43
- package/src/components/NSRange.module.css +66 -66
- package/src/components/NSRange.tsx +82 -82
- package/src/components/NSRepeater.tsx +175 -175
- package/src/components/NSSection.module.css +10 -10
- package/src/components/NSSection.tsx +23 -23
- package/src/components/NSSectionBars.module.css +10 -10
- package/src/components/NSSectionBars.tsx +25 -25
- package/src/components/NSSectionCards.module.css +38 -38
- package/src/components/NSSectionCards.tsx +51 -51
- package/src/components/NSSectionTitle.tsx +21 -21
- package/src/components/NSSpace.tsx +28 -28
- package/src/components/NSTabPage.module.css +59 -59
- package/src/components/NSTabPage.tsx +53 -53
- package/src/components/NSTable.module.css +289 -289
- package/src/components/NSTable.tsx +424 -424
- package/src/components/NSTag.module.css +52 -52
- package/src/components/NSTag.tsx +73 -73
- package/src/components/NSTimeTable.module.css +6 -6
- package/src/components/NSTimeTable.tsx +49 -49
- package/src/components/NSTimelineMonthly.module.css +71 -71
- package/src/components/NSTimelineMonthly.tsx +42 -42
- package/src/components/NSTitle.module.css +15 -15
- package/src/components/NSTitle.tsx +19 -19
- package/src/formatter/BackColorFormatter.tsx +20 -20
- package/src/formatter/BaseColumnFormatter.ts +14 -14
- package/src/formatter/BooleanFormatter.ts +20 -20
- package/src/formatter/DateFormatter.ts +15 -15
- package/src/formatter/DateTimeFormatter.ts +15 -15
- package/src/formatter/DurationFormatter.ts +8 -8
- package/src/formatter/EmailFormatter.ts +8 -8
- package/src/formatter/EnumFormatter.ts +8 -8
- package/src/formatter/FloatFormatter.ts +8 -8
- package/src/formatter/ForeColorFormatter.tsx +20 -20
- package/src/formatter/ForeignIDFormatter.ts +8 -8
- package/src/formatter/IDFormatter.ts +8 -8
- package/src/formatter/IPFormatter.ts +8 -8
- package/src/formatter/IntegerFormatter.ts +8 -8
- package/src/formatter/JsonFormatter.ts +8 -8
- package/src/formatter/MoneyFormatter.ts +8 -8
- package/src/formatter/PhoneFormatter.ts +8 -8
- package/src/formatter/StringFormatter.ts +8 -8
- package/src/formatter/TimeFormatter.ts +16 -16
- package/src/formatter/UnknowFormatter.ts +8 -8
- package/src/index.tsx +7 -7
- package/src/main.ts +116 -116
- package/src/pages/NSNotFoundPage.module.css +18 -18
- package/src/pages/NSNotFoundPage.tsx +11 -11
- package/src/pages/NSUpdating.module.css +35 -35
- package/src/pages/NSUpdating.tsx +32 -32
- package/src/props/IBaseComponentProps.ts +8 -8
- package/src/props/IHeaderIconProps.ts +10 -10
- package/src/props/IHeaderProps.ts +7 -7
- package/src/props/IImageProps.ts +4 -4
- package/src/props/ILinkProps.ts +5 -5
- package/src/props/IValidationNumberProps.ts +4 -4
- package/src/props/IValidationProps.ts +7 -7
- package/src/props/IValidationRegexProps.ts +4 -4
- package/src/props/IValidationStringProps.ts +4 -4
- package/src/routing/INSRouterMaker.ts +6 -6
- package/src/routing/INSRouterProps.ts +5 -5
- package/src/routing/INSRouterState.ts +5 -5
- package/src/routing/NSRouterMaker.tsx +33 -33
- package/src/routing/Notifier.ts +79 -79
- package/tsconfig.json +43 -43
- package/dist/App.css +0 -17
- package/dist/components/NSCopyToClipboard.d.ts +0 -7
- package/dist/components/NSCopyToClipboard.js +0 -13
- package/dist/components/NSCopyToClipboard.js.map +0 -1
- package/dist/components/NSCopyToClipboard.module.css +0 -44
- package/dist/components/NSRadioButton.d.ts +0 -25
- package/dist/components/NSRadioButton.js +0 -49
- package/dist/components/NSRadioButton.js.map +0 -1
- package/dist/index.css +0 -6
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
.ns_messenger {
|
|
2
|
-
background-color: #fff;
|
|
3
|
-
padding: 12px 15px;
|
|
4
|
-
display: flex;
|
|
5
|
-
justify-content: space-between;
|
|
6
|
-
align-items: center;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.ns_gray {
|
|
10
|
-
border: 3px solid gray;
|
|
11
|
-
box-shadow: 1px 1px 8px 0px gray;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.ns_blue {
|
|
15
|
-
border: 3px solid blue;
|
|
16
|
-
box-shadow: 1px 1px 8px 0px blue;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.ns_green {
|
|
20
|
-
border: 3px solid rgba(112, 224, 0, 1);
|
|
21
|
-
box-shadow: 1px 1px 8px 0px rgba(112, 224, 0, 1);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.ns_yellow {
|
|
25
|
-
border: 3px solid yellow;
|
|
26
|
-
box-shadow: 1px 1px 8px 0px yellow;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.ns_red {
|
|
30
|
-
border: 3px solid red;
|
|
31
|
-
box-shadow: 1px 1px 8px 0px red;
|
|
32
|
-
}
|
|
33
|
-
.ns_exit_icon{
|
|
34
|
-
cursor: pointer;
|
|
1
|
+
.ns_messenger {
|
|
2
|
+
background-color: #fff;
|
|
3
|
+
padding: 12px 15px;
|
|
4
|
+
display: flex;
|
|
5
|
+
justify-content: space-between;
|
|
6
|
+
align-items: center;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.ns_gray {
|
|
10
|
+
border: 3px solid gray;
|
|
11
|
+
box-shadow: 1px 1px 8px 0px gray;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.ns_blue {
|
|
15
|
+
border: 3px solid blue;
|
|
16
|
+
box-shadow: 1px 1px 8px 0px blue;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.ns_green {
|
|
20
|
+
border: 3px solid rgba(112, 224, 0, 1);
|
|
21
|
+
box-shadow: 1px 1px 8px 0px rgba(112, 224, 0, 1);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.ns_yellow {
|
|
25
|
+
border: 3px solid yellow;
|
|
26
|
+
box-shadow: 1px 1px 8px 0px yellow;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.ns_red {
|
|
30
|
+
border: 3px solid red;
|
|
31
|
+
box-shadow: 1px 1px 8px 0px red;
|
|
32
|
+
}
|
|
33
|
+
.ns_exit_icon{
|
|
34
|
+
cursor: pointer;
|
|
35
35
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
.title {
|
|
2
|
-
text-align: center;
|
|
3
|
-
color: rgba(20, 27, 92, 1);
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.description {
|
|
7
|
-
text-align: center;
|
|
8
|
-
color: rgba(20, 27, 92, 1);
|
|
9
|
-
margin: 0px;
|
|
1
|
+
.title {
|
|
2
|
+
text-align: center;
|
|
3
|
+
color: rgba(20, 27, 92, 1);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.description {
|
|
7
|
+
text-align: center;
|
|
8
|
+
color: rgba(20, 27, 92, 1);
|
|
9
|
+
margin: 0px;
|
|
10
10
|
}
|
|
@@ -1,125 +1,125 @@
|
|
|
1
|
-
.ns_input_parent {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
width: fit-content;
|
|
5
|
-
color: #141B5C;
|
|
6
|
-
justify-content: center;
|
|
7
|
-
width: 272px;
|
|
8
|
-
max-width: 100%;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.ns_input {
|
|
12
|
-
border-radius: 8px;
|
|
13
|
-
padding: 10px 48px 10px 12px;
|
|
14
|
-
font-size: 16px;
|
|
15
|
-
font-weight: 400;
|
|
16
|
-
border: 1px solid rgba(0, 0, 0, 1) !important;
|
|
17
|
-
height: 48px;
|
|
18
|
-
width: 272px
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.ns_input li {
|
|
22
|
-
color: #000 !important
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.ns_input_title {
|
|
26
|
-
font-size: 16px;
|
|
27
|
-
font-weight: 400;
|
|
28
|
-
display: flex;
|
|
29
|
-
align-items: center;
|
|
30
|
-
flex-direction: row;
|
|
31
|
-
gap: 4px;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
@media only screen and (min-width: 380px) {
|
|
35
|
-
.ns_input {
|
|
36
|
-
max-width: 272px;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
/*Start Input phone*/
|
|
41
|
-
.ns_input_phone_parent input {
|
|
42
|
-
width: 100% !important;
|
|
43
|
-
height: 48px !important;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
@media only screen and (min-width: 380px) {
|
|
47
|
-
.ns_input_phone_parent input {
|
|
48
|
-
width: 272px !important;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
/*End Input phone*/
|
|
53
|
-
|
|
54
|
-
.ns_btn_box {
|
|
55
|
-
opacity: 0;
|
|
56
|
-
visibility: hidden;
|
|
57
|
-
color: #000;
|
|
58
|
-
border: none;
|
|
59
|
-
cursor: pointer;
|
|
60
|
-
width: max-content;
|
|
61
|
-
background-color: transparent;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.ns_input_parent:hover .ns_btn_box {
|
|
65
|
-
opacity: 1;
|
|
66
|
-
visibility: visible;
|
|
67
|
-
transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.ns_btn_box img {
|
|
71
|
-
position: inherit;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.ns_full_screen {
|
|
75
|
-
position: fixed;
|
|
76
|
-
top: 0;
|
|
77
|
-
left: 0;
|
|
78
|
-
width: 100%;
|
|
79
|
-
height: 100%;
|
|
80
|
-
background: #0101015c;
|
|
81
|
-
z-index: 1000;
|
|
82
|
-
padding: 5%;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.ns_full_screen input {
|
|
86
|
-
width: 100% !important;
|
|
87
|
-
max-width: 100%;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.ns_input_modal_full {
|
|
91
|
-
position: fixed;
|
|
92
|
-
top: 0;
|
|
93
|
-
left: 0;
|
|
94
|
-
background-color: rgba(0, 0, 0, 0.6);
|
|
95
|
-
height: 100%;
|
|
96
|
-
width: 100%;
|
|
97
|
-
z-index: 15;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.ns_input_modal_full_screen textarea {
|
|
101
|
-
height: 80%;
|
|
102
|
-
width: 80%;
|
|
103
|
-
z-index: 15;
|
|
104
|
-
position: fixed;
|
|
105
|
-
top: 10%;
|
|
106
|
-
left: 10%;
|
|
107
|
-
text-align: left;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.ns_input_modal_full_screen img {
|
|
111
|
-
position: fixed;
|
|
112
|
-
top: 5%;
|
|
113
|
-
right: 10%;
|
|
114
|
-
z-index: 20;
|
|
115
|
-
transition: all 0.3s ease-in-out;
|
|
116
|
-
cursor: pointer;
|
|
117
|
-
background-color: white;
|
|
118
|
-
border-radius: 50%;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.ns_input_modal_full_screen img:hover {
|
|
122
|
-
scale: 1.2;
|
|
123
|
-
rotate: 180deg;
|
|
124
|
-
background-color: red;
|
|
1
|
+
.ns_input_parent {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
width: fit-content;
|
|
5
|
+
color: #141B5C;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
width: 272px;
|
|
8
|
+
max-width: 100%;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.ns_input {
|
|
12
|
+
border-radius: 8px;
|
|
13
|
+
padding: 10px 48px 10px 12px;
|
|
14
|
+
font-size: 16px;
|
|
15
|
+
font-weight: 400;
|
|
16
|
+
border: 1px solid rgba(0, 0, 0, 1) !important;
|
|
17
|
+
height: 48px;
|
|
18
|
+
width: 272px
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.ns_input li {
|
|
22
|
+
color: #000 !important
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.ns_input_title {
|
|
26
|
+
font-size: 16px;
|
|
27
|
+
font-weight: 400;
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
flex-direction: row;
|
|
31
|
+
gap: 4px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@media only screen and (min-width: 380px) {
|
|
35
|
+
.ns_input {
|
|
36
|
+
max-width: 272px;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/*Start Input phone*/
|
|
41
|
+
.ns_input_phone_parent input {
|
|
42
|
+
width: 100% !important;
|
|
43
|
+
height: 48px !important;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@media only screen and (min-width: 380px) {
|
|
47
|
+
.ns_input_phone_parent input {
|
|
48
|
+
width: 272px !important;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/*End Input phone*/
|
|
53
|
+
|
|
54
|
+
.ns_btn_box {
|
|
55
|
+
opacity: 0;
|
|
56
|
+
visibility: hidden;
|
|
57
|
+
color: #000;
|
|
58
|
+
border: none;
|
|
59
|
+
cursor: pointer;
|
|
60
|
+
width: max-content;
|
|
61
|
+
background-color: transparent;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.ns_input_parent:hover .ns_btn_box {
|
|
65
|
+
opacity: 1;
|
|
66
|
+
visibility: visible;
|
|
67
|
+
transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.ns_btn_box img {
|
|
71
|
+
position: inherit;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.ns_full_screen {
|
|
75
|
+
position: fixed;
|
|
76
|
+
top: 0;
|
|
77
|
+
left: 0;
|
|
78
|
+
width: 100%;
|
|
79
|
+
height: 100%;
|
|
80
|
+
background: #0101015c;
|
|
81
|
+
z-index: 1000;
|
|
82
|
+
padding: 5%;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.ns_full_screen input {
|
|
86
|
+
width: 100% !important;
|
|
87
|
+
max-width: 100%;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.ns_input_modal_full {
|
|
91
|
+
position: fixed;
|
|
92
|
+
top: 0;
|
|
93
|
+
left: 0;
|
|
94
|
+
background-color: rgba(0, 0, 0, 0.6);
|
|
95
|
+
height: 100%;
|
|
96
|
+
width: 100%;
|
|
97
|
+
z-index: 15;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.ns_input_modal_full_screen textarea {
|
|
101
|
+
height: 80%;
|
|
102
|
+
width: 80%;
|
|
103
|
+
z-index: 15;
|
|
104
|
+
position: fixed;
|
|
105
|
+
top: 10%;
|
|
106
|
+
left: 10%;
|
|
107
|
+
text-align: left;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.ns_input_modal_full_screen img {
|
|
111
|
+
position: fixed;
|
|
112
|
+
top: 5%;
|
|
113
|
+
right: 10%;
|
|
114
|
+
z-index: 20;
|
|
115
|
+
transition: all 0.3s ease-in-out;
|
|
116
|
+
cursor: pointer;
|
|
117
|
+
background-color: white;
|
|
118
|
+
border-radius: 50%;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.ns_input_modal_full_screen img:hover {
|
|
122
|
+
scale: 1.2;
|
|
123
|
+
rotate: 180deg;
|
|
124
|
+
background-color: red;
|
|
125
125
|
}
|
|
@@ -9,7 +9,7 @@ export interface INSBoxBooleanProps extends IBaseComponentProps, IValidationProp
|
|
|
9
9
|
indeterminate?: boolean;
|
|
10
10
|
onChanged?: (e: NSBoxBoolean) => void;
|
|
11
11
|
onClicked?: (e: NSBoxBoolean) => void;
|
|
12
|
-
checked?: boolean;
|
|
12
|
+
checked?: (boolean | null);
|
|
13
13
|
}
|
|
14
14
|
export interface INSBoxBooelanState {
|
|
15
15
|
value: boolean | null;
|
|
@@ -17,12 +17,12 @@ export interface INSBoxBooelanState {
|
|
|
17
17
|
}
|
|
18
18
|
export declare class NSBoxBoolean extends React.Component<INSBoxBooleanProps, INSBoxBooelanState> {
|
|
19
19
|
constructor(props: INSBoxBooleanProps);
|
|
20
|
+
private getInterpretedValue;
|
|
20
21
|
getError(): string | null;
|
|
21
22
|
getValue(checkError?: boolean): boolean;
|
|
22
23
|
setValue(value: boolean): void;
|
|
23
24
|
getValueOrNull(): boolean | null;
|
|
24
25
|
setValueOrNull(value: boolean | null): void;
|
|
25
26
|
private onChanged;
|
|
26
|
-
componentDidUpdate(): void;
|
|
27
27
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
28
28
|
}
|
|
@@ -8,10 +8,16 @@ export class NSBoxBoolean extends React.Component {
|
|
|
8
8
|
var _a, _b;
|
|
9
9
|
super(props);
|
|
10
10
|
this.state = { value: (_b = (_a = props.checked) !== null && _a !== void 0 ? _a : props.defaultValue) !== null && _b !== void 0 ? _b : false };
|
|
11
|
+
this.getInterpretedValue = this.getInterpretedValue.bind(this);
|
|
11
12
|
this.getValue = this.getValue.bind(this);
|
|
12
13
|
this.setValue = this.setValue.bind(this);
|
|
13
14
|
this.onChanged = this.onChanged.bind(this);
|
|
14
15
|
}
|
|
16
|
+
getInterpretedValue() {
|
|
17
|
+
if (this.props.checked !== undefined)
|
|
18
|
+
return this.props.checked;
|
|
19
|
+
return this.state.value;
|
|
20
|
+
}
|
|
15
21
|
getError() {
|
|
16
22
|
return null;
|
|
17
23
|
}
|
|
@@ -26,7 +32,7 @@ export class NSBoxBoolean extends React.Component {
|
|
|
26
32
|
throw new Error(error);
|
|
27
33
|
}
|
|
28
34
|
}
|
|
29
|
-
return (_a = this.
|
|
35
|
+
return (_a = this.getInterpretedValue()) !== null && _a !== void 0 ? _a : false;
|
|
30
36
|
}
|
|
31
37
|
setValue(value) {
|
|
32
38
|
this.setState({ value }, () => {
|
|
@@ -40,7 +46,7 @@ export class NSBoxBoolean extends React.Component {
|
|
|
40
46
|
this.setState({ error });
|
|
41
47
|
throw new Error(error);
|
|
42
48
|
}
|
|
43
|
-
return this.
|
|
49
|
+
return this.getInterpretedValue();
|
|
44
50
|
}
|
|
45
51
|
setValueOrNull(value) {
|
|
46
52
|
this.setState({ value }, () => {
|
|
@@ -51,14 +57,9 @@ export class NSBoxBoolean extends React.Component {
|
|
|
51
57
|
onChanged(e) {
|
|
52
58
|
this.setValue(e.target.checked);
|
|
53
59
|
}
|
|
54
|
-
componentDidUpdate() {
|
|
55
|
-
if (this.props.checked != null)
|
|
56
|
-
if (this.props.checked != this.state.value)
|
|
57
|
-
this.setValue(this.props.checked);
|
|
58
|
-
}
|
|
59
60
|
render() {
|
|
60
61
|
var _a, _b;
|
|
61
|
-
return (_jsxs(_Fragment, { children: [_jsx("div", { id: this.props.id, className: `${Styles.ns_input_parent} ${(_a = this.props.classList) === null || _a === void 0 ? void 0 : _a.join(" ")}`, style: this.props.style, children: _jsxs("label", { className: `ns-font-16-normal ${Styles.ns_checkbox_parent}`, htmlFor: this.props.name, children: [_jsx("input", { type: "checkbox", name: this.props.name,
|
|
62
|
+
return (_jsxs(_Fragment, { children: [_jsx("div", { id: this.props.id, className: `${Styles.ns_input_parent} ${(_a = this.props.classList) === null || _a === void 0 ? void 0 : _a.join(" ")}`, style: this.props.style, children: _jsxs("label", { className: `ns-font-16-normal ${Styles.ns_checkbox_parent}`, htmlFor: this.props.name, children: [_jsx("input", { id: this.props.name, type: "checkbox", name: this.props.name, className: `${Styles.ns_input} ${this.getInterpretedValue() === null ? Styles.ns_indeterminate : ""}`, checked: (_b = this.getInterpretedValue()) !== null && _b !== void 0 ? _b : false, onChange: this.onChanged, onClick: () => this.props.onClicked }), _jsxs("span", { className: Styles.ns_input_title, children: [" ", this.props.required && _jsx("span", { style: { color: "red" }, children: "*" }), " "] }), this.props.title] }) }), _jsx(NSBoxErrorNotifier, { error: this.state.error, clearError: () => this.setState({ error: "" }) })] }));
|
|
62
63
|
}
|
|
63
64
|
}
|
|
64
65
|
//# sourceMappingURL=NSBoxBoolean.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSBoxBoolean.js","sourceRoot":"","sources":["../../src/components/NSBoxBoolean.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,MAAM,MAAM,2BAA2B,CAAC;AAI/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAmB1D,MAAM,OAAO,YAAa,SAAQ,KAAK,CAAC,SAAiD;IAExF,YAAY,KAAyB;;QAEpC,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,KAAK,GAAG,EAAE,KAAK,EAAE,MAAA,MAAA,KAAK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CAAC,KAAK,IACV,GACH,EACN,KAAC,kBAAkB,IAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,GAAI,IAC7F,CACH,CAAC;IACH,CAAC;CACD"}
|
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
.ns_input_parent {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
color: #141B5C;
|
|
5
|
-
position: relative;
|
|
6
|
-
justify-content: center;
|
|
7
|
-
width: 100%;
|
|
8
|
-
cursor: pointer;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.ns_input_title {
|
|
12
|
-
font-size: 16px;
|
|
13
|
-
font-weight: 400;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.ns_checkbox_parent {
|
|
17
|
-
width: 100%;
|
|
18
|
-
height: 48px;
|
|
19
|
-
padding: 10px 12px 10px 12px;
|
|
20
|
-
background-color: #fff;
|
|
21
|
-
color: #141B5C;
|
|
22
|
-
border-radius: 8px;
|
|
23
|
-
border: 1px solid rgba(0, 0, 0, 1) !important;
|
|
24
|
-
font-size: 16px;
|
|
25
|
-
font-weight: 400;
|
|
26
|
-
font-family: inherit;
|
|
27
|
-
cursor: pointer;
|
|
28
|
-
position: relative;
|
|
29
|
-
display: flex;
|
|
30
|
-
flex-direction: row;
|
|
31
|
-
justify-content: left;
|
|
32
|
-
align-items: center;
|
|
33
|
-
gap: 4px;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.ns_input {
|
|
37
|
-
width: 24px;
|
|
38
|
-
height: 24px;
|
|
39
|
-
cursor: pointer;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.ns_input:checked {
|
|
43
|
-
accent-color: #141B5C;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
@media only screen and (min-width: 380px) {
|
|
47
|
-
.ns_input_parent {
|
|
48
|
-
max-width: 272px;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.ns_indeterminate:indeterminate {
|
|
53
|
-
border: 1px solid rgba(255, 148, 50, 1);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.ns_indeterminate {
|
|
57
|
-
position: relative;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.ns_indeterminate::after {
|
|
61
|
-
content: "-";
|
|
62
|
-
display: block;
|
|
63
|
-
position: absolute;
|
|
64
|
-
width: 100%;
|
|
65
|
-
height: 100%;
|
|
66
|
-
top: 0;
|
|
67
|
-
left: 0;
|
|
68
|
-
background: #fff;
|
|
69
|
-
border: 5px solid #141B5C;
|
|
70
|
-
color: rgb(255 255 255);
|
|
1
|
+
.ns_input_parent {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
color: #141B5C;
|
|
5
|
+
position: relative;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
width: 100%;
|
|
8
|
+
cursor: pointer;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.ns_input_title {
|
|
12
|
+
font-size: 16px;
|
|
13
|
+
font-weight: 400;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.ns_checkbox_parent {
|
|
17
|
+
width: 100%;
|
|
18
|
+
height: 48px;
|
|
19
|
+
padding: 10px 12px 10px 12px;
|
|
20
|
+
background-color: #fff;
|
|
21
|
+
color: #141B5C;
|
|
22
|
+
border-radius: 8px;
|
|
23
|
+
border: 1px solid rgba(0, 0, 0, 1) !important;
|
|
24
|
+
font-size: 16px;
|
|
25
|
+
font-weight: 400;
|
|
26
|
+
font-family: inherit;
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
position: relative;
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-direction: row;
|
|
31
|
+
justify-content: left;
|
|
32
|
+
align-items: center;
|
|
33
|
+
gap: 4px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.ns_input {
|
|
37
|
+
width: 24px;
|
|
38
|
+
height: 24px;
|
|
39
|
+
cursor: pointer;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.ns_input:checked {
|
|
43
|
+
accent-color: #141B5C;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@media only screen and (min-width: 380px) {
|
|
47
|
+
.ns_input_parent {
|
|
48
|
+
max-width: 272px;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.ns_indeterminate:indeterminate {
|
|
53
|
+
border: 1px solid rgba(255, 148, 50, 1);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.ns_indeterminate {
|
|
57
|
+
position: relative;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.ns_indeterminate::after {
|
|
61
|
+
content: "-";
|
|
62
|
+
display: block;
|
|
63
|
+
position: absolute;
|
|
64
|
+
width: 100%;
|
|
65
|
+
height: 100%;
|
|
66
|
+
top: 0;
|
|
67
|
+
left: 0;
|
|
68
|
+
background: #fff;
|
|
69
|
+
border: 5px solid #141B5C;
|
|
70
|
+
color: rgb(255 255 255);
|
|
71
71
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSBoxCombo.js","sourceRoot":"","sources":["../../src/components/NSBoxCombo.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,MAAM,MAAM,yBAAyB,CAAC;AAC7C,OAAO,UAAU,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAGrC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AA2B1D,MAAM,OAAO,UAAW,SAAQ,KAAK,CAAC,SAA6C;IAElF,YAAY,KAAuB;Q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AAG,EAAC,gBAAgB,GAAG,GACpI,EACF,KAAC,kBAAkB,IAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,GAAI,IAC1F,GACJ,CACH,CAAC;IACH,CAAC;CACD"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
.ns_input_select {
|
|
2
|
-
height: 48px;
|
|
3
|
-
border: 1px solid #000 !important;
|
|
4
|
-
border-radius: 8px;
|
|
5
|
-
overflow: hidden;
|
|
6
|
-
width: 100%;
|
|
1
|
+
.ns_input_select {
|
|
2
|
+
height: 48px;
|
|
3
|
+
border: 1px solid #000 !important;
|
|
4
|
+
border-radius: 8px;
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
width: 100%;
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSBoxCopy.js","sourceRoot":"","sources":["../../src/components/NSBoxCopy.tsx"],"names":[],"mappings":";AAGA,OAAO,MAAM,MAAM,wBAAwB,CAAC;AAQ5C,MAAM,UAAU,SAAS,CAAC,KAAsB;;IAE/C,SAAS,MAAM;QAEd,IAAI,SAAS,CAAC,SAAS,IAAI,SAAS,CAAC,SAAS,CAAC,SAAS,EACxD;
|
|
1
|
+
{"version":3,"file":"NSBoxCopy.js","sourceRoot":"","sources":["../../src/components/NSBoxCopy.tsx"],"names":[],"mappings":";AAGA,OAAO,MAAM,MAAM,wBAAwB,CAAC;AAQ5C,MAAM,UAAU,SAAS,CAAC,KAAsB;;IAE/C,SAAS,MAAM;QAEd,IAAI,SAAS,CAAC,SAAS,IAAI,SAAS,CAAC,SAAS,CAAC,SAAS,EACxD,CAAC;YACA,SAAS,CAAC,SAAS,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;YAC3C,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,GAAG,+BAA+B,CAAC,CAAC;QACzE,CAAC;IACF,CAAC;IACD,OAAO,CACN,cAAK,EAAE,EAAE,KAAK,CAAC,EAAE,EAChB,SAAS,EAAE,GAAG,MAAM,CAAC,OAAO,IAAI,MAAA,KAAK,CAAC,SAAS,0CAAE,IAAI,CAAC,GAAG,CAAC,EAAE,EAC5D,KAAK,EAAE,KAAK,CAAC,KAAK,YAElB,eAAK,SAAS,EAAE,MAAM,CAAC,aAAa,aAElC,KAAK,CAAC,KAAK,IAAI,YAAG,SAAS,EAAC,KAAK,YAAE,KAAK,CAAC,KAAK,GAAK,EAEpD,cACC,SAAS,EAAE,MAAM,CAAC,YAAY,EAC9B,GAAG,EAAC,2DAA2D,EAC/D,GAAG,EAAC,WAAW,EACf,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,OAAO,EAAE,MAAM,GACd,IACG,GACD,CACN,CAAC;AACH,CAAC"}
|