md-components-mdigial-azamat 0.0.26 → 0.0.27

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,24 +1,25 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { OptionTypesEnum as s } from "../Types/FiledTypes.js";
3
- const p = {
2
+ import { OptionTypesEnum as s, DataTypesEnum as p } from "../Types/FiledTypes.js";
3
+ const n = {
4
4
  s: 10,
5
5
  m: 20,
6
6
  l: 40,
7
7
  xl: 60
8
- }, n = (t) => t.map((e) => ({
8
+ }, a = (t) => t.map((e) => ({
9
9
  label: e.label,
10
10
  value: e.value
11
- })), i = n(
12
- Object.entries(p).map(([t, e]) => ({
11
+ })), i = a(
12
+ Object.entries(n).map(([t, e]) => ({
13
13
  label: t,
14
14
  value: e.toString()
15
15
  }))
16
16
  ), l = {
17
17
  type: "options",
18
18
  options: i,
19
- variant: s.options
20
- }, r = [l], a = ({ size: t = 20 }) => /* @__PURE__ */ o("div", { style: { height: `${t}px` } });
21
- a.propsToEdit = r;
19
+ variant: s.options,
20
+ dataType: p.select
21
+ }, r = [l], c = ({ size: t = 20 }) => /* @__PURE__ */ o("div", { style: { height: `${t}px` } });
22
+ c.propsToEdit = r;
22
23
  export {
23
- a as Space
24
+ c as Space
24
25
  };
@@ -1,5 +1,5 @@
1
- var t = /* @__PURE__ */ ((o) => (o.STRING = "string", o.NUMBER = "number", o.BOOLEAN = "boolean", o.ARRAY = "array", o.OBJECT = "object", o.FUNCTION = "function", o.UNDEFINED = "undefined", o.NULL = "null", o.SYMBOL = "symbol", o.BIGINT = "bigint", o.DATE = "date", o.REGEXP = "regexp", o.FILE = "file", o.TITLE = "title", o.DESCRIPTION = "description", o.VARIANT = "variant", o.LINK = "link", o.COMPONENT = "component", o.CLASSNAME = "classname", o.COLOR = "color", o.TITLE_TEXT = "title_text", o.NODE = "node", o.HTML_CONTENT = "html_content", o))(t || {}), n = /* @__PURE__ */ ((o) => (o.options = "options", o.choices = "choices", o))(n || {});
2
- const N = {
1
+ var n = /* @__PURE__ */ ((o) => (o.STRING = "string", o.NUMBER = "number", o.BOOLEAN = "boolean", o.ARRAY = "array", o.OBJECT = "object", o.FUNCTION = "function", o.UNDEFINED = "undefined", o.NULL = "null", o.SYMBOL = "symbol", o.BIGINT = "bigint", o.DATE = "date", o.REGEXP = "regexp", o.FILE = "file", o.TITLE = "title", o.DESCRIPTION = "description", o.VARIANT = "variant", o.LINK = "link", o.COMPONENT = "component", o.CLASSNAME = "classname", o.COLOR = "color", o.TITLE_TEXT = "title_text", o.NODE = "node", o.HTML_CONTENT = "html_content", o))(n || {}), t = /* @__PURE__ */ ((o) => (o.options = "options", o.choices = "choices", o))(t || {});
2
+ const c = {
3
3
  options: {
4
4
  label: "Options",
5
5
  value: "options"
@@ -11,8 +11,10 @@ const N = {
11
11
  /* choices */
12
12
  }
13
13
  };
14
+ var r = /* @__PURE__ */ ((o) => (o.string = "string", o.number = "number", o.boolean = "boolean", o.array = "array", o.object = "object", o.function = "function", o.undefined = "undefined", o.null = "null", o.symbol = "symbol", o.bigint = "bigint", o.date = "date", o.select = "select", o))(r || {});
14
15
  export {
15
- t as FieldTypes,
16
- N as OptionTypes,
17
- n as OptionTypesEnum
16
+ r as DataTypesEnum,
17
+ n as FieldTypes,
18
+ c as OptionTypes,
19
+ t as OptionTypesEnum
18
20
  };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "md-components-mdigial-azamat",
3
3
  "author": "Azamat Raimbekov",
4
4
  "private": false,
5
- "version": "0.0.26",
5
+ "version": "0.0.27",
6
6
  "type": "module",
7
7
  "main": "dist/main.js",
8
8
  "types": "dist/main.d.ts",