namirasoft-site-react 1.3.58 → 1.3.60
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.js +2 -2
- package/dist/App.js.map +1 -1
- package/dist/components/NSButton.d.ts +4 -3
- package/dist/components/NSButton.js.map +1 -1
- package/dist/components/NSButtonBlue.d.ts +2 -1
- package/dist/components/NSButtonBlue.js.map +1 -1
- package/dist/components/NSButtonBlueVector.d.ts +2 -1
- package/dist/components/NSButtonBlueVector.js.map +1 -1
- package/dist/components/NSButtonGreen.d.ts +2 -1
- package/dist/components/NSButtonGreen.js.map +1 -1
- package/dist/components/NSButtonRed.d.ts +2 -1
- package/dist/components/NSButtonRed.js.map +1 -1
- package/dist/components/NSCard.d.ts +2 -1
- package/dist/components/NSCard.js.map +1 -1
- package/dist/components/NSCopyToClipboard.d.ts +13 -0
- package/dist/components/NSCopyToClipboard.js +20 -0
- package/dist/components/NSCopyToClipboard.js.map +1 -0
- package/{src/components/NSInputCopy.module.css → dist/components/NSCopyToClipboard.module.css} +4 -4
- package/dist/components/NSEntityBar.d.ts +2 -1
- package/dist/components/NSEntityBar.js.map +1 -1
- package/dist/components/NSEntityCardBackground.d.ts +2 -1
- package/dist/components/NSFooter.d.ts +2 -1
- package/dist/components/NSFooter.js.map +1 -1
- package/dist/components/NSHeader.d.ts +2 -1
- package/dist/components/NSHeader.js.map +1 -1
- package/dist/components/NSInputDate.d.ts +1 -0
- package/dist/components/NSInputDate.js +4 -3
- package/dist/components/NSInputDate.js.map +1 -1
- package/dist/components/NSInputDate.module.css +9 -0
- package/dist/components/NSInputDuration.js.map +1 -1
- package/dist/components/NSInputEmail.js +2 -2
- package/dist/components/NSInputEmail.js.map +1 -1
- package/dist/components/NSInputErrorNotifier.d.ts +5 -0
- package/dist/components/NSInputErrorNotifier.js +7 -0
- package/dist/components/NSInputErrorNotifier.js.map +1 -0
- package/dist/components/NSInputErrorNotifier.module.css +3 -0
- package/dist/components/NSInputIP.js.map +1 -1
- package/dist/components/NSInputInteger.js.map +1 -1
- package/dist/components/NSInputPhone.js.map +1 -1
- package/dist/components/NSInputPrice.js.map +1 -1
- package/dist/components/NSInputSearch.js.map +1 -1
- package/dist/components/NSInputText.js.map +1 -1
- package/dist/components/NSInputTime.js.map +1 -1
- package/dist/components/NSLayout.d.ts +4 -1
- package/dist/components/NSLayout.js +2 -1
- package/dist/components/NSLayout.js.map +1 -1
- package/dist/components/NSLayoutHeroBanner.d.ts +3 -3
- package/dist/components/NSLayoutHeroBanner.js +1 -1
- package/dist/components/NSLayoutHeroBanner.js.map +1 -1
- package/dist/components/NSLayoutTitle.d.ts +3 -4
- package/dist/components/NSLayoutTitle.js +2 -2
- package/dist/components/NSLayoutTitle.js.map +1 -1
- package/dist/components/NSLinkBlue.d.ts +2 -2
- package/dist/components/NSLinkBlue.js.map +1 -1
- package/dist/components/NSLinkGreen.d.ts +2 -1
- package/dist/components/NSLinkGreen.js.map +1 -1
- package/dist/components/NSLinkRed.d.ts +2 -1
- package/dist/components/NSLinkRed.js.map +1 -1
- package/dist/components/NSLoading.d.ts +2 -2
- package/dist/components/NSLoading.js.map +1 -1
- package/dist/components/NSNotification.d.ts +22 -0
- package/dist/components/NSNotification.js +32 -0
- package/dist/components/NSNotification.js.map +1 -0
- package/dist/components/NSNotification.module.css +32 -0
- package/dist/components/NSPagination.d.ts +2 -1
- package/dist/components/NSPagination.js.map +1 -1
- package/dist/components/NSPanel.d.ts +2 -1
- package/dist/components/NSPanel.js.map +1 -1
- package/dist/components/NSSection.d.ts +2 -1
- package/dist/components/NSSection.js.map +1 -1
- package/dist/components/NSSectionBars.d.ts +2 -1
- package/dist/components/NSSectionBars.js.map +1 -1
- package/dist/components/NSSectionCards.d.ts +2 -1
- package/dist/components/NSSectionCards.js.map +1 -1
- package/dist/components/NSSectionTitle.d.ts +2 -1
- package/dist/components/NSSectionTitle.js.map +1 -1
- package/dist/components/NSSelectBox.d.ts +8 -4
- package/dist/components/NSSelectBox.js +11 -3
- package/dist/components/NSSelectBox.js.map +1 -1
- package/dist/components/NSSpace.d.ts +2 -1
- package/dist/components/NSSpace.js.map +1 -1
- package/dist/components/NSTable.d.ts +2 -1
- package/dist/components/NSTable.js.map +1 -1
- package/dist/components/NSTitle.d.ts +2 -1
- package/dist/components/NSTitle.js.map +1 -1
- package/dist/main.d.ts +3 -2
- package/dist/main.js +3 -2
- package/dist/main.js.map +1 -1
- package/dist/props/NSButtonProps.d.ts +2 -1
- package/package.json +3 -3
- package/src/App.tsx +3 -2
- package/src/components/NSButton.tsx +5 -3
- package/src/components/NSButtonBlue.tsx +2 -1
- package/src/components/NSButtonBlueVector.tsx +2 -1
- package/src/components/NSButtonGreen.tsx +2 -1
- package/src/components/NSButtonRed.tsx +2 -1
- package/src/components/NSCard.tsx +2 -1
- package/{dist/components/NSInputCopy.module.css → src/components/NSCopyToClipboard.module.css} +4 -4
- package/src/components/NSCopyToClipboard.tsx +51 -0
- package/src/components/NSEntityBar.tsx +4 -2
- package/src/components/NSEntityCardBackground.tsx +2 -2
- package/src/components/NSFooter.tsx +9 -8
- package/src/components/NSHeader.tsx +9 -8
- package/src/components/NSInputDate.module.css +9 -0
- package/src/components/NSInputDate.tsx +20 -13
- package/src/components/NSInputDuration.tsx +10 -9
- package/src/components/NSInputEmail.tsx +2 -17
- package/src/components/NSInputErrorNotifier.module.css +3 -0
- package/src/components/NSInputErrorNotifier.tsx +28 -0
- package/src/components/NSInputFloat.tsx +1 -1
- package/src/components/NSInputIP.tsx +4 -3
- package/src/components/NSInputInteger.tsx +2 -1
- package/src/components/NSInputPhone.tsx +2 -1
- package/src/components/NSInputPrice.tsx +2 -1
- package/src/components/NSInputSearch.tsx +3 -3
- package/src/components/NSInputText.tsx +2 -1
- package/src/components/NSInputTime.tsx +2 -1
- package/src/components/NSLayout.tsx +5 -1
- package/src/components/NSLayoutHeroBanner.tsx +4 -6
- package/src/components/NSLayoutTitle.tsx +4 -6
- package/src/components/NSLinkBlue.tsx +2 -3
- package/src/components/NSLinkGreen.tsx +2 -1
- package/src/components/NSLinkRed.tsx +2 -1
- package/src/components/NSLoading.tsx +2 -1
- package/src/components/NSNotification.module.css +32 -0
- package/src/components/{NSMessenger.tsx → NSNotification.tsx} +18 -7
- package/src/components/NSPagination.tsx +14 -13
- package/src/components/NSPanel.tsx +7 -5
- package/src/components/NSSection.tsx +2 -1
- package/src/components/NSSectionBars.tsx +2 -1
- package/src/components/NSSectionCards.tsx +3 -2
- package/src/components/NSSectionTitle.tsx +2 -1
- package/src/components/NSSelectBox.tsx +21 -8
- package/src/components/NSSpace.tsx +3 -1
- package/src/components/NSTable.tsx +2 -1
- package/src/components/NSTitle.tsx +2 -1
- package/src/main.ts +3 -2
- package/src/props/NSButtonProps.ts +2 -1
- package/dist/components/NSInputCopy.d.ts +0 -17
- package/dist/components/NSInputCopy.js +0 -38
- package/dist/components/NSInputCopy.js.map +0 -1
- package/dist/components/NSMessenger.d.ts +0 -14
- package/dist/components/NSMessenger.js +0 -23
- package/dist/components/NSMessenger.js.map +0 -1
- package/dist/components/NSMessenger.module.css +0 -16
- package/src/components/NSInputCopy.tsx +0 -77
- package/src/components/NSMessenger.module.css +0 -16
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSLayoutHeroBanner.js","sourceRoot":"","sources":["../../src/components/NSLayoutHeroBanner.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"NSLayoutHeroBanner.js","sourceRoot":"","sources":["../../src/components/NSLayoutHeroBanner.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,QAAQ,EAAiB,MAAM,YAAY,CAAC;AACrD,OAAO,MAAM,MAAM,iCAAiC,CAAA;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAYxC,MAAM,UAAU,kBAAkB,CAAC,KAA8B;IAEhE,OAAO,CACN,MAAC,Q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AAE,MAAM,EAAE,uCAE9B,IACF,IACD,GACD,GACG,GACL,EACL,KAAK,CAAC,QAAQ,KACL,CACX,CAAC;AACH,CAAC"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { Component } from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
background?: string;
|
|
3
|
+
import { NSLayoutProps } from './NSLayout';
|
|
4
|
+
import { BaseComponentProps } from '../props/BaseComponentProps';
|
|
5
|
+
export interface NSLayoutTitleProps extends NSLayoutProps, BaseComponentProps {
|
|
7
6
|
title: string;
|
|
8
7
|
description?: string;
|
|
9
8
|
children: ReactNode;
|
|
@@ -8,10 +8,10 @@ export class NSLayoutTitle extends Component {
|
|
|
8
8
|
render() {
|
|
9
9
|
var _a;
|
|
10
10
|
let lines = ((_a = this.props.description) !== null && _a !== void 0 ? _a : "").split(/(\n|\\n|<br>|<br\s*\/>)/gm);
|
|
11
|
-
return (_jsxs(NSLayout, {
|
|
11
|
+
return (_jsxs(NSLayout, Object.assign({}, this.props, { children: [_jsx(NSSpace, { size: NSSpaceSizeType.SMALL }), _jsxs("div", { children: [_jsx("h1", { className: Styles.title, children: this.props.title }), this.props.description && lines &&
|
|
12
12
|
_jsx("p", { className: Styles.description, children: lines.map((line, index) => {
|
|
13
13
|
return _jsxs(_Fragment, { children: [line.trim(), index != lines.length - 1 && _jsx("br", {})] });
|
|
14
|
-
}) }), _jsx(NSSpace, { size: NSSpaceSizeType.NORMAL })] }), this.props.children] }));
|
|
14
|
+
}) }), _jsx(NSSpace, { size: NSSpaceSizeType.NORMAL })] }), this.props.children] })));
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
//# sourceMappingURL=NSLayoutTitle.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSLayoutTitle.js","sourceRoot":"","sources":["../../src/components/NSLayoutTitle.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC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,CAAC;CACD"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { BaseComponentProps } from "../props/BaseComponentProps";
|
|
1
2
|
import { LinkProps } from "../props/LinkProps";
|
|
2
3
|
import React from "react";
|
|
3
|
-
export interface NSLinkBlueProps extends LinkProps {
|
|
4
|
-
style?: React.CSSProperties;
|
|
4
|
+
export interface NSLinkBlueProps extends LinkProps, BaseComponentProps {
|
|
5
5
|
}
|
|
6
6
|
export interface NSLinkBlueState extends LinkProps {
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSLinkBlue.js","sourceRoot":"","sources":["../../src/components/NSLinkBlue.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;
|
|
1
|
+
{"version":3,"file":"NSLinkBlue.js","sourceRoot":"","sources":["../../src/components/NSLinkBlue.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAIb,OAAO,MAAM,MAAM,yBAAyB,CAAC;AAC7C,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,MAAM,OAAO,UAAW,SAAQ,KAAK,CAAC,SAA2C;IAEhF,YAAY,KAAsB;QAEjC,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,KAAK,GAAG,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC;IAC7E,CAAC;IACD,QAAQ,CAAC,KAAa;QAErB,IAAI,CAAC,QAAQ,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;IAC1B,CAAC;IACD,OAAO,CAAC,IAAY;QAEnB,IAAI,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC;IACzB,CAAC;IACQ,MAAM;;QAEd,OAAO,CAEN,cAAK,SAAS,EAAE,MAAM,CAAC,cAAc,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,YAC7D,YAAG,SAAS,EAAE,mCAAmC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,MAAA,MAAA,IAAI,CAAC,KAAK,0CAAE,MAAM,mCAAI,OAAO,YAC1K,IAAI,CAAC,KAAK,CAAC,KAAK,GACd,GACC,CACN,CAAA;IACF,CAAC;CACD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSLinkGreen.js","sourceRoot":"","sources":["../../src/components/NSLinkGreen.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,KAAK,MAAM,0BAA0B,CAAC;AAC7C,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"NSLinkGreen.js","sourceRoot":"","sources":["../../src/components/NSLinkGreen.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,KAAK,MAAM,0BAA0B,CAAC;AAC7C,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAexC,MAAM,OAAO,WAAY,SAAQ,KAAK,CAAC,SAA6C;IAEhF,YAAY,KAAuB;QAE/B,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,KAAK,GAAG,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC;IAC1D,CAAC;IACD,QAAQ,CAAC,KAAa;QAElB,IAAI,CAAC,QAAQ,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;IAC7B,CAAC;IACD,OAAO,CAAC,IAAY;QAEhB,IAAI,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC;IAC5B,CAAC;IACQ,MAAM;QAEX,OAAO,CACH,KAAC,IAAI,IAAC,SAAS,EAAC,iCAAiC,EAAC,EAAE,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,YACjE,cAAK,SAAS,EAAE,KAAK,CAAC,aAAa,YAC9B,IAAI,CAAC,KAAK,CAAC,KAAK,GACf,GACH,CACV,CAAA;IACL,CAAC;CACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSLinkRed.js","sourceRoot":"","sources":["../../src/components/NSLinkRed.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,KAAK,MAAM,wBAAwB,CAAC;AAC3C,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"NSLinkRed.js","sourceRoot":"","sources":["../../src/components/NSLinkRed.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,KAAK,MAAM,wBAAwB,CAAC;AAC3C,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAexC,MAAM,OAAO,SAAU,SAAQ,KAAK,CAAC,SAAyC;IAE1E,YAAY,KAAqB;QAE7B,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,KAAK,GAAG,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC;IAC1D,CAAC;IACD,QAAQ,CAAC,KAAa;QAElB,IAAI,CAAC,QAAQ,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;IAC7B,CAAC;IACD,OAAO,CAAC,IAAY;QAEhB,IAAI,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC;IAC5B,CAAC;IACQ,MAAM;QAEX,OAAO,CACH,KAAC,IAAI,IAAC,SAAS,EAAC,iCAAiC,EAAC,EAAE,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,YACjE,cAAK,SAAS,EAAE,KAAK,CAAC,WAAW,YAC5B,IAAI,CAAC,KAAK,CAAC,KAAK,GACf,GACH,CACV,CAAA;IACL,CAAC;CACJ"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Component } from 'react';
|
|
2
2
|
import { BackgroundProps } from '../props/BackgroundProps';
|
|
3
|
-
|
|
3
|
+
import { BaseComponentProps } from "../props/BaseComponentProps";
|
|
4
|
+
export interface NSLoadingProps extends BaseComponentProps {
|
|
4
5
|
background?: BackgroundProps;
|
|
5
6
|
}
|
|
6
7
|
export declare class NSLoading extends Component<NSLoadingProps> {
|
|
7
8
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
8
9
|
}
|
|
9
|
-
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSLoading.js","sourceRoot":"","sources":["../../src/components/NSLoading.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,MAAM,MAAM,wBAAwB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"NSLoading.js","sourceRoot":"","sources":["../../src/components/NSLoading.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,MAAM,MAAM,wBAAwB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AASxC,MAAM,OAAO,SAAU,SAAQ,SAAyB;IAE9C,MAAM;QAEd,OAAO,CACN,KAAC,SAAS,IAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU,YAC3C,cAAK,SAAS,EAAE,MAAM,CAAC,iBAAiB,YACvC,cAAK,SAAS,EAAE,MAAM,CAAC,SAAS,GAAQ,GACnC,GACK,CACZ,CAAC;IACH,CAAC;CACD"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { BaseComponentProps } from "../props/BaseComponentProps";
|
|
3
|
+
export interface NSNotificationProps extends BaseComponentProps {
|
|
4
|
+
title: string;
|
|
5
|
+
type: NSNotificationType;
|
|
6
|
+
}
|
|
7
|
+
export interface NSNotificationState {
|
|
8
|
+
show: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare enum NSNotificationType {
|
|
11
|
+
GRAY = "GRAY",
|
|
12
|
+
BLUE = "BLUE",
|
|
13
|
+
GREEN = "GREEN",
|
|
14
|
+
YELLOW = "YELLOW",
|
|
15
|
+
RED = "RED"
|
|
16
|
+
}
|
|
17
|
+
export declare class NSNotification extends React.Component<NSNotificationProps, NSNotificationState> {
|
|
18
|
+
constructor(props: NSNotificationProps);
|
|
19
|
+
componentDidMount(): void;
|
|
20
|
+
handleDestroy: () => void;
|
|
21
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
|
+
import React from "react";
|
|
4
|
+
import Exit from '../assets/images/close-vector.png';
|
|
5
|
+
import Styles from "./NSNotification.module.css";
|
|
6
|
+
export var NSNotificationType;
|
|
7
|
+
(function (NSNotificationType) {
|
|
8
|
+
NSNotificationType["GRAY"] = "GRAY";
|
|
9
|
+
NSNotificationType["BLUE"] = "BLUE";
|
|
10
|
+
NSNotificationType["GREEN"] = "GREEN";
|
|
11
|
+
NSNotificationType["YELLOW"] = "YELLOW";
|
|
12
|
+
NSNotificationType["RED"] = "RED";
|
|
13
|
+
})(NSNotificationType || (NSNotificationType = {}));
|
|
14
|
+
export class NSNotification extends React.Component {
|
|
15
|
+
constructor(props) {
|
|
16
|
+
super(props);
|
|
17
|
+
this.handleDestroy = () => {
|
|
18
|
+
this.setState({ show: false });
|
|
19
|
+
};
|
|
20
|
+
this.state = {
|
|
21
|
+
show: true,
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
componentDidMount() {
|
|
25
|
+
setTimeout(() => { this.handleDestroy(); }, 8000);
|
|
26
|
+
}
|
|
27
|
+
render() {
|
|
28
|
+
let style = Styles["ns_" + this.props.type.toString().toLowerCase];
|
|
29
|
+
return _jsx(_Fragment, { children: this.state.show && (_jsxs("div", { className: `${Styles.ns_messenger} ${style}`, children: [_jsx("p", { className: `mb-0 ns-font-16-normal`, children: this.props.title }), _jsx("img", { className: Styles.ns_exit_icon, src: Exit, alt: "exit", width: 32, height: 32, onClick: () => this.handleDestroy() })] })) });
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=NSNotification.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NSNotification.js","sourceRoot":"","sources":["../../src/components/NSNotification.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,mCAAmC,CAAC;AACrD,OAAO,MAAM,MAAM,6BAA6B,CAAC;AAcjD,MAAM,CAAN,IAAY,kBAOX;AAPD,WAAY,kBAAkB;IAE1B,mCAAa,CAAA;IACb,mCAAa,CAAA;IACb,qCAAe,CAAA;IACf,uCAAiB,CAAA;IACjB,iCAAW,CAAA;AACf,CAAC,EAPW,kBAAkB,KAAlB,kBAAkB,QAO7B;AAED,MAAM,OAAO,cAAe,SAAQ,KAAK,CAAC,SAAmD;IAEzF,YAAY,KAA0B;QAElC,KAAK,CAAC,KAAK,CAAC,CAAC;QAWjB,kBAAa,GAAG,GAAG,EAAE;YAEjB,IAAI,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC;QACnC,CAAC,CAAC;QAbE,IAAI,CAAC,KAAK,GAAG;YACT,IAAI,EAAE,IAAI;SACb,CAAC;IACN,CAAC;IAEQ,iBAAiB;QAEtB,UAAU,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC,aAAa,EAAE,CAAA,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC;IACrD,CAAC;IAOQ,MAAM;QAEX,IAAI,KAAK,GAAG,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,WAAW,CAAC,CAAC;QACnE,OAAO,4BACF,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,CAChB,eAAK,SAAS,EAAE,GAAG,MAAM,CAAC,YAAY,IAAI,KAAK,EAAE,aAC7C,YAAG,SAAS,EAAE,wBAAwB,YAAG,IAAI,CAAC,KAAK,CAAC,KAAK,GAAK,EAC9D,cACI,SAAS,EAAE,MAAM,CAAC,YAAY,EAC9B,GAAG,EAAE,IAAI,EACT,GAAG,EAAC,MAAM,EACV,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,aAAa,EAAE,GACrC,IACA,CACT,GACF,CAAA;IACP,CAAC;CACJ"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
.ns_messenger {
|
|
2
|
+
background-color: #fff;
|
|
3
|
+
padding: 12px 15px;
|
|
4
|
+
display: flex;
|
|
5
|
+
justify-content: space-between;
|
|
6
|
+
align-items: center;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.ns_gray {
|
|
10
|
+
border: 3px solid gray;
|
|
11
|
+
box-shadow: 1px 1px 8px 0px gray;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.ns_blue {
|
|
15
|
+
border: 3px solid blue;
|
|
16
|
+
box-shadow: 1px 1px 8px 0px blue;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.ns_green {
|
|
20
|
+
border: 3px solid rgba(112, 224, 0, 1);
|
|
21
|
+
box-shadow: 1px 1px 8px 0px rgba(112, 224, 0, 1);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.ns_yellow {
|
|
25
|
+
border: 3px solid yellow;
|
|
26
|
+
box-shadow: 1px 1px 8px 0px yellow;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.ns_red {
|
|
30
|
+
border: 3px solid red;
|
|
31
|
+
box-shadow: 1px 1px 8px 0px red;
|
|
32
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSPagination.js","sourceRoot":"","sources":["../../src/components/NSPagination.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;
|
|
1
|
+
{"version":3,"file":"NSPagination.js","sourceRoot":"","sources":["../../src/components/NSPagination.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,MAAM,MAAM,2BAA2B,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAclC,MAAM,OAAO,YAAa,SAAQ,SAA+C;IAE7E,YAAY,KAAwB;QAEhC,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,KAAK,GAAG,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,CAAA;IACvD,CAAC;IACQ,MAAM;QAEX,IAAI,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC;QAC3B,IAAI,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC;QAC3B,IAAI,MAAM,GAAG,CAAC,CAAC;QACf,IAAI,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC,CAAC;QACrC,IAAI,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,GAAG,MAAM,EAAE,IAAI,GAAG,CAAC,CAAC,CAAC;QAC5C,IAAI,GAAG,GAAG,EAAE,CAAC;QACb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ACJ,wBACI,YAAG,IAAI,EAAC,GAAG,YACP,cACI,GAAG,EAAC,mEAAmE,EACvE,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,GAAG,EAAC,cAAc,GACpB,GACF,GACF,CACT,CAAC;QAEF,OAAO,CACH,cAAK,SAAS,EAAE,GAAG,MAAM,CAAC,uBAAuB,EAAE,YAC9C,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,GAChB,CACT,CAAC;IACN,CAAC;CACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSPanel.js","sourceRoot":"","sources":["../../src/components/NSPanel.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,SAAS,EAAa,MAAM,OAAO,CAAC;AAC7C,OAAO,MAAM,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"NSPanel.js","sourceRoot":"","sources":["../../src/components/NSPanel.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,SAAS,EAAa,MAAM,OAAO,CAAC;AAC7C,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAY1C,MAAM,OAAO,OAAQ,SAAQ,SAAyC;IAElE,YAAY,KAAqB;QAE7B,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;IACQ,MAAM;QAEX,OAAO,CACH,kBACI,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,eAAe,YACzE,IAAI,CAAC,KAAK,CAAC,QAAQ,GACd,CACb,CAAC;IACN,CAAC;CACJ"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Component, ReactNode } from "react";
|
|
2
2
|
import { BackgroundProps } from "../props/BackgroundProps";
|
|
3
|
-
|
|
3
|
+
import { BaseComponentProps } from "../props/BaseComponentProps";
|
|
4
|
+
export interface NSSectionProps extends BaseComponentProps {
|
|
4
5
|
children: ReactNode;
|
|
5
6
|
background?: BackgroundProps;
|
|
6
7
|
center_items?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSSection.js","sourceRoot":"","sources":["../../src/components/NSSection.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,SAAS,EAAa,MAAM,OAAO,CAAC;AAC7C,OAAO,MAAM,MAAM,wBAAwB,CAAA;
|
|
1
|
+
{"version":3,"file":"NSSection.js","sourceRoot":"","sources":["../../src/components/NSSection.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,SAAS,EAAa,MAAM,OAAO,CAAC;AAC7C,OAAO,MAAM,MAAM,wBAAwB,CAAA;AAgB3C,MAAM,OAAO,SAAU,SAAQ,SAAyC;IAEvE,YAAY,KAAqB;;QAEhC,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,KAAK,GAAG;YACZ,UAAU,EAAE;gBACX,KAAK,EAAE,OAAO,MAAA,KAAK,CAAC,UAAU,0CAAE,KAAK,GAAG;gBACxC,KAAK,EAAE,MAAA,KAAK,CAAC,UAAU,0CAAE,KAAK;gBAC9B,QAAQ,EAAE,MAAA,KAAK,CAAC,UAAU,0CAAE,QAAQ;aACpC;SACD,CAAA;IACF,CAAC;IACQ,MAAM;;QAEd,IAAI,MAAM,GAAG,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;QACjC,IAAI,IAAI,CAAC,KAAK,CAAC,YAAY;YAC1B,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;QACvC,OAAO,CACN,kBAAS,KAAK,EACZ;gBACA,eAAe,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,UAAU,0CAAE,KAAK;gBAC7C,eAAe,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,UAAU,0CAAE,KAAK;gBAC7C,kBAAkB,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,UAAU,0CAAE,QAAQ;aACnD,EACD,SAAS,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,YAC1B,IAAI,CAAC,KAAK,CAAC,QAAQ,GACX,CACV,CAAC;IACH,CAAC;CACD"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Component } from 'react';
|
|
2
2
|
import { NSEntityBarProps } from './NSEntityBar';
|
|
3
3
|
import { BackgroundProps } from '../props/BackgroundProps';
|
|
4
|
-
|
|
4
|
+
import { BaseComponentProps } from "../props/BaseComponentProps";
|
|
5
|
+
export interface NSSectionBarsProps extends BaseComponentProps {
|
|
5
6
|
background?: BackgroundProps;
|
|
6
7
|
bars: NSEntityBarProps[];
|
|
7
8
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSSectionBars.js","sourceRoot":"","sources":["../../src/components/NSSectionBars.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,MAAM,MAAM,4BAA4B,CAAC;AAChD,OAAO,EAAE,WAAW,EAAoB,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"NSSectionBars.js","sourceRoot":"","sources":["../../src/components/NSSectionBars.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,MAAM,MAAM,4BAA4B,CAAC;AAChD,OAAO,EAAE,WAAW,EAAoB,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AASrD,MAAM,OAAO,aAAc,SAAQ,SAA6B;IAEtD,MAAM;;QAEd,OAAO,CACN,4BACC,MAAC,SAAS,IAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU,aAC3C,KAAC,OAAO,IAAC,IAAI,EAAE,eAAe,CAAC,MAAM,GAAI,EACzC,cAAK,SAAS,EAAE,mCAAmC,MAAM,CAAC,uBAAuB,EAAE,YAEjF,MAAA,IAAI,CAAC,KAAK,CAAC,IAAI,0CAAE,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,KAAC,WAAW,oBAAkB,GAAG,GAAf,GAAG,CAAC,EAAE,CAAa,CAAC,GAEhE,EACN,KAAC,OAAO,IAAC,IAAI,EAAE,eAAe,CAAC,MAAM,GAAI,IAC9B,GACV,CACH,CAAC;IACH,CAAC;CACD"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Component } from 'react';
|
|
2
2
|
import { NSCardProps } from './NSCard';
|
|
3
3
|
import { BackgroundProps } from '../props/BackgroundProps';
|
|
4
|
-
|
|
4
|
+
import { BaseComponentProps } from "../props/BaseComponentProps";
|
|
5
|
+
export interface NSSectionCardsProps extends BaseComponentProps {
|
|
5
6
|
title?: {
|
|
6
7
|
text: string;
|
|
7
8
|
color?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSSectionCards.js","sourceRoot":"","sources":["../../src/components/NSSectionCards.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,MAAM,MAAM,6BAA6B,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,MAAM,EAAe,MAAM,UAAU,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE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MAAM,CAAC,iBAAiB,EAAE,YAE5C,MAAA,IAAI,CAAC,KAAK,CAAC,KAAK,0CAAE,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,KAAC,MAAM,oBAAmB,IAAI,GAAjB,IAAI,CAAC,EAAE,CAAc,CAAC,GAE/D,EAEL,IAAI,CAAC,KAAK,CAAC,MAAM;gCACjB,cAAK,SAAS,EAAE,6BAA6B,MAAM,CAAC,+BAA+B,EAAE,YACpF,KAAC,UAAU,IAAC,IAAI,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,MAAM,0CAAE,IAAI,EAAE,KAAK,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,MAAM,0CAAE,KAAK,GAAI,GACzE,IAEF,EACN,KAAC,OAAO,IAAC,IAAI,EAAE,eAAe,CAAC,MAAM,GAAI,IAC9B,GACV,CACH,CAAC;IACH,CAAC;CACD"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Component, ReactNode } from 'react';
|
|
2
2
|
import { BackgroundProps } from '../props/BackgroundProps';
|
|
3
|
-
|
|
3
|
+
import { BaseComponentProps } from "../props/BaseComponentProps";
|
|
4
|
+
export interface NSSectionTitleProps extends BaseComponentProps {
|
|
4
5
|
title: {
|
|
5
6
|
text: string;
|
|
6
7
|
color?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSSectionTitle.js","sourceRoot":"","sources":["../../src/components/NSSectionTitle.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,SAAS,EAAa,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"NSSectionTitle.js","sourceRoot":"","sources":["../../src/components/NSSectionTitle.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,SAAS,EAAa,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAarD,MAAM,OAAO,cAAe,SAAQ,SAA8B;IAExD,MAAM;QAEd,OAAO,CACN,MAAC,SAAS,IAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU,aAC3C,KAAC,OAAO,IAAC,IAAI,EAAE,eAAe,CAAC,MAAM,GAAI,EACzC,KAAC,OAAO,IAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,GAAI,EACvE,IAAI,CAAC,KAAK,CAAC,QAAQ,IACT,CACZ,CAAC;IACH,CAAC;CACD"}
|
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import type { SelectProps } from 'antd';
|
|
3
|
-
|
|
3
|
+
import { BaseComponentProps } from "../props/BaseComponentProps";
|
|
4
|
+
export interface NSSelectBoxProps extends BaseComponentProps {
|
|
4
5
|
title: string;
|
|
5
6
|
options: SelectProps['options'];
|
|
6
7
|
}
|
|
7
8
|
export interface NSSelectBoxState {
|
|
8
|
-
value: string
|
|
9
|
+
value: string | null;
|
|
10
|
+
values: string[];
|
|
9
11
|
}
|
|
10
12
|
export declare class NSSelectBox extends React.Component<NSSelectBoxProps, NSSelectBoxState> {
|
|
11
13
|
constructor(props: NSSelectBoxProps);
|
|
12
|
-
setValue(value: string
|
|
13
|
-
getValue(): string
|
|
14
|
+
setValue(value: string | null): void;
|
|
15
|
+
getValue(): string | null;
|
|
16
|
+
setValues(values: string[]): void;
|
|
17
|
+
getValues(): string[];
|
|
14
18
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
15
19
|
}
|
|
@@ -8,9 +8,11 @@ export class NSSelectBox extends React.Component {
|
|
|
8
8
|
constructor(props) {
|
|
9
9
|
super(props);
|
|
10
10
|
this.state = {
|
|
11
|
-
value:
|
|
11
|
+
value: null,
|
|
12
|
+
values: [],
|
|
12
13
|
};
|
|
13
|
-
this.
|
|
14
|
+
this.getValues = this.getValues.bind(this);
|
|
15
|
+
this.setValues = this.setValues.bind(this);
|
|
14
16
|
}
|
|
15
17
|
setValue(value) {
|
|
16
18
|
this.setState({ value });
|
|
@@ -18,8 +20,14 @@ export class NSSelectBox extends React.Component {
|
|
|
18
20
|
getValue() {
|
|
19
21
|
return this.state.value;
|
|
20
22
|
}
|
|
23
|
+
setValues(values) {
|
|
24
|
+
this.setState({ values });
|
|
25
|
+
}
|
|
26
|
+
getValues() {
|
|
27
|
+
return this.state.values;
|
|
28
|
+
}
|
|
21
29
|
render() {
|
|
22
|
-
return (_jsxs("div", { className: `${Styles.ns_input_parent} p-2`, children: [_jsx("span", { className: Styles.ns_input_title, children: this.props.title }), _jsx(Select, { mode: "multiple", style: { width: '100%' }, className: Styles.ns_input_select, placeholder: "Combo Box", onChange: this.
|
|
30
|
+
return (_jsxs("div", { className: `${Styles.ns_input_parent} p-2`, children: [_jsx("span", { className: Styles.ns_input_title, children: this.props.title }), _jsx(Select, { mode: "multiple", style: { width: '100%' }, className: Styles.ns_input_select, placeholder: "Combo Box", onChange: this.setValues, optionLabelProp: "label", options: this.props.options, optionRender: (option) => (_jsx(Space, { className: Styles.ns_input_select_option, children: option.data.desc })), suffixIcon: _jsx("img", { src: IconSelectBox, alt: "SelectBox Icon" }) })] }));
|
|
23
31
|
}
|
|
24
32
|
}
|
|
25
33
|
//# sourceMappingURL=NSSelectBox.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSSelectBox.js","sourceRoot":"","sources":["../../src/components/NSSelectBox.tsx"],"names":[],"mappings":"AAAA,YAAY,CA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E,GAAG,MAAM,CAAC,eAAe,MAAM,aAC3C,eAAM,SAAS,EAAE,MAAM,CAAC,cAAc,YAAG,IAAI,CAAC,KAAK,CAAC,KAAK,GAAQ,EACjE,KAAC,MAAM,IACH,IAAI,EAAC,UAAU,EACf,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,EACxB,SAAS,EAAE,MAAM,CAAC,eAAe,EACjC,WAAW,EAAC,WAAW,EACvB,QAAQ,EAAE,IAAI,CAAC,SAAS,EACxB,eAAe,EAAC,OAAO,EACvB,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,EAC3B,YAAY,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,CACtB,KAAC,KAAK,IAAC,SAAS,EAAE,MAAM,CAAC,sBAAsB,YAC1C,MAAM,CAAC,IAAI,CAAC,IAAI,GACb,CACX,EACD,UAAU,EAAE,cAAK,GAAG,EAAE,aAAa,EAAE,GAAG,EAAC,gBAAgB,GAAG,GAC9D,IACA,CACT,CAAC;IACN,CAAC;CACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSSpace.js","sourceRoot":"","sources":["../../src/components/NSSpace.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"NSSpace.js","sourceRoot":"","sources":["../../src/components/NSSpace.tsx"],"names":[],"mappings":";AAOA,MAAM,CAAN,IAAY,eAYX;AAZD,WAAY,eAAe;IAEvB,+BAAY,CAAA;IACZ,gCAAa,CAAA;IACb,gCAAa,CAAA;IACb,iCAAc,CAAA;IACd,kCAAe,CAAA;IACf,kCAAe,CAAA;IACf,iCAAc,CAAA;IACd,kCAAe,CAAA;IACf,mCAAgB,CAAA;IAChB,qCAAkB,CAAA;AACtB,CAAC,EAZW,eAAe,KAAf,eAAe,QAY1B;AAED,MAAM,UAAU,OAAO,CAAC,KAAmB;IAEvC,OAAO,CACH,aAAI,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,CAAC,EAAE,GAAI,CAClJ,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSTable.js","sourceRoot":"","sources":["../../src/components/NSTable.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"NSTable.js","sourceRoot":"","sources":["../../src/components/NSTable.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAmBlC,MAAM,OAAO,OAAiB,SAAQ,SAAuD;IAEzF,YAAY,KAA4B;QAEpC,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,KAAK,GAAG,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC;IACjF,CAAC;IACD,UAAU,CA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AAE,EAAE,OAAO,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,MAAM,EAAC,gCAAgC,GAAG,IACzI,IACA,EACV,KAAC,OAAO,IAAC,IAAI,EAAE,eAAe,CAAC,KAAK,GAAI,EACxC,mBAAS,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,UAAU,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,CAAC,EAAE,SAAS,EAAE,MAAM,CAAC,QAAQ,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,EAAE,aACnK,sBAAG,cAAK,GAAG,EAAC,iCAAiC,GAAG,GAAI,EACpD,4xBAGI,IACE,IACP,CACV,CAAA;IACL,CAAC;CACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSTitle.js","sourceRoot":"","sources":["../../src/components/NSTitle.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,MAAM,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"NSTitle.js","sourceRoot":"","sources":["../../src/components/NSTitle.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAU1C,MAAM,OAAO,OAAQ,SAAQ,SAAuB;IAE1C,MAAM;QAEd,OAAO,CAEN,aAAI,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,EAAE,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC,QAAQ,EAAE,YAC5H,IAAI,CAAC,KAAK,CAAC,KAAK,GACb,CACL,CAAC;IACH,CAAC;CACD"}
|
package/dist/main.d.ts
CHANGED
|
@@ -6,9 +6,10 @@ export * from "./components/NSButtonRed";
|
|
|
6
6
|
export * from "./components/NSCard";
|
|
7
7
|
export * from "./components/NSEntityCardBackground";
|
|
8
8
|
export * from "./components/NSEntityBar";
|
|
9
|
+
export * from "./components/NSInputErrorNotifier";
|
|
9
10
|
export * from "./components/NSFooter";
|
|
10
11
|
export * from "./components/NSHeader";
|
|
11
|
-
export * from "./components/
|
|
12
|
+
export * from "./components/NSCopyToClipboard";
|
|
12
13
|
export * from "./components/NSInputDate";
|
|
13
14
|
export * from "./components/NSInputDuration";
|
|
14
15
|
export * from "./components/NSInputEmail";
|
|
@@ -26,7 +27,7 @@ export * from "./components/NSLayout";
|
|
|
26
27
|
export * from "./components/NSLayoutHeroBanner";
|
|
27
28
|
export * from "./components/NSLayoutTitle";
|
|
28
29
|
export * from "./components/NSLoading";
|
|
29
|
-
export * from "./components/
|
|
30
|
+
export * from "./components/NSNotification";
|
|
30
31
|
export * from "./components/NSSelectBox";
|
|
31
32
|
export * from "./components/NSSpace";
|
|
32
33
|
export * from "./components/NSSection";
|
package/dist/main.js
CHANGED
|
@@ -6,9 +6,10 @@ export * from "./components/NSButtonRed";
|
|
|
6
6
|
export * from "./components/NSCard";
|
|
7
7
|
export * from "./components/NSEntityCardBackground";
|
|
8
8
|
export * from "./components/NSEntityBar";
|
|
9
|
+
export * from "./components/NSInputErrorNotifier";
|
|
9
10
|
export * from "./components/NSFooter";
|
|
10
11
|
export * from "./components/NSHeader";
|
|
11
|
-
export * from "./components/
|
|
12
|
+
export * from "./components/NSCopyToClipboard";
|
|
12
13
|
export * from "./components/NSInputDate";
|
|
13
14
|
export * from "./components/NSInputDuration";
|
|
14
15
|
export * from "./components/NSInputEmail";
|
|
@@ -26,7 +27,7 @@ export * from "./components/NSLayout";
|
|
|
26
27
|
export * from "./components/NSLayoutHeroBanner";
|
|
27
28
|
export * from "./components/NSLayoutTitle";
|
|
28
29
|
export * from "./components/NSLoading";
|
|
29
|
-
export * from "./components/
|
|
30
|
+
export * from "./components/NSNotification";
|
|
30
31
|
export * from "./components/NSSelectBox";
|
|
31
32
|
export * from "./components/NSSpace";
|
|
32
33
|
export * from "./components/NSSection";
|
package/dist/main.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qCAAqC,CAAC;AACpD,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,
|
|
1
|
+
{"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qCAAqC,CAAC;AACpD,cAAc,0BAA0B,CAAC;AACzC,cAAc,mCAAmC,CAAC;AAClD,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { BackgroundProps } from "./BackgroundProps";
|
|
3
|
+
import { BaseComponentProps } from "./BaseComponentProps";
|
|
3
4
|
import { ImageProps } from "./ImageProps";
|
|
4
|
-
export interface NSButtonProps {
|
|
5
|
+
export interface NSButtonProps extends BaseComponentProps {
|
|
5
6
|
title: string;
|
|
6
7
|
onClick: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
7
8
|
border?: string;
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"framework": "npm",
|
|
9
9
|
"application": "package",
|
|
10
10
|
"private": false,
|
|
11
|
-
"version": "1.3.
|
|
11
|
+
"version": "1.3.60",
|
|
12
12
|
"author": "Amir Abolhasani, Alireza Esmaeeli, Hooman Shashaeh",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"main": "./dist/main.js",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"link-react": "^3.0.0",
|
|
31
31
|
"namirasoft-api-link": "^1.3.1",
|
|
32
32
|
"namirasoft-core": "^1.3.18",
|
|
33
|
-
"namirasoft-site-react": "^1.3.
|
|
33
|
+
"namirasoft-site-react": "^1.3.59",
|
|
34
34
|
"path-browserify": "^1.0.1",
|
|
35
35
|
"react": "^18.2.0",
|
|
36
36
|
"react-app-rewired": "^2.2.1",
|
|
@@ -64,4 +64,4 @@
|
|
|
64
64
|
"last 1 safari version"
|
|
65
65
|
]
|
|
66
66
|
}
|
|
67
|
-
}
|
|
67
|
+
}
|
package/src/App.tsx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './App.css';
|
|
2
2
|
import 'bootstrap/dist/css/bootstrap.min.css';
|
|
3
|
-
import { NSFooter, NSHeader, NSTable,NSInputDate } from './main';
|
|
3
|
+
import { NSFooter, NSHeader, NSTable, NSInputDate, NSCopyToClipboard } from './main';
|
|
4
4
|
|
|
5
5
|
export function App()
|
|
6
6
|
{
|
|
@@ -48,7 +48,8 @@ export function App()
|
|
|
48
48
|
background={{ color: "transparent !important" }}
|
|
49
49
|
/>
|
|
50
50
|
<div className="container">
|
|
51
|
-
<NSInputDate title="rrt"/>
|
|
51
|
+
<NSInputDate title="rrt" />
|
|
52
|
+
<NSCopyToClipboard title='rrt' value="rrr" />
|
|
52
53
|
<NSTable<Row> columns={columns} rows={rows} getRowKey={row => row.id.toString()} />
|
|
53
54
|
</div>
|
|
54
55
|
<NSFooter name='Footer' scope='Namira Software Corporation' logo='https://static.namirasoft.com/logo/namirasoft/base.png' />
|
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
3
|
import { BackgroundProps } from "../props/BackgroundProps";
|
|
4
|
+
import { BaseComponentProps } from "../props/BaseComponentProps";
|
|
4
5
|
import { ImageProps } from "../props/ImageProps";
|
|
5
6
|
import Styles from "./NSButton.module.css";
|
|
6
7
|
|
|
7
|
-
export interface
|
|
8
|
+
export interface NSButtonProps extends BaseComponentProps
|
|
8
9
|
{
|
|
9
10
|
title: string;
|
|
10
11
|
border?: string;
|
|
11
12
|
background?: BackgroundProps;
|
|
12
13
|
icon?: ImageProps;
|
|
14
|
+
onClick: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
13
15
|
}
|
|
14
|
-
|
|
16
|
+
|
|
17
|
+
export interface NSButtonState
|
|
15
18
|
{
|
|
16
19
|
title: string;
|
|
17
20
|
border?: string;
|
|
18
21
|
background?: BackgroundProps;
|
|
19
22
|
icon?: ImageProps;
|
|
20
|
-
onClick: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
21
23
|
}
|
|
22
24
|
|
|
23
25
|
export default function NSButton(props: NSButtonProps)
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
import React from "react";
|
|
4
4
|
import Style from "./NSButtonBlue.module.css";
|
|
5
|
+
import { BaseComponentProps } from "../props/BaseComponentProps";
|
|
5
6
|
|
|
6
|
-
export interface NSButtonBlueProps
|
|
7
|
+
export interface NSButtonBlueProps extends BaseComponentProps
|
|
7
8
|
{
|
|
8
9
|
title: string;
|
|
9
10
|
onClick: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|