@polygrid/core 1.0.427 → 1.0.428
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/engine/services/error/methods/log-error.d.ts.map +1 -1
- package/dist/engine/services/error/methods/log-error.js +7 -0
- package/dist/engine/services/error/methods/log-error.js.map +1 -1
- package/dist/engine/services/error/types/error-type.d.ts +1 -1
- package/dist/engine/services/error/types/error-type.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"log-error.d.ts","sourceRoot":"","sources":["../../../../../src/engine/services/error/methods/log-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAEvC,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEpD,wBAAgB,QAAQ,CAAC,SAAS,EAAE,aAAa,EAAE,UAAU,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"log-error.d.ts","sourceRoot":"","sources":["../../../../../src/engine/services/error/methods/log-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAEvC,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEpD,wBAAgB,QAAQ,CAAC,SAAS,EAAE,aAAa,EAAE,UAAU,EAAE,UAAU,QAwBxE"}
|
|
@@ -15,6 +15,13 @@ export function logError(errorType, logService) {
|
|
|
15
15
|
case "wrong-width-boundaries":
|
|
16
16
|
// log is handled in the checkColumnWidths method
|
|
17
17
|
break;
|
|
18
|
+
case "no-columns":
|
|
19
|
+
logService.showLogMessage(LogLevel.Error, [
|
|
20
|
+
{
|
|
21
|
+
text: "Grid requires at least one column. No columns were provided.",
|
|
22
|
+
},
|
|
23
|
+
]);
|
|
24
|
+
break;
|
|
18
25
|
}
|
|
19
26
|
}
|
|
20
27
|
//# sourceMappingURL=log-error.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"log-error.js","sourceRoot":"","sources":["../../../../../src/engine/services/error/methods/log-error.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAGrD,MAAM,UAAU,QAAQ,CAAC,SAAwB,EAAE,UAAsB;IACvE,QAAQ,SAAS,EAAE,CAAC;QAClB,KAAK,6BAA6B;YAChC,UAAU,CAAC,cAAc,CAAC,QAAQ,CAAC,KAAK,EAAE;gBACxC,EAAE,IAAI,EAAE,8BAA8B,EAAE;gBACxC,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,IAAI,EAAE;gBACpC,EAAE,IAAI,EAAE,gDAAgD,EAAE;gBAC1D,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,IAAI,EAAE;gBACtC;oBACE,IAAI,EAAE,gFAAgF;iBACvF;aACF,CAAC,CAAC;YACH,MAAM;QACR,KAAK,wBAAwB;YAC3B,iDAAiD;YACjD,MAAM;IACV,CAAC;AACH,CAAC"}
|
|
1
|
+
{"version":3,"file":"log-error.js","sourceRoot":"","sources":["../../../../../src/engine/services/error/methods/log-error.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAGrD,MAAM,UAAU,QAAQ,CAAC,SAAwB,EAAE,UAAsB;IACvE,QAAQ,SAAS,EAAE,CAAC;QAClB,KAAK,6BAA6B;YAChC,UAAU,CAAC,cAAc,CAAC,QAAQ,CAAC,KAAK,EAAE;gBACxC,EAAE,IAAI,EAAE,8BAA8B,EAAE;gBACxC,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,IAAI,EAAE;gBACpC,EAAE,IAAI,EAAE,gDAAgD,EAAE;gBAC1D,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,IAAI,EAAE;gBACtC;oBACE,IAAI,EAAE,gFAAgF;iBACvF;aACF,CAAC,CAAC;YACH,MAAM;QACR,KAAK,wBAAwB;YAC3B,iDAAiD;YACjD,MAAM;QACR,KAAK,YAAY;YACf,UAAU,CAAC,cAAc,CAAC,QAAQ,CAAC,KAAK,EAAE;gBACxC;oBACE,IAAI,EAAE,8DAA8D;iBACrE;aACF,CAAC,CAAC;YACH,MAAM;IACV,CAAC;AACH,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type GridErrorType = "ambiguous-column-definition" | "missing-column-id" | "invalid-data" | "wrong-width-boundaries" | "unknown";
|
|
1
|
+
export type GridErrorType = "ambiguous-column-definition" | "missing-column-id" | "invalid-data" | "wrong-width-boundaries" | "no-columns" | "unknown";
|
|
2
2
|
//# sourceMappingURL=error-type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-type.d.ts","sourceRoot":"","sources":["../../../../../src/engine/services/error/types/error-type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GACrB,6BAA6B,GAC7B,mBAAmB,GACnB,cAAc,GACd,wBAAwB,GACxB,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"error-type.d.ts","sourceRoot":"","sources":["../../../../../src/engine/services/error/types/error-type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GACrB,6BAA6B,GAC7B,mBAAmB,GACnB,cAAc,GACd,wBAAwB,GACxB,YAAY,GACZ,SAAS,CAAC"}
|