@inf-monkeys-tech/monkeys 1.0.47 → 1.0.48
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/lib/contracts/tenant.d.ts +81 -0
- package/lib/contracts/tenant.d.ts.map +1 -1
- package/lib/contracts/tenant.js +29 -1
- package/lib/contracts/tenant.js.map +1 -1
- package/lib/esm/contracts/index.mjs +23 -0
- package/lib/esm/contracts/index.mjs.map +1 -1
- package/lib/esm/index.mjs +23 -0
- package/lib/esm/index.mjs.map +1 -1
- package/lib/esm/runtime/index.mjs +22 -0
- package/lib/esm/runtime/index.mjs.map +1 -1
- package/lib/esm/schemas/index.mjs +23 -0
- package/lib/esm/schemas/index.mjs.map +1 -1
- package/lib/json-schema/tenant-product-config.schema.json +46 -0
- package/lib/json-schema/tenant-runtime-config.schema.json +46 -0
- package/lib/schemas/index.d.ts +41 -1
- package/lib/schemas/index.d.ts.map +1 -1
- package/lib/schemas/index.js +4 -3
- package/lib/schemas/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -11542,6 +11542,27 @@ var TenantLandingPageConfigSchema = z14.discriminatedUnion("mode", [
|
|
|
11542
11542
|
LandingPageHtmlConfigSchema,
|
|
11543
11543
|
LandingPageIframeConfigSchema
|
|
11544
11544
|
]);
|
|
11545
|
+
var ListFooterPageSizeOptionsSchema = z14.array(z14.number().int().positive().max(1e3)).min(1).max(10).superRefine((options, context) => {
|
|
11546
|
+
const seen = /* @__PURE__ */ new Set();
|
|
11547
|
+
options.forEach((option, index) => {
|
|
11548
|
+
if (seen.has(option)) {
|
|
11549
|
+
context.addIssue({
|
|
11550
|
+
code: "custom",
|
|
11551
|
+
message: `Duplicate list footer page size option ${option}.`,
|
|
11552
|
+
path: [index]
|
|
11553
|
+
});
|
|
11554
|
+
}
|
|
11555
|
+
seen.add(option);
|
|
11556
|
+
});
|
|
11557
|
+
});
|
|
11558
|
+
var TenantListFooterConfigSchema = z14.object({
|
|
11559
|
+
showTotal: z14.boolean().optional(),
|
|
11560
|
+
showPageSize: z14.boolean().optional(),
|
|
11561
|
+
pageSizeOptions: ListFooterPageSizeOptionsSchema.optional(),
|
|
11562
|
+
paginationMode: z14.enum(["auto", "pages", "compact"]).optional(),
|
|
11563
|
+
alignment: z14.enum(["start", "end", "space-between"]).optional(),
|
|
11564
|
+
density: z14.enum(["compact", "default", "comfortable"]).optional()
|
|
11565
|
+
}).strict();
|
|
11545
11566
|
var TenantApplicationConfigSchema = z14.object({
|
|
11546
11567
|
theme: z14.object({
|
|
11547
11568
|
id: z14.string().optional(),
|
|
@@ -11591,6 +11612,7 @@ var TenantApplicationConfigSchema = z14.object({
|
|
|
11591
11612
|
headbar: KernelHeadbarSchema.optional()
|
|
11592
11613
|
}).strict().optional(),
|
|
11593
11614
|
paginationPosition: z14.enum(["left", "right"]).optional(),
|
|
11615
|
+
listFooter: TenantListFooterConfigSchema.optional(),
|
|
11594
11616
|
ugcViewIconOnlyMode: z14.boolean().optional(),
|
|
11595
11617
|
workflowPreviewExecutionGrid: z14.object({
|
|
11596
11618
|
selectionModeDisplayType: z14.enum(["operation-button", "dropdown-menu"]).optional(),
|
|
@@ -12991,6 +13013,7 @@ export {
|
|
|
12991
13013
|
SystemGroupDefinitionSchema,
|
|
12992
13014
|
TenantApplicationConfigSchema,
|
|
12993
13015
|
TenantLandingPageConfigSchema,
|
|
13016
|
+
TenantListFooterConfigSchema,
|
|
12994
13017
|
TenantProductConfigSchema,
|
|
12995
13018
|
TenantRuntimeConfigSchema,
|
|
12996
13019
|
TenantTrendRadarCollectionTargetSchema,
|