andoncloud-widget-preview 1.0.0

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.
package/README.md ADDED
File without changes
File without changes
@@ -0,0 +1,6 @@
1
+ import 'react-grid-layout/css/styles.css';
2
+ import 'react-resizable/css/styles.css';
3
+ import React from 'react';
4
+ import { DashboardProps } from '@/types';
5
+ declare const Dashboard: React.FC<DashboardProps>;
6
+ export default Dashboard;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { DashboardProps } from '@/types';
3
+ declare const Routing: React.FC<DashboardProps>;
4
+ export default Routing;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { WidgetPreviewProps } from '@/types';
3
+ declare const WidgetPreview: React.FC<WidgetPreviewProps>;
4
+ export default WidgetPreview;
package/dist/i18n.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ import i18n from 'i18next';
2
+ export default i18n;
package/dist/index.css ADDED
@@ -0,0 +1,73 @@
1
+ .react-resizable {
2
+ position: relative;
3
+ }
4
+ .react-resizable-handle {
5
+ position: absolute;
6
+ width: 20px;
7
+ height: 20px;
8
+ background-repeat: no-repeat;
9
+ background-origin: content-box;
10
+ box-sizing: border-box;
11
+ background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2IDYiIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2cHgiIGhlaWdodD0iNnB4Ij48ZyBvcGFjaXR5PSIwLjMwMiI+PHBhdGggZD0iTSA2IDYgTCAwIDYgTCAwIDQuMiBMIDQgNC4yIEwgNC4yIDQuMiBMIDQuMiAwIEwgNiAwIEwgNiA2IEwgNiA2IFoiIGZpbGw9IiMwMDAwMDAiLz48L2c+PC9zdmc+');
12
+ background-position: bottom right;
13
+ padding: 0 3px 3px 0;
14
+ }
15
+ .react-resizable-handle-sw {
16
+ bottom: 0;
17
+ left: 0;
18
+ cursor: sw-resize;
19
+ -webkit-transform: rotate(90deg);
20
+ transform: rotate(90deg);
21
+ }
22
+ .react-resizable-handle-se {
23
+ bottom: 0;
24
+ right: 0;
25
+ cursor: se-resize;
26
+ }
27
+ .react-resizable-handle-nw {
28
+ top: 0;
29
+ left: 0;
30
+ cursor: nw-resize;
31
+ -webkit-transform: rotate(180deg);
32
+ transform: rotate(180deg);
33
+ }
34
+ .react-resizable-handle-ne {
35
+ top: 0;
36
+ right: 0;
37
+ cursor: ne-resize;
38
+ -webkit-transform: rotate(270deg);
39
+ transform: rotate(270deg);
40
+ }
41
+ .react-resizable-handle-w,
42
+ .react-resizable-handle-e {
43
+ top: 50%;
44
+ margin-top: -10px;
45
+ cursor: ew-resize;
46
+ }
47
+ .react-resizable-handle-w {
48
+ left: 0;
49
+ -webkit-transform: rotate(135deg);
50
+ transform: rotate(135deg);
51
+ }
52
+ .react-resizable-handle-e {
53
+ right: 0;
54
+ -webkit-transform: rotate(315deg);
55
+ transform: rotate(315deg);
56
+ }
57
+ .react-resizable-handle-n,
58
+ .react-resizable-handle-s {
59
+ left: 50%;
60
+ margin-left: -10px;
61
+ cursor: ns-resize;
62
+ }
63
+ .react-resizable-handle-n {
64
+ top: 0;
65
+ -webkit-transform: rotate(225deg);
66
+ transform: rotate(225deg);
67
+ }
68
+ .react-resizable-handle-s {
69
+ bottom: 0;
70
+ -webkit-transform: rotate(45deg);
71
+ transform: rotate(45deg);
72
+ }
73
+ /*# sourceMappingURL=index.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["styles.css"],"names":[],"mappings":"AAAA;EACE,kBAAkB;AACpB;AACA;EACE,kBAAkB;EAClB,WAAW;EACX,YAAY;EACZ,4BAA4B;EAC5B,8BAA8B;EAC9B,sBAAsB;EACtB,uYAAuY;EACvY,iCAAiC;EACjC,oBAAoB;AACtB;AACA;EACE,SAAS;EACT,OAAO;EACP,iBAAiB;EACjB,gCAAwB;UAAxB,wBAAwB;AAC1B;AACA;EACE,SAAS;EACT,QAAQ;EACR,iBAAiB;AACnB;AACA;EACE,MAAM;EACN,OAAO;EACP,iBAAiB;EACjB,iCAAyB;UAAzB,yBAAyB;AAC3B;AACA;EACE,MAAM;EACN,QAAQ;EACR,iBAAiB;EACjB,iCAAyB;UAAzB,yBAAyB;AAC3B;AACA;;EAEE,QAAQ;EACR,iBAAiB;EACjB,iBAAiB;AACnB;AACA;EACE,OAAO;EACP,iCAAyB;UAAzB,yBAAyB;AAC3B;AACA;EACE,QAAQ;EACR,iCAAyB;UAAzB,yBAAyB;AAC3B;AACA;;EAEE,SAAS;EACT,kBAAkB;EAClB,iBAAiB;AACnB;AACA;EACE,MAAM;EACN,iCAAyB;UAAzB,yBAAyB;AAC3B;AACA;EACE,SAAS;EACT,gCAAwB;UAAxB,wBAAwB;AAC1B","file":"index.css","sourcesContent":[".react-resizable {\n position: relative;\n}\n.react-resizable-handle {\n position: absolute;\n width: 20px;\n height: 20px;\n background-repeat: no-repeat;\n background-origin: content-box;\n box-sizing: border-box;\n background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2IDYiIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2cHgiIGhlaWdodD0iNnB4Ij48ZyBvcGFjaXR5PSIwLjMwMiI+PHBhdGggZD0iTSA2IDYgTCAwIDYgTCAwIDQuMiBMIDQgNC4yIEwgNC4yIDQuMiBMIDQuMiAwIEwgNiAwIEwgNiA2IEwgNiA2IFoiIGZpbGw9IiMwMDAwMDAiLz48L2c+PC9zdmc+');\n background-position: bottom right;\n padding: 0 3px 3px 0;\n}\n.react-resizable-handle-sw {\n bottom: 0;\n left: 0;\n cursor: sw-resize;\n transform: rotate(90deg);\n}\n.react-resizable-handle-se {\n bottom: 0;\n right: 0;\n cursor: se-resize;\n}\n.react-resizable-handle-nw {\n top: 0;\n left: 0;\n cursor: nw-resize;\n transform: rotate(180deg);\n}\n.react-resizable-handle-ne {\n top: 0;\n right: 0;\n cursor: ne-resize;\n transform: rotate(270deg);\n}\n.react-resizable-handle-w,\n.react-resizable-handle-e {\n top: 50%;\n margin-top: -10px;\n cursor: ew-resize;\n}\n.react-resizable-handle-w {\n left: 0;\n transform: rotate(135deg);\n}\n.react-resizable-handle-e {\n right: 0;\n transform: rotate(315deg);\n}\n.react-resizable-handle-n,\n.react-resizable-handle-s {\n left: 50%;\n margin-left: -10px;\n cursor: ns-resize;\n}\n.react-resizable-handle-n {\n top: 0;\n transform: rotate(225deg);\n}\n.react-resizable-handle-s {\n bottom: 0;\n transform: rotate(45deg);\n}"]}
@@ -0,0 +1,3 @@
1
+ import './i18n';
2
+ export { default as WidgetPreview } from './components/WidgetPreview';
3
+ export { WidgetPreviewProps } from './types';