Skip to content

Commit 69bdac0

Browse files
fixed values in d.ts files
updated d.ts and tips.json files
1 parent de9e4cd commit 69bdac0

File tree

9 files changed

+2906
-921
lines changed

9 files changed

+2906
-921
lines changed

docs/docs/MUI-tips.json

+1,591-23
Large diffs are not rendered by default.

docs/docs/MUI.d.ts

+33-33
Original file line numberDiff line numberDiff line change
@@ -239,13 +239,13 @@ class DsMUI {
239239
AddCheckbox(parent: DsLayout, list: lst, width: num_frc, height: num_frc, color: str_col): MuiCheckbox;
240240

241241
/**
242-
* Adds an MUI checklist dialog. See CreateCheckList for a full documentation.{dso} parent ../app/CreateTextEdit
242+
* Adds an MUI checklist dialog. See CreateCheckList for a full documentation
243243
* @param list An array of objects of the form {name: string, check: boolean}
244244
*/
245-
AddCheckList(title: str, list: lst_obj, color: str_col, bottom: bin): MuiCheckList;
245+
AddCheckList(parent: DsTextEdit, title: str, list: lst_obj, color: str_col, bottom: bin): MuiCheckList;
246246

247247
/** Creates a color picker dialog where you can select a range of MUI predefined colors */
248-
AddColorPicker(title: "Title"): MuiColorPicker;
248+
AddColorPicker(parent: DsTextEdit, title: "Title"): MuiColorPicker;
249249

250250
/**
251251
* Adds a new DataTable Control
@@ -257,12 +257,12 @@ class DsMUI {
257257
AddDataTable(parent: DsLayout, columns: lst, values: lst, width: num, height: num, options: string | ("Selectable")[]): MuiDataTable;
258258

259259
/**
260-
* Adds a date picker dialog. See CreateDatePicker for a full documentation.{dso} parent ../app/CreateTextEdit
260+
* Adds a date picker dialog. See CreateDatePicker for a full documentation
261261
* @param yyyy Full year
262262
* @param mm [0-11]
263263
* @param dd [1-31]
264264
*/
265-
AddDatePicker(yyyy: num_int, mm: num_int, dd: num_int, color: str_col): MuiDatePicker;
265+
AddDatePicker(parent: DsTextEdit, yyyy: num_int, mm: num_int, dd: num_int, color: str_col): MuiDatePicker;
266266

267267
/**
268268
* Adds a customizable materialize dialog. See CreateDialog for a full documentation
@@ -304,10 +304,10 @@ class DsMUI {
304304
AddList(parent: DsLayout, list: str, width: num, height: num, options: string | ("simple"|"modern"|"default"|"divider")[]): MuiList;
305305

306306
/**
307-
* Adds a more customizable list dialog or checklist dialog. See CreateListDialog and CreateCheckList for a full documentation on each type.{dso} parent ../app/CreateTextEdit
307+
* Adds a more customizable list dialog or checklist dialog. See CreateListDialog and CreateCheckList for a full documentation on each type
308308
* @param list An array of objects
309309
*/
310-
AddListDialog(title: str, list: lst, color: str_col, options: string | ("CheckList"|"ListDialog"|"Bottom")[]): MuiListDialog;
310+
AddListDialog(parent: DsTextEdit, title: str, list: lst, color: str_col, options: string | ("CheckList"|"ListDialog"|"Bottom")[]): MuiListDialog;
311311

312312
/**
313313
* Adds a ListModern control on a given layout. See CreateListModern for a full documentation
@@ -340,8 +340,8 @@ class DsMUI {
340340
*/
341341
AddModal(title: str, body: str, okTxt: str, cancelTxt: str, options: str): MuiModal;
342342

343-
/** Adds a picker dialog such as time, date or color. See CreateDatePicker, CreateTimePicker and CreateColorPicker for a full documentation.{dso} parent ../app/CreateTextEdit */
344-
AddPicker(options: "Date"|"Color"|"Time"): MuiPicker;
343+
/** Adds a picker dialog such as time, date or color. See CreateDatePicker, CreateTimePicker and CreateColorPicker for a full documentation */
344+
AddPicker(parent: DsTextEdit, options: "Date"|"Color"|"Time"): MuiPicker;
345345

346346
/** #AddRadio.md */
347347
AddRadio(parent: DsLayout, list: string | ("strings")[], width: num, height: num, options: string | ("Buttons"|"Material"|"Normal")[], p1: "color"|"orientation", color: str_col, backColor: str_col): MuiRadio;
@@ -585,10 +585,10 @@ class DsMUI {
585585
* @param hour [0-24]
586586
* @param minute 0-59
587587
*/
588-
AddTimePicker(hour: num, minute: num, color: str_col): MuiTimePicker;
588+
AddTimePicker(parent: DsTextEdit, hour: num, minute: num, color: str_col): MuiTimePicker;
589589

590590
/** #colors.md */
591-
colors(): obj;
591+
colors: obj;
592592

593593
/**
594594
* A nice pop-up at the top of your current layout
@@ -1016,7 +1016,7 @@ class DsMUI {
10161016
CreateTimePicker(hour: num, minute: num, color: str_col): MuiTimePicker;
10171017

10181018
/** #fonts.md */
1019-
fonts(): obj;
1019+
fonts: obj;
10201020

10211021
/** Show a menu on a given control */
10221022
ShowMenu(control: dso, list: str_lst, width: num_frc): obj;
@@ -1158,7 +1158,7 @@ class MuiBanner {
11581158
class MuiButtonContained {
11591159

11601160
/** Data */
1161-
data(): obj;
1161+
data: obj;
11621162

11631163
/** Get type */
11641164
GetType(): "Button";
@@ -1171,7 +1171,7 @@ class MuiButtonContained {
11711171
class MuiButtonElegant {
11721172

11731173
/** Data */
1174-
data(): obj;
1174+
data: obj;
11751175

11761176
/** Get type */
11771177
GetType(): "Button";
@@ -1184,7 +1184,7 @@ class MuiButtonElegant {
11841184
class MuiButtonFlat {
11851185

11861186
/** Data */
1187-
data(): obj;
1187+
data: obj;
11881188

11891189
/** Get type */
11901190
GetType(): "Button";
@@ -1197,7 +1197,7 @@ class MuiButtonFlat {
11971197
class MuiButtonOutlined {
11981198

11991199
/** Data */
1200-
data(): obj;
1200+
data: obj;
12011201

12021202
/** Get type */
12031203
GetType(): "Button";
@@ -1210,7 +1210,7 @@ class MuiButtonOutlined {
12101210
class MuiButtonRaised {
12111211

12121212
/** Data */
1213-
data(): obj;
1213+
data: obj;
12141214

12151215
/** Get type */
12161216
GetType(): "Button";
@@ -1223,7 +1223,7 @@ class MuiButtonRaised {
12231223
class MuiButtonRaisedO {
12241224

12251225
/** Data */
1226-
data(): obj;
1226+
data: obj;
12271227

12281228
/** Get type */
12291229
GetType(): "Button";
@@ -1236,7 +1236,7 @@ class MuiButtonRaisedO {
12361236
class MuiButtonRound {
12371237

12381238
/** Data */
1239-
data(): obj;
1239+
data: obj;
12401240

12411241
/** Get type */
12421242
GetType(): "Button";
@@ -1249,7 +1249,7 @@ class MuiButtonRound {
12491249
class MuiButtonRoundO {
12501250

12511251
/** Data */
1252-
data(): obj;
1252+
data: obj;
12531253

12541254
/** Get type */
12551255
GetType(): "Button";
@@ -1262,7 +1262,7 @@ class MuiButtonRoundO {
12621262
class MuiButtonToggle {
12631263

12641264
/** Data */
1265-
data(): obj;
1265+
data: obj;
12661266

12671267
/** Get type */
12681268
GetType(): "Button";
@@ -1414,7 +1414,7 @@ class MuiFAB {
14141414
GetIcon(): str;
14151415

14161416
/** Data */
1417-
data(): obj;
1417+
data: obj;
14181418

14191419
/** Get type */
14201420
GetType(): "Button";
@@ -1439,7 +1439,7 @@ class MuiFABElegant {
14391439
GetIcon(): str;
14401440

14411441
/** Data */
1442-
data(): obj;
1442+
data: obj;
14431443

14441444
/** Get type */
14451445
GetType(): "Button";
@@ -1464,7 +1464,7 @@ class MuiFABOutline {
14641464
GetIcon(): str;
14651465

14661466
/** Data */
1467-
data(): obj;
1467+
data: obj;
14681468

14691469
/** Get type */
14701470
GetType(): "Button";
@@ -2672,7 +2672,7 @@ class MuiTextEditUnique {
26722672
class MuiTextH1 {
26732673

26742674
/** Data */
2675-
data(): obj;
2675+
data: obj;
26762676

26772677
/** Get html */
26782678
GetHtml(): obj;
@@ -2703,7 +2703,7 @@ class MuiTextH1 {
27032703
class MuiTextH2 {
27042704

27052705
/** Data */
2706-
data(): obj;
2706+
data: obj;
27072707

27082708
/** Get html */
27092709
GetHtml(): obj;
@@ -2734,7 +2734,7 @@ class MuiTextH2 {
27342734
class MuiTextH3 {
27352735

27362736
/** Data */
2737-
data(): obj;
2737+
data: obj;
27382738

27392739
/** Get html */
27402740
GetHtml(): obj;
@@ -2765,7 +2765,7 @@ class MuiTextH3 {
27652765
class MuiTextH4 {
27662766

27672767
/** Data */
2768-
data(): obj;
2768+
data: obj;
27692769

27702770
/** Get html */
27712771
GetHtml(): obj;
@@ -2796,7 +2796,7 @@ class MuiTextH4 {
27962796
class MuiTextH5 {
27972797

27982798
/** Data */
2799-
data(): obj;
2799+
data: obj;
28002800

28012801
/** Get html */
28022802
GetHtml(): obj;
@@ -2827,7 +2827,7 @@ class MuiTextH5 {
28272827
class MuiTextH6 {
28282828

28292829
/** Data */
2830-
data(): obj;
2830+
data: obj;
28312831

28322832
/** Get html */
28332833
GetHtml(): obj;
@@ -2858,7 +2858,7 @@ class MuiTextH6 {
28582858
class MuiTextJumbo {
28592859

28602860
/** Data */
2861-
data(): obj;
2861+
data: obj;
28622862

28632863
/** Get html */
28642864
GetHtml(): obj;
@@ -2889,7 +2889,7 @@ class MuiTextJumbo {
28892889
class MuiTextParagraph {
28902890

28912891
/** Data */
2892-
data(): obj;
2892+
data: obj;
28932893

28942894
/** Get html */
28952895
GetHtml(): obj;
@@ -2920,7 +2920,7 @@ class MuiTextParagraph {
29202920
class MuiTextSecondary {
29212921

29222922
/** Data */
2923-
data(): obj;
2923+
data: obj;
29242924

29252925
/** Get html */
29262926
GetHtml(): obj;

0 commit comments

Comments
 (0)