11/* eslint-disable max-lines */
2-
32/* eslint-disable class-methods-use-this */
4-
53/* eslint-disable no-underscore-dangle */
6- // import deepmerge from 'deepmerge';
7- import set from 'lodash-es/set' ;
84
95import {
10- type CSSResult ,
116 LitElement ,
12- type TemplateResult ,
137 html ,
14- nothing ,
158 unsafeCSS ,
9+ type TemplateResult ,
10+ type CSSResult ,
11+ nothing ,
1612} from 'lit' ;
13+
1714import { property , state } from 'lit/decorators.js' ;
1815import { createRef , ref } from 'lit/directives/ref.js' ;
1916
17+ // import deepmerge from 'deepmerge';
18+ import set from 'lodash-es/set' ;
19+
20+ // import { alternateField } from './triage/alternate.js';
21+ import { fieldArray } from './triage/array.js' ;
22+ import { fieldObject } from './triage/object.js' ;
23+ import { fieldPrimitive } from './triage/primitive.js' ;
24+ import { fieldArrayPrimitive } from './triage/array-primitive.js' ;
25+
2026import type {
2127 DataChangeCallback ,
2228 FeatureFlags ,
23- JSONSchema7 ,
2429 OnFormSubmit ,
2530 Path ,
2631 UiSchema ,
2732 Widgets ,
33+ JSONSchema7 ,
2834} from '@jsfe/types' ;
2935
30- import { fieldArrayPrimitive } from './triage/array-primitive.js' ;
31- // import { alternateField } from './triage/alternate.js';
32- import { fieldArray } from './triage/array.js' ;
33- import { fieldObject } from './triage/object.js' ;
34- import { fieldPrimitive } from './triage/primitive.js' ;
35-
3636export class Jsf extends LitElement {
3737 @property ( { type : Object } ) public schema : JSONSchema7 = { } ;
3838
@@ -52,7 +52,7 @@ export class Jsf extends LitElement {
5252
5353 @property ( { type : Boolean } ) public submitButton = true ;
5454
55- @property ( { type : String } ) public submitButtonLabel = 'Submit' ;
55+ @property ( { type : String } ) public submitButtonText = 'Submit' ;
5656
5757 @state ( ) private _uiState : unknown = { } ;
5858
@@ -129,7 +129,7 @@ export class Jsf extends LitElement {
129129 // return flag('allOf');
130130 }
131131
132- let nodeParsed = node ;
132+ const nodeParsed = node ;
133133
134134 // if (currentNode.allOf) {
135135 // node.allOf?.forEach((subSchema) => {
0 commit comments