dphelper 0.2.89 → 0.2.93

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 (121) hide show
  1. package/{LICENSE.txt → LICENSE.md} +0 -0
  2. package/README.md +6 -0
  3. package/index.js +2 -12
  4. package/package.json +130 -136
  5. package/.editorconfig +0 -13
  6. package/.env +0 -3
  7. package/.eslintignore +0 -13
  8. package/.eslintrc.json +0 -87
  9. package/.eslintrc.legacy.json +0 -91
  10. package/.gitattributes +0 -2
  11. package/.github/FUNDING.yml +0 -12
  12. package/.github/dependabot.yml +0 -12
  13. package/.hintrc +0 -11
  14. package/.jsbeautifyrc +0 -25
  15. package/.jshintrc +0 -16
  16. package/.prettierignore +0 -2
  17. package/.prettierrc.json +0 -8
  18. package/.stylelintignore +0 -0
  19. package/.stylelintrc.json +0 -468
  20. package/.vscode/launch.json +0 -34
  21. package/.vscode/settings.json +0 -58
  22. package/3party/shortcut.js +0 -224
  23. package/CHANGELOG.txt +0 -4
  24. package/SECURITY.md +0 -3
  25. package/__mocks__/fileMock.js +0 -3
  26. package/__mocks__/styleMock.js +0 -3
  27. package/babel.config.js +0 -30
  28. package/backup.bat +0 -43
  29. package/coverage/coverage-final.json +0 -1
  30. package/coverage/lcov-report/base.css +0 -224
  31. package/coverage/lcov-report/block-navigation.js +0 -87
  32. package/coverage/lcov-report/favicon.png +0 -0
  33. package/coverage/lcov-report/index.html +0 -101
  34. package/coverage/lcov-report/prettify.css +0 -1
  35. package/coverage/lcov-report/prettify.js +0 -2
  36. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  37. package/coverage/lcov-report/sorter.js +0 -196
  38. package/coverage/lcov.info +0 -0
  39. package/data/list.json +0 -19
  40. package/dist/LICENSE.txt +0 -209
  41. package/dist/README.md +0 -79
  42. package/elements/button/component.js +0 -0
  43. package/elements/code/component.js +0 -0
  44. package/elements/costants.tsx +0 -13
  45. package/elements/fieldset/component.js +0 -0
  46. package/elements/input/checkbox/component.js +0 -0
  47. package/elements/input/date/component.js +0 -27
  48. package/elements/input/number/component.js +0 -0
  49. package/elements/input/radio/component.js +0 -0
  50. package/elements/input/search/component.js +0 -0
  51. package/elements/input/select/component.js +0 -0
  52. package/elements/input/slider/component.js +0 -0
  53. package/elements/input/switch/component.js +0 -0
  54. package/elements/tab/component.js +0 -0
  55. package/elements/table/component.js +0 -0
  56. package/elements/tags.less +0 -0
  57. package/elements/textarea/component.js +0 -0
  58. package/elements/x-foo/define.js +0 -33
  59. package/elements/x-foo/namespace.d.ts +0 -7
  60. package/init.js +0 -87
  61. package/jest.config.js +0 -81
  62. package/node/createTag.js +0 -7
  63. package/node/gitDeploy.js +0 -7
  64. package/node/goLive.js +0 -7
  65. package/public/assets/images/banner.png +0 -0
  66. package/public/assets/logos/logo.svg +0 -64
  67. package/public/documents/iDB/list.html +0 -11
  68. package/public/documents/iDB/toState.html +0 -11
  69. package/scripts/.OLD/import.js +0 -48
  70. package/scripts/.OLD/onBeforeUnLoad.js +0 -120
  71. package/scripts/.OLD/purge.js +0 -53
  72. package/scripts/.OLD/string.js +0 -27
  73. package/scripts/anchor.js +0 -73
  74. package/scripts/array.js +0 -203
  75. package/scripts/avoid.js +0 -48
  76. package/scripts/browser.js +0 -100
  77. package/scripts/color.js +0 -121
  78. package/scripts/console.js +0 -97
  79. package/scripts/console.mapped.js +0 -160
  80. package/scripts/coods.js +0 -57
  81. package/scripts/cookie.js +0 -105
  82. package/scripts/date.js +0 -179
  83. package/scripts/disable.js +0 -91
  84. package/scripts/errors.js +0 -3
  85. package/scripts/event.js +0 -57
  86. package/scripts/font.js +0 -60
  87. package/scripts/form.js +0 -211
  88. package/scripts/format.js +0 -71
  89. package/scripts/function.js +0 -55
  90. package/scripts/iDB.js +0 -688
  91. package/scripts/json.js +0 -84
  92. package/scripts/load.js +0 -112
  93. package/scripts/math.js +0 -100
  94. package/scripts/obj.js +0 -118
  95. package/scripts/path.js +0 -101
  96. package/scripts/promise.js +0 -56
  97. package/scripts/screen.js +0 -82
  98. package/scripts/scrollbar.js +0 -293
  99. package/scripts/shortcut.js +0 -83
  100. package/scripts/socket.js +0 -184
  101. package/scripts/state.js +0 -87
  102. package/scripts/storage.js +0 -93
  103. package/scripts/store.js +0 -115
  104. package/scripts/svg.js +0 -380
  105. package/scripts/text.js +0 -116
  106. package/scripts/time.js +0 -43
  107. package/scripts/timer.js +0 -54
  108. package/scripts/tool.js +0 -73
  109. package/scripts/trigger.js +0 -57
  110. package/scripts/type.js +0 -76
  111. package/scripts/ui.js +0 -41
  112. package/scripts/window.js +0 -244
  113. package/styles/console.less +0 -95
  114. package/tests/setupJest.tsx +0 -4
  115. package/typings/.OLD/cordova.d.ts +0 -12
  116. package/typings/.OLD/layerpro.d.ts +0 -20
  117. package/typings/.OLD/menupro.d.ts +0 -20
  118. package/typings/dphelper.d.ts +0 -26
  119. package/typings/image.d.ts +0 -5
  120. package/typings/styles.d.ts +0 -23
  121. package/webpack.config.js +0 -249
package/.stylelintrc.json DELETED
@@ -1,468 +0,0 @@
1
- {
2
- "extends": "stylelint-config-standard",
3
- "plugins": [
4
- "stylelint-order"
5
- ],
6
- "rules": {
7
- "comment-empty-line-before": null,
8
- "function-linear-gradient-no-nonstandard-direction": null,
9
- "function-whitespace-after": null,
10
- "no-descending-specificity": null,
11
- "no-duplicate-selectors": null,
12
- "no-unknown-animations": true,
13
- "media-feature-name-no-unknown": [true, {
14
- "ignoreMediaFeatureNames": [
15
- "prefers-reduced-motion",
16
- "min--moz-device-pixel-ratio"
17
- ]
18
- }],
19
- "number-leading-zero": "always",
20
- "order/order": [
21
- "custom-properties",
22
- "dollar-variables",
23
- {
24
- "type": "at-rule",
25
- "hasBlock": false
26
- },
27
- "declarations",
28
- "rules",
29
- {
30
- "type": "at-rule",
31
- "hasBlock": true
32
- }
33
- ],
34
- "order/properties-order": [
35
- "position",
36
- "z-index",
37
- "top",
38
- "right",
39
- "bottom",
40
- "left",
41
-
42
- "display",
43
- "visibility",
44
- "float",
45
- "clear",
46
- "overflow",
47
- "overflow-x",
48
- "overflow-y",
49
- "-ms-overflow-x",
50
- "-ms-overflow-y",
51
- "-webkit-overflow-scrolling",
52
- "clip",
53
- "zoom",
54
-
55
- "flex",
56
- "flex-flow",
57
- "flex-direction",
58
- "flex-wrap",
59
- "flex-basis",
60
- "flex-grow",
61
- "flex-shrink",
62
- "flex-order",
63
- "flex-pack",
64
-
65
- "-ms-grid",
66
- "grid",
67
- "grid-area",
68
- "grid-template",
69
- "grid-template-areas",
70
- "-ms-grid-rows",
71
- "grid-template-rows",
72
- "-ms-grid-columns",
73
- "grid-template-columns",
74
- "grid-row",
75
- "-ms-grid-row",
76
- "grid-row-start",
77
- "grid-row-end",
78
- "grid-column",
79
- "-ms-grid-column",
80
- "grid-column-start",
81
- "grid-column-end",
82
- "grid-auto-rows",
83
- "grid-auto-columns",
84
- "grid-auto-flow",
85
- "grid-gap",
86
- "grid-row-gap",
87
- "grid-column-gap",
88
- "-ms-grid-row-align",
89
- "-ms-grid-column-align",
90
-
91
- "place-content",
92
- "place-items",
93
- "align-content",
94
- "align-items",
95
- "align-self",
96
- "justify-content",
97
- "justify-items",
98
- "justify-self",
99
-
100
- "order",
101
-
102
- "-webkit-box-sizing",
103
- "-moz-box-sizing",
104
- "box-sizing",
105
- "width",
106
- "min-width",
107
- "max-width",
108
- "height",
109
- "min-height",
110
- "max-height",
111
- "margin",
112
- "margin-top",
113
- "margin-right",
114
- "margin-bottom",
115
- "margin-left",
116
- "margin-block-start",
117
- "margin-block-end",
118
- "margin-inline-start",
119
- "margin-inline-end",
120
- "padding",
121
- "padding-top",
122
- "padding-right",
123
- "padding-bottom",
124
- "padding-left",
125
- "padding-block-start",
126
- "padding-block-end",
127
- "padding-inline-start",
128
- "padding-inline-end",
129
-
130
- "table-layout",
131
- "-webkit-columns",
132
- "-moz-columns",
133
- "columns",
134
- "-webkit-column-span",
135
- "-moz-column-span",
136
- "column-span",
137
- "-webkit-column-width",
138
- "-moz-column-width",
139
- "column-width",
140
- "-webkit-column-count",
141
- "-moz-column-count",
142
- "column-count",
143
- "-webkit-column-fill",
144
- "-moz-column-fill",
145
- "column-fill",
146
- "-webkit-column-gap",
147
- "-moz-column-gap",
148
- "column-gap",
149
- "-webkit-column-rule",
150
- "-moz-column-rule",
151
- "column-rule",
152
- "-webkit-column-rule-width",
153
- "-moz-column-rule-width",
154
- "column-rule-width",
155
- "-webkit-column-rule-style",
156
- "-moz-column-rule-style",
157
- "column-rule-style",
158
- "-webkit-column-rule-color",
159
- "-moz-column-rule-color",
160
- "column-rule-color",
161
- "empty-cells",
162
- "caption-side",
163
- "border-spacing",
164
- "border-collapse",
165
- "$counter-style",
166
- "list-style",
167
- "list-style-position",
168
- "list-style-type",
169
- "list-style-image",
170
-
171
- "content",
172
- "quotes",
173
- "counter-reset",
174
- "counter-increment",
175
- "resize",
176
- "cursor",
177
- "-webkit-user-select",
178
- "-moz-user-select",
179
- "-ms-user-select",
180
- "user-select",
181
- "nav-index",
182
- "nav-up",
183
- "nav-right",
184
- "nav-down",
185
- "nav-left",
186
- "-webkit-transition",
187
- "-moz-transition",
188
- "-ms-transition",
189
- "-o-transition",
190
- "transition",
191
- "-webkit-transition-delay",
192
- "-moz-transition-delay",
193
- "-ms-transition-delay",
194
- "-o-transition-delay",
195
- "transition-delay",
196
- "-webkit-transition-timing-function",
197
- "-moz-transition-timing-function",
198
- "-ms-transition-timing-function",
199
- "-o-transition-timing-function",
200
- "transition-timing-function",
201
- "-webkit-transition-duration",
202
- "-moz-transition-duration",
203
- "-ms-transition-duration",
204
- "-o-transition-duration",
205
- "transition-duration",
206
- "-webkit-transition-property",
207
- "-moz-transition-property",
208
- "-ms-transition-property",
209
- "-o-transition-property",
210
- "transition-property",
211
- "-webkit-transform",
212
- "-moz-transform",
213
- "-ms-transform",
214
- "-o-transform",
215
- "transform",
216
- "-webkit-transform-origin",
217
- "-moz-transform-origin",
218
- "-ms-transform-origin",
219
- "-o-transform-origin",
220
- "transform-origin",
221
- "$keyframes",
222
- "-webkit-animation",
223
- "-moz-animation",
224
- "-ms-animation",
225
- "-o-animation",
226
- "animation",
227
- "-webkit-animation-name",
228
- "-moz-animation-name",
229
- "-ms-animation-name",
230
- "-o-animation-name",
231
- "animation-name",
232
- "-webkit-animation-duration",
233
- "-moz-animation-duration",
234
- "-ms-animation-duration",
235
- "-o-animation-duration",
236
- "animation-duration",
237
- "-webkit-animation-play-state",
238
- "-moz-animation-play-state",
239
- "-ms-animation-play-state",
240
- "-o-animation-play-state",
241
- "animation-play-state",
242
- "-webkit-animation-timing-function",
243
- "-moz-animation-timing-function",
244
- "-ms-animation-timing-function",
245
- "-o-animation-timing-function",
246
- "animation-timing-function",
247
- "-webkit-animation-delay",
248
- "-moz-animation-delay",
249
- "-ms-animation-delay",
250
- "-o-animation-delay",
251
- "animation-delay",
252
- "-webkit-animation-iteration-count",
253
- "-moz-animation-iteration-count",
254
- "-ms-animation-iteration-count",
255
- "-o-animation-iteration-count",
256
- "animation-iteration-count",
257
- "-webkit-animation-direction",
258
- "-moz-animation-direction",
259
- "-ms-animation-direction",
260
- "-o-animation-direction",
261
- "animation-direction",
262
- "text-align",
263
- "-webkit-text-align-last",
264
- "-moz-text-align-last",
265
- "-ms-text-align-last",
266
- "text-align-last",
267
- "vertical-align",
268
- "white-space",
269
- "text-decoration",
270
- "text-emphasis",
271
- "text-emphasis-color",
272
- "text-emphasis-style",
273
- "text-emphasis-position",
274
- "text-indent",
275
- "-ms-text-justify",
276
- "text-justify",
277
- "text-transform",
278
- "letter-spacing",
279
- "word-spacing",
280
- "-ms-writing-mode",
281
- "text-outline",
282
- "text-transform",
283
- "text-wrap",
284
- "text-overflow",
285
- "-ms-text-overflow",
286
- "text-overflow-ellipsis",
287
- "text-overflow-mode",
288
- "-ms-word-wrap",
289
- "word-wrap",
290
- "word-break",
291
- "-ms-word-break",
292
- "-moz-tab-size",
293
- "-o-tab-size",
294
- "tab-size",
295
- "-webkit-hyphens",
296
- "-moz-hyphens",
297
- "hyphens",
298
- "pointer-events",
299
- "direction",
300
- "unicode-bidi",
301
- "orphans",
302
- "widows",
303
- "object-fit",
304
- "object-position",
305
-
306
- "opacity",
307
- "filter:progid:DXImageTransform.Microsoft.Alpha(Opacity",
308
- "-ms-filter:\\'progid:DXImageTransform.Microsoft.Alpha",
309
- "-webkit-filter",
310
- "-ms-filter",
311
- "filter",
312
- "-ms-interpolation-mode",
313
- "color",
314
- "border",
315
- "border-collapse",
316
- "border-width",
317
- "border-style",
318
- "border-color",
319
- "border-top",
320
- "border-top-width",
321
- "border-top-style",
322
- "border-top-color",
323
- "border-right",
324
- "border-right-width",
325
- "border-right-style",
326
- "border-right-color",
327
- "border-bottom",
328
- "border-bottom-width",
329
- "border-bottom-style",
330
- "border-bottom-color",
331
- "border-left",
332
- "border-left-width",
333
- "border-left-style",
334
- "border-left-color",
335
- "border-block-start",
336
- "border-block-start-width",
337
- "border-block-start-style",
338
- "border-block-start-color",
339
- "border-inline-end",
340
- "border-inline-end-width",
341
- "border-inline-end-style",
342
- "border-inline-end-color",
343
- "border-block-end",
344
- "border-block-end-width",
345
- "border-block-end-style",
346
- "border-block-end-color",
347
- "border-inline-start",
348
- "border-inline-start-width",
349
- "border-inline-start-style",
350
- "border-inline-start-color",
351
- "-webkit-border-radius",
352
- "-moz-border-radius",
353
- "border-radius",
354
- "-webkit-border-top-left-radius",
355
- "-moz-border-radius-topleft",
356
- "border-top-left-radius",
357
- "-webkit-border-top-right-radius",
358
- "-moz-border-radius-topright",
359
- "border-top-right-radius",
360
- "-webkit-border-bottom-right-radius",
361
- "-moz-border-radius-bottomright",
362
- "border-bottom-right-radius",
363
- "-webkit-border-bottom-left-radius",
364
- "-moz-border-radius-bottomleft",
365
- "border-bottom-left-radius",
366
- "-webkit-border-image",
367
- "-moz-border-image",
368
- "-o-border-image",
369
- "border-image",
370
- "-webkit-border-image-source",
371
- "-moz-border-image-source",
372
- "-o-border-image-source",
373
- "border-image-source",
374
- "-webkit-border-image-slice",
375
- "-moz-border-image-slice",
376
- "-o-border-image-slice",
377
- "border-image-slice",
378
- "-webkit-border-image-width",
379
- "-moz-border-image-width",
380
- "-o-border-image-width",
381
- "border-image-width",
382
- "-webkit-border-image-outset",
383
- "-moz-border-image-outset",
384
- "-o-border-image-outset",
385
- "border-image-outset",
386
- "-webkit-border-image-repeat",
387
- "-moz-border-image-repeat",
388
- "-o-border-image-repeat",
389
- "border-image-repeat",
390
- "outline",
391
- "outline-width",
392
- "outline-style",
393
- "outline-color",
394
- "outline-offset",
395
- "background",
396
- "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader",
397
- "background-color",
398
- "background-image",
399
- "background-repeat",
400
- "background-attachment",
401
- "background-position",
402
- "background-position-x",
403
- "-ms-background-position-x",
404
- "background-position-y",
405
- "-ms-background-position-y",
406
- "-webkit-background-clip",
407
- "-moz-background-clip",
408
- "background-clip",
409
- "background-origin",
410
- "-webkit-background-size",
411
- "-moz-background-size",
412
- "-o-background-size",
413
- "background-size",
414
- "box-decoration-break",
415
- "-webkit-box-shadow",
416
- "-moz-box-shadow",
417
- "box-shadow",
418
- "filter:progid:DXImageTransform.Microsoft.gradient",
419
- "-ms-filter:\\'progid:DXImageTransform.Microsoft.gradient",
420
- "text-shadow",
421
-
422
- "$font-face",
423
- "font",
424
- "font-family",
425
- "src",
426
- "$font-feature-values",
427
- "$swash",
428
- "$annotation",
429
- "$ornaments",
430
- "$stylistic",
431
- "$styleset",
432
- "$character-variant",
433
- "font-variant-alternates",
434
- "font-size",
435
- "font-weight",
436
- "font-style",
437
- "font-variant",
438
- "font-size-adjust",
439
- "font-stretch",
440
- "font-effect",
441
- "font-emphasize",
442
- "font-emphasize-position",
443
- "font-emphasize-style",
444
- "font-smooth",
445
- "line-height"
446
- ],
447
- "property-no-unknown": null,
448
- "rule-empty-line-before": null,
449
- "selector-pseudo-element-colon-notation": null,
450
- "shorthand-property-no-redundant-values": null,
451
- "string-quotes": "double",
452
- "unit-allowed-list": ["ch", "deg", "em", "ex", "fr", "ms", "rem", "%", "s", "px", "vw", "vh"],
453
- "value-keyword-case": ["lower", {
454
- "ignoreProperties": [
455
- "--font-family",
456
- "font-family"
457
- ]
458
- }]
459
- },
460
- "ignoreFiles": [
461
- "assets/vendor/**/*.css",
462
- "tests/Drupal/Tests/Core/Asset/css_test_files/**/*.css",
463
- "modules/media/css/plugins/drupalmedia/ckeditor.drupalmedia.css",
464
- "themes/stable/css/core/assets/vendor/**/*.css",
465
- "themes/stable9/css/core/assets/vendor/**/*.css",
466
- "themes/stable9/css/media/plugins/drupalmedia/ckeditor.drupalmedia.css"
467
- ]
468
- }
@@ -1,34 +0,0 @@
1
- {
2
- "configurations": [
3
- {
4
- "type": "node",
5
- "name": "vscode-jest-tests-1633480870182",
6
- "request": "launch",
7
- "console": "integratedTerminal",
8
- "internalConsoleOptions": "neverOpen",
9
- "disableOptimisticBPs": true,
10
- "program": "${workspaceFolder}/node_modules/jest/bin/jest.js",
11
- "cwd": "${workspaceFolder}",
12
- "args": [
13
- "test",
14
- "--runInBand",
15
- "--watchAll=false"
16
- ]
17
- },
18
- {
19
- "type": "node",
20
- "name": "vscode-jest-tests",
21
- "request": "launch",
22
- "console": "integratedTerminal",
23
- "internalConsoleOptions": "neverOpen",
24
- "disableOptimisticBPs": true,
25
- "program": "${workspaceFolder}\\jest",
26
- "cwd": "${workspaceFolder}",
27
- "args": [
28
- "test",
29
- "--runInBand",
30
- "--watchAll=false"
31
- ]
32
- }
33
- ]
34
- }
@@ -1,58 +0,0 @@
1
- {
2
- "npm.exclude": [
3
- "**/dist", "dist"
4
- ],
5
- "editor.hover.enabled": true,
6
- "editor.hover.delay": 2000,
7
- "editor.quickSuggestions": {
8
- "comments": "on",
9
- "strings": "on",
10
- "other": "on"
11
- },
12
- "editor.quickSuggestionsDelay": 2000,
13
-
14
- "editor.tabCompletion": "off",
15
- "editor.renderWhitespace": "all",
16
- "editor.acceptSuggestionOnEnter": "on",
17
- "editor.defaultFormatter": null,
18
- "editor.formatOnSave": false,
19
- "editor.autoClosingBrackets": "always",
20
- "editor.autoClosingOvertype": "always",
21
- "editor.insertSpaces": true,
22
- "editor.detectIndentation":false,
23
- "editor.tabSize": 2,
24
-
25
- "files.trimTrailingWhitespace": true,
26
- "typescript.format.semicolons": "remove",
27
- "typescript.referencesCodeLens.enabled": true,
28
- "typescript.suggestionActions.enabled": false,
29
- "javascript.suggestionActions.enabled": false,
30
- "explorer.compactFolders":false,
31
-
32
- "[typescript]": {},
33
- "[javascript]": {},
34
- "[markdown]": {},
35
- "[php]": {},
36
- "[css]": {},
37
- "[less]": {},
38
- "[sass]": {},
39
- "[js]": {},
40
-
41
- "search.exclude": {
42
- ".editorconfig": true,
43
- "**/.cache": true,
44
- "**/.DS_Store": true,
45
- "**/.git": true,
46
- "**/.svg": true,
47
- "**/.xml": true,
48
- "**/bower_components": true,
49
- "**/node_*": true,
50
- "**/node_modules": true,
51
- "**/tmp": true,
52
- "babel.config.js": true,
53
- "jest.config.js": true,
54
- "node_modules": true,
55
- "package-lock.json": true,
56
- }
57
-
58
- }