namirasoft-site-react 1.2.52 → 1.2.55
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/assets/images/map_location.png +0 -0
- package/dist/components/NSCard.d.ts +2 -5
- package/dist/components/NSCard.js +3 -3
- package/dist/components/NSCard.js.map +1 -1
- package/dist/components/NSCard.module.css +10 -1
- package/dist/components/NSEntityBar.d.ts +12 -0
- package/dist/components/NSEntityBar.js +10 -0
- package/dist/components/NSEntityBar.js.map +1 -0
- package/dist/components/NSEntityBar.module.css +53 -0
- package/dist/components/NSLayoutTitle.d.ts +4 -1
- package/dist/components/NSLayoutTitle.js +5 -2
- package/dist/components/NSLayoutTitle.js.map +1 -1
- package/dist/components/NSLinkBlue.d.ts +17 -0
- package/dist/components/NSLinkBlue.js +20 -0
- package/dist/components/NSLinkBlue.js.map +1 -0
- package/dist/components/NSLinkBlue.module.css +24 -0
- package/dist/components/NSMap.d.ts +12 -0
- package/dist/components/NSMap.js +18 -0
- package/dist/components/NSMap.js.map +1 -0
- package/dist/components/NSSection.d.ts +15 -0
- package/dist/components/NSSection.js +27 -0
- package/dist/components/NSSection.js.map +1 -0
- package/dist/components/NSSection.module.css +10 -0
- package/dist/components/NSSectionBars.d.ts +11 -0
- package/dist/components/NSSectionBars.js +14 -0
- package/dist/components/NSSectionBars.js.map +1 -0
- package/dist/components/NSSectionBars.module.css +11 -0
- package/dist/components/NSSectionCards.d.ts +23 -0
- package/dist/components/NSSectionCards.js +19 -0
- package/dist/components/NSSectionCards.js.map +1 -0
- package/dist/components/NSSectionCards.module.css +38 -0
- package/dist/components/NSSectionTitle.d.ts +15 -0
- package/dist/components/NSSectionTitle.js +11 -0
- package/dist/components/NSSectionTitle.js.map +1 -0
- package/dist/components/NSSectionTitle.module.css +0 -0
- package/dist/components/NSSelectBox.js +1 -2
- package/dist/components/NSSelectBox.js.map +1 -1
- package/dist/components/NSTitle.d.ts +10 -0
- package/dist/components/NSTitle.js +11 -0
- package/dist/components/NSTitle.js.map +1 -0
- package/dist/components/NSTitle.module.css +9 -0
- package/dist/main.d.ts +8 -0
- package/dist/main.js +8 -0
- package/dist/main.js.map +1 -1
- package/dist/types/Background.d.ts +5 -0
- package/dist/types/Background.js +2 -0
- package/dist/types/Background.js.map +1 -0
- package/package.json +12 -8
- package/src/assets/images/map_location.png +0 -0
- package/src/components/NSCard.module.css +10 -1
- package/src/components/NSCard.tsx +16 -16
- package/src/components/NSEntityBar.module.css +53 -0
- package/src/components/NSEntityBar.tsx +32 -0
- package/src/components/NSLayoutTitle.tsx +14 -11
- package/src/components/NSLinkBlue.module.css +24 -0
- package/src/components/NSLinkBlue.tsx +45 -0
- package/src/components/NSMap.tsx +38 -0
- package/src/components/NSSection.module.css +10 -0
- package/src/components/NSSection.tsx +48 -0
- package/src/components/NSSectionBars.module.css +11 -0
- package/src/components/NSSectionBars.tsx +35 -0
- package/src/components/NSSectionCards.module.css +38 -0
- package/src/components/NSSectionCards.tsx +69 -0
- package/src/components/NSSectionTitle.module.css +0 -0
- package/src/components/NSSectionTitle.tsx +28 -0
- package/src/components/NSSelectBox.tsx +2 -3
- package/src/components/NSTitle.module.css +9 -0
- package/src/components/NSTitle.tsx +25 -0
- package/src/main.ts +8 -0
- package/src/types/Background.ts +6 -0
- package/dist/components/NSParentCard.module.css +0 -35
- package/src/components/NSParentCard.module.css +0 -35
- package/src/components/NSParentCard.tsx.temp +0 -59
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Component } from 'react';
|
|
2
|
-
interface
|
|
2
|
+
export interface NSCardProps {
|
|
3
3
|
title: string;
|
|
4
4
|
description?: string;
|
|
5
5
|
image: {
|
|
@@ -12,9 +12,6 @@ interface IProps {
|
|
|
12
12
|
target?: string;
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
export declare class NSCard extends Component<IProps, IStart> {
|
|
15
|
+
export declare class NSCard extends Component<NSCardProps> {
|
|
18
16
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
19
17
|
}
|
|
20
|
-
export {};
|
|
@@ -5,9 +5,9 @@ import Styles from './NSCard.module.css';
|
|
|
5
5
|
export class NSCard extends Component {
|
|
6
6
|
render() {
|
|
7
7
|
var _a;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_jsx("div", { children: _jsx("a", Object.assign({ className: Styles.ns_card_link, href: link.href, target: (_a = link.target) !== null && _a !== void 0 ? _a : "_self" }, { children: link.text })) })] })) }));
|
|
8
|
+
return (_jsx(_Fragment, { children: _jsxs("article", Object.assign({ className: Styles.ns_card }, { children: [_jsxs("div", Object.assign({ className: Styles.ns_card_detail_container }, { children: [_jsxs("div", Object.assign({ className: Styles.ns_card_title_img, style: { alignItems: this.props.description ? "flex-start" : "center" } }, { children: [_jsx("img", { className: Styles.card_img, src: this.props.image.src, alt: this.props.image.alt }), _jsx("h3", Object.assign({ className: Styles.card_title }, { children: this.props.title }))] })), this.props.description &&
|
|
9
|
+
_jsx("p", Object.assign({ className: Styles.card_description }, { children: this.props.description }))] })), this.props.link &&
|
|
10
|
+
_jsx("div", Object.assign({ className: Styles.ns_card_link_container }, { children: _jsx("a", Object.assign({ className: Styles.ns_card_link, href: this.props.link.href, target: (_a = this.props.link.target) !== null && _a !== void 0 ? _a : "_self" }, { children: this.props.link.text })) }))] })) }));
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
//# sourceMappingURL=NSCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSCard.js","sourceRoot":"","sources":["../../src/components/NSCard.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,MAAM,MAAM,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"NSCard.js","sourceRoot":"","sources":["../../src/components/NSCard.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,MAAM,MAAM,qBAAqB,CAAA;AAkBxC,MAAM,OAAO,MAAO,SAAQ,SAAsB;IACxC,MAAM;;QAEd,OAAO,CACN,4BACC,iCAAS,SAAS,EAAE,MAAM,CAAC,OAAO,iBACjC,6BAAK,SAAS,EAAE,MAAM,CAAC,wBAAwB,iBAC9C,6BAAK,SAAS,EAAE,MAAM,CAAC,iBAAiB,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,QAAQ,EAAE,iBAChH,cAAK,SAAS,EAAE,MAAM,CAAC,QAAQ,EAAE,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,GAAI,EACzF,2BAAI,SAAS,EAAE,MAAM,CAAC,UAAU,gBAC9B,IAAI,CAAC,KAAK,CAAC,KAAK,IACb,KACA,EAEL,IAAI,CAAC,KAAK,CAAC,WAAW;gCACtB,0BAAG,SAAS,EAAE,MAAM,CAAC,gBAAgB,gBACnC,IAAI,CAAC,KAAK,CAAC,WAAW,IACpB,KAGA,EACL,IAAI,CAAC,KAAK,CAAC,IAAI;wBACf,4BAAK,SAAS,EAAE,MAAM,CAAC,sBAAsB,gBAC5C,0BAAG,SAAS,EAAE,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,mCAAI,OAAO,gBACtG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,IAClB,IACC,KAEG,GACT,CACH,CAAC;IACH,CAAC;CACD"}
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
box-shadow: 0 2px 10px 4px #00000040;
|
|
10
10
|
padding: 24px;
|
|
11
11
|
border-radius: 24px;
|
|
12
|
+
width: 100%;
|
|
13
|
+
max-width: 358px;
|
|
12
14
|
}
|
|
13
15
|
|
|
14
16
|
.ns_card_detail_container {
|
|
@@ -23,6 +25,9 @@
|
|
|
23
25
|
flex-direction: column;
|
|
24
26
|
align-items: center;
|
|
25
27
|
justify-content: flex-start;
|
|
28
|
+
gap: 24px;
|
|
29
|
+
margin-bottom: 16px;
|
|
30
|
+
width: 100%;
|
|
26
31
|
}
|
|
27
32
|
|
|
28
33
|
.card_img {
|
|
@@ -34,11 +39,12 @@
|
|
|
34
39
|
|
|
35
40
|
.card_title {
|
|
36
41
|
font-style: normal;
|
|
37
|
-
font-size:
|
|
42
|
+
font-size: 24px;
|
|
38
43
|
font-weight: 700;
|
|
39
44
|
line-height: normal;
|
|
40
45
|
color: inherit;
|
|
41
46
|
text-align: inherit;
|
|
47
|
+
color: #141161;
|
|
42
48
|
}
|
|
43
49
|
|
|
44
50
|
.card_description {
|
|
@@ -65,6 +71,9 @@
|
|
|
65
71
|
width: 100%;
|
|
66
72
|
max-width: 310px;
|
|
67
73
|
}
|
|
74
|
+
.ns_card_link_container {
|
|
75
|
+
width: 100%;
|
|
76
|
+
}
|
|
68
77
|
|
|
69
78
|
@media only screen and (min-width: 576px) {
|
|
70
79
|
.ns_card {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Component } from 'react';
|
|
2
|
+
export interface NSEntityBarProps {
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
image: {
|
|
6
|
+
src: string;
|
|
7
|
+
alt: string;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export declare class NSEntityBar extends Component<NSEntityBarProps> {
|
|
11
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { Component } from 'react';
|
|
4
|
+
import Styles from './NSEntityBar.module.css';
|
|
5
|
+
export class NSEntityBar extends Component {
|
|
6
|
+
render() {
|
|
7
|
+
return (_jsxs("article", Object.assign({ className: Styles.entity_bar_item }, { children: [_jsx("figure", Object.assign({ className: Styles.entity_bar_image_container }, { children: _jsx("img", { src: this.props.image.src, alt: this.props.image.alt, width: 310, height: 240 }) })), _jsxs("div", Object.assign({ className: Styles.entity_bar_details_container }, { children: [_jsxs("h3", Object.assign({ className: Styles.entity_bar_image_title }, { children: [" ", this.props.title, " "] })), _jsxs("p", Object.assign({ className: Styles.entity_bar_image_description }, { children: [" ", this.props.description, " "] }))] }))] })));
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=NSEntityBar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NSEntityBar.js","sourceRoot":"","sources":["../../src/components/NSEntityBar.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,MAAM,MAAM,0BAA0B,CAAA;AAY7C,MAAM,OAAO,WAAY,SAAQ,SAA2B;IAClD,MAAM;QAEd,OAAO,CACN,iCAAS,SAAS,EAAE,MAAM,CAAC,eAAe,iBACzC,+BAAQ,SAAS,EAAE,MAAM,CAAC,0BAA0B,gBACnD,cAAK,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,GAAI,IAC9E,EACT,6BAAK,SAAS,EAAE,MAAM,CAAC,4BAA4B,iBAClD,4BAAI,SAAS,EAAE,MAAM,CAAC,sBAAsB,sBAAI,IAAI,CAAC,KAAK,CAAC,KAAK,UAAO,EACvE,2BAAG,SAAS,EAAE,MAAM,CAAC,4BAA4B,sBAAK,IAAI,CAAC,KAAK,CAAC,WAAW,UAAM,KAC7E,KACG,CACV,CAAC;IACH,CAAC;CACD"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
.entity_bar_item {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
justify-content: flex-start;
|
|
5
|
+
align-items: flex-start;
|
|
6
|
+
gap: 24px;
|
|
7
|
+
padding: 24px;
|
|
8
|
+
box-shadow: 0 2px 10px 4px #00000040;
|
|
9
|
+
width: 100%;
|
|
10
|
+
max-width: 358px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.entity_bar_image_container {
|
|
14
|
+
width: 100%;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.entity_bar_details_container {
|
|
18
|
+
text-align: start;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.entity_bar_image_title {
|
|
22
|
+
color: #001664;
|
|
23
|
+
font-size: 32px;
|
|
24
|
+
font-weight: 700;
|
|
25
|
+
line-height: 32px;
|
|
26
|
+
margin-bottom: 16px;
|
|
27
|
+
text-align: start;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.entity_bar_image_description {
|
|
31
|
+
|
|
32
|
+
color: #001664;
|
|
33
|
+
font-size: 16px;
|
|
34
|
+
font-weight: 400;
|
|
35
|
+
line-height: 24px;
|
|
36
|
+
text-align: justify;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@media only screen and (min-width: 992px) {
|
|
40
|
+
.entity_bar_item {
|
|
41
|
+
display: flex;
|
|
42
|
+
flex-direction: row;
|
|
43
|
+
justify-content: flex-start;
|
|
44
|
+
align-items: flex-start;
|
|
45
|
+
gap: 48px;
|
|
46
|
+
width: 100%;
|
|
47
|
+
max-width: 1170px;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.entity_bar_details_container {
|
|
51
|
+
padding: 24px 0;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Component } from 'react';
|
|
1
2
|
import { ReactNode } from 'react';
|
|
2
3
|
interface IProps {
|
|
3
4
|
scope: string;
|
|
@@ -6,5 +7,7 @@ interface IProps {
|
|
|
6
7
|
description?: string;
|
|
7
8
|
children: ReactNode;
|
|
8
9
|
}
|
|
9
|
-
export declare
|
|
10
|
+
export declare class NSLayoutTitle extends Component<IProps> {
|
|
11
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
}
|
|
10
13
|
export {};
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { Component } from 'react';
|
|
3
4
|
import { NSLayout } from './NSLayout';
|
|
4
|
-
export
|
|
5
|
-
|
|
5
|
+
export class NSLayoutTitle extends Component {
|
|
6
|
+
render() {
|
|
7
|
+
return (_jsxs(NSLayout, Object.assign({ scope: this.props.scope, logo: this.props.logo }, { children: [_jsxs("div", { children: [_jsx("h1", Object.assign({ className: 'text-black text-center' }, { children: this.props.title })), _jsx("p", Object.assign({ className: 'text-black page-description' }, { children: this.props.description }))] }), this.props.children] })));
|
|
8
|
+
}
|
|
6
9
|
}
|
|
7
10
|
//# sourceMappingURL=NSLayoutTitle.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSLayoutTitle.js","sourceRoot":"","sources":["../../src/components/NSLayoutTitle.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;
|
|
1
|
+
{"version":3,"file":"NSLayoutTitle.js","sourceRoot":"","sources":["../../src/components/NSLayoutTitle.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGlC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAWtC,MAAM,OAAO,aAAc,SAAQ,SAAiB;IAC1C,MAAM;QAEd,OAAO,CACN,MAAC,QAAQ,kBAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,iBACvD,0BACC,2BAAI,SAAS,EAAC,wBAAwB,gBAAE,IAAI,CAAC,KAAK,CAAC,KAAK,IAAM,EAC9D,0BAAG,SAAS,EAAC,6BAA6B,gBAAE,IAAI,CAAC,KAAK,CAAC,WAAW,IAAK,IAClE,EACL,IAAI,CAAC,KAAK,CAAC,QAAQ,KACV,CACX,CAAC;IACH,CAAC;CACD"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface IProps {
|
|
3
|
+
title: string;
|
|
4
|
+
href: string;
|
|
5
|
+
style?: React.CSSProperties;
|
|
6
|
+
}
|
|
7
|
+
interface IState {
|
|
8
|
+
title: string;
|
|
9
|
+
href: string;
|
|
10
|
+
}
|
|
11
|
+
export declare class NSLinkBlue extends React.Component<IProps, IState> {
|
|
12
|
+
constructor(props: IProps);
|
|
13
|
+
setTitle(title: string): void;
|
|
14
|
+
setHRef(href: string): void;
|
|
15
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import Styles from "./NSLinkBlue.module.css";
|
|
4
|
+
import React from "react";
|
|
5
|
+
export class NSLinkBlue extends React.Component {
|
|
6
|
+
constructor(props) {
|
|
7
|
+
super(props);
|
|
8
|
+
this.state = { title: props.title, href: props.href };
|
|
9
|
+
}
|
|
10
|
+
setTitle(title) {
|
|
11
|
+
this.setState({ title });
|
|
12
|
+
}
|
|
13
|
+
setHRef(href) {
|
|
14
|
+
this.setState({ href });
|
|
15
|
+
}
|
|
16
|
+
render() {
|
|
17
|
+
return (_jsx("div", Object.assign({ className: Styles.ns_link_parent, style: this.props.style }, { children: _jsx("a", Object.assign({ className: "text-white text-decoration-none", href: this.state.href }, { children: this.state.title })) })));
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=NSLinkBlue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NSLinkBlue.js","sourceRoot":"","sources":["../../src/components/NSLinkBlue.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,MAAM,MAAM,yBAAyB,CAAC;AAC7C,OAAO,KAAK,MAAM,OAAO,CAAC;AAe1B,MAAM,OAAO,UAAW,SAAQ,KAAK,CAAC,SAAyB;IAE9D,YAAY,KAAa;QAExB,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,KAAK,GAAG,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC;IACvD,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,4BAAK,SAAS,EAAE,MAAM,CAAC,cAAc,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,gBAC7D,0BAAG,SAAS,EAAC,iCAAiC,EAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,gBAClE,IAAI,CAAC,KAAK,CAAC,KAAK,IACd,IACC,CACN,CAAA;IACF,CAAC;CACD"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
.ns_link_parent {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
align-items: center;
|
|
6
|
+
width: 100%;
|
|
7
|
+
gap: 24px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.ns_link_parent a {
|
|
11
|
+
text-decoration: none;
|
|
12
|
+
background-color: #366EFF;
|
|
13
|
+
color: #fff;
|
|
14
|
+
font-size: 16px;
|
|
15
|
+
font-weight: 400;
|
|
16
|
+
height: 48px;
|
|
17
|
+
display: flex;
|
|
18
|
+
justify-content: center;
|
|
19
|
+
align-items: center;
|
|
20
|
+
max-width: 358px;
|
|
21
|
+
padding: 12px 64px;
|
|
22
|
+
border-radius: 24px;
|
|
23
|
+
width: 256px;
|
|
24
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface NSMapProps {
|
|
3
|
+
location: {
|
|
4
|
+
name: string;
|
|
5
|
+
latitude: number;
|
|
6
|
+
longitude: number;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export declare class NSMap extends React.Component<NSMapProps> {
|
|
10
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
}
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { MapContainer, TileLayer, Marker, Popup } from 'react-leaflet';
|
|
5
|
+
import L from 'leaflet';
|
|
6
|
+
import IconLocation from '../assets/images/map_location.png';
|
|
7
|
+
const locationIcon = L.icon({
|
|
8
|
+
iconUrl: IconLocation,
|
|
9
|
+
iconSize: [24, 24],
|
|
10
|
+
iconAnchor: [12, 41],
|
|
11
|
+
popupAnchor: [1, -34],
|
|
12
|
+
});
|
|
13
|
+
export class NSMap extends React.Component {
|
|
14
|
+
render() {
|
|
15
|
+
return (_jsxs(MapContainer, Object.assign({ center: [this.props.location.latitude, this.props.location.longitude], zoom: 13, style: { height: '400px', width: '100%' } }, { children: [_jsx(TileLayer, { url: "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" }), _jsx(Marker, Object.assign({ position: [this.props.location.latitude, this.props.location.longitude], icon: locationIcon }, { children: _jsx(Popup, { children: this.props.location.name }) }))] })));
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=NSMap.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NSMap.js","sourceRoot":"","sources":["../../src/components/NSMap.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAEZ,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,CAAC,MAAM,SAAS,CAAC;AACxB,OAAO,YAAY,MAAM,mCAAmC,CAAC;AAC7D,MAAM,YAAY,GAAG,CAAC,CAAC,IAAI,CAAC;IAC3B,OAAO,EAAE,YAAY;IACrB,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC;IAClB,UAAU,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC;IACpB,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC;CACrB,CAAC,CAAC;AAYH,MAAM,OAAO,KAAM,SAAQ,KAAK,CAAC,SAAqB;IAC5C,MAAM;QAEd,OAAO,CACN,MAAC,YAAY,kBAAC,MAAM,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,iBACvI,KAAC,SAAS,IAAC,GAAG,EAAC,oDAAoD,GAAG,EACtE,KAAC,MAAM,kBAAC,QAAQ,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,IAAI,EAAE,YAAY,gBAClG,KAAC,KAAK,cACJ,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,GAClB,IACA,KACK,CACf,CAAC;IACH,CAAC;CACD"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Component, ReactNode } from "react";
|
|
2
|
+
import { Background } from "../types/Background";
|
|
3
|
+
interface NSSectionProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
background?: Background;
|
|
6
|
+
padding_bottom?: string;
|
|
7
|
+
}
|
|
8
|
+
interface NSSectionState {
|
|
9
|
+
background?: Background;
|
|
10
|
+
}
|
|
11
|
+
declare class NSSection extends Component<NSSectionProps, NSSectionState> {
|
|
12
|
+
constructor(props: NSSectionProps);
|
|
13
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
}
|
|
15
|
+
export default NSSection;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { Component } from "react";
|
|
4
|
+
import Styles from './NSSection.module.css';
|
|
5
|
+
class NSSection extends Component {
|
|
6
|
+
constructor(props) {
|
|
7
|
+
var _a, _b, _c;
|
|
8
|
+
super(props);
|
|
9
|
+
this.state = {
|
|
10
|
+
background: {
|
|
11
|
+
image: `url(${(_a = props.background) === null || _a === void 0 ? void 0 : _a.image})`,
|
|
12
|
+
color: (_b = props.background) === null || _b === void 0 ? void 0 : _b.color,
|
|
13
|
+
position: (_c = props.background) === null || _c === void 0 ? void 0 : _c.position
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
render() {
|
|
18
|
+
var _a, _b, _c;
|
|
19
|
+
return (_jsx("section", Object.assign({ style: {
|
|
20
|
+
backgroundImage: (_a = this.state.background) === null || _a === void 0 ? void 0 : _a.image,
|
|
21
|
+
backgroundColor: (_b = this.state.background) === null || _b === void 0 ? void 0 : _b.color,
|
|
22
|
+
backgroundPosition: (_c = this.state.background) === null || _c === void 0 ? void 0 : _c.position
|
|
23
|
+
}, className: Styles.ns_section }, { children: _jsx("div", Object.assign({ style: { paddingBottom: this.props.padding_bottom }, className: `${Styles.ns_section_whitespace}` }, { children: this.props.children })) })));
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export default NSSection;
|
|
27
|
+
//# sourceMappingURL=NSSection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NSSection.js","sourceRoot":"","sources":["../../src/components/NSSection.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AACZ,OAAO,EAAE,SAAS,EAAa,MAAM,OAAO,CAAC;AAC7C,OAAO,MAAM,MAAM,wBAAwB,CAAA;AAc3C,MAAM,SAAU,SAAQ,SAAyC;IAChE,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,OAAO,CACN,gCAAS,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,EAAG,MAAA,IAAI,CAAC,KAAK,CAAC,UAAU,0CAAE,QAAQ;aACpD,EACD,SAAS,EAAE,MAAM,CAAC,UAAU,gBAC5B,4BAAK,KAAK,EAAE,EAAE,aAAa,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,EAAE,EACvD,SAAS,EAAE,GAAG,MAAM,CAAC,qBAAqB,EAAE,gBAC3C,IAAI,CAAC,KAAK,CAAC,QAAQ,IACf,IACG,CACV,CAAC;IACH,CAAC;CACD;AAED,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Component } from 'react';
|
|
2
|
+
import { NSEntityBarProps } from './NSEntityBar';
|
|
3
|
+
import { Background } from '../types/Background';
|
|
4
|
+
interface NSSectionBarsProps {
|
|
5
|
+
background?: Background;
|
|
6
|
+
bars: NSEntityBarProps[];
|
|
7
|
+
}
|
|
8
|
+
declare class NSSectionBars extends Component<NSSectionBarsProps> {
|
|
9
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
}
|
|
11
|
+
export default NSSectionBars;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
|
+
import { Component } from 'react';
|
|
4
|
+
import Styles from './NSSectionBars.module.css';
|
|
5
|
+
import { NSEntityBar } from './NSEntityBar';
|
|
6
|
+
import NSSection from './NSSection';
|
|
7
|
+
class NSSectionBars extends Component {
|
|
8
|
+
render() {
|
|
9
|
+
var _a;
|
|
10
|
+
return (_jsx(_Fragment, { children: _jsx(NSSection, Object.assign({ background: this.props.background }, { children: _jsx("div", Object.assign({ className: `container mx-auto px-4 lg:px-12 ${Styles.ns_entity_bar_container}` }, { children: (_a = this.props.bars) === null || _a === void 0 ? void 0 : _a.map((bar) => _jsx(NSEntityBar, Object.assign({}, bar))) })) })) }));
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
export default NSSectionBars;
|
|
14
|
+
//# sourceMappingURL=NSSectionBars.js.map
|
|
@@ -0,0 +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;AAElC,OAAO,MAAM,MAAM,4BAA4B,CAAC;AAEhD,OAAO,EAAE,WAAW,EAAoB,MAAM,eAAe,CAAC;AAC9D,OAAO,SAAS,MAAM,aAAa,CAAC;AAUpC,MAAM,aAAc,SAAQ,SAA6B;IAC/C,MAAM;;QAEd,OAAO,CACN,4BACC,KAAC,SAAS,kBAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU,gBAC3C,4BAAK,SAAS,EAAE,mCAAmC,MAAM,CAAC,uBAAuB,EAAE,gBAEjF,MAAA,IAAI,CAAC,KAAK,CAAC,IAAI,0CAAE,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,KAAC,WAAW,oBAAM,GAAG,EAAI,CAAC,IAEpD,IACK,GACV,CACH,CAAC;IACH,CAAC;CACD;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Component } from 'react';
|
|
2
|
+
import { NSCardProps } from './NSCard';
|
|
3
|
+
import { Background } from '../types/Background';
|
|
4
|
+
interface NSSectionCardsProps {
|
|
5
|
+
title?: {
|
|
6
|
+
text: string;
|
|
7
|
+
color?: string;
|
|
8
|
+
};
|
|
9
|
+
description?: {
|
|
10
|
+
text: string;
|
|
11
|
+
color?: string;
|
|
12
|
+
};
|
|
13
|
+
background?: Background;
|
|
14
|
+
button?: {
|
|
15
|
+
href: string;
|
|
16
|
+
title: string;
|
|
17
|
+
};
|
|
18
|
+
cards: NSCardProps[];
|
|
19
|
+
}
|
|
20
|
+
declare class NSSectionCards extends Component<NSSectionCardsProps> {
|
|
21
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
}
|
|
23
|
+
export default NSSectionCards;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
|
+
import { Component } from 'react';
|
|
4
|
+
import Styles from './NSSectionCards.module.css';
|
|
5
|
+
import NSTitle from './NSTitle';
|
|
6
|
+
import { NSCard } from './NSCard';
|
|
7
|
+
import NSSection from './NSSection';
|
|
8
|
+
import { NSLinkBlue } from './NSLinkBlue';
|
|
9
|
+
class NSSectionCards extends Component {
|
|
10
|
+
render() {
|
|
11
|
+
var _a, _b, _c, _d, _e, _f;
|
|
12
|
+
return (_jsx(_Fragment, { children: _jsx(NSSection, Object.assign({ background: this.props.background }, { children: _jsxs("div", Object.assign({ className: `container mx-auto px-4 lg:px-12 ${Styles.ns_section_cards_holder}` }, { children: [this.props.title &&
|
|
13
|
+
_jsxs("div", Object.assign({ className: Styles.ns_section_cards_title_container }, { children: [_jsx(NSTitle, { color: (_a = this.props.title) === null || _a === void 0 ? void 0 : _a.color, title: (_b = this.props.title) === null || _b === void 0 ? void 0 : _b.text }), this.props.description &&
|
|
14
|
+
_jsxs("p", Object.assign({ style: { color: (_c = this.props.description) === null || _c === void 0 ? void 0 : _c.color }, className: Styles.description }, { children: [" ", this.props.description.text, " "] }))] })), _jsx("div", Object.assign({ className: ` ${Styles.ns_card_container}` }, { children: (_d = this.props.cards) === null || _d === void 0 ? void 0 : _d.map((card) => _jsx(NSCard, Object.assign({}, card))) })), this.props.button &&
|
|
15
|
+
_jsx("div", Object.assign({ className: `mt-12 w-full- text-center ${Styles.ns_section_cards_link_container}` }, { children: _jsx(NSLinkBlue, { href: (_e = this.props.button) === null || _e === void 0 ? void 0 : _e.href, title: (_f = this.props.button) === null || _f === void 0 ? void 0 : _f.title }) }))] })) })) }));
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export default NSSectionCards;
|
|
19
|
+
//# sourceMappingURL=NSSectionCards.js.map
|
|
@@ -0,0 +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;AAElC,OAAO,MAAM,MAAM,6BAA6B,CAAC;AACjD,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,EAAE,MAAM,EAAe,MAAM,UAAU,CAAC;AAC/C,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAqB1C,MAAM,cAAe,SAAQ,SAA8B;IACjD,MAAM;;QAEd,OAAO,CACN,4BACC,KAAC,SAAS,kBAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU,gBAC3C,6BAAK,SAAS,EAAE,mCAAmC,MAAM,CAAC,uBAAuB,EAAE,iBAGjF,IAAI,CAAC,KAAK,CAAC,KAAK;4BAChB,6BAAK,SAAS,EAAE,MAAM,CAAC,gCAAgC,iBACtD,KAAC,OAAO,IAAC,KAAK,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,KAAK,0CAAE,KAAK,EAAE,KAAK,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,KAAK,0CAAE,IAAI,GAAI,EAGzE,IAAI,CAAC,KAAK,CAAC,WAAW;wCACtB,2BAAG,KAAK,EAAE,EAAE,KAAK,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,WAAW,0CAAE,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,CAAC,WAAW,sBAAI,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,UAAM,KAGlH,EAGP,4BAAK,SAAS,EAAE,IAAI,MAAM,CAAC,iBAAiB,EAAE,gBAE5C,MAAA,IAAI,CAAC,KAAK,CAAC,KAAK,0CAAE,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,KAAC,MAAM,oBAAM,IAAI,EAAI,CAAC,IAElD,EAEL,IAAI,CAAC,KAAK,CAAC,MAAM;4BACjB,4BAAK,SAAS,EAAE,6BAA6B,MAAM,CAAC,+BAA+B,EAAE,gBACpF,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,IACzE,KAEF,IACK,GACV,CACH,CAAC;IACH,CAAC;CACD;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
.ns_section_cards_holder {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
align-items: center;
|
|
6
|
+
margin-left: auto;
|
|
7
|
+
margin-right: auto;
|
|
8
|
+
padding-left: 1rem;
|
|
9
|
+
padding-right: 1rem;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.ns_section_cards_title_container {
|
|
13
|
+
margin-bottom: 32px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.ns_card_container {
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: row;
|
|
19
|
+
flex-wrap: wrap;
|
|
20
|
+
justify-content: center;
|
|
21
|
+
gap: 48px;
|
|
22
|
+
width: 100%;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.ns_section_cards_link_container {
|
|
26
|
+
margin-top: 48px;
|
|
27
|
+
width: 100%;
|
|
28
|
+
text-align: center;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.description {
|
|
32
|
+
font-style: normal;
|
|
33
|
+
font-weight: initial;
|
|
34
|
+
font-size: 16px;
|
|
35
|
+
font-family: initial;
|
|
36
|
+
line-height: initial;
|
|
37
|
+
margin-bottom: 16px;
|
|
38
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Component, ReactNode } from 'react';
|
|
2
|
+
import { Background } from '../types/Background';
|
|
3
|
+
interface NSSectionTitleProps {
|
|
4
|
+
title: {
|
|
5
|
+
text: string;
|
|
6
|
+
color?: string;
|
|
7
|
+
};
|
|
8
|
+
background?: Background;
|
|
9
|
+
padding_bottom?: string;
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export default class NSSectionTitle extends Component<NSSectionTitleProps> {
|
|
13
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
}
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { Component } from 'react';
|
|
4
|
+
import NSSection from './NSSection';
|
|
5
|
+
import NSTitle from './NSTitle';
|
|
6
|
+
export default class NSSectionTitle extends Component {
|
|
7
|
+
render() {
|
|
8
|
+
return (_jsxs(NSSection, Object.assign({ padding_bottom: this.props.padding_bottom, background: this.props.background }, { children: [_jsx(NSTitle, { color: this.props.title.color, title: this.props.title.text }), this.props.children] })));
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=NSSectionTitle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NSSectionTitle.js","sourceRoot":"","sources":["../../src/components/NSSectionTitle.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAEZ,OAAO,EAAE,SAAS,EAAa,MAAM,OAAO,CAAC;AAC7C,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,OAAO,MAAM,WAAW,CAAC;AAchC,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,SAA8B;IAChE,MAAM;QACd,OAAO,CACN,MAAC,SAAS,kBAAC,cAAc,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,EAAE,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU,iBACtF,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,KACT,CACZ,CAAC;IACH,CAAC;CACD"}
|
|
File without changes
|
|
@@ -3,7 +3,6 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import React from "react";
|
|
4
4
|
import Styles from "./NSSelectBox.module.css";
|
|
5
5
|
import { Select, Space } from 'antd';
|
|
6
|
-
import { CaretDownOutlined } from '@ant-design/icons';
|
|
7
6
|
export class NSSelectBox extends React.Component {
|
|
8
7
|
constructor(props) {
|
|
9
8
|
super(props);
|
|
@@ -19,7 +18,7 @@ export class NSSelectBox extends React.Component {
|
|
|
19
18
|
return this.state.value;
|
|
20
19
|
}
|
|
21
20
|
render() {
|
|
22
|
-
return (_jsx("div", Object.assign({ className: `${Styles.ns_input_parent} p-2` }, { children: _jsx(Select, {
|
|
21
|
+
return (_jsx("div", Object.assign({ className: `${Styles.ns_input_parent} p-2` }, { children: _jsx(Select, { 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
22
|
}
|
|
24
23
|
}
|
|
25
24
|
//# 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;
|
|
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,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,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;IAC7B,CAAC;IACD,QAAQ;QAEJ,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC;IAC5B,CAAC;IACQ,MAAM;QAEX,OAAO,CACH,4BAAK,SAAS,EAAE,GAAG,MAAM,CAAC,eAAe,MAAM,gBAC3C,KAAC,MAAM,IAEH,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,QAAQ,EACvB,eAAe,EAAC,OAAO,EACvB,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,EAC3B,YAAY,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,CACtB,KAAC,KAAK,kBAAC,SAAS,EAAE,MAAM,CAAC,sBAAsB,gBAC1C,MAAM,CAAC,IAAI,CAAC,IAAI,IACb,CACX,GACH,IACA,CACT,CAAC;IACN,CAAC;CACJ"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Component } from 'react';
|
|
2
|
+
interface NSTitleProps {
|
|
3
|
+
title: string;
|
|
4
|
+
color?: string;
|
|
5
|
+
text_align?: string;
|
|
6
|
+
}
|
|
7
|
+
declare class NSTitle extends Component<NSTitleProps> {
|
|
8
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
}
|
|
10
|
+
export default NSTitle;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { Component } from 'react';
|
|
4
|
+
import Styles from './NSTitle.module.css';
|
|
5
|
+
class NSTitle extends Component {
|
|
6
|
+
render() {
|
|
7
|
+
return (_jsx("h2", Object.assign({ style: { color: this.props.color, textAlign: this.props.text_align ? "start" : "center" }, className: `${Styles.ns_title}` }, { children: this.props.title })));
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export default NSTitle;
|
|
11
|
+
//# sourceMappingURL=NSTitle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NSTitle.js","sourceRoot":"","sources":["../../src/components/NSTitle.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AACZ,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGlC,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAQ1C,MAAM,OAAQ,SAAQ,SAAuB;IACnC,MAAM;QAEd,OAAO,CAEN,2BAAI,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,gBAC5H,IAAI,CAAC,KAAK,CAAC,KAAK,IACb,CACL,CAAC;IACH,CAAC;CACD;AAED,eAAe,OAAO,CAAC"}
|