@copio/sdk 0.1.2 → 0.1.4
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 +661 -0
- package/LICENSE-COMMERCIAL.md +43 -0
- package/README.md +155 -147
- package/THIRD_PARTY_NOTICES.md +416 -0
- package/dist/adapters/image/canvas2d-adapter.js +1 -1
- package/dist/adapters/image/index.js +1 -1
- package/dist/adapters/image/null-image-processor-adapter.js +1 -1
- package/dist/adapters/index.js +1 -1
- package/dist/adapters/indexeddb-adapter.js +1 -1
- package/dist/adapters/memory-adapter.js +1 -1
- package/dist/adapters/ocr/index.js +1 -1
- package/dist/adapters/ocr/null-ocr-adapter.js +1 -1
- package/dist/adapters/ocr/tesseract-wasm-adapter.js +1 -1
- package/dist/adapters/pdf/index.js +1 -1
- package/dist/adapters/pdf/null-pdf-adapter.js +1 -1
- package/dist/adapters/pdf/pdfkit-adapter.js +1 -1
- package/dist/adapters/storage/index.js +1 -1
- package/dist/adapters/storage/indexeddb-adapter.js +1 -1
- package/dist/adapters/storage/memory-adapter.js +1 -1
- package/dist/adapters/sync/index.js +1 -1
- package/dist/adapters/sync/null-sync-adapter.js +1 -1
- package/dist/adapters/sync/peerjs-adapter.js +1 -1
- package/dist/cdn.js +56 -1276
- package/dist/{chunk-A5G52Q2W.js → chunk-2AB5L3Y2.js} +2 -2
- package/dist/{chunk-DGGK5KEX.js → chunk-4ICUYKSR.js} +2 -2
- package/dist/{chunk-E7JYVRJA.js → chunk-5OTO5WFV.js} +2 -2
- package/dist/{chunk-N4R55VRR.js → chunk-6DSLE3AY.js} +1 -1
- package/dist/chunk-DIU5BGU5.js +2 -0
- package/dist/chunk-FAVTIE3M.js +8 -0
- package/dist/chunk-FFRDPFTS.js +1395 -0
- package/dist/chunk-FQRADJY6.js +2 -0
- package/dist/{chunk-N7Q34F2P.js → chunk-G5EUMLYT.js} +4 -4
- package/dist/{chunk-IUBYFIV6.js → chunk-GGERQ3CJ.js} +11 -11
- package/dist/chunk-IBF5HCYT.js +2 -0
- package/dist/{chunk-PVNRK4OH.js → chunk-J7HWZNIP.js} +2 -2
- package/dist/chunk-K4NR6OAC.js +2 -0
- package/dist/{chunk-SH4P4XSZ.js → chunk-KH5JE65X.js} +2 -2
- package/dist/chunk-L4OVZN23.js +2 -0
- package/dist/chunk-MEE2NNYB.js +2 -0
- package/dist/{chunk-KIMVF5UG.js → chunk-NEEWG3OP.js} +1 -1
- package/dist/chunk-NQW6FFN7.js +50 -0
- package/dist/{chunk-YHLOPPXM.js → chunk-O6FQFVKY.js} +1 -1
- package/dist/{chunk-B7HT2X67.js → chunk-U3V3VZGO.js} +2 -2
- package/dist/{chunk-HN3336JN.js → chunk-ULTSZWZO.js} +1 -1
- package/dist/{chunk-BKZEOOH4.js → chunk-WETG2JD7.js} +2 -2
- package/dist/{chunk-V2FP4EEH.js → chunk-YNY65JUJ.js} +1 -1
- package/dist/chunk-ZT72PD2C.js +2 -0
- package/dist/core.js +1 -1
- package/dist/custom-elements.json +464 -1812
- package/dist/export.js +1 -1
- package/dist/index.js +11 -19
- package/dist/ocr.js +1 -1
- package/dist/scanner.js +24 -1257
- package/dist/sync.js +1 -1
- package/dist/types/js/adapters/storage/blob-store.d.ts +48 -0
- package/dist/types/js/adapters/storage/index.d.ts +11 -4
- package/dist/types/js/adapters/storage/indexeddb-adapter.d.ts +46 -9
- package/dist/types/js/adapters/storage/memory-adapter.d.ts +7 -0
- package/dist/types/js/adapters/storage/opfs-adapter.d.ts +160 -0
- package/dist/types/js/adapters/storage/storage-port.d.ts +7 -0
- package/dist/types/js/routes/ocr/copio-doc-ocr-dialog.d.ts +0 -2
- package/dist/types/js/services/doc-repository.d.ts +1 -0
- package/dist/types/js/services/export-utils.d.ts +8 -12
- package/dist/types/js/services/ocr-service.d.ts +2 -1
- package/dist/types/js/utils/module-loader.d.ts +0 -6
- package/dist/types/js/utils/utils.d.ts +5 -3
- package/dist/types/sdk/core.d.ts +13 -2
- package/dist/types/sdk/elements.d.ts +0 -12
- package/dist/types/sdk/events.d.ts +4 -4
- package/dist/types/sdk/index.d.ts +3 -9
- package/dist/types/sdk/models.d.ts +66 -0
- package/dist/types/sdk/scanner.d.ts +2 -7
- package/dist/types/sdk/styles.d.ts +1 -1
- package/dist/types/sdk/version.d.ts +1 -1
- package/package.json +4 -3
- package/sdk/cdn.js +1 -0
- package/sdk/core.js +60 -0
- package/sdk/events.js +3 -2
- package/sdk/index.js +4 -9
- package/sdk/license.js +1 -0
- package/sdk/models.js +79 -3
- package/sdk/scanner.js +50 -19
- package/sdk/styles.js +12 -5
- package/sdk/sync.js +1 -0
- package/sdk/version.js +2 -1
- package/dist/chunk-36F637QU.js +0 -2
- package/dist/chunk-4JPEWIT4.js +0 -2
- package/dist/chunk-B2EK6INF.js +0 -2
- package/dist/chunk-B5BEYYR2.js +0 -8
- package/dist/chunk-G65H4ZTJ.js +0 -2
- package/dist/chunk-HS6GDZIS.js +0 -2
- package/dist/chunk-IZOWC74B.js +0 -2601
- package/dist/chunk-K6YP7EET.js +0 -8
- package/dist/chunk-LI54F6PA.js +0 -2
- package/dist/chunk-OI4WCW7E.js +0 -2
- package/dist/chunk-UCV3MQ6I.js +0 -33
- package/dist/chunk-XEN5VKAV.js +0 -19
- package/dist/types/js/components/copio-header.d.ts +0 -19
- package/dist/types/js/components/copio-loader.d.ts +0 -6
- package/dist/types/js/core/store.d.ts +0 -2
- package/dist/types/js/routes/add-edit/copio-add-edit-dialog.d.ts +0 -9
- package/dist/types/js/routes/doc/copio-carousel.d.ts +0 -43
- package/dist/types/js/routes/doc/copio-images.d.ts +0 -37
- package/dist/types/js/routes/home/copio-row.d.ts +0 -49
- package/dist/types/js/styles/cropper-styles.d.ts +0 -5
|
@@ -479,6 +479,30 @@
|
|
|
479
479
|
}
|
|
480
480
|
]
|
|
481
481
|
},
|
|
482
|
+
{
|
|
483
|
+
"kind": "method",
|
|
484
|
+
"name": "renderEdits",
|
|
485
|
+
"parameters": [
|
|
486
|
+
{
|
|
487
|
+
"name": "src",
|
|
488
|
+
"type": {
|
|
489
|
+
"text": "string"
|
|
490
|
+
}
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"name": "edits",
|
|
494
|
+
"type": {
|
|
495
|
+
"text": "Object"
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
],
|
|
499
|
+
"description": "Renders edits against an image source using the configured ImageProcessorPort.",
|
|
500
|
+
"return": {
|
|
501
|
+
"type": {
|
|
502
|
+
"text": "Promise<string>"
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
},
|
|
482
506
|
{
|
|
483
507
|
"kind": "field",
|
|
484
508
|
"name": "docs",
|
|
@@ -795,7 +819,7 @@
|
|
|
795
819
|
"default": "{}",
|
|
796
820
|
"optional": true,
|
|
797
821
|
"type": {
|
|
798
|
-
"text": "@param {boolean} [options.download=false] - Whether to trigger browser download\n * @param {Function} [options.onProgress] - Progress callback (done, total)\n * "
|
|
822
|
+
"text": "@param {boolean} [options.download=false] - Whether to trigger browser download\n * @param {boolean} [options.searchable=false] - Whether to generate searchable PDF with invisible OCR text layer\n * @param {Function} [options.onProgress] - Progress callback (done, total)\n * "
|
|
799
823
|
}
|
|
800
824
|
}
|
|
801
825
|
],
|
|
@@ -822,7 +846,7 @@
|
|
|
822
846
|
"default": "{}",
|
|
823
847
|
"optional": true,
|
|
824
848
|
"type": {
|
|
825
|
-
"text": "@param {boolean} [options.download=false] - Whether to trigger browser download\n * @param {Function} [options.onProgress] - Progress callback (done, total)\n * "
|
|
849
|
+
"text": "@param {boolean} [options.download=false] - Whether to trigger browser download\n * @param {boolean} [options.searchable=false] - Whether to generate searchable PDF with invisible OCR text layer\n * @param {Function} [options.onProgress] - Progress callback (done, total)\n * "
|
|
826
850
|
}
|
|
827
851
|
}
|
|
828
852
|
],
|
|
@@ -1069,6 +1093,30 @@
|
|
|
1069
1093
|
"module": "sdk/core.js"
|
|
1070
1094
|
}
|
|
1071
1095
|
},
|
|
1096
|
+
{
|
|
1097
|
+
"kind": "js",
|
|
1098
|
+
"name": "rotateCrop",
|
|
1099
|
+
"declaration": {
|
|
1100
|
+
"name": "rotateCrop",
|
|
1101
|
+
"module": "sdk/core.js"
|
|
1102
|
+
}
|
|
1103
|
+
},
|
|
1104
|
+
{
|
|
1105
|
+
"kind": "js",
|
|
1106
|
+
"name": "cropRotatedToOriginal",
|
|
1107
|
+
"declaration": {
|
|
1108
|
+
"name": "cropRotatedToOriginal",
|
|
1109
|
+
"module": "sdk/core.js"
|
|
1110
|
+
}
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
"kind": "js",
|
|
1114
|
+
"name": "cropOriginalToRotated",
|
|
1115
|
+
"declaration": {
|
|
1116
|
+
"name": "cropOriginalToRotated",
|
|
1117
|
+
"module": "sdk/core.js"
|
|
1118
|
+
}
|
|
1119
|
+
},
|
|
1072
1120
|
{
|
|
1073
1121
|
"kind": "js",
|
|
1074
1122
|
"name": "randomId",
|
|
@@ -1289,22 +1337,6 @@
|
|
|
1289
1337
|
"module": "./scanner.js"
|
|
1290
1338
|
}
|
|
1291
1339
|
},
|
|
1292
|
-
{
|
|
1293
|
-
"kind": "js",
|
|
1294
|
-
"name": "CopioImages",
|
|
1295
|
-
"declaration": {
|
|
1296
|
-
"name": "CopioImages",
|
|
1297
|
-
"module": "../js/routes/doc/copio-images.js"
|
|
1298
|
-
}
|
|
1299
|
-
},
|
|
1300
|
-
{
|
|
1301
|
-
"kind": "js",
|
|
1302
|
-
"name": "CopioCarousel",
|
|
1303
|
-
"declaration": {
|
|
1304
|
-
"name": "CopioCarousel",
|
|
1305
|
-
"module": "../js/routes/doc/copio-carousel.js"
|
|
1306
|
-
}
|
|
1307
|
-
},
|
|
1308
1340
|
{
|
|
1309
1341
|
"kind": "js",
|
|
1310
1342
|
"name": "CopioDocOcrDialog",
|
|
@@ -1321,38 +1353,6 @@
|
|
|
1321
1353
|
"module": "../js/routes/sync/copio-sync-dialog.js"
|
|
1322
1354
|
}
|
|
1323
1355
|
},
|
|
1324
|
-
{
|
|
1325
|
-
"kind": "js",
|
|
1326
|
-
"name": "CopioAddEditDialog",
|
|
1327
|
-
"declaration": {
|
|
1328
|
-
"name": "CopioAddEditDialog",
|
|
1329
|
-
"module": "../js/routes/add-edit/copio-add-edit-dialog.js"
|
|
1330
|
-
}
|
|
1331
|
-
},
|
|
1332
|
-
{
|
|
1333
|
-
"kind": "js",
|
|
1334
|
-
"name": "CopioRow",
|
|
1335
|
-
"declaration": {
|
|
1336
|
-
"name": "CopioRow",
|
|
1337
|
-
"module": "../js/routes/home/copio-row.js"
|
|
1338
|
-
}
|
|
1339
|
-
},
|
|
1340
|
-
{
|
|
1341
|
-
"kind": "js",
|
|
1342
|
-
"name": "CopioHeader",
|
|
1343
|
-
"declaration": {
|
|
1344
|
-
"name": "CopioHeader",
|
|
1345
|
-
"module": "../js/components/copio-header.js"
|
|
1346
|
-
}
|
|
1347
|
-
},
|
|
1348
|
-
{
|
|
1349
|
-
"kind": "js",
|
|
1350
|
-
"name": "CopioLoader",
|
|
1351
|
-
"declaration": {
|
|
1352
|
-
"name": "CopioLoader",
|
|
1353
|
-
"module": "../js/components/copio-loader.js"
|
|
1354
|
-
}
|
|
1355
|
-
},
|
|
1356
1356
|
{
|
|
1357
1357
|
"kind": "js",
|
|
1358
1358
|
"name": "CopioEngine",
|
|
@@ -1465,14 +1465,6 @@
|
|
|
1465
1465
|
"module": "../js/services/export-utils.js"
|
|
1466
1466
|
}
|
|
1467
1467
|
},
|
|
1468
|
-
{
|
|
1469
|
-
"kind": "js",
|
|
1470
|
-
"name": "exportDocumentAsMarkdown",
|
|
1471
|
-
"declaration": {
|
|
1472
|
-
"name": "exportDocumentAsMarkdown",
|
|
1473
|
-
"module": "../js/services/export-utils.js"
|
|
1474
|
-
}
|
|
1475
|
-
},
|
|
1476
1468
|
{
|
|
1477
1469
|
"kind": "js",
|
|
1478
1470
|
"name": "notify",
|
|
@@ -1617,14 +1609,6 @@
|
|
|
1617
1609
|
"module": "../js/utils/module-loader.js"
|
|
1618
1610
|
}
|
|
1619
1611
|
},
|
|
1620
|
-
{
|
|
1621
|
-
"kind": "js",
|
|
1622
|
-
"name": "loadMarked",
|
|
1623
|
-
"declaration": {
|
|
1624
|
-
"name": "loadMarked",
|
|
1625
|
-
"module": "../js/utils/module-loader.js"
|
|
1626
|
-
}
|
|
1627
|
-
},
|
|
1628
1612
|
{
|
|
1629
1613
|
"kind": "js",
|
|
1630
1614
|
"name": "loadPeerJs",
|
|
@@ -1689,6 +1673,22 @@
|
|
|
1689
1673
|
"module": "../js/adapters/storage/index.js"
|
|
1690
1674
|
}
|
|
1691
1675
|
},
|
|
1676
|
+
{
|
|
1677
|
+
"kind": "js",
|
|
1678
|
+
"name": "OpfsStorageAdapter",
|
|
1679
|
+
"declaration": {
|
|
1680
|
+
"name": "OpfsStorageAdapter",
|
|
1681
|
+
"module": "../js/adapters/storage/index.js"
|
|
1682
|
+
}
|
|
1683
|
+
},
|
|
1684
|
+
{
|
|
1685
|
+
"kind": "js",
|
|
1686
|
+
"name": "probeOpfs",
|
|
1687
|
+
"declaration": {
|
|
1688
|
+
"name": "probeOpfs",
|
|
1689
|
+
"module": "../js/adapters/storage/index.js"
|
|
1690
|
+
}
|
|
1691
|
+
},
|
|
1692
1692
|
{
|
|
1693
1693
|
"kind": "js",
|
|
1694
1694
|
"name": "createDefaultAdapter",
|
|
@@ -1943,6 +1943,85 @@
|
|
|
1943
1943
|
}
|
|
1944
1944
|
}
|
|
1945
1945
|
},
|
|
1946
|
+
{
|
|
1947
|
+
"kind": "function",
|
|
1948
|
+
"name": "rotateCrop",
|
|
1949
|
+
"parameters": [
|
|
1950
|
+
{
|
|
1951
|
+
"name": "crop",
|
|
1952
|
+
"type": {
|
|
1953
|
+
"text": "{ x: number, y: number, w: number, h: number } | null"
|
|
1954
|
+
}
|
|
1955
|
+
},
|
|
1956
|
+
{
|
|
1957
|
+
"name": "rotation",
|
|
1958
|
+
"default": "0",
|
|
1959
|
+
"description": "Clockwise rotation angle in degrees",
|
|
1960
|
+
"optional": true,
|
|
1961
|
+
"type": {
|
|
1962
|
+
"text": "number"
|
|
1963
|
+
}
|
|
1964
|
+
}
|
|
1965
|
+
],
|
|
1966
|
+
"description": "Transforms normalized crop coordinates through a clockwise rotation angle (0, 90, 180, 270).",
|
|
1967
|
+
"return": {
|
|
1968
|
+
"type": {
|
|
1969
|
+
"text": "{ x: number, y: number, w: number, h: number } | null"
|
|
1970
|
+
}
|
|
1971
|
+
}
|
|
1972
|
+
},
|
|
1973
|
+
{
|
|
1974
|
+
"kind": "function",
|
|
1975
|
+
"name": "cropOriginalToRotated",
|
|
1976
|
+
"parameters": [
|
|
1977
|
+
{
|
|
1978
|
+
"name": "crop",
|
|
1979
|
+
"type": {
|
|
1980
|
+
"text": "{ x: number, y: number, w: number, h: number } | null"
|
|
1981
|
+
}
|
|
1982
|
+
},
|
|
1983
|
+
{
|
|
1984
|
+
"name": "rotation",
|
|
1985
|
+
"default": "0",
|
|
1986
|
+
"optional": true,
|
|
1987
|
+
"type": {
|
|
1988
|
+
"text": "number"
|
|
1989
|
+
}
|
|
1990
|
+
}
|
|
1991
|
+
],
|
|
1992
|
+
"description": "Maps normalized crop coordinates on an original unrotated image to a rotated canvas coordinate frame.",
|
|
1993
|
+
"return": {
|
|
1994
|
+
"type": {
|
|
1995
|
+
"text": "{ x: number, y: number, w: number, h: number } | null"
|
|
1996
|
+
}
|
|
1997
|
+
}
|
|
1998
|
+
},
|
|
1999
|
+
{
|
|
2000
|
+
"kind": "function",
|
|
2001
|
+
"name": "cropRotatedToOriginal",
|
|
2002
|
+
"parameters": [
|
|
2003
|
+
{
|
|
2004
|
+
"name": "crop",
|
|
2005
|
+
"type": {
|
|
2006
|
+
"text": "{ x: number, y: number, w: number, h: number } | null"
|
|
2007
|
+
}
|
|
2008
|
+
},
|
|
2009
|
+
{
|
|
2010
|
+
"name": "rotation",
|
|
2011
|
+
"default": "0",
|
|
2012
|
+
"optional": true,
|
|
2013
|
+
"type": {
|
|
2014
|
+
"text": "number"
|
|
2015
|
+
}
|
|
2016
|
+
}
|
|
2017
|
+
],
|
|
2018
|
+
"description": "Maps normalized crop coordinates on a rotated canvas back to original unrotated image coordinates.",
|
|
2019
|
+
"return": {
|
|
2020
|
+
"type": {
|
|
2021
|
+
"text": "{ x: number, y: number, w: number, h: number } | null"
|
|
2022
|
+
}
|
|
2023
|
+
}
|
|
2024
|
+
},
|
|
1946
2025
|
{
|
|
1947
2026
|
"kind": "class",
|
|
1948
2027
|
"description": "Page domain entity.",
|
|
@@ -1992,6 +2071,18 @@
|
|
|
1992
2071
|
{
|
|
1993
2072
|
"kind": "field",
|
|
1994
2073
|
"name": "ocrConfidence"
|
|
2074
|
+
},
|
|
2075
|
+
{
|
|
2076
|
+
"kind": "field",
|
|
2077
|
+
"name": "ocrWords"
|
|
2078
|
+
},
|
|
2079
|
+
{
|
|
2080
|
+
"kind": "field",
|
|
2081
|
+
"name": "ocrWidth"
|
|
2082
|
+
},
|
|
2083
|
+
{
|
|
2084
|
+
"kind": "field",
|
|
2085
|
+
"name": "ocrHeight"
|
|
1995
2086
|
}
|
|
1996
2087
|
]
|
|
1997
2088
|
},
|
|
@@ -2121,6 +2212,30 @@
|
|
|
2121
2212
|
"module": "sdk/models.js"
|
|
2122
2213
|
}
|
|
2123
2214
|
},
|
|
2215
|
+
{
|
|
2216
|
+
"kind": "js",
|
|
2217
|
+
"name": "rotateCrop",
|
|
2218
|
+
"declaration": {
|
|
2219
|
+
"name": "rotateCrop",
|
|
2220
|
+
"module": "sdk/models.js"
|
|
2221
|
+
}
|
|
2222
|
+
},
|
|
2223
|
+
{
|
|
2224
|
+
"kind": "js",
|
|
2225
|
+
"name": "cropOriginalToRotated",
|
|
2226
|
+
"declaration": {
|
|
2227
|
+
"name": "cropOriginalToRotated",
|
|
2228
|
+
"module": "sdk/models.js"
|
|
2229
|
+
}
|
|
2230
|
+
},
|
|
2231
|
+
{
|
|
2232
|
+
"kind": "js",
|
|
2233
|
+
"name": "cropRotatedToOriginal",
|
|
2234
|
+
"declaration": {
|
|
2235
|
+
"name": "cropRotatedToOriginal",
|
|
2236
|
+
"module": "sdk/models.js"
|
|
2237
|
+
}
|
|
2238
|
+
},
|
|
2124
2239
|
{
|
|
2125
2240
|
"kind": "js",
|
|
2126
2241
|
"name": "Page",
|
|
@@ -2454,6 +2569,15 @@
|
|
|
2454
2569
|
"kind": "method",
|
|
2455
2570
|
"name": "deleteActivePageWithUndo"
|
|
2456
2571
|
},
|
|
2572
|
+
{
|
|
2573
|
+
"kind": "method",
|
|
2574
|
+
"name": "setCameraStream",
|
|
2575
|
+
"parameters": [
|
|
2576
|
+
{
|
|
2577
|
+
"name": "stream"
|
|
2578
|
+
}
|
|
2579
|
+
]
|
|
2580
|
+
},
|
|
2457
2581
|
{
|
|
2458
2582
|
"kind": "field",
|
|
2459
2583
|
"name": "features"
|
|
@@ -2675,54 +2799,6 @@
|
|
|
2675
2799
|
"module": "sdk/scanner.js"
|
|
2676
2800
|
}
|
|
2677
2801
|
},
|
|
2678
|
-
{
|
|
2679
|
-
"kind": "js",
|
|
2680
|
-
"name": "CopioImages",
|
|
2681
|
-
"declaration": {
|
|
2682
|
-
"name": "CopioImages",
|
|
2683
|
-
"module": "sdk/scanner.js"
|
|
2684
|
-
}
|
|
2685
|
-
},
|
|
2686
|
-
{
|
|
2687
|
-
"kind": "js",
|
|
2688
|
-
"name": "CopioCarousel",
|
|
2689
|
-
"declaration": {
|
|
2690
|
-
"name": "CopioCarousel",
|
|
2691
|
-
"module": "sdk/scanner.js"
|
|
2692
|
-
}
|
|
2693
|
-
},
|
|
2694
|
-
{
|
|
2695
|
-
"kind": "js",
|
|
2696
|
-
"name": "CopioAddEditDialog",
|
|
2697
|
-
"declaration": {
|
|
2698
|
-
"name": "CopioAddEditDialog",
|
|
2699
|
-
"module": "sdk/scanner.js"
|
|
2700
|
-
}
|
|
2701
|
-
},
|
|
2702
|
-
{
|
|
2703
|
-
"kind": "js",
|
|
2704
|
-
"name": "CopioRow",
|
|
2705
|
-
"declaration": {
|
|
2706
|
-
"name": "CopioRow",
|
|
2707
|
-
"module": "sdk/scanner.js"
|
|
2708
|
-
}
|
|
2709
|
-
},
|
|
2710
|
-
{
|
|
2711
|
-
"kind": "js",
|
|
2712
|
-
"name": "CopioHeader",
|
|
2713
|
-
"declaration": {
|
|
2714
|
-
"name": "CopioHeader",
|
|
2715
|
-
"module": "sdk/scanner.js"
|
|
2716
|
-
}
|
|
2717
|
-
},
|
|
2718
|
-
{
|
|
2719
|
-
"kind": "js",
|
|
2720
|
-
"name": "CopioLoader",
|
|
2721
|
-
"declaration": {
|
|
2722
|
-
"name": "CopioLoader",
|
|
2723
|
-
"module": "sdk/scanner.js"
|
|
2724
|
-
}
|
|
2725
|
-
},
|
|
2726
2802
|
{
|
|
2727
2803
|
"kind": "js",
|
|
2728
2804
|
"name": "COPIO_EVENTS",
|
|
@@ -2772,7 +2848,7 @@
|
|
|
2772
2848
|
{
|
|
2773
2849
|
"kind": "variable",
|
|
2774
2850
|
"name": "scannerCss",
|
|
2775
|
-
"default": "` :host { all: initial; display: block; position: relative; width: 100%; height: 100%; min-height: 200px; container-type: size; container-name: copio-scanner; overflow: hidden; contain: layout; box-sizing: border-box; text-align: left; direction: ltr; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; --copio-font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; --copio-font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace; --copio-color-bg: #0b0f17; --copio-color-surface: #131b26; --copio-color-surface-elevated: #1c2736; --copio-color-surface-overlay: rgba(15, 22, 32, 0.88); --copio-color-stage-bg: #070a0f; --copio-color-text: #f1f5f9; --copio-color-text-muted: #94a3b8; --copio-color-text-inverse: #090d14; --copio-color-primary: #38bdf8; --copio-color-primary-hover: #7dd3fc; --copio-color-primary-contrast: #06131f; --copio-color-success: #22c55e; --copio-color-warning: #f59e0b; --copio-color-danger: #ef4444; --copio-color-border: rgba(148, 163, 184, 0.18); --copio-color-border-strong: rgba(148, 163, 184, 0.34); --copio-focus-ring: 0 0 0 2px #0b0f17, 0 0 0 4px #38bdf8; --copio-radius-sm: 6px; --copio-radius-md: 10px; --copio-radius-lg: 14px; --copio-radius-pill: 9999px; --copio-spacing-xs: 4px; --copio-spacing-sm: 8px; --copio-spacing-md: 12px; --copio-spacing-lg: 16px; --copio-spacing-xl: 24px; --copio-touch-target-min: 44px; --copio-crop-handle-hit: 48px; --copio-crop-handle-visual: 16px; --copio-shadow-elevated: 0 12px 32px -4px rgba(0, 0, 0, 0.55); --copio-transition-fast: 150ms cubic-bezier(0.22, 1, 0.36, 1); --copio-transition-normal: 240ms cubic-bezier(0.22, 1, 0.36, 1); --sl-font-sans: var(--copio-font-family); --sl-font-mono: var(--copio-font-mono); --sl-color-primary-50: #f0f9ff; --sl-color-primary-100: #e0f2fe; --sl-color-primary-200: #bae6fd; --sl-color-primary-300: #7dd3fc; --sl-color-primary-400: #38bdf8; --sl-color-primary-500: #0ea5e9; --sl-color-primary-600: var(--copio-color-primary); --sl-color-primary-700: #0369a1; --sl-color-primary-800: #075985; --sl-color-primary-900: #0c4a6e; --sl-color-primary-950: #082f49; font-family: var(--copio-font-family); font-size: 14px; line-height: 1.5; color: var(--copio-color-text); background-color: var(--copio-color-bg); color-scheme: dark; } :host([theme=\"dark\"]), :host(.copio-theme-dark), :host-context([data-theme=\"dark\"]), :host-context(.sl-theme-dark), :host-context(.theme-dark) { color-scheme: dark; } /* Light Theme Override */ :host([theme=\"light\"]), :host(.copio-theme-light), :host-context([data-theme=\"light\"]), :host-context(.sl-theme-light), :host-context(.theme-light) { --copio-color-bg: #f8fafc; --copio-color-surface: #ffffff; --copio-color-surface-elevated: #f1f5f9; --copio-color-surface-overlay: rgba(255, 255, 255, 0.92); --copio-color-stage-bg: #1e293b; --copio-color-text: #0f172a; --copio-color-text-muted: #475569; --copio-color-text-inverse: #ffffff; --copio-color-primary: #0284c7; --copio-color-primary-hover: #0369a1; --copio-color-primary-contrast: #ffffff; --copio-color-success: #16a34a; --copio-color-warning: #d97706; --copio-color-danger: #dc2626; --copio-color-border: rgba(15, 23, 42, 0.12); --copio-color-border-strong: rgba(15, 23, 42, 0.26); --copio-focus-ring: 0 0 0 2px #ffffff, 0 0 0 4px #0284c7; --copio-radius-sm: 6px; --copio-radius-md: 10px; --copio-radius-lg: 14px; --copio-shadow-elevated: 0 12px 28px -4px rgba(15, 23, 42, 0.18); color-scheme: light; } /* Brand Theme Override (Emerald) */ :host([theme=\"brand\"]), :host(.copio-theme-brand), :host-context([data-theme=\"brand\"]), :host-context(.theme-brand) { --copio-color-bg: #0f111a; --copio-color-surface: #181b28; --copio-color-surface-elevated: #23273a; --copio-color-surface-overlay: rgba(24, 27, 40, 0.90); --copio-color-stage-bg: #090a10; --copio-color-text: #f8fafc; --copio-color-text-muted: #9ca3af; --copio-color-text-inverse: #ffffff; --copio-color-primary: #10b981; --copio-color-primary-hover: #34d399; --copio-color-primary-contrast: #042f2e; --copio-color-success: #10b981; --copio-color-warning: #f59e0b; --copio-color-danger: #ef4444; --copio-color-border: rgba(16, 185, 129, 0.22); --copio-color-border-strong: rgba(16, 185, 129, 0.42); --copio-focus-ring: 0 0 0 2px #0f111a, 0 0 0 4px #10b981; --copio-radius-sm: 4px; --copio-radius-md: 8px; --copio-radius-lg: 12px; --copio-shadow-elevated: 0 12px 32px -4px rgba(0, 0, 0, 0.65); color-scheme: dark; } /* Auto Theme: follows prefers-color-scheme when theme is auto */ @media (prefers-color-scheme: light) { :host([theme=\"auto\"]), :host(.copio-theme-auto) { --copio-color-bg: #f8fafc; --copio-color-surface: #ffffff; --copio-color-surface-elevated: #f1f5f9; --copio-color-surface-overlay: rgba(255, 255, 255, 0.92); --copio-color-stage-bg: #1e293b; --copio-color-text: #0f172a; --copio-color-text-muted: #475569; --copio-color-text-inverse: #ffffff; --copio-color-primary: #0284c7; --copio-color-primary-hover: #0369a1; --copio-color-primary-contrast: #ffffff; --copio-color-success: #16a34a; --copio-color-warning: #d97706; --copio-color-danger: #dc2626; --copio-color-border: rgba(15, 23, 42, 0.12); --copio-color-border-strong: rgba(15, 23, 42, 0.26); --copio-focus-ring: 0 0 0 2px #ffffff, 0 0 0 4px #0284c7; --copio-radius-sm: 6px; --copio-radius-md: 10px; --copio-radius-lg: 14px; --copio-shadow-elevated: 0 12px 28px -4px rgba(15, 23, 42, 0.18); color-scheme: light; } } /* ========================================================================== 2. INTERNAL ELEMENT RESET (Scoped to Shadow DOM) ========================================================================== */ *, *::before, *::after { box-sizing: border-box; } ::slotted(*) { box-sizing: border-box; } /* ========================================================================== 3. ROOT CONTAINER & COMPONENT SHELL ========================================================================== */ .copio-scanner-container { width: 100%; height: 100%; position: relative; display: flex; flex-direction: column; overflow: hidden; box-sizing: border-box; container-type: size; container-name: copio-scanner; contain: layout; background: var(--copio-color-bg); color: var(--copio-color-text); font-family: var(--copio-font-family); font-size: 14px; line-height: 1.5; text-align: left; direction: ltr; user-select: none; } /* Header (Shadow Part: header) */ .copio-header { display: flex; align-items: center; justify-content: space-between; gap: var(--copio-spacing-sm); padding: var(--copio-spacing-sm) var(--copio-spacing-md); background: var(--copio-color-surface); border-bottom: 1px solid var(--copio-color-border); min-height: 52px; flex-shrink: 0; z-index: 5; box-sizing: border-box; } .copio-header-left { display: flex; align-items: center; gap: var(--copio-spacing-sm); min-width: 0; } .copio-mode-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: var(--copio-radius-pill); background: var(--copio-color-surface-elevated); color: var(--copio-color-primary); border: 1px solid var(--copio-color-border); white-space: nowrap; } .copio-title-group { display: flex; flex-direction: column; min-width: 0; } .copio-title { font-size: 13px; font-weight: 600; color: var(--copio-color-text); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .copio-subtitle { font-size: 11px; color: var(--copio-color-text-muted); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .copio-header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; } /* Interactive Stage Switcher Pill (Viewfinder vs Workbench) */ .copio-stage-tabs { display: inline-flex; background: var(--copio-color-bg); padding: 2px; border-radius: var(--copio-radius-md); border: 1px solid var(--copio-color-border); } .copio-stage-tab { appearance: none; border: none; background: transparent; color: var(--copio-color-text-muted); font-family: inherit; font-size: 11px; font-weight: 600; padding: 6px 10px; min-height: var(--copio-touch-target-min); min-width: var(--copio-touch-target-min); border-radius: var(--copio-radius-sm); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background var(--copio-transition-fast), color var(--copio-transition-fast); } .copio-stage-tab[aria-selected=\"true\"] { background: var(--copio-color-surface-elevated); color: var(--copio-color-text); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); } /* Touch-Safe Interactive Buttons (>=44px touch invariant) */ .copio-btn { appearance: none; border: 1px solid var(--copio-color-border); background: var(--copio-color-surface-elevated); color: var(--copio-color-text); font-family: inherit; font-size: 13px; font-weight: 600; min-height: var(--copio-touch-target-min); min-width: var(--copio-touch-target-min); padding: 0 12px; border-radius: var(--copio-radius-md); display: inline-flex; align-items: center; justify-content: center; gap: 7px; cursor: pointer; transition: all var(--copio-transition-fast); white-space: nowrap; text-decoration: none; box-sizing: border-box; } .copio-btn:hover { background: var(--copio-color-primary-hover); color: var(--copio-color-primary-contrast); border-color: var(--copio-color-primary); } .copio-btn-primary { background: var(--copio-color-primary); color: var(--copio-color-primary-contrast); border-color: var(--copio-color-primary); } .copio-btn-danger { background: rgba(239, 68, 68, 0.15); color: var(--copio-color-danger); border-color: rgba(239, 68, 68, 0.35); } .copio-btn-danger:hover { background: var(--copio-color-danger); color: #fff; } /* Viewfinder (Shadow Part: viewfinder) */ .copio-viewfinder, .copio-viewfinder-stage { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; justify-content: space-between; background: var(--copio-color-stage-bg); overflow: hidden; min-height: 0; width: 100%; } .copio-viewfinder-feed, .copio-camera-feed { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 56px 20px 104px 20px; background: radial-gradient(circle at 50% 45%, #1e293b 0%, #090d14 75%); } /* Framing Guide Overlay (receipt | card | a4 | auto) */ .copio-framing-guide { position: relative; display: flex; align-items: center; justify-content: center; max-width: 100%; max-height: 100%; border: 1.5px dashed rgba(56, 189, 248, 0.55); border-radius: 12px; box-shadow: 0 0 0 9999px rgba(4, 7, 12, 0.52); transition: all var(--copio-transition-normal); overflow: hidden; } .copio-framing-guide[data-aspect=\"receipt\"] { aspect-ratio: 1 / 2.1; height: 100%; } .copio-framing-guide[data-aspect=\"card\"] { aspect-ratio: 1.586 / 1; width: 92%; max-height: 82%; } .copio-framing-guide[data-aspect=\"a4\"] { aspect-ratio: 1 / 1.414; height: 96%; } .copio-framing-guide[data-aspect=\"auto\"] { width: 94%; height: 94%; } /* Corner Targeting Brackets */ .copio-corner { position: absolute; width: 22px; height: 22px; border-color: var(--copio-color-primary); border-style: solid; border-width: 0; pointer-events: none; z-index: 2; } .copio-corner.tl { top: 6px; left: 6px; border-top-width: 3px; border-left-width: 3px; border-top-left-radius: 6px; } .copio-corner.tr { top: 6px; right: 6px; border-top-width: 3px; border-right-width: 3px; border-top-right-radius: 6px; } .copio-corner.bl { bottom: 6px; left: 6px; border-bottom-width: 3px; border-left-width: 3px; border-bottom-left-radius: 6px; } .copio-corner.br { bottom: 6px; right: 6px; border-bottom-width: 3px; border-right-width: 3px; border-bottom-right-radius: 6px; } .copio-edge-quad { position: absolute; inset: 12px; border: 1px solid rgba(56, 189, 248, 0.28); border-radius: 8px; background: rgba(56, 189, 248, 0.04); pointer-events: none; z-index: 1; } .copio-camera-placeholder { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 16px; text-align: center; color: var(--copio-color-text-muted); font-size: 12px; font-weight: 500; } .copio-status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--copio-color-primary); box-shadow: 0 0 8px var(--copio-color-primary); flex-shrink: 0; } /* Top Viewfinder HUD Overlay (Step Pill + Privacy Assurance Badge) */ .copio-viewfinder-hud-top { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; background: linear-gradient(to bottom, rgba(7, 10, 15, 0.85), transparent); } .copio-step-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--copio-radius-pill); background: rgba(15, 23, 42, 0.88); border: 1px solid rgba(56, 189, 248, 0.45); color: #f8fafc; font-size: 12px; font-weight: 600; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35); } .copio-privacy-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: var(--copio-radius-pill); background: rgba(22, 101, 52, 0.35); border: 1px solid rgba(34, 197, 94, 0.4); color: #86efac; font-size: 11px; font-weight: 500; } /* Shutter Dock (Shadow Part: shutter-dock) */ .copio-shutter-dock { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--copio-color-surface); border-top: 1px solid var(--copio-color-border); min-height: 84px; flex-shrink: 0; } .copio-shutter-side { flex: 1; display: flex; align-items: center; } .copio-shutter-side.right { justify-content: flex-end; } .copio-shutter-btn { appearance: none; width: 64px; height: 64px; border-radius: var(--copio-radius-pill); border: 4px solid var(--copio-color-primary); background: transparent; padding: 4px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: transform var(--copio-transition-fast), border-color 150ms ease; flex-shrink: 0; } .copio-shutter-btn:hover { transform: scale(1.04); } .copio-shutter-btn:active { transform: scale(0.94); } .copio-shutter-btn-inner, .copio-shutter-inner { width: 100%; height: 100%; border-radius: var(--copio-radius-pill); background: var(--copio-color-primary); display: flex; align-items: center; justify-content: center; color: var(--copio-color-primary-contrast); transition: transform var(--copio-transition-fast); } .copio-shutter-btn:active .copio-shutter-btn-inner, .copio-shutter-btn:active .copio-shutter-inner { transform: scale(0.88); } /* Stacking Thumbnail Counter Pill in Viewfinder */ .copio-stack-pill { display: inline-flex; align-items: center; gap: 8px; min-height: var(--copio-touch-target-min); padding: 4px 12px 4px 6px; border-radius: var(--copio-radius-md); background: var(--copio-color-surface-elevated); border: 1px solid var(--copio-color-primary); color: var(--copio-color-text); font-size: 12px; font-weight: 600; cursor: pointer; } .copio-stack-thumb { width: 30px; height: 36px; border-radius: 4px; object-fit: cover; border: 1px solid rgba(255, 255, 255, 0.35); background: #000; } /* Workbench & Filmstrip (Shadow Part: workbench) */ .copio-workbench, .copio-workbench-stage { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; background: var(--copio-color-bg); overflow: hidden; min-height: 0; width: 100%; } .copio-workbench-main { flex: 1; display: flex; flex-direction: column; min-height: 0; width: 100%; overflow: hidden; } .copio-stage-canvas, .copio-canvas-viewport { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; padding: 16px 20px 44px 20px; background: var(--copio-color-stage-bg); min-height: 180px; } .copio-canvas-viewport.has-card-switcher { padding-top: 66px; } .copio-canvas-viewport.is-cropping { padding: 74px 26px 26px 26px; } /* Card Side Switcher */ .copio-card-side-switcher { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); z-index: 6; display: inline-flex; gap: 4px; padding: 3px; background: var(--copio-color-surface-overlay, rgba(15, 22, 32, 0.88)); border: 1px solid var(--copio-color-border-strong); border-radius: var(--copio-radius-pill); backdrop-filter: blur(8px); } .copio-side-pill { appearance: none; border: none; background: transparent; color: var(--copio-color-text-muted); font-family: inherit; font-size: 11px; font-weight: 600; padding: 6px 12px; min-height: var(--copio-touch-target-min); min-width: var(--copio-touch-target-min); border-radius: var(--copio-radius-pill); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; } .copio-side-pill[aria-selected=\"true\"] { background: var(--copio-color-primary); color: var(--copio-color-primary-contrast); } .copio-stage-figure, .copio-canvas-wrapper { position: relative; display: flex; align-items: center; justify-content: center; max-width: 100%; max-height: 100%; } .copio-stage-canvas img, .copio-stage-img, .copio-stage-image { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: var(--copio-shadow-elevated); border-radius: var(--copio-radius-sm); user-select: none; } .copio-crop-layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; z-index: 8; touch-action: none; } .copio-crop-box { position: absolute; border: 2px solid var(--copio-color-primary); box-shadow: 0 0 0 9999px rgba(5, 8, 14, 0.68); cursor: move; touch-action: none; box-sizing: border-box; } /* Rule-of-thirds crop grid */ .copio-crop-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(to right, rgba(56, 189, 248, 0.28) 1px, transparent 1px), linear-gradient(to bottom, rgba(56, 189, 248, 0.28) 1px, transparent 1px); background-size: 33.333% 33.333%; } /* 48px x 48px Touch Target Handles (exceeds 44px requirement) */ .copio-crop-handle { position: absolute; width: var(--copio-crop-handle-hit); height: var(--copio-crop-handle-hit); min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; z-index: 10; touch-action: none; box-sizing: border-box; } .copio-crop-handle::after { content: ''; width: var(--copio-crop-handle-visual); height: var(--copio-crop-handle-visual); border-radius: 50%; background: var(--copio-color-primary); border: 2.5px solid #ffffff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5); transition: transform 120ms ease; box-sizing: border-box; } .copio-crop-handle:hover::after, .copio-crop-handle:active::after { transform: scale(1.25); background: var(--copio-color-success, #22c55e); } .copio-crop-handle.nw { top: -24px; left: -24px; cursor: nwse-resize; } .copio-crop-handle.ne { top: -24px; right: -24px; cursor: nesw-resize; } .copio-crop-handle.sw { bottom: -24px; left: -24px; cursor: nesw-resize; } .copio-crop-handle.se { bottom: -24px; right: -24px; cursor: nwse-resize; } .copio-crop-handle.n, .copio-crop-handle.edge-n { top: -24px; left: calc(50% - 24px); cursor: ns-resize; } .copio-crop-handle.s, .copio-crop-handle.edge-s { bottom: -24px; left: calc(50% - 24px); cursor: ns-resize; } .copio-crop-handle.w, .copio-crop-handle.edge-w { left: -24px; top: calc(50% - 24px); cursor: ew-resize; } .copio-crop-handle.e, .copio-crop-handle.edge-e { right: -24px; top: calc(50% - 24px); cursor: ew-resize; } /* Filmstrip & Reorder Tray */ .copio-filmstrip, .copio-filmstrip-bar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--copio-color-surface); border-top: 1px solid var(--copio-color-border); overflow-x: auto; min-height: 80px; flex-shrink: 0; } .copio-filmstrip-scroll { display: flex; align-items: center; gap: 8px; } .copio-filmstrip-item { display: flex; flex-direction: column; align-items: center; gap: 4px; flex-shrink: 0; } .copio-thumb-container { position: relative; width: 56px; height: 70px; border-radius: var(--copio-radius-sm); overflow: hidden; background: #000; border: 2px solid var(--copio-color-border); cursor: pointer; transition: all var(--copio-transition-fast); } .copio-filmstrip-item.is-active .copio-thumb-container { border-color: var(--copio-color-primary); box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.25); } .copio-thumb-num { position: absolute; bottom: 3px; right: 3px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: rgba(15, 23, 42, 0.85); color: #f8fafc; font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; } .copio-thumb-reorder { display: flex; align-items: center; gap: 4px; } .copio-reorder-btn { appearance: none; border: 1px solid var(--copio-color-border); background: var(--copio-color-surface-elevated); color: var(--copio-color-text-muted); border-radius: 4px; font-size: 9px; padding: 2px 5px; cursor: pointer; } .copio-reorder-btn:disabled { opacity: 0.35; cursor: not-allowed; } .copio-thumb-img { width: 100%; height: 100%; object-fit: cover; } /* Edit Action Toolbar & Primary Completion Dock */ .copio-toolbar, .copio-controls-dock { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; background: var(--copio-color-surface); border-top: 1px solid var(--copio-color-border); min-height: 56px; flex-shrink: 0; z-index: 6; } .copio-edit-toolbar, .copio-toolbar-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; width: 100%; } .copio-toolbar-tools .copio-tool-btn { flex: 1 1 56px; } .copio-toolbar-actions { display: flex; align-items: center; gap: 8px; width: 100%; } .copio-toolbar-actions .copio-btn-primary { width: 100%; } .copio-tool-btn { appearance: none; border: 1px solid var(--copio-color-border); background: var(--copio-color-surface-elevated); color: var(--copio-color-text); font-family: inherit; font-size: 11px; font-weight: 600; min-height: var(--copio-touch-target-min); min-width: var(--copio-touch-target-min); padding: 4px 6px; border-radius: var(--copio-radius-md); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; cursor: pointer; transition: all var(--copio-transition-fast); } .copio-tool-btn:hover:not(:disabled) { border-color: var(--copio-color-border-strong); background: rgba(255, 255, 255, 0.06); } .copio-tool-btn[aria-pressed=\"true\"] { background: rgba(56, 189, 248, 0.16); color: var(--copio-color-primary); border-color: var(--copio-color-primary); } .copio-tool-btn.danger { color: #fca5a5; } .copio-tool-btn.danger:hover:not(:disabled) { background: rgba(239, 68, 68, 0.16); border-color: rgba(239, 68, 68, 0.45); } .copio-toast-region { position: absolute; bottom: 124px; left: 12px; right: 12px; z-index: 30; display: flex; flex-direction: column; gap: 8px; pointer-events: none; } .copio-toast { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: var(--copio-radius-md); background: #0f172a; color: #f8fafc; border: 1px solid var(--copio-color-primary); box-shadow: var(--copio-shadow-elevated); font-size: 12px; font-weight: 500; position: relative; overflow: hidden; } .copio-toast-progress { position: absolute; bottom: 0; left: 0; height: 3px; background: var(--copio-color-primary); transition: width 100ms linear; } .copio-toast-undo-btn, .copio-btn-toast-undo { appearance: none; border: 1px solid rgba(56, 189, 248, 0.45); background: rgba(56, 189, 248, 0.16); color: #38bdf8; font-family: inherit; font-size: 12px; font-weight: 700; min-height: var(--copio-touch-target-min); min-width: var(--copio-touch-target-min); padding: 0 12px; border-radius: var(--copio-radius-sm); cursor: pointer; flex-shrink: 0; } .copio-ocr-content { display: flex; flex-direction: column; gap: 8px; } .copio-ocr-text { margin: 0; padding: 10px; max-height: 180px; overflow: auto; background: var(--copio-color-bg); color: var(--copio-color-text); border: 1px solid var(--copio-color-border); border-radius: var(--copio-radius-sm); font-family: var(--copio-font-mono); font-size: 11px; line-height: 1.5; white-space: pre-wrap; } .copio-ocr-meta { font-size: 11px; color: var(--copio-color-text-muted); } /* Slide-up OCR Extraction Sheet */ .copio-ocr-sheet { position: absolute; inset: auto 0 0 0; max-height: 78%; background: var(--copio-color-surface); border-top: 1px solid var(--copio-color-primary); border-radius: 16px 16px 0 0; box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.65); z-index: 25; display: flex; flex-direction: column; padding: 14px; gap: 10px; } .copio-ocr-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .copio-ocr-textarea { width: 100%; min-height: 130px; flex: 1; resize: none; background: var(--copio-color-bg); color: var(--copio-color-text); border: 1px solid var(--copio-color-border); border-radius: var(--copio-radius-sm); padding: 10px; font-family: var(--copio-font-mono); font-size: 11px; line-height: 1.5; } /* Container-Scoped Toast Stack */ .sl-toast-stack, .copio-toast-stack-scoped { position: absolute !important; top: auto !important; bottom: 0 !important; left: 0 !important; right: 0 !important; width: 100% !important; max-width: 100% !important; padding: var(--copio-spacing-md) !important; box-sizing: border-box !important; z-index: 1000 !important; pointer-events: none; } .sl-toast-stack sl-alert, .copio-toast-stack-scoped sl-alert { pointer-events: auto; margin-top: var(--copio-spacing-sm); } /* ========================================================================== 4. @container BREAKPOINTS (Strictly Container Queries) ========================================================================== */ @container copio-scanner (max-width: 400px) { .copio-header { padding: 6px 10px; min-height: 52px; } .copio-header-left { flex-direction: column; align-items: flex-start; gap: 2px; } .copio-mode-badge { font-size: 10px; padding: 2px 6px; } .copio-subtitle { display: none; } .copio-filmstrip, .copio-filmstrip-bar { gap: 6px; padding: 6px 8px; } .copio-tool-btn { font-size: 10px; padding: 3px 4px; } .copio-btn { padding: 0 8px; font-size: 12px; } } @container copio-scanner (min-width: 401px) and (max-width: 767px) { .copio-header { padding: var(--copio-spacing-sm) var(--copio-spacing-md); } .copio-tool-btn { flex-direction: row; font-size: 12px; gap: 6px; } } @container copio-scanner (min-width: 768px) { .copio-header { padding: var(--copio-spacing-md) var(--copio-spacing-lg); } .copio-workbench-main { flex-direction: row; } .copio-filmstrip, .copio-filmstrip-bar { order: -1; flex-direction: column; width: 168px; height: 100%; border-top: none; border-right: 1px solid var(--copio-color-border); overflow-y: auto; overflow-x: hidden; padding: 12px; } .copio-filmstrip-scroll { flex-direction: column; width: 100%; } .copio-thumb-container { width: 112px; height: 84px; } .copio-toolbar, .copio-controls-dock { flex-direction: row; align-items: center; justify-content: space-between; } .copio-toolbar-tools { width: auto; flex: 1; } .copio-toolbar-actions { width: auto; min-width: 200px; } } `",
|
|
2851
|
+
"default": "` :host { all: initial; display: block; position: relative; width: 100%; height: 100%; min-height: 200px; container-type: size; container-name: copio-scanner; overflow: hidden; contain: layout; box-sizing: border-box; text-align: left; direction: ltr; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; --copio-font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; --copio-font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace; --copio-color-bg: #0b0f17; --copio-color-surface: #131b26; --copio-color-surface-elevated: #1c2736; --copio-color-surface-overlay: rgba(15, 22, 32, 0.88); --copio-color-stage-bg: #070a0f; --copio-color-text: #f1f5f9; --copio-color-text-muted: #94a3b8; --copio-color-text-inverse: #090d14; --copio-color-primary: #38bdf8; --copio-color-primary-hover: #7dd3fc; --copio-color-primary-contrast: #06131f; --copio-color-success: #22c55e; --copio-color-warning: #f59e0b; --copio-color-danger: #ef4444; --copio-color-border: rgba(148, 163, 184, 0.18); --copio-color-border-strong: rgba(148, 163, 184, 0.34); --copio-focus-ring: 0 0 0 2px #0b0f17, 0 0 0 4px #38bdf8; --copio-radius-sm: 6px; --copio-radius-md: 10px; --copio-radius-lg: 14px; --copio-radius-pill: 9999px; --copio-spacing-xs: 4px; --copio-spacing-sm: 8px; --copio-spacing-md: 12px; --copio-spacing-lg: 16px; --copio-spacing-xl: 24px; --copio-touch-target-min: 44px; --copio-crop-handle-hit: 48px; --copio-crop-handle-visual: 16px; --copio-shadow-elevated: 0 12px 32px -4px rgba(0, 0, 0, 0.55); --copio-transition-fast: 150ms cubic-bezier(0.22, 1, 0.36, 1); --copio-transition-normal: 240ms cubic-bezier(0.22, 1, 0.36, 1); --sl-font-sans: var(--copio-font-family); --sl-font-mono: var(--copio-font-mono); --sl-color-primary-50: #f0f9ff; --sl-color-primary-100: #e0f2fe; --sl-color-primary-200: #bae6fd; --sl-color-primary-300: #7dd3fc; --sl-color-primary-400: #38bdf8; --sl-color-primary-500: #0ea5e9; --sl-color-primary-600: var(--copio-color-primary); --sl-color-primary-700: #0369a1; --sl-color-primary-800: #075985; --sl-color-primary-900: #0c4a6e; --sl-color-primary-950: #082f49; font-family: var(--copio-font-family); font-size: 14px; line-height: 1.5; color: var(--copio-color-text); background-color: var(--copio-color-bg); color-scheme: dark; } :host([theme=\"dark\"]), :host(.copio-theme-dark), :host-context([data-theme=\"dark\"]), :host-context(.sl-theme-dark), :host-context(.theme-dark) { color-scheme: dark; } /* Light Theme Override */ :host([theme=\"light\"]), :host(.copio-theme-light), :host-context([data-theme=\"light\"]), :host-context(.sl-theme-light), :host-context(.theme-light) { --copio-color-bg: #f8fafc; --copio-color-surface: #ffffff; --copio-color-surface-elevated: #f1f5f9; --copio-color-surface-overlay: rgba(255, 255, 255, 0.92); --copio-color-stage-bg: #1e293b; --copio-color-text: #0f172a; --copio-color-text-muted: #475569; --copio-color-text-inverse: #ffffff; --copio-color-primary: #0284c7; --copio-color-primary-hover: #0369a1; --copio-color-primary-contrast: #ffffff; --copio-color-success: #16a34a; --copio-color-warning: #d97706; --copio-color-danger: #dc2626; --copio-color-border: rgba(15, 23, 42, 0.12); --copio-color-border-strong: rgba(15, 23, 42, 0.26); --copio-focus-ring: 0 0 0 2px #ffffff, 0 0 0 4px #0284c7; --copio-radius-sm: 6px; --copio-radius-md: 10px; --copio-radius-lg: 14px; --copio-shadow-elevated: 0 12px 28px -4px rgba(15, 23, 42, 0.18); color-scheme: light; } /* Brand Theme Override (Emerald) */ :host([theme=\"brand\"]), :host(.copio-theme-brand), :host-context([data-theme=\"brand\"]), :host-context(.theme-brand) { --copio-color-bg: #0f111a; --copio-color-surface: #181b28; --copio-color-surface-elevated: #23273a; --copio-color-surface-overlay: rgba(24, 27, 40, 0.90); --copio-color-stage-bg: #090a10; --copio-color-text: #f8fafc; --copio-color-text-muted: #9ca3af; --copio-color-text-inverse: #ffffff; --copio-color-primary: #10b981; --copio-color-primary-hover: #34d399; --copio-color-primary-contrast: #042f2e; --copio-color-success: #10b981; --copio-color-warning: #f59e0b; --copio-color-danger: #ef4444; --copio-color-border: rgba(16, 185, 129, 0.22); --copio-color-border-strong: rgba(16, 185, 129, 0.42); --copio-focus-ring: 0 0 0 2px #0f111a, 0 0 0 4px #10b981; --copio-radius-sm: 4px; --copio-radius-md: 8px; --copio-radius-lg: 12px; --copio-shadow-elevated: 0 12px 32px -4px rgba(0, 0, 0, 0.65); color-scheme: dark; } /* Auto Theme: follows prefers-color-scheme when theme is auto */ @media (prefers-color-scheme: light) { :host([theme=\"auto\"]), :host(.copio-theme-auto) { --copio-color-bg: #f8fafc; --copio-color-surface: #ffffff; --copio-color-surface-elevated: #f1f5f9; --copio-color-surface-overlay: rgba(255, 255, 255, 0.92); --copio-color-stage-bg: #1e293b; --copio-color-text: #0f172a; --copio-color-text-muted: #475569; --copio-color-text-inverse: #ffffff; --copio-color-primary: #0284c7; --copio-color-primary-hover: #0369a1; --copio-color-primary-contrast: #ffffff; --copio-color-success: #16a34a; --copio-color-warning: #d97706; --copio-color-danger: #dc2626; --copio-color-border: rgba(15, 23, 42, 0.12); --copio-color-border-strong: rgba(15, 23, 42, 0.26); --copio-focus-ring: 0 0 0 2px #ffffff, 0 0 0 4px #0284c7; --copio-radius-sm: 6px; --copio-radius-md: 10px; --copio-radius-lg: 14px; --copio-shadow-elevated: 0 12px 28px -4px rgba(15, 23, 42, 0.18); color-scheme: light; } } /* ========================================================================== 2. INTERNAL ELEMENT RESET (Scoped to Shadow DOM) ========================================================================== */ *, *::before, *::after { box-sizing: border-box; } ::slotted(*) { box-sizing: border-box; } /* ========================================================================== 3. ROOT CONTAINER & COMPONENT SHELL ========================================================================== */ .copio-scanner-container { width: 100%; height: 100%; position: relative; display: flex; flex-direction: column; overflow: hidden; box-sizing: border-box; container-type: size; container-name: copio-scanner; contain: layout; background: var(--copio-color-bg); color: var(--copio-color-text); font-family: var(--copio-font-family); font-size: 14px; line-height: 1.5; text-align: left; direction: ltr; user-select: none; } /* Header (Shadow Part: header) */ .copio-header { display: flex; align-items: center; justify-content: space-between; gap: var(--copio-spacing-sm); padding: var(--copio-spacing-sm) var(--copio-spacing-md); background: var(--copio-color-surface); border-bottom: 1px solid var(--copio-color-border); min-height: 52px; flex-shrink: 0; z-index: 5; box-sizing: border-box; } .copio-header-left { display: flex; align-items: center; gap: var(--copio-spacing-sm); min-width: 0; } .copio-mode-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: var(--copio-radius-pill); background: var(--copio-color-surface-elevated); color: var(--copio-color-primary); border: 1px solid var(--copio-color-border); white-space: nowrap; } .copio-title-group { display: flex; flex-direction: column; min-width: 0; } .copio-title { font-size: 13px; font-weight: 600; color: var(--copio-color-text); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .copio-subtitle { font-size: 11px; color: var(--copio-color-text-muted); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .copio-header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; } /* Interactive Stage Switcher Pill (Viewfinder vs Workbench) */ .copio-stage-tabs { display: inline-flex; background: var(--copio-color-bg); padding: 2px; border-radius: var(--copio-radius-md); border: 1px solid var(--copio-color-border); } .copio-stage-tab { appearance: none; border: none; background: transparent; color: var(--copio-color-text-muted); font-family: inherit; font-size: 11px; font-weight: 600; padding: 6px 10px; min-height: var(--copio-touch-target-min); min-width: var(--copio-touch-target-min); border-radius: var(--copio-radius-sm); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background var(--copio-transition-fast), color var(--copio-transition-fast); } .copio-stage-tab[aria-selected=\"true\"] { background: var(--copio-color-surface-elevated); color: var(--copio-color-text); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); } /* Touch-Safe Interactive Buttons (>=44px touch invariant) */ .copio-btn { appearance: none; border: 1px solid var(--copio-color-border); background: var(--copio-color-surface-elevated); color: var(--copio-color-text); font-family: inherit; font-size: 13px; font-weight: 600; min-height: var(--copio-touch-target-min); min-width: var(--copio-touch-target-min); padding: 0 12px; border-radius: var(--copio-radius-md); display: inline-flex; align-items: center; justify-content: center; gap: 7px; cursor: pointer; transition: all var(--copio-transition-fast); white-space: nowrap; text-decoration: none; box-sizing: border-box; } .copio-btn:hover { background: var(--copio-color-primary-hover); color: var(--copio-color-primary-contrast); border-color: var(--copio-color-primary); } .copio-btn-primary { background: var(--copio-color-primary); color: var(--copio-color-primary-contrast); border-color: var(--copio-color-primary); } .copio-btn-danger { background: rgba(239, 68, 68, 0.15); color: var(--copio-color-danger); border-color: rgba(239, 68, 68, 0.35); } .copio-btn-danger:hover { background: var(--copio-color-danger); color: #fff; } /* Viewfinder (Shadow Part: viewfinder) */ .copio-viewfinder, .copio-viewfinder-stage { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; justify-content: space-between; background: var(--copio-color-stage-bg); overflow: hidden; min-height: 0; width: 100%; } .copio-viewfinder-feed, .copio-camera-feed { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 56px 20px 104px 20px; background: radial-gradient(circle at 50% 45%, #1e293b 0%, #090d14 75%); } /* Framing Guide Overlay (receipt | card | a4 | auto) */ .copio-framing-guide { position: relative; display: flex; align-items: center; justify-content: center; max-width: 100%; max-height: 100%; border: 1.5px dashed rgba(56, 189, 248, 0.55); border-radius: 12px; box-shadow: 0 0 0 9999px rgba(4, 7, 12, 0.52); transition: all var(--copio-transition-normal); overflow: hidden; } .copio-framing-guide[data-aspect=\"receipt\"] { aspect-ratio: 1 / 2.1; height: 100%; } .copio-framing-guide[data-aspect=\"card\"] { aspect-ratio: 1.586 / 1; width: 92%; max-height: 82%; } .copio-framing-guide[data-aspect=\"a4\"] { aspect-ratio: 1 / 1.414; height: 96%; } .copio-framing-guide[data-aspect=\"auto\"] { width: 94%; height: 94%; } /* Corner Targeting Brackets */ .copio-corner { position: absolute; width: 22px; height: 22px; border-color: var(--copio-color-primary); border-style: solid; border-width: 0; pointer-events: none; z-index: 2; } .copio-corner.tl { top: 6px; left: 6px; border-top-width: 3px; border-left-width: 3px; border-top-left-radius: 6px; } .copio-corner.tr { top: 6px; right: 6px; border-top-width: 3px; border-right-width: 3px; border-top-right-radius: 6px; } .copio-corner.bl { bottom: 6px; left: 6px; border-bottom-width: 3px; border-left-width: 3px; border-bottom-left-radius: 6px; } .copio-corner.br { bottom: 6px; right: 6px; border-bottom-width: 3px; border-right-width: 3px; border-bottom-right-radius: 6px; } .copio-edge-quad { position: absolute; inset: 12px; border: 1px solid rgba(56, 189, 248, 0.28); border-radius: 8px; background: rgba(56, 189, 248, 0.04); pointer-events: none; z-index: 1; } .copio-camera-placeholder { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 16px; text-align: center; color: var(--copio-color-text-muted); font-size: 12px; font-weight: 500; } .copio-status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--copio-color-primary); box-shadow: 0 0 8px var(--copio-color-primary); flex-shrink: 0; } /* Top Viewfinder HUD Overlay (Step Pill + Privacy Assurance Badge) */ .copio-viewfinder-hud-top { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; background: linear-gradient(to bottom, rgba(7, 10, 15, 0.85), transparent); } .copio-step-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--copio-radius-pill); background: rgba(15, 23, 42, 0.88); border: 1px solid rgba(56, 189, 248, 0.45); color: #f8fafc; font-size: 12px; font-weight: 600; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35); } .copio-privacy-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: var(--copio-radius-pill); background: rgba(22, 101, 52, 0.35); border: 1px solid rgba(34, 197, 94, 0.4); color: #86efac; font-size: 11px; font-weight: 500; } /* Shutter Dock (Shadow Part: shutter-dock) */ .copio-shutter-dock { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--copio-color-surface); border-top: 1px solid var(--copio-color-border); min-height: 84px; flex-shrink: 0; } .copio-shutter-side { flex: 1; display: flex; align-items: center; } .copio-shutter-side.right { justify-content: flex-end; } .copio-shutter-btn { appearance: none; width: 64px; height: 64px; border-radius: var(--copio-radius-pill); border: 4px solid var(--copio-color-primary); background: transparent; padding: 4px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: transform var(--copio-transition-fast), border-color 150ms ease; flex-shrink: 0; } .copio-shutter-btn:hover { transform: scale(1.04); } .copio-shutter-btn:active { transform: scale(0.94); } .copio-shutter-btn-inner, .copio-shutter-inner { width: 100%; height: 100%; border-radius: var(--copio-radius-pill); background: var(--copio-color-primary); display: flex; align-items: center; justify-content: center; color: var(--copio-color-primary-contrast); transition: transform var(--copio-transition-fast); } .copio-shutter-btn:active .copio-shutter-btn-inner, .copio-shutter-btn:active .copio-shutter-inner { transform: scale(0.88); } /* Stacking Thumbnail Counter Pill in Viewfinder */ .copio-stack-pill { display: inline-flex; align-items: center; gap: 8px; min-height: var(--copio-touch-target-min); padding: 4px 12px 4px 6px; border-radius: var(--copio-radius-md); background: var(--copio-color-surface-elevated); border: 1px solid var(--copio-color-primary); color: var(--copio-color-text); font-size: 12px; font-weight: 600; cursor: pointer; } .copio-stack-thumb { width: 30px; height: 36px; border-radius: 4px; object-fit: cover; border: 1px solid rgba(255, 255, 255, 0.35); background: #000; } /* Workbench & Filmstrip (Shadow Part: workbench) */ .copio-workbench, .copio-workbench-stage { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; background: var(--copio-color-bg); overflow: hidden; min-height: 0; width: 100%; } .copio-workbench-main { flex: 1; display: flex; flex-direction: column; min-height: 0; width: 100%; overflow: hidden; } .copio-stage-canvas, .copio-canvas-viewport { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; padding: 16px 20px 44px 20px; background: var(--copio-color-stage-bg); min-height: 180px; } .copio-canvas-viewport.has-card-switcher { padding-top: 66px; } .copio-canvas-viewport.is-cropping { padding: 74px 26px 26px 26px; } /* Card Side Switcher */ .copio-card-side-switcher { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); z-index: 6; display: inline-flex; gap: 4px; padding: 3px; background: var(--copio-color-surface-overlay, rgba(15, 22, 32, 0.88)); border: 1px solid var(--copio-color-border-strong); border-radius: var(--copio-radius-pill); backdrop-filter: blur(8px); } .copio-side-pill { appearance: none; border: none; background: transparent; color: var(--copio-color-text-muted); font-family: inherit; font-size: 11px; font-weight: 600; padding: 6px 12px; min-height: var(--copio-touch-target-min); min-width: var(--copio-touch-target-min); border-radius: var(--copio-radius-pill); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; } .copio-side-pill[aria-selected=\"true\"] { background: var(--copio-color-primary); color: var(--copio-color-primary-contrast); } .copio-stage-figure, .copio-canvas-wrapper { position: relative; display: flex; align-items: center; justify-content: center; max-width: 100%; max-height: 100%; } .copio-stage-canvas img, .copio-stage-img, .copio-stage-image { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: var(--copio-shadow-elevated); border-radius: var(--copio-radius-sm); user-select: none; } .copio-crop-layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; z-index: 8; touch-action: none; } .copio-crop-box { position: absolute; border: 2px solid var(--copio-color-primary); box-shadow: 0 0 0 9999px rgba(5, 8, 14, 0.68); cursor: move; touch-action: none; box-sizing: border-box; } /* Rule-of-thirds crop grid */ .copio-crop-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(to right, rgba(56, 189, 248, 0.28) 1px, transparent 1px), linear-gradient(to bottom, rgba(56, 189, 248, 0.28) 1px, transparent 1px); background-size: 33.333% 33.333%; } /* 48px x 48px Touch Target Handles (exceeds 44px requirement) */ .copio-crop-handle { position: absolute; width: var(--copio-crop-handle-hit); height: var(--copio-crop-handle-hit); min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; z-index: 10; touch-action: none; box-sizing: border-box; } .copio-crop-handle::after { content: ''; width: var(--copio-crop-handle-visual); height: var(--copio-crop-handle-visual); border-radius: 50%; background: var(--copio-color-primary); border: 2.5px solid #ffffff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5); transition: transform 120ms ease; box-sizing: border-box; } .copio-crop-handle:hover::after, .copio-crop-handle:active::after { transform: scale(1.25); background: var(--copio-color-success, #22c55e); } .copio-crop-handle.nw { top: -24px; left: -24px; cursor: nwse-resize; } .copio-crop-handle.ne { top: -24px; right: -24px; cursor: nesw-resize; } .copio-crop-handle.sw { bottom: -24px; left: -24px; cursor: nesw-resize; } .copio-crop-handle.se { bottom: -24px; right: -24px; cursor: nwse-resize; } .copio-crop-handle.n, .copio-crop-handle.edge-n { top: -24px; left: calc(50% - 24px); cursor: ns-resize; } .copio-crop-handle.s, .copio-crop-handle.edge-s { bottom: -24px; left: calc(50% - 24px); cursor: ns-resize; } .copio-crop-handle.w, .copio-crop-handle.edge-w { left: -24px; top: calc(50% - 24px); cursor: ew-resize; } .copio-crop-handle.e, .copio-crop-handle.edge-e { right: -24px; top: calc(50% - 24px); cursor: ew-resize; } /* Filmstrip & Reorder Tray */ .copio-filmstrip, .copio-filmstrip-bar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--copio-color-surface); border-top: 1px solid var(--copio-color-border); overflow-x: auto; min-height: 80px; flex-shrink: 0; scrollbar-width: thin; } .copio-filmstrip-scroll { display: flex; align-items: center; gap: 8px; } .copio-filmstrip-item { display: flex; flex-direction: column; align-items: center; gap: 4px; flex-shrink: 0; } .copio-thumb-container { position: relative; width: 56px; height: 70px; border-radius: var(--copio-radius-sm); overflow: hidden; background: var(--copio-color-surface-elevated, #1c2736); border: 2px solid var(--copio-color-border); cursor: pointer; transition: all var(--copio-transition-fast); display: flex; align-items: center; justify-content: center; } .copio-filmstrip-item.is-active .copio-thumb-container { border-color: var(--copio-color-primary); box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.25); } .copio-thumb-num { position: absolute; bottom: 3px; right: 3px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: rgba(15, 23, 42, 0.85); color: #f8fafc; font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; } .copio-thumb-reorder { display: flex; align-items: center; gap: 4px; } .copio-reorder-btn { appearance: none; border: 1px solid var(--copio-color-border); background: var(--copio-color-surface-elevated); color: var(--copio-color-text-muted); border-radius: 4px; font-size: 9px; padding: 2px 5px; cursor: pointer; } .copio-reorder-btn:disabled { opacity: 0.35; cursor: not-allowed; } .copio-thumb-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; } /* Edit Action Toolbar & Primary Completion Dock */ .copio-toolbar, .copio-controls-dock { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; background: var(--copio-color-surface); border-top: 1px solid var(--copio-color-border); min-height: 56px; flex-shrink: 0; z-index: 6; } .copio-edit-toolbar, .copio-toolbar-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; width: 100%; } .copio-toolbar-tools .copio-tool-btn { flex: 1 1 56px; } .copio-toolbar-actions { display: flex; align-items: center; gap: 8px; width: 100%; } .copio-toolbar-actions .copio-btn-primary { width: 100%; } .copio-tool-btn { appearance: none; border: 1px solid var(--copio-color-border); background: var(--copio-color-surface-elevated); color: var(--copio-color-text); font-family: inherit; font-size: 11px; font-weight: 600; min-height: var(--copio-touch-target-min); min-width: var(--copio-touch-target-min); padding: 4px 6px; border-radius: var(--copio-radius-md); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; cursor: pointer; transition: all var(--copio-transition-fast); } .copio-tool-btn:hover:not(:disabled) { border-color: var(--copio-color-border-strong); background: rgba(255, 255, 255, 0.06); } .copio-tool-btn[aria-pressed=\"true\"] { background: rgba(56, 189, 248, 0.16); color: var(--copio-color-primary); border-color: var(--copio-color-primary); } .copio-tool-btn.danger { color: #fca5a5; } .copio-tool-btn.danger:hover:not(:disabled) { background: rgba(239, 68, 68, 0.16); border-color: rgba(239, 68, 68, 0.45); } .copio-toast-region { position: absolute; bottom: 124px; left: 12px; right: 12px; z-index: 30; display: flex; flex-direction: column; gap: 8px; pointer-events: none; } .copio-toast { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: var(--copio-radius-md); background: #0f172a; color: #f8fafc; border: 1px solid var(--copio-color-primary); box-shadow: var(--copio-shadow-elevated); font-size: 12px; font-weight: 500; position: relative; overflow: hidden; } .copio-toast-progress { position: absolute; bottom: 0; left: 0; height: 3px; background: var(--copio-color-primary); transition: width 100ms linear; } .copio-toast-undo-btn, .copio-btn-toast-undo { appearance: none; border: 1px solid rgba(56, 189, 248, 0.45); background: rgba(56, 189, 248, 0.16); color: #38bdf8; font-family: inherit; font-size: 12px; font-weight: 700; min-height: var(--copio-touch-target-min); min-width: var(--copio-touch-target-min); padding: 0 12px; border-radius: var(--copio-radius-sm); cursor: pointer; flex-shrink: 0; } .copio-ocr-content { display: flex; flex-direction: column; gap: 8px; } .copio-ocr-text { margin: 0; padding: 10px; max-height: 180px; overflow: auto; background: var(--copio-color-bg); color: var(--copio-color-text); border: 1px solid var(--copio-color-border); border-radius: var(--copio-radius-sm); font-family: var(--copio-font-mono); font-size: 11px; line-height: 1.5; white-space: pre-wrap; } .copio-ocr-meta { font-size: 11px; color: var(--copio-color-text-muted); } /* Slide-up OCR Extraction Sheet */ .copio-ocr-sheet { position: absolute; inset: auto 0 0 0; max-height: 78%; background: var(--copio-color-surface); border-top: 1px solid var(--copio-color-primary); border-radius: 16px 16px 0 0; box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.65); z-index: 25; display: flex; flex-direction: column; padding: 14px; gap: 10px; } .copio-ocr-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .copio-ocr-textarea { width: 100%; min-height: 130px; flex: 1; resize: none; background: var(--copio-color-bg); color: var(--copio-color-text); border: 1px solid var(--copio-color-border); border-radius: var(--copio-radius-sm); padding: 10px; font-family: var(--copio-font-mono); font-size: 11px; line-height: 1.5; } /* Container-Scoped Toast Stack */ .sl-toast-stack, .copio-toast-stack-scoped { position: absolute !important; top: auto !important; bottom: 0 !important; left: 0 !important; right: 0 !important; width: 100% !important; max-width: 100% !important; padding: var(--copio-spacing-md) !important; box-sizing: border-box !important; z-index: 1000 !important; pointer-events: none; } .sl-toast-stack sl-alert, .copio-toast-stack-scoped sl-alert { pointer-events: auto; margin-top: var(--copio-spacing-sm); } /* ========================================================================== 4. @container BREAKPOINTS (Strictly Container Queries) ========================================================================== */ @container copio-scanner (max-width: 400px) { .copio-header { padding: 6px 10px; min-height: 52px; } .copio-header-left { flex-direction: column; align-items: flex-start; gap: 2px; } .copio-mode-badge { font-size: 10px; padding: 2px 6px; } .copio-subtitle { display: none; } .copio-filmstrip, .copio-filmstrip-bar { gap: 6px; padding: 6px 8px; } .copio-tool-btn { font-size: 10px; padding: 3px 4px; } .copio-btn { padding: 0 8px; font-size: 12px; } } @container copio-scanner (min-width: 401px) and (max-width: 767px) { .copio-header { padding: var(--copio-spacing-sm) var(--copio-spacing-md); } .copio-tool-btn { flex-direction: row; font-size: 12px; gap: 6px; } } @container copio-scanner (min-width: 768px) { .copio-header { padding: var(--copio-spacing-md) var(--copio-spacing-lg); } .copio-workbench-main { flex-direction: row; } .copio-filmstrip, .copio-filmstrip-bar { order: -1; flex-direction: column; width: 168px; height: 100%; border-top: none; border-right: 1px solid var(--copio-color-border); overflow-y: auto; overflow-x: hidden; padding: 12px; } .copio-filmstrip-scroll { flex-direction: column; width: 100%; } .copio-thumb-container { width: 112px; height: 140px; } .copio-toolbar, .copio-controls-dock { flex-direction: row; align-items: center; justify-content: space-between; } .copio-toolbar-tools { width: auto; flex: 1; } .copio-toolbar-actions { width: auto; min-width: 200px; } } `",
|
|
2776
2852
|
"description": "Copio Scanner Encapsulated Styles & Design Tokens (CPO-032 / CPO-038)\n\nProvides constructable stylesheets and adoptedStyleSheets architecture for <copio-scanner>\nwith complete Shadow DOM style encapsulation, zero global leakage, and hostile host immunity."
|
|
2777
2853
|
},
|
|
2778
2854
|
{
|
|
@@ -2876,7 +2952,7 @@
|
|
|
2876
2952
|
"type": {
|
|
2877
2953
|
"text": "string"
|
|
2878
2954
|
},
|
|
2879
|
-
"default": "'0.1.
|
|
2955
|
+
"default": "'0.1.4'"
|
|
2880
2956
|
}
|
|
2881
2957
|
],
|
|
2882
2958
|
"exports": [
|
|
@@ -2900,1877 +2976,453 @@
|
|
|
2900
2976
|
},
|
|
2901
2977
|
{
|
|
2902
2978
|
"kind": "javascript-module",
|
|
2903
|
-
"path": "js/routes/
|
|
2979
|
+
"path": "js/routes/ocr/copio-doc-ocr-dialog.js",
|
|
2904
2980
|
"declarations": [
|
|
2905
2981
|
{
|
|
2906
2982
|
"kind": "class",
|
|
2907
2983
|
"description": "",
|
|
2908
|
-
"name": "
|
|
2984
|
+
"name": "CopioDocOcrDialog",
|
|
2909
2985
|
"members": [
|
|
2910
2986
|
{
|
|
2911
2987
|
"kind": "field",
|
|
2912
|
-
"name": "#
|
|
2913
|
-
"privacy": "private"
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
"
|
|
2918
|
-
"privacy": "private"
|
|
2919
|
-
},
|
|
2920
|
-
{
|
|
2921
|
-
"kind": "field",
|
|
2922
|
-
"name": "#handleHide",
|
|
2923
|
-
"privacy": "private"
|
|
2924
|
-
},
|
|
2925
|
-
{
|
|
2926
|
-
"kind": "field",
|
|
2927
|
-
"name": "#handleKeydown",
|
|
2928
|
-
"privacy": "private"
|
|
2929
|
-
},
|
|
2930
|
-
{
|
|
2931
|
-
"kind": "method",
|
|
2932
|
-
"name": "open"
|
|
2988
|
+
"name": "#abortController",
|
|
2989
|
+
"privacy": "private",
|
|
2990
|
+
"type": {
|
|
2991
|
+
"text": "null"
|
|
2992
|
+
},
|
|
2993
|
+
"default": "null"
|
|
2933
2994
|
},
|
|
2934
2995
|
{
|
|
2935
2996
|
"kind": "method",
|
|
2936
|
-
"name": "
|
|
2997
|
+
"name": "open",
|
|
2937
2998
|
"parameters": [
|
|
2938
2999
|
{
|
|
2939
|
-
"name": "
|
|
3000
|
+
"name": "docId",
|
|
3001
|
+
"type": {
|
|
3002
|
+
"text": "string"
|
|
3003
|
+
}
|
|
2940
3004
|
},
|
|
2941
3005
|
{
|
|
2942
|
-
"name": "
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
}
|
|
2947
|
-
]
|
|
2948
|
-
},
|
|
2949
|
-
{
|
|
2950
|
-
"kind": "field",
|
|
2951
|
-
"name": "#handleSave",
|
|
2952
|
-
"privacy": "private"
|
|
2953
|
-
}
|
|
2954
|
-
],
|
|
2955
|
-
"superclass": {
|
|
2956
|
-
"name": "LitElement",
|
|
2957
|
-
"module": "/js/lib/lit-core.min.js"
|
|
2958
|
-
},
|
|
2959
|
-
"tagName": "copio-add-edit-dialog",
|
|
2960
|
-
"customElement": true
|
|
2961
|
-
}
|
|
2962
|
-
],
|
|
2963
|
-
"exports": [
|
|
2964
|
-
{
|
|
2965
|
-
"kind": "js",
|
|
2966
|
-
"name": "CopioAddEditDialog",
|
|
2967
|
-
"declaration": {
|
|
2968
|
-
"name": "CopioAddEditDialog",
|
|
2969
|
-
"module": "js/routes/add-edit/copio-add-edit-dialog.js"
|
|
2970
|
-
}
|
|
2971
|
-
},
|
|
2972
|
-
{
|
|
2973
|
-
"kind": "custom-element-definition",
|
|
2974
|
-
"name": "copio-add-edit-dialog",
|
|
2975
|
-
"declaration": {
|
|
2976
|
-
"name": "CopioAddEditDialog",
|
|
2977
|
-
"module": "js/routes/add-edit/copio-add-edit-dialog.js"
|
|
2978
|
-
}
|
|
2979
|
-
}
|
|
2980
|
-
]
|
|
2981
|
-
},
|
|
2982
|
-
{
|
|
2983
|
-
"kind": "javascript-module",
|
|
2984
|
-
"path": "js/routes/home/copio-row.js",
|
|
2985
|
-
"declarations": [
|
|
2986
|
-
{
|
|
2987
|
-
"kind": "class",
|
|
2988
|
-
"description": "",
|
|
2989
|
-
"name": "CopioRow",
|
|
2990
|
-
"members": [
|
|
2991
|
-
{
|
|
2992
|
-
"kind": "field",
|
|
2993
|
-
"name": "hasImages",
|
|
2994
|
-
"readonly": true
|
|
2995
|
-
},
|
|
2996
|
-
{
|
|
2997
|
-
"kind": "field",
|
|
2998
|
-
"name": "hasMarkdown",
|
|
2999
|
-
"readonly": true
|
|
3000
|
-
},
|
|
3001
|
-
{
|
|
3002
|
-
"kind": "field",
|
|
3003
|
-
"name": "pageCount",
|
|
3004
|
-
"readonly": true
|
|
3005
|
-
},
|
|
3006
|
-
{
|
|
3007
|
-
"kind": "method",
|
|
3008
|
-
"name": "#handleWrapperClick",
|
|
3009
|
-
"privacy": "private",
|
|
3010
|
-
"parameters": [
|
|
3011
|
-
{
|
|
3012
|
-
"name": "e"
|
|
3013
|
-
}
|
|
3014
|
-
]
|
|
3015
|
-
},
|
|
3016
|
-
{
|
|
3017
|
-
"kind": "method",
|
|
3018
|
-
"name": "#handleMenuSelect",
|
|
3019
|
-
"privacy": "private",
|
|
3020
|
-
"parameters": [
|
|
3021
|
-
{
|
|
3022
|
-
"name": "e"
|
|
3023
|
-
}
|
|
3024
|
-
]
|
|
3025
|
-
},
|
|
3026
|
-
{
|
|
3027
|
-
"kind": "method",
|
|
3028
|
-
"name": "startRename",
|
|
3029
|
-
"parameters": [
|
|
3030
|
-
{
|
|
3031
|
-
"name": "e"
|
|
3032
|
-
}
|
|
3033
|
-
]
|
|
3034
|
-
},
|
|
3035
|
-
{
|
|
3036
|
-
"kind": "method",
|
|
3037
|
-
"name": "cancelRename",
|
|
3038
|
-
"parameters": [
|
|
3039
|
-
{
|
|
3040
|
-
"name": "e"
|
|
3041
|
-
}
|
|
3042
|
-
]
|
|
3043
|
-
},
|
|
3044
|
-
{
|
|
3045
|
-
"kind": "method",
|
|
3046
|
-
"name": "commitRename",
|
|
3047
|
-
"parameters": [
|
|
3048
|
-
{
|
|
3049
|
-
"name": "e"
|
|
3050
|
-
}
|
|
3051
|
-
]
|
|
3052
|
-
},
|
|
3053
|
-
{
|
|
3054
|
-
"kind": "method",
|
|
3055
|
-
"name": "handleRenameKeyDown",
|
|
3056
|
-
"parameters": [
|
|
3057
|
-
{
|
|
3058
|
-
"name": "e"
|
|
3059
|
-
}
|
|
3060
|
-
]
|
|
3061
|
-
},
|
|
3062
|
-
{
|
|
3063
|
-
"kind": "method",
|
|
3064
|
-
"name": "handleExtractOcr"
|
|
3065
|
-
},
|
|
3066
|
-
{
|
|
3067
|
-
"kind": "method",
|
|
3068
|
-
"name": "handleView"
|
|
3069
|
-
},
|
|
3070
|
-
{
|
|
3071
|
-
"kind": "method",
|
|
3072
|
-
"name": "handleDelete"
|
|
3073
|
-
},
|
|
3074
|
-
{
|
|
3075
|
-
"kind": "method",
|
|
3076
|
-
"name": "handleEdit"
|
|
3077
|
-
},
|
|
3078
|
-
{
|
|
3079
|
-
"kind": "method",
|
|
3080
|
-
"name": "handleDownload"
|
|
3081
|
-
},
|
|
3082
|
-
{
|
|
3083
|
-
"kind": "method",
|
|
3084
|
-
"name": "handleDownloadImages"
|
|
3085
|
-
},
|
|
3086
|
-
{
|
|
3087
|
-
"kind": "method",
|
|
3088
|
-
"name": "handleDownloadMarkdown"
|
|
3089
|
-
},
|
|
3090
|
-
{
|
|
3091
|
-
"kind": "field",
|
|
3092
|
-
"name": "name",
|
|
3093
|
-
"privacy": "public",
|
|
3094
|
-
"type": {
|
|
3095
|
-
"text": "string"
|
|
3096
|
-
},
|
|
3097
|
-
"default": "''",
|
|
3098
|
-
"attribute": "name"
|
|
3099
|
-
},
|
|
3100
|
-
{
|
|
3101
|
-
"kind": "field",
|
|
3102
|
-
"name": "pages",
|
|
3103
|
-
"privacy": "public",
|
|
3104
|
-
"type": {
|
|
3105
|
-
"text": "array"
|
|
3106
|
-
},
|
|
3107
|
-
"default": "[]",
|
|
3108
|
-
"attribute": "pages"
|
|
3109
|
-
},
|
|
3110
|
-
{
|
|
3111
|
-
"kind": "field",
|
|
3112
|
-
"name": "isRenaming",
|
|
3113
|
-
"privacy": "public",
|
|
3114
|
-
"type": {
|
|
3115
|
-
"text": "boolean"
|
|
3116
|
-
},
|
|
3117
|
-
"default": "false",
|
|
3118
|
-
"attribute": "isRenaming"
|
|
3119
|
-
},
|
|
3120
|
-
{
|
|
3121
|
-
"kind": "field",
|
|
3122
|
-
"name": "renameValue",
|
|
3123
|
-
"privacy": "public",
|
|
3124
|
-
"type": {
|
|
3125
|
-
"text": "string"
|
|
3126
|
-
},
|
|
3127
|
-
"default": "''",
|
|
3128
|
-
"attribute": "renameValue"
|
|
3129
|
-
},
|
|
3130
|
-
{
|
|
3131
|
-
"kind": "field",
|
|
3132
|
-
"name": "ocr",
|
|
3133
|
-
"privacy": "public",
|
|
3134
|
-
"type": {
|
|
3135
|
-
"text": "boolean"
|
|
3136
|
-
},
|
|
3137
|
-
"default": "true",
|
|
3138
|
-
"attribute": "ocr"
|
|
3139
|
-
},
|
|
3140
|
-
{
|
|
3141
|
-
"kind": "field",
|
|
3142
|
-
"name": "pdf",
|
|
3143
|
-
"privacy": "public",
|
|
3144
|
-
"type": {
|
|
3145
|
-
"text": "boolean"
|
|
3146
|
-
},
|
|
3147
|
-
"default": "true",
|
|
3148
|
-
"attribute": "pdf"
|
|
3149
|
-
}
|
|
3150
|
-
],
|
|
3151
|
-
"events": [
|
|
3152
|
-
{
|
|
3153
|
-
"name": "doc:rename",
|
|
3154
|
-
"type": {
|
|
3155
|
-
"text": "CustomEvent"
|
|
3156
|
-
}
|
|
3157
|
-
},
|
|
3158
|
-
{
|
|
3159
|
-
"name": "doc:extract-ocr",
|
|
3160
|
-
"type": {
|
|
3161
|
-
"text": "CustomEvent"
|
|
3162
|
-
}
|
|
3163
|
-
},
|
|
3164
|
-
{
|
|
3165
|
-
"name": "doc:view",
|
|
3166
|
-
"type": {
|
|
3167
|
-
"text": "CustomEvent"
|
|
3168
|
-
}
|
|
3169
|
-
},
|
|
3170
|
-
{
|
|
3171
|
-
"name": "doc:delete",
|
|
3172
|
-
"type": {
|
|
3173
|
-
"text": "CustomEvent"
|
|
3174
|
-
}
|
|
3175
|
-
},
|
|
3176
|
-
{
|
|
3177
|
-
"name": "doc:edit",
|
|
3178
|
-
"type": {
|
|
3179
|
-
"text": "CustomEvent"
|
|
3180
|
-
}
|
|
3181
|
-
},
|
|
3182
|
-
{
|
|
3183
|
-
"name": "doc:download",
|
|
3184
|
-
"type": {
|
|
3185
|
-
"text": "CustomEvent"
|
|
3186
|
-
}
|
|
3187
|
-
},
|
|
3188
|
-
{
|
|
3189
|
-
"name": "doc:download-images",
|
|
3190
|
-
"type": {
|
|
3191
|
-
"text": "CustomEvent"
|
|
3192
|
-
}
|
|
3193
|
-
},
|
|
3194
|
-
{
|
|
3195
|
-
"name": "doc:download-markdown",
|
|
3196
|
-
"type": {
|
|
3197
|
-
"text": "CustomEvent"
|
|
3198
|
-
}
|
|
3199
|
-
}
|
|
3200
|
-
],
|
|
3201
|
-
"attributes": [
|
|
3202
|
-
{
|
|
3203
|
-
"name": "name",
|
|
3204
|
-
"type": {
|
|
3205
|
-
"text": "string"
|
|
3206
|
-
},
|
|
3207
|
-
"default": "''",
|
|
3208
|
-
"fieldName": "name"
|
|
3209
|
-
},
|
|
3210
|
-
{
|
|
3211
|
-
"name": "pages",
|
|
3212
|
-
"type": {
|
|
3213
|
-
"text": "array"
|
|
3214
|
-
},
|
|
3215
|
-
"default": "[]",
|
|
3216
|
-
"fieldName": "pages"
|
|
3217
|
-
},
|
|
3218
|
-
{
|
|
3219
|
-
"name": "isRenaming",
|
|
3220
|
-
"type": {
|
|
3221
|
-
"text": "boolean"
|
|
3222
|
-
},
|
|
3223
|
-
"default": "false",
|
|
3224
|
-
"fieldName": "isRenaming"
|
|
3225
|
-
},
|
|
3226
|
-
{
|
|
3227
|
-
"name": "renameValue",
|
|
3228
|
-
"type": {
|
|
3229
|
-
"text": "string"
|
|
3230
|
-
},
|
|
3231
|
-
"default": "''",
|
|
3232
|
-
"fieldName": "renameValue"
|
|
3233
|
-
},
|
|
3234
|
-
{
|
|
3235
|
-
"name": "ocr",
|
|
3236
|
-
"type": {
|
|
3237
|
-
"text": "boolean"
|
|
3238
|
-
},
|
|
3239
|
-
"default": "true",
|
|
3240
|
-
"fieldName": "ocr"
|
|
3241
|
-
},
|
|
3242
|
-
{
|
|
3243
|
-
"name": "pdf",
|
|
3244
|
-
"type": {
|
|
3245
|
-
"text": "boolean"
|
|
3246
|
-
},
|
|
3247
|
-
"default": "true",
|
|
3248
|
-
"fieldName": "pdf"
|
|
3249
|
-
}
|
|
3250
|
-
],
|
|
3251
|
-
"superclass": {
|
|
3252
|
-
"name": "LitElement",
|
|
3253
|
-
"module": "/js/lib/lit-core.min.js"
|
|
3254
|
-
},
|
|
3255
|
-
"tagName": "copio-row",
|
|
3256
|
-
"customElement": true
|
|
3257
|
-
}
|
|
3258
|
-
],
|
|
3259
|
-
"exports": [
|
|
3260
|
-
{
|
|
3261
|
-
"kind": "js",
|
|
3262
|
-
"name": "CopioRow",
|
|
3263
|
-
"declaration": {
|
|
3264
|
-
"name": "CopioRow",
|
|
3265
|
-
"module": "js/routes/home/copio-row.js"
|
|
3266
|
-
}
|
|
3267
|
-
},
|
|
3268
|
-
{
|
|
3269
|
-
"kind": "custom-element-definition",
|
|
3270
|
-
"name": "copio-row",
|
|
3271
|
-
"declaration": {
|
|
3272
|
-
"name": "CopioRow",
|
|
3273
|
-
"module": "js/routes/home/copio-row.js"
|
|
3274
|
-
}
|
|
3275
|
-
}
|
|
3276
|
-
]
|
|
3277
|
-
},
|
|
3278
|
-
{
|
|
3279
|
-
"kind": "javascript-module",
|
|
3280
|
-
"path": "js/routes/doc/copio-carousel.js",
|
|
3281
|
-
"declarations": [
|
|
3282
|
-
{
|
|
3283
|
-
"kind": "class",
|
|
3284
|
-
"description": "",
|
|
3285
|
-
"name": "CopioCarousel",
|
|
3286
|
-
"members": [
|
|
3287
|
-
{
|
|
3288
|
-
"kind": "field",
|
|
3289
|
-
"name": "hasImages",
|
|
3290
|
-
"readonly": true
|
|
3291
|
-
},
|
|
3292
|
-
{
|
|
3293
|
-
"kind": "field",
|
|
3294
|
-
"name": "hasMarkdown",
|
|
3295
|
-
"readonly": true
|
|
3296
|
-
},
|
|
3297
|
-
{
|
|
3298
|
-
"kind": "field",
|
|
3299
|
-
"name": "pageCount",
|
|
3300
|
-
"readonly": true
|
|
3301
|
-
},
|
|
3302
|
-
{
|
|
3303
|
-
"kind": "method",
|
|
3304
|
-
"name": "handleBackClick"
|
|
3305
|
-
},
|
|
3306
|
-
{
|
|
3307
|
-
"kind": "method",
|
|
3308
|
-
"name": "handleOcrClick"
|
|
3309
|
-
},
|
|
3310
|
-
{
|
|
3311
|
-
"kind": "method",
|
|
3312
|
-
"name": "handleExportSelect",
|
|
3313
|
-
"parameters": [
|
|
3314
|
-
{
|
|
3315
|
-
"name": "e"
|
|
3316
|
-
}
|
|
3317
|
-
]
|
|
3318
|
-
},
|
|
3319
|
-
{
|
|
3320
|
-
"kind": "method",
|
|
3321
|
-
"name": "handleSlideChange",
|
|
3322
|
-
"parameters": [
|
|
3323
|
-
{
|
|
3324
|
-
"name": "e"
|
|
3325
|
-
}
|
|
3326
|
-
]
|
|
3327
|
-
},
|
|
3328
|
-
{
|
|
3329
|
-
"kind": "method",
|
|
3330
|
-
"name": "renderItem",
|
|
3331
|
-
"parameters": [
|
|
3332
|
-
{
|
|
3333
|
-
"name": "img"
|
|
3334
|
-
}
|
|
3335
|
-
]
|
|
3336
|
-
},
|
|
3337
|
-
{
|
|
3338
|
-
"kind": "field",
|
|
3339
|
-
"name": "docId",
|
|
3340
|
-
"privacy": "public",
|
|
3341
|
-
"type": {
|
|
3342
|
-
"text": "string"
|
|
3343
|
-
},
|
|
3344
|
-
"default": "''",
|
|
3345
|
-
"attribute": "docId"
|
|
3346
|
-
},
|
|
3347
|
-
{
|
|
3348
|
-
"kind": "field",
|
|
3349
|
-
"name": "docName",
|
|
3350
|
-
"privacy": "public",
|
|
3351
|
-
"type": {
|
|
3352
|
-
"text": "string"
|
|
3353
|
-
},
|
|
3354
|
-
"default": "''",
|
|
3355
|
-
"attribute": "docName"
|
|
3356
|
-
},
|
|
3357
|
-
{
|
|
3358
|
-
"kind": "field",
|
|
3359
|
-
"name": "images",
|
|
3360
|
-
"privacy": "public",
|
|
3361
|
-
"type": {
|
|
3362
|
-
"text": "array"
|
|
3363
|
-
},
|
|
3364
|
-
"default": "[]",
|
|
3365
|
-
"attribute": "images"
|
|
3366
|
-
},
|
|
3367
|
-
{
|
|
3368
|
-
"kind": "field",
|
|
3369
|
-
"name": "activeSlideIndex",
|
|
3370
|
-
"privacy": "public",
|
|
3371
|
-
"type": {
|
|
3372
|
-
"text": "number"
|
|
3373
|
-
},
|
|
3374
|
-
"default": "0",
|
|
3375
|
-
"attribute": "activeSlideIndex"
|
|
3376
|
-
},
|
|
3377
|
-
{
|
|
3378
|
-
"kind": "field",
|
|
3379
|
-
"name": "ocr",
|
|
3380
|
-
"privacy": "public",
|
|
3381
|
-
"type": {
|
|
3382
|
-
"text": "boolean"
|
|
3383
|
-
},
|
|
3384
|
-
"default": "true",
|
|
3385
|
-
"attribute": "ocr"
|
|
3386
|
-
},
|
|
3387
|
-
{
|
|
3388
|
-
"kind": "field",
|
|
3389
|
-
"name": "pdf",
|
|
3390
|
-
"privacy": "public",
|
|
3391
|
-
"type": {
|
|
3392
|
-
"text": "boolean"
|
|
3393
|
-
},
|
|
3394
|
-
"default": "true",
|
|
3395
|
-
"attribute": "pdf"
|
|
3396
|
-
}
|
|
3397
|
-
],
|
|
3398
|
-
"events": [
|
|
3399
|
-
{
|
|
3400
|
-
"name": "dialog:close",
|
|
3401
|
-
"type": {
|
|
3402
|
-
"text": "CustomEvent"
|
|
3403
|
-
}
|
|
3404
|
-
},
|
|
3405
|
-
{
|
|
3406
|
-
"name": "copio:ocr-page",
|
|
3407
|
-
"type": {
|
|
3408
|
-
"text": "CustomEvent"
|
|
3409
|
-
}
|
|
3410
|
-
},
|
|
3411
|
-
{
|
|
3412
|
-
"name": "doc:download-pdf",
|
|
3413
|
-
"type": {
|
|
3414
|
-
"text": "CustomEvent"
|
|
3415
|
-
}
|
|
3416
|
-
},
|
|
3417
|
-
{
|
|
3418
|
-
"name": "doc:download-images",
|
|
3419
|
-
"type": {
|
|
3420
|
-
"text": "CustomEvent"
|
|
3421
|
-
}
|
|
3422
|
-
},
|
|
3423
|
-
{
|
|
3424
|
-
"name": "doc:download-markdown",
|
|
3425
|
-
"type": {
|
|
3426
|
-
"text": "CustomEvent"
|
|
3427
|
-
}
|
|
3428
|
-
}
|
|
3429
|
-
],
|
|
3430
|
-
"attributes": [
|
|
3431
|
-
{
|
|
3432
|
-
"name": "docId",
|
|
3433
|
-
"type": {
|
|
3434
|
-
"text": "string"
|
|
3435
|
-
},
|
|
3436
|
-
"default": "''",
|
|
3437
|
-
"fieldName": "docId"
|
|
3438
|
-
},
|
|
3439
|
-
{
|
|
3440
|
-
"name": "docName",
|
|
3441
|
-
"type": {
|
|
3442
|
-
"text": "string"
|
|
3443
|
-
},
|
|
3444
|
-
"default": "''",
|
|
3445
|
-
"fieldName": "docName"
|
|
3446
|
-
},
|
|
3447
|
-
{
|
|
3448
|
-
"name": "images",
|
|
3449
|
-
"type": {
|
|
3450
|
-
"text": "array"
|
|
3451
|
-
},
|
|
3452
|
-
"default": "[]",
|
|
3453
|
-
"fieldName": "images"
|
|
3454
|
-
},
|
|
3455
|
-
{
|
|
3456
|
-
"name": "activeSlideIndex",
|
|
3457
|
-
"type": {
|
|
3458
|
-
"text": "number"
|
|
3459
|
-
},
|
|
3460
|
-
"default": "0",
|
|
3461
|
-
"fieldName": "activeSlideIndex"
|
|
3462
|
-
},
|
|
3463
|
-
{
|
|
3464
|
-
"name": "ocr",
|
|
3465
|
-
"type": {
|
|
3466
|
-
"text": "boolean"
|
|
3467
|
-
},
|
|
3468
|
-
"default": "true",
|
|
3469
|
-
"fieldName": "ocr"
|
|
3470
|
-
},
|
|
3471
|
-
{
|
|
3472
|
-
"name": "pdf",
|
|
3473
|
-
"type": {
|
|
3474
|
-
"text": "boolean"
|
|
3475
|
-
},
|
|
3476
|
-
"default": "true",
|
|
3477
|
-
"fieldName": "pdf"
|
|
3478
|
-
}
|
|
3479
|
-
],
|
|
3480
|
-
"superclass": {
|
|
3481
|
-
"name": "LitElement",
|
|
3482
|
-
"module": "/js/lib/lit-core.min.js"
|
|
3483
|
-
},
|
|
3484
|
-
"tagName": "copio-carousel",
|
|
3485
|
-
"customElement": true
|
|
3486
|
-
}
|
|
3487
|
-
],
|
|
3488
|
-
"exports": [
|
|
3489
|
-
{
|
|
3490
|
-
"kind": "js",
|
|
3491
|
-
"name": "CopioCarousel",
|
|
3492
|
-
"declaration": {
|
|
3493
|
-
"name": "CopioCarousel",
|
|
3494
|
-
"module": "js/routes/doc/copio-carousel.js"
|
|
3495
|
-
}
|
|
3496
|
-
},
|
|
3497
|
-
{
|
|
3498
|
-
"kind": "custom-element-definition",
|
|
3499
|
-
"name": "copio-carousel",
|
|
3500
|
-
"declaration": {
|
|
3501
|
-
"name": "CopioCarousel",
|
|
3502
|
-
"module": "js/routes/doc/copio-carousel.js"
|
|
3503
|
-
}
|
|
3504
|
-
}
|
|
3505
|
-
]
|
|
3506
|
-
},
|
|
3507
|
-
{
|
|
3508
|
-
"kind": "javascript-module",
|
|
3509
|
-
"path": "js/routes/doc/copio-images.js",
|
|
3510
|
-
"declarations": [
|
|
3511
|
-
{
|
|
3512
|
-
"kind": "class",
|
|
3513
|
-
"description": "",
|
|
3514
|
-
"name": "CopioImages",
|
|
3515
|
-
"members": [
|
|
3516
|
-
{
|
|
3517
|
-
"kind": "field",
|
|
3518
|
-
"name": "#images",
|
|
3519
|
-
"privacy": "private",
|
|
3520
|
-
"type": {
|
|
3521
|
-
"text": "array"
|
|
3522
|
-
},
|
|
3523
|
-
"default": "[]"
|
|
3524
|
-
},
|
|
3525
|
-
{
|
|
3526
|
-
"kind": "field",
|
|
3527
|
-
"name": "#cropper",
|
|
3528
|
-
"privacy": "private",
|
|
3529
|
-
"type": {
|
|
3530
|
-
"text": "null"
|
|
3531
|
-
},
|
|
3532
|
-
"default": "null"
|
|
3533
|
-
},
|
|
3534
|
-
{
|
|
3535
|
-
"kind": "field",
|
|
3536
|
-
"name": "#sortable",
|
|
3537
|
-
"privacy": "private",
|
|
3538
|
-
"type": {
|
|
3539
|
-
"text": "null"
|
|
3540
|
-
},
|
|
3541
|
-
"default": "null"
|
|
3542
|
-
},
|
|
3543
|
-
{
|
|
3544
|
-
"kind": "field",
|
|
3545
|
-
"name": "#cropIndex",
|
|
3546
|
-
"privacy": "private",
|
|
3547
|
-
"type": {
|
|
3548
|
-
"text": "null"
|
|
3549
|
-
},
|
|
3550
|
-
"default": "null"
|
|
3551
|
-
},
|
|
3552
|
-
{
|
|
3553
|
-
"kind": "field",
|
|
3554
|
-
"name": "#textIndex",
|
|
3555
|
-
"privacy": "private",
|
|
3556
|
-
"type": {
|
|
3557
|
-
"text": "null"
|
|
3558
|
-
},
|
|
3559
|
-
"default": "null"
|
|
3560
|
-
},
|
|
3561
|
-
{
|
|
3562
|
-
"kind": "field",
|
|
3563
|
-
"name": "#isInitialized",
|
|
3564
|
-
"privacy": "private",
|
|
3565
|
-
"type": {
|
|
3566
|
-
"text": "boolean"
|
|
3567
|
-
},
|
|
3568
|
-
"default": "false"
|
|
3569
|
-
},
|
|
3570
|
-
{
|
|
3571
|
-
"kind": "field",
|
|
3572
|
-
"name": "#abortController",
|
|
3573
|
-
"privacy": "private",
|
|
3574
|
-
"type": {
|
|
3575
|
-
"text": "null"
|
|
3576
|
-
},
|
|
3577
|
-
"default": "null"
|
|
3578
|
-
},
|
|
3579
|
-
{
|
|
3580
|
-
"kind": "field",
|
|
3581
|
-
"name": "#createdObjectUrls",
|
|
3582
|
-
"privacy": "private",
|
|
3583
|
-
"default": "new Set()"
|
|
3584
|
-
},
|
|
3585
|
-
{
|
|
3586
|
-
"kind": "field",
|
|
3587
|
-
"name": "#activeCameraStream",
|
|
3588
|
-
"privacy": "private",
|
|
3589
|
-
"type": {
|
|
3590
|
-
"text": "null"
|
|
3591
|
-
},
|
|
3592
|
-
"default": "null"
|
|
3593
|
-
},
|
|
3594
|
-
{
|
|
3595
|
-
"kind": "field",
|
|
3596
|
-
"name": "#ocr",
|
|
3597
|
-
"privacy": "private",
|
|
3598
|
-
"type": {
|
|
3599
|
-
"text": "boolean"
|
|
3600
|
-
},
|
|
3601
|
-
"default": "true"
|
|
3602
|
-
},
|
|
3603
|
-
{
|
|
3604
|
-
"kind": "field",
|
|
3605
|
-
"name": "#pdf",
|
|
3606
|
-
"privacy": "private",
|
|
3607
|
-
"type": {
|
|
3608
|
-
"text": "boolean"
|
|
3609
|
-
},
|
|
3610
|
-
"default": "true"
|
|
3611
|
-
},
|
|
3612
|
-
{
|
|
3613
|
-
"kind": "method",
|
|
3614
|
-
"name": "setCameraStream",
|
|
3615
|
-
"parameters": [
|
|
3616
|
-
{
|
|
3617
|
-
"name": "stream"
|
|
3618
|
-
}
|
|
3619
|
-
]
|
|
3620
|
-
},
|
|
3621
|
-
{
|
|
3622
|
-
"kind": "method",
|
|
3623
|
-
"name": "stopCamera"
|
|
3624
|
-
},
|
|
3625
|
-
{
|
|
3626
|
-
"kind": "method",
|
|
3627
|
-
"name": "#trackObjectUrl",
|
|
3628
|
-
"privacy": "private",
|
|
3629
|
-
"parameters": [
|
|
3630
|
-
{
|
|
3631
|
-
"name": "url"
|
|
3632
|
-
}
|
|
3633
|
-
]
|
|
3634
|
-
},
|
|
3635
|
-
{
|
|
3636
|
-
"kind": "method",
|
|
3637
|
-
"name": "#revokeObjectUrl",
|
|
3638
|
-
"privacy": "private",
|
|
3639
|
-
"parameters": [
|
|
3640
|
-
{
|
|
3641
|
-
"name": "url"
|
|
3642
|
-
}
|
|
3643
|
-
]
|
|
3644
|
-
},
|
|
3645
|
-
{
|
|
3646
|
-
"kind": "method",
|
|
3647
|
-
"name": "#revokeAllObjectUrls",
|
|
3648
|
-
"privacy": "private"
|
|
3649
|
-
},
|
|
3650
|
-
{
|
|
3651
|
-
"kind": "method",
|
|
3652
|
-
"name": "#initShell",
|
|
3653
|
-
"privacy": "private"
|
|
3654
|
-
},
|
|
3655
|
-
{
|
|
3656
|
-
"kind": "method",
|
|
3657
|
-
"name": "#renderGrid",
|
|
3658
|
-
"privacy": "private"
|
|
3659
|
-
},
|
|
3660
|
-
{
|
|
3661
|
-
"kind": "method",
|
|
3662
|
-
"name": "#setupSortable",
|
|
3663
|
-
"privacy": "private",
|
|
3664
|
-
"parameters": [
|
|
3665
|
-
{
|
|
3666
|
-
"name": "container"
|
|
3667
|
-
}
|
|
3668
|
-
]
|
|
3669
|
-
},
|
|
3670
|
-
{
|
|
3671
|
-
"kind": "method",
|
|
3672
|
-
"name": "openCropDialog",
|
|
3673
|
-
"parameters": [
|
|
3674
|
-
{
|
|
3675
|
-
"name": "index"
|
|
3676
|
-
}
|
|
3677
|
-
]
|
|
3678
|
-
},
|
|
3679
|
-
{
|
|
3680
|
-
"kind": "method",
|
|
3681
|
-
"name": "closeCropDialog"
|
|
3682
|
-
},
|
|
3683
|
-
{
|
|
3684
|
-
"kind": "method",
|
|
3685
|
-
"name": "applyCrop"
|
|
3686
|
-
},
|
|
3687
|
-
{
|
|
3688
|
-
"kind": "method",
|
|
3689
|
-
"name": "rotateImage",
|
|
3690
|
-
"parameters": [
|
|
3691
|
-
{
|
|
3692
|
-
"name": "index"
|
|
3693
|
-
}
|
|
3694
|
-
]
|
|
3695
|
-
},
|
|
3696
|
-
{
|
|
3697
|
-
"kind": "method",
|
|
3698
|
-
"name": "thresholdImage",
|
|
3699
|
-
"parameters": [
|
|
3700
|
-
{
|
|
3701
|
-
"name": "index"
|
|
3702
|
-
}
|
|
3703
|
-
]
|
|
3704
|
-
},
|
|
3705
|
-
{
|
|
3706
|
-
"kind": "method",
|
|
3707
|
-
"name": "resetImage",
|
|
3708
|
-
"parameters": [
|
|
3709
|
-
{
|
|
3710
|
-
"name": "index"
|
|
3711
|
-
}
|
|
3712
|
-
]
|
|
3713
|
-
},
|
|
3714
|
-
{
|
|
3715
|
-
"kind": "method",
|
|
3716
|
-
"name": "addBlankNote"
|
|
3717
|
-
},
|
|
3718
|
-
{
|
|
3719
|
-
"kind": "method",
|
|
3720
|
-
"name": "downloadImage",
|
|
3721
|
-
"parameters": [
|
|
3722
|
-
{
|
|
3723
|
-
"name": "index"
|
|
3724
|
-
}
|
|
3725
|
-
]
|
|
3726
|
-
},
|
|
3727
|
-
{
|
|
3728
|
-
"kind": "method",
|
|
3729
|
-
"name": "openTextDialog",
|
|
3730
|
-
"parameters": [
|
|
3731
|
-
{
|
|
3732
|
-
"name": "index"
|
|
3733
|
-
}
|
|
3734
|
-
]
|
|
3735
|
-
},
|
|
3736
|
-
{
|
|
3737
|
-
"kind": "method",
|
|
3738
|
-
"name": "applyTextEdit"
|
|
3739
|
-
},
|
|
3740
|
-
{
|
|
3741
|
-
"kind": "method",
|
|
3742
|
-
"name": "closeTextDialog"
|
|
3743
|
-
},
|
|
3744
|
-
{
|
|
3745
|
-
"kind": "method",
|
|
3746
|
-
"name": "showImageData",
|
|
3747
|
-
"parameters": [
|
|
3748
|
-
{
|
|
3749
|
-
"name": "index"
|
|
3750
|
-
}
|
|
3751
|
-
]
|
|
3752
|
-
},
|
|
3753
|
-
{
|
|
3754
|
-
"kind": "method",
|
|
3755
|
-
"name": "pdfToImages",
|
|
3756
|
-
"parameters": [
|
|
3757
|
-
{
|
|
3758
|
-
"name": "file"
|
|
3759
|
-
}
|
|
3760
|
-
]
|
|
3761
|
-
},
|
|
3762
|
-
{
|
|
3763
|
-
"kind": "method",
|
|
3764
|
-
"name": "addFiles",
|
|
3765
|
-
"parameters": [
|
|
3766
|
-
{
|
|
3767
|
-
"name": "files"
|
|
3768
|
-
}
|
|
3769
|
-
]
|
|
3770
|
-
},
|
|
3771
|
-
{
|
|
3772
|
-
"kind": "field",
|
|
3773
|
-
"name": "ocr"
|
|
3774
|
-
},
|
|
3775
|
-
{
|
|
3776
|
-
"kind": "field",
|
|
3777
|
-
"name": "pdf"
|
|
3778
|
-
},
|
|
3779
|
-
{
|
|
3780
|
-
"kind": "field",
|
|
3781
|
-
"name": "images"
|
|
3782
|
-
}
|
|
3783
|
-
],
|
|
3784
|
-
"events": [
|
|
3785
|
-
{
|
|
3786
|
-
"name": "copio:ocr-page",
|
|
3787
|
-
"type": {
|
|
3788
|
-
"text": "CustomEvent"
|
|
3789
|
-
}
|
|
3790
|
-
}
|
|
3791
|
-
],
|
|
3792
|
-
"superclass": {
|
|
3793
|
-
"name": "HTMLElement"
|
|
3794
|
-
},
|
|
3795
|
-
"tagName": "copio-images",
|
|
3796
|
-
"customElement": true
|
|
3797
|
-
}
|
|
3798
|
-
],
|
|
3799
|
-
"exports": [
|
|
3800
|
-
{
|
|
3801
|
-
"kind": "js",
|
|
3802
|
-
"name": "CopioImages",
|
|
3803
|
-
"declaration": {
|
|
3804
|
-
"name": "CopioImages",
|
|
3805
|
-
"module": "js/routes/doc/copio-images.js"
|
|
3806
|
-
}
|
|
3807
|
-
},
|
|
3808
|
-
{
|
|
3809
|
-
"kind": "custom-element-definition",
|
|
3810
|
-
"name": "copio-images",
|
|
3811
|
-
"declaration": {
|
|
3812
|
-
"name": "CopioImages",
|
|
3813
|
-
"module": "js/routes/doc/copio-images.js"
|
|
3814
|
-
}
|
|
3815
|
-
}
|
|
3816
|
-
]
|
|
3817
|
-
},
|
|
3818
|
-
{
|
|
3819
|
-
"kind": "javascript-module",
|
|
3820
|
-
"path": "js/routes/ocr/copio-doc-ocr-dialog.js",
|
|
3821
|
-
"declarations": [
|
|
3822
|
-
{
|
|
3823
|
-
"kind": "class",
|
|
3824
|
-
"description": "",
|
|
3825
|
-
"name": "CopioDocOcrDialog",
|
|
3826
|
-
"members": [
|
|
3827
|
-
{
|
|
3828
|
-
"kind": "field",
|
|
3829
|
-
"name": "#abortController",
|
|
3830
|
-
"privacy": "private",
|
|
3831
|
-
"type": {
|
|
3832
|
-
"text": "null"
|
|
3833
|
-
},
|
|
3834
|
-
"default": "null"
|
|
3835
|
-
},
|
|
3836
|
-
{
|
|
3837
|
-
"kind": "method",
|
|
3838
|
-
"name": "open",
|
|
3839
|
-
"parameters": [
|
|
3840
|
-
{
|
|
3841
|
-
"name": "docId",
|
|
3842
|
-
"type": {
|
|
3843
|
-
"text": "string"
|
|
3844
|
-
}
|
|
3845
|
-
},
|
|
3846
|
-
{
|
|
3847
|
-
"name": "docName",
|
|
3848
|
-
"type": {
|
|
3849
|
-
"text": "string"
|
|
3850
|
-
}
|
|
3851
|
-
},
|
|
3852
|
-
{
|
|
3853
|
-
"name": "pages",
|
|
3854
|
-
"type": {
|
|
3855
|
-
"text": "Array"
|
|
3856
|
-
}
|
|
3857
|
-
},
|
|
3858
|
-
{
|
|
3859
|
-
"name": "lang",
|
|
3860
|
-
"default": "'eng'",
|
|
3861
|
-
"optional": true,
|
|
3862
|
-
"type": {
|
|
3863
|
-
"text": "string"
|
|
3864
|
-
}
|
|
3865
|
-
}
|
|
3866
|
-
],
|
|
3867
|
-
"description": "Open for a full document (all image pages)."
|
|
3868
|
-
},
|
|
3869
|
-
{
|
|
3870
|
-
"kind": "method",
|
|
3871
|
-
"name": "openPage",
|
|
3872
|
-
"parameters": [
|
|
3873
|
-
{
|
|
3874
|
-
"name": "docId",
|
|
3875
|
-
"type": {
|
|
3876
|
-
"text": "string"
|
|
3877
|
-
}
|
|
3878
|
-
},
|
|
3879
|
-
{
|
|
3880
|
-
"name": "docName",
|
|
3881
|
-
"type": {
|
|
3882
|
-
"text": "string"
|
|
3883
|
-
}
|
|
3884
|
-
},
|
|
3885
|
-
{
|
|
3886
|
-
"name": "page",
|
|
3887
|
-
"description": "– the single image page object",
|
|
3888
|
-
"type": {
|
|
3889
|
-
"text": "{ id: string, src: string }"
|
|
3890
|
-
}
|
|
3891
|
-
},
|
|
3892
|
-
{
|
|
3893
|
-
"name": "pageIndex",
|
|
3894
|
-
"description": "– its index in the document pages array",
|
|
3895
|
-
"type": {
|
|
3896
|
-
"text": "number"
|
|
3897
|
-
}
|
|
3898
|
-
},
|
|
3899
|
-
{
|
|
3900
|
-
"name": "lang",
|
|
3901
|
-
"default": "'eng'",
|
|
3902
|
-
"optional": true,
|
|
3903
|
-
"type": {
|
|
3904
|
-
"text": "string"
|
|
3905
|
-
}
|
|
3906
|
-
}
|
|
3907
|
-
],
|
|
3908
|
-
"description": "Open for a single page (from the page grid or carousel)."
|
|
3909
|
-
},
|
|
3910
|
-
{
|
|
3911
|
-
"kind": "method",
|
|
3912
|
-
"name": "_openInternal",
|
|
3913
|
-
"parameters": [
|
|
3914
|
-
{
|
|
3915
|
-
"name": "docId"
|
|
3916
|
-
},
|
|
3917
|
-
{
|
|
3918
|
-
"name": "docName"
|
|
3919
|
-
},
|
|
3920
|
-
{
|
|
3921
|
-
"name": "pages"
|
|
3922
|
-
},
|
|
3923
|
-
{
|
|
3924
|
-
"name": "lang"
|
|
3925
|
-
}
|
|
3926
|
-
]
|
|
3927
|
-
},
|
|
3928
|
-
{
|
|
3929
|
-
"kind": "field",
|
|
3930
|
-
"name": "cancel"
|
|
3931
|
-
},
|
|
3932
|
-
{
|
|
3933
|
-
"kind": "field",
|
|
3934
|
-
"name": "close"
|
|
3935
|
-
},
|
|
3936
|
-
{
|
|
3937
|
-
"kind": "method",
|
|
3938
|
-
"name": "startOcr",
|
|
3939
|
-
"parameters": [
|
|
3940
|
-
{
|
|
3941
|
-
"name": "lang",
|
|
3942
|
-
"default": "'eng'"
|
|
3943
|
-
}
|
|
3944
|
-
]
|
|
3945
|
-
},
|
|
3946
|
-
{
|
|
3947
|
-
"kind": "field",
|
|
3948
|
-
"name": "handleLangChange"
|
|
3949
|
-
},
|
|
3950
|
-
{
|
|
3951
|
-
"kind": "field",
|
|
3952
|
-
"name": "handleTextInput"
|
|
3953
|
-
},
|
|
3954
|
-
{
|
|
3955
|
-
"kind": "field",
|
|
3956
|
-
"name": "copyText"
|
|
3957
|
-
},
|
|
3958
|
-
{
|
|
3959
|
-
"kind": "field",
|
|
3960
|
-
"name": "downloadMarkdown"
|
|
3961
|
-
},
|
|
3962
|
-
{
|
|
3963
|
-
"kind": "field",
|
|
3964
|
-
"name": "downloadText"
|
|
3965
|
-
},
|
|
3966
|
-
{
|
|
3967
|
-
"kind": "field",
|
|
3968
|
-
"name": "saveAsNote"
|
|
3969
|
-
},
|
|
3970
|
-
{
|
|
3971
|
-
"kind": "field",
|
|
3972
|
-
"name": "_isSinglePage",
|
|
3973
|
-
"readonly": true
|
|
3974
|
-
},
|
|
3975
|
-
{
|
|
3976
|
-
"kind": "field",
|
|
3977
|
-
"name": "_dialogLabel",
|
|
3978
|
-
"readonly": true
|
|
3979
|
-
},
|
|
3980
|
-
{
|
|
3981
|
-
"kind": "field",
|
|
3982
|
-
"name": "isOpen",
|
|
3983
|
-
"privacy": "public",
|
|
3984
|
-
"type": {
|
|
3985
|
-
"text": "boolean"
|
|
3986
|
-
},
|
|
3987
|
-
"default": "false",
|
|
3988
|
-
"attribute": "isOpen"
|
|
3989
|
-
},
|
|
3990
|
-
{
|
|
3991
|
-
"kind": "field",
|
|
3992
|
-
"name": "docId",
|
|
3993
|
-
"privacy": "public",
|
|
3994
|
-
"type": {
|
|
3995
|
-
"text": "string"
|
|
3996
|
-
},
|
|
3997
|
-
"default": "''",
|
|
3998
|
-
"attribute": "docId"
|
|
3999
|
-
},
|
|
4000
|
-
{
|
|
4001
|
-
"kind": "field",
|
|
4002
|
-
"name": "docName",
|
|
4003
|
-
"privacy": "public",
|
|
4004
|
-
"type": {
|
|
4005
|
-
"text": "string"
|
|
4006
|
-
},
|
|
4007
|
-
"default": "''",
|
|
4008
|
-
"attribute": "docName"
|
|
4009
|
-
},
|
|
4010
|
-
{
|
|
4011
|
-
"kind": "field",
|
|
4012
|
-
"name": "pages",
|
|
4013
|
-
"privacy": "public",
|
|
4014
|
-
"type": {
|
|
4015
|
-
"text": "array"
|
|
4016
|
-
},
|
|
4017
|
-
"default": "[]",
|
|
4018
|
-
"attribute": "pages"
|
|
4019
|
-
},
|
|
4020
|
-
{
|
|
4021
|
-
"kind": "field",
|
|
4022
|
-
"name": "lang",
|
|
4023
|
-
"privacy": "public",
|
|
4024
|
-
"type": {
|
|
4025
|
-
"text": "string"
|
|
4026
|
-
},
|
|
4027
|
-
"default": "'eng'",
|
|
4028
|
-
"attribute": "lang"
|
|
4029
|
-
},
|
|
4030
|
-
{
|
|
4031
|
-
"kind": "field",
|
|
4032
|
-
"name": "step",
|
|
4033
|
-
"privacy": "public",
|
|
4034
|
-
"type": {
|
|
4035
|
-
"text": "string"
|
|
4036
|
-
},
|
|
4037
|
-
"default": "'processing'",
|
|
4038
|
-
"attribute": "step"
|
|
4039
|
-
},
|
|
4040
|
-
{
|
|
4041
|
-
"kind": "field",
|
|
4042
|
-
"name": "progress",
|
|
4043
|
-
"privacy": "public",
|
|
4044
|
-
"type": {
|
|
4045
|
-
"text": "number"
|
|
4046
|
-
},
|
|
4047
|
-
"default": "0",
|
|
4048
|
-
"attribute": "progress"
|
|
4049
|
-
},
|
|
4050
|
-
{
|
|
4051
|
-
"kind": "field",
|
|
4052
|
-
"name": "statusMessage",
|
|
4053
|
-
"privacy": "public",
|
|
4054
|
-
"type": {
|
|
4055
|
-
"text": "string"
|
|
4056
|
-
},
|
|
4057
|
-
"default": "'Starting OCR engine...'",
|
|
4058
|
-
"attribute": "statusMessage"
|
|
4059
|
-
},
|
|
4060
|
-
{
|
|
4061
|
-
"kind": "field",
|
|
4062
|
-
"name": "resultText",
|
|
4063
|
-
"privacy": "public",
|
|
4064
|
-
"type": {
|
|
4065
|
-
"text": "string"
|
|
4066
|
-
},
|
|
4067
|
-
"default": "''",
|
|
4068
|
-
"attribute": "resultText"
|
|
4069
|
-
},
|
|
4070
|
-
{
|
|
4071
|
-
"kind": "field",
|
|
4072
|
-
"name": "confidence",
|
|
4073
|
-
"privacy": "public",
|
|
4074
|
-
"type": {
|
|
4075
|
-
"text": "number"
|
|
4076
|
-
},
|
|
4077
|
-
"default": "0",
|
|
4078
|
-
"attribute": "confidence"
|
|
4079
|
-
},
|
|
4080
|
-
{
|
|
4081
|
-
"kind": "field",
|
|
4082
|
-
"name": "copied",
|
|
4083
|
-
"privacy": "public",
|
|
4084
|
-
"type": {
|
|
4085
|
-
"text": "boolean"
|
|
4086
|
-
},
|
|
4087
|
-
"default": "false",
|
|
4088
|
-
"attribute": "copied"
|
|
4089
|
-
},
|
|
4090
|
-
{
|
|
4091
|
-
"kind": "field",
|
|
4092
|
-
"name": "_pageIndex",
|
|
4093
|
-
"type": {
|
|
4094
|
-
"text": "null"
|
|
4095
|
-
},
|
|
4096
|
-
"default": "null"
|
|
4097
|
-
}
|
|
4098
|
-
],
|
|
4099
|
-
"attributes": [
|
|
4100
|
-
{
|
|
4101
|
-
"name": "isOpen",
|
|
4102
|
-
"type": {
|
|
4103
|
-
"text": "boolean"
|
|
4104
|
-
},
|
|
4105
|
-
"default": "false",
|
|
4106
|
-
"fieldName": "isOpen"
|
|
4107
|
-
},
|
|
4108
|
-
{
|
|
4109
|
-
"name": "docId",
|
|
4110
|
-
"type": {
|
|
4111
|
-
"text": "string"
|
|
4112
|
-
},
|
|
4113
|
-
"default": "''",
|
|
4114
|
-
"fieldName": "docId"
|
|
4115
|
-
},
|
|
4116
|
-
{
|
|
4117
|
-
"name": "docName",
|
|
4118
|
-
"type": {
|
|
4119
|
-
"text": "string"
|
|
4120
|
-
},
|
|
4121
|
-
"default": "''",
|
|
4122
|
-
"fieldName": "docName"
|
|
4123
|
-
},
|
|
4124
|
-
{
|
|
4125
|
-
"name": "pages",
|
|
4126
|
-
"type": {
|
|
4127
|
-
"text": "array"
|
|
4128
|
-
},
|
|
4129
|
-
"default": "[]",
|
|
4130
|
-
"fieldName": "pages"
|
|
4131
|
-
},
|
|
4132
|
-
{
|
|
4133
|
-
"name": "lang",
|
|
4134
|
-
"type": {
|
|
4135
|
-
"text": "string"
|
|
4136
|
-
},
|
|
4137
|
-
"default": "'eng'",
|
|
4138
|
-
"fieldName": "lang"
|
|
4139
|
-
},
|
|
4140
|
-
{
|
|
4141
|
-
"name": "step",
|
|
4142
|
-
"type": {
|
|
4143
|
-
"text": "string"
|
|
4144
|
-
},
|
|
4145
|
-
"default": "'processing'",
|
|
4146
|
-
"fieldName": "step"
|
|
4147
|
-
},
|
|
4148
|
-
{
|
|
4149
|
-
"name": "progress",
|
|
4150
|
-
"type": {
|
|
4151
|
-
"text": "number"
|
|
4152
|
-
},
|
|
4153
|
-
"default": "0",
|
|
4154
|
-
"fieldName": "progress"
|
|
4155
|
-
},
|
|
4156
|
-
{
|
|
4157
|
-
"name": "statusMessage",
|
|
4158
|
-
"type": {
|
|
4159
|
-
"text": "string"
|
|
4160
|
-
},
|
|
4161
|
-
"default": "'Starting OCR engine...'",
|
|
4162
|
-
"fieldName": "statusMessage"
|
|
4163
|
-
},
|
|
4164
|
-
{
|
|
4165
|
-
"name": "resultText",
|
|
4166
|
-
"type": {
|
|
4167
|
-
"text": "string"
|
|
4168
|
-
},
|
|
4169
|
-
"default": "''",
|
|
4170
|
-
"fieldName": "resultText"
|
|
4171
|
-
},
|
|
4172
|
-
{
|
|
4173
|
-
"name": "confidence",
|
|
4174
|
-
"type": {
|
|
4175
|
-
"text": "number"
|
|
4176
|
-
},
|
|
4177
|
-
"default": "0",
|
|
4178
|
-
"fieldName": "confidence"
|
|
4179
|
-
},
|
|
4180
|
-
{
|
|
4181
|
-
"name": "copied",
|
|
4182
|
-
"type": {
|
|
4183
|
-
"text": "boolean"
|
|
4184
|
-
},
|
|
4185
|
-
"default": "false",
|
|
4186
|
-
"fieldName": "copied"
|
|
4187
|
-
}
|
|
4188
|
-
],
|
|
4189
|
-
"superclass": {
|
|
4190
|
-
"name": "LitElement",
|
|
4191
|
-
"module": "/js/lib/lit-core.min.js"
|
|
4192
|
-
},
|
|
4193
|
-
"tagName": "copio-doc-ocr-dialog",
|
|
4194
|
-
"customElement": true
|
|
4195
|
-
}
|
|
4196
|
-
],
|
|
4197
|
-
"exports": [
|
|
4198
|
-
{
|
|
4199
|
-
"kind": "js",
|
|
4200
|
-
"name": "CopioDocOcrDialog",
|
|
4201
|
-
"declaration": {
|
|
4202
|
-
"name": "CopioDocOcrDialog",
|
|
4203
|
-
"module": "js/routes/ocr/copio-doc-ocr-dialog.js"
|
|
4204
|
-
}
|
|
4205
|
-
},
|
|
4206
|
-
{
|
|
4207
|
-
"kind": "custom-element-definition",
|
|
4208
|
-
"name": "copio-doc-ocr-dialog",
|
|
4209
|
-
"declaration": {
|
|
4210
|
-
"name": "CopioDocOcrDialog",
|
|
4211
|
-
"module": "js/routes/ocr/copio-doc-ocr-dialog.js"
|
|
4212
|
-
}
|
|
4213
|
-
}
|
|
4214
|
-
]
|
|
4215
|
-
},
|
|
4216
|
-
{
|
|
4217
|
-
"kind": "javascript-module",
|
|
4218
|
-
"path": "js/routes/sync/copio-sync-dialog.js",
|
|
4219
|
-
"declarations": [
|
|
4220
|
-
{
|
|
4221
|
-
"kind": "class",
|
|
4222
|
-
"description": "",
|
|
4223
|
-
"name": "CopioSyncDialog",
|
|
4224
|
-
"members": [
|
|
4225
|
-
{
|
|
4226
|
-
"kind": "field",
|
|
4227
|
-
"name": "handleCloseClick"
|
|
4228
|
-
},
|
|
4229
|
-
{
|
|
4230
|
-
"kind": "field",
|
|
4231
|
-
"name": "closeSyncDialog"
|
|
4232
|
-
},
|
|
4233
|
-
{
|
|
4234
|
-
"kind": "field",
|
|
4235
|
-
"name": "syncState",
|
|
4236
|
-
"privacy": "public",
|
|
4237
|
-
"type": {
|
|
4238
|
-
"text": "object"
|
|
4239
|
-
},
|
|
4240
|
-
"attribute": "syncState"
|
|
4241
|
-
}
|
|
4242
|
-
],
|
|
4243
|
-
"attributes": [
|
|
4244
|
-
{
|
|
4245
|
-
"name": "syncState",
|
|
4246
|
-
"type": {
|
|
4247
|
-
"text": "object"
|
|
4248
|
-
},
|
|
4249
|
-
"fieldName": "syncState"
|
|
4250
|
-
}
|
|
4251
|
-
],
|
|
4252
|
-
"superclass": {
|
|
4253
|
-
"name": "LitElement",
|
|
4254
|
-
"module": "/js/lib/lit-core.min.js"
|
|
4255
|
-
},
|
|
4256
|
-
"tagName": "copio-sync-dialog",
|
|
4257
|
-
"customElement": true
|
|
4258
|
-
}
|
|
4259
|
-
],
|
|
4260
|
-
"exports": [
|
|
4261
|
-
{
|
|
4262
|
-
"kind": "js",
|
|
4263
|
-
"name": "CopioSyncDialog",
|
|
4264
|
-
"declaration": {
|
|
4265
|
-
"name": "CopioSyncDialog",
|
|
4266
|
-
"module": "js/routes/sync/copio-sync-dialog.js"
|
|
4267
|
-
}
|
|
4268
|
-
},
|
|
4269
|
-
{
|
|
4270
|
-
"kind": "custom-element-definition",
|
|
4271
|
-
"name": "copio-sync-dialog",
|
|
4272
|
-
"declaration": {
|
|
4273
|
-
"name": "CopioSyncDialog",
|
|
4274
|
-
"module": "js/routes/sync/copio-sync-dialog.js"
|
|
4275
|
-
}
|
|
4276
|
-
}
|
|
4277
|
-
]
|
|
4278
|
-
},
|
|
4279
|
-
{
|
|
4280
|
-
"kind": "javascript-module",
|
|
4281
|
-
"path": "js/components/copio-app.js",
|
|
4282
|
-
"declarations": [
|
|
4283
|
-
{
|
|
4284
|
-
"kind": "class",
|
|
4285
|
-
"description": "",
|
|
4286
|
-
"name": "CopioApp",
|
|
4287
|
-
"members": [
|
|
4288
|
-
{
|
|
4289
|
-
"kind": "field",
|
|
4290
|
-
"name": "#syncManager",
|
|
4291
|
-
"privacy": "private",
|
|
4292
|
-
"type": {
|
|
4293
|
-
"text": "null"
|
|
4294
|
-
},
|
|
4295
|
-
"default": "new SyncManager(this.docRepo, (state) => { this.syncState = state; })"
|
|
4296
|
-
},
|
|
4297
|
-
{
|
|
4298
|
-
"kind": "field",
|
|
4299
|
-
"name": "#unsubscribeRouter",
|
|
4300
|
-
"privacy": "private",
|
|
4301
|
-
"type": {
|
|
4302
|
-
"text": "null"
|
|
4303
|
-
},
|
|
4304
|
-
"default": "null"
|
|
4305
|
-
},
|
|
4306
|
-
{
|
|
4307
|
-
"kind": "field",
|
|
4308
|
-
"name": "#repoUnsubscribe",
|
|
4309
|
-
"privacy": "private",
|
|
4310
|
-
"type": {
|
|
4311
|
-
"text": "null"
|
|
4312
|
-
},
|
|
4313
|
-
"default": "null"
|
|
4314
|
-
},
|
|
4315
|
-
{
|
|
4316
|
-
"kind": "field",
|
|
4317
|
-
"name": "store",
|
|
4318
|
-
"readonly": true
|
|
4319
|
-
},
|
|
4320
|
-
{
|
|
4321
|
-
"kind": "field",
|
|
4322
|
-
"name": "persister",
|
|
4323
|
-
"readonly": true
|
|
4324
|
-
},
|
|
4325
|
-
{
|
|
4326
|
-
"kind": "method",
|
|
4327
|
-
"name": "#refreshDocs",
|
|
4328
|
-
"privacy": "private"
|
|
4329
|
-
},
|
|
4330
|
-
{
|
|
4331
|
-
"kind": "method",
|
|
4332
|
-
"name": "hideLoader"
|
|
4333
|
-
},
|
|
4334
|
-
{
|
|
4335
|
-
"kind": "method",
|
|
4336
|
-
"name": "#handleRouteChange",
|
|
4337
|
-
"privacy": "private",
|
|
4338
|
-
"parameters": [
|
|
3006
|
+
"name": "docName",
|
|
3007
|
+
"type": {
|
|
3008
|
+
"text": "string"
|
|
3009
|
+
}
|
|
3010
|
+
},
|
|
4339
3011
|
{
|
|
4340
|
-
"name": "
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
"kind": "method",
|
|
4346
|
-
"name": "#openAddDialog",
|
|
4347
|
-
"privacy": "private"
|
|
4348
|
-
},
|
|
4349
|
-
{
|
|
4350
|
-
"kind": "method",
|
|
4351
|
-
"name": "handleAddNew"
|
|
4352
|
-
},
|
|
4353
|
-
{
|
|
4354
|
-
"kind": "method",
|
|
4355
|
-
"name": "#requestPersistentStorage",
|
|
4356
|
-
"privacy": "private"
|
|
4357
|
-
},
|
|
4358
|
-
{
|
|
4359
|
-
"kind": "method",
|
|
4360
|
-
"name": "handleAddEditSave",
|
|
4361
|
-
"parameters": [
|
|
3012
|
+
"name": "pages",
|
|
3013
|
+
"type": {
|
|
3014
|
+
"text": "Array"
|
|
3015
|
+
}
|
|
3016
|
+
},
|
|
4362
3017
|
{
|
|
4363
|
-
"name": "
|
|
3018
|
+
"name": "lang",
|
|
3019
|
+
"default": "'eng'",
|
|
3020
|
+
"optional": true,
|
|
3021
|
+
"type": {
|
|
3022
|
+
"text": "string"
|
|
3023
|
+
}
|
|
4364
3024
|
}
|
|
4365
|
-
]
|
|
4366
|
-
|
|
4367
|
-
{
|
|
4368
|
-
"kind": "method",
|
|
4369
|
-
"name": "handleAddEditHide"
|
|
3025
|
+
],
|
|
3026
|
+
"description": "Open for a full document (all image pages)."
|
|
4370
3027
|
},
|
|
4371
3028
|
{
|
|
4372
3029
|
"kind": "method",
|
|
4373
|
-
"name": "
|
|
4374
|
-
"privacy": "private",
|
|
3030
|
+
"name": "openPage",
|
|
4375
3031
|
"parameters": [
|
|
4376
3032
|
{
|
|
4377
|
-
"name": "
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
"kind": "method",
|
|
4383
|
-
"name": "#startSyncHost",
|
|
4384
|
-
"privacy": "private"
|
|
4385
|
-
},
|
|
4386
|
-
{
|
|
4387
|
-
"kind": "method",
|
|
4388
|
-
"name": "#startSyncJoiner",
|
|
4389
|
-
"privacy": "private",
|
|
4390
|
-
"parameters": [
|
|
3033
|
+
"name": "docId",
|
|
3034
|
+
"type": {
|
|
3035
|
+
"text": "string"
|
|
3036
|
+
}
|
|
3037
|
+
},
|
|
4391
3038
|
{
|
|
4392
|
-
"name": "
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
"kind": "method",
|
|
4398
|
-
"name": "handleRowEdit",
|
|
4399
|
-
"parameters": [
|
|
3039
|
+
"name": "docName",
|
|
3040
|
+
"type": {
|
|
3041
|
+
"text": "string"
|
|
3042
|
+
}
|
|
3043
|
+
},
|
|
4400
3044
|
{
|
|
4401
|
-
"name": "
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
"name": "#loadCarouselDoc",
|
|
4408
|
-
"privacy": "private",
|
|
4409
|
-
"parameters": [
|
|
3045
|
+
"name": "page",
|
|
3046
|
+
"description": "– the single image page object",
|
|
3047
|
+
"type": {
|
|
3048
|
+
"text": "{ id: string, src: string }"
|
|
3049
|
+
}
|
|
3050
|
+
},
|
|
4410
3051
|
{
|
|
4411
|
-
"name": "
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
-
"name": "handleRowView",
|
|
4418
|
-
"parameters": [
|
|
3052
|
+
"name": "pageIndex",
|
|
3053
|
+
"description": "– its index in the document pages array",
|
|
3054
|
+
"type": {
|
|
3055
|
+
"text": "number"
|
|
3056
|
+
}
|
|
3057
|
+
},
|
|
4419
3058
|
{
|
|
4420
|
-
"name": "
|
|
3059
|
+
"name": "lang",
|
|
3060
|
+
"default": "'eng'",
|
|
3061
|
+
"optional": true,
|
|
3062
|
+
"type": {
|
|
3063
|
+
"text": "string"
|
|
3064
|
+
}
|
|
4421
3065
|
}
|
|
4422
|
-
]
|
|
3066
|
+
],
|
|
3067
|
+
"description": "Open for a single page (from the page grid or carousel)."
|
|
4423
3068
|
},
|
|
4424
3069
|
{
|
|
4425
3070
|
"kind": "method",
|
|
4426
|
-
"name": "
|
|
3071
|
+
"name": "_openInternal",
|
|
4427
3072
|
"parameters": [
|
|
4428
3073
|
{
|
|
4429
|
-
"name": "
|
|
4430
|
-
}
|
|
4431
|
-
]
|
|
4432
|
-
},
|
|
4433
|
-
{
|
|
4434
|
-
"kind": "method",
|
|
4435
|
-
"name": "handleRowDelete",
|
|
4436
|
-
"parameters": [
|
|
3074
|
+
"name": "docId"
|
|
3075
|
+
},
|
|
4437
3076
|
{
|
|
4438
|
-
"name": "
|
|
4439
|
-
}
|
|
4440
|
-
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
"kind": "method",
|
|
4444
|
-
"name": "handleRowDownload",
|
|
4445
|
-
"parameters": [
|
|
3077
|
+
"name": "docName"
|
|
3078
|
+
},
|
|
3079
|
+
{
|
|
3080
|
+
"name": "pages"
|
|
3081
|
+
},
|
|
4446
3082
|
{
|
|
4447
|
-
"name": "
|
|
3083
|
+
"name": "lang"
|
|
4448
3084
|
}
|
|
4449
3085
|
]
|
|
4450
3086
|
},
|
|
4451
3087
|
{
|
|
4452
|
-
"kind": "
|
|
4453
|
-
"name": "
|
|
4454
|
-
"parameters": [
|
|
4455
|
-
{
|
|
4456
|
-
"name": "e"
|
|
4457
|
-
}
|
|
4458
|
-
]
|
|
3088
|
+
"kind": "field",
|
|
3089
|
+
"name": "cancel"
|
|
4459
3090
|
},
|
|
4460
3091
|
{
|
|
4461
|
-
"kind": "
|
|
4462
|
-
"name": "
|
|
4463
|
-
"parameters": [
|
|
4464
|
-
{
|
|
4465
|
-
"name": "e"
|
|
4466
|
-
}
|
|
4467
|
-
]
|
|
3092
|
+
"kind": "field",
|
|
3093
|
+
"name": "close"
|
|
4468
3094
|
},
|
|
4469
3095
|
{
|
|
4470
3096
|
"kind": "method",
|
|
4471
|
-
"name": "
|
|
3097
|
+
"name": "startOcr",
|
|
4472
3098
|
"parameters": [
|
|
4473
3099
|
{
|
|
4474
|
-
"name": "
|
|
3100
|
+
"name": "lang",
|
|
3101
|
+
"default": "'eng'"
|
|
4475
3102
|
}
|
|
4476
3103
|
]
|
|
4477
3104
|
},
|
|
4478
3105
|
{
|
|
4479
|
-
"kind": "
|
|
4480
|
-
"name": "
|
|
4481
|
-
"parameters": [
|
|
4482
|
-
{
|
|
4483
|
-
"name": "e"
|
|
4484
|
-
}
|
|
4485
|
-
]
|
|
3106
|
+
"kind": "field",
|
|
3107
|
+
"name": "handleLangChange"
|
|
4486
3108
|
},
|
|
4487
3109
|
{
|
|
4488
|
-
"kind": "
|
|
4489
|
-
"name": "
|
|
4490
|
-
"parameters": [
|
|
4491
|
-
{
|
|
4492
|
-
"name": "e"
|
|
4493
|
-
}
|
|
4494
|
-
]
|
|
3110
|
+
"kind": "field",
|
|
3111
|
+
"name": "handleTextInput"
|
|
4495
3112
|
},
|
|
4496
3113
|
{
|
|
4497
|
-
"kind": "
|
|
4498
|
-
"name": "
|
|
4499
|
-
"parameters": [
|
|
4500
|
-
{
|
|
4501
|
-
"name": "e"
|
|
4502
|
-
}
|
|
4503
|
-
]
|
|
3114
|
+
"kind": "field",
|
|
3115
|
+
"name": "copyText"
|
|
4504
3116
|
},
|
|
4505
3117
|
{
|
|
4506
|
-
"kind": "
|
|
4507
|
-
"name": "
|
|
4508
|
-
"parameters": [
|
|
4509
|
-
{
|
|
4510
|
-
"name": "e"
|
|
4511
|
-
}
|
|
4512
|
-
],
|
|
4513
|
-
"description": "Handle copio:ocr-page — fired by copio-images (page grid) or copio-carousel.\nDetermines the current document from the active route and opens the shared\nOCR dialog in single-page mode via openPage()."
|
|
3118
|
+
"kind": "field",
|
|
3119
|
+
"name": "downloadText"
|
|
4514
3120
|
},
|
|
4515
3121
|
{
|
|
4516
|
-
"kind": "
|
|
4517
|
-
"name": "
|
|
4518
|
-
"
|
|
4519
|
-
{
|
|
4520
|
-
"name": "e"
|
|
4521
|
-
}
|
|
4522
|
-
]
|
|
3122
|
+
"kind": "field",
|
|
3123
|
+
"name": "_isSinglePage",
|
|
3124
|
+
"readonly": true
|
|
4523
3125
|
},
|
|
4524
3126
|
{
|
|
4525
|
-
"kind": "
|
|
4526
|
-
"name": "
|
|
3127
|
+
"kind": "field",
|
|
3128
|
+
"name": "_dialogLabel",
|
|
3129
|
+
"readonly": true
|
|
4527
3130
|
},
|
|
4528
3131
|
{
|
|
4529
3132
|
"kind": "field",
|
|
4530
|
-
"name": "
|
|
3133
|
+
"name": "isOpen",
|
|
3134
|
+
"privacy": "public",
|
|
3135
|
+
"type": {
|
|
3136
|
+
"text": "boolean"
|
|
3137
|
+
},
|
|
3138
|
+
"default": "false",
|
|
3139
|
+
"attribute": "isOpen"
|
|
4531
3140
|
},
|
|
4532
3141
|
{
|
|
4533
3142
|
"kind": "field",
|
|
4534
|
-
"name": "
|
|
3143
|
+
"name": "docId",
|
|
3144
|
+
"privacy": "public",
|
|
3145
|
+
"type": {
|
|
3146
|
+
"text": "string"
|
|
3147
|
+
},
|
|
3148
|
+
"default": "''",
|
|
3149
|
+
"attribute": "docId"
|
|
4535
3150
|
},
|
|
4536
3151
|
{
|
|
4537
3152
|
"kind": "field",
|
|
4538
|
-
"name": "
|
|
3153
|
+
"name": "docName",
|
|
3154
|
+
"privacy": "public",
|
|
3155
|
+
"type": {
|
|
3156
|
+
"text": "string"
|
|
3157
|
+
},
|
|
3158
|
+
"default": "''",
|
|
3159
|
+
"attribute": "docName"
|
|
4539
3160
|
},
|
|
4540
3161
|
{
|
|
4541
3162
|
"kind": "field",
|
|
4542
|
-
"name": "
|
|
3163
|
+
"name": "pages",
|
|
3164
|
+
"privacy": "public",
|
|
3165
|
+
"type": {
|
|
3166
|
+
"text": "array"
|
|
3167
|
+
},
|
|
3168
|
+
"default": "[]",
|
|
3169
|
+
"attribute": "pages"
|
|
4543
3170
|
},
|
|
4544
3171
|
{
|
|
4545
|
-
"kind": "
|
|
4546
|
-
"name": "
|
|
3172
|
+
"kind": "field",
|
|
3173
|
+
"name": "lang",
|
|
3174
|
+
"privacy": "public",
|
|
3175
|
+
"type": {
|
|
3176
|
+
"text": "string"
|
|
3177
|
+
},
|
|
3178
|
+
"default": "'eng'",
|
|
3179
|
+
"attribute": "lang"
|
|
4547
3180
|
},
|
|
4548
3181
|
{
|
|
4549
3182
|
"kind": "field",
|
|
4550
|
-
"name": "
|
|
3183
|
+
"name": "step",
|
|
4551
3184
|
"privacy": "public",
|
|
4552
3185
|
"type": {
|
|
4553
|
-
"text": "
|
|
3186
|
+
"text": "string"
|
|
4554
3187
|
},
|
|
4555
|
-
"default": "
|
|
4556
|
-
"attribute": "
|
|
3188
|
+
"default": "'processing'",
|
|
3189
|
+
"attribute": "step"
|
|
4557
3190
|
},
|
|
4558
3191
|
{
|
|
4559
3192
|
"kind": "field",
|
|
4560
|
-
"name": "
|
|
3193
|
+
"name": "progress",
|
|
4561
3194
|
"privacy": "public",
|
|
4562
3195
|
"type": {
|
|
4563
|
-
"text": "
|
|
3196
|
+
"text": "number"
|
|
4564
3197
|
},
|
|
4565
|
-
"default": "
|
|
4566
|
-
"attribute": "
|
|
3198
|
+
"default": "0",
|
|
3199
|
+
"attribute": "progress"
|
|
4567
3200
|
},
|
|
4568
3201
|
{
|
|
4569
3202
|
"kind": "field",
|
|
4570
|
-
"name": "
|
|
3203
|
+
"name": "statusMessage",
|
|
4571
3204
|
"privacy": "public",
|
|
4572
3205
|
"type": {
|
|
4573
|
-
"text": "
|
|
3206
|
+
"text": "string"
|
|
4574
3207
|
},
|
|
4575
|
-
"default": "
|
|
4576
|
-
"attribute": "
|
|
3208
|
+
"default": "'Starting OCR engine...'",
|
|
3209
|
+
"attribute": "statusMessage"
|
|
4577
3210
|
},
|
|
4578
3211
|
{
|
|
4579
3212
|
"kind": "field",
|
|
4580
|
-
"name": "
|
|
3213
|
+
"name": "resultText",
|
|
3214
|
+
"privacy": "public",
|
|
4581
3215
|
"type": {
|
|
4582
|
-
"text": "
|
|
3216
|
+
"text": "string"
|
|
4583
3217
|
},
|
|
4584
|
-
"default": "
|
|
3218
|
+
"default": "''",
|
|
3219
|
+
"attribute": "resultText"
|
|
4585
3220
|
},
|
|
4586
3221
|
{
|
|
4587
3222
|
"kind": "field",
|
|
4588
|
-
"name": "
|
|
4589
|
-
"
|
|
4590
|
-
}
|
|
4591
|
-
],
|
|
4592
|
-
"attributes": [
|
|
4593
|
-
{
|
|
4594
|
-
"name": "docsData",
|
|
3223
|
+
"name": "confidence",
|
|
3224
|
+
"privacy": "public",
|
|
4595
3225
|
"type": {
|
|
4596
|
-
"text": "
|
|
3226
|
+
"text": "number"
|
|
4597
3227
|
},
|
|
4598
|
-
"default": "
|
|
4599
|
-
"
|
|
3228
|
+
"default": "0",
|
|
3229
|
+
"attribute": "confidence"
|
|
4600
3230
|
},
|
|
4601
3231
|
{
|
|
4602
|
-
"
|
|
3232
|
+
"kind": "field",
|
|
3233
|
+
"name": "copied",
|
|
3234
|
+
"privacy": "public",
|
|
4603
3235
|
"type": {
|
|
4604
3236
|
"text": "boolean"
|
|
4605
3237
|
},
|
|
4606
3238
|
"default": "false",
|
|
4607
|
-
"
|
|
3239
|
+
"attribute": "copied"
|
|
4608
3240
|
},
|
|
4609
3241
|
{
|
|
4610
|
-
"
|
|
3242
|
+
"kind": "field",
|
|
3243
|
+
"name": "_pageIndex",
|
|
4611
3244
|
"type": {
|
|
4612
3245
|
"text": "null"
|
|
4613
3246
|
},
|
|
4614
|
-
"default": "null"
|
|
4615
|
-
"fieldName": "syncState"
|
|
3247
|
+
"default": "null"
|
|
4616
3248
|
}
|
|
4617
3249
|
],
|
|
4618
|
-
"
|
|
4619
|
-
"name": "LitElement",
|
|
4620
|
-
"module": "/js/lib/lit-core.min.js"
|
|
4621
|
-
},
|
|
4622
|
-
"tagName": "copio-app",
|
|
4623
|
-
"customElement": true
|
|
4624
|
-
}
|
|
4625
|
-
],
|
|
4626
|
-
"exports": [
|
|
4627
|
-
{
|
|
4628
|
-
"kind": "js",
|
|
4629
|
-
"name": "CopioApp",
|
|
4630
|
-
"declaration": {
|
|
4631
|
-
"name": "CopioApp",
|
|
4632
|
-
"module": "js/components/copio-app.js"
|
|
4633
|
-
}
|
|
4634
|
-
},
|
|
4635
|
-
{
|
|
4636
|
-
"kind": "custom-element-definition",
|
|
4637
|
-
"name": "copio-app",
|
|
4638
|
-
"declaration": {
|
|
4639
|
-
"name": "CopioApp",
|
|
4640
|
-
"module": "js/components/copio-app.js"
|
|
4641
|
-
}
|
|
4642
|
-
}
|
|
4643
|
-
]
|
|
4644
|
-
},
|
|
4645
|
-
{
|
|
4646
|
-
"kind": "javascript-module",
|
|
4647
|
-
"path": "js/components/copio-header.js",
|
|
4648
|
-
"declarations": [
|
|
4649
|
-
{
|
|
4650
|
-
"kind": "class",
|
|
4651
|
-
"description": "",
|
|
4652
|
-
"name": "CopioHeader",
|
|
4653
|
-
"members": [
|
|
3250
|
+
"attributes": [
|
|
4654
3251
|
{
|
|
4655
|
-
"
|
|
4656
|
-
"
|
|
4657
|
-
|
|
3252
|
+
"name": "isOpen",
|
|
3253
|
+
"type": {
|
|
3254
|
+
"text": "boolean"
|
|
3255
|
+
},
|
|
3256
|
+
"default": "false",
|
|
3257
|
+
"fieldName": "isOpen"
|
|
4658
3258
|
},
|
|
4659
3259
|
{
|
|
4660
|
-
"
|
|
4661
|
-
"
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
]
|
|
3260
|
+
"name": "docId",
|
|
3261
|
+
"type": {
|
|
3262
|
+
"text": "string"
|
|
3263
|
+
},
|
|
3264
|
+
"default": "''",
|
|
3265
|
+
"fieldName": "docId"
|
|
4667
3266
|
},
|
|
4668
3267
|
{
|
|
4669
|
-
"
|
|
4670
|
-
"
|
|
4671
|
-
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
}
|
|
4676
|
-
]
|
|
3268
|
+
"name": "docName",
|
|
3269
|
+
"type": {
|
|
3270
|
+
"text": "string"
|
|
3271
|
+
},
|
|
3272
|
+
"default": "''",
|
|
3273
|
+
"fieldName": "docName"
|
|
4677
3274
|
},
|
|
4678
3275
|
{
|
|
4679
|
-
"
|
|
4680
|
-
"
|
|
4681
|
-
|
|
4682
|
-
|
|
3276
|
+
"name": "pages",
|
|
3277
|
+
"type": {
|
|
3278
|
+
"text": "array"
|
|
3279
|
+
},
|
|
3280
|
+
"default": "[]",
|
|
3281
|
+
"fieldName": "pages"
|
|
4683
3282
|
},
|
|
4684
3283
|
{
|
|
4685
|
-
"
|
|
4686
|
-
"
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
3284
|
+
"name": "lang",
|
|
3285
|
+
"type": {
|
|
3286
|
+
"text": "string"
|
|
3287
|
+
},
|
|
3288
|
+
"default": "'eng'",
|
|
3289
|
+
"fieldName": "lang"
|
|
3290
|
+
},
|
|
4692
3291
|
{
|
|
4693
|
-
"name": "
|
|
3292
|
+
"name": "step",
|
|
4694
3293
|
"type": {
|
|
4695
|
-
"text": "
|
|
4696
|
-
}
|
|
3294
|
+
"text": "string"
|
|
3295
|
+
},
|
|
3296
|
+
"default": "'processing'",
|
|
3297
|
+
"fieldName": "step"
|
|
4697
3298
|
},
|
|
4698
3299
|
{
|
|
4699
|
-
"name": "
|
|
3300
|
+
"name": "progress",
|
|
4700
3301
|
"type": {
|
|
4701
|
-
"text": "
|
|
4702
|
-
}
|
|
4703
|
-
|
|
4704
|
-
|
|
4705
|
-
|
|
3302
|
+
"text": "number"
|
|
3303
|
+
},
|
|
3304
|
+
"default": "0",
|
|
3305
|
+
"fieldName": "progress"
|
|
3306
|
+
},
|
|
3307
|
+
{
|
|
3308
|
+
"name": "statusMessage",
|
|
3309
|
+
"type": {
|
|
3310
|
+
"text": "string"
|
|
3311
|
+
},
|
|
3312
|
+
"default": "'Starting OCR engine...'",
|
|
3313
|
+
"fieldName": "statusMessage"
|
|
3314
|
+
},
|
|
4706
3315
|
{
|
|
4707
|
-
"name": "
|
|
4708
|
-
"
|
|
3316
|
+
"name": "resultText",
|
|
3317
|
+
"type": {
|
|
3318
|
+
"text": "string"
|
|
3319
|
+
},
|
|
3320
|
+
"default": "''",
|
|
3321
|
+
"fieldName": "resultText"
|
|
3322
|
+
},
|
|
3323
|
+
{
|
|
3324
|
+
"name": "confidence",
|
|
3325
|
+
"type": {
|
|
3326
|
+
"text": "number"
|
|
3327
|
+
},
|
|
3328
|
+
"default": "0",
|
|
3329
|
+
"fieldName": "confidence"
|
|
4709
3330
|
},
|
|
4710
3331
|
{
|
|
4711
|
-
"name": "
|
|
4712
|
-
"
|
|
3332
|
+
"name": "copied",
|
|
3333
|
+
"type": {
|
|
3334
|
+
"text": "boolean"
|
|
3335
|
+
},
|
|
3336
|
+
"default": "false",
|
|
3337
|
+
"fieldName": "copied"
|
|
4713
3338
|
}
|
|
4714
3339
|
],
|
|
4715
3340
|
"superclass": {
|
|
4716
3341
|
"name": "LitElement",
|
|
4717
3342
|
"module": "/js/lib/lit-core.min.js"
|
|
4718
3343
|
},
|
|
4719
|
-
"tagName": "copio-
|
|
3344
|
+
"tagName": "copio-doc-ocr-dialog",
|
|
4720
3345
|
"customElement": true
|
|
4721
3346
|
}
|
|
4722
3347
|
],
|
|
4723
3348
|
"exports": [
|
|
4724
3349
|
{
|
|
4725
3350
|
"kind": "js",
|
|
4726
|
-
"name": "
|
|
3351
|
+
"name": "CopioDocOcrDialog",
|
|
4727
3352
|
"declaration": {
|
|
4728
|
-
"name": "
|
|
4729
|
-
"module": "js/
|
|
3353
|
+
"name": "CopioDocOcrDialog",
|
|
3354
|
+
"module": "js/routes/ocr/copio-doc-ocr-dialog.js"
|
|
4730
3355
|
}
|
|
4731
3356
|
},
|
|
4732
3357
|
{
|
|
4733
3358
|
"kind": "custom-element-definition",
|
|
4734
|
-
"name": "copio-
|
|
3359
|
+
"name": "copio-doc-ocr-dialog",
|
|
4735
3360
|
"declaration": {
|
|
4736
|
-
"name": "
|
|
4737
|
-
"module": "js/
|
|
3361
|
+
"name": "CopioDocOcrDialog",
|
|
3362
|
+
"module": "js/routes/ocr/copio-doc-ocr-dialog.js"
|
|
4738
3363
|
}
|
|
4739
3364
|
}
|
|
4740
3365
|
]
|
|
4741
3366
|
},
|
|
4742
3367
|
{
|
|
4743
3368
|
"kind": "javascript-module",
|
|
4744
|
-
"path": "js/
|
|
3369
|
+
"path": "js/routes/sync/copio-sync-dialog.js",
|
|
4745
3370
|
"declarations": [
|
|
4746
3371
|
{
|
|
4747
3372
|
"kind": "class",
|
|
4748
3373
|
"description": "",
|
|
4749
|
-
"name": "
|
|
4750
|
-
"members": [
|
|
3374
|
+
"name": "CopioSyncDialog",
|
|
3375
|
+
"members": [
|
|
3376
|
+
{
|
|
3377
|
+
"kind": "field",
|
|
3378
|
+
"name": "handleCloseClick"
|
|
3379
|
+
},
|
|
3380
|
+
{
|
|
3381
|
+
"kind": "field",
|
|
3382
|
+
"name": "closeSyncDialog"
|
|
3383
|
+
},
|
|
3384
|
+
{
|
|
3385
|
+
"kind": "field",
|
|
3386
|
+
"name": "syncState",
|
|
3387
|
+
"privacy": "public",
|
|
3388
|
+
"type": {
|
|
3389
|
+
"text": "object"
|
|
3390
|
+
},
|
|
3391
|
+
"attribute": "syncState"
|
|
3392
|
+
}
|
|
3393
|
+
],
|
|
3394
|
+
"attributes": [
|
|
3395
|
+
{
|
|
3396
|
+
"name": "syncState",
|
|
3397
|
+
"type": {
|
|
3398
|
+
"text": "object"
|
|
3399
|
+
},
|
|
3400
|
+
"fieldName": "syncState"
|
|
3401
|
+
}
|
|
3402
|
+
],
|
|
4751
3403
|
"superclass": {
|
|
4752
3404
|
"name": "LitElement",
|
|
4753
3405
|
"module": "/js/lib/lit-core.min.js"
|
|
4754
3406
|
},
|
|
4755
|
-
"tagName": "copio-
|
|
3407
|
+
"tagName": "copio-sync-dialog",
|
|
4756
3408
|
"customElement": true
|
|
4757
3409
|
}
|
|
4758
3410
|
],
|
|
4759
3411
|
"exports": [
|
|
4760
3412
|
{
|
|
4761
3413
|
"kind": "js",
|
|
4762
|
-
"name": "
|
|
3414
|
+
"name": "CopioSyncDialog",
|
|
4763
3415
|
"declaration": {
|
|
4764
|
-
"name": "
|
|
4765
|
-
"module": "js/
|
|
3416
|
+
"name": "CopioSyncDialog",
|
|
3417
|
+
"module": "js/routes/sync/copio-sync-dialog.js"
|
|
4766
3418
|
}
|
|
4767
3419
|
},
|
|
4768
3420
|
{
|
|
4769
3421
|
"kind": "custom-element-definition",
|
|
4770
|
-
"name": "copio-
|
|
3422
|
+
"name": "copio-sync-dialog",
|
|
4771
3423
|
"declaration": {
|
|
4772
|
-
"name": "
|
|
4773
|
-
"module": "js/
|
|
3424
|
+
"name": "CopioSyncDialog",
|
|
3425
|
+
"module": "js/routes/sync/copio-sync-dialog.js"
|
|
4774
3426
|
}
|
|
4775
3427
|
}
|
|
4776
3428
|
]
|