@myrmidon/cadmus-core 1.1.1 → 1.1.3
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/esm2020/lib/cadmus-core.module.mjs +4 -4
- package/esm2020/lib/guards/pending-changes.guard.mjs +3 -3
- package/esm2020/lib/models.mjs +14 -1
- package/esm2020/lib/pipes/sort.pipe.mjs +3 -3
- package/esm2020/lib/services/library-route.service.mjs +3 -3
- package/esm2020/lib/services/text-layer.service.mjs +15 -19
- package/fesm2015/myrmidon-cadmus-core.mjs +41 -32
- package/fesm2015/myrmidon-cadmus-core.mjs.map +1 -1
- package/fesm2020/myrmidon-cadmus-core.mjs +41 -32
- package/fesm2020/myrmidon-cadmus-core.mjs.map +1 -1
- package/lib/models.d.ts +11 -0
- package/lib/services/text-layer.service.d.ts +2 -3
- package/package.json +1 -1
|
@@ -52,8 +52,6 @@ export declare class TextLayerService {
|
|
|
52
52
|
* Render the specified token intersecting the specified range start location.
|
|
53
53
|
* The received token starts a multi-tokens range.
|
|
54
54
|
* @param loc location.
|
|
55
|
-
* @param locPortion the index of the token's portion (0-N). This is used
|
|
56
|
-
* to build a unique ID for each HTML span rendering a layer fragment.
|
|
57
55
|
* @param token token.
|
|
58
56
|
* @param sb target strings array.
|
|
59
57
|
* @param isSelected True if the token is selected.
|
|
@@ -133,8 +131,9 @@ export declare class TextLayerService {
|
|
|
133
131
|
* @param matcher The matcher function, which receives a node
|
|
134
132
|
* to match, and returns 1=match, 0=no match, -1=stop the
|
|
135
133
|
* find operation with a no match.
|
|
134
|
+
* @return 1=match, 0=no match, -1=stop the find operation with a no match.
|
|
136
135
|
*/
|
|
137
|
-
private
|
|
136
|
+
private matchNode;
|
|
138
137
|
private selHasAnySpan;
|
|
139
138
|
/**
|
|
140
139
|
* Get the location corresponding to the user selection,
|