tsgrid-ui 2.7.1 → 2.9.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/CHANGELOG.md +173 -0
- package/dist/base.d.ts +148 -0
- package/dist/base.es6.js +11 -0
- package/dist/base.es6.js.map +1 -0
- package/dist/chunks/chunk-26XP2XU3.js +1795 -0
- package/dist/chunks/chunk-26XP2XU3.js.map +1 -0
- package/dist/chunks/chunk-3NYH6545.js +2423 -0
- package/dist/chunks/chunk-3NYH6545.js.map +1 -0
- package/dist/chunks/chunk-BIB3X2TW.js +1638 -0
- package/dist/chunks/chunk-BIB3X2TW.js.map +1 -0
- package/dist/chunks/chunk-DXZJHS4M.js +1283 -0
- package/dist/chunks/chunk-DXZJHS4M.js.map +1 -0
- package/dist/chunks/chunk-EVZMMVXO.js +1212 -0
- package/dist/chunks/chunk-EVZMMVXO.js.map +1 -0
- package/dist/chunks/chunk-GJD5NFWQ.js +2305 -0
- package/dist/chunks/chunk-GJD5NFWQ.js.map +1 -0
- package/dist/chunks/chunk-IYF3Q7GX.js +127 -0
- package/dist/chunks/chunk-IYF3Q7GX.js.map +1 -0
- package/dist/chunks/chunk-OFASTA2A.js +2980 -0
- package/dist/chunks/chunk-OFASTA2A.js.map +1 -0
- package/dist/chunks/chunk-OMLGN735.js +677 -0
- package/dist/chunks/chunk-OMLGN735.js.map +1 -0
- package/dist/chunks/chunk-WKSLGUB3.js +1127 -0
- package/dist/chunks/chunk-WKSLGUB3.js.map +1 -0
- package/dist/chunks/chunk-YBY52G2U.js +849 -0
- package/dist/chunks/chunk-YBY52G2U.js.map +1 -0
- package/dist/field.d.ts +329 -0
- package/dist/field.es6.js +11 -0
- package/dist/field.es6.js.map +1 -0
- package/dist/form.d.ts +162 -0
- package/dist/form.es6.js +14 -0
- package/dist/form.es6.js.map +1 -0
- package/dist/layout.d.ts +108 -0
- package/dist/layout.es6.js +13 -0
- package/dist/layout.es6.js.map +1 -0
- package/dist/locale.d.ts +30 -0
- package/dist/locale.es6.js +7 -0
- package/dist/locale.es6.js.map +1 -0
- package/dist/metafile-esm.json +1 -0
- package/dist/popup.d.ts +92 -0
- package/dist/popup.es6.js +18 -0
- package/dist/popup.es6.js.map +1 -0
- package/dist/query-CKGg5Ugv.d.ts +81 -0
- package/dist/sidebar.d.ts +138 -0
- package/dist/sidebar.es6.js +11 -0
- package/dist/sidebar.es6.js.map +1 -0
- package/dist/tabs.d.ts +63 -0
- package/dist/tabs.es6.js +11 -0
- package/dist/tabs.es6.js.map +1 -0
- package/dist/toolbar.d.ts +97 -0
- package/dist/toolbar.es6.js +11 -0
- package/dist/toolbar.es6.js.map +1 -0
- package/dist/tooltip.d.ts +322 -0
- package/dist/tooltip.es6.js +18 -0
- package/dist/tooltip.es6.js.map +1 -0
- package/dist/tsgrid-ui.css +2 -2
- package/dist/tsgrid-ui.d.ts +16 -2004
- package/dist/tsgrid-ui.es6.js +7750 -23830
- package/dist/tsgrid-ui.es6.js.map +1 -1
- package/dist/tsgrid-ui.es6.min.js +28 -28
- package/dist/tsgrid-ui.js +96 -17
- package/dist/tsgrid-ui.min.css +2 -2
- package/dist/tsgrid-ui.min.js +24 -24
- package/dist/tsutils-message-CogFtVtO.d.ts +82 -0
- package/dist/utils.d.ts +418 -0
- package/dist/utils.es6.js +14 -0
- package/dist/utils.es6.js.map +1 -0
- package/package.json +26 -5
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
// src/tslocale.ts
|
|
2
|
+
var TsLocale = {
|
|
3
|
+
"locale": "en-US",
|
|
4
|
+
"dateFormat": "m/d/yyyy",
|
|
5
|
+
"timeFormat": "hh:mi pm",
|
|
6
|
+
"datetimeFormat": "m/d/yyyy|hh:mi pm",
|
|
7
|
+
"currencyPrefix": "$",
|
|
8
|
+
"currencySuffix": "",
|
|
9
|
+
"currencyPrecision": 2,
|
|
10
|
+
"groupSymbol": ",",
|
|
11
|
+
// aka "thousands separator"
|
|
12
|
+
"decimalSymbol": ".",
|
|
13
|
+
"shortmonths": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
|
|
14
|
+
"fullmonths": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
|
|
15
|
+
"shortdays": ["M", "T", "W", "T", "F", "S", "S"],
|
|
16
|
+
"fulldays": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"],
|
|
17
|
+
"weekStarts": "S",
|
|
18
|
+
// can be "M" for Monday or "S" for Sunday
|
|
19
|
+
// phrases used in TsUi, should be empty for original language
|
|
20
|
+
// keep these up-to-date and in sorted order
|
|
21
|
+
// value = "---" to easier see what to translate
|
|
22
|
+
"phrases": {
|
|
23
|
+
"${count} letters or more...": "---",
|
|
24
|
+
"Add new record": "---",
|
|
25
|
+
"Add New": "---",
|
|
26
|
+
"Advanced Search": "---",
|
|
27
|
+
"after": "---",
|
|
28
|
+
"AJAX error. See console for more details.": "---",
|
|
29
|
+
"All Fields": "---",
|
|
30
|
+
"All": "---",
|
|
31
|
+
"Any": "---",
|
|
32
|
+
"Are you sure you want to delete ${count} ${records}?": "---",
|
|
33
|
+
"Attach files by dragging and dropping or Click to Select": "---",
|
|
34
|
+
"before": "---",
|
|
35
|
+
"begins with": "---",
|
|
36
|
+
"begins": "---",
|
|
37
|
+
"between": "---",
|
|
38
|
+
"buffered": "---",
|
|
39
|
+
"Cancel": "---",
|
|
40
|
+
"Close": "---",
|
|
41
|
+
"Column": "---",
|
|
42
|
+
"Confirmation": "---",
|
|
43
|
+
"contains": "---",
|
|
44
|
+
"Copied": "---",
|
|
45
|
+
"Copy to clipboard": "---",
|
|
46
|
+
"Current Date & Time": "---",
|
|
47
|
+
"Delete selected records": "---",
|
|
48
|
+
"Delete": "---",
|
|
49
|
+
'Do you want to delete search item "${item}"?': "---",
|
|
50
|
+
"Edit selected record": "---",
|
|
51
|
+
"Edit": "---",
|
|
52
|
+
"Empty list": "---",
|
|
53
|
+
"ends with": "---",
|
|
54
|
+
"ends": "---",
|
|
55
|
+
"Field should be at least ${count} characters.": "---",
|
|
56
|
+
"Hide": "---",
|
|
57
|
+
"in": "---",
|
|
58
|
+
"is not": "---",
|
|
59
|
+
"is": "---",
|
|
60
|
+
"less than": "---",
|
|
61
|
+
"Line #": "---",
|
|
62
|
+
"Load ${count} more...": "---",
|
|
63
|
+
"Loading...": "---",
|
|
64
|
+
"Maximum number of files is ${count}": "---",
|
|
65
|
+
"Maximum total size is ${count}": "---",
|
|
66
|
+
"Modified": "---",
|
|
67
|
+
"more than": "---",
|
|
68
|
+
"Multiple Fields": "---",
|
|
69
|
+
"Name": "---",
|
|
70
|
+
"No items found": "---",
|
|
71
|
+
"No matches": "---",
|
|
72
|
+
"No": "---",
|
|
73
|
+
"none": "---",
|
|
74
|
+
"Not a float": "---",
|
|
75
|
+
"Not a hex number": "---",
|
|
76
|
+
"Not a valid date": "---",
|
|
77
|
+
"Not a valid email": "---",
|
|
78
|
+
"Not alpha-numeric": "---",
|
|
79
|
+
"Not an integer": "---",
|
|
80
|
+
"Not in money format": "---",
|
|
81
|
+
"not in": "---",
|
|
82
|
+
"Notification": "---",
|
|
83
|
+
"of": "---",
|
|
84
|
+
"Ok": "---",
|
|
85
|
+
"Opacity": "---",
|
|
86
|
+
"Record ID": "---",
|
|
87
|
+
"record": "---",
|
|
88
|
+
"records": "---",
|
|
89
|
+
"Refreshing...": "---",
|
|
90
|
+
"RegEx": "---",
|
|
91
|
+
"regex": "---",
|
|
92
|
+
"Reload data in the list": "---",
|
|
93
|
+
"Remove": "---",
|
|
94
|
+
"Remove This Field": "---",
|
|
95
|
+
"Request aborted.": "---",
|
|
96
|
+
"Required field": "---",
|
|
97
|
+
"Reset": "---",
|
|
98
|
+
"Restore Default State": "---",
|
|
99
|
+
"Returned data is not in valid JSON format.": "---",
|
|
100
|
+
"Save changed records": "---",
|
|
101
|
+
"Save Grid State": "---",
|
|
102
|
+
"Save": "---",
|
|
103
|
+
"Saved Searches": "---",
|
|
104
|
+
"Saving...": "---",
|
|
105
|
+
"Search took ${count} seconds": "---",
|
|
106
|
+
"Search": "---",
|
|
107
|
+
"Select Hour": "---",
|
|
108
|
+
"Select Minute": "---",
|
|
109
|
+
"selected": "---",
|
|
110
|
+
"Server Response ${count} seconds": "---",
|
|
111
|
+
"Show/hide columns": "---",
|
|
112
|
+
"Show": "---",
|
|
113
|
+
"Size": "---",
|
|
114
|
+
"Skip": "---",
|
|
115
|
+
"Sorting took ${count} seconds": "---",
|
|
116
|
+
"Type to search...": "---",
|
|
117
|
+
"Type": "---",
|
|
118
|
+
"Yes": "---",
|
|
119
|
+
"Yesterday": "---",
|
|
120
|
+
"Your remote data source record count has changed, reloading from the first record.": "---"
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
export {
|
|
125
|
+
TsLocale
|
|
126
|
+
};
|
|
127
|
+
//# sourceMappingURL=chunk-IYF3Q7GX.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/tslocale.ts"],"sourcesContent":["/**\n * Part of TsUi 2.0 library\n * - Dependencies: none\n *\n * These are the master locale settings that will be used by TsUtils\n *\n * \"locale\" should be the IETF language tag in the form xx-YY,\n * where xx is the ISO 639-1 language code ( see https://en.wikipedia.org/wiki/ISO_639-1 ) and\n * YY is the ISO 3166-1 alpha-2 country code ( see https://en.wikipedia.org/wiki/ISO_3166-2 )\n */\n\nexport interface TsLocaleSettings {\n locale: string\n dateFormat: string\n timeFormat: string\n datetimeFormat: string\n currencyPrefix: string\n currencySuffix: string\n currencyPrecision: number\n groupSymbol: string\n decimalSymbol: string\n shortmonths: string[]\n fullmonths: string[]\n shortdays: string[]\n fulldays: string[]\n weekStarts: string\n phrases: Record<string, string> | null\n}\n\nconst TsLocale: TsLocaleSettings = {\n 'locale' : 'en-US',\n 'dateFormat' : 'm/d/yyyy',\n 'timeFormat' : 'hh:mi pm',\n 'datetimeFormat' : 'm/d/yyyy|hh:mi pm',\n 'currencyPrefix' : '$',\n 'currencySuffix' : '',\n 'currencyPrecision' : 2,\n 'groupSymbol' : ',', // aka \"thousands separator\"\n 'decimalSymbol' : '.',\n 'shortmonths' : ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],\n 'fullmonths' : ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],\n 'shortdays' : ['M', 'T', 'W', 'T', 'F', 'S', 'S'],\n 'fulldays' : ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'],\n 'weekStarts' : 'S', // can be \"M\" for Monday or \"S\" for Sunday\n // phrases used in TsUi, should be empty for original language\n // keep these up-to-date and in sorted order\n // value = \"---\" to easier see what to translate\n 'phrases': {\n '${count} letters or more...': '---',\n 'Add new record': '---',\n 'Add New': '---',\n 'Advanced Search': '---',\n 'after': '---',\n 'AJAX error. See console for more details.': '---',\n 'All Fields': '---',\n 'All': '---',\n 'Any': '---',\n 'Are you sure you want to delete ${count} ${records}?': '---',\n 'Attach files by dragging and dropping or Click to Select': '---',\n 'before': '---',\n 'begins with': '---',\n 'begins': '---',\n 'between': '---',\n 'buffered': '---',\n 'Cancel': '---',\n 'Close': '---',\n 'Column': '---',\n 'Confirmation': '---',\n 'contains': '---',\n 'Copied': '---',\n 'Copy to clipboard': '---',\n 'Current Date & Time': '---',\n 'Delete selected records': '---',\n 'Delete': '---',\n 'Do you want to delete search item \"${item}\"?': '---',\n 'Edit selected record': '---',\n 'Edit': '---',\n 'Empty list': '---',\n 'ends with': '---',\n 'ends': '---',\n 'Field should be at least ${count} characters.': '---',\n 'Hide': '---',\n 'in': '---',\n 'is not': '---',\n 'is': '---',\n 'less than': '---',\n 'Line #': '---',\n 'Load ${count} more...': '---',\n 'Loading...': '---',\n 'Maximum number of files is ${count}': '---',\n 'Maximum total size is ${count}': '---',\n 'Modified': '---',\n 'more than': '---',\n 'Multiple Fields': '---',\n 'Name': '---',\n 'No items found': '---',\n 'No matches': '---',\n 'No': '---',\n 'none': '---',\n 'Not a float': '---',\n 'Not a hex number': '---',\n 'Not a valid date': '---',\n 'Not a valid email': '---',\n 'Not alpha-numeric': '---',\n 'Not an integer': '---',\n 'Not in money format': '---',\n 'not in': '---',\n 'Notification': '---',\n 'of': '---',\n 'Ok': '---',\n 'Opacity': '---',\n 'Record ID': '---',\n 'record': '---',\n 'records': '---',\n 'Refreshing...': '---',\n 'RegEx': '---',\n 'regex': '---',\n 'Reload data in the list': '---',\n 'Remove': '---',\n 'Remove This Field': '---',\n 'Request aborted.': '---',\n 'Required field': '---',\n 'Reset': '---',\n 'Restore Default State': '---',\n 'Returned data is not in valid JSON format.': '---',\n 'Save changed records': '---',\n 'Save Grid State': '---',\n 'Save': '---',\n 'Saved Searches': '---',\n 'Saving...': '---',\n 'Search took ${count} seconds': '---',\n 'Search': '---',\n 'Select Hour': '---',\n 'Select Minute': '---',\n 'selected': '---',\n 'Server Response ${count} seconds': '---',\n 'Show/hide columns': '---',\n 'Show': '---',\n 'Size': '---',\n 'Skip': '---',\n 'Sorting took ${count} seconds': '---',\n 'Type to search...': '---',\n 'Type': '---',\n 'Yes': '---',\n 'Yesterday': '---',\n 'Your remote data source record count has changed, reloading from the first record.': '---'\n }\n}\nexport { TsLocale }\n"],"mappings":";AA6BA,IAAM,WAA6B;AAAA,EAC/B,UAAsB;AAAA,EACtB,cAAsB;AAAA,EACtB,cAAsB;AAAA,EACtB,kBAAsB;AAAA,EACtB,kBAAsB;AAAA,EACtB,kBAAsB;AAAA,EACtB,qBAAsB;AAAA,EACtB,eAAsB;AAAA;AAAA,EACtB,iBAAsB;AAAA,EACtB,eAAsB,CAAC,OAAO,OAAO,OAAO,OAAO,OAAO,OAAO,OAAO,OAAO,OAAO,OAAO,OAAO,KAAK;AAAA,EACzG,cAAsB,CAAC,WAAW,YAAY,SAAS,SAAS,OAAO,QAAQ,QA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