@zeedhi/common 1.107.3 → 1.108.1
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 +23 -23
- package/README.md +9 -9
- package/dist/zd-common.esm.js +5675 -5643
- package/dist/zd-common.umd.js +5674 -5642
- package/package.json +2 -2
- package/rollup.scss.config.js +14 -14
- package/tsconfig.eslint.json +8 -8
- package/types/components/zd-form/form.d.ts +1 -4
- package/types/components/zd-iterable/iterable.d.ts +4 -1
- package/types/utils/report/report.d.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeedhi/common",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.108.1",
|
|
4
4
|
"description": "Zeedhi Common",
|
|
5
5
|
"author": "Zeedhi <zeedhi@teknisa.com>",
|
|
6
6
|
"license": "ISC",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"lodash.times": "4.3.*",
|
|
44
44
|
"mockdate": "3.0.*"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "9cd96dd092145062a963f12aaba1bb3e0d872cc8"
|
|
47
47
|
}
|
package/rollup.scss.config.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import scss from 'rollup-plugin-scss';
|
|
2
|
-
|
|
3
|
-
export default {
|
|
4
|
-
input: './src/styles/index.scss',
|
|
5
|
-
output: {
|
|
6
|
-
format: 'esm',
|
|
7
|
-
},
|
|
8
|
-
plugins: [
|
|
9
|
-
scss({
|
|
10
|
-
output: 'dist/style.css',
|
|
11
|
-
outputStyle: 'compressed',
|
|
12
|
-
}),
|
|
13
|
-
],
|
|
14
|
-
};
|
|
1
|
+
import scss from 'rollup-plugin-scss';
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
input: './src/styles/index.scss',
|
|
5
|
+
output: {
|
|
6
|
+
format: 'esm',
|
|
7
|
+
},
|
|
8
|
+
plugins: [
|
|
9
|
+
scss({
|
|
10
|
+
output: 'dist/style.css',
|
|
11
|
+
outputStyle: 'compressed',
|
|
12
|
+
}),
|
|
13
|
+
],
|
|
14
|
+
};
|
package/tsconfig.eslint.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
{
|
|
2
|
-
// extend your base config so you don't have to redefine your compilerOptions
|
|
3
|
-
"extends": "./tsconfig.json",
|
|
4
|
-
"include": [
|
|
5
|
-
"./src/**/*.ts",
|
|
6
|
-
"./tests/**/*.ts",
|
|
7
|
-
],
|
|
8
|
-
"exclude": ["node_modules"]
|
|
1
|
+
{
|
|
2
|
+
// extend your base config so you don't have to redefine your compilerOptions
|
|
3
|
+
"extends": "./tsconfig.json",
|
|
4
|
+
"include": [
|
|
5
|
+
"./src/**/*.ts",
|
|
6
|
+
"./tests/**/*.ts",
|
|
7
|
+
],
|
|
8
|
+
"exclude": ["node_modules"]
|
|
9
9
|
}
|
|
@@ -115,10 +115,7 @@ export declare class Form extends ComponentRender implements IForm {
|
|
|
115
115
|
name: string;
|
|
116
116
|
parent?: import("..").Component | undefined;
|
|
117
117
|
tabStop?: boolean | undefined;
|
|
118
|
-
userProperties?: IDictionary<any> | undefined;
|
|
119
|
-
* Applies the justify-content css property.
|
|
120
|
-
* Available options are start, center, end, space-between and space-around.
|
|
121
|
-
*/
|
|
118
|
+
userProperties?: IDictionary<any> | undefined;
|
|
122
119
|
}[];
|
|
123
120
|
/**
|
|
124
121
|
* Grid system for each child.
|
|
@@ -44,8 +44,9 @@ export declare class Iterable extends ComponentRender implements IIterable {
|
|
|
44
44
|
* Defines if searchIn should consider only visible columns or not
|
|
45
45
|
*/
|
|
46
46
|
searchVisibleOnly: boolean;
|
|
47
|
-
searchIn: string | undefined;
|
|
48
47
|
defaultSearchVisibleOnly: boolean;
|
|
48
|
+
private controller?;
|
|
49
|
+
private searchInValue?;
|
|
49
50
|
/**
|
|
50
51
|
* Creates a new Iterable.
|
|
51
52
|
* @param props Iterable properties
|
|
@@ -54,6 +55,8 @@ export declare class Iterable extends ComponentRender implements IIterable {
|
|
|
54
55
|
protected getDatasourceDefaults(): {};
|
|
55
56
|
protected initializeDatasource(props: IIterable): void;
|
|
56
57
|
protected createController(): void;
|
|
58
|
+
get searchIn(): string | undefined;
|
|
59
|
+
set searchIn(value: string | undefined);
|
|
57
60
|
/**
|
|
58
61
|
* Retrieves columns instances
|
|
59
62
|
* @param columns Columns property
|
|
@@ -8,6 +8,8 @@ export declare class Report implements IReport {
|
|
|
8
8
|
endPoint: string;
|
|
9
9
|
fileEndPoint: string;
|
|
10
10
|
constructor(iterable: Iterable, title: string);
|
|
11
|
+
private formatToggleable;
|
|
12
|
+
private isToggleableComponent;
|
|
11
13
|
private getData;
|
|
12
14
|
private getReportType;
|
|
13
15
|
getReport(type: string, portrait?: boolean, rowObj?: any, beforeReportEvent?: IBeforeReportEvent): Promise<string>;
|