@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
package/lib/esm/index.mjs
CHANGED
|
@@ -11676,6 +11676,27 @@ var TenantLandingPageConfigSchema = z14.discriminatedUnion("mode", [
|
|
|
11676
11676
|
LandingPageHtmlConfigSchema,
|
|
11677
11677
|
LandingPageIframeConfigSchema
|
|
11678
11678
|
]);
|
|
11679
|
+
var ListFooterPageSizeOptionsSchema = z14.array(z14.number().int().positive().max(1e3)).min(1).max(10).superRefine((options, context) => {
|
|
11680
|
+
const seen = /* @__PURE__ */ new Set();
|
|
11681
|
+
options.forEach((option, index) => {
|
|
11682
|
+
if (seen.has(option)) {
|
|
11683
|
+
context.addIssue({
|
|
11684
|
+
code: "custom",
|
|
11685
|
+
message: `Duplicate list footer page size option ${option}.`,
|
|
11686
|
+
path: [index]
|
|
11687
|
+
});
|
|
11688
|
+
}
|
|
11689
|
+
seen.add(option);
|
|
11690
|
+
});
|
|
11691
|
+
});
|
|
11692
|
+
var TenantListFooterConfigSchema = z14.object({
|
|
11693
|
+
showTotal: z14.boolean().optional(),
|
|
11694
|
+
showPageSize: z14.boolean().optional(),
|
|
11695
|
+
pageSizeOptions: ListFooterPageSizeOptionsSchema.optional(),
|
|
11696
|
+
paginationMode: z14.enum(["auto", "pages", "compact"]).optional(),
|
|
11697
|
+
alignment: z14.enum(["start", "end", "space-between"]).optional(),
|
|
11698
|
+
density: z14.enum(["compact", "default", "comfortable"]).optional()
|
|
11699
|
+
}).strict();
|
|
11679
11700
|
var TenantApplicationConfigSchema = z14.object({
|
|
11680
11701
|
theme: z14.object({
|
|
11681
11702
|
id: z14.string().optional(),
|
|
@@ -11725,13 +11746,15 @@ var TenantApplicationConfigSchema = z14.object({
|
|
|
11725
11746
|
headbar: KernelHeadbarSchema.optional()
|
|
11726
11747
|
}).strict().optional(),
|
|
11727
11748
|
paginationPosition: z14.enum(["left", "right"]).optional(),
|
|
11749
|
+
listFooter: TenantListFooterConfigSchema.optional(),
|
|
11728
11750
|
ugcViewIconOnlyMode: z14.boolean().optional(),
|
|
11729
11751
|
workflowPreviewExecutionGrid: z14.object({
|
|
11730
11752
|
selectionModeDisplayType: z14.enum(["operation-button", "dropdown-menu"]).optional(),
|
|
11731
11753
|
clickBehavior: z14.enum(["preview", "select", "fill-form", "none"]).optional(),
|
|
11732
11754
|
showErrorFilter: z14.boolean().optional(),
|
|
11733
11755
|
displayType: z14.enum(["grid", "masonry"]).optional(),
|
|
11734
|
-
showDetailButton: z14.boolean().optional()
|
|
11756
|
+
showDetailButton: z14.boolean().optional(),
|
|
11757
|
+
aspectRatio: z14.enum(["1:1", "4:3", "3:4", "16:9", "9:16"]).optional()
|
|
11735
11758
|
}).strict().optional(),
|
|
11736
11759
|
workbenchSidebarDefaultOpen: z14.boolean().optional(),
|
|
11737
11760
|
workbenchSidebarMoreAction: z14.boolean().optional(),
|
|
@@ -14981,6 +15004,7 @@ export {
|
|
|
14981
15004
|
TenantDesignTokensConfigSchema,
|
|
14982
15005
|
TenantHeadbarModuleItemSchema,
|
|
14983
15006
|
TenantLandingPageConfigSchema,
|
|
15007
|
+
TenantListFooterConfigSchema,
|
|
14984
15008
|
TenantProductConfigSchema,
|
|
14985
15009
|
TenantRuntimeConfigSchema,
|
|
14986
15010
|
TenantTrendRadarCollectionTargetSchema,
|