@difizen/libro-search-code-cell 0.3.4 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/code-cell-search-provider-contribution.d.ts +1 -1
- package/es/code-cell-search-provider-contribution.d.ts.map +1 -1
- package/es/code-cell-search-provider-contribution.js +2 -2
- package/es/code-cell-search-provider.js +1 -1
- package/es/code-editor-cell-search-provider.d.ts +2 -2
- package/es/code-editor-cell-search-provider.d.ts.map +1 -1
- package/es/code-editor-cell-search-provider.js +5 -5
- package/es/module.d.ts +1 -1
- package/es/module.d.ts.map +1 -1
- package/es/module.js +1 -1
- package/es/search-highlighter.js +2 -2
- package/package.json +6 -7
- package/src/code-cell-search-provider-contribution.ts +2 -2
- package/src/code-cell-search-provider.ts +1 -1
- package/src/code-editor-cell-search-provider.ts +6 -6
- package/src/module.ts +1 -1
- package/src/search-highlighter.ts +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { CellView } from '@difizen/libro-core';
|
|
2
2
|
import { CellSearchProviderContribution } from '@difizen/libro-search';
|
|
3
|
-
import { ViewManager } from '@difizen/
|
|
3
|
+
import { ViewManager } from '@difizen/libro-common/app';
|
|
4
4
|
import { CodeCellSearchProviderFactory } from './code-cell-search-protocol.js';
|
|
5
5
|
export declare class CodeCellSearchProviderContribution implements CellSearchProviderContribution {
|
|
6
6
|
viewManager: ViewManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code-cell-search-provider-contribution.d.ts","sourceRoot":"","sources":["../src/code-cell-search-provider-contribution.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,8BAA8B,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"code-cell-search-provider-contribution.d.ts","sourceRoot":"","sources":["../src/code-cell-search-provider-contribution.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,8BAA8B,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAGxD,OAAO,EAAE,6BAA6B,EAAE,MAAM,gCAAgC,CAAC;AAE/E,qBACa,kCACX,YAAW,8BAA8B;IAEpB,WAAW,EAAE,WAAW,CAAC;IAE9C,eAAe,EAAE,6BAA6B,CAAC;IAC/C,SAAS,SAAU,QAAQ,aAKzB;IACF,OAAO,CAAC,IAAI,EAAE,QAAQ;IAGtB;;;;;OAKG;IACH,eAAe,SAAU,QAAQ,KAAG,MAAM,CAOxC;CACH"}
|
|
@@ -10,8 +10,8 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
10
10
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
|
|
11
11
|
import { LibroCodeCellView } from '@difizen/libro-code-cell';
|
|
12
12
|
import { CellSearchProviderContribution } from '@difizen/libro-search';
|
|
13
|
-
import { ViewManager } from '@difizen/
|
|
14
|
-
import { inject, singleton } from '@difizen/
|
|
13
|
+
import { ViewManager } from '@difizen/libro-common/app';
|
|
14
|
+
import { inject, singleton } from '@difizen/libro-common/app';
|
|
15
15
|
import { CodeCellSearchProviderFactory } from "./code-cell-search-protocol.js";
|
|
16
16
|
export var CodeCellSearchProviderContribution = (_dec = singleton({
|
|
17
17
|
contrib: CellSearchProviderContribution
|
|
@@ -24,7 +24,7 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
|
|
|
24
24
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
25
25
|
|
|
26
26
|
import { GenericSearchProviderFactory } from '@difizen/libro-search';
|
|
27
|
-
import { inject, prop, transient, watch } from '@difizen/
|
|
27
|
+
import { inject, prop, transient, watch } from '@difizen/libro-common/app';
|
|
28
28
|
import { CodeCellSearchOption, CodeEditorSearchHighlighterFactory } from "./code-cell-search-protocol.js";
|
|
29
29
|
import { CodeEditorCellSearchProvider } from "./code-editor-cell-search-provider.js";
|
|
30
30
|
export var CodeCellSearchProvider = (_dec = transient(), _dec2 = prop(), _dec3 = prop(), _dec(_class = (_class2 = /*#__PURE__*/function (_CodeEditorCellSearch) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { LibroCodeCellView } from '@difizen/libro-code-cell';
|
|
2
2
|
import type { IPosition, SearchMatch } from '@difizen/libro-code-editor';
|
|
3
3
|
import type { BaseSearchProvider, SearchFilters } from '@difizen/libro-search';
|
|
4
|
-
import type { Event } from '@difizen/
|
|
5
|
-
import { DisposableCollection, Emitter } from '@difizen/
|
|
4
|
+
import type { Event } from '@difizen/libro-common/app';
|
|
5
|
+
import { DisposableCollection, Emitter } from '@difizen/libro-common/app';
|
|
6
6
|
import type { CodeEditorSearchHighlighter } from './code-cell-search-protocol.js';
|
|
7
7
|
import { CodeEditorSearchHighlighterFactory } from './code-cell-search-protocol.js';
|
|
8
8
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code-editor-cell-search-provider.d.ts","sourceRoot":"","sources":["../src/code-editor-cell-search-provider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,KAAK,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAE/E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"code-editor-cell-search-provider.d.ts","sourceRoot":"","sources":["../src/code-editor-cell-search-provider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClE,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,iBAAiB,IAAI,MAAM,GAAG,SAAS,CAE1C;IAED;;;;OAIG;IACH,IAAI,QAAQ,IAAI,OAAO,CAEtB;IAED;;OAEG;IACH,IAAI,UAAU,IAAI,OAAO,CAExB;IAED;;OAEG;IACH,IAAI,YAAY,IAAI,MAAM,CAEzB;IAED,IAAI,cAAc,IAAI,OAAO,CAE5B;IAED;;OAEG;IACH,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC;IAO/B;;OAEG;IACH,OAAO,IAAI,IAAI;IAaf;;;;;;;OAOG;IACG,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAa5C;;;;;;OAMG;IACG,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,EAAE,OAAO,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC;IAW9E;;OAEG;IACG,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IAM/B;;;;OAIG;IACG,aAAa,IAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC;IAuBvD;;;;OAIG;IACG,iBAAiB,IAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC;IAiB3D;;;;;;;OAOG;IACH,mBAAmB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAoCtD;;;;;OAKG;IACH,iBAAiB,YAAa,MAAM,KAAG,QAAQ,OAAO,CAAC,CA+BrD;IAEF;;;;OAIG;IACH,SAAS,CAAC,eAAe,IAAI,WAAW,GAAG,SAAS;IAYpD,SAAS,CAAC,aAAa,sBAwBrB;CACH"}
|
|
@@ -12,11 +12,11 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
12
12
|
function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
|
|
13
13
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
|
|
14
14
|
import { searchText } from '@difizen/libro-search';
|
|
15
|
-
import { Disposable } from '@difizen/
|
|
16
|
-
import { prop } from '@difizen/
|
|
17
|
-
import { DisposableCollection, Emitter } from '@difizen/
|
|
18
|
-
import { watch } from '@difizen/
|
|
19
|
-
import { inject, transient } from '@difizen/
|
|
15
|
+
import { Disposable } from '@difizen/libro-common/app';
|
|
16
|
+
import { prop } from '@difizen/libro-common/app';
|
|
17
|
+
import { DisposableCollection, Emitter } from '@difizen/libro-common/app';
|
|
18
|
+
import { watch } from '@difizen/libro-common/app';
|
|
19
|
+
import { inject, transient } from '@difizen/libro-common/app';
|
|
20
20
|
import { CodeEditorSearchHighlighterFactory } from "./code-cell-search-protocol.js";
|
|
21
21
|
/**
|
|
22
22
|
* Search provider for cells.
|
package/es/module.d.ts
CHANGED
package/es/module.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAWvD,eAAO,MAAM,oBAAoB,YAgCH,CAAC"}
|
package/es/module.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LibroSearchModule } from '@difizen/libro-search';
|
|
2
|
-
import { ManaModule } from '@difizen/
|
|
2
|
+
import { ManaModule } from '@difizen/libro-common/app';
|
|
3
3
|
import { CodeCellSearchOption, CodeCellSearchProviderFactory, CodeEditorSearchHighlighterFactory } from "./code-cell-search-protocol.js";
|
|
4
4
|
import { CodeCellSearchProviderContribution } from "./code-cell-search-provider-contribution.js";
|
|
5
5
|
import { CodeCellSearchProvider } from "./code-cell-search-provider.js";
|
package/es/search-highlighter.js
CHANGED
|
@@ -12,8 +12,8 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
|
|
|
12
12
|
|
|
13
13
|
import { deepEqual } from '@difizen/libro-common';
|
|
14
14
|
import { LibroSearchUtils } from '@difizen/libro-search';
|
|
15
|
-
import { prop } from '@difizen/
|
|
16
|
-
import { inject, transient } from '@difizen/
|
|
15
|
+
import { prop } from '@difizen/libro-common/app';
|
|
16
|
+
import { inject, transient } from '@difizen/libro-common/app';
|
|
17
17
|
/**
|
|
18
18
|
* Helper class to highlight texts in a code mirror editor.
|
|
19
19
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@difizen/libro-search-code-cell",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"libro",
|
|
@@ -32,12 +32,11 @@
|
|
|
32
32
|
"src"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@difizen/libro-common": "^0.
|
|
36
|
-
"@difizen/libro-code-editor": "^0.
|
|
37
|
-
"@difizen/libro-code-cell": "^0.
|
|
38
|
-
"@difizen/libro-search": "^0.
|
|
39
|
-
"@difizen/libro-core": "^0.
|
|
40
|
-
"@difizen/mana-app": "latest"
|
|
35
|
+
"@difizen/libro-common": "^1.0.0",
|
|
36
|
+
"@difizen/libro-code-editor": "^1.0.0",
|
|
37
|
+
"@difizen/libro-code-cell": "^1.0.0",
|
|
38
|
+
"@difizen/libro-search": "^1.0.0",
|
|
39
|
+
"@difizen/libro-core": "^1.0.0"
|
|
41
40
|
},
|
|
42
41
|
"scripts": {
|
|
43
42
|
"setup": "father build",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { LibroCodeCellView } from '@difizen/libro-code-cell';
|
|
2
2
|
import type { CellView } from '@difizen/libro-core';
|
|
3
3
|
import { CellSearchProviderContribution } from '@difizen/libro-search';
|
|
4
|
-
import { ViewManager } from '@difizen/
|
|
5
|
-
import { inject, singleton } from '@difizen/
|
|
4
|
+
import { ViewManager } from '@difizen/libro-common/app';
|
|
5
|
+
import { inject, singleton } from '@difizen/libro-common/app';
|
|
6
6
|
|
|
7
7
|
import { CodeCellSearchProviderFactory } from './code-cell-search-protocol.js';
|
|
8
8
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import type { SearchMatch } from '@difizen/libro-code-editor';
|
|
4
4
|
import type { GenericSearchProvider, SearchFilters } from '@difizen/libro-search';
|
|
5
5
|
import { GenericSearchProviderFactory } from '@difizen/libro-search';
|
|
6
|
-
import { inject, prop, transient, watch } from '@difizen/
|
|
6
|
+
import { inject, prop, transient, watch } from '@difizen/libro-common/app';
|
|
7
7
|
|
|
8
8
|
import {
|
|
9
9
|
CodeCellSearchOption,
|
|
@@ -2,12 +2,12 @@ import type { LibroCodeCellView } from '@difizen/libro-code-cell';
|
|
|
2
2
|
import type { IPosition, SearchMatch } from '@difizen/libro-code-editor';
|
|
3
3
|
import type { BaseSearchProvider, SearchFilters } from '@difizen/libro-search';
|
|
4
4
|
import { searchText } from '@difizen/libro-search';
|
|
5
|
-
import type { Event } from '@difizen/
|
|
6
|
-
import { Disposable } from '@difizen/
|
|
7
|
-
import { prop } from '@difizen/
|
|
8
|
-
import { DisposableCollection, Emitter } from '@difizen/
|
|
9
|
-
import { watch } from '@difizen/
|
|
10
|
-
import { inject, transient } from '@difizen/
|
|
5
|
+
import type { Event } from '@difizen/libro-common/app';
|
|
6
|
+
import { Disposable } from '@difizen/libro-common/app';
|
|
7
|
+
import { prop } from '@difizen/libro-common/app';
|
|
8
|
+
import { DisposableCollection, Emitter } from '@difizen/libro-common/app';
|
|
9
|
+
import { watch } from '@difizen/libro-common/app';
|
|
10
|
+
import { inject, transient } from '@difizen/libro-common/app';
|
|
11
11
|
|
|
12
12
|
import type { CodeEditorSearchHighlighter } from './code-cell-search-protocol.js';
|
|
13
13
|
import { CodeEditorSearchHighlighterFactory } from './code-cell-search-protocol.js';
|
package/src/module.ts
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import type { IEditor, SearchMatch } from '@difizen/libro-code-editor';
|
|
3
3
|
import { deepEqual } from '@difizen/libro-common';
|
|
4
4
|
import { LibroSearchUtils } from '@difizen/libro-search';
|
|
5
|
-
import { prop } from '@difizen/
|
|
6
|
-
import { inject, transient } from '@difizen/
|
|
5
|
+
import { prop } from '@difizen/libro-common/app';
|
|
6
|
+
import { inject, transient } from '@difizen/libro-common/app';
|
|
7
7
|
|
|
8
8
|
import type { CodeEditorSearchHighlighter } from './code-cell-search-protocol.js';
|
|
9
9
|
|