@vallift/ngl 22.0.30 → 22.0.32
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/fesm2022/vallift-ngl.mjs
CHANGED
|
@@ -1274,27 +1274,29 @@ var TemplateResolverArrayUtil;
|
|
|
1274
1274
|
class NoDataComponent {
|
|
1275
1275
|
size = input(250, /* @ts-ignore */
|
|
1276
1276
|
...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
|
|
1277
|
+
icon = input('search', /* @ts-ignore */
|
|
1278
|
+
...(ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []));
|
|
1277
1279
|
message = input.required(/* @ts-ignore */
|
|
1278
1280
|
...(ngDevMode ? [{ debugName: "message" }] : /* istanbul ignore next */ []));
|
|
1279
1281
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: NoDataComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1280
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.
|
|
1282
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.1", type: NoDataComponent, isStandalone: true, selector: "app-no-data", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, message: { classPropertyName: "message", publicName: "message", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<div class=\"inline-flex flex-col gap-3 items-center justify-center\">\n @if (icon() !== 'none') {\n <svg\n class=\"h-16 w-16 text-neutral-300\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"1.5\"\n aria-hidden=\"true\">\n <path\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n d=\"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z\" />\n <path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"m9 9 6 6\" />\n </svg>\n }\n <p class=\"text-body2 text-neutral-500\">{{ message() }}</p>\n</div>\n", styles: [""] });
|
|
1281
1283
|
}
|
|
1282
1284
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: NoDataComponent, decorators: [{
|
|
1283
1285
|
type: Component,
|
|
1284
|
-
args: [{ selector: 'app-no-data', standalone: true, imports: [], template: "<div class=\"inline-flex flex-col gap-3 items-center justify-center\">\n <svg
|
|
1285
|
-
}], propDecorators: { size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], message: [{ type: i0.Input, args: [{ isSignal: true, alias: "message", required: true }] }] } });
|
|
1286
|
+
args: [{ selector: 'app-no-data', standalone: true, imports: [], template: "<div class=\"inline-flex flex-col gap-3 items-center justify-center\">\n @if (icon() !== 'none') {\n <svg\n class=\"h-16 w-16 text-neutral-300\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"1.5\"\n aria-hidden=\"true\">\n <path\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n d=\"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z\" />\n <path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"m9 9 6 6\" />\n </svg>\n }\n <p class=\"text-body2 text-neutral-500\">{{ message() }}</p>\n</div>\n" }]
|
|
1287
|
+
}], propDecorators: { size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], message: [{ type: i0.Input, args: [{ isSignal: true, alias: "message", required: true }] }] } });
|
|
1286
1288
|
|
|
1287
1289
|
class NoDataTableComponent {
|
|
1288
1290
|
message = input(/* @ts-ignore */
|
|
1289
1291
|
...(ngDevMode ? [undefined, { debugName: "message" }] : /* istanbul ignore next */ []));
|
|
1290
1292
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: NoDataTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1291
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.1", type: NoDataTableComponent, isStandalone: true, selector: "app-no-data-table", inputs: { message: { classPropertyName: "message", publicName: "message", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<tbody class=\"bg-white text-center py-14\">\n<tr>\n <td colspan=\"10\">\n <div class=\"py-14\">\n <app-no-data class=\"\" [message]=\"message() ?? 'No
|
|
1293
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.1", type: NoDataTableComponent, isStandalone: true, selector: "app-no-data-table", inputs: { message: { classPropertyName: "message", publicName: "message", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<tbody class=\"bg-white text-center py-14\">\n<tr>\n <td colspan=\"10\">\n <div class=\"py-14\">\n <app-no-data class=\"\" [message]=\"message() ?? 'No results found'\"></app-no-data>\n </div>\n </td>\n</tr>\n</tbody>\n", styles: [""], dependencies: [{ kind: "component", type: NoDataComponent, selector: "app-no-data", inputs: ["size", "icon", "message"] }] });
|
|
1292
1294
|
}
|
|
1293
1295
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: NoDataTableComponent, decorators: [{
|
|
1294
1296
|
type: Component,
|
|
1295
1297
|
args: [{ selector: 'app-no-data-table', standalone: true, imports: [
|
|
1296
1298
|
NoDataComponent
|
|
1297
|
-
], template: "<tbody class=\"bg-white text-center py-14\">\n<tr>\n <td colspan=\"10\">\n <div class=\"py-14\">\n <app-no-data class=\"\" [message]=\"message() ?? 'No
|
|
1299
|
+
], template: "<tbody class=\"bg-white text-center py-14\">\n<tr>\n <td colspan=\"10\">\n <div class=\"py-14\">\n <app-no-data class=\"\" [message]=\"message() ?? 'No results found'\"></app-no-data>\n </div>\n </td>\n</tr>\n</tbody>\n" }]
|
|
1298
1300
|
}], propDecorators: { message: [{ type: i0.Input, args: [{ isSignal: true, alias: "message", required: false }] }] } });
|
|
1299
1301
|
|
|
1300
1302
|
class ShimmerComponent {
|
|
@@ -1388,7 +1390,7 @@ class BaseTableComponent {
|
|
|
1388
1390
|
...(ngDevMode ? [{ debugName: "isHorizontallyScrollable" }] : /* istanbul ignore next */ []));
|
|
1389
1391
|
itemsPerPage = input(10, /* @ts-ignore */
|
|
1390
1392
|
...(ngDevMode ? [{ debugName: "itemsPerPage" }] : /* istanbul ignore next */ []));
|
|
1391
|
-
skeletonRowCount = input(
|
|
1393
|
+
skeletonRowCount = input(15, /* @ts-ignore */
|
|
1392
1394
|
...(ngDevMode ? [{ debugName: "skeletonRowCount" }] : /* istanbul ignore next */ []));
|
|
1393
1395
|
skeletonColumnCount = input(5, /* @ts-ignore */
|
|
1394
1396
|
...(ngDevMode ? [{ debugName: "skeletonColumnCount" }] : /* istanbul ignore next */ []));
|
|
@@ -3105,7 +3107,7 @@ class DataTableComponent extends BaseControlValueAccessorV3 {
|
|
|
3105
3107
|
...(ngDevMode ? [{ debugName: "enableSearch" }] : /* istanbul ignore next */ []));
|
|
3106
3108
|
disableInitialLoad = input(false, /* @ts-ignore */
|
|
3107
3109
|
...(ngDevMode ? [{ debugName: "disableInitialLoad" }] : /* istanbul ignore next */ []));
|
|
3108
|
-
skeletonRowCount = input(
|
|
3110
|
+
skeletonRowCount = input(15, /* @ts-ignore */
|
|
3109
3111
|
...(ngDevMode ? [{ debugName: "skeletonRowCount" }] : /* istanbul ignore next */ []));
|
|
3110
3112
|
skeletonRows = computed(() => Array.from({ length: this.skeletonRowCount() }, (_, index) => index), /* @ts-ignore */
|
|
3111
3113
|
...(ngDevMode ? [{ debugName: "skeletonRows" }] : /* istanbul ignore next */ []));
|
|
@@ -4190,7 +4192,7 @@ class SignalDataTableComponent extends BaseControlValueAccessorV3 {
|
|
|
4190
4192
|
...(ngDevMode ? [{ debugName: "enableSearch" }] : /* istanbul ignore next */ []));
|
|
4191
4193
|
disableInitialLoad = input(false, /* @ts-ignore */
|
|
4192
4194
|
...(ngDevMode ? [{ debugName: "disableInitialLoad" }] : /* istanbul ignore next */ []));
|
|
4193
|
-
skeletonRowCount = input(
|
|
4195
|
+
skeletonRowCount = input(15, /* @ts-ignore */
|
|
4194
4196
|
...(ngDevMode ? [{ debugName: "skeletonRowCount" }] : /* istanbul ignore next */ []));
|
|
4195
4197
|
skeletonRows = computed(() => Array.from({ length: this.skeletonRowCount() }, (_, index) => index), /* @ts-ignore */
|
|
4196
4198
|
...(ngDevMode ? [{ debugName: "skeletonRows" }] : /* istanbul ignore next */ []));
|