angular-slickgrid 5.0.0 → 5.0.1
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/package.json +1 -1
- package/docs/assets/lib/multiple-select/README.md +0 -17
- package/test/cypress/node_modules/@4tw/cypress-drag-drop/README.md +0 -169
- package/test/cypress/node_modules/@cypress/request/README.md +0 -1038
- package/test/cypress/node_modules/@cypress/xvfb/README.md +0 -48
- package/test/cypress/node_modules/@cypress/xvfb/node_modules/debug/README.md +0 -437
- package/test/cypress/node_modules/@types/node/README.md +0 -16
- package/test/cypress/node_modules/@types/sinonjs__fake-timers/README.md +0 -16
- package/test/cypress/node_modules/@types/sizzle/README.md +0 -16
- package/test/cypress/node_modules/@types/yauzl/README.md +0 -16
- package/test/cypress/node_modules/@types/yauzl/node_modules/@types/node/README.md +0 -16
- package/test/cypress/node_modules/aggregate-error/README.md +0 -61
- package/test/cypress/node_modules/ansi-colors/README.md +0 -315
- package/test/cypress/node_modules/ansi-escapes/README.md +0 -245
- package/test/cypress/node_modules/ansi-regex/README.md +0 -78
- package/test/cypress/node_modules/ansi-styles/README.md +0 -152
- package/test/cypress/node_modules/arch/README.md +0 -71
- package/test/cypress/node_modules/asn1/README.md +0 -50
- package/test/cypress/node_modules/assert-plus/README.md +0 -162
- package/test/cypress/node_modules/astral-regex/README.md +0 -46
- package/test/cypress/node_modules/async/README.md +0 -60
- package/test/cypress/node_modules/asynckit/README.md +0 -233
- package/test/cypress/node_modules/at-least-node/README.md +0 -25
- package/test/cypress/node_modules/aws-sign2/README.md +0 -4
- package/test/cypress/node_modules/aws4/README.md +0 -183
- package/test/cypress/node_modules/balanced-match/README.md +0 -91
- package/test/cypress/node_modules/base64-js/README.md +0 -34
- package/test/cypress/node_modules/bcrypt-pbkdf/README.md +0 -45
- package/test/cypress/node_modules/blob-util/README.md +0 -623
- package/test/cypress/node_modules/bluebird/README.md +0 -57
- package/test/cypress/node_modules/brace-expansion/README.md +0 -129
- package/test/cypress/node_modules/buffer/README.md +0 -410
- package/test/cypress/node_modules/buffer-crc32/README.md +0 -47
- package/test/cypress/node_modules/cachedir/README.md +0 -27
- package/test/cypress/node_modules/caseless/README.md +0 -45
- package/test/cypress/node_modules/chalk/README.md +0 -293
- package/test/cypress/node_modules/chalk/node_modules/supports-color/README.md +0 -76
- package/test/cypress/node_modules/check-more-types/README.md +0 -952
- package/test/cypress/node_modules/ci-info/README.md +0 -114
- package/test/cypress/node_modules/clean-stack/README.md +0 -76
- package/test/cypress/node_modules/cli-cursor/README.md +0 -55
- package/test/cypress/node_modules/cli-table3/README.md +0 -218
- package/test/cypress/node_modules/cli-truncate/README.md +0 -139
- package/test/cypress/node_modules/color-convert/README.md +0 -68
- package/test/cypress/node_modules/color-name/README.md +0 -11
- package/test/cypress/node_modules/colorette/README.md +0 -102
- package/test/cypress/node_modules/colors/README.md +0 -221
- package/test/cypress/node_modules/combined-stream/README.md +0 -138
- package/test/cypress/node_modules/commander/README.md +0 -737
- package/test/cypress/node_modules/common-tags/README.md +0 -687
- package/test/cypress/node_modules/core-util-is/README.md +0 -3
- package/test/cypress/node_modules/cross-spawn/README.md +0 -96
- package/test/cypress/node_modules/cypress/README.md +0 -25
- package/test/cypress/node_modules/cypress/angular/README.md +0 -85
- package/test/cypress/node_modules/cypress/mount-utils/README.md +0 -21
- package/test/cypress/node_modules/cypress/react/README.md +0 -119
- package/test/cypress/node_modules/cypress/svelte/README.md +0 -83
- package/test/cypress/node_modules/cypress/vue/README.md +0 -88
- package/test/cypress/node_modules/cypress/vue2/README.md +0 -77
- package/test/cypress/node_modules/dashdash/README.md +0 -574
- package/test/cypress/node_modules/dayjs/README.md +0 -128
- package/test/cypress/node_modules/debug/README.md +0 -455
- package/test/cypress/node_modules/delayed-stream/README.md +0 -141
- package/test/cypress/node_modules/ecc-jsbn/README.md +0 -8
- package/test/cypress/node_modules/emoji-regex/README.md +0 -73
- package/test/cypress/node_modules/end-of-stream/README.md +0 -54
- package/test/cypress/node_modules/enquirer/README.md +0 -1752
- package/test/cypress/node_modules/escape-string-regexp/README.md +0 -27
- package/test/cypress/node_modules/eventemitter2/README.md +0 -809
- package/test/cypress/node_modules/execa/README.md +0 -656
- package/test/cypress/node_modules/executable/README.md +0 -64
- package/test/cypress/node_modules/extend/README.md +0 -81
- package/test/cypress/node_modules/extract-zip/README.md +0 -57
- package/test/cypress/node_modules/extract-zip/node_modules/debug/README.md +0 -455
- package/test/cypress/node_modules/extsprintf/README.md +0 -46
- package/test/cypress/node_modules/fd-slicer/README.md +0 -199
- package/test/cypress/node_modules/figures/README.md +0 -139
- package/test/cypress/node_modules/forever-agent/README.md +0 -4
- package/test/cypress/node_modules/form-data/README.md +0 -234
- package/test/cypress/node_modules/fs-extra/README.md +0 -264
- package/test/cypress/node_modules/fs.realpath/README.md +0 -33
- package/test/cypress/node_modules/get-stream/README.md +0 -124
- package/test/cypress/node_modules/getos/README.md +0 -79
- package/test/cypress/node_modules/getpass/README.md +0 -32
- package/test/cypress/node_modules/glob/README.md +0 -375
- package/test/cypress/node_modules/global-dirs/README.md +0 -72
- package/test/cypress/node_modules/graceful-fs/README.md +0 -133
- package/test/cypress/node_modules/has-flag/README.md +0 -89
- package/test/cypress/node_modules/http-signature/README.md +0 -80
- package/test/cypress/node_modules/human-signals/README.md +0 -155
- package/test/cypress/node_modules/ieee754/README.md +0 -51
- package/test/cypress/node_modules/indent-string/README.md +0 -70
- package/test/cypress/node_modules/inflight/README.md +0 -37
- package/test/cypress/node_modules/inherits/README.md +0 -42
- package/test/cypress/node_modules/ini/README.md +0 -102
- package/test/cypress/node_modules/is-ci/README.md +0 -50
- package/test/cypress/node_modules/is-fullwidth-code-point/README.md +0 -39
- package/test/cypress/node_modules/is-installed-globally/README.md +0 -31
- package/test/cypress/node_modules/is-path-inside/README.md +0 -63
- package/test/cypress/node_modules/is-stream/README.md +0 -57
- package/test/cypress/node_modules/is-typedarray/README.md +0 -16
- package/test/cypress/node_modules/isexe/README.md +0 -51
- package/test/cypress/node_modules/isstream/README.md +0 -66
- package/test/cypress/node_modules/jsbn/README.md +0 -175
- package/test/cypress/node_modules/json-schema/README.md +0 -3
- package/test/cypress/node_modules/json-stringify-safe/README.md +0 -52
- package/test/cypress/node_modules/jsonfile/README.md +0 -205
- package/test/cypress/node_modules/jsonfile/node_modules/universalify/README.md +0 -76
- package/test/cypress/node_modules/jsprim/README.md +0 -287
- package/test/cypress/node_modules/lazy-ass/README.md +0 -269
- package/test/cypress/node_modules/listr2/README.md +0 -17
- package/test/cypress/node_modules/lodash/README.md +0 -39
- package/test/cypress/node_modules/lodash.once/README.md +0 -18
- package/test/cypress/node_modules/log-symbols/README.md +0 -51
- package/test/cypress/node_modules/log-update/README.md +0 -97
- package/test/cypress/node_modules/log-update/node_modules/slice-ansi/README.md +0 -66
- package/test/cypress/node_modules/log-update/node_modules/wrap-ansi/README.md +0 -97
- package/test/cypress/node_modules/lru-cache/README.md +0 -166
- package/test/cypress/node_modules/merge-stream/README.md +0 -78
- package/test/cypress/node_modules/mime-db/README.md +0 -102
- package/test/cypress/node_modules/mime-types/README.md +0 -123
- package/test/cypress/node_modules/mimic-fn/README.md +0 -69
- package/test/cypress/node_modules/minimatch/README.md +0 -209
- package/test/cypress/node_modules/ms/README.md +0 -60
- package/test/cypress/node_modules/npm-run-path/README.md +0 -115
- package/test/cypress/node_modules/once/README.md +0 -79
- package/test/cypress/node_modules/onetime/README.md +0 -94
- package/test/cypress/node_modules/ospath/README.md +0 -53
- package/test/cypress/node_modules/p-map/README.md +0 -89
- package/test/cypress/node_modules/path-is-absolute/README.md +0 -59
- package/test/cypress/node_modules/path-key/README.md +0 -61
- package/test/cypress/node_modules/pend/README.md +0 -41
- package/test/cypress/node_modules/performance-now/README.md +0 -30
- package/test/cypress/node_modules/pify/README.md +0 -119
- package/test/cypress/node_modules/pretty-bytes/README.md +0 -131
- package/test/cypress/node_modules/proxy-from-env/README.md +0 -131
- package/test/cypress/node_modules/psl/README.md +0 -215
- package/test/cypress/node_modules/pump/README.md +0 -65
- package/test/cypress/node_modules/punycode/README.md +0 -122
- package/test/cypress/node_modules/qs/README.md +0 -475
- package/test/cypress/node_modules/request-progress/README.md +0 -78
- package/test/cypress/node_modules/restore-cursor/README.md +0 -26
- package/test/cypress/node_modules/rimraf/README.md +0 -101
- package/test/cypress/node_modules/rxjs/README.md +0 -147
- package/test/cypress/node_modules/rxjs/_esm2015/README.md +0 -147
- package/test/cypress/node_modules/rxjs/_esm5/README.md +0 -147
- package/test/cypress/node_modules/rxjs/src/README.md +0 -147
- package/test/cypress/node_modules/safe-buffer/README.md +0 -584
- package/test/cypress/node_modules/safer-buffer/README.md +0 -156
- package/test/cypress/node_modules/semver/README.md +0 -566
- package/test/cypress/node_modules/shebang-command/README.md +0 -34
- package/test/cypress/node_modules/shebang-regex/README.md +0 -33
- package/test/cypress/node_modules/signal-exit/README.md +0 -39
- package/test/cypress/node_modules/slice-ansi/README.md +0 -72
- package/test/cypress/node_modules/sshpk/README.md +0 -804
- package/test/cypress/node_modules/string-width/README.md +0 -50
- package/test/cypress/node_modules/strip-ansi/README.md +0 -46
- package/test/cypress/node_modules/strip-final-newline/README.md +0 -30
- package/test/cypress/node_modules/supports-color/README.md +0 -77
- package/test/cypress/node_modules/throttleit/README.md +0 -32
- package/test/cypress/node_modules/tmp/README.md +0 -365
- package/test/cypress/node_modules/tough-cookie/README.md +0 -527
- package/test/cypress/node_modules/tslib/README.md +0 -142
- package/test/cypress/node_modules/tunnel-agent/README.md +0 -4
- package/test/cypress/node_modules/tweetnacl/README.md +0 -459
- package/test/cypress/node_modules/type-fest/README.md +0 -760
- package/test/cypress/node_modules/universalify/README.md +0 -76
- package/test/cypress/node_modules/untildify/README.md +0 -30
- package/test/cypress/node_modules/uuid/README.md +0 -505
- package/test/cypress/node_modules/verror/README.md +0 -528
- package/test/cypress/node_modules/verror/node_modules/extsprintf/README.md +0 -46
- package/test/cypress/node_modules/which/README.md +0 -54
- package/test/cypress/node_modules/wrap-ansi/README.md +0 -91
- package/test/cypress/node_modules/wrappy/README.md +0 -36
- package/test/cypress/node_modules/yallist/README.md +0 -204
- package/test/cypress/node_modules/yauzl/README.md +0 -658
package/package.json
CHANGED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# Multiple Select
|
|
2
|
-
|
|
3
|
-
Multiple select is a jQuery plugin to select multiple elements with checkboxes :).
|
|
4
|
-
|
|
5
|
-
To get started checkout examples and documentation at http://wenzhixin.net.cn/p/multiple-select
|
|
6
|
-
|
|
7
|
-
## jsFiddle examples
|
|
8
|
-
|
|
9
|
-
https://github.com/wenzhixin/multiple-select/issues/255
|
|
10
|
-
|
|
11
|
-
## Changelog
|
|
12
|
-
|
|
13
|
-
[CHANGELOG](https://github.com/wenzhixin/multiple-select/blob/master/CHANGELOG.md)
|
|
14
|
-
|
|
15
|
-
## LICENSE
|
|
16
|
-
|
|
17
|
-
[The MIT License](https://github.com/wenzhixin/multiple-select/blob/master/LICENSE)
|
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
# cypress-drag-drop
|
|
2
|
-
|
|
3
|
-
A Cypress child command for drag'n'drop support.
|
|
4
|
-
|
|
5
|
-
# Setup
|
|
6
|
-
|
|
7
|
-
Install using npm:
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
npm install --save-dev @4tw/cypress-drag-drop
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
or yarn
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
yarn add --dev @4tw/cypress-drag-drop
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
Before Cypress is loaded (usually in your `commands.js`) put the following line:
|
|
20
|
-
|
|
21
|
-
```javascript
|
|
22
|
-
require('@4tw/cypress-drag-drop')
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
Or, if you are using ES module syntax:
|
|
26
|
-
|
|
27
|
-
```javascript
|
|
28
|
-
import '@4tw/cypress-drag-drop'
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
This will register the `drag` and `move` command.
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
If you're using TypeScript, put the following configuration in a `tsconfig.json`
|
|
35
|
-
|
|
36
|
-
```json
|
|
37
|
-
{
|
|
38
|
-
"compilerOptions": {
|
|
39
|
-
"types": ["cypress", "@4tw/cypress-drag-drop"]
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
# Usage
|
|
45
|
-
|
|
46
|
-
## drag
|
|
47
|
-
|
|
48
|
-
The `drag` command is a child command.
|
|
49
|
-
The command only accepts elements.
|
|
50
|
-
As the drop target simply pass a selector as a string.
|
|
51
|
-
|
|
52
|
-
In your Cypress spec use the command as follows:
|
|
53
|
-
|
|
54
|
-
```javascript
|
|
55
|
-
describe('Dragtest', () => {
|
|
56
|
-
it('should dragndrop', () => {
|
|
57
|
-
cy.visit('/yourpage')
|
|
58
|
-
|
|
59
|
-
cy.get('.sourceitem').drag('.targetitem')
|
|
60
|
-
})
|
|
61
|
-
})
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
Pass the options as an object in the second paramteter.
|
|
65
|
-
|
|
66
|
-
```javascript
|
|
67
|
-
describe('Dragtest', () => {
|
|
68
|
-
it('should dragndrop', () => {
|
|
69
|
-
cy.visit('/yourpage')
|
|
70
|
-
|
|
71
|
-
cy.get('.sourceitem').drag('.targetitem', options)
|
|
72
|
-
})
|
|
73
|
-
})
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
During the drag and drop interaction, two elements are involved. The source element being dragged and the drop target.
|
|
77
|
-
In order to decide what options should either be applied to the source or the target, the options object can be divided in `source` and `target`. Options that are not specific to the source or target are applied to both the source and the target.
|
|
78
|
-
|
|
79
|
-
``` javascript
|
|
80
|
-
cy.get('.sourceitem').drag('.target', {
|
|
81
|
-
source: { x: 100, y: 100 }, // applies to the element being dragged
|
|
82
|
-
target: { position: 'left' }, // applies to the drop target
|
|
83
|
-
force: true, // applied to both the source and target element
|
|
84
|
-
})
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
The options are directly passed to Cypress' `trigger` command.
|
|
88
|
-
So, all options from https://docs.cypress.io/api/commands/trigger#Arguments are possible.
|
|
89
|
-
|
|
90
|
-
### Check command outcome
|
|
91
|
-
|
|
92
|
-
The `drag` command is able to tell wether the drag attempt was successful or not. So, the command will yield `true` when the drag attempt was successful and `false` otherwise:
|
|
93
|
-
|
|
94
|
-
``` javascript
|
|
95
|
-
cy.get('.sourceitem').drag('.target').then((success) => {
|
|
96
|
-
assert.isTrue(success)
|
|
97
|
-
})
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
Or you might also want to check that the element is not draggable:
|
|
101
|
-
|
|
102
|
-
``` javascript
|
|
103
|
-
cy.get('.sourceitem').drag('.target').then((success) => {
|
|
104
|
-
assert.isFalse(success)
|
|
105
|
-
})
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
## move
|
|
109
|
-
|
|
110
|
-
The `move` command is a child command.
|
|
111
|
-
The command only accepts elements.
|
|
112
|
-
Define `deltaX` and `deltaY` as an object parameter to move the element in x- and y-position relative to the element's current position.
|
|
113
|
-
|
|
114
|
-
In your Cypress spec use the command as follows:
|
|
115
|
-
|
|
116
|
-
```javascript
|
|
117
|
-
describe('Movetest', () => {
|
|
118
|
-
it('should move', () => {
|
|
119
|
-
cy.visit('/yourpage')
|
|
120
|
-
|
|
121
|
-
cy.get('.sourceitem').move({ deltaX: 100, deltaY: 100 })
|
|
122
|
-
})
|
|
123
|
-
})
|
|
124
|
-
```
|
|
125
|
-
|
|
126
|
-
The command accepts all options from https://docs.cypress.io/api/commands/trigger#Arguments except `position`, `x` and `y` because they have no effect, since the command makes use of `clientX` and `clientY` internally.
|
|
127
|
-
|
|
128
|
-
```javascript
|
|
129
|
-
describe('Movetest', () => {
|
|
130
|
-
it('should move', () => {
|
|
131
|
-
cy.visit('/yourpage')
|
|
132
|
-
|
|
133
|
-
cy.get('.sourceitem').move({ deltaX: 100, deltaY: 100, ...options })
|
|
134
|
-
})
|
|
135
|
-
})
|
|
136
|
-
```
|
|
137
|
-
|
|
138
|
-
# Development
|
|
139
|
-
|
|
140
|
-
The plugin itself is implemented in the `index.js` file.
|
|
141
|
-
|
|
142
|
-
## Testing
|
|
143
|
-
|
|
144
|
-
The tests can be run using Cypress:
|
|
145
|
-
|
|
146
|
-
```
|
|
147
|
-
yarn test
|
|
148
|
-
```
|
|
149
|
-
|
|
150
|
-
The test fixtures are under `src/examples/`. Using the `setExample` Cypress command
|
|
151
|
-
the fixture is loaded and ready to run tests on. The first attribute in the `setExample` command
|
|
152
|
-
is the name of the fixture which needs to be the filename of the component.
|
|
153
|
-
|
|
154
|
-
```javascript
|
|
155
|
-
cy.setExample('NameOfTheComponent')
|
|
156
|
-
```
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
# Release
|
|
160
|
-
|
|
161
|
-
Release a new version of this package:
|
|
162
|
-
|
|
163
|
-
```
|
|
164
|
-
yarn run release
|
|
165
|
-
```
|
|
166
|
-
|
|
167
|
-
# Changelog
|
|
168
|
-
|
|
169
|
-
Have a look at the [Changelog](CHANGELOG.md)
|