@cagatayfdn/flora-components 0.0.142 → 0.0.145

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,11 +1,11 @@
1
- import { j as r } from "../jsx-runtime-BcAkpsdy.js";
1
+ import { j as i } from "../jsx-runtime-BcAkpsdy.js";
2
2
  import "../index-BHf7G3IG.js";
3
3
  import "../index-H7XbDVmH.js";
4
4
  import "../hooks/useAauth.js";
5
5
  import "../assets/images/500_error_2x.gif";
6
6
  import a from "../locales/i18n.js";
7
7
  import "react";
8
- import { Icons as d } from "../assets/icons/icons.js";
8
+ import { FloraIcons as d } from "../assets/icons/flora-icons.js";
9
9
  import "../components/Tooltip/Tooltip.js";
10
10
  import "../react-toastify.esm-BUWNP7Nm.js";
11
11
  import "./date.js";
@@ -22,41 +22,41 @@ import "../Select-BE_y91ZN.js";
22
22
  import n from "../components/StatusTag/StatusTag.js";
23
23
  import "../components/Switch/Switch.js";
24
24
  import "../components/Textarea/Textarea.js";
25
- const S = {
25
+ const R = {
26
26
  status: (t) => ({
27
27
  title: a.t("label.status"),
28
28
  dataIndex: "status",
29
29
  className: "capitalize",
30
- render: (e) => /* @__PURE__ */ r.jsx(n, { status: t[e], text: e })
30
+ render: (e) => /* @__PURE__ */ i.jsx(n, { status: t[e], text: e })
31
31
  }),
32
32
  dateCreated: {
33
33
  title: a.t("label.date_created"),
34
34
  dataIndex: "created_date",
35
- render: (t) => /* @__PURE__ */ r.jsx(m, { date: t })
35
+ render: (t) => /* @__PURE__ */ i.jsx(m, { date: t })
36
36
  }
37
- }, q = {
37
+ }, S = {
38
38
  edit: (t, e) => ({
39
39
  title: a.t("label.edit"),
40
40
  dataIndex: t,
41
- render: (o, i) => /* @__PURE__ */ r.jsx(l, { icon: d.Edit, onClick: () => e(o, i) })
41
+ render: (o, r) => /* @__PURE__ */ i.jsx(l, { icon: d.Edit, onClick: () => e(o, r) })
42
42
  }),
43
43
  delete: (t, e) => ({
44
44
  title: a.t("label.delete"),
45
45
  dataIndex: t,
46
- render: (o, i) => /* @__PURE__ */ r.jsx(l, { icon: d.Trash, onClick: () => e(o, i) })
46
+ render: (o, r) => /* @__PURE__ */ i.jsx(l, { icon: d.Trash, onClick: () => e(o, r) })
47
47
  }),
48
48
  download: (t, e) => ({
49
49
  title: a.t("label.export"),
50
50
  dataIndex: t,
51
- render: (o, i) => /* @__PURE__ */ r.jsx(l, { icon: d.Download, onClick: () => e(o, i) })
51
+ render: (o, r) => /* @__PURE__ */ i.jsx(l, { icon: d.Download, onClick: () => e(o, r) })
52
52
  }),
53
53
  detail: (t, e) => ({
54
54
  title: a.t("label.detail"),
55
55
  dataIndex: t,
56
- render: (o, i) => /* @__PURE__ */ r.jsx(l, { icon: d.Link, onClick: () => e(o, i) })
56
+ render: (o, r) => /* @__PURE__ */ i.jsx(l, { icon: d.Link, onClick: () => e(o, r) })
57
57
  })
58
58
  };
59
59
  export {
60
- q as TableActions,
61
- S as TableColumns
60
+ S as TableActions,
61
+ R as TableColumns
62
62
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cagatayfdn/flora-components",
3
- "version": "0.0.142",
3
+ "version": "0.0.145",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -1,29 +0,0 @@
1
- import './Table.css';const t = "_wrapper_xi76o_2", o = "_header_xi76o_2", _ = "_title_xi76o_2", e = "_subTitle_xi76o_2", i = "_table_xi76o_2", s = "_fixed_xi76o_2", n = "_light_xi76o_2", a = "_fixedHeader_xi76o_2", r = "_dark_xi76o_2", c = "_tableWrap_xi76o_2", l = "_actionWrap_xi76o_2", x = "_tableLoading_xi76o_2", d = "_selectedAction_xi76o_2", p = "_rightGroup_xi76o_2", g = "_pageSizeWrap_xi76o_2", b = "_pager_xi76o_2", h = "_size_xi76o_2", u = "_noResult_xi76o_2", W = "_scrollWrap_xi76o_2", f = "_justifyContentEnd_xi76o_2", w = "_width100_xi76o_2", z = "_sort_xi76o_2", y = "_icons_xi76o_2", j = "_sorted_xi76o_2", k = {
2
- wrapper: t,
3
- header: o,
4
- title: _,
5
- subTitle: e,
6
- table: i,
7
- fixed: s,
8
- light: n,
9
- fixedHeader: a,
10
- dark: r,
11
- tableWrap: c,
12
- actionWrap: l,
13
- tableLoading: x,
14
- selectedAction: d,
15
- rightGroup: p,
16
- pageSizeWrap: g,
17
- pager: b,
18
- size: h,
19
- noResult: u,
20
- scrollWrap: W,
21
- justifyContentEnd: f,
22
- width100: w,
23
- sort: z,
24
- icons: y,
25
- sorted: j
26
- };
27
- export {
28
- k as s
29
- };