@things-factory/shell 10.1.178 → 10.1.179
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/shell",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.179",
|
|
4
4
|
"description": "Core module for framework",
|
|
5
5
|
"bin": {
|
|
6
6
|
"things-factory": "bin/things-factory",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"@things-factory/env": "^10.1.149",
|
|
74
74
|
"@things-factory/operato-license-checker": "^4.0.4",
|
|
75
75
|
"@things-factory/styles": "^10.1.123",
|
|
76
|
-
"@things-factory/utils": "^10.1.
|
|
76
|
+
"@things-factory/utils": "^10.1.179",
|
|
77
77
|
"@types/koa": "^3.0.1",
|
|
78
78
|
"@types/koa-bodyparser": "^4.3.13",
|
|
79
79
|
"@webcomponents/scoped-custom-element-registry": "^0.0.9",
|
|
@@ -142,5 +142,5 @@
|
|
|
142
142
|
"pg": "^8.7.3",
|
|
143
143
|
"sqlite3": "^5.0.8"
|
|
144
144
|
},
|
|
145
|
-
"gitHead": "
|
|
145
|
+
"gitHead": "4c8263b08e06b2b15f11dc0575c61a280a0d9e27"
|
|
146
146
|
}
|
|
@@ -45,6 +45,19 @@ describe('one file picker', () => {
|
|
|
45
45
|
expect(files.length).toBeGreaterThan(1000)
|
|
46
46
|
})
|
|
47
47
|
|
|
48
|
+
/* Screens moved onto ox-input-file (page-standard §7-1); a native file input coming back here is a second picker. */
|
|
49
|
+
it.each([
|
|
50
|
+
'board-ui/client/pages/board-create-wizard-page.ts',
|
|
51
|
+
'meta-ui/client/component/popup/file-upload-popup.ts',
|
|
52
|
+
'document-template-ui/client/pages/document-upload-template.ts',
|
|
53
|
+
'pdf/client/pages/pdf-template/pdf-template-editor.ts',
|
|
54
|
+
'api/client/components/api-tester.ts'
|
|
55
|
+
])('%s picks with ox-input-file', file => {
|
|
56
|
+
const source = readFileSync(path.join(PACKAGES, file), 'utf8')
|
|
57
|
+
expect(source).not.toMatch(/type="file"|type='file'/)
|
|
58
|
+
expect(source).toMatch(/<ox-input-file\b/)
|
|
59
|
+
})
|
|
60
|
+
|
|
48
61
|
it.each(RETIRED)('%s is gone', (_, pattern) => {
|
|
49
62
|
const found = files.filter(file => pattern.test(readFileSync(file, 'utf8'))).map(file => path.relative(PACKAGES, file))
|
|
50
63
|
expect(found).toEqual([])
|