@godzilla-forms/core
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -21,2 +21,6 @@ export declare enum GodzillaItemTypes { | ||
} | ||
export declare enum GodzillaFormType { | ||
classic = "classic", | ||
pages = "pages" | ||
} | ||
export declare enum GodzillaConditions { | ||
@@ -23,0 +27,0 @@ equal = "equal", |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.GodzillaConditions = exports.GodzillaValueSource = exports.GodzillaItemTypes = void 0; | ||
exports.GodzillaConditions = exports.GodzillaFormType = exports.GodzillaValueSource = exports.GodzillaItemTypes = void 0; | ||
var GodzillaItemTypes; | ||
@@ -26,2 +26,7 @@ (function (GodzillaItemTypes) { | ||
})(GodzillaValueSource = exports.GodzillaValueSource || (exports.GodzillaValueSource = {})); | ||
var GodzillaFormType; | ||
(function (GodzillaFormType) { | ||
GodzillaFormType["classic"] = "classic"; | ||
GodzillaFormType["pages"] = "pages"; | ||
})(GodzillaFormType = exports.GodzillaFormType || (exports.GodzillaFormType = {})); | ||
var GodzillaConditions; | ||
@@ -28,0 +33,0 @@ (function (GodzillaConditions) { |
@@ -1,2 +0,2 @@ | ||
import { GodzillaConditions, GodzillaItemTypes, GodzillaValueSource } from './godzilla.enum'; | ||
import { GodzillaConditions, GodzillaFormType, GodzillaItemTypes, GodzillaValueSource } from './godzilla.enum'; | ||
export interface GodzillaFormCombinedValues { | ||
@@ -6,2 +6,20 @@ label: string; | ||
} | ||
export interface GodzillaForm { | ||
id?: string; | ||
title?: string; | ||
style: GodzillaFormStyle; | ||
pages: GodzillaFormPage[]; | ||
} | ||
export interface GodzillaFormStyle { | ||
type: GodzillaFormType; | ||
showSubmitButton?: boolean; | ||
submitLabel?: string; | ||
nextLabel?: string; | ||
previousLabel?: string; | ||
} | ||
export interface GodzillaFormPage { | ||
id: string; | ||
title: string; | ||
controls: GodzillaFormControls[]; | ||
} | ||
export interface GodzillaFormControls { | ||
@@ -34,3 +52,2 @@ id: string; | ||
valueSource?: GodzillaValueSource; | ||
valueDataService?: string; | ||
} | ||
@@ -37,0 +54,0 @@ export interface GodzillaFormControlOptions { |
{ | ||
"name": "@godzilla-forms/core", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "Godzilla Forms core library", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
12471
12
268
1
51