namirasoft-site-react 1.5.26 → 1.5.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/App.d.ts +5 -2
- package/dist/App.js +37 -5
- package/dist/App.js.map +1 -1
- package/dist/NSBoxBuilder.d.ts +25 -25
- package/dist/components/NSBanner.d.ts +1 -1
- package/dist/components/NSBarAction.d.ts +1 -1
- package/dist/components/NSBarAlert.d.ts +1 -1
- package/dist/components/NSBarNotification.d.ts +1 -1
- package/dist/components/NSBarTitle.d.ts +1 -1
- package/dist/components/NSBoxBaseCombo.d.ts +1 -1
- package/dist/components/NSBoxBaseLayout.d.ts +1 -1
- package/dist/components/NSBoxBaseLayoutRecursive.d.ts +1 -1
- package/dist/components/NSBoxBoolean.d.ts +1 -1
- package/dist/components/NSBoxBooleans.d.ts +1 -1
- package/dist/components/NSBoxColor.d.ts +1 -1
- package/dist/components/NSBoxCombo.d.ts +1 -1
- package/dist/components/NSBoxDate.d.ts +1 -1
- package/dist/components/NSBoxDateRange.d.ts +1 -1
- package/dist/components/NSBoxDateRangeBase.d.ts +1 -1
- package/dist/components/NSBoxDateTime.d.ts +1 -1
- package/dist/components/NSBoxDateTimeRange.d.ts +1 -1
- package/dist/components/NSBoxDouble.d.ts +1 -1
- package/dist/components/NSBoxDuration.d.ts +1 -1
- package/dist/components/NSBoxDynamic.d.ts +1 -1
- package/dist/components/NSBoxDynamics.d.ts +1 -1
- package/dist/components/NSBoxEmail.d.ts +1 -1
- package/dist/components/NSBoxEntity.d.ts +1 -1
- package/dist/components/NSBoxEnum.d.ts +1 -1
- package/dist/components/NSBoxFile.d.ts +1 -1
- package/dist/components/NSBoxFilePath.d.ts +1 -1
- package/dist/components/NSBoxFont.d.ts +1 -1
- package/dist/components/NSBoxIPV4.d.ts +1 -1
- package/dist/components/NSBoxIPV4Range.d.ts +1 -1
- package/dist/components/NSBoxIPV6.d.ts +1 -1
- package/dist/components/NSBoxIPV6Range.d.ts +1 -1
- package/dist/components/NSBoxInteger.d.ts +1 -1
- package/dist/components/NSBoxMoney.d.ts +1 -1
- package/dist/components/NSBoxOptions.d.ts +1 -1
- package/dist/components/NSBoxPhone.d.ts +1 -1
- package/dist/components/NSBoxRadio.d.ts +1 -1
- package/dist/components/NSBoxSchemaBase.d.ts +1 -1
- package/dist/components/NSBoxSchemaBase.js +1 -1
- package/dist/components/NSBoxSchemaBase.js.map +1 -1
- package/dist/components/NSBoxSchemaVariable.d.ts +1 -1
- package/dist/components/NSBoxSearch.d.ts +1 -1
- package/dist/components/NSBoxSensitive.d.ts +1 -1
- package/dist/components/NSBoxString.d.ts +1 -1
- package/dist/components/NSBoxTextArea.d.ts +1 -1
- package/dist/components/NSBoxTime.d.ts +1 -1
- package/dist/components/NSBoxTimeRange.d.ts +1 -1
- package/dist/components/NSBoxTimeZone.d.ts +1 -1
- package/dist/components/NSBoxURL.d.ts +1 -1
- package/dist/components/NSBoxVersion.d.ts +1 -1
- package/dist/components/NSButtonBlue.d.ts +1 -1
- package/dist/components/NSButtonGreen.d.ts +1 -1
- package/dist/components/NSButtonRed.d.ts +1 -1
- package/dist/components/NSCard.d.ts +1 -1
- package/dist/components/NSCardScreenshot.d.ts +1 -1
- package/dist/components/NSChartBar.d.ts +1 -1
- package/dist/components/NSChartDoughnut.d.ts +1 -1
- package/dist/components/NSChartLine.d.ts +1 -1
- package/dist/components/NSChartPie.d.ts +1 -1
- package/dist/components/NSChartRange.d.ts +1 -1
- package/dist/components/NSColumn.d.ts +1 -1
- package/dist/components/NSCopy.d.ts +1 -1
- package/dist/components/NSCopyBox.d.ts +1 -1
- package/dist/components/NSDialog.d.ts +1 -1
- package/dist/components/NSDialogBox.d.ts +1 -1
- package/dist/components/NSDialogBoxDate.d.ts +1 -1
- package/dist/components/NSDialogBoxDateTime.d.ts +1 -1
- package/dist/components/NSDialogBoxPhone.d.ts +1 -1
- package/dist/components/NSDialogBoxString.d.ts +1 -1
- package/dist/components/NSDialogDelete.d.ts +1 -1
- package/dist/components/NSDialogInfo.d.ts +1 -1
- package/dist/components/NSDialogPageSelection.d.ts +2 -2
- package/dist/components/NSDownTimer.d.ts +1 -1
- package/dist/components/NSDownload.d.ts +1 -1
- package/dist/components/NSElectronicCard.d.ts +1 -1
- package/dist/components/NSEntityCardBackground.d.ts +1 -1
- package/dist/components/NSFilterBox.d.ts +2 -2
- package/dist/components/NSFilterBoxItems.d.ts +1 -1
- package/dist/components/NSFilterItem.d.ts +1 -1
- package/dist/components/NSFooter.d.ts +1 -1
- package/dist/components/NSGauge.d.ts +1 -1
- package/dist/components/NSGaugeDate.d.ts +1 -1
- package/dist/components/NSGaugeNumber.d.ts +1 -1
- package/dist/components/NSHeader.d.ts +1 -1
- package/dist/components/NSHeaderScreenshot.d.ts +1 -1
- package/dist/components/NSID.d.ts +1 -1
- package/dist/components/NSInfo.d.ts +1 -1
- package/dist/components/NSLabel.d.ts +1 -1
- package/dist/components/NSLabelErrorNotifier.d.ts +1 -1
- package/dist/components/NSLabelSensitive.d.ts +1 -1
- package/dist/components/NSLayout.d.ts +1 -1
- package/dist/components/NSLine.d.ts +1 -1
- package/dist/components/NSLineText.d.ts +1 -1
- package/dist/components/NSLink.d.ts +1 -1
- package/dist/components/NSLinkBlue.d.ts +1 -1
- package/dist/components/NSLinkGreen.d.ts +1 -1
- package/dist/components/NSLinkRed.d.ts +1 -1
- package/dist/components/NSListGrouped.d.ts +1 -1
- package/dist/components/NSListMenu.d.ts +9 -9
- package/dist/components/NSListProduct.d.ts +1 -1
- package/dist/components/NSLoading.d.ts +1 -1
- package/dist/components/NSMegaMenu.d.ts +1 -1
- package/dist/components/NSMenuAction.d.ts +1 -1
- package/dist/components/NSMenuButton.d.ts +1 -1
- package/dist/components/NSNoData.d.ts +1 -1
- package/dist/components/NSPagination.d.ts +1 -1
- package/dist/components/NSPanel.d.ts +1 -1
- package/dist/components/NSPanelAccordion.d.ts +1 -1
- package/dist/components/NSProductSearch.d.ts +1 -1
- package/dist/components/NSProgressBar.d.ts +1 -1
- package/dist/components/NSRange.d.ts +1 -1
- package/dist/components/NSReorderDialog.d.ts +1 -1
- package/dist/components/NSRepeater.d.ts +1 -1
- package/dist/components/NSRepeaterNSBoxSchemaVariable.d.ts +1 -1
- package/dist/components/NSRepeaterNSTag.d.ts +1 -1
- package/dist/components/NSRow.d.ts +1 -1
- package/dist/components/NSSection.d.ts +1 -1
- package/dist/components/NSSectionCards.d.ts +1 -1
- package/dist/components/NSSectionTiles.d.ts +1 -1
- package/dist/components/NSSectionTitle.d.ts +1 -1
- package/dist/components/NSSortDialog.d.ts +1 -1
- package/dist/components/NSSpace.d.ts +1 -1
- package/dist/components/NSSplitter.d.ts +1 -1
- package/dist/components/NSTabPage.d.ts +1 -1
- package/dist/components/NSTable.d.ts +1 -1
- package/dist/components/NSTableChart.d.ts +1 -1
- package/dist/components/NSTag.d.ts +1 -1
- package/dist/components/NSTile.d.ts +1 -1
- package/dist/components/NSTimelineMonthly.d.ts +1 -1
- package/dist/components/NSTitle.d.ts +1 -1
- package/dist/index.css +5 -5
- package/dist/pages/NSImplementing.d.ts +1 -1
- package/dist/pages/NSNotFoundPage.d.ts +1 -1
- package/dist/pages/NSUpdating.d.ts +1 -1
- package/package.json +1 -1
- package/src/App.tsx +698 -4
- package/src/components/NSBoxSchemaBase.tsx +2 -1
- package/src/index.css +5 -5
package/src/App.tsx
CHANGED
|
@@ -1,9 +1,63 @@
|
|
|
1
1
|
import 'bootstrap/dist/css/bootstrap.min.css';
|
|
2
2
|
import { TimeOperation } from 'namirasoft-core';
|
|
3
|
-
import { Component, createRef } from 'react';
|
|
3
|
+
import React, { Component, createRef } from 'react';
|
|
4
4
|
import './App.css';
|
|
5
5
|
import { NSLayout } from './components/NSLayout';
|
|
6
|
-
import
|
|
6
|
+
import
|
|
7
|
+
{
|
|
8
|
+
DateTimeFormatter, IntegerFormatter, JsonFormatter, NSBoxCombo, NSBoxDate, NSBoxDateTime, NSButtonBlue, NSColumn, NSTable, PhoneFormatter, SensitiveFormatter, StringFormatter,
|
|
9
|
+
NSBanner, NSBarAction, NSBarAlert, NSBarNotification, NSBarNotificationColor, NotificationType, NSBarTitle,
|
|
10
|
+
NSBoxBoolean, NSBoxBooleans, NSBoxDateRange, NSBoxDateTimeRange, NSBoxDouble, NSBoxDuration, NSBoxDynamic, NSBoxDynamics,
|
|
11
|
+
NSBoxEmail, NSBoxEntity, NSBoxEnum, NSBoxFile, NSBoxInteger, NSBoxIPV4, NSBoxIPV6, NSBoxMoney, NSBoxOptions, NSBoxPhone, NSBoxRadio,
|
|
12
|
+
NSBoxSearch, NSBoxSensitive, NSBoxString, NSBoxTextArea, NSBoxTime, NSBoxTimeRange, NSBoxTimeZone, NSBoxURL, NSBoxVersion,
|
|
13
|
+
NSButton, NSButtonGreen, NSButtonRed,
|
|
14
|
+
NSCard, NSCardScreenshot,
|
|
15
|
+
NSTableChart,
|
|
16
|
+
NSCopy, NSCopyBox,
|
|
17
|
+
NSDialog, NSDialogDelete, NSDialogInfo, NSDialogPageSelection, NSInfo,
|
|
18
|
+
NSDialogBox, NSDialogBoxDate, NSDialogBoxDateTime, NSDialogBoxPhone, NSDialogBoxString,
|
|
19
|
+
NSDownTimer,
|
|
20
|
+
NSTile,
|
|
21
|
+
NSFilterBox, NSFilterBoxItems, NSFilterItem,
|
|
22
|
+
NSFooter,
|
|
23
|
+
NSHeader,
|
|
24
|
+
NSID,
|
|
25
|
+
NSLabel, NSLabelErrorNotifier, NSLabelSensitive,
|
|
26
|
+
NSLine, NSLineText,
|
|
27
|
+
NSLink, NSLinkBlue, NSLinkGreen, NSLinkRed,
|
|
28
|
+
NSListGrouped, NSListProduct,
|
|
29
|
+
NSLoading,
|
|
30
|
+
NSMenuAction, NSMenuButton,
|
|
31
|
+
NSNoData,
|
|
32
|
+
NSPagination,
|
|
33
|
+
NSPanel, NSPanelAccordion,
|
|
34
|
+
NSRepeater, NSRepeaterNSBoxSchemaVariable, NSRepeaterNSTag,
|
|
35
|
+
NSRow,
|
|
36
|
+
NSSection, NSSectionCards, NSSectionTiles, NSSectionTitle,
|
|
37
|
+
NSSpace, NSSpaceSizeType,
|
|
38
|
+
NSReorderDialog, NSSortDialog,
|
|
39
|
+
NSTabPage,
|
|
40
|
+
NSTag,
|
|
41
|
+
NSTitle,
|
|
42
|
+
NSGauge, NSGaugeDate, NSGaugeNumber,
|
|
43
|
+
NSSplitter,
|
|
44
|
+
} from './main';
|
|
45
|
+
import NSMegaMenu from './components/NSMegaMenu';
|
|
46
|
+
import NSProgressBar from './components/NSProgressBar';
|
|
47
|
+
import { NSDownload } from './components/NSDownload';
|
|
48
|
+
import { NSElectronicCard } from './components/NSElectronicCard';
|
|
49
|
+
import { NSEntityCardBackground } from './components/NSEntityCardBackground';
|
|
50
|
+
import { NSHeaderScreenshot } from './components/NSHeaderScreenshot';
|
|
51
|
+
import { NSProductSearch } from './components/NSProductSearch';
|
|
52
|
+
import { NSRange } from './components/NSRange';
|
|
53
|
+
import { NSTimelineMonthly } from './components/NSTimelineMonthly';
|
|
54
|
+
import { NSBoxSchemaBase } from './components/NSBoxSchemaBase';
|
|
55
|
+
import { NSBoxSchemaVariable } from './components/NSBoxSchemaVariable';
|
|
56
|
+
import { NSBoxFilePath } from './components/NSBoxFilePath';
|
|
57
|
+
import { NSBoxFont } from './components/NSBoxFont';
|
|
58
|
+
import { NSBoxIPV4Range } from './components/NSBoxIPV4Range';
|
|
59
|
+
import { NSBoxIPV6Range } from './components/NSBoxIPV6Range';
|
|
60
|
+
import { NSBoxColor } from './components/NSBoxColor';
|
|
7
61
|
|
|
8
62
|
type TableRow = {
|
|
9
63
|
id: string,
|
|
@@ -20,7 +74,26 @@ type TableRow = {
|
|
|
20
74
|
};
|
|
21
75
|
|
|
22
76
|
interface AppProps { }
|
|
23
|
-
interface AppState { }
|
|
77
|
+
interface AppState { openDialog: string | null }
|
|
78
|
+
|
|
79
|
+
class DocErrorBoundary extends Component<{ name: string; children: React.ReactNode }, { error: string | null }>
|
|
80
|
+
{
|
|
81
|
+
constructor(props: { name: string; children: React.ReactNode })
|
|
82
|
+
{
|
|
83
|
+
super(props);
|
|
84
|
+
this.state = { error: null };
|
|
85
|
+
}
|
|
86
|
+
static getDerivedStateFromError(error: Error) { return { error: error?.message ?? String(error) }; }
|
|
87
|
+
override componentDidCatch(_error: Error) { }
|
|
88
|
+
override render()
|
|
89
|
+
{
|
|
90
|
+
if (this.state.error !== null)
|
|
91
|
+
return <div style={{ color: "#b00", fontSize: 12, padding: "0.25rem 0.5rem", border: "1px dashed #b00", borderRadius: 4 }}>
|
|
92
|
+
{this.props.name} render error: {this.state.error}
|
|
93
|
+
</div>;
|
|
94
|
+
return this.props.children;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
24
97
|
|
|
25
98
|
export class App extends Component<AppProps, AppState>
|
|
26
99
|
{
|
|
@@ -31,11 +104,15 @@ export class App extends Component<AppProps, AppState>
|
|
|
31
104
|
constructor(props: AppProps)
|
|
32
105
|
{
|
|
33
106
|
super(props);
|
|
34
|
-
this.state = {}
|
|
107
|
+
this.state = { openDialog: null }
|
|
35
108
|
};
|
|
36
109
|
|
|
110
|
+
private openDialog = (name: string) => this.setState({ openDialog: name });
|
|
111
|
+
private closeDialog = () => this.setState({ openDialog: null });
|
|
112
|
+
|
|
37
113
|
override render()
|
|
38
114
|
{
|
|
115
|
+
const gaugeColors = { low: "red", medium: "orange", high: "green" };
|
|
39
116
|
return (
|
|
40
117
|
<NSLayout
|
|
41
118
|
header={{
|
|
@@ -58,6 +135,623 @@ export class App extends Component<AppProps, AppState>
|
|
|
58
135
|
notifier={{} as any}
|
|
59
136
|
scope=''
|
|
60
137
|
>
|
|
138
|
+
<NSColumn style={{ gap: '1rem', padding: '1rem' }}>
|
|
139
|
+
<NSLineText title="NSBanner" />
|
|
140
|
+
<DocErrorBoundary name="NSBanner">
|
|
141
|
+
<NSBanner imageLeft={null} imageRight={null} title={{ text: "Sample" }} />
|
|
142
|
+
</DocErrorBoundary>
|
|
143
|
+
|
|
144
|
+
<NSLineText title="NSBarAction" />
|
|
145
|
+
<DocErrorBoundary name="NSBarAction">
|
|
146
|
+
<NSBarAction title="Sample" />
|
|
147
|
+
</DocErrorBoundary>
|
|
148
|
+
|
|
149
|
+
<NSLineText title="NSBarAlert" />
|
|
150
|
+
<DocErrorBoundary name="NSBarAlert">
|
|
151
|
+
<NSBarAlert title={{ title: "Alert" }} isVisible={() => true} />
|
|
152
|
+
</DocErrorBoundary>
|
|
153
|
+
|
|
154
|
+
<NSLineText title="NSBarNotification" />
|
|
155
|
+
<DocErrorBoundary name="NSBarNotification">
|
|
156
|
+
{React.createElement(NSBarNotification as any, { id: "n1", text: "Hi", type: NotificationType.Information, color: NSBarNotificationColor.BLUE, onClose: () => { }, onChangeState: () => { } })}
|
|
157
|
+
</DocErrorBoundary>
|
|
158
|
+
|
|
159
|
+
<NSLineText title="NSBarTitle" />
|
|
160
|
+
<DocErrorBoundary name="NSBarTitle">
|
|
161
|
+
<NSBarTitle title="Sample" />
|
|
162
|
+
</DocErrorBoundary>
|
|
163
|
+
|
|
164
|
+
<NSLineText title="NSBoxBoolean" />
|
|
165
|
+
<DocErrorBoundary name="NSBoxBoolean">
|
|
166
|
+
<NSBoxBoolean title="Sample" required={false} />
|
|
167
|
+
</DocErrorBoundary>
|
|
168
|
+
|
|
169
|
+
<NSLineText title="NSBoxBooleans" />
|
|
170
|
+
<DocErrorBoundary name="NSBoxBooleans">
|
|
171
|
+
<NSBoxBooleans items={[{ value: "a", text: "A" }]} />
|
|
172
|
+
</DocErrorBoundary>
|
|
173
|
+
|
|
174
|
+
<NSLineText title="NSBoxColor" />
|
|
175
|
+
<DocErrorBoundary name="NSBoxColor">
|
|
176
|
+
<NSBoxColor title="Sample" required={false} />
|
|
177
|
+
</DocErrorBoundary>
|
|
178
|
+
|
|
179
|
+
<NSLineText title="NSBoxCombo" />
|
|
180
|
+
<DocErrorBoundary name="NSBoxCombo">
|
|
181
|
+
<NSBoxCombo title="Sample" required={false} multiple={false} getOptions={() => []} />
|
|
182
|
+
</DocErrorBoundary>
|
|
183
|
+
|
|
184
|
+
<NSLineText title="NSBoxDate" />
|
|
185
|
+
<DocErrorBoundary name="NSBoxDate">
|
|
186
|
+
<NSBoxDate title="Sample" required={false} />
|
|
187
|
+
</DocErrorBoundary>
|
|
188
|
+
|
|
189
|
+
<NSLineText title="NSBoxDateRange" />
|
|
190
|
+
<DocErrorBoundary name="NSBoxDateRange">
|
|
191
|
+
<NSBoxDateRange title="Sample" required={false} />
|
|
192
|
+
</DocErrorBoundary>
|
|
193
|
+
|
|
194
|
+
<NSLineText title="NSBoxDateTime" />
|
|
195
|
+
<DocErrorBoundary name="NSBoxDateTime">
|
|
196
|
+
<NSBoxDateTime title="Sample" required={false} />
|
|
197
|
+
</DocErrorBoundary>
|
|
198
|
+
|
|
199
|
+
<NSLineText title="NSBoxDateTimeRange" />
|
|
200
|
+
<DocErrorBoundary name="NSBoxDateTimeRange">
|
|
201
|
+
<NSBoxDateTimeRange title="Sample" required={false} />
|
|
202
|
+
</DocErrorBoundary>
|
|
203
|
+
|
|
204
|
+
<NSLineText title="NSBoxDouble" />
|
|
205
|
+
<DocErrorBoundary name="NSBoxDouble">
|
|
206
|
+
<NSBoxDouble title="Sample" required={false} />
|
|
207
|
+
</DocErrorBoundary>
|
|
208
|
+
|
|
209
|
+
<NSLineText title="NSBoxDuration" />
|
|
210
|
+
<DocErrorBoundary name="NSBoxDuration">
|
|
211
|
+
<NSBoxDuration title="Sample" required={false} />
|
|
212
|
+
</DocErrorBoundary>
|
|
213
|
+
|
|
214
|
+
<NSLineText title="NSBoxDynamic" />
|
|
215
|
+
<DocErrorBoundary name="NSBoxDynamic">
|
|
216
|
+
{React.createElement(NSBoxDynamic as any, { title: "Sample", name: "dyn", variable: {} })}
|
|
217
|
+
</DocErrorBoundary>
|
|
218
|
+
|
|
219
|
+
<NSLineText title="NSBoxDynamics" />
|
|
220
|
+
<DocErrorBoundary name="NSBoxDynamics">
|
|
221
|
+
<NSBoxDynamics name="sample" variables={[]} />
|
|
222
|
+
</DocErrorBoundary>
|
|
223
|
+
|
|
224
|
+
<NSLineText title="NSBoxEmail" />
|
|
225
|
+
<DocErrorBoundary name="NSBoxEmail">
|
|
226
|
+
<NSBoxEmail title="Sample" required={false} />
|
|
227
|
+
</DocErrorBoundary>
|
|
228
|
+
|
|
229
|
+
<NSLineText title="NSBoxEntity" />
|
|
230
|
+
<DocErrorBoundary name="NSBoxEntity">
|
|
231
|
+
{React.createElement(NSBoxEntity as any, { title: "Sample", required: false, multiple: false, getTitle: (x: any) => x, getValue: (x: any) => x, getSort: () => null, list: async () => ({ count: 0, rows: [] }), table_name: "sample" })}
|
|
232
|
+
</DocErrorBoundary>
|
|
233
|
+
|
|
234
|
+
<NSLineText title="NSBoxEnum" />
|
|
235
|
+
<DocErrorBoundary name="NSBoxEnum">
|
|
236
|
+
<NSBoxEnum title="Sample" required={false} multiple={false} getEnumObject={() => ({})} />
|
|
237
|
+
</DocErrorBoundary>
|
|
238
|
+
|
|
239
|
+
<NSLineText title="NSBoxFile" />
|
|
240
|
+
<DocErrorBoundary name="NSBoxFile">
|
|
241
|
+
<NSBoxFile title="Sample" required={false} />
|
|
242
|
+
</DocErrorBoundary>
|
|
243
|
+
|
|
244
|
+
<NSLineText title="NSBoxFilePath" />
|
|
245
|
+
<DocErrorBoundary name="NSBoxFilePath">
|
|
246
|
+
<NSBoxFilePath title="Sample" required={false} />
|
|
247
|
+
</DocErrorBoundary>
|
|
248
|
+
|
|
249
|
+
<NSLineText title="NSBoxFont" />
|
|
250
|
+
<DocErrorBoundary name="NSBoxFont">
|
|
251
|
+
<NSBoxFont title="Sample" required={false} />
|
|
252
|
+
</DocErrorBoundary>
|
|
253
|
+
|
|
254
|
+
<NSLineText title="NSBoxIPV4" />
|
|
255
|
+
<DocErrorBoundary name="NSBoxIPV4">
|
|
256
|
+
<NSBoxIPV4 title="Sample" required={false} />
|
|
257
|
+
</DocErrorBoundary>
|
|
258
|
+
|
|
259
|
+
<NSLineText title="NSBoxIPV4Range" />
|
|
260
|
+
<DocErrorBoundary name="NSBoxIPV4Range">
|
|
261
|
+
<NSBoxIPV4Range title="Sample" required={false} />
|
|
262
|
+
</DocErrorBoundary>
|
|
263
|
+
|
|
264
|
+
<NSLineText title="NSBoxIPV6" />
|
|
265
|
+
<DocErrorBoundary name="NSBoxIPV6">
|
|
266
|
+
<NSBoxIPV6 title="Sample" required={false} />
|
|
267
|
+
</DocErrorBoundary>
|
|
268
|
+
|
|
269
|
+
<NSLineText title="NSBoxIPV6Range" />
|
|
270
|
+
<DocErrorBoundary name="NSBoxIPV6Range">
|
|
271
|
+
<NSBoxIPV6Range title="Sample" required={false} />
|
|
272
|
+
</DocErrorBoundary>
|
|
273
|
+
|
|
274
|
+
<NSLineText title="NSBoxInteger" />
|
|
275
|
+
<DocErrorBoundary name="NSBoxInteger">
|
|
276
|
+
<NSBoxInteger title="Sample" required={false} />
|
|
277
|
+
</DocErrorBoundary>
|
|
278
|
+
|
|
279
|
+
<NSLineText title="NSBoxMoney" />
|
|
280
|
+
<DocErrorBoundary name="NSBoxMoney">
|
|
281
|
+
<NSBoxMoney title="Sample" required={false} />
|
|
282
|
+
</DocErrorBoundary>
|
|
283
|
+
|
|
284
|
+
<NSLineText title="NSBoxOptions" />
|
|
285
|
+
<DocErrorBoundary name="NSBoxOptions">
|
|
286
|
+
<NSBoxOptions title="Sample" required={false} multiple={false} options={[{ value: "a", title: "A" }]} />
|
|
287
|
+
</DocErrorBoundary>
|
|
288
|
+
|
|
289
|
+
<NSLineText title="NSBoxPhone" />
|
|
290
|
+
<DocErrorBoundary name="NSBoxPhone">
|
|
291
|
+
<NSBoxPhone title="Sample" required={false} />
|
|
292
|
+
</DocErrorBoundary>
|
|
293
|
+
|
|
294
|
+
<NSLineText title="NSBoxRadio" />
|
|
295
|
+
<DocErrorBoundary name="NSBoxRadio">
|
|
296
|
+
<NSBoxRadio title="Sample" required={false} />
|
|
297
|
+
</DocErrorBoundary>
|
|
298
|
+
|
|
299
|
+
<NSLineText title="NSBoxSchemaBase" />
|
|
300
|
+
<DocErrorBoundary name="NSBoxSchemaBase">
|
|
301
|
+
{React.createElement(NSBoxSchemaBase as any, { title: "Sample", name: "schema", required: false })}
|
|
302
|
+
</DocErrorBoundary>
|
|
303
|
+
|
|
304
|
+
<NSLineText title="NSBoxSchemaVariable" />
|
|
305
|
+
<DocErrorBoundary name="NSBoxSchemaVariable">
|
|
306
|
+
{React.createElement(NSBoxSchemaVariable as any, { title: "Sample", name: "schemavar", required: false })}
|
|
307
|
+
</DocErrorBoundary>
|
|
308
|
+
|
|
309
|
+
<NSLineText title="NSBoxSearch" />
|
|
310
|
+
<DocErrorBoundary name="NSBoxSearch">
|
|
311
|
+
<NSBoxSearch title="Sample" required={false} />
|
|
312
|
+
</DocErrorBoundary>
|
|
313
|
+
|
|
314
|
+
<NSLineText title="NSBoxSensitive" />
|
|
315
|
+
<DocErrorBoundary name="NSBoxSensitive">
|
|
316
|
+
<NSBoxSensitive title="Sample" required={false} />
|
|
317
|
+
</DocErrorBoundary>
|
|
318
|
+
|
|
319
|
+
<NSLineText title="NSBoxString" />
|
|
320
|
+
<DocErrorBoundary name="NSBoxString">
|
|
321
|
+
<NSBoxString title="Sample" required={false} />
|
|
322
|
+
</DocErrorBoundary>
|
|
323
|
+
|
|
324
|
+
<NSLineText title="NSBoxTextArea" />
|
|
325
|
+
<DocErrorBoundary name="NSBoxTextArea">
|
|
326
|
+
<NSBoxTextArea title="Sample" required={false} />
|
|
327
|
+
</DocErrorBoundary>
|
|
328
|
+
|
|
329
|
+
<NSLineText title="NSBoxTime" />
|
|
330
|
+
<DocErrorBoundary name="NSBoxTime">
|
|
331
|
+
<NSBoxTime title="Sample" required={false} />
|
|
332
|
+
</DocErrorBoundary>
|
|
333
|
+
|
|
334
|
+
<NSLineText title="NSBoxTimeRange" />
|
|
335
|
+
<DocErrorBoundary name="NSBoxTimeRange">
|
|
336
|
+
<NSBoxTimeRange title="Sample" required={false} />
|
|
337
|
+
</DocErrorBoundary>
|
|
338
|
+
|
|
339
|
+
<NSLineText title="NSBoxTimeZone" />
|
|
340
|
+
<DocErrorBoundary name="NSBoxTimeZone">
|
|
341
|
+
<NSBoxTimeZone title="Sample" required={false} />
|
|
342
|
+
</DocErrorBoundary>
|
|
343
|
+
|
|
344
|
+
<NSLineText title="NSBoxURL" />
|
|
345
|
+
<DocErrorBoundary name="NSBoxURL">
|
|
346
|
+
<NSBoxURL title="Sample" required={false} />
|
|
347
|
+
</DocErrorBoundary>
|
|
348
|
+
|
|
349
|
+
<NSLineText title="NSBoxVersion" />
|
|
350
|
+
<DocErrorBoundary name="NSBoxVersion">
|
|
351
|
+
<NSBoxVersion title="Sample" required={false} />
|
|
352
|
+
</DocErrorBoundary>
|
|
353
|
+
|
|
354
|
+
<NSLineText title="NSButton" />
|
|
355
|
+
<DocErrorBoundary name="NSButton">
|
|
356
|
+
<NSButton title="Sample" onClick={{ action: () => { }, showLoading: false }} />
|
|
357
|
+
</DocErrorBoundary>
|
|
358
|
+
|
|
359
|
+
<NSLineText title="NSButtonBlue" />
|
|
360
|
+
<DocErrorBoundary name="NSButtonBlue">
|
|
361
|
+
<NSButtonBlue title="Sample" onClick={{ action: () => { }, showLoading: false }} />
|
|
362
|
+
</DocErrorBoundary>
|
|
363
|
+
|
|
364
|
+
<NSLineText title="NSButtonGreen" />
|
|
365
|
+
<DocErrorBoundary name="NSButtonGreen">
|
|
366
|
+
<NSButtonGreen title="Sample" onClick={{ action: () => { }, showLoading: false }} />
|
|
367
|
+
</DocErrorBoundary>
|
|
368
|
+
|
|
369
|
+
<NSLineText title="NSButtonRed" />
|
|
370
|
+
<DocErrorBoundary name="NSButtonRed">
|
|
371
|
+
<NSButtonRed title="Sample" onClick={{ action: () => { }, showLoading: false }} />
|
|
372
|
+
</DocErrorBoundary>
|
|
373
|
+
|
|
374
|
+
<NSLineText title="NSCard" />
|
|
375
|
+
<DocErrorBoundary name="NSCard">
|
|
376
|
+
<NSCard title="Sample" link={{ href: "#" }} />
|
|
377
|
+
</DocErrorBoundary>
|
|
378
|
+
|
|
379
|
+
<NSLineText title="NSCardScreenshot" />
|
|
380
|
+
<DocErrorBoundary name="NSCardScreenshot">
|
|
381
|
+
{React.createElement(NSCardScreenshot as any, { key: 1, screenshot: "https://static.namirasoft.com/image/namirasoft/access/logo/base.png", timeSpent: "1h", onDelete: () => { } })}
|
|
382
|
+
</DocErrorBoundary>
|
|
383
|
+
|
|
384
|
+
{/* <NSLineText title="NSChartBar" />
|
|
385
|
+
<DocErrorBoundary name="NSChartBar">
|
|
386
|
+
<NSChartBar labels={["A", "B"]} dataset={[{ label: "s", data: [1, 2] }]} range={{ min: 0, max: 10 }} />
|
|
387
|
+
</DocErrorBoundary>
|
|
388
|
+
|
|
389
|
+
<NSLineText title="NSChartDoughnut" />
|
|
390
|
+
<DocErrorBoundary name="NSChartDoughnut">
|
|
391
|
+
<NSChartDoughnut title="Sample" datas={[1, 2, 3]} labels={["A", "B", "C"]} />
|
|
392
|
+
</DocErrorBoundary>
|
|
393
|
+
|
|
394
|
+
<NSLineText title="NSChartLine" />
|
|
395
|
+
<DocErrorBoundary name="NSChartLine">
|
|
396
|
+
<NSChartLine labels={["A", "B"]} dataset={[{ label: "s", data: [1, 2] }]} range={{ min: 0, max: 10 }} />
|
|
397
|
+
</DocErrorBoundary>
|
|
398
|
+
|
|
399
|
+
<NSLineText title="NSChartPie" />
|
|
400
|
+
<DocErrorBoundary name="NSChartPie">
|
|
401
|
+
<NSChartPie datas={[1, 2, 3]} labels={["A", "B", "C"]} />
|
|
402
|
+
</DocErrorBoundary>
|
|
403
|
+
|
|
404
|
+
<NSLineText title="NSChartRange" />
|
|
405
|
+
<DocErrorBoundary name="NSChartRange">
|
|
406
|
+
<NSChartRange />
|
|
407
|
+
</DocErrorBoundary> */}
|
|
408
|
+
|
|
409
|
+
<NSLineText title="NSColumn" />
|
|
410
|
+
<DocErrorBoundary name="NSColumn">
|
|
411
|
+
<NSColumn>Sample</NSColumn>
|
|
412
|
+
</DocErrorBoundary>
|
|
413
|
+
|
|
414
|
+
<NSLineText title="NSCopy" />
|
|
415
|
+
<DocErrorBoundary name="NSCopy">
|
|
416
|
+
<NSCopy>Sample</NSCopy>
|
|
417
|
+
</DocErrorBoundary>
|
|
418
|
+
|
|
419
|
+
<NSLineText title="NSCopyBox" />
|
|
420
|
+
<DocErrorBoundary name="NSCopyBox">
|
|
421
|
+
<NSCopyBox value="Sample" />
|
|
422
|
+
</DocErrorBoundary>
|
|
423
|
+
|
|
424
|
+
<NSLineText title="NSDialog" />
|
|
425
|
+
<DocErrorBoundary name="NSDialog">
|
|
426
|
+
<NSButtonBlue title="Open NSDialog" onClick={{ action: () => this.openDialog("NSDialog"), showLoading: false }} />
|
|
427
|
+
{this.state.openDialog === "NSDialog" && <NSDialog onClose={this.closeDialog}>Sample</NSDialog>}
|
|
428
|
+
</DocErrorBoundary>
|
|
429
|
+
|
|
430
|
+
<NSLineText title="NSDialogBox" />
|
|
431
|
+
<DocErrorBoundary name="NSDialogBox">
|
|
432
|
+
<NSButtonBlue title="Open NSDialogBox" onClick={{ action: () => this.openDialog("NSDialogBox"), showLoading: false }} />
|
|
433
|
+
{this.state.openDialog === "NSDialogBox" && React.createElement(NSDialogBox as any, { onClose: this.closeDialog, children_ref: React.createRef<any>() })}
|
|
434
|
+
</DocErrorBoundary>
|
|
435
|
+
|
|
436
|
+
<NSLineText title="NSDialogBoxDate" />
|
|
437
|
+
<DocErrorBoundary name="NSDialogBoxDate">
|
|
438
|
+
<NSButtonBlue title="Open NSDialogBoxDate" onClick={{ action: () => this.openDialog("NSDialogBoxDate"), showLoading: false }} />
|
|
439
|
+
{this.state.openDialog === "NSDialogBoxDate" && <NSDialogBoxDate onClose={this.closeDialog} box={{ title: "Sample", required: false }} />}
|
|
440
|
+
</DocErrorBoundary>
|
|
441
|
+
|
|
442
|
+
<NSLineText title="NSDialogBoxDateTime" />
|
|
443
|
+
<DocErrorBoundary name="NSDialogBoxDateTime">
|
|
444
|
+
<NSButtonBlue title="Open NSDialogBoxDateTime" onClick={{ action: () => this.openDialog("NSDialogBoxDateTime"), showLoading: false }} />
|
|
445
|
+
{this.state.openDialog === "NSDialogBoxDateTime" && <NSDialogBoxDateTime onClose={this.closeDialog} box={{ title: "Sample", required: false }} />}
|
|
446
|
+
</DocErrorBoundary>
|
|
447
|
+
|
|
448
|
+
<NSLineText title="NSDialogBoxPhone" />
|
|
449
|
+
<DocErrorBoundary name="NSDialogBoxPhone">
|
|
450
|
+
<NSButtonBlue title="Open NSDialogBoxPhone" onClick={{ action: () => this.openDialog("NSDialogBoxPhone"), showLoading: false }} />
|
|
451
|
+
{this.state.openDialog === "NSDialogBoxPhone" && <NSDialogBoxPhone onClose={this.closeDialog} box={{ title: "Sample", required: false }} />}
|
|
452
|
+
</DocErrorBoundary>
|
|
453
|
+
|
|
454
|
+
<NSLineText title="NSDialogBoxString" />
|
|
455
|
+
<DocErrorBoundary name="NSDialogBoxString">
|
|
456
|
+
<NSButtonBlue title="Open NSDialogBoxString" onClick={{ action: () => this.openDialog("NSDialogBoxString"), showLoading: false }} />
|
|
457
|
+
{this.state.openDialog === "NSDialogBoxString" && <NSDialogBoxString onClose={this.closeDialog} box={{ title: "Sample", required: false }} />}
|
|
458
|
+
</DocErrorBoundary>
|
|
459
|
+
|
|
460
|
+
<NSLineText title="NSDialogDelete" />
|
|
461
|
+
<DocErrorBoundary name="NSDialogDelete">
|
|
462
|
+
<NSButtonBlue title="Open NSDialogDelete" onClick={{ action: () => this.openDialog("NSDialogDelete"), showLoading: false }} />
|
|
463
|
+
{this.state.openDialog === "NSDialogDelete" && <NSDialogDelete onClose={this.closeDialog} onYes={{ action: () => { this.closeDialog(); }, showLoading: false }} onNo={{ action: () => { this.closeDialog(); }, showLoading: false }} show_as_code={false} />}
|
|
464
|
+
</DocErrorBoundary>
|
|
465
|
+
|
|
466
|
+
<NSLineText title="NSDialogInfo" />
|
|
467
|
+
<DocErrorBoundary name="NSDialogInfo">
|
|
468
|
+
<NSButtonBlue title="Open NSDialogInfo" onClick={{ action: () => this.openDialog("NSDialogInfo"), showLoading: false }} />
|
|
469
|
+
{this.state.openDialog === "NSDialogInfo" && <NSDialogInfo onClose={this.closeDialog} show_as_code={false} />}
|
|
470
|
+
</DocErrorBoundary>
|
|
471
|
+
|
|
472
|
+
<NSLineText title="NSDialogPageSelection" />
|
|
473
|
+
<DocErrorBoundary name="NSDialogPageSelection">
|
|
474
|
+
<NSButtonBlue title="Open NSDialogPageSelection" onClick={{ action: () => this.openDialog("NSDialogPageSelection"), showLoading: false }} />
|
|
475
|
+
{this.state.openDialog === "NSDialogPageSelection" && React.createElement(NSDialogPageSelection as any, { current_page: 1, current_size: 25, max_page: 10, onClose: this.closeDialog, getItems: async () => [], onFinish: async () => { this.closeDialog(); } })}
|
|
476
|
+
</DocErrorBoundary>
|
|
477
|
+
|
|
478
|
+
<NSLineText title="NSDownTimer" />
|
|
479
|
+
<DocErrorBoundary name="NSDownTimer">
|
|
480
|
+
<NSDownTimer date={new Date()} text="Sample" />
|
|
481
|
+
</DocErrorBoundary>
|
|
482
|
+
|
|
483
|
+
<NSLineText title="NSDownload" />
|
|
484
|
+
<DocErrorBoundary name="NSDownload">
|
|
485
|
+
<NSDownload releaseDate="2025-01-01" />
|
|
486
|
+
</DocErrorBoundary>
|
|
487
|
+
|
|
488
|
+
<NSLineText title="NSElectronicCard" />
|
|
489
|
+
<DocErrorBoundary name="NSElectronicCard">
|
|
490
|
+
<NSElectronicCard src="https://static.namirasoft.com/image/namirasoft/access/logo/base.png" title="Sample" cardNumber="0000000000000000" />
|
|
491
|
+
</DocErrorBoundary>
|
|
492
|
+
|
|
493
|
+
<NSLineText title="NSEntityCardBackground" />
|
|
494
|
+
<DocErrorBoundary name="NSEntityCardBackground">
|
|
495
|
+
<NSEntityCardBackground title="Sample" />
|
|
496
|
+
</DocErrorBoundary>
|
|
497
|
+
|
|
498
|
+
<NSLineText title="NSFilterBox" />
|
|
499
|
+
<DocErrorBoundary name="NSFilterBox">
|
|
500
|
+
<NSFilterBox getTables={() => []} getMoreTables={async () => []} getValues={null} />
|
|
501
|
+
</DocErrorBoundary>
|
|
502
|
+
|
|
503
|
+
<NSLineText title="NSFilterBoxItems" />
|
|
504
|
+
<DocErrorBoundary name="NSFilterBoxItems">
|
|
505
|
+
<NSFilterBoxItems filterItems={[]} onClearFilterItems={() => { }} onRemoveFilterItem={() => { }} />
|
|
506
|
+
</DocErrorBoundary>
|
|
507
|
+
|
|
508
|
+
<NSLineText title="NSFilterItem" />
|
|
509
|
+
<DocErrorBoundary name="NSFilterItem">
|
|
510
|
+
{React.createElement(NSFilterItem as any, { item: { toString: () => "Sample" }, removeSelected: () => { } })}
|
|
511
|
+
</DocErrorBoundary>
|
|
512
|
+
|
|
513
|
+
<NSLineText title="NSFooter" />
|
|
514
|
+
<DocErrorBoundary name="NSFooter">
|
|
515
|
+
<NSFooter scope="" name="sample" logo="https://static.namirasoft.com/image/namirasoft/access/logo/base.png" isLoggedIn={() => true} />
|
|
516
|
+
</DocErrorBoundary>
|
|
517
|
+
|
|
518
|
+
<NSLineText title="NSGauge" />
|
|
519
|
+
<DocErrorBoundary name="NSGauge">
|
|
520
|
+
<NSGauge total={100} current={50} showPercent colors={gaugeColors} />
|
|
521
|
+
</DocErrorBoundary>
|
|
522
|
+
|
|
523
|
+
<NSLineText title="NSGaugeDate" />
|
|
524
|
+
<DocErrorBoundary name="NSGaugeDate">
|
|
525
|
+
<NSGaugeDate title="Sample" from={TimeOperation.daysAgo(1, new Date())} to={TimeOperation.daysAgo(-1, new Date())} colors={gaugeColors} />
|
|
526
|
+
</DocErrorBoundary>
|
|
527
|
+
|
|
528
|
+
<NSLineText title="NSGaugeNumber" />
|
|
529
|
+
<DocErrorBoundary name="NSGaugeNumber">
|
|
530
|
+
<NSGaugeNumber title="Sample" total={100} current={50} colors={gaugeColors} />
|
|
531
|
+
</DocErrorBoundary>
|
|
532
|
+
|
|
533
|
+
<NSLineText title="NSHeader" />
|
|
534
|
+
<DocErrorBoundary name="NSHeader">
|
|
535
|
+
{React.createElement(NSHeader as any, { right: { icons: [] }, left: { scope: "", name: "sample", logo: "" }, isLoggedIn: () => true, notifier: {} })}
|
|
536
|
+
</DocErrorBoundary>
|
|
537
|
+
|
|
538
|
+
<NSLineText title="NSHeaderScreenshot" />
|
|
539
|
+
<DocErrorBoundary name="NSHeaderScreenshot">
|
|
540
|
+
<NSHeaderScreenshot project="P" task="T" time="1h" Countdown="00:00" />
|
|
541
|
+
</DocErrorBoundary>
|
|
542
|
+
|
|
543
|
+
<NSLineText title="NSID" />
|
|
544
|
+
<DocErrorBoundary name="NSID">
|
|
545
|
+
<NSID id="sample" map={null} storage={null} />
|
|
546
|
+
</DocErrorBoundary>
|
|
547
|
+
|
|
548
|
+
<NSLineText title="NSInfo" />
|
|
549
|
+
<DocErrorBoundary name="NSInfo">
|
|
550
|
+
<NSInfo text="Sample" />
|
|
551
|
+
</DocErrorBoundary>
|
|
552
|
+
|
|
553
|
+
<NSLineText title="NSLabel" />
|
|
554
|
+
<DocErrorBoundary name="NSLabel">
|
|
555
|
+
<NSLabel title="Sample" />
|
|
556
|
+
</DocErrorBoundary>
|
|
557
|
+
|
|
558
|
+
<NSLineText title="NSLabelErrorNotifier" />
|
|
559
|
+
<DocErrorBoundary name="NSLabelErrorNotifier">
|
|
560
|
+
<NSLabelErrorNotifier clearError={() => { }} />
|
|
561
|
+
</DocErrorBoundary>
|
|
562
|
+
|
|
563
|
+
<NSLineText title="NSLabelSensitive" />
|
|
564
|
+
<DocErrorBoundary name="NSLabelSensitive">
|
|
565
|
+
<NSLabelSensitive value="Sample" sensitive={false} />
|
|
566
|
+
</DocErrorBoundary>
|
|
567
|
+
|
|
568
|
+
<NSLineText title="NSLine" />
|
|
569
|
+
<DocErrorBoundary name="NSLine">
|
|
570
|
+
<NSLine />
|
|
571
|
+
</DocErrorBoundary>
|
|
572
|
+
|
|
573
|
+
<NSLineText title="NSLink" />
|
|
574
|
+
<DocErrorBoundary name="NSLink">
|
|
575
|
+
<NSLink href="#">Sample</NSLink>
|
|
576
|
+
</DocErrorBoundary>
|
|
577
|
+
|
|
578
|
+
<NSLineText title="NSLinkBlue" />
|
|
579
|
+
<DocErrorBoundary name="NSLinkBlue">
|
|
580
|
+
<NSLinkBlue href="#">Sample</NSLinkBlue>
|
|
581
|
+
</DocErrorBoundary>
|
|
582
|
+
|
|
583
|
+
<NSLineText title="NSLinkGreen" />
|
|
584
|
+
<DocErrorBoundary name="NSLinkGreen">
|
|
585
|
+
<NSLinkGreen href="#">Sample</NSLinkGreen>
|
|
586
|
+
</DocErrorBoundary>
|
|
587
|
+
|
|
588
|
+
<NSLineText title="NSLinkRed" />
|
|
589
|
+
<DocErrorBoundary name="NSLinkRed">
|
|
590
|
+
<NSLinkRed href="#">Sample</NSLinkRed>
|
|
591
|
+
</DocErrorBoundary>
|
|
592
|
+
|
|
593
|
+
<NSLineText title="NSListGrouped" />
|
|
594
|
+
<DocErrorBoundary name="NSListGrouped">
|
|
595
|
+
<NSListGrouped groups={[]} onClick={() => { }} onClose={() => { }} />
|
|
596
|
+
</DocErrorBoundary>
|
|
597
|
+
|
|
598
|
+
<NSLineText title="NSListProduct" />
|
|
599
|
+
<DocErrorBoundary name="NSListProduct">
|
|
600
|
+
<NSListProduct scope="" name="sample" />
|
|
601
|
+
</DocErrorBoundary>
|
|
602
|
+
|
|
603
|
+
<NSLineText title="NSLoading" />
|
|
604
|
+
<DocErrorBoundary name="NSLoading">
|
|
605
|
+
<NSLoading />
|
|
606
|
+
</DocErrorBoundary>
|
|
607
|
+
|
|
608
|
+
<NSLineText title="NSMegaMenu" />
|
|
609
|
+
<DocErrorBoundary name="NSMegaMenu">
|
|
610
|
+
{React.createElement(NSMegaMenu as any, { items: [], selected: { id: 0 } })}
|
|
611
|
+
</DocErrorBoundary>
|
|
612
|
+
|
|
613
|
+
<NSLineText title="NSMenuAction" />
|
|
614
|
+
<DocErrorBoundary name="NSMenuAction">
|
|
615
|
+
<NSMenuAction name="Sample" items={[]} />
|
|
616
|
+
</DocErrorBoundary>
|
|
617
|
+
|
|
618
|
+
<NSLineText title="NSMenuButton" />
|
|
619
|
+
<DocErrorBoundary name="NSMenuButton">
|
|
620
|
+
<NSMenuButton />
|
|
621
|
+
</DocErrorBoundary>
|
|
622
|
+
|
|
623
|
+
<NSLineText title="NSNoData" />
|
|
624
|
+
<DocErrorBoundary name="NSNoData">
|
|
625
|
+
<NSNoData lable="No Data" />
|
|
626
|
+
</DocErrorBoundary>
|
|
627
|
+
|
|
628
|
+
<NSLineText title="NSPagination" />
|
|
629
|
+
<DocErrorBoundary name="NSPagination">
|
|
630
|
+
<NSPagination totalItems={100} onPageChange={() => { }} />
|
|
631
|
+
</DocErrorBoundary>
|
|
632
|
+
|
|
633
|
+
<NSLineText title="NSPanel" />
|
|
634
|
+
<DocErrorBoundary name="NSPanel">
|
|
635
|
+
<NSPanel>Sample</NSPanel>
|
|
636
|
+
</DocErrorBoundary>
|
|
637
|
+
|
|
638
|
+
<NSLineText title="NSPanelAccordion" />
|
|
639
|
+
<DocErrorBoundary name="NSPanelAccordion">
|
|
640
|
+
<NSPanelAccordion getHeader={() => "Sample"}>Sample</NSPanelAccordion>
|
|
641
|
+
</DocErrorBoundary>
|
|
642
|
+
|
|
643
|
+
<NSLineText title="NSProductSearch" />
|
|
644
|
+
<DocErrorBoundary name="NSProductSearch">
|
|
645
|
+
<NSProductSearch search="sample" />
|
|
646
|
+
</DocErrorBoundary>
|
|
647
|
+
|
|
648
|
+
<NSLineText title="NSProgressBar" />
|
|
649
|
+
<DocErrorBoundary name="NSProgressBar">
|
|
650
|
+
{React.createElement(NSProgressBar as any, { progress: 50 })}
|
|
651
|
+
</DocErrorBoundary>
|
|
652
|
+
|
|
653
|
+
<NSLineText title="NSRange" />
|
|
654
|
+
<DocErrorBoundary name="NSRange">
|
|
655
|
+
<NSRange data={[]} />
|
|
656
|
+
</DocErrorBoundary>
|
|
657
|
+
|
|
658
|
+
<NSLineText title="NSReorderDialog" />
|
|
659
|
+
<DocErrorBoundary name="NSReorderDialog">
|
|
660
|
+
<NSButtonBlue title="Open NSReorderDialog" onClick={{ action: () => this.openDialog("NSReorderDialog"), showLoading: false }} />
|
|
661
|
+
{this.state.openDialog === "NSReorderDialog" && <NSReorderDialog visibleColumnKeys={[]} getColumns={() => []} onCancel={this.closeDialog} onApply={() => { this.closeDialog(); }} />}
|
|
662
|
+
</DocErrorBoundary>
|
|
663
|
+
|
|
664
|
+
<NSLineText title="NSRepeater" />
|
|
665
|
+
<DocErrorBoundary name="NSRepeater">
|
|
666
|
+
{React.createElement(NSRepeater as any, { title: "Sample", required: false, createItem: () => null, getValue: () => null, setValue: () => { }, isEmpty: () => true })}
|
|
667
|
+
</DocErrorBoundary>
|
|
668
|
+
|
|
669
|
+
<NSLineText title="NSRepeaterNSBoxSchemaVariable" />
|
|
670
|
+
<DocErrorBoundary name="NSRepeaterNSBoxSchemaVariable">
|
|
671
|
+
<NSRepeaterNSBoxSchemaVariable name="sample" title="Sample" required={false} item_title="Item" />
|
|
672
|
+
</DocErrorBoundary>
|
|
673
|
+
|
|
674
|
+
<NSLineText title="NSRepeaterNSTag" />
|
|
675
|
+
<DocErrorBoundary name="NSRepeaterNSTag">
|
|
676
|
+
<NSRepeaterNSTag name="sample" title="Sample" required={false} />
|
|
677
|
+
</DocErrorBoundary>
|
|
678
|
+
|
|
679
|
+
<NSLineText title="NSRow" />
|
|
680
|
+
<DocErrorBoundary name="NSRow">
|
|
681
|
+
<NSRow>Sample</NSRow>
|
|
682
|
+
</DocErrorBoundary>
|
|
683
|
+
|
|
684
|
+
<NSLineText title="NSSection" />
|
|
685
|
+
<DocErrorBoundary name="NSSection">
|
|
686
|
+
<NSSection>Sample</NSSection>
|
|
687
|
+
</DocErrorBoundary>
|
|
688
|
+
|
|
689
|
+
<NSLineText title="NSSectionCards" />
|
|
690
|
+
<DocErrorBoundary name="NSSectionCards">
|
|
691
|
+
<NSSectionCards cards={[]} />
|
|
692
|
+
</DocErrorBoundary>
|
|
693
|
+
|
|
694
|
+
<NSLineText title="NSSectionTiles" />
|
|
695
|
+
<DocErrorBoundary name="NSSectionTiles">
|
|
696
|
+
<NSSectionTiles tiles={[]} />
|
|
697
|
+
</DocErrorBoundary>
|
|
698
|
+
|
|
699
|
+
<NSLineText title="NSSectionTitle" />
|
|
700
|
+
<DocErrorBoundary name="NSSectionTitle">
|
|
701
|
+
<NSSectionTitle title="Sample">Sample</NSSectionTitle>
|
|
702
|
+
</DocErrorBoundary>
|
|
703
|
+
|
|
704
|
+
<NSLineText title="NSSortDialog" />
|
|
705
|
+
<DocErrorBoundary name="NSSortDialog">
|
|
706
|
+
<NSButtonBlue title="Open NSSortDialog" onClick={{ action: () => this.openDialog("NSSortDialog"), showLoading: false }} />
|
|
707
|
+
{this.state.openDialog === "NSSortDialog" && React.createElement(NSSortDialog as any, { sorts: [], getColumns: () => [], onCancel: this.closeDialog, onApply: () => { this.closeDialog(); } })}
|
|
708
|
+
</DocErrorBoundary>
|
|
709
|
+
|
|
710
|
+
<NSLineText title="NSSpace" />
|
|
711
|
+
<DocErrorBoundary name="NSSpace">
|
|
712
|
+
<NSSpace size={NSSpaceSizeType.SMALL} />
|
|
713
|
+
</DocErrorBoundary>
|
|
714
|
+
|
|
715
|
+
<NSLineText title="NSSplitter" />
|
|
716
|
+
<DocErrorBoundary name="NSSplitter">
|
|
717
|
+
<NSSplitter />
|
|
718
|
+
</DocErrorBoundary>
|
|
719
|
+
|
|
720
|
+
<NSLineText title="NSTabPage" />
|
|
721
|
+
<DocErrorBoundary name="NSTabPage">
|
|
722
|
+
<NSTabPage tabs={[]} />
|
|
723
|
+
</DocErrorBoundary>
|
|
724
|
+
|
|
725
|
+
<NSLineText title="NSTable" />
|
|
726
|
+
<DocErrorBoundary name="NSTable">
|
|
727
|
+
{React.createElement(NSTable as any, { name: "sample_docs", columns: [], getRowKey: (item: any) => item?.value?.id, getRows: async () => ({ count: 0, rows: [] }) })}
|
|
728
|
+
</DocErrorBoundary>
|
|
729
|
+
|
|
730
|
+
<NSLineText title="NSTableChart" />
|
|
731
|
+
<DocErrorBoundary name="NSTableChart">
|
|
732
|
+
{false && React.createElement(NSTableChart as any, { name: "sample", columns: [], rows: [], selectedRows: [], onClose: () => { } })}
|
|
733
|
+
</DocErrorBoundary>
|
|
734
|
+
|
|
735
|
+
<NSLineText title="NSTag" />
|
|
736
|
+
<DocErrorBoundary name="NSTag">
|
|
737
|
+
<NSTag />
|
|
738
|
+
</DocErrorBoundary>
|
|
739
|
+
|
|
740
|
+
<NSLineText title="NSTile" />
|
|
741
|
+
<DocErrorBoundary name="NSTile">
|
|
742
|
+
<NSTile title="Sample" description="Sample" image={{ src: "https://static.namirasoft.com/image/namirasoft/access/logo/base.png" }} />
|
|
743
|
+
</DocErrorBoundary>
|
|
744
|
+
|
|
745
|
+
<NSLineText title="NSTimelineMonthly" />
|
|
746
|
+
<DocErrorBoundary name="NSTimelineMonthly">
|
|
747
|
+
<NSTimelineMonthly data={[]} />
|
|
748
|
+
</DocErrorBoundary>
|
|
749
|
+
|
|
750
|
+
<NSLineText title="NSTitle" />
|
|
751
|
+
<DocErrorBoundary name="NSTitle">
|
|
752
|
+
<NSTitle title="Sample" />
|
|
753
|
+
</DocErrorBoundary>
|
|
754
|
+
</NSColumn>
|
|
61
755
|
<NSTable<TableRow>
|
|
62
756
|
ref={this.NSTableRef}
|
|
63
757
|
name={"table"}
|