datastake-daf 0.6.100 → 0.6.102
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/dist/components/index.css +1 -1
- package/dist/components/index.js +2722 -226
- package/package.json +1 -1
- package/rollup.config.js +41 -83
- package/src/@daf/core/components/Dashboard/Map/helper.js +434 -439
- package/src/@daf/core/components/Dashboard/Map/storyConfig1.js +230 -233
- package/src/@daf/core/components/EditForm/components/AjaxSubGroup/index.js +0 -2
- package/src/@daf/core/components/PdfForm/components/AjaxSubGroup.js +106 -0
- package/src/@daf/core/components/PdfForm/components/ajaxSubGroupHandler.js +12 -0
- package/src/@daf/core/components/PdfForm/components/dataLinkGroupHandler.js +24 -15
- package/src/@daf/core/components/PdfForm/components/dataLinkHandler.js +51 -17
- package/src/@daf/core/components/PdfForm/index.js +208 -22
- package/src/@daf/core/components/PdfForm/storyConfig.js +464 -163
- package/src/@daf/core/components/PdfForm/style.scss +145 -3
- package/src/@daf/core/components/PdfForm/utils/fieldData.js +82 -3
- package/src/@daf/core/components/PdfForm/utils/fieldRenderer.js +14 -6
- package/src/helpers/Map.js +6 -82
- package/src/styles/_index.scss +1 -1
- package/src/styles/datastake.scss +4454 -1
- package/.vscode/settings.json +0 -13
- package/dist/style/datastake/_index.css +0 -5
- package/dist/style/datastake/datastake.css +0 -5081
- package/dist/style/datastake/fonts/Outfit-Black.ttf +0 -0
- package/dist/style/datastake/fonts/Outfit-Bold.ttf +0 -0
- package/dist/style/datastake/fonts/Outfit-ExtraBold.ttf +0 -0
- package/dist/style/datastake/fonts/Outfit-ExtraLight.ttf +0 -0
- package/dist/style/datastake/fonts/Outfit-Light.ttf +0 -0
- package/dist/style/datastake/fonts/Outfit-Medium.ttf +0 -0
- package/dist/style/datastake/fonts/Outfit-Regular.ttf +0 -0
- package/dist/style/datastake/fonts/Outfit-SemiBold.ttf +0 -0
- package/dist/style/datastake/fonts/Outfit-Thin.ttf +0 -0
- package/dist/style/datastake/fonts/outfit.css +0 -62
- package/dist/style/datastake/fonts/sf-ui-display-black-58646a6b80d5a.woff +0 -0
- package/dist/style/datastake/fonts/sf-ui-display-bold-58646a511e3d9.woff +0 -0
- package/dist/style/datastake/fonts/sf-ui-display-heavy-586470160b9e5.woff +0 -0
- package/dist/style/datastake/fonts/sf-ui-display-light-58646b33e0551.woff +0 -0
- package/dist/style/datastake/fonts/sf-ui-display-medium-58646be638f96.woff +0 -0
- package/dist/style/datastake/fonts/sf-ui-display-semibold-58646eddcae92.woff +0 -0
- package/dist/style/datastake/fonts/sf-ui-display-thin-58646e9b26e8b.woff +0 -0
- package/dist/style/datastake/fonts/sf-ui-display-ultralight-58646b19bf205.woff +0 -0
- package/dist/style/datastake/fonts/sfDisplay.css +0 -59
- package/dist/style/datastake/leaflet.css +0 -671
- package/dist/style/datastake/leaflet.markercluster.css +0 -60
- package/dist/style/style.css +0 -1
- package/src/styles/datastake/_index.css +0 -5
- package/src/styles/datastake/datastake.css +0 -5081
- package/src/styles/datastake/fonts/Outfit-Black.ttf +0 -0
- package/src/styles/datastake/fonts/Outfit-Bold.ttf +0 -0
- package/src/styles/datastake/fonts/Outfit-ExtraBold.ttf +0 -0
- package/src/styles/datastake/fonts/Outfit-ExtraLight.ttf +0 -0
- package/src/styles/datastake/fonts/Outfit-Light.ttf +0 -0
- package/src/styles/datastake/fonts/Outfit-Medium.ttf +0 -0
- package/src/styles/datastake/fonts/Outfit-Regular.ttf +0 -0
- package/src/styles/datastake/fonts/Outfit-SemiBold.ttf +0 -0
- package/src/styles/datastake/fonts/Outfit-Thin.ttf +0 -0
- package/src/styles/datastake/fonts/outfit.css +0 -62
- package/src/styles/datastake/fonts/sf-ui-display-black-58646a6b80d5a.woff +0 -0
- package/src/styles/datastake/fonts/sf-ui-display-bold-58646a511e3d9.woff +0 -0
- package/src/styles/datastake/fonts/sf-ui-display-heavy-586470160b9e5.woff +0 -0
- package/src/styles/datastake/fonts/sf-ui-display-light-58646b33e0551.woff +0 -0
- package/src/styles/datastake/fonts/sf-ui-display-medium-58646be638f96.woff +0 -0
- package/src/styles/datastake/fonts/sf-ui-display-semibold-58646eddcae92.woff +0 -0
- package/src/styles/datastake/fonts/sf-ui-display-thin-58646e9b26e8b.woff +0 -0
- package/src/styles/datastake/fonts/sf-ui-display-ultralight-58646b19bf205.woff +0 -0
- package/src/styles/datastake/fonts/sfDisplay.css +0 -59
- package/src/styles/datastake/leaflet.css +0 -671
- package/src/styles/datastake/leaflet.markercluster.css +0 -60
package/package.json
CHANGED
package/rollup.config.js
CHANGED
|
@@ -1,145 +1,103 @@
|
|
|
1
|
-
import babel from
|
|
2
|
-
import commonjs from
|
|
3
|
-
import resolve from
|
|
4
|
-
import peerDep from
|
|
5
|
-
import nodePolyfills from
|
|
6
|
-
import postcss from
|
|
7
|
-
|
|
1
|
+
import babel from 'rollup-plugin-babel';
|
|
2
|
+
import commonjs from 'rollup-plugin-commonjs';
|
|
3
|
+
import resolve from 'rollup-plugin-node-resolve';
|
|
4
|
+
import peerDep from 'rollup-plugin-peer-deps-external';
|
|
5
|
+
import nodePolyfills from 'rollup-plugin-node-polyfills';
|
|
6
|
+
import postcss from 'rollup-plugin-postcss'; // Add this plugin
|
|
7
|
+
|
|
8
8
|
|
|
9
9
|
// When you add a new package and you have problems publishing, you can add it here and try publishing again
|
|
10
10
|
const external = [
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"leaflet",
|
|
20
|
-
"react-is",
|
|
21
|
-
"countries-list",
|
|
22
|
-
"react/jsx-runtime",
|
|
23
|
-
"lodash",
|
|
24
|
-
"lodash.camelcase",
|
|
25
|
-
"@antv/g2",
|
|
26
|
-
"dot-object",
|
|
27
|
-
"react-collapsed",
|
|
28
|
-
"leaflet-geosearch",
|
|
29
|
-
"react-html-parser",
|
|
30
|
-
"styled-component",
|
|
31
|
-
"@ant-design/icons",
|
|
32
|
-
"deepmerge",
|
|
33
|
-
"leaflet.heat",
|
|
34
|
-
"leaflet.markercluster",
|
|
35
|
-
"react-flow-renderer",
|
|
36
|
-
"country-city-location",
|
|
37
|
-
"@antv/g2plot",
|
|
38
|
-
"@xyflow/react",
|
|
39
|
-
"leaflet-editable",
|
|
40
|
-
"@xyflow/react",
|
|
41
|
-
"zustand/shallow",
|
|
42
|
-
"@elfalem/leaflet-curve",
|
|
11
|
+
'react', 'react-dom', 'react-dom/client', 'antd', 'prop-types', 'dayjs',
|
|
12
|
+
'dayjs', 'moment', 'leaflet', 'react-is', 'countries-list',
|
|
13
|
+
'react/jsx-runtime', 'lodash', 'lodash.camelcase',
|
|
14
|
+
'@antv/g2', 'dot-object', 'react-collapsed', 'leaflet-geosearch',
|
|
15
|
+
'react-html-parser', 'styled-component', '@ant-design/icons',
|
|
16
|
+
'deepmerge', 'leaflet.heat', 'leaflet.markercluster', 'react-flow-renderer',
|
|
17
|
+
'country-city-location', '@antv/g2plot', '@xyflow/react', 'leaflet-editable',
|
|
18
|
+
'@xyflow/react', 'zustand/shallow', '@elfalem/leaflet-curve'
|
|
43
19
|
];
|
|
44
20
|
|
|
45
|
-
// Four builds, components, utils, hooks
|
|
21
|
+
// Four builds, components, utils, hooks and context
|
|
46
22
|
export default [
|
|
47
23
|
{
|
|
48
|
-
input:
|
|
24
|
+
input: 'src/index.js',
|
|
49
25
|
output: [
|
|
50
26
|
{
|
|
51
|
-
file:
|
|
52
|
-
format:
|
|
27
|
+
file: 'dist/components/index.js',
|
|
28
|
+
format: 'cjs',
|
|
53
29
|
},
|
|
54
30
|
],
|
|
55
31
|
external,
|
|
56
32
|
plugins: [
|
|
57
33
|
nodePolyfills(),
|
|
58
34
|
resolve({ browser: true }),
|
|
59
|
-
babel({ exclude:
|
|
35
|
+
babel({ exclude: 'node_modules/**', babelrc: true }),
|
|
60
36
|
peerDep(),
|
|
61
37
|
commonjs({
|
|
62
38
|
include: /node_modules/,
|
|
63
|
-
requireReturnsDefault:
|
|
39
|
+
requireReturnsDefault: 'auto',
|
|
64
40
|
}),
|
|
65
|
-
postcss({
|
|
66
|
-
extract: true,
|
|
67
|
-
minimize: true,
|
|
68
|
-
modules: true,
|
|
41
|
+
postcss({
|
|
42
|
+
extract: true,
|
|
43
|
+
minimize: true,
|
|
44
|
+
modules: true,
|
|
69
45
|
}),
|
|
70
46
|
],
|
|
71
47
|
},
|
|
72
48
|
{
|
|
73
|
-
input:
|
|
49
|
+
input: 'src/utils.js',
|
|
74
50
|
output: [
|
|
75
51
|
{
|
|
76
|
-
file:
|
|
77
|
-
format:
|
|
52
|
+
file: 'dist/utils/index.js',
|
|
53
|
+
format: 'cjs',
|
|
78
54
|
},
|
|
79
55
|
],
|
|
80
56
|
external,
|
|
81
57
|
plugins: [
|
|
82
58
|
nodePolyfills(),
|
|
83
59
|
resolve({ browser: true }),
|
|
84
|
-
babel({ exclude:
|
|
60
|
+
babel({ exclude: 'node_modules/**', babelrc: true }),
|
|
85
61
|
peerDep(),
|
|
86
62
|
commonjs({
|
|
87
63
|
include: /node_modules/,
|
|
88
|
-
requireReturnsDefault:
|
|
64
|
+
requireReturnsDefault: 'auto',
|
|
89
65
|
}),
|
|
90
66
|
],
|
|
91
67
|
},
|
|
92
68
|
{
|
|
93
|
-
input:
|
|
69
|
+
input: 'src/hooks.js',
|
|
94
70
|
output: [
|
|
95
71
|
{
|
|
96
|
-
file:
|
|
97
|
-
format:
|
|
72
|
+
file: 'dist/hooks/index.js',
|
|
73
|
+
format: 'cjs',
|
|
98
74
|
},
|
|
99
75
|
],
|
|
100
76
|
external,
|
|
101
77
|
plugins: [
|
|
102
78
|
nodePolyfills(),
|
|
103
79
|
resolve({ browser: true }),
|
|
104
|
-
babel({ exclude:
|
|
80
|
+
babel({ exclude: 'node_modules/**', babelrc: true }),
|
|
105
81
|
peerDep(),
|
|
106
82
|
commonjs({
|
|
107
83
|
include: /node_modules/,
|
|
108
|
-
requireReturnsDefault:
|
|
84
|
+
requireReturnsDefault: 'auto',
|
|
109
85
|
}),
|
|
110
86
|
],
|
|
111
87
|
},
|
|
112
88
|
{
|
|
113
|
-
input:
|
|
89
|
+
input: 'src/context.js',
|
|
114
90
|
output: [
|
|
115
91
|
{
|
|
116
|
-
file:
|
|
117
|
-
format:
|
|
92
|
+
file: 'dist/context/index.js',
|
|
93
|
+
format: 'cjs',
|
|
118
94
|
},
|
|
119
95
|
],
|
|
120
96
|
external,
|
|
121
|
-
plugins: [resolve(), babel({ exclude: "node_modules/**" }), peerDep()],
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
input: "src/styles/datastake.scss",
|
|
125
|
-
output: [
|
|
126
|
-
{
|
|
127
|
-
file: "dist/style/style.css",
|
|
128
|
-
},
|
|
129
|
-
],
|
|
130
97
|
plugins: [
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
sourceMap: false,
|
|
135
|
-
extensions: [".scss"],
|
|
136
|
-
use: [["sass", { javascriptEnabled: true }]],
|
|
137
|
-
}),
|
|
138
|
-
copy({
|
|
139
|
-
targets: [
|
|
140
|
-
{ src: "src/styles/datastake/*", dest: "dist/style/datastake" },
|
|
141
|
-
],
|
|
142
|
-
}),
|
|
98
|
+
resolve(),
|
|
99
|
+
babel({ exclude: 'node_modules/**' }),
|
|
100
|
+
peerDep(),
|
|
143
101
|
],
|
|
144
102
|
},
|
|
145
103
|
];
|