@coolon/angular-ui-powerups 16.1.0-aplpha.51 → 16.1.0-aplpha.52
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/esm2022/lib/components/commands/command-face.mjs +1 -1
- package/esm2022/lib/components/loadable-component.mjs +4 -2
- package/esm2022/lib/components/tables/filter/text-search-predicate.mjs +16 -2
- package/esm2022/lib/services/markdown/pill-plugin.mjs +2 -2
- package/fesm2022/coolon-angular-ui-powerups.mjs +21 -3
- package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/components/loadable-component.d.ts +3 -0
- package/lib/components/tables/filter/text-search-predicate.d.ts +9 -0
- package/package.json +2 -2
|
@@ -9,6 +9,9 @@ export declare class LoadableComponent extends DisposableComponent {
|
|
|
9
9
|
protected injectLoadable<T extends Loadable>(token: ProviderToken<T>, options?: {
|
|
10
10
|
wait: boolean;
|
|
11
11
|
}): T;
|
|
12
|
+
registerLoadable<T extends Loadable>(loadable: T, options?: {
|
|
13
|
+
wait: boolean;
|
|
14
|
+
}): T;
|
|
12
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoadableComponent, never>;
|
|
13
16
|
static ɵdir: i0.ɵɵDirectiveDeclaration<LoadableComponent, never, never, {}, {}, never, never, false, never>;
|
|
14
17
|
}
|
|
@@ -1 +1,10 @@
|
|
|
1
|
+
import { AbstractConstructable } from "@coolon/restilence-plugin";
|
|
1
2
|
export type TextSearchPredicate<Row> = (row: Row, regex: RegExp) => boolean;
|
|
3
|
+
export declare class TextSearchContext<Row> {
|
|
4
|
+
readonly row: Row;
|
|
5
|
+
readonly searchText: string;
|
|
6
|
+
readonly searchRegex: RegExp;
|
|
7
|
+
constructor(row: Row, searchText: string, searchRegex: RegExp);
|
|
8
|
+
getOrCreate<T>(type: AbstractConstructable<T>, create: () => T): void;
|
|
9
|
+
matchesText(text: string): boolean;
|
|
10
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coolon/angular-ui-powerups",
|
|
3
|
-
"version": "16.1.0-aplpha.
|
|
3
|
+
"version": "16.1.0-aplpha.52",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/animations": "^16.2.9",
|
|
6
6
|
"@angular/common": "^16.2.9",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"@angular/platform-browser-dynamic": "^16.2.9",
|
|
13
13
|
"@angular/material-moment-adapter": "^16.2.10",
|
|
14
14
|
"@angular/router": "^16.2.9",
|
|
15
|
-
"@coolon/pectin": "^5.0.0-alpha.
|
|
15
|
+
"@coolon/pectin": "^5.0.0-alpha.16",
|
|
16
16
|
"@typescript-plus/fast-memoize-decorator": "^0.2.1",
|
|
17
17
|
"lodash-es": "^4.17.21",
|
|
18
18
|
"marked": "4.0.10",
|