@easydata/crud 1.4.17 → 1.4.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.
Files changed (80) hide show
  1. package/dist/easydata.crud.cjs.js +22 -0
  2. package/dist/easydata.crud.cjs.js.map +1 -0
  3. package/dist/easydata.crud.es.js +22 -0
  4. package/dist/easydata.crud.es.js.map +1 -0
  5. package/package.json +15 -50
  6. package/api-easydata.js +0 -5
  7. package/dist/assets/css/ed-view.css +0 -107
  8. package/dist/browser/easydata.css +0 -2190
  9. package/dist/browser/easydata.css.map +0 -1
  10. package/dist/browser/easydata.js +0 -12214
  11. package/dist/browser/easydata.js.map +0 -1
  12. package/dist/browser/easydata.min.css +0 -3
  13. package/dist/browser/easydata.min.js +0 -3
  14. package/dist/browser/easydata.min.js.LICENSE.txt +0 -9
  15. package/dist/browser/easydata.min.js.map +0 -1
  16. package/dist/bundles/easydata.crud.js +0 -8517
  17. package/dist/bundles/easydata.crud.js.map +0 -1
  18. package/dist/bundles/easydata.crud.min.js +0 -3
  19. package/dist/bundles/easydata.crud.min.js.LICENSE.txt +0 -1
  20. package/dist/bundles/easydata.crud.min.js.map +0 -1
  21. package/dist/lib/filter/data_filter.js +0 -2
  22. package/dist/lib/filter/data_filter.js.map +0 -1
  23. package/dist/lib/filter/text_data_filter.js +0 -123
  24. package/dist/lib/filter/text_data_filter.js.map +0 -1
  25. package/dist/lib/form/entity_edit_form.js +0 -134
  26. package/dist/lib/form/entity_edit_form.js.map +0 -1
  27. package/dist/lib/form/entity_form_builder.js +0 -441
  28. package/dist/lib/form/entity_form_builder.js.map +0 -1
  29. package/dist/lib/i18n/text_resources.js +0 -32
  30. package/dist/lib/i18n/text_resources.js.map +0 -1
  31. package/dist/lib/main/data_context.js +0 -168
  32. package/dist/lib/main/data_context.js.map +0 -1
  33. package/dist/lib/main/easy_data_server_loader.js +0 -44
  34. package/dist/lib/main/easy_data_server_loader.js.map +0 -1
  35. package/dist/lib/public_api.js +0 -17
  36. package/dist/lib/public_api.js.map +0 -1
  37. package/dist/lib/utils/utils.js +0 -25
  38. package/dist/lib/utils/utils.js.map +0 -1
  39. package/dist/lib/validators/datetime_validator.js +0 -46
  40. package/dist/lib/validators/datetime_validator.js.map +0 -1
  41. package/dist/lib/validators/required_validator.js +0 -37
  42. package/dist/lib/validators/required_validator.js.map +0 -1
  43. package/dist/lib/validators/type_validator.js +0 -47
  44. package/dist/lib/validators/type_validator.js.map +0 -1
  45. package/dist/lib/validators/validator.js +0 -7
  46. package/dist/lib/validators/validator.js.map +0 -1
  47. package/dist/lib/views/easy_data_view_dispatcher.js +0 -114
  48. package/dist/lib/views/easy_data_view_dispatcher.js.map +0 -1
  49. package/dist/lib/views/entity_data_view.js +0 -225
  50. package/dist/lib/views/entity_data_view.js.map +0 -1
  51. package/dist/lib/views/options.js +0 -2
  52. package/dist/lib/views/options.js.map +0 -1
  53. package/dist/lib/views/root_data_view.js +0 -49
  54. package/dist/lib/views/root_data_view.js.map +0 -1
  55. package/dist/lib/widgets/progress_bar.js +0 -16
  56. package/dist/lib/widgets/progress_bar.js.map +0 -1
  57. package/dist/lib/widgets/text_filter_widget.js +0 -214
  58. package/dist/lib/widgets/text_filter_widget.js.map +0 -1
  59. package/styles-easydata.js +0 -4
  60. package/tsconfig.json +0 -23
  61. package/webpack.config.js +0 -137
  62. /package/dist/{lib → types}/filter/data_filter.d.ts +0 -0
  63. /package/dist/{lib → types}/filter/text_data_filter.d.ts +0 -0
  64. /package/dist/{lib → types}/form/entity_edit_form.d.ts +0 -0
  65. /package/dist/{lib → types}/form/entity_form_builder.d.ts +0 -0
  66. /package/dist/{lib → types}/i18n/text_resources.d.ts +0 -0
  67. /package/dist/{lib → types}/main/data_context.d.ts +0 -0
  68. /package/dist/{lib → types}/main/easy_data_server_loader.d.ts +0 -0
  69. /package/dist/{lib → types}/public_api.d.ts +0 -0
  70. /package/dist/{lib → types}/utils/utils.d.ts +0 -0
  71. /package/dist/{lib → types}/validators/datetime_validator.d.ts +0 -0
  72. /package/dist/{lib → types}/validators/required_validator.d.ts +0 -0
  73. /package/dist/{lib → types}/validators/type_validator.d.ts +0 -0
  74. /package/dist/{lib → types}/validators/validator.d.ts +0 -0
  75. /package/dist/{lib → types}/views/easy_data_view_dispatcher.d.ts +0 -0
  76. /package/dist/{lib → types}/views/entity_data_view.d.ts +0 -0
  77. /package/dist/{lib → types}/views/options.d.ts +0 -0
  78. /package/dist/{lib → types}/views/root_data_view.d.ts +0 -0
  79. /package/dist/{lib → types}/widgets/progress_bar.d.ts +0 -0
  80. /package/dist/{lib → types}/widgets/text_filter_widget.d.ts +0 -0
package/package.json CHANGED
@@ -1,17 +1,16 @@
1
1
  {
2
2
  "name": "@easydata/crud",
3
- "version": "1.4.17",
3
+ "version": "1.4.20",
4
4
  "description": "EasyData.JS UI widgets and view for CRUD manipulations",
5
- "types": "./dist/lib/public_api.d.ts",
6
- "main": "./dist/bundles/easydata.crud.js",
7
- "module": "./dist/lib/public_api.js",
5
+ "types": "./dist/types/public_api.d.ts",
6
+ "main": "./dist/easydata.crud.cjs.js",
7
+ "module": "./dist/easydata.crud.es.js",
8
8
  "scripts": {
9
- "clean": "rimraf ./dist",
10
- "build:dev": "set NODE_ENV=development&& npm run clean && tsc && webpack --mode=development",
11
- "build:prod": "set NODE_ENV=production&& npm run clean && tsc && webpack --mode=production",
12
- "watch": "nodemon",
13
- "test": "npm run clean-test && tsc -p tsconfig-test.json && jasmine JASMINE_CONFIG_PATH=jasmine.json",
14
- "clean-test": "rimraf ./test/dist"
9
+ "test": "vitest run",
10
+ "clear": "shx rm -rf dist/* docs/* lib/*",
11
+ "build": "npm run clear && rollup --config",
12
+ "watch": "npm run clear && rollup --config -w",
13
+ "docs": "typedoc src/public_api.ts --out ./docs"
15
14
  },
16
15
  "author": "Korzh.com",
17
16
  "homepage": "https://github.com/KorzhCom/EasyData",
@@ -28,48 +27,14 @@
28
27
  ],
29
28
  "bugs": "https://github.com/KorzhCom/EasyData/issues",
30
29
  "license": "MIT",
31
- "peerDependencies": {
32
- "@easydata/core": "^1.4.17",
33
- "@easydata/ui": "^1.4.17"
34
- },
35
- "devDependencies": {
36
- "@types/jasmine": "^4.3.2",
37
- "@types/jsdom": "21.1.1",
38
- "@types/node": "20.2.5",
39
- "autoprefixer": "^10.4.14",
40
- "css-loader": "^6.7.4",
41
- "es6-promise": "^4.2.8",
42
- "extract-text-webpack-plugin": "^4.0.0-beta.0",
43
- "filemanager-webpack-plugin": "^8.0.0",
44
- "jasmine": "^5.0.0",
45
- "jasmine-ts-console-reporter": "^3.1.1",
46
- "jsdom": "^22.1.0",
47
- "mini-css-extract-plugin": "2.7.6",
48
- "nodemon": "2.0.22",
49
- "optimize-css-assets-webpack-plugin": "6.0.1",
50
- "postcss-loader": "^7.3.1",
51
- "rimraf": "5.0.1",
52
- "style-loader": "^3.3.3",
53
- "terser-webpack-plugin": "^5.3.9",
54
- "ts-loader": "^9.4.3",
55
- "ts-node": "^10.9.1",
56
- "typedoc": "^0.24.7",
57
- "typescript": "5.0.*",
58
- "typings-for-css-modules-loader": "1.7.0",
59
- "webpack": "^5.84.1",
60
- "webpack-cli": "^5.1.1",
61
- "@olton/typedoc-webpack-plugin": "^0.1.0"
62
- },
63
30
  "browserslist": [
64
31
  "defaults and supports es6-module"
65
32
  ],
66
- "nodemonConfig": {
67
- "watch": [
68
- "src"
69
- ],
70
- "delay": "1000",
71
- "ext": "ts,js",
72
- "exec": "tsc"
33
+ "dependencies": {
34
+ "@easydata/core": "^1.4.20",
35
+ "@easydata/ui": "^1.4.20"
73
36
  },
74
- "dependencies": {}
37
+ "files": [
38
+ "dist"
39
+ ]
75
40
  }
package/api-easydata.js DELETED
@@ -1,5 +0,0 @@
1
- import * as core from '@easydata/core'
2
- import * as ui from '@easydata/ui'
3
- import * as crud from './dist/lib/public_api.js'
4
-
5
- export { core, ui, crud }
@@ -1,107 +0,0 @@
1
-
2
- .ed-entity-menu {
3
- display: -ms-flexbox;
4
- display: flex;
5
- -ms-flex-direction: column;
6
- flex-direction: column;
7
- padding-left: 0;
8
- margin-bottom: 0;
9
- }
10
-
11
- .ed-entity-item {
12
- position: relative;
13
- display: block;
14
- padding: .75rem 1.25rem;
15
- margin-bottom: -1px;
16
- background-color: #fff;
17
- border-bottom: 1px solid rgba(0,0,0,.125);
18
- border-top: 1px solid rgba(0,0,0,.125);
19
- border-left: none;
20
- border-right: none;
21
- font-size: 1.2em;
22
- }
23
-
24
- .ed-entity-item:hover {
25
- cursor: pointer;
26
- background-color: #3498DB;
27
- color: white;
28
- }
29
-
30
- .ed-root {
31
- display: flex;
32
- flex-direction: column;
33
- }
34
-
35
- .ed-menu-description {
36
- margin: 50px auto;
37
- text-align: center;
38
- font-size: 1.5em;
39
- }
40
-
41
- .ed-entity-item-caption {
42
- font-weight: 500;
43
- display: flex;
44
- justify-content: space-between;
45
- }
46
-
47
- .ed-entity-item-caption::after {
48
- content: "\276F";
49
- width: 1em;
50
- height: 1em;
51
- text-align: center;
52
- -webkit-transition: all .35s;
53
- transition: all .35s;
54
- }
55
-
56
- .ed-entity-item-descr {
57
- font-size: 0.8em;
58
- margin-left: 30px;
59
- margin-top: 5px;
60
- }
61
-
62
-
63
- /* Progress Bar start */
64
- .ed-progress-bar {
65
- display: 'none';
66
- height: 4px;
67
- width: 100%;
68
- position: fixed;
69
- top: 0;
70
- left: 0;
71
- z-index: 65000;
72
- overflow: hidden;
73
- background-color: #ddd;
74
- }
75
-
76
- .ed-progress-bar:before {
77
- display: block;
78
- position: absolute;
79
- content: "";
80
- left: -200px;
81
- width: 200px;
82
- height: 4px;
83
- background-color: #2980b9;
84
- animation: ed-progress-bar-loading 2s linear infinite;
85
- }
86
-
87
- @keyframes ed-progress-bar-loading {
88
- from {left: -200px; width: 30%;}
89
- 50% {width: 30%;}
90
- 70% {width: 70%;}
91
- 80% { left: 50%;}
92
- 95% {left: 120%;}
93
- to {left: 100%;}
94
- }
95
- /* Progress Bar end */
96
-
97
- .ed-calendar-icon {
98
- background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAqklEQVQ4T+3TuwlCMRSA4e+uo4UigiNoI2gpaOsa6hY6gAP4KHQDEUQb51ECN5Cb6oqNhWkS+E/+cB4pfLmK7P4IW0ywz9g4YbvIouCBFlZYJHvqyNkdnSh4lZEzrDEvX0sFU2wyVuSCJ44YopGlENihZM2SVQQXnGvWdIAeKoKQ47KmIMSFWv0FP1eDK05JG+OQpf8lnvvopm0Mc92uOQMx7BYk+W/80MEb/4ExEZgczvIAAAAASUVORK5CYII=') no-repeat;
99
- width: 16px;
100
- height: 16px;
101
- }
102
-
103
- .ed-timer-icon {
104
- background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABLklEQVQ4T4XTPyhGYRTH8c87GZUYTFJSJgurxMSgGMRmfa3EgFIogxmbWCibxUQyYldSWEwWo4mOnvt239v7cJd773PO+T7nz+/UtH7aMY7eZH7BFT6r7rXKQSe2MYdbPCV7P0ZwhnV8FHFlwAAucYfF5NSWHL8Q8AMMYwKPYSsAYXzALg5LWa2l753SWR2rGIpLCkAEdWC2UtJm+i/ehfk8ZVgPQDTsDX3l2iqBVUBk/IyeAMxgAVMtBpLLIFwvcBSAJXRjOQMYxQ2+cYIYaTx7eP8PMIjpFBCAY7xWAX+VkNHZ73GjhL+amAM0NTGccmPMAZrGGE45IbUChJBWkiIbQgrHQsr3CKeG3hOlC/tJgZNVKRc3RSZbmM8s0yk2cstUTjcaO1ZZ5+tW6/wDn+5DtafCGz8AAAAASUVORK5CYII=') no-repeat;
105
- width: 16px;
106
- height: 16px;
107
- }