@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
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,6 +11746,7 @@ 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(),
|
|
@@ -14981,6 +15003,7 @@ export {
|
|
|
14981
15003
|
TenantDesignTokensConfigSchema,
|
|
14982
15004
|
TenantHeadbarModuleItemSchema,
|
|
14983
15005
|
TenantLandingPageConfigSchema,
|
|
15006
|
+
TenantListFooterConfigSchema,
|
|
14984
15007
|
TenantProductConfigSchema,
|
|
14985
15008
|
TenantRuntimeConfigSchema,
|
|
14986
15009
|
TenantTrendRadarCollectionTargetSchema,
|