@things-factory/board-ui 4.0.4 → 4.0.5
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.
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @license Copyright © HatioLab Inc. All rights reserved.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import { html, LitElement } from 'lit-element'
|
|
6
6
|
|
|
7
7
|
import { style } from './edit-toolbar-style'
|
|
8
8
|
|
|
@@ -446,19 +446,7 @@ class EditToolbar extends LitElement {
|
|
|
446
446
|
|
|
447
447
|
if (!copied) return
|
|
448
448
|
|
|
449
|
-
|
|
450
|
-
textArea.style.position = 'absolute'
|
|
451
|
-
textArea.style.opacity = '0'
|
|
452
|
-
textArea.value = copied
|
|
453
|
-
document.body.appendChild(textArea)
|
|
454
|
-
|
|
455
|
-
setTimeout(() => {
|
|
456
|
-
textArea.select()
|
|
457
|
-
|
|
458
|
-
let succeess = document.execCommand('copy')
|
|
459
|
-
document.body.removeChild(textArea)
|
|
460
|
-
}, 100)
|
|
461
|
-
|
|
449
|
+
navigator.clipboard.writeText(copied)
|
|
462
450
|
this.cliped = copied
|
|
463
451
|
}
|
|
464
452
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/board-ui",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.5",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
"@polymer/paper-listbox": "^3.0.1",
|
|
39
39
|
"@polymer/paper-menu-button": "^3.0.1",
|
|
40
40
|
"@polymer/paper-slider": "^3.0.1",
|
|
41
|
-
"@things-factory/barcode-base": "^4.0.
|
|
42
|
-
"@things-factory/grist-ui": "^4.0.
|
|
43
|
-
"@things-factory/help": "^4.0.
|
|
44
|
-
"@things-factory/i18n-base": "^4.0.
|
|
45
|
-
"@things-factory/modeller-ui": "^4.0.
|
|
41
|
+
"@things-factory/barcode-base": "^4.0.5",
|
|
42
|
+
"@things-factory/grist-ui": "^4.0.5",
|
|
43
|
+
"@things-factory/help": "^4.0.5",
|
|
44
|
+
"@things-factory/i18n-base": "^4.0.5",
|
|
45
|
+
"@things-factory/modeller-ui": "^4.0.5",
|
|
46
46
|
"file-saver": "^2.0.2",
|
|
47
47
|
"sortablejs": "^1.10.2"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "b7b2976818dceab74a34903499d408eed5d45b04"
|
|
50
50
|
}
|