md-components-mdigial-azamat 0.0.26 → 0.0.28

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,26 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import { OptionTypesEnum as s } from "../Types/FiledTypes.js";
3
- const p = {
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { OptionTypesEnum as o, DataTypesEnum as p } from "../Types/FiledTypes.js";
3
+ const a = {
4
4
  s: 10,
5
5
  m: 20,
6
6
  l: 40,
7
7
  xl: 60
8
- }, n = (t) => t.map((e) => ({
9
- label: e.label,
10
- value: e.value
11
- })), i = n(
12
- Object.entries(p).map(([t, e]) => ({
13
- label: t,
14
- value: e.toString()
8
+ }, l = (e) => e.map((t) => ({
9
+ label: t.label,
10
+ value: t.value
11
+ })), n = l(
12
+ Object.entries(a).map(([e, t]) => ({
13
+ label: e,
14
+ value: t.toString()
15
15
  }))
16
- ), l = {
17
- type: "options",
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;
16
+ ), i = {
17
+ type: "size",
18
+ options: n,
19
+ variant: o.options,
20
+ dataType: p.select,
21
+ label: "Размер пробела"
22
+ }, r = [i], c = ({ size: e = 20 }) => /* @__PURE__ */ s("div", { style: { height: `${e}px` } });
23
+ c.propsToEdit = r;
22
24
  export {
23
- a as Space
25
+ c as Space
24
26
  };
@@ -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.28",
6
6
  "type": "module",
7
7
  "main": "dist/main.js",
8
8
  "types": "dist/main.d.ts",