namirasoft-site-react 1.2.40 → 1.2.41
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 +3 -3
- package/dist/App.js +8 -8
- package/dist/App.js.map +1 -1
- package/dist/components/NSButtonGreen.d.ts +16 -16
- package/dist/components/NSButtonGreen.js +16 -16
- package/dist/components/NSButtonGreen.js.map +1 -1
- package/dist/components/NSButtonRed.d.ts +16 -16
- package/dist/components/NSButtonRed.js +16 -16
- package/dist/components/NSButtonRed.js.map +1 -1
- package/dist/components/NSCard.d.ts +20 -20
- package/dist/components/NSCard.js +12 -12
- package/dist/components/NSCard.js.map +1 -1
- package/dist/components/NSFooter.d.ts +20 -20
- package/dist/components/NSFooter.js +46 -46
- package/dist/components/NSFooter.js.map +1 -1
- package/dist/components/NSHeader.d.ts +23 -7
- package/dist/components/NSHeader.js +60 -57
- package/dist/components/NSHeader.js.map +1 -1
- package/dist/components/NSInputDate.d.ts +15 -15
- package/dist/components/NSInputDate.js +27 -27
- package/dist/components/NSInputDate.js.map +1 -1
- package/dist/components/NSInputDuration.d.ts +15 -15
- package/dist/components/NSInputDuration.js +28 -28
- package/dist/components/NSInputDuration.js.map +1 -1
- package/dist/components/NSInputEmail.d.ts +16 -16
- package/dist/components/NSInputEmail.js +36 -36
- package/dist/components/NSInputEmail.js.map +1 -1
- package/dist/components/NSInputFloat.d.ts +15 -15
- package/dist/components/NSInputFloat.js +28 -28
- package/dist/components/NSInputFloat.js.map +1 -1
- package/dist/components/NSInputIP.d.ts +15 -15
- package/dist/components/NSInputIP.js +28 -28
- package/dist/components/NSInputIP.js.map +1 -1
- package/dist/components/NSInputInteger.d.ts +15 -15
- package/dist/components/NSInputInteger.js +28 -28
- package/dist/components/NSInputInteger.js.map +1 -1
- package/dist/components/NSInputPhone.d.ts +16 -16
- package/dist/components/NSInputPhone.js +30 -30
- package/dist/components/NSInputPhone.js.map +1 -1
- package/dist/components/NSInputPrice.d.ts +17 -17
- package/dist/components/NSInputPrice.js +31 -31
- package/dist/components/NSInputPrice.js.map +1 -1
- package/dist/components/NSInputSearch.d.ts +17 -17
- package/dist/components/NSInputSearch.js +37 -37
- package/dist/components/NSInputSearch.js.map +1 -1
- package/dist/components/NSInputString.d.ts +17 -17
- package/dist/components/NSInputString.js +31 -31
- package/dist/components/NSInputString.js.map +1 -1
- package/dist/components/NSInputText.d.ts +17 -17
- package/dist/components/NSInputText.js +31 -31
- package/dist/components/NSInputText.js.map +1 -1
- package/dist/components/NSInputTime.d.ts +15 -15
- package/dist/components/NSInputTime.js +28 -28
- package/dist/components/NSInputTime.js.map +1 -1
- package/dist/components/NSLayout.d.ts +8 -8
- package/dist/components/NSLayout.js +8 -8
- package/dist/components/NSLayout.js.map +1 -1
- package/dist/components/NSLayoutHeroBanner.d.ts +12 -12
- package/dist/components/NSLayoutHeroBanner.js +8 -8
- package/dist/components/NSLayoutHeroBanner.js.map +1 -1
- package/dist/components/NSLayoutTitle.d.ts +10 -10
- package/dist/components/NSLayoutTitle.js +6 -6
- package/dist/components/NSLayoutTitle.js.map +1 -1
- package/dist/components/NSLinkGreen.d.ts +16 -16
- package/dist/components/NSLinkGreen.js +20 -20
- package/dist/components/NSLinkGreen.js.map +1 -1
- package/dist/components/NSLinkRed.d.ts +16 -16
- package/dist/components/NSLinkRed.js +20 -20
- package/dist/components/NSLinkRed.js.map +1 -1
- package/dist/components/NSPagination.d.ts +15 -15
- package/dist/components/NSPagination.js +35 -35
- package/dist/components/NSPagination.js.map +1 -1
- package/dist/components/NSSelectBox.d.ts +16 -16
- package/dist/components/NSSelectBox.js +24 -24
- package/dist/components/NSSelectBox.js.map +1 -1
- package/dist/components/NSTable.d.ts +28 -28
- package/dist/components/NSTable.js +20 -20
- package/dist/components/NSTable.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -6
- package/dist/main.d.ts +26 -26
- package/dist/main.js +26 -26
- package/dist/pages/NSLoginPage.d.ts +13 -13
- package/dist/pages/NSLoginPage.js +17 -17
- package/dist/pages/NSLoginPage.js.map +1 -1
- package/package.json +1 -1
- package/src/components/NSHeader.tsx +85 -73
- package/src/components/NSLayout.tsx +0 -1
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import React from "react";
|
|
4
|
-
import Styles from "./NSInputTime.module.css";
|
|
5
|
-
import IconInputTime from '../assets/images/icon-input-time.svg';
|
|
6
|
-
export class NSInputTime extends React.Component {
|
|
7
|
-
constructor(props) {
|
|
8
|
-
super(props);
|
|
9
|
-
this.state = {
|
|
10
|
-
value: "",
|
|
11
|
-
};
|
|
12
|
-
this.setValue = this.setValue.bind(this);
|
|
13
|
-
this.getValue = this.getValue.bind(this);
|
|
14
|
-
this.setDefaultValue = this.setDefaultValue.bind(this);
|
|
15
|
-
}
|
|
16
|
-
setValue(e) {
|
|
17
|
-
this.setState({ value: e.target.value });
|
|
18
|
-
}
|
|
19
|
-
setDefaultValue(value) {
|
|
20
|
-
this.setState({ value });
|
|
21
|
-
}
|
|
22
|
-
getValue() {
|
|
23
|
-
return this.state.value;
|
|
24
|
-
}
|
|
25
|
-
render() {
|
|
26
|
-
return (_jsxs("div", { className: `${Styles.ns_input_parent} p-2
|
|
27
|
-
}
|
|
28
|
-
}
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import React from "react";
|
|
4
|
+
import Styles from "./NSInputTime.module.css";
|
|
5
|
+
import IconInputTime from '../assets/images/icon-input-time.svg';
|
|
6
|
+
export class NSInputTime extends React.Component {
|
|
7
|
+
constructor(props) {
|
|
8
|
+
super(props);
|
|
9
|
+
this.state = {
|
|
10
|
+
value: "",
|
|
11
|
+
};
|
|
12
|
+
this.setValue = this.setValue.bind(this);
|
|
13
|
+
this.getValue = this.getValue.bind(this);
|
|
14
|
+
this.setDefaultValue = this.setDefaultValue.bind(this);
|
|
15
|
+
}
|
|
16
|
+
setValue(e) {
|
|
17
|
+
this.setState({ value: e.target.value });
|
|
18
|
+
}
|
|
19
|
+
setDefaultValue(value) {
|
|
20
|
+
this.setState({ value });
|
|
21
|
+
}
|
|
22
|
+
getValue() {
|
|
23
|
+
return this.state.value;
|
|
24
|
+
}
|
|
25
|
+
render() {
|
|
26
|
+
return (_jsxs("div", Object.assign({ className: `${Styles.ns_input_parent} p-2` }, { children: [_jsx("span", Object.assign({ className: Styles.ns_input_title }, { children: this.props.title })), _jsx("img", { className: Styles.ns_input_icon, src: IconInputTime, alt: "icon", width: 24, height: 24 }), _jsx("input", { value: this.state.value, onChange: this.setValue, type: "time", className: Styles.ns_input, placeholder: "21:44:06", step: "2" })] })));
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
29
|
//# sourceMappingURL=NSInputTime.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSInputTime.js","sourceRoot":"","sources":["../../src/components/NSInputTime.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,MAAM,MAAM,0BAA0B,CAAC;AAC9C,OAAO,aAAa,MAAM,sCAAsC,CAAC;AAYjE,MAAM,OAAO,WAAY,SAAQ,KAAK,CAAC,SAAyB;IAC5D,YAAY,KAAa;QAErB,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,KAAK,GAAG;YACT,KAAK,EAAE,EAAE;SACZ,CAAC;QACF,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACzC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACzC,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC3D,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C7B,CAAC;IACD,QAAQ;QAEJ,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC;IAC5B,CAAC;IACQ,MAAM;QAEX,OAAO,CACH,6BAAK,SAAS,EAAE,GAAG,MAAM,CAAC,eAAe,MAAM,iBAC3C,6BAAM,SAAS,EAAE,MAAM,CAAC,cAAc,gBAAG,IAAI,CAAC,KAAK,CAAC,KAAK,IAAQ,EACjE,cACI,SAAS,EAAE,MAAM,CAAC,aAAa,EAC/B,GAAG,EAAE,aAAa,EAClB,GAAG,EAAC,MAAM,EACV,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,GACZ,EACF,gBACI,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,EACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,IAAI,EAAC,MAAM,EACX,SAAS,EAAE,MAAM,CAAC,QAAQ,EAC1B,WAAW,EAAC,UAAU,EACtB,IAAI,EAAC,GAAG,GACV,KACA,CACT,CAAC;IACN,CAAC;CACJ"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
interface IProps {
|
|
3
|
-
scope: string;
|
|
4
|
-
logo: string;
|
|
5
|
-
children: ReactNode;
|
|
6
|
-
}
|
|
7
|
-
export declare function NSLayout(props: IProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
interface IProps {
|
|
3
|
+
scope: string;
|
|
4
|
+
logo: string;
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare function NSLayout(props: IProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import Styles from './NSLayout.module.css';
|
|
4
|
-
import { NSHeader } from './NSHeader';
|
|
5
|
-
import { NSFooter } from './NSFooter';
|
|
6
|
-
export function NSLayout(props) {
|
|
7
|
-
return (_jsxs("div", { className: Styles.ns_container, children: [_jsx("header", { className: Styles.ns_header, children: _jsx(NSHeader, { scope: props.scope, name: "Header", logo: props.logo }) }), _jsx("main", { className: "d-flex flex-column text-white", children: props.children }), _jsx("footer", { className: Styles.ns_footer, children: _jsx(NSFooter, { scope: props.scope, name: "Footer", logo: props.logo }) })] }));
|
|
8
|
-
}
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import Styles from './NSLayout.module.css';
|
|
4
|
+
import { NSHeader } from './NSHeader';
|
|
5
|
+
import { NSFooter } from './NSFooter';
|
|
6
|
+
export function NSLayout(props) {
|
|
7
|
+
return (_jsxs("div", Object.assign({ className: Styles.ns_container }, { children: [_jsx("header", Object.assign({ className: Styles.ns_header }, { children: _jsx(NSHeader, { scope: props.scope, name: "Header", logo: props.logo }) })), _jsx("main", Object.assign({ className: "d-flex flex-column text-white" }, { children: props.children })), _jsx("footer", Object.assign({ className: Styles.ns_footer }, { children: _jsx(NSFooter, { scope: props.scope, name: "Footer", logo: props.logo }) }))] })));
|
|
8
|
+
}
|
|
9
9
|
//# sourceMappingURL=NSLayout.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSLayout.js","sourceRoot":"","sources":["../../src/components/NSLayout.tsx"],"names":[],"mappings":"AACA,YAAY,CAAC;;AAEb,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAE3C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAStC,MAAM,UAAU,QAAQ,CAAC,KAAa;IAErC,OAAO,CACN,
|
|
1
|
+
{"version":3,"file":"NSLayout.js","sourceRoot":"","sources":["../../src/components/NSLayout.tsx"],"names":[],"mappings":"AACA,YAAY,CAAC;;AAEb,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAE3C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAStC,MAAM,UAAU,QAAQ,CAAC,KAAa;IAErC,OAAO,CACN,6BAAK,SAAS,EAAE,MAAM,CAAC,YAAY,iBAClC,+BAAQ,SAAS,EAAE,MAAM,CAAC,SAAS,gBAClC,KAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAE,KAAK,CAAC,IAAI,GAAI,IACxD,EACT,6BAAM,SAAS,EAAC,+BAA+B,gBAC7C,KAAK,CAAC,QAAQ,IACT,EACP,+BAAQ,SAAS,EAAE,MAAM,CAAC,SAAS,gBAClC,KAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAE,KAAK,CAAC,IAAI,GAAI,IACxD,KACH,CACP,CAAC;AACH,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
interface IProps {
|
|
3
|
-
scope: string;
|
|
4
|
-
logo: string;
|
|
5
|
-
title: string;
|
|
6
|
-
description?: string;
|
|
7
|
-
description_last?: string;
|
|
8
|
-
banner: string;
|
|
9
|
-
children: ReactNode;
|
|
10
|
-
}
|
|
11
|
-
export declare function NSLayoutHeroBanner(props: IProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export {};
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
interface IProps {
|
|
3
|
+
scope: string;
|
|
4
|
+
logo: string;
|
|
5
|
+
title: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
description_last?: string;
|
|
8
|
+
banner: string;
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
}
|
|
11
|
+
export declare function NSLayoutHeroBanner(props: IProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { NSLayout } from './NSLayout';
|
|
4
|
-
import Styles from './NSLayoutHeroBanner.module.css';
|
|
5
|
-
import { Link } from 'react-router-dom';
|
|
6
|
-
export function NSLayoutHeroBanner(props) {
|
|
7
|
-
return (_jsxs(NSLayout, { scope: props.scope, logo: props.logo, children: [_jsx("div", { className: Styles.hero_holder, children: _jsx("section", { className: Styles.hero_wraper, children: _jsx("div", { className: "container mx-auto px-4 lg:px-12", children: _jsxs("div", { className: "flex flex-wrap lg:flex-nowrap justify-center lg:justify-between", children: [_jsxs("article", { className: `mb-6 lg:mb-0 lg:mb-12lg:pe-12 ${Styles.hero_text_container}
|
|
8
|
-
}
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { NSLayout } from './NSLayout';
|
|
4
|
+
import Styles from './NSLayoutHeroBanner.module.css';
|
|
5
|
+
import { Link } from 'react-router-dom';
|
|
6
|
+
export function NSLayoutHeroBanner(props) {
|
|
7
|
+
return (_jsxs(NSLayout, Object.assign({ scope: props.scope, logo: props.logo }, { children: [_jsx("div", Object.assign({ className: Styles.hero_holder }, { children: _jsx("section", Object.assign({ className: Styles.hero_wraper }, { children: _jsx("div", Object.assign({ className: "container mx-auto px-4 lg:px-12" }, { children: _jsxs("div", Object.assign({ className: "flex flex-wrap lg:flex-nowrap justify-center lg:justify-between" }, { children: [_jsxs("article", Object.assign({ className: `mb-6 lg:mb-0 lg:mb-12lg:pe-12 ${Styles.hero_text_container}` }, { children: [_jsx("h1", Object.assign({ className: "ns-font-32-bold ns_font_lg_40_bold mb-6" }, { children: props.title })), _jsx("p", Object.assign({ className: "ns-font-16-normal lg:mb-4" }, { children: props.description })), _jsx("p", Object.assign({ className: "ns-font-16-normal" }, { children: props.description_last })), _jsxs("div", Object.assign({ className: "hidden lg:block mt-6" }, { children: [_jsx(Link, Object.assign({ to: "#", style: { width: "100%", marginBottom: "24px" } }, { children: "Contact US" })), _jsx(Link, Object.assign({ to: "#", style: { width: "100%" } }, { children: "Book a Meeting With Us" }))] }))] })), _jsx("div", Object.assign({ style: { backgroundImage: `url(${props.banner})` }, className: `hidden lg:block lg:w-full xl:w-1/2 ${Styles.hero_image_bg}` }, { children: _jsx("div", { className: Styles.ns_hero_vector_bg }) })), _jsx("div", Object.assign({ className: `block lg:hidden ${Styles.hero_img_container}` }, { children: _jsx("img", { src: props.banner, alt: "" }) })), _jsxs("div", Object.assign({ className: "w-full mt-6 block lg:hidden" }, { children: [_jsx(Link, Object.assign({ to: "#", style: { width: "100%", marginBottom: "24px" } }, { children: "Contact US" })), _jsx(Link, Object.assign({ to: "#", style: { width: "100%" } }, { children: "Book a Meeting With Us" }))] }))] })) })) })) })), props.children] })));
|
|
8
|
+
}
|
|
9
9
|
//# sourceMappingURL=NSLayoutHeroBanner.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSLayoutHeroBanner.js","sourceRoot":"","sources":["../../src/components/NSLayoutHeroBanner.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,MAAM,MAAM,iCAAiC,CAAA;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAcxC,MAAM,UAAU,kBAAkB,CAAC,KAAa;IAE/C,OAAO,CACN,MAAC,QAAQ,
|
|
1
|
+
{"version":3,"file":"NSLayoutHeroBanner.js","sourceRoot":"","sources":["../../src/components/NSLayoutHeroBanner.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,MAAM,MAAM,iCAAiC,CAAA;AACpD,OAAO,EAAE,IAAI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C,KAAC,IAAI,kBAAC,EAAE,EAAC,GAAG,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,gCAEpD,EAEP,KAAC,IAAI,kBAAC,EAAE,EAAC,GAAG,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,4CAE9B,KAEF,KACD,IACD,IACG,IACL,EAIL,KAAK,CAAC,QAAQ,KACL,CACX,CAAC;AACH,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
interface IProps {
|
|
3
|
-
scope: string;
|
|
4
|
-
logo: string;
|
|
5
|
-
title: string;
|
|
6
|
-
description?: string;
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
}
|
|
9
|
-
export declare function NSLayoutTitle(props: IProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export {};
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
interface IProps {
|
|
3
|
+
scope: string;
|
|
4
|
+
logo: string;
|
|
5
|
+
title: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
}
|
|
9
|
+
export declare function NSLayoutTitle(props: IProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { NSLayout } from './NSLayout';
|
|
4
|
-
export function NSLayoutTitle(props) {
|
|
5
|
-
return (_jsxs(NSLayout, { scope: props.scope, logo: props.logo, children: [_jsxs("div", { children: [_jsx("h1", { className: 'text-black text-center', children: props.title }), _jsx("p", { className: 'text-black page-description', children: props.description })] }), props.children] }));
|
|
6
|
-
}
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { NSLayout } from './NSLayout';
|
|
4
|
+
export function NSLayoutTitle(props) {
|
|
5
|
+
return (_jsxs(NSLayout, Object.assign({ scope: props.scope, logo: props.logo }, { children: [_jsxs("div", { children: [_jsx("h1", Object.assign({ className: 'text-black text-center' }, { children: props.title })), _jsx("p", Object.assign({ className: 'text-black page-description' }, { children: props.description }))] }), props.children] })));
|
|
6
|
+
}
|
|
7
7
|
//# sourceMappingURL=NSLayoutTitle.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSLayoutTitle.js","sourceRoot":"","sources":["../../src/components/NSLayoutTitle.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAWtC,MAAM,UAAU,aAAa,CAAC,KAAa;IAE1C,OAAO,CACN,MAAC,QAAQ,
|
|
1
|
+
{"version":3,"file":"NSLayoutTitle.js","sourceRoot":"","sources":["../../src/components/NSLayoutTitle.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAWtC,MAAM,UAAU,aAAa,CAAC,KAAa;IAE1C,OAAO,CACN,MAAC,QAAQ,kBAAC,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,iBAC7C,0BACC,2BAAI,SAAS,EAAC,wBAAwB,gBAAE,KAAK,CAAC,KAAK,IAAM,EACzD,0BAAG,SAAS,EAAC,6BAA6B,gBAAE,KAAK,CAAC,WAAW,IAAK,IAC7D,EACL,KAAK,CAAC,QAAQ,KACL,CACX,CAAC;AACH,CAAC"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface IProps {
|
|
3
|
-
title: string;
|
|
4
|
-
href: string;
|
|
5
|
-
}
|
|
6
|
-
interface IState {
|
|
7
|
-
title: string;
|
|
8
|
-
href: string;
|
|
9
|
-
}
|
|
10
|
-
export declare class NSLinkGreen extends React.Component<IProps, IState> {
|
|
11
|
-
constructor(props: IProps);
|
|
12
|
-
setTitle(title: string): void;
|
|
13
|
-
setHRef(href: string): void;
|
|
14
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
}
|
|
16
|
-
export {};
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface IProps {
|
|
3
|
+
title: string;
|
|
4
|
+
href: string;
|
|
5
|
+
}
|
|
6
|
+
interface IState {
|
|
7
|
+
title: string;
|
|
8
|
+
href: string;
|
|
9
|
+
}
|
|
10
|
+
export declare class NSLinkGreen extends React.Component<IProps, IState> {
|
|
11
|
+
constructor(props: IProps);
|
|
12
|
+
setTitle(title: string): void;
|
|
13
|
+
setHRef(href: string): void;
|
|
14
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import Style from "./NSLinkGreen.module.css";
|
|
4
|
-
import React from "react";
|
|
5
|
-
import { Link } from "react-router-dom";
|
|
6
|
-
export class NSLinkGreen extends React.Component {
|
|
7
|
-
constructor(props) {
|
|
8
|
-
super(props);
|
|
9
|
-
this.state = { title: props.title, href: props.href };
|
|
10
|
-
}
|
|
11
|
-
setTitle(title) {
|
|
12
|
-
this.setState({ title });
|
|
13
|
-
}
|
|
14
|
-
setHRef(href) {
|
|
15
|
-
this.setState({ href });
|
|
16
|
-
}
|
|
17
|
-
render() {
|
|
18
|
-
return (_jsx(Link, { className: "text-white text-decoration-none", to: this.state.href, children: _jsx("div", { className: Style.ns_link_green, children: this.state.title }) }));
|
|
19
|
-
}
|
|
20
|
-
}
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import Style from "./NSLinkGreen.module.css";
|
|
4
|
+
import React from "react";
|
|
5
|
+
import { Link } from "react-router-dom";
|
|
6
|
+
export class NSLinkGreen extends React.Component {
|
|
7
|
+
constructor(props) {
|
|
8
|
+
super(props);
|
|
9
|
+
this.state = { title: props.title, href: props.href };
|
|
10
|
+
}
|
|
11
|
+
setTitle(title) {
|
|
12
|
+
this.setState({ title });
|
|
13
|
+
}
|
|
14
|
+
setHRef(href) {
|
|
15
|
+
this.setState({ href });
|
|
16
|
+
}
|
|
17
|
+
render() {
|
|
18
|
+
return (_jsx(Link, Object.assign({ className: "text-white text-decoration-none", to: this.state.href }, { children: _jsx("div", Object.assign({ className: Style.ns_link_green }, { children: this.state.title })) })));
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
21
|
//# sourceMappingURL=NSLinkGreen.js.map
|
|
@@ -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;AAcxC,MAAM,OAAO,WAAY,SAAQ,KAAK,CAAC,SAAyB;IAE5D,YAAY,KAAa;QAErB,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,
|
|
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;AAcxC,MAAM,OAAO,WAAY,SAAQ,KAAK,CAAC,SAAyB;IAE5D,YAAY,KAAa;QAErB,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,kBAAC,SAAS,EAAC,iCAAiC,EAAC,EAAE,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,gBACjE,4BAAK,SAAS,EAAE,KAAK,CAAC,aAAa,gBAC9B,IAAI,CAAC,KAAK,CAAC,KAAK,IACf,IACH,CACV,CAAA;IACL,CAAC;CACJ"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface IProps {
|
|
3
|
-
title: string;
|
|
4
|
-
href: string;
|
|
5
|
-
}
|
|
6
|
-
interface IState {
|
|
7
|
-
title: string;
|
|
8
|
-
href: string;
|
|
9
|
-
}
|
|
10
|
-
export declare class NSLinkRed extends React.Component<IProps, IState> {
|
|
11
|
-
constructor(props: IProps);
|
|
12
|
-
setTitle(title: string): void;
|
|
13
|
-
setHRef(href: string): void;
|
|
14
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
}
|
|
16
|
-
export {};
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface IProps {
|
|
3
|
+
title: string;
|
|
4
|
+
href: string;
|
|
5
|
+
}
|
|
6
|
+
interface IState {
|
|
7
|
+
title: string;
|
|
8
|
+
href: string;
|
|
9
|
+
}
|
|
10
|
+
export declare class NSLinkRed extends React.Component<IProps, IState> {
|
|
11
|
+
constructor(props: IProps);
|
|
12
|
+
setTitle(title: string): void;
|
|
13
|
+
setHRef(href: string): void;
|
|
14
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import Style from "./NSLinkRed.module.css";
|
|
4
|
-
import React from "react";
|
|
5
|
-
import { Link } from "react-router-dom";
|
|
6
|
-
export class NSLinkRed extends React.Component {
|
|
7
|
-
constructor(props) {
|
|
8
|
-
super(props);
|
|
9
|
-
this.state = { title: props.title, href: props.href };
|
|
10
|
-
}
|
|
11
|
-
setTitle(title) {
|
|
12
|
-
this.setState({ title });
|
|
13
|
-
}
|
|
14
|
-
setHRef(href) {
|
|
15
|
-
this.setState({ href });
|
|
16
|
-
}
|
|
17
|
-
render() {
|
|
18
|
-
return (_jsx(Link, { className: "text-white text-decoration-none", to: this.state.href, children: _jsx("div", { className: Style.ns_link_red, children: this.state.title }) }));
|
|
19
|
-
}
|
|
20
|
-
}
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import Style from "./NSLinkRed.module.css";
|
|
4
|
+
import React from "react";
|
|
5
|
+
import { Link } from "react-router-dom";
|
|
6
|
+
export class NSLinkRed extends React.Component {
|
|
7
|
+
constructor(props) {
|
|
8
|
+
super(props);
|
|
9
|
+
this.state = { title: props.title, href: props.href };
|
|
10
|
+
}
|
|
11
|
+
setTitle(title) {
|
|
12
|
+
this.setState({ title });
|
|
13
|
+
}
|
|
14
|
+
setHRef(href) {
|
|
15
|
+
this.setState({ href });
|
|
16
|
+
}
|
|
17
|
+
render() {
|
|
18
|
+
return (_jsx(Link, Object.assign({ className: "text-white text-decoration-none", to: this.state.href }, { children: _jsx("div", Object.assign({ className: Style.ns_link_red }, { children: this.state.title })) })));
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
21
|
//# sourceMappingURL=NSLinkRed.js.map
|
|
@@ -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;AAcxC,MAAM,OAAO,SAAU,SAAQ,KAAK,CAAC,SAAyB;IAE1D,YAAY,KAAa;QAErB,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,
|
|
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;AAcxC,MAAM,OAAO,SAAU,SAAQ,KAAK,CAAC,SAAyB;IAE1D,YAAY,KAAa;QAErB,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,kBAAC,SAAS,EAAC,iCAAiC,EAAC,EAAE,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,gBACjE,4BAAK,SAAS,EAAE,KAAK,CAAC,WAAW,gBAC5B,IAAI,CAAC,KAAK,CAAC,KAAK,IACf,IACH,CACV,CAAA;IACL,CAAC;CACJ"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import './NSPagination.module.css';
|
|
2
|
-
import { Component } from 'react';
|
|
3
|
-
interface IProps {
|
|
4
|
-
size: number;
|
|
5
|
-
page: number;
|
|
6
|
-
}
|
|
7
|
-
interface IState {
|
|
8
|
-
size: number;
|
|
9
|
-
page: number;
|
|
10
|
-
}
|
|
11
|
-
export declare class NSPagination extends Component<IState, IProps> {
|
|
12
|
-
constructor(props: IProps);
|
|
13
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
}
|
|
15
|
-
export {};
|
|
1
|
+
import './NSPagination.module.css';
|
|
2
|
+
import { Component } from 'react';
|
|
3
|
+
interface IProps {
|
|
4
|
+
size: number;
|
|
5
|
+
page: number;
|
|
6
|
+
}
|
|
7
|
+
interface IState {
|
|
8
|
+
size: number;
|
|
9
|
+
page: number;
|
|
10
|
+
}
|
|
11
|
+
export declare class NSPagination extends Component<IState, IProps> {
|
|
12
|
+
constructor(props: IProps);
|
|
13
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
}
|
|
15
|
+
export {};
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import './NSPagination.module.css';
|
|
4
|
-
import { Component } from 'react';
|
|
5
|
-
export class NSPagination extends Component {
|
|
6
|
-
constructor(props) {
|
|
7
|
-
super(props);
|
|
8
|
-
this.state = { size: props.size, page: props.page };
|
|
9
|
-
}
|
|
10
|
-
render() {
|
|
11
|
-
let page = this.props.page;
|
|
12
|
-
let size = this.props.size;
|
|
13
|
-
let window = 2;
|
|
14
|
-
let min = Math.max(2, page - window);
|
|
15
|
-
let max = Math.min(page + window, size - 1);
|
|
16
|
-
let arr = [];
|
|
17
|
-
let pushPage = (index) => {
|
|
18
|
-
if (index == page)
|
|
19
|
-
arr.push(_jsx("div", { className: 'center_number', children: _jsx("a", { href: '#', className: 'center_number text-decoration-none text-light', children: index }) }));
|
|
20
|
-
else
|
|
21
|
-
arr.push(_jsx("div", { children: _jsx("a", { href: '#', className: 'text-decoration-none text-light', children: index }) }));
|
|
22
|
-
};
|
|
23
|
-
arr.push(_jsx("div", { children: _jsx("a", { href: '#', children: _jsx("img", { src: '/assets/images/left-vector.png', alt: 'left_vector' }) }) }));
|
|
24
|
-
pushPage(1);
|
|
25
|
-
if (page > window * 2)
|
|
26
|
-
arr.push(_jsx("div", { children: _jsx("a", { href: '#', className: 'text-decoration-none text-light', children: "..." }) }));
|
|
27
|
-
for (let i = min; i <= max; i++)
|
|
28
|
-
pushPage(i);
|
|
29
|
-
if (page <= size - window * 2)
|
|
30
|
-
arr.push(_jsx("div", { children: _jsx("a", { href: '#', className: 'text-decoration-none text-light', children: "..." }) }));
|
|
31
|
-
pushPage(size);
|
|
32
|
-
arr.push(_jsx("div", { children: _jsx("a", { href: '#', children: _jsx("img", { src: '/assets/images/right-vector.png', alt: 'right_vector' }) }) }));
|
|
33
|
-
return (_jsx("div", { className: "ns_pagination_container d-flex flex-row gap-3 mt-3", children: arr.map(x => (x)) }));
|
|
34
|
-
}
|
|
35
|
-
}
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import './NSPagination.module.css';
|
|
4
|
+
import { Component } from 'react';
|
|
5
|
+
export class NSPagination extends Component {
|
|
6
|
+
constructor(props) {
|
|
7
|
+
super(props);
|
|
8
|
+
this.state = { size: props.size, page: props.page };
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
let page = this.props.page;
|
|
12
|
+
let size = this.props.size;
|
|
13
|
+
let window = 2;
|
|
14
|
+
let min = Math.max(2, page - window);
|
|
15
|
+
let max = Math.min(page + window, size - 1);
|
|
16
|
+
let arr = [];
|
|
17
|
+
let pushPage = (index) => {
|
|
18
|
+
if (index == page)
|
|
19
|
+
arr.push(_jsx("div", Object.assign({ className: 'center_number' }, { children: _jsx("a", Object.assign({ href: '#', className: 'center_number text-decoration-none text-light' }, { children: index })) })));
|
|
20
|
+
else
|
|
21
|
+
arr.push(_jsx("div", { children: _jsx("a", Object.assign({ href: '#', className: 'text-decoration-none text-light' }, { children: index })) }));
|
|
22
|
+
};
|
|
23
|
+
arr.push(_jsx("div", { children: _jsx("a", Object.assign({ href: '#' }, { children: _jsx("img", { src: '/assets/images/left-vector.png', alt: 'left_vector' }) })) }));
|
|
24
|
+
pushPage(1);
|
|
25
|
+
if (page > window * 2)
|
|
26
|
+
arr.push(_jsx("div", { children: _jsx("a", Object.assign({ href: '#', className: 'text-decoration-none text-light' }, { children: "..." })) }));
|
|
27
|
+
for (let i = min; i <= max; i++)
|
|
28
|
+
pushPage(i);
|
|
29
|
+
if (page <= size - window * 2)
|
|
30
|
+
arr.push(_jsx("div", { children: _jsx("a", Object.assign({ href: '#', className: 'text-decoration-none text-light' }, { children: "..." })) }));
|
|
31
|
+
pushPage(size);
|
|
32
|
+
arr.push(_jsx("div", { children: _jsx("a", Object.assign({ href: '#' }, { children: _jsx("img", { src: '/assets/images/right-vector.png', alt: 'right_vector' }) })) }));
|
|
33
|
+
return (_jsx("div", Object.assign({ className: "ns_pagination_container d-flex flex-row gap-3 mt-3" }, { children: arr.map(x => (x)) })));
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
36
|
//# sourceMappingURL=NSPagination.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSPagination.js","sourceRoot":"","sources":["../../src/components/NSPagination.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,2BAA2B,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAYlC,MAAM,OAAO,YAAa,SAAQ,SAAyB;IAEvD,YAAY,KAAa;QAErB,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,IAAI,QAAQ,GAAG,CAAC,KAAa,EAAE,EAAE;YAE7B,IAAI,KAAK,IAAI,IAAI;gBACb,GAAG,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"NSPagination.js","sourceRoot":"","sources":["../../src/components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,aAAa,GAAO,IAAI,GAAM,CAAC,CAAC;QACxG,QAAQ,CAAC,CAAC,CAAC,CAAC;QACZ,IAAI,IAAI,GAAG,MAAM,GAAG,CAAC;YACjB,GAAG,CAAC,IAAI,CAAC,wBAAK,0BAAG,IAAI,EAAC,GAAG,EAAC,SAAS,EAAC,iCAAiC,yBAAQ,GAAM,CAAC,CAAC;QACzF,KAAK,IAAI,CAAC,GAAG,GAAG,EAAE,CAAC,IAAI,GAAG,EAAE,CAAC,EAAE;YAC3B,QAAQ,CAAC,CAAC,CAAC,CAAC;QAChB,IAAI,IAAI,IAAI,IAAI,GAAG,MAAM,GAAG,CAAC;YACzB,GAAG,CAAC,IAAI,CAAC,wBAAK,0BAAG,IAAI,EAAC,GAAG,EAAC,SAAS,EAAC,iCAAiC,yBAAQ,GAAM,CAAC,CAAC;QACzF,QAAQ,CAAC,IAAI,CAAC,CAAC;QACf,GAAG,CAAC,IAAI,CAAC,wBAAK,0BAAG,IAAI,EAAC,GAAG,gBAAC,cAAK,GAAG,EAAC,iCAAiC,EAAC,GAAG,EAAC,cAAc,GAAO,IAAI,GAAM,CAAC,CAAC;QAE1G,OAAO,CACH,4BAAK,SAAS,EAAC,oDAAoD,gBAC9D,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,IAChB,CACT,CAAC;IACN,CAAC;CACJ"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { SelectProps } from 'antd';
|
|
3
|
-
interface IProps {
|
|
4
|
-
title: string;
|
|
5
|
-
options: SelectProps['options'];
|
|
6
|
-
}
|
|
7
|
-
interface IState {
|
|
8
|
-
value: string[];
|
|
9
|
-
}
|
|
10
|
-
export declare class NSSelectBox extends React.Component<IProps, IState> {
|
|
11
|
-
constructor(props: IProps);
|
|
12
|
-
setValue(value: string[]): void;
|
|
13
|
-
getValue(): string[];
|
|
14
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
}
|
|
16
|
-
export {};
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { SelectProps } from 'antd';
|
|
3
|
+
interface IProps {
|
|
4
|
+
title: string;
|
|
5
|
+
options: SelectProps['options'];
|
|
6
|
+
}
|
|
7
|
+
interface IState {
|
|
8
|
+
value: string[];
|
|
9
|
+
}
|
|
10
|
+
export declare class NSSelectBox extends React.Component<IProps, IState> {
|
|
11
|
+
constructor(props: IProps);
|
|
12
|
+
setValue(value: string[]): void;
|
|
13
|
+
getValue(): string[];
|
|
14
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import React from "react";
|
|
4
|
-
import Styles from "./NSSelectBox.module.css";
|
|
5
|
-
import { Select, Space } from 'antd';
|
|
6
|
-
import { CaretDownOutlined } from '@ant-design/icons';
|
|
7
|
-
export class NSSelectBox extends React.Component {
|
|
8
|
-
constructor(props) {
|
|
9
|
-
super(props);
|
|
10
|
-
this.state = {
|
|
11
|
-
value: [],
|
|
12
|
-
};
|
|
13
|
-
this.setValue = this.setValue.bind(this);
|
|
14
|
-
}
|
|
15
|
-
setValue(value) {
|
|
16
|
-
this.setState({ value });
|
|
17
|
-
}
|
|
18
|
-
getValue() {
|
|
19
|
-
return this.state.value;
|
|
20
|
-
}
|
|
21
|
-
render() {
|
|
22
|
-
return (_jsx("div", { className: `${Styles.ns_input_parent} p-2
|
|
23
|
-
}
|
|
24
|
-
}
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import React from "react";
|
|
4
|
+
import Styles from "./NSSelectBox.module.css";
|
|
5
|
+
import { Select, Space } from 'antd';
|
|
6
|
+
import { CaretDownOutlined } from '@ant-design/icons';
|
|
7
|
+
export class NSSelectBox extends React.Component {
|
|
8
|
+
constructor(props) {
|
|
9
|
+
super(props);
|
|
10
|
+
this.state = {
|
|
11
|
+
value: [],
|
|
12
|
+
};
|
|
13
|
+
this.setValue = this.setValue.bind(this);
|
|
14
|
+
}
|
|
15
|
+
setValue(value) {
|
|
16
|
+
this.setState({ value });
|
|
17
|
+
}
|
|
18
|
+
getValue() {
|
|
19
|
+
return this.state.value;
|
|
20
|
+
}
|
|
21
|
+
render() {
|
|
22
|
+
return (_jsx("div", Object.assign({ className: `${Styles.ns_input_parent} p-2` }, { children: _jsx(Select, { suffixIcon: _jsx(CaretDownOutlined, {}), mode: "multiple", style: { width: '100%' }, className: Styles.ns_input_select, placeholder: "Combo Box", onChange: this.setValue, optionLabelProp: "label", options: this.props.options, optionRender: (option) => (_jsx(Space, Object.assign({ className: Styles.ns_input_select_option }, { children: option.data.desc }))) }) })));
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
25
|
//# sourceMappingURL=NSSelectBox.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSSelectBox.js","sourceRoot":"","sources":["../../src/components/NSSelectBox.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,MAAM,MAAM,0BAA0B,CAAC;AAC9C,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAErC,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAA;AAarD,MAAM,OAAO,WAAY,SAAQ,KAAK,CAAC,SAAyB;IAC5D,YAAY,KAAa;QAErB,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,KAAK,GAAG;YACT,KAAK,EAAE,EAAE;SACZ,CAAC;QACF,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC7C,CAAC;IACD,QAAQ,CAAC,KAAe;QAEpB,IAAI,CAAC,QAAQ,CA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