@zeedhi/common 1.103.2 → 1.105.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/dist/zd-common.esm.js
CHANGED
|
@@ -2393,7 +2393,7 @@ class CodeEditor extends ComponentRender {
|
|
|
2393
2393
|
* Icon to be shown on copy action
|
|
2394
2394
|
*/
|
|
2395
2395
|
this.copyIcon = 'content-copy';
|
|
2396
|
-
this.tooltipText = I18n.instance.t('
|
|
2396
|
+
this.tooltipText = I18n.instance.t('COPY');
|
|
2397
2397
|
this.code = '';
|
|
2398
2398
|
this.staticCodeValue = '';
|
|
2399
2399
|
this.staticCode = this.getInitValue('staticCode', props.staticCode, this.staticCodeValue);
|
|
@@ -2485,8 +2485,8 @@ class CodeEditor extends ComponentRender {
|
|
|
2485
2485
|
});
|
|
2486
2486
|
}
|
|
2487
2487
|
changeTooltipText() {
|
|
2488
|
-
this.tooltipText = I18n.instance.t('
|
|
2489
|
-
setTimeout(() => { this.tooltipText = I18n.instance.t('
|
|
2488
|
+
this.tooltipText = I18n.instance.t('COPIED');
|
|
2489
|
+
setTimeout(() => { this.tooltipText = I18n.instance.t('COPY'); }, 2000);
|
|
2490
2490
|
}
|
|
2491
2491
|
/**
|
|
2492
2492
|
* Get the code highlighted
|
|
@@ -4419,6 +4419,18 @@ class DateRange extends TextInput {
|
|
|
4419
4419
|
this.internalValue = [];
|
|
4420
4420
|
this.value = this.internalValue; // forces value accessor to be called if necessary
|
|
4421
4421
|
}
|
|
4422
|
+
get value() {
|
|
4423
|
+
return this.internalValue;
|
|
4424
|
+
}
|
|
4425
|
+
set value(value) {
|
|
4426
|
+
if (this.internalValue !== value) {
|
|
4427
|
+
this.internalDisplayValue = this.formatter(value);
|
|
4428
|
+
this.internalValue = value;
|
|
4429
|
+
}
|
|
4430
|
+
if (value === null) {
|
|
4431
|
+
this.internalValue = [];
|
|
4432
|
+
}
|
|
4433
|
+
}
|
|
4422
4434
|
/**
|
|
4423
4435
|
* Assign the updated mask to mask property
|
|
4424
4436
|
*/
|
package/dist/zd-common.umd.js
CHANGED
|
@@ -2400,7 +2400,7 @@
|
|
|
2400
2400
|
* Icon to be shown on copy action
|
|
2401
2401
|
*/
|
|
2402
2402
|
this.copyIcon = 'content-copy';
|
|
2403
|
-
this.tooltipText = core.I18n.instance.t('
|
|
2403
|
+
this.tooltipText = core.I18n.instance.t('COPY');
|
|
2404
2404
|
this.code = '';
|
|
2405
2405
|
this.staticCodeValue = '';
|
|
2406
2406
|
this.staticCode = this.getInitValue('staticCode', props.staticCode, this.staticCodeValue);
|
|
@@ -2492,8 +2492,8 @@
|
|
|
2492
2492
|
});
|
|
2493
2493
|
}
|
|
2494
2494
|
changeTooltipText() {
|
|
2495
|
-
this.tooltipText = core.I18n.instance.t('
|
|
2496
|
-
setTimeout(() => { this.tooltipText = core.I18n.instance.t('
|
|
2495
|
+
this.tooltipText = core.I18n.instance.t('COPIED');
|
|
2496
|
+
setTimeout(() => { this.tooltipText = core.I18n.instance.t('COPY'); }, 2000);
|
|
2497
2497
|
}
|
|
2498
2498
|
/**
|
|
2499
2499
|
* Get the code highlighted
|
|
@@ -4426,6 +4426,18 @@
|
|
|
4426
4426
|
this.internalValue = [];
|
|
4427
4427
|
this.value = this.internalValue; // forces value accessor to be called if necessary
|
|
4428
4428
|
}
|
|
4429
|
+
get value() {
|
|
4430
|
+
return this.internalValue;
|
|
4431
|
+
}
|
|
4432
|
+
set value(value) {
|
|
4433
|
+
if (this.internalValue !== value) {
|
|
4434
|
+
this.internalDisplayValue = this.formatter(value);
|
|
4435
|
+
this.internalValue = value;
|
|
4436
|
+
}
|
|
4437
|
+
if (value === null) {
|
|
4438
|
+
this.internalValue = [];
|
|
4439
|
+
}
|
|
4440
|
+
}
|
|
4429
4441
|
/**
|
|
4430
4442
|
* Assign the updated mask to mask property
|
|
4431
4443
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeedhi/common",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.105.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": "bac0dd5514d2a2e47f68c9e3b950e3041cf4aad4"
|
|
47
47
|
}
|
|
@@ -88,6 +88,8 @@ export declare class DateRange extends TextInput implements IDateRange {
|
|
|
88
88
|
parser(value: string): any;
|
|
89
89
|
get displayValue(): string;
|
|
90
90
|
set displayValue(newValue: string);
|
|
91
|
+
get value(): any;
|
|
92
|
+
set value(value: any);
|
|
91
93
|
/**
|
|
92
94
|
* Assign the updated mask to mask property
|
|
93
95
|
*/
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
}
|