@inf-monkeys-tech/monkeys 1.0.47 → 1.0.49
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 +102 -0
- package/lib/contracts/tenant.d.ts.map +1 -1
- package/lib/contracts/tenant.js +30 -1
- package/lib/contracts/tenant.js.map +1 -1
- package/lib/contracts/workflow-definition.d.ts +1 -1
- package/lib/esm/contracts/index.mjs +25 -1
- package/lib/esm/contracts/index.mjs.map +1 -1
- package/lib/esm/index.mjs +25 -1
- package/lib/esm/index.mjs.map +1 -1
- package/lib/esm/runtime/index.mjs +24 -1
- package/lib/esm/runtime/index.mjs.map +1 -1
- package/lib/esm/schemas/index.mjs +25 -1
- package/lib/esm/schemas/index.mjs.map +1 -1
- package/lib/json-schema/tenant-product-config.schema.json +56 -0
- package/lib/json-schema/tenant-runtime-config.schema.json +56 -0
- package/lib/schemas/index.d.ts +55 -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,13 +11612,15 @@ 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(),
|
|
11597
11619
|
clickBehavior: z14.enum(["preview", "select", "fill-form", "none"]).optional(),
|
|
11598
11620
|
showErrorFilter: z14.boolean().optional(),
|
|
11599
11621
|
displayType: z14.enum(["grid", "masonry"]).optional(),
|
|
11600
|
-
showDetailButton: z14.boolean().optional()
|
|
11622
|
+
showDetailButton: z14.boolean().optional(),
|
|
11623
|
+
aspectRatio: z14.enum(["1:1", "4:3", "3:4", "16:9", "9:16"]).optional()
|
|
11601
11624
|
}).strict().optional(),
|
|
11602
11625
|
workbenchSidebarDefaultOpen: z14.boolean().optional(),
|
|
11603
11626
|
workbenchSidebarMoreAction: z14.boolean().optional(),
|
|
@@ -12991,6 +13014,7 @@ export {
|
|
|
12991
13014
|
SystemGroupDefinitionSchema,
|
|
12992
13015
|
TenantApplicationConfigSchema,
|
|
12993
13016
|
TenantLandingPageConfigSchema,
|
|
13017
|
+
TenantListFooterConfigSchema,
|
|
12994
13018
|
TenantProductConfigSchema,
|
|
12995
13019
|
TenantRuntimeConfigSchema,
|
|
12996
13020
|
TenantTrendRadarCollectionTargetSchema,
|