@apexcura/ui-components 0.0.11-Beta243 → 0.0.11-Beta245

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.
@@ -0,0 +1,114 @@
1
+ import React$1 from 'react';
2
+ import { SizeType } from 'antd/es/config-provider/SizeContext';
3
+
4
+ type ElementType = {
5
+ [x: string]: any;
6
+ selectedStyle: boolean;
7
+ style: boolean;
8
+ className: string | undefined;
9
+ placeholder?: string;
10
+ addonBefore?: React.ReactNode;
11
+ defaultValue?: string;
12
+ disabled?: boolean;
13
+ prefix?: React.ReactNode;
14
+ type?: string;
15
+ size?: SizeType;
16
+ value?: string | number | boolean | any[] | null | undefined;
17
+ status?: "error" | "warning";
18
+ styles?: React.CSSProperties;
19
+ variant?: "outlined" | "borderless" | "filled";
20
+ label?: string;
21
+ name?: string;
22
+ suffix?: React.ReactNode;
23
+ maxLength?: number;
24
+ fieldNames?: any[];
25
+ fields?: any[];
26
+ schema?: any[];
27
+ options?: any[];
28
+ onChange?: (value: string | number | boolean | object | any[]) => void;
29
+ dropDownOptions?: any[];
30
+ id?: number;
31
+ thead?: any[];
32
+ tbody?: any[];
33
+ variable_data?: any[];
34
+ optionType?: string;
35
+ selectedClassName?: string;
36
+ action?: React.MouseEventHandler<HTMLElement> | string;
37
+ listClassName?: string;
38
+ listItemClassName?: string;
39
+ img?: string;
40
+ items?: any[];
41
+ primaryText?: string;
42
+ secondaryText?: string;
43
+ count?: number;
44
+ icon?: string;
45
+ placement?: string;
46
+ profileImage?: string;
47
+ buttonClassName?: string;
48
+ profileImageClassName?: string;
49
+ profileSubClassName?: string;
50
+ subContainerClassName?: string;
51
+ element?: string;
52
+ secondTextClassName?: string;
53
+ iconsClassName?: string;
54
+ labelClassName?: string;
55
+ containerClassName?: string;
56
+ };
57
+
58
+ interface ElementExecuterProps$3 extends ElementType {
59
+ onChange: (value: string | number | boolean | object | any[]) => void;
60
+ }
61
+ declare const TextElement: (props: ElementExecuterProps$3) => React$1.JSX.Element;
62
+
63
+ interface InputData {
64
+ placeholder?: string;
65
+ id?: string;
66
+ prefix?: React$1.ReactNode;
67
+ addonBefore?: React$1.ReactNode;
68
+ type?: string;
69
+ }
70
+ interface PasswordProps {
71
+ inputData: InputData;
72
+ }
73
+ declare const PasswordElement: React$1.FC<PasswordProps>;
74
+
75
+ interface ElementExecuterProps$2 extends ElementType {
76
+ onChange: (value: string | number | object | boolean | any[]) => void;
77
+ }
78
+ declare const NumberElement: (props: ElementExecuterProps$2) => React$1.JSX.Element;
79
+
80
+ interface ElementExecuterProps$1 extends ElementType {
81
+ onChange: (value: string | number | boolean | object | any[]) => void;
82
+ }
83
+ declare const TextareaElement: (props: ElementExecuterProps$1) => React$1.JSX.Element;
84
+
85
+ declare const SelectElement: (props: ElementType) => React$1.JSX.Element;
86
+
87
+ declare const RadioElement: (props: ElementType) => React$1.JSX.Element;
88
+
89
+ declare const CheckboxElement: (props: ElementType) => React$1.JSX.Element;
90
+
91
+ interface ElementExecuterProps extends ElementType {
92
+ onChange: (value: string | number | object | boolean | any[]) => void;
93
+ }
94
+ declare const CkEditor: (props: ElementExecuterProps) => React$1.JSX.Element;
95
+
96
+ declare const SingleSelectElement: (props: ElementType) => React$1.JSX.Element;
97
+
98
+ declare const MultipleSelectElement: (props: ElementType) => React$1.JSX.Element;
99
+
100
+ declare const ButtonElement: React$1.FC<ElementType>;
101
+
102
+ declare const AddMoreTable: (props: ElementType) => React$1.JSX.Element;
103
+
104
+ declare const Sidebar: (props: ElementType) => React$1.JSX.Element;
105
+
106
+ declare const Navbar: (props: ElementType) => React$1.JSX.Element;
107
+
108
+ declare const TableElement: (props: ElementType) => React$1.JSX.Element;
109
+
110
+ declare const DatePickerElement: (props: ElementType) => React$1.JSX.Element;
111
+
112
+ declare const DateRangePickerElement: (props: ElementType) => React$1.JSX.Element;
113
+
114
+ export { AddMoreTable, ButtonElement, CheckboxElement, CkEditor, DatePickerElement, DateRangePickerElement, MultipleSelectElement, Navbar, NumberElement, PasswordElement, RadioElement, SelectElement, Sidebar, SingleSelectElement, TableElement, TextElement, TextareaElement };
@@ -0,0 +1,114 @@
1
+ import React$1 from 'react';
2
+ import { SizeType } from 'antd/es/config-provider/SizeContext';
3
+
4
+ type ElementType = {
5
+ [x: string]: any;
6
+ selectedStyle: boolean;
7
+ style: boolean;
8
+ className: string | undefined;
9
+ placeholder?: string;
10
+ addonBefore?: React.ReactNode;
11
+ defaultValue?: string;
12
+ disabled?: boolean;
13
+ prefix?: React.ReactNode;
14
+ type?: string;
15
+ size?: SizeType;
16
+ value?: string | number | boolean | any[] | null | undefined;
17
+ status?: "error" | "warning";
18
+ styles?: React.CSSProperties;
19
+ variant?: "outlined" | "borderless" | "filled";
20
+ label?: string;
21
+ name?: string;
22
+ suffix?: React.ReactNode;
23
+ maxLength?: number;
24
+ fieldNames?: any[];
25
+ fields?: any[];
26
+ schema?: any[];
27
+ options?: any[];
28
+ onChange?: (value: string | number | boolean | object | any[]) => void;
29
+ dropDownOptions?: any[];
30
+ id?: number;
31
+ thead?: any[];
32
+ tbody?: any[];
33
+ variable_data?: any[];
34
+ optionType?: string;
35
+ selectedClassName?: string;
36
+ action?: React.MouseEventHandler<HTMLElement> | string;
37
+ listClassName?: string;
38
+ listItemClassName?: string;
39
+ img?: string;
40
+ items?: any[];
41
+ primaryText?: string;
42
+ secondaryText?: string;
43
+ count?: number;
44
+ icon?: string;
45
+ placement?: string;
46
+ profileImage?: string;
47
+ buttonClassName?: string;
48
+ profileImageClassName?: string;
49
+ profileSubClassName?: string;
50
+ subContainerClassName?: string;
51
+ element?: string;
52
+ secondTextClassName?: string;
53
+ iconsClassName?: string;
54
+ labelClassName?: string;
55
+ containerClassName?: string;
56
+ };
57
+
58
+ interface ElementExecuterProps$3 extends ElementType {
59
+ onChange: (value: string | number | boolean | object | any[]) => void;
60
+ }
61
+ declare const TextElement: (props: ElementExecuterProps$3) => React$1.JSX.Element;
62
+
63
+ interface InputData {
64
+ placeholder?: string;
65
+ id?: string;
66
+ prefix?: React$1.ReactNode;
67
+ addonBefore?: React$1.ReactNode;
68
+ type?: string;
69
+ }
70
+ interface PasswordProps {
71
+ inputData: InputData;
72
+ }
73
+ declare const PasswordElement: React$1.FC<PasswordProps>;
74
+
75
+ interface ElementExecuterProps$2 extends ElementType {
76
+ onChange: (value: string | number | object | boolean | any[]) => void;
77
+ }
78
+ declare const NumberElement: (props: ElementExecuterProps$2) => React$1.JSX.Element;
79
+
80
+ interface ElementExecuterProps$1 extends ElementType {
81
+ onChange: (value: string | number | boolean | object | any[]) => void;
82
+ }
83
+ declare const TextareaElement: (props: ElementExecuterProps$1) => React$1.JSX.Element;
84
+
85
+ declare const SelectElement: (props: ElementType) => React$1.JSX.Element;
86
+
87
+ declare const RadioElement: (props: ElementType) => React$1.JSX.Element;
88
+
89
+ declare const CheckboxElement: (props: ElementType) => React$1.JSX.Element;
90
+
91
+ interface ElementExecuterProps extends ElementType {
92
+ onChange: (value: string | number | object | boolean | any[]) => void;
93
+ }
94
+ declare const CkEditor: (props: ElementExecuterProps) => React$1.JSX.Element;
95
+
96
+ declare const SingleSelectElement: (props: ElementType) => React$1.JSX.Element;
97
+
98
+ declare const MultipleSelectElement: (props: ElementType) => React$1.JSX.Element;
99
+
100
+ declare const ButtonElement: React$1.FC<ElementType>;
101
+
102
+ declare const AddMoreTable: (props: ElementType) => React$1.JSX.Element;
103
+
104
+ declare const Sidebar: (props: ElementType) => React$1.JSX.Element;
105
+
106
+ declare const Navbar: (props: ElementType) => React$1.JSX.Element;
107
+
108
+ declare const TableElement: (props: ElementType) => React$1.JSX.Element;
109
+
110
+ declare const DatePickerElement: (props: ElementType) => React$1.JSX.Element;
111
+
112
+ declare const DateRangePickerElement: (props: ElementType) => React$1.JSX.Element;
113
+
114
+ export { AddMoreTable, ButtonElement, CheckboxElement, CkEditor, DatePickerElement, DateRangePickerElement, MultipleSelectElement, Navbar, NumberElement, PasswordElement, RadioElement, SelectElement, Sidebar, SingleSelectElement, TableElement, TextElement, TextareaElement };
package/dist/index.js CHANGED
@@ -638,6 +638,7 @@ var ModelElement = (props) => {
638
638
  return /* @__PURE__ */ import_react20.default.createElement(
639
639
  import_antd13.Modal,
640
640
  {
641
+ centered: true,
641
642
  open: model,
642
643
  onCancel,
643
644
  footer: null,
package/dist/index.mjs CHANGED
@@ -586,6 +586,7 @@ var ModelElement = (props) => {
586
586
  return /* @__PURE__ */ React19.createElement(
587
587
  Modal,
588
588
  {
589
+ centered: true,
589
590
  open: model,
590
591
  onCancel,
591
592
  footer: null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.11-Beta243",
3
+ "version": "0.0.11-Beta245",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",