@green-code-studio/objects-list 0.1.1 → 0.1.3
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/{demoDist/demo.js → dist/index.mjs} +65 -72
- package/package.json +1 -1
- package/webpack.config.js +9 -3
- package/demoDist/index.html +0 -6
|
@@ -6,9 +6,7 @@
|
|
|
6
6
|
* or disable the default devtool with "devtool: false".
|
|
7
7
|
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
8
8
|
*/
|
|
9
|
-
/******/
|
|
10
|
-
/******/ "use strict";
|
|
11
|
-
/******/ var __webpack_modules__ = ({
|
|
9
|
+
/******/ var __webpack_modules__ = ({
|
|
12
10
|
|
|
13
11
|
/***/ "./node_modules/@green-code-studio/internationalization/i18nNode.js":
|
|
14
12
|
/*!**************************************************************************!*\
|
|
@@ -90,16 +88,6 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
90
88
|
|
|
91
89
|
/***/ }),
|
|
92
90
|
|
|
93
|
-
/***/ "./demo/demo.js":
|
|
94
|
-
/*!**********************!*\
|
|
95
|
-
!*** ./demo/demo.js ***!
|
|
96
|
-
\**********************/
|
|
97
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
98
|
-
|
|
99
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _src_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../src/index.js */ \"./src/index.js\");\n\r\n\r\n\r\nconsole.log('aa');\r\nconst dataSource={\r\n async get(options){\r\n return {\r\n rows:[\r\n {id:1, name:'John'},\r\n {id:2, name:'Doe'},\r\n {id:3, name:'Smith'},\r\n ]\r\n }\r\n }\r\n}\r\nconst objectList=new _src_index_js__WEBPACK_IMPORTED_MODULE_0__.ObjectsList(dataSource)\r\n\n\n//# sourceURL=webpack://@green-code-studio/objects-list/./demo/demo.js?");
|
|
100
|
-
|
|
101
|
-
/***/ }),
|
|
102
|
-
|
|
103
91
|
/***/ "./src/ColumnFilter.js":
|
|
104
92
|
/*!*****************************!*\
|
|
105
93
|
!*** ./src/ColumnFilter.js ***!
|
|
@@ -200,67 +188,72 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
|
200
188
|
|
|
201
189
|
/***/ })
|
|
202
190
|
|
|
203
|
-
/******/
|
|
191
|
+
/******/ });
|
|
204
192
|
/************************************************************************/
|
|
205
|
-
/******/
|
|
206
|
-
/******/
|
|
207
|
-
/******/
|
|
208
|
-
/******/
|
|
209
|
-
/******/
|
|
210
|
-
/******/
|
|
211
|
-
/******/
|
|
212
|
-
/******/
|
|
213
|
-
/******/
|
|
214
|
-
/******/ }
|
|
215
|
-
/******/ // Create a new module (and put it into the cache)
|
|
216
|
-
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
217
|
-
/******/ // no module.id needed
|
|
218
|
-
/******/ // no module.loaded needed
|
|
219
|
-
/******/ exports: {}
|
|
220
|
-
/******/ };
|
|
221
|
-
/******/
|
|
222
|
-
/******/ // Execute the module function
|
|
223
|
-
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
224
|
-
/******/
|
|
225
|
-
/******/ // Return the exports of the module
|
|
226
|
-
/******/ return module.exports;
|
|
193
|
+
/******/ // The module cache
|
|
194
|
+
/******/ var __webpack_module_cache__ = {};
|
|
195
|
+
/******/
|
|
196
|
+
/******/ // The require function
|
|
197
|
+
/******/ function __webpack_require__(moduleId) {
|
|
198
|
+
/******/ // Check if module is in cache
|
|
199
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
200
|
+
/******/ if (cachedModule !== undefined) {
|
|
201
|
+
/******/ return cachedModule.exports;
|
|
227
202
|
/******/ }
|
|
228
|
-
/******/
|
|
203
|
+
/******/ // Create a new module (and put it into the cache)
|
|
204
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
205
|
+
/******/ // no module.id needed
|
|
206
|
+
/******/ // no module.loaded needed
|
|
207
|
+
/******/ exports: {}
|
|
208
|
+
/******/ };
|
|
209
|
+
/******/
|
|
210
|
+
/******/ // Execute the module function
|
|
211
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
212
|
+
/******/
|
|
213
|
+
/******/ // Return the exports of the module
|
|
214
|
+
/******/ return module.exports;
|
|
215
|
+
/******/ }
|
|
216
|
+
/******/
|
|
229
217
|
/************************************************************************/
|
|
230
|
-
/******/
|
|
231
|
-
/******/
|
|
232
|
-
/******/
|
|
233
|
-
/******/
|
|
234
|
-
/******/
|
|
235
|
-
/******/
|
|
236
|
-
/******/
|
|
237
|
-
/******/ }
|
|
238
|
-
/******/ }
|
|
239
|
-
/******/ };
|
|
240
|
-
/******/ })();
|
|
241
|
-
/******/
|
|
242
|
-
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
243
|
-
/******/ (() => {
|
|
244
|
-
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
245
|
-
/******/ })();
|
|
246
|
-
/******/
|
|
247
|
-
/******/ /* webpack/runtime/make namespace object */
|
|
248
|
-
/******/ (() => {
|
|
249
|
-
/******/ // define __esModule on exports
|
|
250
|
-
/******/ __webpack_require__.r = (exports) => {
|
|
251
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
252
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
218
|
+
/******/ /* webpack/runtime/define property getters */
|
|
219
|
+
/******/ (() => {
|
|
220
|
+
/******/ // define getter functions for harmony exports
|
|
221
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
|
222
|
+
/******/ for(var key in definition) {
|
|
223
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
224
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
253
225
|
/******/ }
|
|
254
|
-
/******/
|
|
255
|
-
/******/
|
|
256
|
-
/******/
|
|
257
|
-
/******/
|
|
226
|
+
/******/ }
|
|
227
|
+
/******/ };
|
|
228
|
+
/******/ })();
|
|
229
|
+
/******/
|
|
230
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
231
|
+
/******/ (() => {
|
|
232
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
233
|
+
/******/ })();
|
|
234
|
+
/******/
|
|
235
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
236
|
+
/******/ (() => {
|
|
237
|
+
/******/ // define __esModule on exports
|
|
238
|
+
/******/ __webpack_require__.r = (exports) => {
|
|
239
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
240
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
241
|
+
/******/ }
|
|
242
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
243
|
+
/******/ };
|
|
244
|
+
/******/ })();
|
|
245
|
+
/******/
|
|
258
246
|
/************************************************************************/
|
|
259
|
-
/******/
|
|
260
|
-
/******/
|
|
261
|
-
/******/
|
|
262
|
-
/******/
|
|
263
|
-
/******/
|
|
264
|
-
/******/
|
|
265
|
-
/******/
|
|
266
|
-
;
|
|
247
|
+
/******/
|
|
248
|
+
/******/ // startup
|
|
249
|
+
/******/ // Load entry module and return exports
|
|
250
|
+
/******/ // This entry module can't be inlined because the eval devtool is used.
|
|
251
|
+
/******/ var __webpack_exports__ = __webpack_require__("./src/index.js");
|
|
252
|
+
/******/ var __webpack_exports__AbstractView = __webpack_exports__.AbstractView;
|
|
253
|
+
/******/ var __webpack_exports__ColumnFilter = __webpack_exports__.ColumnFilter;
|
|
254
|
+
/******/ var __webpack_exports__ConfigPopup = __webpack_exports__.ConfigPopup;
|
|
255
|
+
/******/ var __webpack_exports__ListView = __webpack_exports__.ListView;
|
|
256
|
+
/******/ var __webpack_exports__ObjectsList = __webpack_exports__.ObjectsList;
|
|
257
|
+
/******/ var __webpack_exports__TableView = __webpack_exports__.TableView;
|
|
258
|
+
/******/ export { __webpack_exports__AbstractView as AbstractView, __webpack_exports__ColumnFilter as ColumnFilter, __webpack_exports__ConfigPopup as ConfigPopup, __webpack_exports__ListView as ListView, __webpack_exports__ObjectsList as ObjectsList, __webpack_exports__TableView as TableView };
|
|
259
|
+
/******/
|
package/package.json
CHANGED
package/webpack.config.js
CHANGED
|
@@ -6,10 +6,13 @@ import {fileURLToPath} from 'url';
|
|
|
6
6
|
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
7
7
|
export default {
|
|
8
8
|
entry: {
|
|
9
|
-
|
|
9
|
+
index: './src/index.js'
|
|
10
10
|
},
|
|
11
11
|
output: {
|
|
12
|
-
path: path.resolve(__dirname, './
|
|
12
|
+
path: path.resolve(__dirname, './dist'),
|
|
13
|
+
library: {
|
|
14
|
+
type: "module",
|
|
15
|
+
},
|
|
13
16
|
},
|
|
14
17
|
module: {
|
|
15
18
|
rules: [
|
|
@@ -22,5 +25,8 @@ export default {
|
|
|
22
25
|
use: ["mpts-loader"]
|
|
23
26
|
}
|
|
24
27
|
]
|
|
25
|
-
}
|
|
28
|
+
},
|
|
29
|
+
experiments: {
|
|
30
|
+
outputModule: true,
|
|
31
|
+
},
|
|
26
32
|
}
|