@dbmx/toasts 0.0.18 → 0.0.20
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/cjs/_virtual/_rollupPluginBabelHelpers.cjs +150 -0
- package/cjs/components/HelloWorld/index.cjs +22 -0
- package/cjs/index.cjs +75 -25
- package/cjs/node_modules/react-dom/client.cjs +18 -0
- package/cjs/webComponents/HelloWorld/index.cjs +54 -0
- package/cjs/webComponents/SDMXDatagrid/index.cjs +81 -0
- package/esm/client-gw8asYiR.js +650 -0
- package/esm/client-gw8asYiR.js.map +1 -0
- package/esm/index-FCPRKLj2.js +720 -0
- package/esm/index-FCPRKLj2.js.map +1 -0
- package/esm/index-T2bcfyHI.js +8510 -0
- package/esm/index-T2bcfyHI.js.map +1 -0
- package/esm/index-W7MLRHBf.js +87 -0
- package/esm/index-W7MLRHBf.js.map +1 -0
- package/esm/index-WUvbDMmw.js +69 -0
- package/esm/index-WUvbDMmw.js.map +1 -0
- package/esm/index-ndYjFD6I.js +8438 -0
- package/esm/index-ndYjFD6I.js.map +1 -0
- package/esm/index.js +121 -2
- package/esm/index.js.map +1 -1
- package/package.json +4 -2
package/esm/index.js
CHANGED
|
@@ -1,3 +1,122 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
// import { lazy } from 'react'
|
|
2
|
+
|
|
3
|
+
var importPath = '@dbmx/toasts';
|
|
4
|
+
// const type = importPath
|
|
5
|
+
// const tag = 'toast'
|
|
6
|
+
|
|
7
|
+
var toasts = [
|
|
8
|
+
// {
|
|
9
|
+
// id: 'sdmxDatagrid',
|
|
10
|
+
// importPath,
|
|
11
|
+
// type,
|
|
12
|
+
// tag,
|
|
13
|
+
// name: 'SDMX Datagrid',
|
|
14
|
+
// tech: 'react',
|
|
15
|
+
// description:
|
|
16
|
+
// 'SDMX, which stands for Statistical Data and Metadata eXchange, is an international initiative that aims at standardising and modernising ("industrialising") the mechanisms and processes for the exchange of statistical data and metadata among international organisations and their member countries.',
|
|
17
|
+
// component: lazy(async () => {
|
|
18
|
+
// const obj = await import('./components/SdmxDatagrid/index.jsx')
|
|
19
|
+
// return typeof obj.default === 'function' ? obj : obj.default
|
|
20
|
+
// }),
|
|
21
|
+
// image: '/images/toasts/sdmx_datagrid.png', // TODO
|
|
22
|
+
// props: {
|
|
23
|
+
// endpoint: {
|
|
24
|
+
// type: 'url',
|
|
25
|
+
// required: true,
|
|
26
|
+
// },
|
|
27
|
+
// resourceType: {
|
|
28
|
+
// type: 'select',
|
|
29
|
+
// required: true,
|
|
30
|
+
// defaultValue: 'dataflow',
|
|
31
|
+
// data: [
|
|
32
|
+
// { value: 'dataflow', label: 'Dataflow' },
|
|
33
|
+
// { value: 'datastructure', label: 'DataStructure' },
|
|
34
|
+
// { value: 'dataproviderscheme', label: 'DataProvider' },
|
|
35
|
+
// ],
|
|
36
|
+
// },
|
|
37
|
+
// agencyID: {
|
|
38
|
+
// type: 'string',
|
|
39
|
+
// required: true,
|
|
40
|
+
// defaultValue: '*',
|
|
41
|
+
// },
|
|
42
|
+
// id: {
|
|
43
|
+
// type: 'string',
|
|
44
|
+
// required: true,
|
|
45
|
+
// },
|
|
46
|
+
// version: {
|
|
47
|
+
// type: 'string',
|
|
48
|
+
// required: true,
|
|
49
|
+
// defaultValue: '~',
|
|
50
|
+
// },
|
|
51
|
+
// },
|
|
52
|
+
// },
|
|
53
|
+
|
|
54
|
+
{
|
|
55
|
+
id: 'sdmxDatagrid',
|
|
56
|
+
importPath: importPath,
|
|
57
|
+
brand: 'web-component',
|
|
58
|
+
tag: 'sdmx-datagrid',
|
|
59
|
+
name: 'SDMX Datagrid',
|
|
60
|
+
description: 'SDMX, which stands for Statistical Data and Metadata eXchange, is an international initiative that aims at standardising and modernising ("industrialising") the mechanisms and processes for the exchange of statistical data and metadata among international organisations and their member countries.',
|
|
61
|
+
"import": function _import() {
|
|
62
|
+
return import('./index-T2bcfyHI.js');
|
|
63
|
+
},
|
|
64
|
+
image: '/images/toasts/sdmx_datagrid.png',
|
|
65
|
+
// TODO
|
|
66
|
+
props: {
|
|
67
|
+
endpoint: {
|
|
68
|
+
type: 'url',
|
|
69
|
+
required: true
|
|
70
|
+
},
|
|
71
|
+
resourceType: {
|
|
72
|
+
type: 'select',
|
|
73
|
+
required: true,
|
|
74
|
+
defaultValue: 'dataflow',
|
|
75
|
+
data: [{
|
|
76
|
+
value: 'dataflow',
|
|
77
|
+
label: 'Dataflow'
|
|
78
|
+
}, {
|
|
79
|
+
value: 'datastructure',
|
|
80
|
+
label: 'DataStructure'
|
|
81
|
+
}, {
|
|
82
|
+
value: 'dataproviderscheme',
|
|
83
|
+
label: 'DataProvider'
|
|
84
|
+
}]
|
|
85
|
+
},
|
|
86
|
+
agencyID: {
|
|
87
|
+
type: 'string',
|
|
88
|
+
required: true,
|
|
89
|
+
defaultValue: '*'
|
|
90
|
+
},
|
|
91
|
+
id: {
|
|
92
|
+
type: 'string',
|
|
93
|
+
required: true
|
|
94
|
+
},
|
|
95
|
+
version: {
|
|
96
|
+
type: 'string',
|
|
97
|
+
required: true,
|
|
98
|
+
defaultValue: '~'
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}, {
|
|
102
|
+
id: 'helloWorld',
|
|
103
|
+
importPath: '@dbmx/webComponents',
|
|
104
|
+
brand: 'web-component',
|
|
105
|
+
tag: 'hello-world',
|
|
106
|
+
name: 'Hello World',
|
|
107
|
+
description: 'web component demonstration',
|
|
108
|
+
"import": function _import() {
|
|
109
|
+
return import('./index-WUvbDMmw.js');
|
|
110
|
+
},
|
|
111
|
+
image: 'https://ui.mantine.dev/_next/static/media/comments-light.9c0747c0.svg',
|
|
112
|
+
props: {
|
|
113
|
+
name: {
|
|
114
|
+
type: 'string',
|
|
115
|
+
required: true,
|
|
116
|
+
"default": 'test'
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}];
|
|
120
|
+
|
|
121
|
+
export { toasts as default };
|
|
3
122
|
//# sourceMappingURL=index.js.map
|
package/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/index.js"],"sourcesContent":["// import { lazy } from 'react'\n\nconst importPath = '@dbmx/toasts'\n// const type = importPath\n// const tag = 'toast'\n\nconst toasts = [\n // {\n // id: 'sdmxDatagrid',\n // importPath,\n // type,\n // tag,\n // name: 'SDMX Datagrid',\n // tech: 'react',\n // description:\n // 'SDMX, which stands for Statistical Data and Metadata eXchange, is an international initiative that aims at standardising and modernising (\"industrialising\") the mechanisms and processes for the exchange of statistical data and metadata among international organisations and their member countries.',\n // component: lazy(async () => {\n // const obj = await import('./components/SdmxDatagrid/index.jsx')\n // return typeof obj.default === 'function' ? obj : obj.default\n // }),\n // image: '/images/toasts/sdmx_datagrid.png', // TODO\n // props: {\n // endpoint: {\n // type: 'url',\n // required: true,\n // },\n // resourceType: {\n // type: 'select',\n // required: true,\n // defaultValue: 'dataflow',\n // data: [\n // { value: 'dataflow', label: 'Dataflow' },\n // { value: 'datastructure', label: 'DataStructure' },\n // { value: 'dataproviderscheme', label: 'DataProvider' },\n // ],\n // },\n // agencyID: {\n // type: 'string',\n // required: true,\n // defaultValue: '*',\n // },\n // id: {\n // type: 'string',\n // required: true,\n // },\n // version: {\n // type: 'string',\n // required: true,\n // defaultValue: '~',\n // },\n // },\n // },\n\n {\n id: 'sdmxDatagrid',\n importPath,\n brand: 'web-component',\n tag: 'sdmx-datagrid',\n name: 'SDMX Datagrid',\n description:\n 'SDMX, which stands for Statistical Data and Metadata eXchange, is an international initiative that aims at standardising and modernising (\"industrialising\") the mechanisms and processes for the exchange of statistical data and metadata among international organisations and their member countries.',\n import: () => import('./webComponents/SDMXDatagrid/index.js'),\n image: '/images/toasts/sdmx_datagrid.png', // TODO\n props: {\n endpoint: {\n type: 'url',\n required: true,\n },\n resourceType: {\n type: 'select',\n required: true,\n defaultValue: 'dataflow',\n data: [\n { value: 'dataflow', label: 'Dataflow' },\n { value: 'datastructure', label: 'DataStructure' },\n { value: 'dataproviderscheme', label: 'DataProvider' },\n ],\n },\n agencyID: {\n type: 'string',\n required: true,\n defaultValue: '*',\n },\n id: {\n type: 'string',\n required: true,\n },\n version: {\n type: 'string',\n required: true,\n defaultValue: '~',\n },\n },\n },\n\n {\n id: 'helloWorld',\n importPath: '@dbmx/webComponents',\n brand: 'web-component',\n tag: 'hello-world',\n name: 'Hello World',\n description: 'web component demonstration',\n import: () => import('./webComponents/HelloWorld/index.js'),\n image: 'https://ui.mantine.dev/_next/static/media/comments-light.9c0747c0.svg',\n props: {\n name: {\n type: 'string',\n required: true,\n default: 'test',\n },\n },\n },\n]\n\nexport default toasts\n"],"names":["importPath","toasts","id","brand","tag","name","description","_import","image","props","endpoint","type","required","resourceType","defaultValue","data","value","label","agencyID","version"],"mappings":"AAAA;;AAEA,IAAMA,UAAU,GAAG,cAAc,CAAA;AACjC;AACA;;AAEA,IAAMC,MAAM,GAAG;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACEC,EAAAA,EAAE,EAAE,cAAc;AAClBF,EAAAA,UAAU,EAAVA,UAAU;AACVG,EAAAA,KAAK,EAAE,eAAe;AACtBC,EAAAA,GAAG,EAAE,eAAe;AACpBC,EAAAA,IAAI,EAAE,eAAe;AACrBC,EAAAA,WAAW,EACT,2SAA2S;AAC7S,EAAA,QAAA,EAAQ,SAAAC,OAAA,GAAA;IAAA,OAAM,OAAO,qBAAuC,CAAC,CAAA;AAAA,GAAA;AAC7DC,EAAAA,KAAK,EAAE,kCAAkC;AAAE;AAC3CC,EAAAA,KAAK,EAAE;AACLC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K,EAAE;AACLJ,IAAAA,IAAI,EAAE;AACJM,MAAAA,IAAI,EAAE,QAAQ;AACdC,MAAAA,QAAQ,EAAE,IAAI;MACd,SAAS,EAAA,MAAA;AACX,KAAA;AACF,GAAA;AACF,CAAC;;;;"}
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dbmx/toasts",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.20",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./esm/index.js",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "Eric Basley <eric.basley@redpelicans.com>",
|
|
8
8
|
"peerDependencies": {
|
|
9
|
+
"@emotion/react": "^11.10.6",
|
|
9
10
|
"@mantine/core": "^6.0.11",
|
|
10
11
|
"@mantine/hooks": "^6.0.11",
|
|
11
12
|
"@tabler/icons-react": "^2.23.0",
|
|
@@ -18,6 +19,7 @@
|
|
|
18
19
|
},
|
|
19
20
|
"dependencies": {
|
|
20
21
|
"@dbmx/sdmx": "^3.0.86",
|
|
22
|
+
"@emotion/react": "^11.10.6",
|
|
21
23
|
"@mantine/core": "^6.0.11",
|
|
22
24
|
"@mantine/hooks": "^6.0.11",
|
|
23
25
|
"mantine-react-table": "^1.2.0",
|
|
@@ -86,5 +88,5 @@
|
|
|
86
88
|
"@babel/preset-react"
|
|
87
89
|
]
|
|
88
90
|
},
|
|
89
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "759964c8a4ffc692c9ea8720af9c40771bb967d5"
|
|
90
92
|
}
|