ember-headless-table 1.1.0 → 1.2.0
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/LICENSE.md +9 -0
- package/dist/-private/-type-tests/plugin-properties.test.js +4 -8
- package/dist/-private/-type-tests/plugin-properties.test.js.map +1 -1
- package/dist/-private/-type-tests/plugin-with.test.js.map +1 -1
- package/dist/-private/-type-tests/plugins-accessors.test.js +12 -11
- package/dist/-private/-type-tests/plugins-accessors.test.js.map +1 -1
- package/dist/-private/-type-tests/plugins-signature-from.test.js +7 -6
- package/dist/-private/-type-tests/plugins-signature-from.test.js.map +1 -1
- package/dist/-private/-type-tests/plugins-signature-utils.test.js.map +1 -1
- package/dist/-private/-type-tests/table-api.test.js +3 -2
- package/dist/-private/-type-tests/table-api.test.js.map +1 -1
- package/dist/-private/-type-tests/table-config.test.js +8 -11
- package/dist/-private/-type-tests/table-config.test.js.map +1 -1
- package/dist/-private/column.d.ts +1 -1
- package/dist/-private/column.js +7 -15
- package/dist/-private/column.js.map +1 -1
- package/dist/-private/js-helper.d.ts +1 -1
- package/dist/-private/js-helper.js +2 -3
- package/dist/-private/js-helper.js.map +1 -1
- package/dist/-private/preferences.js +7 -39
- package/dist/-private/preferences.js.map +1 -1
- package/dist/-private/row.d.ts +1 -1
- package/dist/-private/row.js +4 -15
- package/dist/-private/row.js.map +1 -1
- package/dist/-private/table.js +3 -3
- package/dist/-private/utils.js +0 -2
- package/dist/-private/utils.js.map +1 -1
- package/dist/{applyDecoratedDescriptor-e0489e2f.js → applyDecoratedDescriptor-6b986a67.js} +1 -6
- package/dist/applyDecoratedDescriptor-6b986a67.js.map +1 -0
- package/dist/{classPrivateFieldGet-af59a8ea.js → classPrivateFieldGet-b4d7d334.js} +1 -3
- package/dist/{classPrivateFieldGet-af59a8ea.js.map → classPrivateFieldGet-b4d7d334.js.map} +1 -1
- package/dist/{defineProperty-a0196711.js → defineProperty-35ce617b.js} +1 -2
- package/dist/defineProperty-35ce617b.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/plugins/-private/base.d.ts +1 -1
- package/dist/plugins/-private/base.js +18 -59
- package/dist/plugins/-private/base.js.map +1 -1
- package/dist/plugins/-private/utils.js +5 -20
- package/dist/plugins/-private/utils.js.map +1 -1
- package/dist/plugins/column-reordering/helpers.d.ts +9 -4
- package/dist/plugins/column-reordering/helpers.js +13 -6
- package/dist/plugins/column-reordering/helpers.js.map +1 -1
- package/dist/plugins/column-reordering/index.js +1 -1
- package/dist/plugins/column-reordering/plugin.d.ts +57 -11
- package/dist/plugins/column-reordering/plugin.js +109 -130
- package/dist/plugins/column-reordering/plugin.js.map +1 -1
- package/dist/plugins/column-reordering/utils.js +0 -7
- package/dist/plugins/column-reordering/utils.js.map +1 -1
- package/dist/plugins/column-resizing/handle.js +4 -33
- package/dist/plugins/column-resizing/handle.js.map +1 -1
- package/dist/plugins/column-resizing/helpers.js +2 -2
- package/dist/plugins/column-resizing/helpers.js.map +1 -1
- package/dist/plugins/column-resizing/plugin.js +15 -64
- package/dist/plugins/column-resizing/plugin.js.map +1 -1
- package/dist/plugins/column-resizing/resize-observer.js +1 -3
- package/dist/plugins/column-resizing/resize-observer.js.map +1 -1
- package/dist/plugins/column-resizing/utils.js +0 -2
- package/dist/plugins/column-resizing/utils.js.map +1 -1
- package/dist/plugins/column-visibility/helpers.js +3 -3
- package/dist/plugins/column-visibility/helpers.js.map +1 -1
- package/dist/plugins/column-visibility/plugin.js +6 -26
- package/dist/plugins/column-visibility/plugin.js.map +1 -1
- package/dist/plugins/data-sorting/helpers.js +7 -7
- package/dist/plugins/data-sorting/helpers.js.map +1 -1
- package/dist/plugins/data-sorting/plugin.js +2 -32
- package/dist/plugins/data-sorting/plugin.js.map +1 -1
- package/dist/plugins/data-sorting/types.js +0 -3
- package/dist/plugins/data-sorting/types.js.map +1 -1
- package/dist/plugins/metadata/helpers.d.ts +4 -0
- package/dist/plugins/metadata/helpers.js +12 -0
- package/dist/plugins/metadata/helpers.js.map +1 -0
- package/dist/plugins/metadata/index.d.ts +3 -0
- package/dist/plugins/metadata/index.js +3 -0
- package/dist/plugins/metadata/index.js.map +1 -0
- package/dist/plugins/metadata/plugin.d.ts +24 -0
- package/dist/plugins/metadata/plugin.js +25 -0
- package/dist/plugins/metadata/plugin.js.map +1 -0
- package/dist/plugins/row-selection/helpers.js.map +1 -1
- package/dist/plugins/row-selection/plugin.js +5 -42
- package/dist/plugins/row-selection/plugin.js.map +1 -1
- package/dist/plugins/sticky-columns/helpers.js.map +1 -1
- package/dist/plugins/sticky-columns/plugin.js +4 -28
- package/dist/plugins/sticky-columns/plugin.js.map +1 -1
- package/dist/{table-8e46554b.d.ts → table-222f44e7.d.ts} +0 -0
- package/dist/{table-8e46554b.js → table-222f44e7.js} +17 -33
- package/dist/{table-8e46554b.js.map → table-222f44e7.js.map} +1 -1
- package/dist/test-support/index.js +2 -6
- package/dist/test-support/index.js.map +1 -1
- package/dist/utils.js +2 -5
- package/dist/utils.js.map +1 -1
- package/package.json +18 -32
- package/dist/applyDecoratedDescriptor-e0489e2f.js.map +0 -1
- package/dist/defineProperty-a0196711.js.map +0 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "ember-headless-table",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.2.0",
|
4
4
|
"description": "An implementation of table behaviors for driving any table or table-like UI -- all without a UI (headless)",
|
5
5
|
"keywords": [
|
6
6
|
"ember-addon",
|
@@ -24,6 +24,7 @@
|
|
24
24
|
"./plugins/column-visibility": "./dist/plugins/column-visibility/index.js",
|
25
25
|
"./plugins/sticky-columns": "./dist/plugins/sticky-columns/index.js",
|
26
26
|
"./plugins/row-selection": "./dist/plugins/row-selection/index.js",
|
27
|
+
"./plugins/metadata": "./dist/plugins/metadata/index.js",
|
27
28
|
"./test-support": "./dist/test-support/index.js",
|
28
29
|
"./addon-main.js": "./addon-main.js"
|
29
30
|
},
|
@@ -50,6 +51,9 @@
|
|
50
51
|
"plugins/row-selection": [
|
51
52
|
"./dist/plugins/row-selection/index.d.ts"
|
52
53
|
],
|
54
|
+
"plugins/metadata": [
|
55
|
+
"./dist/plugins/metadata/index.d.ts"
|
56
|
+
],
|
53
57
|
"test-support": [
|
54
58
|
"./dist/test-support/index.d.ts"
|
55
59
|
],
|
@@ -58,18 +62,6 @@
|
|
58
62
|
]
|
59
63
|
}
|
60
64
|
},
|
61
|
-
"scripts": {
|
62
|
-
"build": "rollup --config ./rollup.config.mjs",
|
63
|
-
"lint": "concurrently 'npm:lint:*(!fix)' --names 'lint:'",
|
64
|
-
"lint:fix": "concurrently 'npm:lint:*:fix' --names 'fix:'",
|
65
|
-
"lint:hbs": "ember-template-lint . --no-error-on-unmatched-pattern",
|
66
|
-
"lint:js": "eslint . --cache",
|
67
|
-
"lint:hbs:fix": "ember-template-lint . --fix --no-error-on-unmatched-pattern",
|
68
|
-
"lint:js:fix": "eslint . --fix",
|
69
|
-
"start": "rollup --config --watch",
|
70
|
-
"test": "echo 'A v2 addon does not have tests, run tests in test-app'",
|
71
|
-
"prepack": "rollup --config"
|
72
|
-
},
|
73
65
|
"peerDependencies": {
|
74
66
|
"@ember/test-helpers": "^2.6.0",
|
75
67
|
"@ember/test-waiters": "^2.4.5 || ^3.0.0",
|
@@ -109,10 +101,8 @@
|
|
109
101
|
"@glimmer/component": "^1.1.2",
|
110
102
|
"@glimmer/tracking": "^1.1.2",
|
111
103
|
"@glint/template": "^0.9.4",
|
112
|
-
"@nullvoxpopuli/eslint-configs": "
|
104
|
+
"@nullvoxpopuli/eslint-configs": "~2.2.57",
|
113
105
|
"@rollup/plugin-babel": "^6.0.0",
|
114
|
-
"@semantic-release/changelog": "^6.0.1",
|
115
|
-
"@semantic-release/git": "^10.0.1",
|
116
106
|
"@tsconfig/ember": "^1.0.1",
|
117
107
|
"@types/ember__application": "^4.0.1",
|
118
108
|
"@types/ember__debug": "^4.0.1",
|
@@ -139,7 +129,6 @@
|
|
139
129
|
"rollup": "^3.2.2",
|
140
130
|
"rollup-plugin-copy": "^3.4.0",
|
141
131
|
"rollup-plugin-ts": "^3.0.2",
|
142
|
-
"semantic-release": "^19.0.2",
|
143
132
|
"typescript": "^4.8.3"
|
144
133
|
},
|
145
134
|
"publishConfig": {
|
@@ -154,21 +143,18 @@
|
|
154
143
|
"main": "addon-main.js",
|
155
144
|
"app-js": {}
|
156
145
|
},
|
157
|
-
"release": {
|
158
|
-
"branches": [
|
159
|
-
"main",
|
160
|
-
"master"
|
161
|
-
],
|
162
|
-
"plugins": [
|
163
|
-
"@semantic-release/commit-analyzer",
|
164
|
-
"@semantic-release/release-notes-generator",
|
165
|
-
"@semantic-release/changelog",
|
166
|
-
"@semantic-release/npm",
|
167
|
-
"@semantic-release/github",
|
168
|
-
"@semantic-release/git"
|
169
|
-
]
|
170
|
-
},
|
171
146
|
"volta": {
|
172
147
|
"extends": "../package.json"
|
148
|
+
},
|
149
|
+
"scripts": {
|
150
|
+
"build": "rollup --config ./rollup.config.mjs",
|
151
|
+
"lint": "concurrently 'npm:lint:*(!fix)' --names 'lint:'",
|
152
|
+
"lint:fix": "concurrently 'npm:lint:*:fix' --names 'fix:'",
|
153
|
+
"lint:hbs": "ember-template-lint . --no-error-on-unmatched-pattern",
|
154
|
+
"lint:js": "eslint . --cache",
|
155
|
+
"lint:hbs:fix": "ember-template-lint . --fix --no-error-on-unmatched-pattern",
|
156
|
+
"lint:js:fix": "eslint . --fix",
|
157
|
+
"start": "rollup --config --watch",
|
158
|
+
"test": "echo 'A v2 addon does not have tests, run tests in test-app'"
|
173
159
|
}
|
174
|
-
}
|
160
|
+
}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"applyDecoratedDescriptor-e0489e2f.js","sources":["../../node_modules/.pnpm/@babel+runtime@7.19.4/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js"],"sourcesContent":["export default function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) {\n var desc = {};\n Object.keys(descriptor).forEach(function (key) {\n desc[key] = descriptor[key];\n });\n desc.enumerable = !!desc.enumerable;\n desc.configurable = !!desc.configurable;\n if ('value' in desc || desc.initializer) {\n desc.writable = true;\n }\n desc = decorators.slice().reverse().reduce(function (desc, decorator) {\n return decorator(target, property, desc) || desc;\n }, desc);\n if (context && desc.initializer !== void 0) {\n desc.value = desc.initializer ? desc.initializer.call(context) : void 0;\n desc.initializer = undefined;\n }\n if (desc.initializer === void 0) {\n Object.defineProperty(target, property, desc);\n desc = null;\n }\n return desc;\n}"],"names":["_applyDecoratedDescriptor","target","property","decorators","descriptor","context","desc","Object","keys","forEach","key","enumerable","configurable","initializer","writable","slice","reverse","reduce","decorator","value","call","undefined","defineProperty"],"mappings":"AAAe,SAASA,yBAAT,CAAmCC,MAAnC,EAA2CC,QAA3C,EAAqDC,UAArD,EAAiEC,UAAjE,EAA6EC,OAA7E,EAAsF;EACnG,IAAIC,IAAI,GAAG,EAAX,CAAA;EACAC,MAAM,CAACC,IAAP,CAAYJ,UAAZ,EAAwBK,OAAxB,CAAgC,UAAUC,GAAV,EAAe;AAC7CJ,IAAAA,IAAI,CAACI,GAAD,CAAJ,GAAYN,UAAU,CAACM,GAAD,CAAtB,CAAA;GADF,CAAA,CAAA;AAGAJ,EAAAA,IAAI,CAACK,UAAL,GAAkB,CAAC,CAACL,IAAI,CAACK,UAAzB,CAAA;AACAL,EAAAA,IAAI,CAACM,YAAL,GAAoB,CAAC,CAACN,IAAI,CAACM,YAA3B,CAAA;;AACA,EAAA,IAAI,WAAWN,IAAX,IAAmBA,IAAI,CAACO,WAA5B,EAAyC;IACvCP,IAAI,CAACQ,QAAL,GAAgB,IAAhB,CAAA;AACD,GAAA;;AACDR,EAAAA,IAAI,GAAGH,UAAU,CAACY,KAAX,EAAmBC,CAAAA,OAAnB,EAA6BC,CAAAA,MAA7B,CAAoC,UAAUX,IAAV,EAAgBY,SAAhB,EAA2B;IACpE,OAAOA,SAAS,CAACjB,MAAD,EAASC,QAAT,EAAmBI,IAAnB,CAAT,IAAqCA,IAA5C,CAAA;GADK,EAEJA,IAFI,CAAP,CAAA;;EAGA,IAAID,OAAO,IAAIC,IAAI,CAACO,WAAL,KAAqB,KAAK,CAAzC,EAA4C;AAC1CP,IAAAA,IAAI,CAACa,KAAL,GAAab,IAAI,CAACO,WAAL,GAAmBP,IAAI,CAACO,WAAL,CAAiBO,IAAjB,CAAsBf,OAAtB,CAAnB,GAAoD,KAAK,CAAtE,CAAA;IACAC,IAAI,CAACO,WAAL,GAAmBQ,SAAnB,CAAA;AACD,GAAA;;AACD,EAAA,IAAIf,IAAI,CAACO,WAAL,KAAqB,KAAK,CAA9B,EAAiC;AAC/BN,IAAAA,MAAM,CAACe,cAAP,CAAsBrB,MAAtB,EAA8BC,QAA9B,EAAwCI,IAAxC,CAAA,CAAA;AACAA,IAAAA,IAAI,GAAG,IAAP,CAAA;AACD,GAAA;;AACD,EAAA,OAAOA,IAAP,CAAA;AACD;;;;"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"defineProperty-a0196711.js","sources":["../../node_modules/.pnpm/@babel+runtime@7.19.4/node_modules/@babel/runtime/helpers/esm/defineProperty.js"],"sourcesContent":["export default function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}"],"names":["_defineProperty","obj","key","value","Object","defineProperty","enumerable","configurable","writable"],"mappings":"AAAe,SAASA,eAAT,CAAyBC,GAAzB,EAA8BC,GAA9B,EAAmCC,KAAnC,EAA0C;EACvD,IAAID,GAAG,IAAID,GAAX,EAAgB;AACdG,IAAAA,MAAM,CAACC,cAAP,CAAsBJ,GAAtB,EAA2BC,GAA3B,EAAgC;AAC9BC,MAAAA,KAAK,EAAEA,KADuB;AAE9BG,MAAAA,UAAU,EAAE,IAFkB;AAG9BC,MAAAA,YAAY,EAAE,IAHgB;AAI9BC,MAAAA,QAAQ,EAAE,IAAA;KAJZ,CAAA,CAAA;AAMD,GAPD,MAOO;AACLP,IAAAA,GAAG,CAACC,GAAD,CAAH,GAAWC,KAAX,CAAA;AACD,GAAA;;AACD,EAAA,OAAOF,GAAP,CAAA;AACD;;;;"}
|