@clyrex-digital/clyrex-controls-dev 0.8.1-dev.20260925110206 → 0.8.1-dev.20260926063530

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.
@@ -1,30 +0,0 @@
1
- import {
2
- buttonClasses
3
- } from "./chunk-56HSDML5.mjs";
4
-
5
- // src/components/dataForm/Hyperlink.tsx
6
- import Link from "next/link";
7
- import { Fragment, jsx } from "react/jsx-runtime";
8
- function Hyperlink(props) {
9
- let linkClass = props.linkType ? buttonClasses.get(props.linkType) : buttonClasses.get("Link" /* Link */);
10
- const target = props?.href?.startsWith("http") ? "_blank" : "_self";
11
- const additionalProps = {};
12
- if (target == "_blank") {
13
- additionalProps.rel = "noopener noreferrer";
14
- }
15
- return /* @__PURE__ */ jsx(Fragment, { children: props.href ? /* @__PURE__ */ jsx(
16
- Link,
17
- {
18
- href: props.href,
19
- prefetch: false,
20
- className: [linkClass, props.className].filter(Boolean).join(" "),
21
- ...additionalProps,
22
- target,
23
- children: props.children
24
- }
25
- ) : props.isHeading ? /* @__PURE__ */ jsx("h5", { className: props.className + "inline-block", children: props.children }) : /* @__PURE__ */ jsx("span", { className: props.className, children: props.children }) });
26
- }
27
-
28
- export {
29
- Hyperlink
30
- };
@@ -1,52 +0,0 @@
1
- // src/svg/chevron-updown.tsx
2
- import { jsx } from "react/jsx-runtime";
3
- var ChevronUpDown = (props) => {
4
- return /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: props.className, children: /* @__PURE__ */ jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M8.25 15L12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9" }) });
5
- };
6
- var chevron_updown_default = ChevronUpDown;
7
-
8
- // src/svg/chevron-down.tsx
9
- import { jsx as jsx2 } from "react/jsx-runtime";
10
- var ChevronDown = (props) => {
11
- return /* @__PURE__ */ jsx2("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: props.className, children: /* @__PURE__ */ jsx2("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M19.5 8.25l-7.5 7.5-7.5-7.5" }) });
12
- };
13
- var chevron_down_default = ChevronDown;
14
-
15
- // src/svg/chevron-up.tsx
16
- import { jsx as jsx3 } from "react/jsx-runtime";
17
- var ChevronUp = (props) => {
18
- return /* @__PURE__ */ jsx3("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: props.className, children: /* @__PURE__ */ jsx3("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M4.5 15.75l7.5-7.5 7.5 7.5" }) });
19
- };
20
- var chevron_up_default = ChevronUp;
21
-
22
- // src/svg/plus.tsx
23
- import { jsx as jsx4 } from "react/jsx-runtime";
24
- var Plus = (props) => {
25
- return /* @__PURE__ */ jsx4("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: props.className, children: /* @__PURE__ */ jsx4("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M12 4.5v15m7.5-7.5h-15" }) });
26
- };
27
- var plus_default = Plus;
28
-
29
- // src/svg/Icons.tsx
30
- var Icons = {
31
- chevronUpDown: chevron_updown_default,
32
- chevronDown: chevron_down_default,
33
- chevronUp: chevron_up_default,
34
- plus: plus_default
35
- };
36
- var Icons_default = Icons;
37
-
38
- // src/svg/Icon.tsx
39
- import { jsx as jsx5 } from "react/jsx-runtime";
40
- var Icon = ({ name, className, ...props }) => {
41
- const IconComponent = Icons_default[name];
42
- if (!IconComponent) {
43
- console.error(`Icon "${name}" not found.`);
44
- return null;
45
- }
46
- return /* @__PURE__ */ jsx5(IconComponent, { ...props, className });
47
- };
48
- var Icon_default = Icon;
49
-
50
- export {
51
- Icon_default
52
- };
@@ -1,36 +0,0 @@
1
- "use client";
2
-
3
-
4
- // src/components/controls/edit/InputControlType.tsx
5
- var Constants = {
6
- pagesize: 10
7
- };
8
- var InputControlType = {
9
- lineTextInput: "lineTextInput",
10
- multilineTextInput: "multilineTextInput",
11
- emailInput: "emailInput",
12
- numberInput: "numberInput",
13
- checkboxInput: "checkboxInput",
14
- moneyInput: "moneyInput",
15
- select: "select",
16
- percentageInput: "percentageInput",
17
- assetUpload: "assetUpload",
18
- phoneInput: "phoneInput",
19
- otpInput: "otpInput",
20
- datetimeInput: "datetimeInput",
21
- timeInput: "timeInput",
22
- colorInput: "colorInput",
23
- selectWithSearchInput: "selectWithSearchInput",
24
- selectWithSearchPanel: "selectWithSearchPanel",
25
- switchInput: "switchInput",
26
- dateInput: "dateInput",
27
- radioInput: "radioInput",
28
- videoInput: "videoInput",
29
- referenceInput: "referenceInput"
30
- };
31
- var InputControlType_default = InputControlType;
32
-
33
- export {
34
- Constants,
35
- InputControlType_default
36
- };
@@ -1,33 +0,0 @@
1
- // src/components/controls/edit/InputControlType.tsx
2
- var Constants = {
3
- pagesize: 10
4
- };
5
- var InputControlType = {
6
- lineTextInput: "lineTextInput",
7
- multilineTextInput: "multilineTextInput",
8
- emailInput: "emailInput",
9
- numberInput: "numberInput",
10
- checkboxInput: "checkboxInput",
11
- moneyInput: "moneyInput",
12
- select: "select",
13
- percentageInput: "percentageInput",
14
- assetUpload: "assetUpload",
15
- phoneInput: "phoneInput",
16
- otpInput: "otpInput",
17
- datetimeInput: "datetimeInput",
18
- timeInput: "timeInput",
19
- colorInput: "colorInput",
20
- selectWithSearchInput: "selectWithSearchInput",
21
- selectWithSearchPanel: "selectWithSearchPanel",
22
- switchInput: "switchInput",
23
- dateInput: "dateInput",
24
- radioInput: "radioInput",
25
- videoInput: "videoInput",
26
- referenceInput: "referenceInput"
27
- };
28
- var InputControlType_default = InputControlType;
29
-
30
- export {
31
- Constants,
32
- InputControlType_default
33
- };
@@ -1,13 +0,0 @@
1
- "use client";
2
-
3
-
4
- // src/components/controls/edit/InputControl.tsx
5
- import dynamic from "next/dynamic";
6
- var InputControl = dynamic(() => import("./InputControlClient-A3V5YRWH.mjs"), {
7
- ssr: false
8
- });
9
- var InputControl_default = InputControl;
10
-
11
- export {
12
- InputControl_default
13
- };