@sme.up/ketchup 8.0.1 → 8.0.2
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/cjs/{f-button-c0ede055.js → f-button-9524bbf7.js} +1 -1
- package/dist/cjs/{f-cell-1c17dbac.js → f-cell-bcb75ade.js} +10 -8
- package/dist/cjs/{f-chip-bace36bb.js → f-chip-2249b386.js} +2 -2
- package/dist/cjs/{f-image-22174590.js → f-image-47d74999.js} +1 -1
- package/dist/cjs/{f-paginator-utils-e21e1f06.js → f-paginator-utils-b0a9ae5f.js} +63 -62
- package/dist/cjs/{f-text-field-503f2bb0.js → f-text-field-579c0fc0.js} +1 -1
- package/dist/cjs/kup-accordion.cjs.entry.js +2 -2
- package/dist/cjs/kup-autocomplete_27.cjs.entry.js +32 -87
- package/dist/cjs/kup-box.cjs.entry.js +7 -7
- package/dist/cjs/kup-calendar.cjs.entry.js +4 -4
- package/dist/cjs/kup-cell.cjs.entry.js +5 -5
- package/dist/cjs/kup-dash-list.cjs.entry.js +1 -1
- package/dist/cjs/kup-dash_2.cjs.entry.js +1 -1
- package/dist/cjs/kup-dashboard.cjs.entry.js +4 -4
- package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
- package/dist/cjs/kup-echart.cjs.entry.js +1 -1
- package/dist/cjs/kup-family-tree.cjs.entry.js +3 -3
- package/dist/cjs/kup-iframe.cjs.entry.js +1 -1
- package/dist/cjs/kup-image-list.cjs.entry.js +6 -6
- package/dist/cjs/kup-lazy.cjs.entry.js +1 -1
- package/dist/cjs/kup-magic-box.cjs.entry.js +2 -2
- package/dist/cjs/{kup-manager-b994cf71.js → kup-manager-85b2a756.js} +679 -531
- package/dist/cjs/kup-nav-bar.cjs.entry.js +1 -1
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +2 -2
- package/dist/cjs/kup-photo-frame.cjs.entry.js +1 -1
- package/dist/cjs/kup-planner.cjs.entry.js +2 -2
- package/dist/cjs/kup-probe.cjs.entry.js +1 -1
- package/dist/cjs/kup-qlik.cjs.entry.js +1 -1
- package/dist/cjs/kup-snackbar.cjs.entry.js +3 -3
- package/dist/collection/assets/data-table.js +0 -44
- package/dist/collection/components/kup-card/built-in/kup-card-calendar.js +5 -61
- package/dist/collection/components/kup-card/built-in/kup-card-clock.js +1 -1
- package/dist/collection/components/kup-data-table/kup-data-table-helper.js +7 -8
- package/dist/collection/components/kup-data-table/kup-data-table-state.js +1 -1
- package/dist/collection/components/kup-data-table/kup-data-table.js +5 -4
- package/dist/collection/components/kup-gauge/kup-gauge.js +4 -4
- package/dist/collection/components/kup-text-field/kup-text-field.js +4 -5
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +7 -7
- package/dist/collection/components/kup-tree/kup-tree.js +2 -2
- package/dist/collection/f-components/f-cell/f-cell.js +6 -5
- package/dist/collection/f-components/f-paginator/f-paginator-utils.js +3 -3
- package/dist/collection/managers/kup-data/kup-data.js +3 -1
- package/dist/collection/managers/kup-dates/kup-dates-declarations.js +21 -10
- package/dist/collection/managers/kup-dates/kup-dates.js +312 -1
- package/dist/collection/managers/kup-math/kup-math.js +180 -9
- package/dist/collection/utils/cell-utils.js +5 -6
- package/dist/collection/utils/filters/filters.js +11 -13
- package/dist/collection/utils/utils.js +18 -435
- package/dist/components/kup-autocomplete2.js +915 -810
- package/dist/components/kup-box2.js +1 -1
- package/dist/components/kup-calendar.js +1 -1
- package/dist/components/kup-cell.js +1 -1
- package/dist/components/kup-dashboard.js +1 -1
- package/dist/components/kup-echart2.js +1 -1
- package/dist/components/kup-family-tree.js +1 -1
- package/dist/components/kup-grid2.js +1 -1
- package/dist/components/kup-iframe.js +1 -1
- package/dist/components/kup-image-list.js +1 -1
- package/dist/components/kup-magic-box.js +1 -1
- package/dist/components/kup-numeric-picker.js +1 -1
- package/dist/components/kup-planner.js +1 -1
- package/dist/esm/{f-button-c377973d.js → f-button-024f0cfe.js} +1 -1
- package/dist/esm/{f-cell-e5a98bc8.js → f-cell-90240a8c.js} +10 -8
- package/dist/esm/{f-chip-c8a18c48.js → f-chip-2238ad43.js} +2 -2
- package/dist/esm/{f-image-5cbdf39d.js → f-image-f2e9bf79.js} +1 -1
- package/dist/esm/{f-paginator-utils-a1dab059.js → f-paginator-utils-8cb3c023.js} +63 -62
- package/dist/esm/{f-text-field-dafb7c8b.js → f-text-field-d231982c.js} +1 -1
- package/dist/esm/kup-accordion.entry.js +2 -2
- package/dist/esm/kup-autocomplete_27.entry.js +26 -81
- package/dist/esm/kup-box.entry.js +7 -7
- package/dist/esm/kup-calendar.entry.js +4 -4
- package/dist/esm/kup-cell.entry.js +5 -5
- package/dist/esm/kup-dash-list.entry.js +1 -1
- package/dist/esm/kup-dash_2.entry.js +1 -1
- package/dist/esm/kup-dashboard.entry.js +4 -4
- package/dist/esm/kup-drawer.entry.js +1 -1
- package/dist/esm/kup-echart.entry.js +1 -1
- package/dist/esm/kup-family-tree.entry.js +3 -3
- package/dist/esm/kup-iframe.entry.js +1 -1
- package/dist/esm/kup-image-list.entry.js +6 -6
- package/dist/esm/kup-lazy.entry.js +1 -1
- package/dist/esm/kup-magic-box.entry.js +2 -2
- package/dist/esm/{kup-manager-3594cde8.js → kup-manager-d1da769e.js} +679 -522
- package/dist/esm/kup-nav-bar.entry.js +1 -1
- package/dist/esm/kup-numeric-picker.entry.js +2 -2
- package/dist/esm/kup-photo-frame.entry.js +1 -1
- package/dist/esm/kup-planner.entry.js +2 -2
- package/dist/esm/kup-probe.entry.js +1 -1
- package/dist/esm/kup-qlik.entry.js +1 -1
- package/dist/esm/kup-snackbar.entry.js +3 -3
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-31abf4b6.entry.js → p-063d4c27.entry.js} +1 -1
- package/dist/ketchup/{p-9fc6a9a8.entry.js → p-0bcda0e2.entry.js} +1 -1
- package/dist/ketchup/{p-473d2bea.entry.js → p-0d7d59c7.entry.js} +1 -1
- package/dist/ketchup/{p-b718af72.entry.js → p-163b18b9.entry.js} +1 -1
- package/dist/ketchup/{p-37ada0f0.entry.js → p-1ad628fb.entry.js} +1 -1
- package/dist/ketchup/{p-5205286a.entry.js → p-33aff1ca.entry.js} +1 -1
- package/dist/ketchup/p-3432ebaf.entry.js +9 -0
- package/dist/ketchup/{p-80815edf.entry.js → p-35b29b22.entry.js} +1 -1
- package/dist/ketchup/{p-acaa171f.js → p-36dac88e.js} +3 -3
- package/dist/ketchup/{p-22e72f06.entry.js → p-37067ee6.entry.js} +1 -1
- package/dist/ketchup/p-39a55c47.js +1 -0
- package/dist/ketchup/{p-8b248655.js → p-3cf64473.js} +1 -1
- package/dist/ketchup/p-410c102a.js +1 -0
- package/dist/ketchup/{p-d76be079.entry.js → p-43b67de4.entry.js} +1 -1
- package/dist/ketchup/{p-ef0b4f19.entry.js → p-489d55ff.entry.js} +1 -1
- package/dist/ketchup/{p-2d32e3cd.js → p-5f3680f2.js} +1 -1
- package/dist/ketchup/{p-cf322853.entry.js → p-651d89c8.entry.js} +1 -1
- package/dist/ketchup/{p-4c56e199.entry.js → p-73c8d651.entry.js} +1 -1
- package/dist/ketchup/{p-d1164680.entry.js → p-83435e6c.entry.js} +1 -1
- package/dist/ketchup/{p-7f4f5f0f.entry.js → p-89743989.entry.js} +1 -1
- package/dist/ketchup/{p-6762d447.js → p-8b46e7ce.js} +1 -1
- package/dist/ketchup/p-a84f1d24.entry.js +1 -0
- package/dist/ketchup/{p-ed7e118e.entry.js → p-b2fd2dbf.entry.js} +1 -1
- package/dist/ketchup/{p-ce5b6ce7.entry.js → p-c42b80c1.entry.js} +1 -1
- package/dist/ketchup/p-d1b050d0.entry.js +27 -0
- package/dist/ketchup/{p-d4eb9a76.entry.js → p-d6ea709e.entry.js} +1 -1
- package/dist/ketchup/{p-7be5ef32.entry.js → p-e1f1e661.entry.js} +1 -1
- package/dist/ketchup/p-eda7f130.js +1 -0
- package/dist/ketchup/{p-afff7a6e.entry.js → p-f876125d.entry.js} +1 -1
- package/dist/types/components/kup-data-table/kup-data-table-state.d.ts +1 -1
- package/dist/types/managers/kup-dates/kup-dates-declarations.d.ts +19 -9
- package/dist/types/managers/kup-dates/kup-dates.d.ts +94 -1
- package/dist/types/managers/kup-math/kup-math.d.ts +68 -7
- package/dist/types/utils/utils.d.ts +13 -102
- package/package.json +1 -1
- package/dist/ketchup/p-017418e7.entry.js +0 -27
- package/dist/ketchup/p-38f16697.entry.js +0 -9
- package/dist/ketchup/p-4638fbff.js +0 -1
- package/dist/ketchup/p-61319cfa.js +0 -1
- package/dist/ketchup/p-6c726886.entry.js +0 -1
- package/dist/ketchup/p-bf4a881b.js +0 -1
|
@@ -1,111 +1,15 @@
|
|
|
1
1
|
import { GenericObject } from '../types/GenericTypes';
|
|
2
2
|
import { KupBoxRow } from '../components/kup-box/kup-box-declarations';
|
|
3
3
|
import { KupDataRow } from '../managers/kup-data/kup-data-declarations';
|
|
4
|
-
export declare enum DateTimeFormatOptionsMonth {
|
|
5
|
-
NUMERIC = "numeric",
|
|
6
|
-
DIGIT2 = "2-digit",
|
|
7
|
-
LONG = "long",
|
|
8
|
-
SHORT = "short",
|
|
9
|
-
NARROW = "narrow"
|
|
10
|
-
}
|
|
11
4
|
export declare function identify(array: Array<KupBoxRow | KupDataRow>): void;
|
|
12
|
-
export declare function getCurrentDateFormatFromBrowserLocale(): string;
|
|
13
5
|
/**
|
|
14
|
-
*
|
|
15
|
-
* @param
|
|
16
|
-
* @
|
|
6
|
+
* Fills a string with another string, eventually before
|
|
7
|
+
* @param {string} stringIn initial string
|
|
8
|
+
* @param {string} stringForFill string used for fill
|
|
9
|
+
* @param {number} finalLen final string length
|
|
10
|
+
* @param {boolean} addBefore flag for fill on left
|
|
11
|
+
* @returns the input string filled with stringForFill
|
|
17
12
|
*/
|
|
18
|
-
export declare function isValidFormattedStringNumber(value: string, type: string): boolean;
|
|
19
|
-
export declare function isNumber(value: any): boolean;
|
|
20
|
-
/**
|
|
21
|
-
* @param input number as string, formatted by locale US, decimal separator . (like java decimal numbers)
|
|
22
|
-
* @returns number
|
|
23
|
-
**/
|
|
24
|
-
export declare function stringToNumber(input: string): number;
|
|
25
|
-
/**
|
|
26
|
-
* @param input number
|
|
27
|
-
* @param decimals number of significant decimal digits for output
|
|
28
|
-
* @returns number as string, formatted by actual browser locale
|
|
29
|
-
**/
|
|
30
|
-
export declare function numberToString(input: number, decimals: number): string;
|
|
31
|
-
/**
|
|
32
|
-
* @param type - type of number for calculate suffix
|
|
33
|
-
* @returns suffix for number, by type
|
|
34
|
-
**/
|
|
35
|
-
export declare function getNumericValueSuffixByType(type: string): string;
|
|
36
|
-
/**
|
|
37
|
-
* @param input number
|
|
38
|
-
* @param decimals number of significant decimal digits for output
|
|
39
|
-
* @param type - type of number for calculate suffix
|
|
40
|
-
* @returns number as string, formatted by actual browser locale, with suffix by type
|
|
41
|
-
**/
|
|
42
|
-
export declare function numberToFormattedStringNumber(input: number, decimals: number, type: string): string;
|
|
43
|
-
/**
|
|
44
|
-
* @param input number as string, formatted by locale US, decimal separator . (like java decimal numbers)
|
|
45
|
-
* @param decimals number of significant decimal digits for output
|
|
46
|
-
* @param type - type of number for calculate suffix
|
|
47
|
-
* @returns number as string, formatted by actual browser locale, with suffix by type
|
|
48
|
-
**/
|
|
49
|
-
export declare function unformattedStringToFormattedStringNumber(input: string, decimals: number, type: string): string;
|
|
50
|
-
/**
|
|
51
|
-
* @param input number as string, formatted by actual browser locale
|
|
52
|
-
* @param type - type of number for calculate suffix
|
|
53
|
-
* @returns number as string, formatted by locale US, decimal separator . (like java decimal numbers), without group separator
|
|
54
|
-
**/
|
|
55
|
-
export declare function formattedStringToUnformattedStringNumber(input: string, type: string): string;
|
|
56
|
-
/**
|
|
57
|
-
* @param input number as string, formatted by locale US, decimal separator . (like java decimal numbers), with group separator
|
|
58
|
-
* @param type - type of number for calculate suffix
|
|
59
|
-
* @returns number as string, formatted by locale US, decimal separator . (like java decimal numbers), without group separator
|
|
60
|
-
**/
|
|
61
|
-
export declare function unformattedStringNumberToNumber(input: string, type: string): string;
|
|
62
|
-
export declare function _numberToString(input: number, decimals: number, locale: string, useGrouping: boolean): string;
|
|
63
|
-
/**
|
|
64
|
-
* @param time time as Date object
|
|
65
|
-
* @param manageSeconds flag to set seconds managing
|
|
66
|
-
* @return time as string, formatted
|
|
67
|
-
**/
|
|
68
|
-
export declare function formatTime(time: Date, manageSeconds: boolean): string;
|
|
69
|
-
/**
|
|
70
|
-
* @param value time string, formatted by actual browser locale
|
|
71
|
-
* @returns true if time string in input is a valid time
|
|
72
|
-
*/
|
|
73
|
-
export declare function isValidFormattedStringTime(value: string, manageSeconds: boolean): boolean;
|
|
74
|
-
/**
|
|
75
|
-
* @param value time as string, formatted by actual browser locale
|
|
76
|
-
* @returns time as string, formatted ISO
|
|
77
|
-
**/
|
|
78
|
-
export declare function formattedStringToDefaultUnformattedStringTime(value: string): string;
|
|
79
|
-
/**
|
|
80
|
-
* @param value date/time as string, formatted by actual browser locale
|
|
81
|
-
* @returns date/time as string, formatted ISO
|
|
82
|
-
**/
|
|
83
|
-
export declare function formattedStringToDefaultUnformattedStringTimestamp(value: string): string;
|
|
84
|
-
/**
|
|
85
|
-
* @param value time as string, formatted by actual browser locale
|
|
86
|
-
* @param outputFormat time format to return
|
|
87
|
-
* @param manageSeconds flag to set seconds managing
|
|
88
|
-
* @returns time as string, formatted
|
|
89
|
-
**/
|
|
90
|
-
export declare function formattedStringToCustomUnformattedStringTime(value: string, outputFormat: string, manageSeconds: boolean): string;
|
|
91
|
-
/**
|
|
92
|
-
* @param value time as string, formatted ISO
|
|
93
|
-
* @param manageSeconds flag to set seconds managing
|
|
94
|
-
* @param valueTimeFormat time format (default ISO)
|
|
95
|
-
* @param customedFormat time format from smeupObject
|
|
96
|
-
* @returns time as string, formatted by actual browser locale
|
|
97
|
-
**/
|
|
98
|
-
export declare function unformattedStringToFormattedStringTime(value: string, manageSeconds: boolean, customedFormat?: string): string;
|
|
99
|
-
/**
|
|
100
|
-
* @param value date/time as string, formatted ISO
|
|
101
|
-
* @param valueDateFormat date/time format (default ISO)
|
|
102
|
-
* @returns date/time as string, formatted by actual browser locale
|
|
103
|
-
**/
|
|
104
|
-
export declare function unformattedStringToFormattedStringTimestamp(value: string): string;
|
|
105
|
-
export declare function getMonthAsStringByLocale(month: number, format: DateTimeFormatOptionsMonth): string;
|
|
106
|
-
export declare function getMonthsAsStringByLocale(format?: DateTimeFormatOptionsMonth): string[];
|
|
107
|
-
export declare function getDayAsStringByLocale(date: Date): string;
|
|
108
|
-
export declare function getDaysOfWeekAsStringByLocale(firstDayIndex?: number): string[];
|
|
109
13
|
export declare function fillString(stringIn: string, stringForFill: string, finalLen: number, addBefore: boolean): string;
|
|
110
14
|
/**
|
|
111
15
|
* Used to retrieve component's props values.
|
|
@@ -122,3 +26,10 @@ export declare function getProps(comp: any, list: GenericObject, descriptions?:
|
|
|
122
26
|
* @param {GenericObject} props - Prop to be set.
|
|
123
27
|
*/
|
|
124
28
|
export declare function setProps(comp: any, list: GenericObject, props: GenericObject): void;
|
|
29
|
+
/**
|
|
30
|
+
* Creates a regular expression object, from a string un-escaped
|
|
31
|
+
* @param s string to use for create regular expression (not escaped)
|
|
32
|
+
* @param flags flags used for the regular expression
|
|
33
|
+
* @returns the regular expression object
|
|
34
|
+
*/
|
|
35
|
+
export declare function getRegExpFromString(s: string, flags?: string): RegExp;
|