namirasoft-site-react 1.4.165 → 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.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 -479
- 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
|
@@ -5,15 +5,35 @@ export class NSRepeater extends Component {
|
|
|
5
5
|
super(props);
|
|
6
6
|
this.Item_Refs = [];
|
|
7
7
|
this.state = { items: [] };
|
|
8
|
+
this.getCount = this.getCount.bind(this);
|
|
9
|
+
this.canDelete = this.canDelete.bind(this);
|
|
8
10
|
this.getGIndex = this.getGIndex.bind(this);
|
|
9
11
|
this.getIndex = this.getIndex.bind(this);
|
|
10
12
|
this.addItem = this.addItem.bind(this);
|
|
11
13
|
this.delItem = this.delItem.bind(this);
|
|
12
14
|
this.onChange = this.onChange.bind(this);
|
|
13
|
-
this.onDelete = this.onDelete.bind(this);
|
|
14
15
|
this.checkForNew = this.checkForNew.bind(this);
|
|
15
|
-
this.
|
|
16
|
-
this.
|
|
16
|
+
this.isEmpty = this.isEmpty.bind(this);
|
|
17
|
+
this.getError = this.getError.bind(this);
|
|
18
|
+
this.getValue = this.getValue.bind(this);
|
|
19
|
+
this.setValue = this.setValue.bind(this);
|
|
20
|
+
}
|
|
21
|
+
getCount() {
|
|
22
|
+
return this.state.items.filter(x => x).length;
|
|
23
|
+
}
|
|
24
|
+
canDelete(gIndex) {
|
|
25
|
+
var _a;
|
|
26
|
+
if (this.Item_Refs.length > 0) {
|
|
27
|
+
let count = this.getCount();
|
|
28
|
+
if (count <= ((_a = this.props.min) !== null && _a !== void 0 ? _a : 1))
|
|
29
|
+
return false;
|
|
30
|
+
if (count === this.props.max)
|
|
31
|
+
return true;
|
|
32
|
+
if (gIndex === this.state.items.length - 1)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
return false;
|
|
17
37
|
}
|
|
18
38
|
getGIndex(index) {
|
|
19
39
|
if (this.state.items.length === 0)
|
|
@@ -37,19 +57,21 @@ export class NSRepeater extends Component {
|
|
|
37
57
|
return ans;
|
|
38
58
|
}
|
|
39
59
|
addItem(state = true) {
|
|
40
|
-
this.
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
this.props.onItemChanged
|
|
47
|
-
|
|
60
|
+
if (!this.props.max || this.getCount() < this.props.max) {
|
|
61
|
+
this.Item_Refs.push(createRef());
|
|
62
|
+
if (state) {
|
|
63
|
+
let items = this.state.items;
|
|
64
|
+
items.push(true);
|
|
65
|
+
this.setState({ items }, () => {
|
|
66
|
+
if (this.props.onItemChanged)
|
|
67
|
+
this.props.onItemChanged();
|
|
68
|
+
});
|
|
69
|
+
}
|
|
48
70
|
}
|
|
49
71
|
}
|
|
50
|
-
delItem(
|
|
51
|
-
|
|
52
|
-
|
|
72
|
+
delItem(lIndex) {
|
|
73
|
+
let gindex = this.getGIndex(lIndex);
|
|
74
|
+
if (this.canDelete(gindex)) {
|
|
53
75
|
let items = this.state.items;
|
|
54
76
|
items[gindex] = false;
|
|
55
77
|
this.setState({ items }, () => {
|
|
@@ -61,15 +83,9 @@ export class NSRepeater extends Component {
|
|
|
61
83
|
}
|
|
62
84
|
onChange() {
|
|
63
85
|
if (this.props.onValuesChanged)
|
|
64
|
-
this.props.onValuesChanged(this.
|
|
86
|
+
this.props.onValuesChanged(this.getValue(false));
|
|
65
87
|
this.checkForNew();
|
|
66
88
|
}
|
|
67
|
-
onDelete(index) {
|
|
68
|
-
let length = this.state.items.filter(x => x).length;
|
|
69
|
-
if (length - 1 !== index)
|
|
70
|
-
if (length > 1)
|
|
71
|
-
this.delItem(index);
|
|
72
|
-
}
|
|
73
89
|
checkForNew() {
|
|
74
90
|
let length = this.state.items.filter(x => x).length;
|
|
75
91
|
if (length === 0)
|
|
@@ -80,42 +96,52 @@ export class NSRepeater extends Component {
|
|
|
80
96
|
last--;
|
|
81
97
|
let item = this.Item_Refs[last].current;
|
|
82
98
|
if (item)
|
|
83
|
-
if (!this.props.isEmpty(this.props.getValue(item, false)))
|
|
99
|
+
if (!this.props.isEmpty(item, this.props.getValue(item, false)))
|
|
84
100
|
this.addItem();
|
|
85
101
|
}
|
|
86
102
|
}
|
|
87
|
-
|
|
103
|
+
isEmpty() {
|
|
104
|
+
return true;
|
|
105
|
+
}
|
|
106
|
+
getError() {
|
|
107
|
+
return null;
|
|
108
|
+
}
|
|
109
|
+
getValue(checkError = true) {
|
|
88
110
|
return this.state.items.map((exists, index) => {
|
|
89
111
|
if (exists) {
|
|
90
112
|
let item = this.Item_Refs[index].current;
|
|
91
113
|
if (item) {
|
|
92
114
|
let value = this.props.getValue(item, checkError);
|
|
93
|
-
if (!this.props.isEmpty(value))
|
|
115
|
+
if (!this.props.isEmpty(item, value))
|
|
94
116
|
return value;
|
|
95
117
|
}
|
|
96
118
|
}
|
|
97
119
|
return null;
|
|
98
120
|
}).filter(x => x !== null);
|
|
99
121
|
}
|
|
100
|
-
|
|
122
|
+
setValue(value, callback) {
|
|
101
123
|
this.Item_Refs = [];
|
|
102
|
-
|
|
124
|
+
value.forEach(() => {
|
|
103
125
|
this.addItem(false);
|
|
104
126
|
});
|
|
105
|
-
let items =
|
|
127
|
+
let items = value.map(() => true);
|
|
106
128
|
this.setState({ items }, () => {
|
|
107
129
|
if (this.props.onItemChanged)
|
|
108
130
|
this.props.onItemChanged();
|
|
109
|
-
|
|
131
|
+
value.forEach((value, index) => {
|
|
110
132
|
let item = this.Item_Refs[index].current;
|
|
111
133
|
if (item)
|
|
112
134
|
this.props.updateItem(item, index, value);
|
|
113
135
|
});
|
|
114
136
|
this.onChange();
|
|
137
|
+
callback === null || callback === void 0 ? void 0 : callback();
|
|
115
138
|
});
|
|
116
139
|
}
|
|
117
140
|
componentDidMount() {
|
|
118
|
-
|
|
141
|
+
var _a;
|
|
142
|
+
let min = (_a = this.props.min) !== null && _a !== void 0 ? _a : 1;
|
|
143
|
+
for (let i = 0; i < min; i++)
|
|
144
|
+
this.addItem();
|
|
119
145
|
}
|
|
120
146
|
render() {
|
|
121
147
|
let LIndex = -1;
|
|
@@ -126,7 +152,10 @@ export class NSRepeater extends Component {
|
|
|
126
152
|
let style = {};
|
|
127
153
|
if (!visible)
|
|
128
154
|
style.display = "none";
|
|
129
|
-
|
|
155
|
+
let onDelete = undefined;
|
|
156
|
+
if (this.canDelete(GIndex))
|
|
157
|
+
onDelete = this.delItem;
|
|
158
|
+
return this.props.createItem(GIndex, LIndex, ref, this.onChange, onDelete, visible, style);
|
|
130
159
|
}) }));
|
|
131
160
|
}
|
|
132
161
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSRepeater.js","sourceRoot":"","sources":["../../src/components/NSRepeater.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAa,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"NSRepeater.js","sourceRoot":"","sources":["../../src/components/NSRepeater.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAa,MAAM,OAAO,CAAC;AAoBxD,MA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px;
|
|
6
|
-
margin: 0;
|
|
7
|
-
justify-content: center;
|
|
8
|
-
width: max-content;
|
|
9
|
-
max-width: 100%;
|
|
10
|
-
width: 100%;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
@media only screen and (min-width: 768px) {
|
|
14
|
-
.ns_row {
|
|
15
|
-
flex-direction: row;
|
|
16
|
-
flex-wrap: wrap;
|
|
17
|
-
}
|
|
1
|
+
.ns_row {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
align-items: flex-start;
|
|
5
|
+
gap: 16px;
|
|
6
|
+
margin: 0;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
width: max-content;
|
|
9
|
+
max-width: 100%;
|
|
10
|
+
width: 100%;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@media only screen and (min-width: 768px) {
|
|
14
|
+
.ns_row {
|
|
15
|
+
flex-direction: row;
|
|
16
|
+
flex-wrap: wrap;
|
|
17
|
+
}
|
|
18
18
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
.ns_section {
|
|
2
|
-
background-repeat: no-repeat;
|
|
3
|
-
background-size: cover;
|
|
4
|
-
background-position: center;
|
|
1
|
+
.ns_section {
|
|
2
|
+
background-repeat: no-repeat;
|
|
3
|
+
background-size: cover;
|
|
4
|
+
background-position: center;
|
|
5
5
|
}
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
.ns_section_cards_holder {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
justify-content: center;
|
|
5
|
-
align-items: center;
|
|
6
|
-
margin-left: auto;
|
|
7
|
-
margin-right: auto;
|
|
8
|
-
padding-left: 1rem;
|
|
9
|
-
padding-right: 1rem;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.ns_section_cards_title_container {
|
|
13
|
-
margin-bottom: 32px;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.ns_card_container {
|
|
17
|
-
display: flex;
|
|
18
|
-
flex-direction: row;
|
|
19
|
-
flex-wrap: wrap;
|
|
20
|
-
justify-content: center;
|
|
21
|
-
gap: 24px;
|
|
22
|
-
width: 100%;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.ns_section_cards_link_container {
|
|
26
|
-
margin-top: 48px;
|
|
27
|
-
width: 100%;
|
|
28
|
-
text-align: center;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.ns_description {
|
|
32
|
-
text-align: center;
|
|
33
|
-
font-style: normal;
|
|
34
|
-
font-weight: inherit;
|
|
35
|
-
font-size: 16px;
|
|
36
|
-
font-family: inherit;
|
|
37
|
-
line-height: inherit;
|
|
38
|
-
margin-bottom: 16px;
|
|
1
|
+
.ns_section_cards_holder {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
align-items: center;
|
|
6
|
+
margin-left: auto;
|
|
7
|
+
margin-right: auto;
|
|
8
|
+
padding-left: 1rem;
|
|
9
|
+
padding-right: 1rem;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.ns_section_cards_title_container {
|
|
13
|
+
margin-bottom: 32px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.ns_card_container {
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: row;
|
|
19
|
+
flex-wrap: wrap;
|
|
20
|
+
justify-content: center;
|
|
21
|
+
gap: 24px;
|
|
22
|
+
width: 100%;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.ns_section_cards_link_container {
|
|
26
|
+
margin-top: 48px;
|
|
27
|
+
width: 100%;
|
|
28
|
+
text-align: center;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.ns_description {
|
|
32
|
+
text-align: center;
|
|
33
|
+
font-style: normal;
|
|
34
|
+
font-weight: inherit;
|
|
35
|
+
font-size: 16px;
|
|
36
|
+
font-family: inherit;
|
|
37
|
+
line-height: inherit;
|
|
38
|
+
margin-bottom: 16px;
|
|
39
39
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
.ns_entity_bar_container {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
justify-content: center;
|
|
5
|
-
align-items: center;
|
|
6
|
-
margin-left: auto;
|
|
7
|
-
margin-right: auto;
|
|
8
|
-
padding-left: 1rem;
|
|
9
|
-
padding-right: 1rem;
|
|
10
|
-
gap: 24px;
|
|
1
|
+
.ns_entity_bar_container {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
align-items: center;
|
|
6
|
+
margin-left: auto;
|
|
7
|
+
margin-right: auto;
|
|
8
|
+
padding-left: 1rem;
|
|
9
|
+
padding-right: 1rem;
|
|
10
|
+
gap: 24px;
|
|
11
11
|
}
|
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
.ns_tab_page_panel {
|
|
2
|
-
border-radius: 8px;
|
|
3
|
-
overflow: hidden;
|
|
4
|
-
background: #141B5C;
|
|
5
|
-
padding: 16px;
|
|
6
|
-
width: 100%;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.ns_tab_page_panel ul.ns_tab_page_titles_container {
|
|
10
|
-
list-style-type: none;
|
|
11
|
-
margin: 0;
|
|
12
|
-
padding: 0;
|
|
13
|
-
display: flex;
|
|
14
|
-
overflow-x: auto;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.ns_tab_page_panel li.ns_tab_page_title {
|
|
18
|
-
text-align: center;
|
|
19
|
-
padding: 0px 16px;
|
|
20
|
-
cursor: pointer;
|
|
21
|
-
color: #fff;
|
|
22
|
-
font-size: 16px;
|
|
23
|
-
font-weight: 600;
|
|
24
|
-
border-right: 1px solid #fff;
|
|
25
|
-
margin: 14px 0;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.ns_tab_page_panel>ul.ns_tab_page_titles_container>li.ns_tab_page_title:last-child {
|
|
29
|
-
border-right: none;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.ns_tab_page_panel>ul.ns_tab_page_titles_container>li.ns_tab_page_title_active {
|
|
33
|
-
background-color: #fff;
|
|
34
|
-
border-radius: 8px 8px 0 0;
|
|
35
|
-
color: #141B5C;
|
|
36
|
-
margin: 0;
|
|
37
|
-
padding: 14px 16px;
|
|
38
|
-
box-shadow: 0px 2px 2px 2px #141B5C;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.ns_tab_content_column {
|
|
42
|
-
padding: 16px;
|
|
43
|
-
border-radius: 0 8px 8px 8px;
|
|
44
|
-
background-color: #fff;
|
|
45
|
-
gap: 0;
|
|
46
|
-
border-right: 1px solid #ccc;
|
|
47
|
-
display: flex;
|
|
48
|
-
flex-direction: row;
|
|
49
|
-
flex-wrap: wrap;
|
|
50
|
-
overflow-y: auto;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
/* .ns_tab_content_grid {
|
|
54
|
-
padding: 16px;
|
|
55
|
-
border-radius: 0 8px 8px 8px;
|
|
56
|
-
background-color: #fff;
|
|
57
|
-
display: grid !important;
|
|
58
|
-
gap: 0;
|
|
59
|
-
border-right: 1px solid #ccc;
|
|
1
|
+
.ns_tab_page_panel {
|
|
2
|
+
border-radius: 8px;
|
|
3
|
+
overflow: hidden;
|
|
4
|
+
background: #141B5C;
|
|
5
|
+
padding: 16px;
|
|
6
|
+
width: 100%;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.ns_tab_page_panel ul.ns_tab_page_titles_container {
|
|
10
|
+
list-style-type: none;
|
|
11
|
+
margin: 0;
|
|
12
|
+
padding: 0;
|
|
13
|
+
display: flex;
|
|
14
|
+
overflow-x: auto;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.ns_tab_page_panel li.ns_tab_page_title {
|
|
18
|
+
text-align: center;
|
|
19
|
+
padding: 0px 16px;
|
|
20
|
+
cursor: pointer;
|
|
21
|
+
color: #fff;
|
|
22
|
+
font-size: 16px;
|
|
23
|
+
font-weight: 600;
|
|
24
|
+
border-right: 1px solid #fff;
|
|
25
|
+
margin: 14px 0;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.ns_tab_page_panel>ul.ns_tab_page_titles_container>li.ns_tab_page_title:last-child {
|
|
29
|
+
border-right: none;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.ns_tab_page_panel>ul.ns_tab_page_titles_container>li.ns_tab_page_title_active {
|
|
33
|
+
background-color: #fff;
|
|
34
|
+
border-radius: 8px 8px 0 0;
|
|
35
|
+
color: #141B5C;
|
|
36
|
+
margin: 0;
|
|
37
|
+
padding: 14px 16px;
|
|
38
|
+
box-shadow: 0px 2px 2px 2px #141B5C;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.ns_tab_content_column {
|
|
42
|
+
padding: 16px;
|
|
43
|
+
border-radius: 0 8px 8px 8px;
|
|
44
|
+
background-color: #fff;
|
|
45
|
+
gap: 0;
|
|
46
|
+
border-right: 1px solid #ccc;
|
|
47
|
+
display: flex;
|
|
48
|
+
flex-direction: row;
|
|
49
|
+
flex-wrap: wrap;
|
|
50
|
+
overflow-y: auto;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/* .ns_tab_content_grid {
|
|
54
|
+
padding: 16px;
|
|
55
|
+
border-radius: 0 8px 8px 8px;
|
|
56
|
+
background-color: #fff;
|
|
57
|
+
display: grid !important;
|
|
58
|
+
gap: 0;
|
|
59
|
+
border-right: 1px solid #ccc;
|
|
60
60
|
} */
|