namirasoft-site-react 1.4.164 → 1.4.166
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 +72 -72
- package/dist/App.js +35 -36
- package/dist/App.js.map +1 -1
- package/dist/NSBoxBuilder.d.ts +52 -0
- package/dist/NSBoxBuilder.js +306 -0
- package/dist/NSBoxBuilder.js.map +1 -0
- package/dist/Validator.d.ts +1 -1
- package/dist/Validator.js +11 -1
- package/dist/Validator.js.map +1 -1
- package/dist/components/INSBox.d.ts +6 -0
- package/dist/components/INSBox.js +2 -0
- package/dist/components/INSBox.js.map +1 -0
- package/dist/components/NSBarAction.module.css +82 -82
- package/dist/components/NSBarAlert.module.css +79 -79
- package/dist/components/NSBarNotification.module.css +34 -34
- package/dist/components/NSBarTitle.module.css +9 -9
- package/dist/components/NSBox.js.map +1 -1
- package/dist/components/NSBox.module.css +50 -50
- package/dist/components/NSBoxBaseCombo.d.ts +13 -10
- package/dist/components/NSBoxBaseCombo.js +95 -62
- package/dist/components/NSBoxBaseCombo.js.map +1 -1
- package/dist/components/NSBoxBaseCombo.module.css +6 -6
- package/dist/components/NSBoxBaseLayout.d.ts +1 -0
- package/dist/components/NSBoxBaseLayout.js.map +1 -1
- package/dist/components/NSBoxBoolean.d.ts +11 -10
- package/dist/components/NSBoxBoolean.js +28 -24
- package/dist/components/NSBoxBoolean.js.map +1 -1
- package/dist/components/NSBoxBoolean.module.css +67 -67
- package/dist/components/NSBoxBooleans.js +3 -3
- package/dist/components/NSBoxBooleans.js.map +1 -1
- package/dist/components/NSBoxColor.d.ts +20 -0
- package/dist/components/NSBoxColor.js +48 -0
- package/dist/components/NSBoxColor.js.map +1 -0
- package/dist/components/NSBoxCombo.d.ts +10 -5
- package/dist/components/NSBoxCombo.js +29 -8
- package/dist/components/NSBoxCombo.js.map +1 -1
- package/dist/components/NSBoxDate.d.ts +6 -4
- package/dist/components/NSBoxDate.js +9 -4
- package/dist/components/NSBoxDate.js.map +1 -1
- package/dist/components/NSBoxDate.module.css +4 -4
- package/dist/components/NSBoxDateTime.d.ts +6 -5
- package/dist/components/NSBoxDateTime.js +11 -9
- package/dist/components/NSBoxDateTime.js.map +1 -1
- package/dist/components/NSBoxDateTime.module.css +4 -4
- package/dist/components/NSBoxDouble.d.ts +8 -6
- package/dist/components/NSBoxDouble.js +10 -9
- package/dist/components/NSBoxDouble.js.map +1 -1
- package/dist/components/NSBoxDuration.d.ts +6 -5
- package/dist/components/NSBoxDuration.js +10 -9
- package/dist/components/NSBoxDuration.js.map +1 -1
- package/dist/components/NSBoxDuration.module.css +4 -4
- package/dist/components/NSBoxDynamic.d.ts +21 -0
- package/dist/components/NSBoxDynamic.js +36 -0
- package/dist/components/NSBoxDynamic.js.map +1 -0
- package/dist/components/NSBoxEmail.d.ts +6 -5
- package/dist/components/NSBoxEmail.js +15 -13
- package/dist/components/NSBoxEmail.js.map +1 -1
- package/dist/components/NSBoxEntity.d.ts +10 -5
- package/dist/components/NSBoxEntity.js +29 -8
- package/dist/components/NSBoxEntity.js.map +1 -1
- package/dist/components/NSBoxEnum.d.ts +12 -5
- package/dist/components/NSBoxEnum.js +39 -10
- package/dist/components/NSBoxEnum.js.map +1 -1
- package/dist/components/NSBoxFile.d.ts +0 -1
- package/dist/components/NSBoxFile.js +0 -4
- package/dist/components/NSBoxFile.js.map +1 -1
- package/dist/components/NSBoxFile.module.css +10 -10
- package/dist/components/NSBoxFilePath.d.ts +20 -0
- package/dist/components/NSBoxFilePath.js +48 -0
- package/dist/components/NSBoxFilePath.js.map +1 -0
- package/dist/components/NSBoxFont.d.ts +20 -0
- package/dist/components/NSBoxFont.js +48 -0
- package/dist/components/NSBoxFont.js.map +1 -0
- package/dist/components/NSBoxIPV4.d.ts +6 -5
- package/dist/components/NSBoxIPV4.js +10 -9
- package/dist/components/NSBoxIPV4.js.map +1 -1
- package/dist/components/NSBoxIPV4Range.d.ts +20 -0
- package/dist/components/NSBoxIPV4Range.js +48 -0
- package/dist/components/NSBoxIPV4Range.js.map +1 -0
- package/dist/components/NSBoxIPV6.d.ts +6 -5
- package/dist/components/NSBoxIPV6.js +10 -9
- package/dist/components/NSBoxIPV6.js.map +1 -1
- package/dist/components/NSBoxIPV6Range.d.ts +20 -0
- package/dist/components/NSBoxIPV6Range.js +48 -0
- package/dist/components/NSBoxIPV6Range.js.map +1 -0
- package/dist/components/NSBoxInteger.d.ts +6 -5
- package/dist/components/NSBoxInteger.js +10 -9
- package/dist/components/NSBoxInteger.js.map +1 -1
- package/dist/components/NSBoxMoney.d.ts +5 -3
- package/dist/components/NSBoxMoney.js +9 -8
- package/dist/components/NSBoxMoney.js.map +1 -1
- package/dist/components/NSBoxPassword.d.ts +6 -5
- package/dist/components/NSBoxPassword.js +10 -9
- package/dist/components/NSBoxPassword.js.map +1 -1
- package/dist/components/NSBoxPhone.d.ts +6 -4
- package/dist/components/NSBoxPhone.js +9 -3
- package/dist/components/NSBoxPhone.js.map +1 -1
- package/dist/components/NSBoxPhone.module.css +35 -35
- package/dist/components/NSBoxRadio.d.ts +3 -2
- package/dist/components/NSBoxRadio.js +8 -8
- package/dist/components/NSBoxRadio.js.map +1 -1
- package/dist/components/NSBoxRadio.module.css +33 -33
- package/dist/components/NSBoxSearch.d.ts +6 -5
- package/dist/components/NSBoxSearch.js +10 -9
- package/dist/components/NSBoxSearch.js.map +1 -1
- package/dist/components/NSBoxString.d.ts +6 -5
- package/dist/components/NSBoxString.js +10 -9
- package/dist/components/NSBoxString.js.map +1 -1
- package/dist/components/NSBoxTextArea.d.ts +6 -5
- package/dist/components/NSBoxTextArea.js +10 -18
- package/dist/components/NSBoxTextArea.js.map +1 -1
- package/dist/components/NSBoxTextArea.module.css +12 -12
- package/dist/components/NSBoxTime.d.ts +6 -4
- package/dist/components/NSBoxTime.js +10 -5
- package/dist/components/NSBoxTime.js.map +1 -1
- package/dist/components/NSBoxTime.module.css +4 -4
- package/dist/components/NSBoxTimeZone.d.ts +20 -0
- package/dist/components/NSBoxTimeZone.js +48 -0
- package/dist/components/NSBoxTimeZone.js.map +1 -0
- package/dist/components/NSBoxURL.d.ts +20 -0
- package/dist/components/NSBoxURL.js +48 -0
- package/dist/components/NSBoxURL.js.map +1 -0
- package/dist/components/NSBoxVersion.d.ts +20 -0
- package/dist/components/NSBoxVersion.js +48 -0
- package/dist/components/NSBoxVersion.js.map +1 -0
- package/dist/components/NSButton.module.css +57 -57
- 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 +114 -114
- 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/NSColumn.module.css +16 -16
- package/dist/components/NSCopyBox.module.css +39 -39
- package/dist/components/NSDialog.module.css +110 -110
- package/dist/components/NSDialogPageSelection.module.css +103 -103
- package/dist/components/NSDownTimer.module.css +55 -55
- package/dist/components/NSDownload.module.css +46 -46
- package/dist/components/NSElectronicCard.module.css +60 -60
- package/dist/components/NSEntityCardBackground.module.css +27 -27
- package/dist/components/NSFilterBox.js +4 -2
- package/dist/components/NSFilterBox.js.map +1 -1
- package/dist/components/NSFilterBox.module.css +56 -56
- package/dist/components/NSFilterItem.module.css +25 -25
- package/dist/components/NSFooter.module.css +123 -123
- package/dist/components/NSHeader.module.css +291 -291
- package/dist/components/NSHeaderScreenshot.module.css +35 -35
- package/dist/components/NSLabel.module.css +15 -15
- package/dist/components/NSLabelErrorNotifier.module.css +2 -2
- package/dist/components/NSLayout.module.css +14 -14
- package/dist/components/NSLine.module.css +12 -12
- package/dist/components/NSLink.module.css +36 -36
- package/dist/components/NSListGrouped.module.css +69 -69
- package/dist/components/NSLoading.module.css +30 -30
- package/dist/components/NSMenuAction.js +2 -2
- package/dist/components/NSMenuAction.module.css +87 -87
- package/dist/components/NSMenuButton.d.ts +6 -2
- package/dist/components/NSMenuButton.js +14 -6
- package/dist/components/NSMenuButton.js.map +1 -1
- package/dist/components/NSMenuButton.module.css +44 -44
- package/dist/components/NSNoData.module.css +9 -9
- package/dist/components/NSPagination.js +2 -2
- package/dist/components/NSPagination.js.map +1 -1
- package/dist/components/NSPagination.module.css +85 -85
- package/dist/components/NSPanel.module.css +18 -18
- package/dist/components/NSPanelAccordion.module.css +4 -4
- package/dist/components/NSRange.module.css +66 -66
- package/dist/components/NSRepeater.d.ts +12 -6
- package/dist/components/NSRepeater.js +59 -30
- package/dist/components/NSRepeater.js.map +1 -1
- package/dist/components/NSRow.module.css +17 -17
- package/dist/components/NSSection.module.css +4 -4
- package/dist/components/NSSectionCards.module.css +38 -38
- package/dist/components/NSSectionTiles.module.css +10 -10
- package/dist/components/NSTabPage.module.css +59 -59
- package/dist/components/NSTable.d.ts +1 -1
- package/dist/components/NSTable.js +8 -4
- package/dist/components/NSTable.js.map +1 -1
- package/dist/components/NSTable.module.css +263 -263
- package/dist/components/NSTag.module.css +52 -52
- package/dist/components/NSTile.module.css +76 -76
- package/dist/components/NSTimelineMonthly.module.css +71 -71
- package/dist/components/NSTitle.module.css +15 -15
- package/dist/main.d.ts +1 -0
- package/dist/main.js +1 -0
- package/dist/main.js.map +1 -1
- package/dist/pages/NSNotFoundPage.module.css +17 -17
- package/dist/pages/NSUpdating.module.css +35 -35
- package/dist/props/IValidationPrecisionProps.d.ts +3 -0
- package/dist/props/IValidationPrecisionProps.js +2 -0
- package/dist/props/IValidationPrecisionProps.js.map +1 -0
- package/dist/props/IValidationProps.d.ts +2 -0
- package/package.json +76 -76
- package/public/index.html +38 -38
- package/src/App.css +33 -33
- package/src/App.tsx +107 -129
- package/src/Color.tsx +10 -10
- package/src/CopyToClipboard.ts +6 -6
- package/src/NSBoxBuilder.tsx +829 -0
- package/src/Validator.ts +147 -135
- package/src/components/INSBox.tsx +7 -0
- package/src/components/NSBarAction.module.css +82 -82
- package/src/components/NSBarAction.tsx +85 -85
- package/src/components/NSBarAlert.module.css +79 -79
- package/src/components/NSBarAlert.tsx +31 -31
- package/src/components/NSBarNotification.module.css +34 -34
- package/src/components/NSBarNotification.tsx +89 -89
- package/src/components/NSBarTitle.module.css +9 -9
- package/src/components/NSBarTitle.tsx +29 -29
- package/src/components/NSBox.module.css +50 -50
- package/src/components/NSBox.tsx +19 -18
- package/src/components/NSBoxBaseCombo.module.css +6 -6
- package/src/components/NSBoxBaseCombo.tsx +305 -263
- package/src/components/NSBoxBaseLayout.tsx +83 -82
- package/src/components/NSBoxBoolean.module.css +67 -67
- package/src/components/NSBoxBoolean.tsx +120 -115
- package/src/components/NSBoxBooleans.tsx +163 -164
- package/src/components/NSBoxColor.tsx +92 -0
- package/src/components/NSBoxCombo.tsx +86 -63
- package/src/components/NSBoxDate.module.css +4 -4
- package/src/components/NSBoxDate.tsx +105 -97
- package/src/components/NSBoxDateTime.module.css +4 -4
- package/src/components/NSBoxDateTime.tsx +106 -103
- package/src/components/NSBoxDouble.tsx +95 -91
- package/src/components/NSBoxDuration.module.css +4 -4
- package/src/components/NSBoxDuration.tsx +96 -93
- package/src/components/NSBoxDynamic.tsx +57 -0
- package/src/components/NSBoxEmail.tsx +98 -98
- package/src/components/NSBoxEntity.tsx +75 -52
- package/src/components/NSBoxEnum.tsx +99 -66
- package/src/components/NSBoxFile.module.css +10 -10
- package/src/components/NSBoxFile.tsx +105 -111
- package/src/components/NSBoxFilePath.tsx +92 -0
- package/src/components/NSBoxFont.tsx +92 -0
- package/src/components/NSBoxIPV4.tsx +96 -93
- package/src/components/NSBoxIPV4Range.tsx +92 -0
- package/src/components/NSBoxIPV6.tsx +93 -90
- package/src/components/NSBoxIPV6Range.tsx +92 -0
- package/src/components/NSBoxInteger.tsx +93 -90
- package/src/components/NSBoxMoney.tsx +96 -89
- package/src/components/NSBoxPassword.tsx +109 -106
- package/src/components/NSBoxPhone.module.css +35 -35
- package/src/components/NSBoxPhone.tsx +112 -105
- package/src/components/NSBoxRadio.module.css +33 -33
- package/src/components/NSBoxRadio.tsx +95 -97
- package/src/components/NSBoxSearch.tsx +93 -90
- package/src/components/NSBoxString.tsx +86 -81
- package/src/components/NSBoxTextArea.module.css +12 -12
- package/src/components/NSBoxTextArea.tsx +94 -91
- package/src/components/NSBoxTime.module.css +4 -4
- package/src/components/NSBoxTime.tsx +93 -85
- package/src/components/NSBoxTimeZone.tsx +92 -0
- package/src/components/NSBoxURL.tsx +92 -0
- package/src/components/NSBoxVersion.tsx +92 -0
- package/src/components/NSButton.module.css +57 -57
- package/src/components/NSButton.tsx +25 -25
- package/src/components/NSButtonBlue.module.css +4 -4
- package/src/components/NSButtonBlue.tsx +19 -19
- package/src/components/NSButtonGreen.module.css +4 -4
- package/src/components/NSButtonGreen.tsx +19 -19
- package/src/components/NSButtonRed.module.css +4 -4
- package/src/components/NSButtonRed.tsx +19 -19
- package/src/components/NSCard.module.css +114 -114
- package/src/components/NSCard.tsx +63 -63
- 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/NSChartDoughnut.tsx +108 -108
- package/src/components/NSChartPie.tsx +105 -105
- package/src/components/NSChartRange.tsx +14 -14
- package/src/components/NSChartTable.module.css +21 -21
- package/src/components/NSChartTable.tsx +94 -94
- package/src/components/NSColumn.module.css +16 -16
- package/src/components/NSColumn.tsx +18 -18
- package/src/components/NSCopy.tsx +56 -56
- package/src/components/NSCopyBox.module.css +39 -39
- package/src/components/NSCopyBox.tsx +53 -53
- package/src/components/NSDialog.module.css +110 -110
- package/src/components/NSDialog.tsx +61 -61
- package/src/components/NSDialogDelete.tsx +26 -26
- package/src/components/NSDialogInfo.tsx +32 -32
- package/src/components/NSDialogPageSelection.module.css +103 -103
- package/src/components/NSDialogPageSelection.tsx +223 -223
- package/src/components/NSDownTimer.module.css +55 -55
- package/src/components/NSDownTimer.tsx +77 -77
- package/src/components/NSDownload.module.css +46 -46
- package/src/components/NSDownload.tsx +63 -63
- package/src/components/NSElectronicCard.module.css +60 -60
- package/src/components/NSElectronicCard.tsx +46 -46
- package/src/components/NSEntityCardBackground.module.css +27 -27
- package/src/components/NSEntityCardBackground.tsx +36 -36
- package/src/components/NSFilterBox.module.css +56 -56
- package/src/components/NSFilterBox.tsx +366 -362
- package/src/components/NSFilterItem.module.css +25 -25
- package/src/components/NSFilterItem.tsx +27 -27
- package/src/components/NSFooter.module.css +123 -123
- package/src/components/NSFooter.tsx +316 -316
- package/src/components/NSHeader.module.css +291 -291
- package/src/components/NSHeader.tsx +253 -253
- package/src/components/NSHeaderScreenshot.module.css +35 -35
- package/src/components/NSHeaderScreenshot.tsx +39 -39
- package/src/components/NSLabel.module.css +15 -15
- package/src/components/NSLabel.tsx +29 -29
- package/src/components/NSLabelErrorNotifier.module.css +2 -2
- package/src/components/NSLabelErrorNotifier.tsx +32 -32
- package/src/components/NSLayout.module.css +14 -14
- package/src/components/NSLayout.tsx +94 -94
- 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 +21 -21
- package/src/components/NSLinkGreen.tsx +5 -5
- package/src/components/NSLinkRed.tsx +5 -5
- package/src/components/NSListGrouped.module.css +69 -69
- package/src/components/NSListGrouped.tsx +119 -119
- package/src/components/NSListProduct.tsx +44 -44
- package/src/components/NSLoading.module.css +30 -30
- package/src/components/NSLoading.tsx +19 -19
- package/src/components/NSMenuAction.module.css +87 -87
- package/src/components/NSMenuAction.tsx +90 -90
- package/src/components/NSMenuButton.module.css +44 -44
- package/src/components/NSMenuButton.tsx +172 -160
- package/src/components/NSNoData.module.css +9 -9
- package/src/components/NSNoData.tsx +24 -24
- package/src/components/NSPagination.module.css +85 -85
- package/src/components/NSPagination.tsx +182 -183
- package/src/components/NSPanel.module.css +18 -18
- package/src/components/NSPanel.tsx +18 -18
- package/src/components/NSPanelAccordion.module.css +4 -4
- package/src/components/NSPanelAccordion.tsx +51 -51
- package/src/components/NSRange.module.css +66 -66
- package/src/components/NSRange.tsx +83 -83
- package/src/components/NSRepeater.tsx +217 -179
- package/src/components/NSRow.module.css +17 -17
- package/src/components/NSRow.tsx +18 -18
- package/src/components/NSSection.module.css +4 -4
- package/src/components/NSSection.tsx +20 -20
- package/src/components/NSSectionCards.module.css +38 -38
- package/src/components/NSSectionCards.tsx +51 -51
- package/src/components/NSSectionTiles.module.css +10 -10
- package/src/components/NSSectionTiles.tsx +25 -25
- 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 +77 -77
- package/src/components/NSTable.module.css +263 -263
- package/src/components/NSTable.tsx +479 -476
- package/src/components/NSTag.module.css +52 -52
- package/src/components/NSTag.tsx +78 -78
- package/src/components/NSTile.module.css +76 -76
- package/src/components/NSTile.tsx +27 -27
- package/src/components/NSTimelineMonthly.module.css +71 -71
- package/src/components/NSTimelineMonthly.tsx +44 -44
- package/src/components/NSTitle.module.css +15 -15
- package/src/components/NSTitle.tsx +19 -19
- package/src/formatter/BackColorFormatter.tsx +23 -23
- package/src/formatter/BaseColumnFormatter.ts +16 -16
- package/src/formatter/BooleanFormatter.ts +22 -22
- package/src/formatter/DateFormatter.ts +20 -20
- package/src/formatter/DateTimeFormatter.ts +20 -20
- package/src/formatter/DurationFormatter.ts +13 -13
- package/src/formatter/EmailFormatter.ts +13 -13
- package/src/formatter/EnumFormatter.ts +13 -13
- package/src/formatter/FloatFormatter.ts +16 -16
- package/src/formatter/ForeColorFormatter.tsx +24 -24
- package/src/formatter/IDFormatter.tsx +30 -30
- package/src/formatter/IPFormatter.ts +13 -13
- package/src/formatter/IntegerFormatter.ts +16 -16
- package/src/formatter/JsonFormatter.ts +14 -14
- package/src/formatter/MoneyFormatter.ts +16 -16
- package/src/formatter/PhoneFormatter.ts +13 -13
- package/src/formatter/StringFormatter.ts +22 -22
- package/src/formatter/TimeFormatter.ts +21 -21
- package/src/formatter/UnknowFormatter.ts +18 -18
- package/src/index.tsx +7 -7
- package/src/main.ts +193 -192
- package/src/pages/NSNotFoundPage.module.css +17 -17
- 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/IValidationPrecisionProps.ts +4 -0
- package/src/props/IValidationProps.ts +9 -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 -34
- package/dist/index.css +0 -6
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
.ns_box_radio_label {
|
|
2
|
-
width: 100%;
|
|
3
|
-
height: 48px;
|
|
4
|
-
padding: 10px 12px 10px 12px;
|
|
5
|
-
background-color: #fff;
|
|
6
|
-
color: #141B5C;
|
|
7
|
-
border-radius: 8px;
|
|
8
|
-
border: 1px solid rgba(0, 0, 0, 1) !important;
|
|
9
|
-
font-size: 16px;
|
|
10
|
-
font-weight: 400;
|
|
11
|
-
font-family: inherit;
|
|
12
|
-
cursor: pointer;
|
|
13
|
-
position: relative;
|
|
14
|
-
display: flex;
|
|
15
|
-
flex-direction: row;
|
|
16
|
-
justify-content: left;
|
|
17
|
-
align-items: center;
|
|
18
|
-
gap: 4px;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.ns_box_radio_input {
|
|
22
|
-
width: 24px;
|
|
23
|
-
height: 24px;
|
|
24
|
-
cursor: pointer;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.ns_box_radio_input:focus-visible {
|
|
28
|
-
border-color: rgba(0, 0, 0, 1) !important;
|
|
29
|
-
outline: solid 1px #4096ff !important;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.ns_box_radio_input:checked {
|
|
33
|
-
accent-color: #141B5C;
|
|
1
|
+
.ns_box_radio_label {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 48px;
|
|
4
|
+
padding: 10px 12px 10px 12px;
|
|
5
|
+
background-color: #fff;
|
|
6
|
+
color: #141B5C;
|
|
7
|
+
border-radius: 8px;
|
|
8
|
+
border: 1px solid rgba(0, 0, 0, 1) !important;
|
|
9
|
+
font-size: 16px;
|
|
10
|
+
font-weight: 400;
|
|
11
|
+
font-family: inherit;
|
|
12
|
+
cursor: pointer;
|
|
13
|
+
position: relative;
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: row;
|
|
16
|
+
justify-content: left;
|
|
17
|
+
align-items: center;
|
|
18
|
+
gap: 4px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.ns_box_radio_input {
|
|
22
|
+
width: 24px;
|
|
23
|
+
height: 24px;
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.ns_box_radio_input:focus-visible {
|
|
28
|
+
border-color: rgba(0, 0, 0, 1) !important;
|
|
29
|
+
outline: solid 1px #4096ff !important;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.ns_box_radio_input:checked {
|
|
33
|
+
accent-color: #141B5C;
|
|
34
34
|
}
|
|
@@ -3,6 +3,7 @@ import { IBaseComponentProps } from "../props/IBaseComponentProps";
|
|
|
3
3
|
import { IValidationProps } from "../props/IValidationProps";
|
|
4
4
|
import { IValidationStringProps } from "../props/IValidationStringProps";
|
|
5
5
|
import { INSBoxBaseLayoutProps, NSBoxBaseLayout } from "./NSBoxBaseLayout";
|
|
6
|
+
import { INSBox } from "./INSBox";
|
|
6
7
|
export interface NSBoxSearchProps extends IBaseComponentProps, IValidationProps, IValidationStringProps, INSBoxBaseLayoutProps<string, NSBoxSearch> {
|
|
7
8
|
title: string;
|
|
8
9
|
placeholder?: string;
|
|
@@ -12,15 +13,15 @@ export interface NSBoxSearchProps extends IBaseComponentProps, IValidationProps,
|
|
|
12
13
|
onClicked?: (e: NSBoxSearch) => void;
|
|
13
14
|
}
|
|
14
15
|
export interface NSBoxSearchState {
|
|
15
|
-
value: string;
|
|
16
|
+
value: string | null;
|
|
16
17
|
}
|
|
17
|
-
export declare class NSBoxSearch extends React.Component<NSBoxSearchProps, NSBoxSearchState> {
|
|
18
|
+
export declare class NSBoxSearch extends React.Component<NSBoxSearchProps, NSBoxSearchState> implements INSBox {
|
|
18
19
|
input: React.RefObject<HTMLInputElement>;
|
|
19
20
|
NSBoxBaseLayout_Main: React.RefObject<NSBoxBaseLayout>;
|
|
20
21
|
constructor(props: NSBoxSearchProps);
|
|
22
|
+
isEmpty(value: string): boolean;
|
|
21
23
|
getError(): string | null;
|
|
22
|
-
getValue(checkError?: boolean): string;
|
|
23
|
-
setValue(value: string, callback?: () => void): void;
|
|
24
|
-
private onChanged;
|
|
24
|
+
getValue(checkError?: boolean): string | null;
|
|
25
|
+
setValue(value: string | null, callback?: () => void): void;
|
|
25
26
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
26
27
|
}
|
|
@@ -11,11 +11,16 @@ export class NSBoxSearch extends React.Component {
|
|
|
11
11
|
super(props);
|
|
12
12
|
this.input = createRef();
|
|
13
13
|
this.NSBoxBaseLayout_Main = createRef();
|
|
14
|
-
this.state = { value: (_a = props.defaultValue) !== null && _a !== void 0 ? _a :
|
|
14
|
+
this.state = { value: (_a = props.defaultValue) !== null && _a !== void 0 ? _a : null };
|
|
15
|
+
this.isEmpty = this.isEmpty.bind(this);
|
|
15
16
|
this.getError = this.getError.bind(this);
|
|
16
17
|
this.getValue = this.getValue.bind(this);
|
|
17
18
|
this.setValue = this.setValue.bind(this);
|
|
18
|
-
|
|
19
|
+
}
|
|
20
|
+
isEmpty(value) {
|
|
21
|
+
if ((value !== null && value !== void 0 ? value : "").trim())
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
19
24
|
}
|
|
20
25
|
getError() {
|
|
21
26
|
return (Validator.getError(this.props.title, this.state.value, this.props) ||
|
|
@@ -28,17 +33,13 @@ export class NSBoxSearch extends React.Component {
|
|
|
28
33
|
this.setState({ value }, () => {
|
|
29
34
|
if (this.props.onChanged)
|
|
30
35
|
this.props.onChanged(this, callback);
|
|
31
|
-
|
|
36
|
+
if (callback)
|
|
32
37
|
callback();
|
|
33
38
|
});
|
|
34
39
|
}
|
|
35
|
-
onChanged(e) {
|
|
36
|
-
this.setValue(e.target.value);
|
|
37
|
-
}
|
|
38
40
|
render() {
|
|
39
|
-
var _a;
|
|
40
|
-
return (_jsx(NSBoxBaseLayout, Object.assign({ ref: this.NSBoxBaseLayout_Main }, this.props, { getValue: () => this.state.value, setValue: this.setValue, children: _jsx("input", { ref: this.input, id: this.props.id, name: this.props.name, type: "text", className: StylesNSBox.ns_box_input, placeholder: (_a = this.props.placeholder) !== null && _a !== void 0 ? _a : `Please enter ${NamingConvention.auto.convert(this.props.title, NamingConvention.lower_case_space)}`, value: this.state.value, onChange: this.
|
|
41
|
-
this.props.onClicked(this); }, style: {
|
|
41
|
+
var _a, _b;
|
|
42
|
+
return (_jsx(NSBoxBaseLayout, Object.assign({ ref: this.NSBoxBaseLayout_Main }, this.props, { getValue: () => { var _a; return (_a = this.state.value) !== null && _a !== void 0 ? _a : ""; }, setValue: this.setValue, children: _jsx("input", { ref: this.input, id: this.props.id, name: this.props.name, type: "text", className: StylesNSBox.ns_box_input, placeholder: (_a = this.props.placeholder) !== null && _a !== void 0 ? _a : `Please enter ${NamingConvention.auto.convert(this.props.title, NamingConvention.lower_case_space)}`, value: (_b = this.state.value) !== null && _b !== void 0 ? _b : "", onChange: e => this.setValue(e.target.value), onClick: () => { var _a, _b; (_b = (_a = this.props).onClicked) === null || _b === void 0 ? void 0 : _b.call(_a, this); }, style: {
|
|
42
43
|
background: `url(${"https://static.namirasoft.com/image/concept/search/blue.svg"}) white no-repeat scroll center right 4px`,
|
|
43
44
|
backgroundSize: "24px",
|
|
44
45
|
} }) })));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSBoxSearch.js","sourceRoot":"","sources":["../../src/components/NSBoxSearch.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAyB,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"NSBoxSearch.js","sourceRoot":"","sources":["../../src/components/NSBoxSearch.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAyB,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAkBnD,MAAM,OAAO,WAAY,SAAQ,KAAK,CAAC,SAA6C;IAInF,YAAY,KAAuB;;QAElC,KAAK,CAAC,KAAK,CAAC,CAAC;QAJd,UAAK,GAAG,SAAS,EAAoB,CAAC;QACtC,yBAAoB,GAAG,SAAS,EAAmB,CAAC;QAIn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ComponentProps } from "../props/IBaseComponentProps";
|
|
|
3
3
|
import { IValidationProps } from "../props/IValidationProps";
|
|
4
4
|
import { IValidationStringProps } from "../props/IValidationStringProps";
|
|
5
5
|
import { INSBoxBaseLayoutProps, NSBoxBaseLayout } from "./NSBoxBaseLayout";
|
|
6
|
+
import { INSBox } from "./INSBox";
|
|
6
7
|
export interface NSBoxStringProps extends IBaseComponentProps, IValidationProps, IValidationStringProps, INSBoxBaseLayoutProps<string, NSBoxString> {
|
|
7
8
|
}
|
|
8
9
|
export interface NSBoxStringState {
|
|
9
|
-
value: string;
|
|
10
|
+
value: string | null;
|
|
10
11
|
}
|
|
11
|
-
export declare class NSBoxString extends React.Component<NSBoxStringProps, NSBoxStringState> {
|
|
12
|
+
export declare class NSBoxString extends React.Component<NSBoxStringProps, NSBoxStringState> implements INSBox {
|
|
12
13
|
NSBoxBaseLayout_Main: React.RefObject<NSBoxBaseLayout>;
|
|
13
14
|
constructor(props: NSBoxStringProps);
|
|
15
|
+
isEmpty(value: string): boolean;
|
|
14
16
|
getError(): string | null;
|
|
15
|
-
getValue(checkError?: boolean): string;
|
|
16
|
-
setValue(value: string, callback?: () => void): void;
|
|
17
|
-
private onChanged;
|
|
17
|
+
getValue(checkError?: boolean): string | null;
|
|
18
|
+
setValue(value: string | null, callback?: () => void): void;
|
|
18
19
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
19
20
|
}
|
|
@@ -10,11 +10,16 @@ export class NSBoxString extends React.Component {
|
|
|
10
10
|
var _a;
|
|
11
11
|
super(props);
|
|
12
12
|
this.NSBoxBaseLayout_Main = createRef();
|
|
13
|
-
this.state = { value: (_a = props.defaultValue) !== null && _a !== void 0 ? _a :
|
|
13
|
+
this.state = { value: (_a = props.defaultValue) !== null && _a !== void 0 ? _a : null };
|
|
14
|
+
this.isEmpty = this.isEmpty.bind(this);
|
|
14
15
|
this.getError = this.getError.bind(this);
|
|
15
16
|
this.getValue = this.getValue.bind(this);
|
|
16
17
|
this.setValue = this.setValue.bind(this);
|
|
17
|
-
|
|
18
|
+
}
|
|
19
|
+
isEmpty(value) {
|
|
20
|
+
if ((value !== null && value !== void 0 ? value : "").trim())
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
18
23
|
}
|
|
19
24
|
getError() {
|
|
20
25
|
return (Validator.getError(this.props.title, this.state.value, this.props) ||
|
|
@@ -27,17 +32,13 @@ export class NSBoxString extends React.Component {
|
|
|
27
32
|
this.setState({ value }, () => {
|
|
28
33
|
if (this.props.onChanged)
|
|
29
34
|
this.props.onChanged(this, callback);
|
|
30
|
-
|
|
35
|
+
if (callback)
|
|
31
36
|
callback();
|
|
32
37
|
});
|
|
33
38
|
}
|
|
34
|
-
onChanged(e) {
|
|
35
|
-
this.setValue(e.target.value);
|
|
36
|
-
}
|
|
37
39
|
render() {
|
|
38
|
-
var _a;
|
|
39
|
-
return (_jsx(NSBoxBaseLayout, Object.assign({ ref: this.NSBoxBaseLayout_Main }, this.props, { getValue: () => this.state.value, setValue: this.setValue, children: _jsx("input", { id: this.props.id, name: this.props.name, type: "text", className: StylesNSBox.ns_box_input, placeholder: (_a = this.props.placeholder) !== null && _a !== void 0 ? _a : `Please enter ${NamingConvention.auto.convert(this.props.title, NamingConvention.lower_case_space)}`, value: this.state.value, onChange: this.
|
|
40
|
-
this.props.onClicked(this); }, style: {
|
|
40
|
+
var _a, _b;
|
|
41
|
+
return (_jsx(NSBoxBaseLayout, Object.assign({ ref: this.NSBoxBaseLayout_Main }, this.props, { getValue: () => { var _a; return (_a = this.state.value) !== null && _a !== void 0 ? _a : ""; }, setValue: this.setValue, children: _jsx("input", { id: this.props.id, name: this.props.name, type: "text", className: StylesNSBox.ns_box_input, placeholder: (_a = this.props.placeholder) !== null && _a !== void 0 ? _a : `Please enter ${NamingConvention.auto.convert(this.props.title, NamingConvention.lower_case_space)}`, value: (_b = this.state.value) !== null && _b !== void 0 ? _b : "", onChange: e => this.setValue(e.target.value), onClick: () => { var _a, _b; (_b = (_a = this.props).onClicked) === null || _b === void 0 ? void 0 : _b.call(_a, this); }, minLength: this.props.min_length, maxLength: this.props.max_length, style: {
|
|
41
42
|
background: `url("https://static.namirasoft.com/image/concept/type/string.png") white no-repeat scroll center right 4px`,
|
|
42
43
|
backgroundSize: "24px"
|
|
43
44
|
} }) })));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSBoxString.js","sourceRoot":"","sources":["../../src/components/NSBoxString.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAyB,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"NSBoxString.js","sourceRoot":"","sources":["../../src/components/NSBoxString.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAyB,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAWnD,MAAM,OAAO,WAAY,SAAQ,KAAK,CAAC,SAA6C;IAGnF,YAAY,KAAuB;;QAElC,KAAK,CAAC,KAAK,CAAC,CAAC;QAHd,yBAAoB,GAAG,SAAS,EAAmB,CAAC;QAInD,IAAI,CAAC,KAAK,GAAG,EAAE,KAAK,EAAE,MAAA,KAAK,CAAC,YAAY,mCAAI,IAAI,EAAE,CAAC;QACnD,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,C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Q,MAAM;;QAEd,OAAO,CACN,KAAC,eAAe,kBACf,GAAG,EAAE,IAAI,CAAC,oBAAoB,IAC1B,IAAI,CAAC,KAAK,IACd,QAAQ,EAAE,GAAG,EAAE,WAAC,OAAA,MAAA,IAAI,CAAC,KAAK,CAAC,KAAK,mCAAI,EAAE,CAAA,EAAA,EACtC,QAAQ,EAAE,IAAI,CAAC,QAAQ,YAEvB,gBACC,EAAE,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,EACjB,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,EACrB,IAAI,EAAC,MAAM,EACX,SAAS,EAAE,WAAW,CAAC,YAAY,EACnC,WAAW,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,WAAW,mCAAI,gBAAgB,gBAAgB,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,gBAAgB,CAAC,gBAAgB,CAAC,EAAE,EAC3I,KAAK,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,KAAK,mCAAI,EAAE,EAC7B,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAC5C,OAAO,EAAE,GAAG,EAAE,eAAG,MAAA,MAAA,IAAI,CAAC,KAAK,EAAC,SAAS,mDAAG,IAAI,CAAC,CAAC,CAAC,CAAC,EAChD,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU,EAChC,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU,EAChC,KAAK,EAAE;oBACN,UAAU,EAAE,4GAA4G;oBACxH,cAAc,EAAE,MAAM;iBACtB,GACA,IACe,CAClB,CAAC;IACH,CAAC;CACD"}
|
|
@@ -3,20 +3,21 @@ import { IBaseComponentProps } from "../props/IBaseComponentProps";
|
|
|
3
3
|
import { IValidationProps } from "../props/IValidationProps";
|
|
4
4
|
import { IValidationStringProps } from "../props/IValidationStringProps";
|
|
5
5
|
import { INSBoxBaseLayoutProps, NSBoxBaseLayout } from "./NSBoxBaseLayout";
|
|
6
|
+
import { INSBox } from "./INSBox";
|
|
6
7
|
export interface NSBoxTextAreaProps extends IBaseComponentProps, IValidationProps, IValidationStringProps, INSBoxBaseLayoutProps<string, NSBoxTextArea> {
|
|
7
8
|
cols?: number;
|
|
8
9
|
rows?: number;
|
|
9
10
|
}
|
|
10
11
|
export interface NSBoxTextAreaState {
|
|
11
|
-
value: string;
|
|
12
|
+
value: string | null;
|
|
12
13
|
}
|
|
13
|
-
export declare class NSBoxTextArea extends React.Component<NSBoxTextAreaProps, NSBoxTextAreaState> {
|
|
14
|
+
export declare class NSBoxTextArea extends React.Component<NSBoxTextAreaProps, NSBoxTextAreaState> implements INSBox {
|
|
14
15
|
NSBoxBaseLayout_Main: React.RefObject<NSBoxBaseLayout>;
|
|
15
16
|
textarea: React.RefObject<HTMLTextAreaElement>;
|
|
16
17
|
constructor(props: NSBoxTextAreaProps);
|
|
18
|
+
isEmpty(value: string): boolean;
|
|
17
19
|
getError(): string | null;
|
|
18
|
-
getValue(checkError?: boolean): string;
|
|
19
|
-
setValue(value: string, callback?: () => void): void;
|
|
20
|
-
private onChanged;
|
|
20
|
+
getValue(checkError?: boolean): string | null;
|
|
21
|
+
setValue(value: string | null, callback?: () => void): void;
|
|
21
22
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
22
23
|
}
|
|
@@ -1,13 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
3
|
import React, { createRef } from "react";
|
|
13
4
|
import Styles from "./NSBoxTextArea.module.css";
|
|
@@ -20,14 +11,16 @@ export class NSBoxTextArea extends React.Component {
|
|
|
20
11
|
super(props);
|
|
21
12
|
this.NSBoxBaseLayout_Main = createRef();
|
|
22
13
|
this.textarea = createRef();
|
|
23
|
-
this.
|
|
24
|
-
|
|
25
|
-
});
|
|
26
|
-
this.state = { value: (_a = props.defaultValue) !== null && _a !== void 0 ? _a : "" };
|
|
14
|
+
this.state = { value: (_a = props.defaultValue) !== null && _a !== void 0 ? _a : null };
|
|
15
|
+
this.isEmpty = this.isEmpty.bind(this);
|
|
27
16
|
this.getError = this.getError.bind(this);
|
|
28
17
|
this.getValue = this.getValue.bind(this);
|
|
29
18
|
this.setValue = this.setValue.bind(this);
|
|
30
|
-
|
|
19
|
+
}
|
|
20
|
+
isEmpty(value) {
|
|
21
|
+
if ((value !== null && value !== void 0 ? value : "").trim())
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
31
24
|
}
|
|
32
25
|
getError() {
|
|
33
26
|
return (Validator.getError(this.props.title, this.state.value, this.props) ||
|
|
@@ -40,14 +33,13 @@ export class NSBoxTextArea extends React.Component {
|
|
|
40
33
|
this.setState({ value }, () => {
|
|
41
34
|
if (this.props.onChanged)
|
|
42
35
|
this.props.onChanged(this, callback);
|
|
43
|
-
|
|
36
|
+
if (callback)
|
|
44
37
|
callback();
|
|
45
38
|
});
|
|
46
39
|
}
|
|
47
40
|
render() {
|
|
48
|
-
var _a, _b;
|
|
49
|
-
return (_jsx(NSBoxBaseLayout, Object.assign({ ref: this.NSBoxBaseLayout_Main }, this.props, { getValue: () => this.state.value, setValue: this.setValue, children: _jsx("textarea", { ref: this.textarea, id: this.props.id, name: this.props.name, cols: this.props.cols, rows: (_a = this.props.rows) !== null && _a !== void 0 ? _a : 5, value: this.state.value, className: Styles.ns_box_text_area, placeholder: (
|
|
50
|
-
this.props.onClicked(this); }, style: {
|
|
41
|
+
var _a, _b, _c;
|
|
42
|
+
return (_jsx(NSBoxBaseLayout, Object.assign({ ref: this.NSBoxBaseLayout_Main }, this.props, { getValue: () => { var _a; return (_a = this.state.value) !== null && _a !== void 0 ? _a : ""; }, setValue: this.setValue, children: _jsx("textarea", { ref: this.textarea, id: this.props.id, name: this.props.name, cols: this.props.cols, rows: (_a = this.props.rows) !== null && _a !== void 0 ? _a : 5, value: (_b = this.state.value) !== null && _b !== void 0 ? _b : "", className: Styles.ns_box_text_area, placeholder: (_c = this.props.placeholder) !== null && _c !== void 0 ? _c : `Please enter ${NamingConvention.auto.convert(this.props.title, NamingConvention.lower_case_space)}`, onChange: e => this.setValue(e.target.value), onClick: () => { var _a, _b; (_b = (_a = this.props).onClicked) === null || _b === void 0 ? void 0 : _b.call(_a, this); }, style: {
|
|
51
43
|
height: "100%",
|
|
52
44
|
background: `url("https://static.namirasoft.com/image/concept/type/string.png") white no-repeat scroll top right 4px `,
|
|
53
45
|
backgroundPositionY: "4px",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSBoxTextArea.js","sourceRoot":"","sources":["../../src/components/NSBoxTextArea.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC
|
|
1
|
+
{"version":3,"file":"NSBoxTextArea.js","sourceRoot":"","sources":["../../src/components/NSBoxTextArea.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,MAAM,MAAM,4BAA4B,CAAC;AAIhD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAyB,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAE,gBAAgB,EAAE,MAAM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,MAAM,CAAC,KAAK,CAAC,EAC5C,OAAO,EAAE,GAAG,EAAE,eAAG,MAAA,MAAA,IAAI,CAAC,KAAK,EAAC,SAAS,mDAAG,IAAI,CAAC,CAAC,CAAC,CAAC,EAChD,KAAK,EAAE;oBACN,MAAM,EAAE,MAAM;oBACd,UAAU,EAAE,0GAA0G;oBACtH,mBAAmB,EAAE,KAAK;oBAC1B,cAAc,EAAE,MAAM;iBACtB,GACA,IACe,CAClB,CAAC;IACH,CAAC;CACD"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
.ns_box_text_area {
|
|
2
|
-
border-radius: 8px;
|
|
3
|
-
padding: 10px 42px 10px 12px;
|
|
4
|
-
font-size: 16px;
|
|
5
|
-
font-weight: 400;
|
|
6
|
-
border: 1px solid rgba(0, 0, 0, 1) !important;
|
|
7
|
-
width: 100%;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.ns_box_text_area:focus-visible {
|
|
11
|
-
border-color: rgba(0, 0, 0, 1) !important;
|
|
12
|
-
outline: solid 1px #4096ff !important;
|
|
1
|
+
.ns_box_text_area {
|
|
2
|
+
border-radius: 8px;
|
|
3
|
+
padding: 10px 42px 10px 12px;
|
|
4
|
+
font-size: 16px;
|
|
5
|
+
font-weight: 400;
|
|
6
|
+
border: 1px solid rgba(0, 0, 0, 1) !important;
|
|
7
|
+
width: 100%;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.ns_box_text_area:focus-visible {
|
|
11
|
+
border-color: rgba(0, 0, 0, 1) !important;
|
|
12
|
+
outline: solid 1px #4096ff !important;
|
|
13
13
|
}
|
|
@@ -4,16 +4,18 @@ import { IBaseComponentProps } from "../props/IBaseComponentProps";
|
|
|
4
4
|
import { IValidationProps } from "../props/IValidationProps";
|
|
5
5
|
import { IValidationStringProps } from "../props/IValidationStringProps";
|
|
6
6
|
import { INSBoxBaseLayoutProps, NSBoxBaseLayout } from "./NSBoxBaseLayout";
|
|
7
|
+
import { INSBox } from "./INSBox";
|
|
7
8
|
export interface NSBoxTimeProps extends IBaseComponentProps, IValidationProps, IValidationStringProps, INSBoxBaseLayoutProps<string, NSBoxTime> {
|
|
8
9
|
}
|
|
9
10
|
export interface NSBoxTimeState {
|
|
10
|
-
value: string;
|
|
11
|
+
value: string | null;
|
|
11
12
|
}
|
|
12
|
-
export declare class NSBoxTime extends React.Component<NSBoxTimeProps, NSBoxTimeState> {
|
|
13
|
+
export declare class NSBoxTime extends React.Component<NSBoxTimeProps, NSBoxTimeState> implements INSBox {
|
|
13
14
|
NSBoxBaseLayout_Main: React.RefObject<NSBoxBaseLayout>;
|
|
14
15
|
constructor(props: NSBoxTimeProps);
|
|
16
|
+
isEmpty(value: string): boolean;
|
|
15
17
|
getError(): string | null;
|
|
16
|
-
getValue(checkError?: boolean): string;
|
|
17
|
-
setValue(value: string, callback?: () => void): void;
|
|
18
|
+
getValue(checkError?: boolean): string | null;
|
|
19
|
+
setValue(value: string | null, callback?: () => void): void;
|
|
18
20
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
19
21
|
}
|
|
@@ -12,11 +12,17 @@ export class NSBoxTime extends React.Component {
|
|
|
12
12
|
var _a;
|
|
13
13
|
super(props);
|
|
14
14
|
this.NSBoxBaseLayout_Main = createRef();
|
|
15
|
-
this.state = { value: (_a = props.defaultValue) !== null && _a !== void 0 ? _a :
|
|
15
|
+
this.state = { value: (_a = props.defaultValue) !== null && _a !== void 0 ? _a : null };
|
|
16
|
+
this.isEmpty = this.isEmpty.bind(this);
|
|
16
17
|
this.getError = this.getError.bind(this);
|
|
17
18
|
this.getValue = this.getValue.bind(this);
|
|
18
19
|
this.setValue = this.setValue.bind(this);
|
|
19
20
|
}
|
|
21
|
+
isEmpty(value) {
|
|
22
|
+
if ((value !== null && value !== void 0 ? value : "").trim())
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
20
26
|
getError() {
|
|
21
27
|
return (Validator.getError(this.props.title, this.state.value, this.props) ||
|
|
22
28
|
Validator.getErrorString(this.props.title, this.state.value, this.props) ||
|
|
@@ -29,16 +35,15 @@ export class NSBoxTime extends React.Component {
|
|
|
29
35
|
this.setState({ value }, () => {
|
|
30
36
|
if (this.props.onChanged)
|
|
31
37
|
this.props.onChanged(this, callback);
|
|
32
|
-
|
|
38
|
+
if (callback)
|
|
33
39
|
callback();
|
|
34
40
|
});
|
|
35
41
|
}
|
|
36
42
|
render() {
|
|
37
|
-
var _a;
|
|
43
|
+
var _a, _b;
|
|
38
44
|
let menu = safeMenuMenuItem(this.props, () => { });
|
|
39
45
|
menu.builtin.fullscreen = false;
|
|
40
|
-
return (_jsx(NSBoxBaseLayout, Object.assign({ ref: this.NSBoxBaseLayout_Main }, this.props, { getValue: () => this.state.value, setValue: () => { }, children: _jsx("input", { id: this.props.id, name: this.props.name, type: "time", className: StylesNSBox.ns_box_input, placeholder: (_a = this.props.placeholder) !== null && _a !== void 0 ? _a : `Please enter ${NamingConvention.auto.convert(this.props.title, NamingConvention.lower_case_space)}`, value: this.state.value, onChange: e => this.setValue(e.target.value), onClick: () => {
|
|
41
|
-
this.props.onClicked(this); }, step: "5", style: {
|
|
46
|
+
return (_jsx(NSBoxBaseLayout, Object.assign({ ref: this.NSBoxBaseLayout_Main }, this.props, { getValue: () => { var _a; return (_a = this.state.value) !== null && _a !== void 0 ? _a : ""; }, setValue: () => { }, children: _jsx("input", { id: this.props.id, name: this.props.name, type: "time", className: StylesNSBox.ns_box_input, placeholder: (_a = this.props.placeholder) !== null && _a !== void 0 ? _a : `Please enter ${NamingConvention.auto.convert(this.props.title, NamingConvention.lower_case_space)}`, value: (_b = this.state.value) !== null && _b !== void 0 ? _b : "", onChange: e => this.setValue(e.target.value), onClick: () => { var _a, _b; (_b = (_a = this.props).onClicked) === null || _b === void 0 ? void 0 : _b.call(_a, this); }, step: "5", style: {
|
|
42
47
|
background: `url("https://static.namirasoft.com/image/concept/type/time.png") white no-repeat scroll center right 4px`,
|
|
43
48
|
backgroundSize: "24px",
|
|
44
49
|
paddingRight: "7px"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSBoxTime.js","sourceRoot":"","sources":["../../src/components/NSBoxTime.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,wBAAwB,CAAA;AAC/B,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAI7C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAyB,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"NSBoxTime.js","sourceRoot":"","sources":["../../src/components/NSBoxTime.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,wBAAwB,CAAA;AAC/B,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAI7C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAyB,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAWnD,MAAM,OAAO,SAAU,SAAQ,KAAK,CAAC,SAAyC;IAG7E,YAAY,KAAqB;;QAEhC,KAAK,CAAC,KAAK,CAAC,CAAC;QAHd,yBAAoB,GAAG,SAAS,EAAmB,CAAC;QAInD,IAAI,CAAC,KAAK,GAAG,EAAE,KAAK,EAAE,MAAA,KAAK,CAAC,YAAY,mCAAI,IAAI,EAAE,CAAC;QACnD,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC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AE,MAAM;oBACtB,YAAY,EAAE,KAAK;iBACnB,GACA,IACe,CAClB,CAAC;IACH,CAAC;CACD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
input[type="time"]::-webkit-calendar-picker-indicator {
|
|
2
|
-
cursor: pointer;
|
|
3
|
-
opacity: 0;
|
|
4
|
-
padding-right: 0px;
|
|
1
|
+
input[type="time"]::-webkit-calendar-picker-indicator {
|
|
2
|
+
cursor: pointer;
|
|
3
|
+
opacity: 0;
|
|
4
|
+
padding-right: 0px;
|
|
5
5
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IBaseComponentProps } from "../props/IBaseComponentProps";
|
|
3
|
+
import { IValidationProps } from "../props/IValidationProps";
|
|
4
|
+
import { IValidationStringProps } from "../props/IValidationStringProps";
|
|
5
|
+
import { INSBoxBaseLayoutProps, NSBoxBaseLayout } from "./NSBoxBaseLayout";
|
|
6
|
+
import { INSBox } from "./INSBox";
|
|
7
|
+
export interface NSBoxTimeZoneProps extends IBaseComponentProps, IValidationProps, IValidationStringProps, INSBoxBaseLayoutProps<string, NSBoxTimeZone> {
|
|
8
|
+
}
|
|
9
|
+
export interface NSBoxTimeZoneState {
|
|
10
|
+
value: string | null;
|
|
11
|
+
}
|
|
12
|
+
export declare class NSBoxTimeZone extends React.Component<NSBoxTimeZoneProps, NSBoxTimeZoneState> implements INSBox {
|
|
13
|
+
NSBoxBaseLayout_Main: React.RefObject<NSBoxBaseLayout>;
|
|
14
|
+
constructor(props: NSBoxTimeZoneProps);
|
|
15
|
+
isEmpty(value: string): boolean;
|
|
16
|
+
getError(): string | null;
|
|
17
|
+
getValue(checkError?: boolean): string | null;
|
|
18
|
+
setValue(value: string | null, callback?: () => void): void;
|
|
19
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import React, { createRef } from "react";
|
|
4
|
+
import StylesNSBox from "./NSBox.module.css";
|
|
5
|
+
import { Validator } from "../Validator";
|
|
6
|
+
import { safeMenuMenuItem } from "./NSMenuButton";
|
|
7
|
+
import { NSBoxBaseLayout } from "./NSBoxBaseLayout";
|
|
8
|
+
export class NSBoxTimeZone extends React.Component {
|
|
9
|
+
constructor(props) {
|
|
10
|
+
var _a;
|
|
11
|
+
super(props);
|
|
12
|
+
this.NSBoxBaseLayout_Main = createRef();
|
|
13
|
+
this.state = { value: (_a = props.defaultValue) !== null && _a !== void 0 ? _a : null };
|
|
14
|
+
this.isEmpty = this.isEmpty.bind(this);
|
|
15
|
+
this.getError = this.getError.bind(this);
|
|
16
|
+
this.getValue = this.getValue.bind(this);
|
|
17
|
+
this.setValue = this.setValue.bind(this);
|
|
18
|
+
}
|
|
19
|
+
isEmpty(value) {
|
|
20
|
+
if ((value !== null && value !== void 0 ? value : "").trim())
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
getError() {
|
|
25
|
+
return (Validator.getError(this.props.title, this.state.value, this.props) ||
|
|
26
|
+
Validator.getErrorString(this.props.title, this.state.value, this.props));
|
|
27
|
+
}
|
|
28
|
+
getValue(checkError = true) {
|
|
29
|
+
return NSBoxBaseLayout.checkGetValue(this, checkError, () => this.state.value);
|
|
30
|
+
}
|
|
31
|
+
setValue(value, callback) {
|
|
32
|
+
this.setState({ value }, () => {
|
|
33
|
+
if (this.props.onChanged)
|
|
34
|
+
this.props.onChanged(this, callback);
|
|
35
|
+
if (callback)
|
|
36
|
+
callback();
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
render() {
|
|
40
|
+
let menu = safeMenuMenuItem(this.props, () => { });
|
|
41
|
+
menu.builtin.fullscreen = false;
|
|
42
|
+
return (_jsx(NSBoxBaseLayout, Object.assign({ ref: this.NSBoxBaseLayout_Main }, this.props, { getValue: () => { var _a; return (_a = this.state.value) !== null && _a !== void 0 ? _a : ""; }, setValue: this.setValue, menu: menu, children: _jsx("div", { id: this.props.id, className: StylesNSBox.ns_box_input, style: {
|
|
43
|
+
background: `url("https://static.namirasoft.com/image/concept/type/timezone.png") white no-repeat scroll center right 4px`,
|
|
44
|
+
backgroundSize: "24px"
|
|
45
|
+
}, children: "Not implemented" }) })));
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=NSBoxTimeZone.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NSBoxTimeZone.js","sourceRoot":"","sources":["../../src/components/NSBoxTimeZone.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAI7C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAyB,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAW3E,MAAM,OAAO,aAAc,SAAQ,KAAK,CAAC,SAAiD;IAGzF,YAAY,KAAyB;;QAEpC,KAAK,CAAC,KAAK,CAAC,CAAC;QAHd,yBAAoB,GAAG,SAAS,EAAmB,CAAC;QAInD,IAAI,CAAC,KAAK,GAAG,EAAE,KAAK,EAAE,MAAA,KAAK,CAAC,YAAY,mCAAI,IAAI,EAAE,CAAC;QACnD,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACzC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACzC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,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AC,KAAK,IACd,QAAQ,EAAE,GAAG,EAAE,WAAC,OAAA,MAAA,IAAI,CAAC,KAAK,CAAC,KAAK,mCAAI,EAAE,CAAA,EAAA,EACtC,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,IAAI,EAAE,IAAI,YAEV,cACC,EAAE,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,EAGjB,SAAS,EAAE,WAAW,CAAC,YAAY,EAKnC,KAAK,EAAE;oBACN,UAAU,EAAE,8GAA8G;oBAC1H,cAAc,EAAE,MAAM;iBACtB,gCAGI,IACW,CAClB,CAAC;IACH,CAAC;CACD"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IBaseComponentProps } from "../props/IBaseComponentProps";
|
|
3
|
+
import { IValidationProps } from "../props/IValidationProps";
|
|
4
|
+
import { IValidationStringProps } from "../props/IValidationStringProps";
|
|
5
|
+
import { INSBoxBaseLayoutProps, NSBoxBaseLayout } from "./NSBoxBaseLayout";
|
|
6
|
+
import { INSBox } from "./INSBox";
|
|
7
|
+
export interface NSBoxURLProps extends IBaseComponentProps, IValidationProps, IValidationStringProps, INSBoxBaseLayoutProps<string, NSBoxURL> {
|
|
8
|
+
}
|
|
9
|
+
export interface NSBoxURLState {
|
|
10
|
+
value: string | null;
|
|
11
|
+
}
|
|
12
|
+
export declare class NSBoxURL extends React.Component<NSBoxURLProps, NSBoxURLState> implements INSBox {
|
|
13
|
+
NSBoxBaseLayout_Main: React.RefObject<NSBoxBaseLayout>;
|
|
14
|
+
constructor(props: NSBoxURLProps);
|
|
15
|
+
isEmpty(value: string): boolean;
|
|
16
|
+
getError(): string | null;
|
|
17
|
+
getValue(checkError?: boolean): string | null;
|
|
18
|
+
setValue(value: string | null, callback?: () => void): void;
|
|
19
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import React, { createRef } from "react";
|
|
4
|
+
import StylesNSBox from "./NSBox.module.css";
|
|
5
|
+
import { Validator } from "../Validator";
|
|
6
|
+
import { safeMenuMenuItem } from "./NSMenuButton";
|
|
7
|
+
import { NSBoxBaseLayout } from "./NSBoxBaseLayout";
|
|
8
|
+
export class NSBoxURL extends React.Component {
|
|
9
|
+
constructor(props) {
|
|
10
|
+
var _a;
|
|
11
|
+
super(props);
|
|
12
|
+
this.NSBoxBaseLayout_Main = createRef();
|
|
13
|
+
this.state = { value: (_a = props.defaultValue) !== null && _a !== void 0 ? _a : null };
|
|
14
|
+
this.isEmpty = this.isEmpty.bind(this);
|
|
15
|
+
this.getError = this.getError.bind(this);
|
|
16
|
+
this.getValue = this.getValue.bind(this);
|
|
17
|
+
this.setValue = this.setValue.bind(this);
|
|
18
|
+
}
|
|
19
|
+
isEmpty(value) {
|
|
20
|
+
if ((value !== null && value !== void 0 ? value : "").trim())
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
getError() {
|
|
25
|
+
return (Validator.getError(this.props.title, this.state.value, this.props) ||
|
|
26
|
+
Validator.getErrorString(this.props.title, this.state.value, this.props));
|
|
27
|
+
}
|
|
28
|
+
getValue(checkError = true) {
|
|
29
|
+
return NSBoxBaseLayout.checkGetValue(this, checkError, () => this.state.value);
|
|
30
|
+
}
|
|
31
|
+
setValue(value, callback) {
|
|
32
|
+
this.setState({ value }, () => {
|
|
33
|
+
if (this.props.onChanged)
|
|
34
|
+
this.props.onChanged(this, callback);
|
|
35
|
+
if (callback)
|
|
36
|
+
callback();
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
render() {
|
|
40
|
+
let menu = safeMenuMenuItem(this.props, () => { });
|
|
41
|
+
menu.builtin.fullscreen = false;
|
|
42
|
+
return (_jsx(NSBoxBaseLayout, Object.assign({ ref: this.NSBoxBaseLayout_Main }, this.props, { getValue: () => { var _a; return (_a = this.state.value) !== null && _a !== void 0 ? _a : ""; }, setValue: this.setValue, menu: menu, children: _jsx("div", { id: this.props.id, className: StylesNSBox.ns_box_input, style: {
|
|
43
|
+
background: `url("https://static.namirasoft.com/image/concept/type/url.png") white no-repeat scroll center right 4px`,
|
|
44
|
+
backgroundSize: "24px"
|
|
45
|
+
}, children: "Not implemented" }) })));
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=NSBoxURL.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NSBoxURL.js","sourceRoot":"","sources":["../../src/components/NSBoxURL.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAI7C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAyB,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAW3E,MAAM,OAAO,QAAS,SAAQ,KAAK,CAAC,SAAuC;IAG1E,YAAY,KAAoB;;QAE/B,KAAK,CAAC,KAAK,CAAC,CAAC;QAHd,yBAAoB,GAAG,SAAS,EAAmB,CAAC;QAInD,IAAI,CAAC,KAAK,GAAG,EAAE,KAAK,EAAE,MAAA,KAAK,CAAC,YAAY,mCAAI,IAAI,EAAE,CAAC;QACnD,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACzC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACzC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC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