@zeedhi/common 1.107.1 → 1.108.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/LICENSE +23 -23
- package/README.md +9 -9
- package/dist/zd-common.esm.js +5766 -5722
- package/dist/zd-common.umd.js +5765 -5721
- 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 +4 -1
- package/types/components/zd-grid/grid.d.ts +1 -1
- package/types/utils/report/report.d.ts +2 -0
- package/types/services/zd-json-cache/json-cache-service.d.ts +0 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeedhi/common",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.108.0",
|
|
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": "fec5423500f173adcfc49a1c27c5ad0bd6d624ee"
|
|
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,7 +115,10 @@ 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;
|
|
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
|
+
*/
|
|
119
122
|
}[];
|
|
120
123
|
/**
|
|
121
124
|
* Grid system for each child.
|
|
@@ -229,7 +229,7 @@ export declare class Grid extends Iterable implements IGrid {
|
|
|
229
229
|
* @param {boolean} isSelected Indica se as linhas foram selecionadas ou não
|
|
230
230
|
* @returns {Promise<void>} Objeto Promise quando a seleção/desseleção acabar de ser realizada
|
|
231
231
|
*/
|
|
232
|
-
selectAll(isSelected: boolean): Promise<void>;
|
|
232
|
+
selectAll(isSelected: boolean, mustAsk?: boolean): Promise<void>;
|
|
233
233
|
toggleRow(row: IDictionary): void;
|
|
234
234
|
selectRow(row: IDictionary, select: boolean): void;
|
|
235
235
|
navigateLeft({ event }: IEventParam<any>): void;
|
|
@@ -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>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface IJSONObject {
|
|
2
|
-
path: string;
|
|
3
|
-
}
|
|
4
|
-
export declare class JsonCacheService {
|
|
5
|
-
/**
|
|
6
|
-
* jsons collection
|
|
7
|
-
*/
|
|
8
|
-
static jsonCollection: IJSONObject[];
|
|
9
|
-
static saveJSONCache(jsonCollection: IJSONObject[]): Promise<void>;
|
|
10
|
-
static getJSONCache(path: string): any;
|
|
11
|
-
static clearJSONCache(jsonCollection: IJSONObject[]): void;
|
|
12
|
-
}
|