funuicss 2.5.8 → 2.5.9

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.
Files changed (214) hide show
  1. package/dist/assets/colors/colors.d.ts +347 -0
  2. package/dist/assets/colors/colors.js +348 -0
  3. package/dist/index.d.ts +37 -0
  4. package/dist/index.js +80 -0
  5. package/dist/js/Fun.d.ts +38 -0
  6. package/dist/js/Fun.js +235 -0
  7. package/dist/js/Theme.d.ts +2 -0
  8. package/dist/js/Theme.js +42 -0
  9. package/dist/tsconfig.tsbuildinfo +1 -0
  10. package/dist/ui/alert/Alert.d.ts +24 -0
  11. package/dist/ui/alert/Alert.js +48 -0
  12. package/dist/ui/aos/AOS.d.ts +9 -0
  13. package/dist/ui/aos/AOS.js +30 -0
  14. package/dist/ui/appbar/AppBar.d.ts +17 -0
  15. package/dist/ui/appbar/AppBar.js +43 -0
  16. package/dist/ui/appbar/Hamburger.d.ts +7 -0
  17. package/dist/ui/appbar/Hamburger.js +20 -0
  18. package/dist/ui/avatar/Avatar.d.ts +10 -0
  19. package/dist/ui/avatar/Avatar.js +12 -0
  20. package/dist/ui/blob/Blob.d.ts +10 -0
  21. package/dist/ui/blob/Blob.js +16 -0
  22. package/dist/ui/breadcrumb/BreadCrumb.d.ts +7 -0
  23. package/dist/ui/breadcrumb/BreadCrumb.js +10 -0
  24. package/dist/ui/button/Button.d.ts +39 -0
  25. package/dist/ui/button/Button.js +66 -0
  26. package/dist/ui/card/Card.d.ts +32 -0
  27. package/dist/ui/card/Card.js +39 -0
  28. package/dist/ui/card/CardBody.d.ts +7 -0
  29. package/dist/ui/card/CardBody.js +30 -0
  30. package/dist/ui/card/CardFab.d.ts +8 -0
  31. package/dist/ui/card/CardFab.js +31 -0
  32. package/dist/ui/card/CardFooter.d.ts +7 -0
  33. package/dist/ui/card/CardFooter.js +30 -0
  34. package/dist/ui/card/CardHeader.d.ts +7 -0
  35. package/dist/ui/card/CardHeader.js +30 -0
  36. package/dist/ui/container/Container.d.ts +11 -0
  37. package/dist/ui/container/Container.js +31 -0
  38. package/dist/ui/div/Div.d.ts +19 -0
  39. package/dist/ui/div/Div.js +31 -0
  40. package/dist/ui/drop/Action.d.ts +7 -0
  41. package/dist/ui/drop/Action.js +8 -0
  42. package/dist/ui/drop/Down.d.ts +9 -0
  43. package/dist/ui/drop/Down.js +8 -0
  44. package/dist/ui/drop/Dropdown.d.ts +18 -0
  45. package/dist/ui/drop/Dropdown.js +31 -0
  46. package/dist/ui/drop/Item.d.ts +8 -0
  47. package/dist/ui/drop/Item.js +8 -0
  48. package/dist/ui/drop/Menu.d.ts +12 -0
  49. package/dist/ui/drop/Menu.js +11 -0
  50. package/dist/ui/drop/Up.d.ts +9 -0
  51. package/dist/ui/drop/Up.js +8 -0
  52. package/dist/ui/grid/Col.d.ts +14 -0
  53. package/dist/ui/grid/Col.js +40 -0
  54. package/dist/ui/grid/Grid.d.ts +12 -0
  55. package/dist/ui/grid/Grid.js +34 -0
  56. package/dist/ui/input/Iconic.d.ts +11 -0
  57. package/dist/ui/input/Iconic.js +15 -0
  58. package/dist/ui/input/Input.d.ts +35 -0
  59. package/dist/ui/input/Input.js +110 -0
  60. package/dist/ui/list/Item.d.ts +7 -0
  61. package/dist/ui/list/Item.js +30 -0
  62. package/dist/ui/list/List.d.ts +14 -0
  63. package/dist/ui/list/List.js +30 -0
  64. package/dist/ui/loader/Loader.d.ts +10 -0
  65. package/dist/ui/loader/Loader.js +37 -0
  66. package/dist/ui/modal/Action.d.ts +7 -0
  67. package/dist/ui/modal/Action.js +30 -0
  68. package/dist/ui/modal/Close.d.ts +6 -0
  69. package/dist/ui/modal/Close.js +31 -0
  70. package/dist/ui/modal/Content.d.ts +7 -0
  71. package/dist/ui/modal/Content.js +8 -0
  72. package/dist/ui/modal/Header.d.ts +9 -0
  73. package/dist/ui/modal/Header.js +30 -0
  74. package/dist/ui/modal/Modal.d.ts +32 -0
  75. package/dist/ui/modal/Modal.js +61 -0
  76. package/dist/ui/notification/Content.d.ts +7 -0
  77. package/dist/ui/notification/Content.js +8 -0
  78. package/dist/ui/notification/Footer.d.ts +7 -0
  79. package/dist/ui/notification/Footer.js +8 -0
  80. package/dist/ui/notification/Header.d.ts +7 -0
  81. package/dist/ui/notification/Header.js +8 -0
  82. package/dist/ui/notification/Notification.d.ts +15 -0
  83. package/dist/ui/notification/Notification.js +23 -0
  84. package/dist/ui/page/NotFound.d.ts +9 -0
  85. package/dist/ui/page/NotFound.js +23 -0
  86. package/dist/ui/page/UnAuthorized.d.ts +9 -0
  87. package/dist/ui/page/UnAuthorized.js +21 -0
  88. package/dist/ui/progress/Bar.d.ts +17 -0
  89. package/dist/ui/progress/Bar.js +87 -0
  90. package/dist/ui/sidebar/SideBar.d.ts +14 -0
  91. package/dist/ui/sidebar/SideBar.js +42 -0
  92. package/dist/ui/sidebar/SideContent.d.ts +6 -0
  93. package/dist/ui/sidebar/SideContent.js +8 -0
  94. package/dist/ui/snackbar/SnackBar.d.ts +16 -0
  95. package/dist/ui/snackbar/SnackBar.js +53 -0
  96. package/dist/ui/specials/Circle.d.ts +15 -0
  97. package/dist/ui/specials/Circle.js +34 -0
  98. package/dist/ui/specials/FullCenteredPage.d.ts +8 -0
  99. package/dist/ui/specials/FullCenteredPage.js +30 -0
  100. package/dist/ui/specials/Hr.d.ts +7 -0
  101. package/dist/ui/specials/Hr.js +8 -0
  102. package/dist/ui/specials/RowFlex.d.ts +14 -0
  103. package/dist/ui/specials/RowFlex.js +34 -0
  104. package/dist/ui/specials/Section.d.ts +8 -0
  105. package/dist/ui/specials/Section.js +30 -0
  106. package/dist/ui/step/Container.d.ts +9 -0
  107. package/dist/ui/step/Container.js +8 -0
  108. package/dist/ui/step/Header.d.ts +7 -0
  109. package/dist/ui/step/Header.js +8 -0
  110. package/dist/ui/step/Line.d.ts +7 -0
  111. package/dist/ui/step/Line.js +9 -0
  112. package/dist/ui/step/Step.d.ts +7 -0
  113. package/dist/ui/step/Step.js +9 -0
  114. package/dist/ui/table/Body.d.ts +7 -0
  115. package/dist/ui/table/Body.js +8 -0
  116. package/dist/ui/table/Data.d.ts +8 -0
  117. package/dist/ui/table/Data.js +8 -0
  118. package/dist/ui/table/Head.d.ts +7 -0
  119. package/dist/ui/table/Head.js +8 -0
  120. package/dist/ui/table/Row.d.ts +9 -0
  121. package/dist/ui/table/Row.js +8 -0
  122. package/dist/ui/table/Table.d.ts +33 -0
  123. package/dist/ui/table/Table.js +133 -0
  124. package/dist/ui/text/Text.d.ts +44 -0
  125. package/dist/ui/text/Text.js +63 -0
  126. package/dist/ui/theme/dark.d.ts +5 -0
  127. package/dist/ui/theme/dark.js +34 -0
  128. package/dist/ui/theme/theme.d.ts +7 -0
  129. package/dist/ui/theme/theme.js +34 -0
  130. package/dist/ui/tooltip/Tip.d.ts +12 -0
  131. package/dist/ui/tooltip/Tip.js +31 -0
  132. package/dist/ui/tooltip/ToolTip.d.ts +7 -0
  133. package/dist/ui/tooltip/ToolTip.js +30 -0
  134. package/dist/ui/video/FunPlayer.d.ts +0 -0
  135. package/dist/ui/video/FunPlayer.js +203 -0
  136. package/dist/webpack.config.d.ts +23 -0
  137. package/package.json +13 -12
  138. package/tsconfig.json +12 -10
  139. package/tsconfig.tsbuildinfo +1 -1
  140. package/types/next-env.d.ts +3 -0
  141. package/types/react-easy-export.d.ts +4 -0
  142. package/ui/alert/Alert.js +18 -8
  143. package/ui/alert/Alert.tsx +1 -1
  144. package/ui/aos/AOS.js +18 -8
  145. package/ui/appbar/AppBar.js +23 -19
  146. package/ui/appbar/AppBar.tsx +5 -12
  147. package/ui/appbar/Hamburger.js +17 -7
  148. package/ui/avatar/Avatar.js +19 -8
  149. package/ui/avatar/Avatar.tsx +1 -0
  150. package/ui/blob/Blob.js +17 -7
  151. package/ui/breadcrumb/BreadCrumb.js +19 -8
  152. package/ui/breadcrumb/BreadCrumb.tsx +1 -0
  153. package/ui/button/Button.js +19 -8
  154. package/ui/button/Button.tsx +5 -6
  155. package/ui/card/Card.js +2 -1
  156. package/ui/card/Card.tsx +1 -0
  157. package/ui/card/CardBody.js +1 -1
  158. package/ui/card/CardFab.js +1 -1
  159. package/ui/card/CardFooter.js +1 -1
  160. package/ui/card/CardHeader.js +1 -1
  161. package/ui/container/Container.js +17 -7
  162. package/ui/container/Container.tsx +1 -1
  163. package/ui/div/Div.js +18 -7
  164. package/ui/div/Div.tsx +1 -0
  165. package/ui/drop/Action.js +17 -7
  166. package/ui/drop/Down.js +17 -7
  167. package/ui/drop/Dropdown.js +17 -7
  168. package/ui/drop/Dropdown.tsx +1 -2
  169. package/ui/drop/Item.js +18 -8
  170. package/ui/drop/Menu.js +18 -8
  171. package/ui/drop/Up.js +17 -7
  172. package/ui/grid/Col.js +18 -8
  173. package/ui/grid/Grid.js +18 -8
  174. package/ui/input/Iconic.js +1 -1
  175. package/ui/input/Input.js +17 -7
  176. package/ui/list/Item.js +18 -8
  177. package/ui/list/List.js +18 -8
  178. package/ui/loader/Loader.js +18 -8
  179. package/ui/modal/Action.js +18 -8
  180. package/ui/modal/Close.js +18 -8
  181. package/ui/modal/Content.js +18 -8
  182. package/ui/modal/Header.js +18 -8
  183. package/ui/modal/Modal.js +18 -8
  184. package/ui/notification/Content.js +18 -8
  185. package/ui/notification/Footer.js +18 -8
  186. package/ui/notification/Header.js +18 -8
  187. package/ui/notification/Notification.js +19 -8
  188. package/ui/notification/Notification.tsx +1 -0
  189. package/ui/page/NotFound.js +18 -8
  190. package/ui/page/UnAuthorized.js +18 -8
  191. package/ui/progress/Bar.js +19 -8
  192. package/ui/progress/Bar.tsx +1 -0
  193. package/ui/sidebar/SideBar.js +18 -8
  194. package/ui/sidebar/SideContent.js +1 -1
  195. package/ui/snackbar/SnackBar.js +17 -7
  196. package/ui/specials/Circle.js +18 -8
  197. package/ui/specials/FullCenteredPage.js +17 -7
  198. package/ui/specials/Hr.js +17 -7
  199. package/ui/specials/RowFlex.js +18 -8
  200. package/ui/specials/Section.js +17 -7
  201. package/ui/step/Line.js +1 -0
  202. package/ui/step/Line.tsx +1 -0
  203. package/ui/step/Step.js +1 -0
  204. package/ui/step/Step.tsx +1 -0
  205. package/ui/table/Body.js +18 -8
  206. package/ui/table/Data.js +18 -8
  207. package/ui/table/Head.js +18 -8
  208. package/ui/table/Row.js +18 -8
  209. package/ui/table/Table.js +21 -9
  210. package/ui/table/Table.tsx +4 -1
  211. package/ui/theme/dark.js +1 -1
  212. package/ui/theme/theme.js +17 -7
  213. package/ui/tooltip/Tip.js +18 -8
  214. package/ui/tooltip/ToolTip.js +18 -8
package/ui/table/Head.js CHANGED
@@ -15,17 +15,27 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.default = TableHead;
26
37
  var React = __importStar(require("react"));
27
38
  function TableHead(_a) {
28
39
  var children = _a.children, funcss = _a.funcss;
29
40
  return React.createElement("thead", { className: "".concat(funcss ? funcss : '') }, children);
30
41
  }
31
- exports.default = TableHead;
package/ui/table/Row.js CHANGED
@@ -15,17 +15,27 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.default = TableRow;
26
37
  var React = __importStar(require("react"));
27
38
  function TableRow(_a) {
28
39
  var children = _a.children, funcss = _a.funcss, rowKey = _a.rowKey, key = _a.key;
29
40
  return (React.createElement("tr", { className: "".concat(funcss ? funcss : ''), key: key ? key : rowKey }, children));
30
41
  }
31
- exports.default = TableRow;
package/ui/table/Table.js CHANGED
@@ -27,13 +27,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
27
27
  }) : function(o, v) {
28
28
  o["default"] = v;
29
29
  });
30
- var __importStar = (this && this.__importStar) || function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
30
+ var __importStar = (this && this.__importStar) || (function () {
31
+ var ownKeys = function(o) {
32
+ ownKeys = Object.getOwnPropertyNames || function (o) {
33
+ var ar = [];
34
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
35
+ return ar;
36
+ };
37
+ return ownKeys(o);
38
+ };
39
+ return function (mod) {
40
+ if (mod && mod.__esModule) return mod;
41
+ var result = {};
42
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
43
+ __setModuleDefault(result, mod);
44
+ return result;
45
+ };
46
+ })();
37
47
  var __rest = (this && this.__rest) || function (s, e) {
38
48
  var t = {};
39
49
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -49,6 +59,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
49
59
  return (mod && mod.__esModule) ? mod : { "default": mod };
50
60
  };
51
61
  Object.defineProperty(exports, "__esModule", { value: true });
62
+ exports.default = Table;
52
63
  var React = __importStar(require("react"));
53
64
  var Head_1 = __importDefault(require("./Head"));
54
65
  var Body_1 = __importDefault(require("./Body"));
@@ -127,7 +138,9 @@ function Table(_a) {
127
138
  // Extract the data array
128
139
  var dataArray = data ? data.data : [];
129
140
  // Remove duplicate values
130
- var uniqueValues = Array.from(new Set(dataArray.map(function (item) { return item[selectedField]; })));
141
+ var uniqueValues = selectedField
142
+ ? Array.from(new Set(dataArray.map(function (item) { return item[selectedField]; })))
143
+ : [];
131
144
  return (React.createElement("div", { className: "".concat(funcss ? funcss : '', " roundEdge") },
132
145
  data &&
133
146
  React.createElement("div", { className: "padding bb" },
@@ -189,4 +202,3 @@ function Table(_a) {
189
202
  React.createElement("div", { className: "pagination" }, Array.from({ length: endPage - startPage + 1 }, function (_, i) { return (React.createElement(Circle_1.default, { size: 2.5, key: startPage + i, onClick: function () { return handleChangePage(startPage + i); }, funcss: currentPage === startPage + i ? 'primary pageCircle' : 'dark800 pageCircle text-primary' },
190
203
  React.createElement(Text_1.default, { text: "".concat(startPage + i), bold: true, size: 'sm' }))); }))))))));
191
204
  }
192
- exports.default = Table;
@@ -130,7 +130,10 @@ export default function Table({
130
130
  const dataArray = data ? data.data : []
131
131
 
132
132
  // Remove duplicate values
133
- const uniqueValues = Array.from(new Set(dataArray.map(item => item[selectedField])));
133
+ const uniqueValues = selectedField
134
+ ? Array.from(new Set(dataArray.map(item => item[selectedField])))
135
+ : [];
136
+
134
137
 
135
138
 
136
139
  return (
package/ui/theme/dark.js CHANGED
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = DarkMode;
3
4
  function DarkMode(_a) {
4
5
  var state = _a.state;
5
6
  if (state) {
@@ -31,4 +32,3 @@ function DarkMode(_a) {
31
32
  root.style.setProperty('--deepLight', "#154556");
32
33
  }
33
34
  }
34
- exports.default = DarkMode;
package/ui/theme/theme.js CHANGED
@@ -16,13 +16,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
16
16
  }) : function(o, v) {
17
17
  o["default"] = v;
18
18
  });
19
- var __importStar = (this && this.__importStar) || function (mod) {
20
- if (mod && mod.__esModule) return mod;
21
- var result = {};
22
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
23
- __setModuleDefault(result, mod);
24
- return result;
25
- };
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
26
36
  Object.defineProperty(exports, "__esModule", { value: true });
27
37
  var react_1 = __importStar(require("react"));
28
38
  var ThemeProvider = function (_a) {
package/ui/tooltip/Tip.js CHANGED
@@ -26,13 +26,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
26
26
  }) : function(o, v) {
27
27
  o["default"] = v;
28
28
  });
29
- var __importStar = (this && this.__importStar) || function (mod) {
30
- if (mod && mod.__esModule) return mod;
31
- var result = {};
32
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
- __setModuleDefault(result, mod);
34
- return result;
35
- };
29
+ var __importStar = (this && this.__importStar) || (function () {
30
+ var ownKeys = function(o) {
31
+ ownKeys = Object.getOwnPropertyNames || function (o) {
32
+ var ar = [];
33
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
34
+ return ar;
35
+ };
36
+ return ownKeys(o);
37
+ };
38
+ return function (mod) {
39
+ if (mod && mod.__esModule) return mod;
40
+ var result = {};
41
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
42
+ __setModuleDefault(result, mod);
43
+ return result;
44
+ };
45
+ })();
36
46
  var __rest = (this && this.__rest) || function (s, e) {
37
47
  var t = {};
38
48
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -45,10 +55,10 @@ var __rest = (this && this.__rest) || function (s, e) {
45
55
  return t;
46
56
  };
47
57
  Object.defineProperty(exports, "__esModule", { value: true });
58
+ exports.default = Tip;
48
59
  var React = __importStar(require("react"));
49
60
  function Tip(_a) {
50
61
  var tip = _a.tip, funcss = _a.funcss, children = _a.children, content = _a.content, message = _a.message, animation = _a.animation, duration = _a.duration, rest = __rest(_a, ["tip", "funcss", "children", "content", "message", "animation", "duration"]);
51
62
  var text = message || content || children;
52
63
  return (React.createElement("span", __assign({ className: "tip-".concat(tip, " tip ").concat(funcss ? funcss : ''), style: { animation: " ".concat(duration ? duration : 0, "s ").concat(animation ? animation : '') } }, rest), text));
53
64
  }
54
- exports.default = Tip;
@@ -26,13 +26,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
26
26
  }) : function(o, v) {
27
27
  o["default"] = v;
28
28
  });
29
- var __importStar = (this && this.__importStar) || function (mod) {
30
- if (mod && mod.__esModule) return mod;
31
- var result = {};
32
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
- __setModuleDefault(result, mod);
34
- return result;
35
- };
29
+ var __importStar = (this && this.__importStar) || (function () {
30
+ var ownKeys = function(o) {
31
+ ownKeys = Object.getOwnPropertyNames || function (o) {
32
+ var ar = [];
33
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
34
+ return ar;
35
+ };
36
+ return ownKeys(o);
37
+ };
38
+ return function (mod) {
39
+ if (mod && mod.__esModule) return mod;
40
+ var result = {};
41
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
42
+ __setModuleDefault(result, mod);
43
+ return result;
44
+ };
45
+ })();
36
46
  var __rest = (this && this.__rest) || function (s, e) {
37
47
  var t = {};
38
48
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -45,9 +55,9 @@ var __rest = (this && this.__rest) || function (s, e) {
45
55
  return t;
46
56
  };
47
57
  Object.defineProperty(exports, "__esModule", { value: true });
58
+ exports.default = ToolTip;
48
59
  var React = __importStar(require("react"));
49
60
  function ToolTip(_a) {
50
61
  var funcss = _a.funcss, children = _a.children, rest = __rest(_a, ["funcss", "children"]);
51
62
  return (React.createElement("span", __assign({ className: "tooltip ".concat(funcss !== null && funcss !== void 0 ? funcss : '') }, rest), children));
52
63
  }
53
- exports.default = ToolTip;