@ng-formworks/daisyui 19.6.3 → 20.6.4

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.
@@ -1 +1 @@
1
- {"version":3,"file":"ng-formworks-daisyui.mjs","sources":["../../../../projects/ng-formworks-daisyui/src/lib/daisyui-framework.component.ts","../../../../projects/ng-formworks-daisyui/src/lib/daisyui-framework.prefixed.component.ts","../../../../projects/ng-formworks-daisyui/src/lib/daisyui-cssframework.ts","../../../../projects/ng-formworks-daisyui/src/lib/tokens.defs.ts","../../../../projects/ng-formworks-daisyui/src/lib/widgets/daisyui-tabs.component.ts","../../../../projects/ng-formworks-daisyui/src/lib/widgets/daisyui-one-of.component.ts","../../../../projects/ng-formworks-daisyui/src/lib/daisyui.framework.ts","../../../../projects/ng-formworks-daisyui/src/lib/daisyui-framework.module.ts","../../../../projects/ng-formworks-daisyui/src/lib/daisyui-framework.service.ts","../../../../projects/ng-formworks-daisyui/src/public-api.ts","../../../../projects/ng-formworks-daisyui/src/ng-formworks-daisyui.ts"],"sourcesContent":["import { ChangeDetectorRef, Component, OnChanges, OnInit, ViewEncapsulation, input, inject } from '@angular/core';\r\nimport { JsonSchemaFormService } from '@ng-formworks/core';\r\n\r\n/**\r\n* DaisyUI framework for Angular JSON Schema Form.\r\n*\r\n*/\r\n@Component({\n // tslint:disable-next-line:component-selector\n selector: 'daisyui-framework',\n template: `\r\n<div>\r\n <css-framework [layoutNode]=\"layoutNode()\" \r\n [layoutIndex]=\"layoutIndex()\" \r\n [dataIndex]=\"dataIndex()\"\r\n >\r\n </css-framework>\r\n</div>\r\n`,\n styleUrls: ['./daisyui-framework.component.scss'],\n encapsulation: ViewEncapsulation.None,\n standalone: false\n})\r\nexport class DaisyUIFrameworkComponent implements OnInit, OnChanges {\nchangeDetector = inject(ChangeDetectorRef);\njsf = inject(JsonSchemaFormService);\n\r\n\r\n\r\nframeworkInitialized = false;\r\nwidgetOptions: any; // Options passed to child widget\r\nwidgetLayoutNode: any; // layoutNode passed to child widget\r\noptions: any; // Options used in this framework\r\nformControl: any = null;\r\ndebugOutput: any = '';\r\ndebug: any = '';\r\nparentArray: any = null;\r\nisOrderable = false;\r\nreadonly layoutNode = input<any>(undefined);\r\nreadonly layoutIndex = input<number[]>(undefined);\r\nreadonly dataIndex = input<number[]>(undefined);\r\n\r\n\r\n\r\nngOnInit() {\r\n\r\n}\r\n\r\nngOnChanges() {\r\n\r\n}\r\n\r\n\r\n\r\n\r\n\r\n\r\n}\r\n","import { ChangeDetectorRef, Component, OnChanges, OnInit, ViewEncapsulation, input, inject } from '@angular/core';\r\nimport { JsonSchemaFormService } from '@ng-formworks/core';\r\n\r\n/**\r\n* DaisyUI framework for Angular JSON Schema Form.\r\n*\r\n*/\r\n@Component({\n // tslint:disable-next-line:component-selector\n selector: 'daisyui-framework-prefixed',\n template: `\r\n<div>\r\n <css-framework [layoutNode]=\"layoutNode()\" \r\n [layoutIndex]=\"layoutIndex()\" \r\n [dataIndex]=\"dataIndex()\"\r\n >\r\n </css-framework>\r\n</div>\r\n`,\n styleUrls: ['./daisyui-framework.prefixed.component.scss'],\n encapsulation: ViewEncapsulation.None,\n standalone: false\n})\r\nexport class DaisyUIFrameworkComponentPrefixed implements OnInit, OnChanges {\nchangeDetector = inject(ChangeDetectorRef);\njsf = inject(JsonSchemaFormService);\n\r\n\r\n\r\nframeworkInitialized = false;\r\nwidgetOptions: any; // Options passed to child widget\r\nwidgetLayoutNode: any; // layoutNode passed to child widget\r\noptions: any; // Options used in this framework\r\nformControl: any = null;\r\ndebugOutput: any = '';\r\ndebug: any = '';\r\nparentArray: any = null;\r\nisOrderable = false;\r\nreadonly layoutNode = input<any>(undefined);\r\nreadonly layoutIndex = input<number[]>(undefined);\r\nreadonly dataIndex = input<number[]>(undefined);\r\n\r\n\r\n\r\nngOnInit() {\r\n\r\n}\r\n\r\nngOnChanges() {\r\n\r\n}\r\n\r\n\r\n\r\n\r\n\r\n\r\n}\r\n","import { css_fw } from \"@ng-formworks/cssframework\";\r\n\r\nexport const cssFrameworkCfgDaisyUI:css_fw.frameworkcfg={\r\n \"name\": \"daisyui\",\r\n \"text\":\"DaisyUI\",\r\n \"scripts\": [],\r\n \"stylesheets\": [\r\n //\"/assets/cssframework/daisyui-framework.css\"\r\n ],\r\n \"widgetstyles\": {\r\n \"__themes__\": [\r\n {\"name\":\"daisyui_default\",\"text\":\"default\"},\r\n {\"name\":\"light\",\"text\":\"light\"}, \r\n {\"name\":\"dark\",\"text\":\"dark\"}, \r\n {\"name\":\"cupcake\",\"text\":\"cupcake\"}, \r\n {\"name\":\"cmyk\",\"text\":\"cmyk\"}, \r\n {\"name\":\"pastel\",\"text\":\"pastel\"},\r\n {\"name\":\"daisyui_leaf\",\"text\":\"leaf\"}\r\n \r\n ],\r\n \"$ref\": {\r\n \"fieldHtmlClass\": \"btn btn-sm btn-accent\"\r\n },\r\n \"__array_item_nonref__\": {\r\n \"htmlClass\": \"border shadow-md p-1\"\r\n },\r\n \"__form_group__\": {\r\n \"htmlClass\": \"mb-1\"\r\n },\r\n \"__control_label__\": {\r\n \"labelHtmlClass\": \"control-label\"\r\n },\r\n \"__active__\": {\r\n \"activeClass\": \"active\"\r\n },\r\n \"__required_asterisk__\": \"text-danger\",\r\n \"__screen_reader__\": \"sr-only\",\r\n \"__remove_item__\": \"float-right text-2xl opacity-50\",\r\n \"__help_block__\": \"help-block\",\r\n \"__field_addon_left__\": \"input-group-addon\",\r\n \"__field_addon_right__\": \"input-group-addon\",\r\n \"alt-date\": {\r\n \"fieldHtmlClass\": \"input input-md input-bordered w-full\"\r\n },\r\n \"alt-datetime\": {\r\n \"fieldHtmlClass\": \"input input-md input-bordered w-full\"\r\n },\r\n \"__array__\": {\r\n \"htmlClass\": \"border shadow-md p-1\"\r\n },\r\n \"array\": {},\r\n \"authfieldset\": {},\r\n \"advancedfieldset\": {},\r\n \"button\": {\r\n \"fieldHtmlClass\": \"btn btn-sm btn-info\"\r\n },\r\n \"checkbox\": {\r\n \"fieldHtmlClass\": \"checkbox\"\r\n },\r\n \"checkboxes\": {\r\n \"fieldHtmlClass\": \"checkbox\"\r\n },\r\n \"checkboxbuttons\": {\r\n \"fieldHtmlClass\": \"w-px\",\r\n \"labelHtmlClass\": \"tabs tabs-box\",\r\n \"htmlClass\": \"btn-group\",\r\n \"itemLabelHtmlClass\": \"btn\",\r\n \"activeClass\": \"btn-info\"\r\n },\r\n \"checkboxes-inline\": {\r\n \"fieldHtmlClass\": \"checkbox\",\r\n \"htmlClass\": \"inline-flex\",\r\n \"itemLabelHtmlClass\": \"checkbox-inline\"\r\n },\r\n \"date\": {\r\n \"fieldHtmlClass\": \"input input-md input-bordered w-full\"\r\n },\r\n \"datetime-local\": {\r\n \"fieldHtmlClass\": \"input input-md input-bordered w-full\"\r\n },\r\n \"fieldset\": {},\r\n \"integer\": {\r\n \"fieldHtmlClass\": \"input input-md input-bordered w-full max-w-xs\"\r\n },\r\n \"number\": {\r\n \"fieldHtmlClass\": \"input input-md input-bordered w-full max-w-xs\"\r\n },\r\n \"optionfieldset\": {},\r\n \"password\": {\r\n \"fieldHtmlClass\": \"input input-md input-bordered w-full\"\r\n },\r\n \"radiobuttons\": {\r\n \"fieldHtmlClass\": \"w-px\",\r\n \"labelHtmlClass\": \"tabs tabs-box\",\r\n \"htmlClass\": \"btn-group\",\r\n \"itemLabelHtmlClass\": \"btn\",\r\n \"activeClass\": \"btn-info\"\r\n },\r\n \"radio\": {\r\n \"fieldHtmlClass\": \"radio\"\r\n },\r\n \"radios\": {\r\n \"fieldHtmlClass\": \"radio\"\r\n },\r\n \"radios-inline\": {\r\n \"htmlClass\": \"inline-flex\",\r\n \"fieldHtmlClass\": \"radio\",\r\n \"itemLabelHtmlClass\": \"radio-inline\"\r\n },\r\n \"range\": {\r\n \"fieldHtmlClass\": \"range range-info\"\r\n },\r\n \"section\": {},\r\n \"selectfieldset\": {},\r\n \"select\": {\r\n \"fieldHtmlClass\": \"select select-md select-bordered w-full\"\r\n },\r\n \"submit\": {\r\n \"fieldHtmlClass\": \"btn btn-sm btn-info rounded-full\"\r\n },\r\n \"text\": {\r\n \"fieldHtmlClass\": \"input input-md input-bordered w-full\"\r\n },\r\n \"tabs\": {\r\n \"labelHtmlClass\": \"tabs-md tabs-box\",\r\n \"htmlClass\": \"\",\r\n \"itemLabelHtmlClass\": \"tab\",\r\n \"activeClass\": \"tab-active\",\r\n \"widget_radioClass\":\"radio\"\r\n },\r\n \"tabarray\": {\r\n \"labelHtmlClass\": \"tabs tabs-box\",\r\n \"htmlClass\": \"\",\r\n \"itemLabelHtmlClass\": \"tab\",\r\n \"activeClass\": \"tab-active\",\r\n \"widget_radioClass\":\"radio\"\r\n },\r\n \"one-of\": {\r\n \"labelHtmlClass\": \"tabs tabs-box\",\r\n \"htmlClass\": \"\",\r\n \"itemLabelHtmlClass\": \"tab\",\r\n \"activeClass\": \"tab-active\",\r\n \"widget_radioClass\":\"radio\"\r\n },\r\n \"textarea\": {\r\n \"fieldHtmlClass\": \"textarea textarea-bordered w-full\"\r\n },\r\n \"default\": {\r\n \"fieldHtmlClass\": \"form-control\"\r\n }\r\n }\r\n}\r\n//need to classify which classnames are controlled by DaisyU and which\r\n//are controlled by tailwind\r\n//-ones controlled by tailwind will have prefix tw:{{class name}}\r\n//-ones controlled by daisyui will have prefix tw:dui-{{class name}}\r\nexport function getCssFrameworkCfgPrefixed(cssFrameworkCfg:css_fw.frameworkcfg,prefixDUI=\"tw:dui-\",prefixTW=\"tw:\"):css_fw.frameworkcfg{\r\n \r\n let classNamesIgnored=[\r\n \r\n 'control-label',\r\n 'help-block','input-group-addon','checkbox-inline'\r\n \r\n ];\r\n\r\n //TODO use regexs\r\n //-regex won't work the actual prefix classname needs to be \r\n //available as string literals as tailwind seems to scans for the\r\n //actual names so for ex: 'tw:' + 'bg-primary' wont be picked up,\r\n //has to be 'tw:bg-primary'\r\n\r\n //NB this is not used in code, but need during the taiwind scanning \r\n //to output the class names\r\n let classNamesTW=[\r\n 'w-full','mb-1','shadow-md','p-1',\r\n 'sr-only','text-2xl', 'opacity-50',\r\n 'float-right',\r\n 'w-px',\r\n 'border',\r\n 'max-w-xs','rounded-full','form-control','inline-flex',\r\n 'tw:w-full','tw:mb-1','tw:shadow-md','tw:p-1',\r\n 'tw:sr-only','tw:text-2xl', 'tw:opacity-50',\r\n 'tw:float-right',\r\n 'tw:w-px',\r\n 'tw:max-w-xs','tw:rounded-full','tw:form-control','tw:inline-flex',\r\n 'tw:border'\r\n \r\n ];\r\n\r\n let classNamesDUI=[\r\n 'btn', 'btn-sm', 'btn-accent','btn-info','btn-group',\r\n 'input', 'input-md' ,'input-bordered',\r\n 'checkbox','tab','tabs', 'tabs-box','tabs-md',\"tab-active\",\r\n 'radio','radio-inline',\r\n 'range', 'range-info',\r\n 'select', 'select-md', 'select-bordered',\r\n 'textarea','textarea-bordered'\r\n \r\n ];\r\n let replaceClasses=(classList:string[]|string,prefDUI:string,prefTW:string,ignoredClasses:string[],prefSepDUI=\"\",prefSepTw=\"\")=>{\r\n if(!Array.isArray(classList)){\r\n classList=classList.split(\" \");\r\n }\r\n return classList.map(cname=>{\r\n if(ignoredClasses.indexOf(cname)>=0){\r\n return cname;\r\n }\r\n if(classNamesDUI.indexOf(cname)>=0){\r\n return prefDUI+prefSepDUI+cname;\r\n }\r\n return prefTW+prefSepTw+cname;\r\n });\r\n }\r\n \r\n let cssFrameworkCfgPrefixed=JSON.parse(JSON.stringify(cssFrameworkCfg));\r\n let widgetNamesIgnore=[\"__themes__\"];\r\n let widgetNamesNoSubLevel=[\r\n \"__required_asterisk__\",\r\n \"__screen_reader__\",\r\n \"__remove_item__\",\r\n \"__help_block__\",\r\n \"__field_addon_left__\",\r\n \"__field_addon_right__\",\r\n ];\r\n Object.keys(cssFrameworkCfgPrefixed.widgetstyles).forEach(widgetName=>{\r\n if(widgetNamesIgnore.indexOf(widgetName)>=0){\r\n return;\r\n }\r\n if(widgetNamesNoSubLevel.indexOf(widgetName)>=0){\r\n let cnames= cssFrameworkCfgPrefixed.widgetstyles[widgetName];\r\n cnames=replaceClasses(cnames,prefixDUI,prefixTW,classNamesIgnored);\r\n cssFrameworkCfgPrefixed.widgetstyles[widgetName]=cnames;\r\n return;\r\n }\r\n let widgetClassMap=cssFrameworkCfgPrefixed.widgetstyles[widgetName];\r\n Object.keys(widgetClassMap).forEach(classListName=>{\r\n let classListAsArr:string[]|string=widgetClassMap[classListName];\r\n classListAsArr=replaceClasses(classListAsArr,prefixDUI,prefixTW,classNamesIgnored);\r\n widgetClassMap[classListName]=classListAsArr;\r\n })\r\n \r\n })\r\n return cssFrameworkCfgPrefixed;\r\n\r\n}\r\n\r\n","import { InjectionToken } from '@angular/core';\r\n\r\n\r\n\r\n/**\r\n * @const DUIOPTIONS\r\n * Injection token for the environment interface to be provided by the applications.\r\n */\r\nexport const DUIOPTIONS: InjectionToken<any> = new InjectionToken('DUIOPTIONS');\r\n\r\n","import { Component, OnInit, inject, input, signal } from '@angular/core';\r\nimport { JsonSchemaFormService } from '@ng-formworks/core';\r\n\r\n\r\n\r\n@Component({\r\n // tslint:disable-next-line:component-selector\r\n selector: 'daisyui-tabs-widget',\r\n template: `\r\n <div\r\n [class]=\"options?.labelHtmlClass || ''\">\r\n <a *ngFor=\"let item of layoutNode()?.items; let i = index\"\r\n [class]=\"(options?.itemLabelHtmlClass || '') + (selectedItem === i ?\r\n (' ' + (options?.activeClass || '') + ' ' + (options?.style?.selected || '')) :\r\n (' ' + options?.style?.unselected))\"\r\n (click)=\"select(i)\"\r\n >\r\n <input type=\"radio\" [value]=\"i\" *ngIf=\"options?.tabMode=='oneOfMode'\" \r\n name=\"tabSelection\" \r\n [(ngModel)]=\"selectedItem\"\r\n [class]=\"(options?.widget_radioClass || '')\"\r\n [value]=\"i\" \r\n (change)=\"select(i)\"\r\n />\r\n <span *ngIf=\"showAddTab || item.type !== '$ref'\"\r\n [class]=\"(selectedItem === i ? (' ' + options?.activeClass + ' ' + options?.style?.selected) :\r\n (' ' + options?.style?.unselected))\">{{setTabTitle(item, i)}}</span>\r\n \r\n </a>\r\n\r\n </div>\r\n\r\n <!--\r\n <div class=\"tabs tabs-boxed\">\r\n <a class=\"tab\">Tab 1</a> \r\n <a class=\"tab tab-active\">Tab 2</a> \r\n <a class=\"tab\">Tab 3</a>\r\n</div>\r\n-->\r\n\r\n <div *ngFor=\"let layoutItem of layoutNode()?.items; let i = index\"\r\n [class]=\"(options?.htmlClass || '') + (selectedItem != i?' ngf-hidden':'')\">\r\n <ng-container *ngIf=\"options?.tabMode=='oneOfMode'\">\r\n <select-framework-widget *ngIf=\"selectedItem === i\"\r\n [class]=\"(options?.fieldHtmlClass || '') +\r\n ' ' + (options?.activeClass || '') +\r\n ' ' + (options?.style?.selected || '')\"\r\n [dataIndex]=\"layoutNode()?.dataType === 'array' ? (dataIndex() || []).concat(i) : dataIndex()\"\r\n [layoutIndex]=\"(layoutIndex() || []).concat(i)\"\r\n [layoutNode]=\"layoutItem\"></select-framework-widget>\r\n </ng-container>\r\n <ng-container *ngIf=\"options?.tabMode != 'oneOfMode'\">\r\n <select-framework-widget \r\n [class]=\"(options?.fieldHtmlClass || '') +\r\n ' ' + (options?.activeClass || '') +\r\n ' ' + (options?.style?.selected || '')\"\r\n [dataIndex]=\"layoutNode()?.dataType === 'array' ? (dataIndex() || []).concat(i) : dataIndex()\"\r\n [layoutIndex]=\"(layoutIndex() || []).concat(i)\"\r\n [layoutNode]=\"layoutItem\"></select-framework-widget>\r\n </ng-container>\r\n </div>`,\r\n styles: [` a { cursor: pointer; }\r\n .ngf-hidden{display:none}\r\n `],\r\n standalone: false\r\n})\r\nexport class DaisyUITabsComponent implements OnInit {\r\n private jsf = inject(JsonSchemaFormService);\r\n\r\n options: any;\r\n itemCount: number;\r\n selectedItem = 0;\r\n showAddTab = true;\r\n readonly layoutNode = input<any>(undefined);\r\n readonly layoutIndex = input<number[]>(undefined);\r\n readonly dataIndex = input<number[]>(undefined);\r\n\r\n ngOnInit() {\r\n this.options = this.layoutNode().options || {};\r\n if(this.options.selectedTab){\r\n this.selectedItem = this.options.selectedTab;\r\n }\r\n this.itemCount = this.layoutNode().items.length - 1;\r\n this.updateControl();\r\n }\r\n\r\n select(index) {\r\n const layoutNode = this.layoutNode();\r\n if (layoutNode.items[index].type === '$ref') {\r\n this.itemCount = layoutNode.items.length;\r\n this.jsf.addItem({\r\n layoutNode: signal(layoutNode.items[index]),\r\n layoutIndex: signal(this.layoutIndex().concat(index)),\r\n dataIndex: signal(this.dataIndex().concat(index))\r\n });\r\n this.updateControl();\r\n }\r\n this.selectedItem = index;\r\n }\r\n\r\n updateControl() {\r\n const lastItem = this.layoutNode().items[this.layoutNode().items.length - 1];\r\n if (lastItem.type === '$ref' &&\r\n this.itemCount >= (lastItem.options.maxItems || 1000)\r\n ) {\r\n this.showAddTab = false;\r\n }\r\n }\r\n\r\n setTabTitle(item: any, index: number): string {\r\n return this.jsf.setArrayItemTitle(this, item, index);\r\n }\r\n}\r\n","import { Component, inject, input, OnDestroy, OnInit } from '@angular/core';\r\nimport { AbstractControl } from '@angular/forms';\r\nimport { hasNonNullValue, hasOwn, JsonPointer, JsonSchemaFormService, path2ControlKey } from '@ng-formworks/core';\r\nimport { isEqual, isObject, pick } from 'lodash';\r\n\r\n\r\n\r\n// TODO: Add this control\r\n\r\n@Component({\r\n // tslint:disable-next-line:component-selector\r\n selector: 'daisyui-one-of-widget',\r\n template: `<h4>{{this.options?.description}}</h4>\r\n <daisyui-tabs-widget #tabs [layoutNode]=\"layoutNode()\" \r\n [layoutIndex]=\"layoutIndex()\" \r\n [dataIndex]=\"dataIndex()\" >\r\n </daisyui-tabs-widget>`,\r\n standalone: false\r\n})\r\nexport class DaisyUIOneOfComponent implements OnInit,OnDestroy {\r\n private jsf = inject(JsonSchemaFormService);\r\n\r\n formControl: AbstractControl;\r\n controlName: string;\r\n controlValue: any;\r\n controlDisabled = false;\r\n boundControl = false;\r\n options: any;\r\n readonly layoutNode = input<any>(undefined);\r\n readonly layoutIndex = input<number[]>(undefined);\r\n readonly dataIndex = input<number[]>(undefined);\r\n\r\n ngOnInit() {\r\n this.options = this.layoutNode().options || {};\r\n this.options.tabMode=\"oneOfMode\";\r\n this.options.selectedTab=this.findSelectedTab();\r\n //this.options.description=this.options.description||\"choose one of\";\r\n this.jsf.initializeControl(this);\r\n }\r\n\r\n findSelectedTab(){\r\n //TODO test- this.jsf.formValues seems to be the initial data supplied to the form\r\n //while the jsf.formGroup value is derived from the actual controls\r\n //let formValue=this.jsf.getFormControlValue(this);\r\n let foundInd=-1;\r\n //seach for non null value\r\n if(this.layoutNode().items){\r\n this.layoutNode().items.forEach((layoutItem,ind)=>{\r\n let formValue=JsonPointer.get(this.jsf.formValues,layoutItem.dataPointer);\r\n if(layoutItem.oneOfPointer){\r\n let controlKey=path2ControlKey(layoutItem.oneOfPointer);\r\n let fname=layoutItem.name;\r\n if(hasOwn(this.jsf.formGroup.controls,controlKey)&&\r\n (formValue || hasNonNullValue(this.jsf.formGroup.controls[controlKey].value))\r\n //hasOwn(formValue,fname) && hasOwn(this.jsf.formGroup.controls,controlKey) \r\n // && (formValue[fname] || this.jsf.formGroup.controls[controlKey].value)\r\n //&&isEqual(formValue[fname],this.jsf.formGroup.controls[controlKey].value)\r\n ){\r\n foundInd=ind;\r\n }\r\n //foundInd=formValue[controlKey]!=null?ind:foundInd;\r\n //if no exact match found, then search in descendant values\r\n //to see which one of item matches\r\n if(foundInd==-1){\r\n //find all descendant oneof paths\r\n let descendantOneOfControlNames=Object.keys(this.jsf.formGroup.controls).filter(controlName=>{\r\n return controlName.startsWith(controlKey);\r\n })\r\n descendantOneOfControlNames.forEach(controlName=>{\r\n let parts=controlName.split('$');\r\n let fieldName=parts[parts.length-1];\r\n let controlValue=this.jsf.formGroup.controls[controlName].value;\r\n let controlSchema=JsonPointer.get(this.jsf.schema,parts.join(\"/\"));\r\n let schemaPointer=parts.join(\"/\");\r\n let dPointer=schemaPointer.replace(/(anyOf|allOf|oneOf|none)\\/[\\d]+\\//g, '')\r\n .replace(/(if|then|else|properties)\\//g, '').replace(/\\/items\\//g,'/-/');\r\n //JsonPointer.toDataPointer(parts.join(\"/\"),this.jsf.schema);\r\n let dVal=JsonPointer.get(this.jsf.formValues,dPointer);\r\n let compareVal=dVal;//formValue;\r\n //compare only values that are in the subschema properties\r\n if(controlSchema && controlSchema.properties){\r\n compareVal=isObject(dVal) && hasOwn(dVal,fieldName)?\r\n pick(dVal[fieldName],Object.keys(controlSchema.properties))\r\n :pick(dVal,Object.keys(controlSchema.properties))\r\n }\r\n /*\r\n if(isObject(compareVal) && hasOwn(compareVal,fieldName) && \r\n isEqual(compareVal[fieldName],controlValue)\r\n ){\r\n foundInd=ind;\r\n }else //if(formValue || controlValue){\r\n if(isEqual(compareVal,controlValue)){\r\n foundInd=ind;\r\n }\r\n */\r\n if(isEqual(compareVal,controlValue)){\r\n foundInd=ind;\r\n }\r\n })\r\n //now need to compare values\r\n }\r\n }\r\n })\r\n }\r\n return Math.max(foundInd,0);\r\n }\r\n\r\n updateValue(event) {\r\n this.jsf.updateValue(this, event.target.value);\r\n }\r\n\r\n ngOnDestroy () {\r\n //this.jsf.updateValue(this, null);\r\n }\r\n}\r\n","import { Inject, Injectable, Optional, inject } from '@angular/core';\r\nimport { CssFramework, CssframeworkService } from '@ng-formworks/cssframework';\r\nimport { cssFrameworkCfgDaisyUI, getCssFrameworkCfgPrefixed } from './daisyui-cssframework';\r\nimport { DaisyUIFrameworkComponent } from './daisyui-framework.component';\r\nimport { DaisyUIFrameworkComponentPrefixed } from './daisyui-framework.prefixed.component';\r\nimport { DUIOPTIONS } from './tokens.defs';\r\nimport { DaisyUIOneOfComponent } from './widgets/daisyui-one-of.component';\r\nimport { DaisyUITabsComponent } from './widgets/daisyui-tabs.component';\r\n\r\n\r\n@Injectable()\r\nexport class DaisyUIFramework extends CssFramework {\r\ncssFWService: CssframeworkService;\r\n//private duiOptions = inject(DUIOPTIONS, { optional: true }) ?? { classPrefix: true };\r\n\r\n\r\nframework=DaisyUIFrameworkComponent;\r\n constructor(\r\n //public cssFWService:CssframeworkService,\r\n @Inject(DUIOPTIONS) \r\n //use class prefix by default-doesn't seem to work angular will inject null\r\n //for TS to use default value, must be undefined\r\n //-see https://github.com/angular/angular/issues/37306\r\n @Optional() private duiOptions:any={classPrefix:true}\r\n ){\r\n const cssFWService = inject(CssframeworkService);\r\n\r\n let duiOpts:any=duiOptions===null?{classPrefix:true}:duiOptions;\r\n let cssFrameworkCfg=cssFrameworkCfgDaisyUI;\r\n if(duiOpts?.classPrefix ){//added null,see note above\r\n cssFrameworkCfg=getCssFrameworkCfgPrefixed(cssFrameworkCfgDaisyUI)\r\n }\r\n //super(cssFrameworkCfg,cssFWService);\r\n super(cssFrameworkCfg);\r\n this.cssFWService = cssFWService;\r\n //const duiOptions = this.duiOptions;\r\n\r\n if(duiOpts?.classPrefix){\r\n this.framework=DaisyUIFrameworkComponentPrefixed;\r\n }\r\n this.widgets= {\r\n\r\n 'tabs': DaisyUITabsComponent,\r\n 'one-of':DaisyUIOneOfComponent\r\n \r\n };\r\n }\r\n\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { Framework, FrameworkLibraryService, JsonSchemaFormModule, JsonSchemaFormService, WidgetLibraryModule, WidgetLibraryService } from '@ng-formworks/core';\r\n\r\nimport { FormsModule } from '@angular/forms';\r\nimport { CssFrameworkModule } from '@ng-formworks/cssframework';\r\nimport { DaisyUIFrameworkComponent } from './daisyui-framework.component';\r\nimport { DaisyUIFrameworkComponentPrefixed } from './daisyui-framework.prefixed.component';\r\nimport { DaisyUIFramework } from './daisyui.framework';\r\nimport { DaisyUIOneOfComponent } from './widgets/daisyui-one-of.component';\r\nimport { DaisyUITabsComponent } from './widgets/daisyui-tabs.component';\r\n\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n DaisyUIFrameworkComponent,\r\n DaisyUIFrameworkComponentPrefixed,\r\n DaisyUITabsComponent,\r\n DaisyUIOneOfComponent\r\n ],\r\n imports: [\r\n JsonSchemaFormModule,\r\n CommonModule,\r\n FormsModule,\r\n WidgetLibraryModule,\r\n CssFrameworkModule\r\n ],\r\n exports: [\r\n DaisyUIFrameworkComponent,\r\n DaisyUIFrameworkComponentPrefixed,\r\n JsonSchemaFormModule,\r\n DaisyUITabsComponent\r\n ],\r\n providers: [\r\n JsonSchemaFormService,\r\n FrameworkLibraryService,\r\n WidgetLibraryService,\r\n \r\n { provide: Framework, useClass: DaisyUIFramework, multi: true }\r\n]\r\n})\r\nexport class DaisyUIFrameworkModule { }\r\n","import { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class DaisyuiFrameworkService {\r\n\r\n constructor() { }\r\n}\r\n","/*\r\n * Public API Surface of @ng-formworks/daisyui\r\n */\r\n\r\nexport * from './lib/daisyui-framework.component';\r\nexport * from './lib/daisyui-framework.module';\r\nexport * from './lib/daisyui-framework.prefixed.component';\r\nexport * from './lib/daisyui-framework.service';\r\nexport * from './lib/daisyui.framework';\r\nexport * from './lib/tokens.defs';\r\nexport { DaisyUIOneOfComponent } from './lib/widgets/daisyui-one-of.component';\r\nexport { DaisyUITabsComponent } from './lib/widgets/daisyui-tabs.component';\r\n\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i1.DaisyUITabsComponent"],"mappings":";;;;;;;;;;;;AAGA;;;AAGE;MAiBW,yBAAyB,CAAA;AAhBtC,IAAA,WAAA,GAAA;AAiBA,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,iBAAiB,CAAC;AAC1C,QAAA,IAAA,CAAA,GAAG,GAAG,MAAM,CAAC,qBAAqB,CAAC;QAInC,IAAoB,CAAA,oBAAA,GAAG,KAAK;QAI5B,IAAW,CAAA,WAAA,GAAQ,IAAI;QACvB,IAAW,CAAA,WAAA,GAAQ,EAAE;QACrB,IAAK,CAAA,KAAA,GAAQ,EAAE;QACf,IAAW,CAAA,WA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ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-formworks-daisyui.mjs","sources":["../../../../projects/ng-formworks-daisyui/src/lib/daisyui-framework.component.ts","../../../../projects/ng-formworks-daisyui/src/lib/daisyui-framework.prefixed.component.ts","../../../../projects/ng-formworks-daisyui/src/lib/daisyui-cssframework.ts","../../../../projects/ng-formworks-daisyui/src/lib/tokens.defs.ts","../../../../projects/ng-formworks-daisyui/src/lib/widgets/daisyui-tabs.component.ts","../../../../projects/ng-formworks-daisyui/src/lib/widgets/daisyui-one-of.component.ts","../../../../projects/ng-formworks-daisyui/src/lib/daisyui.framework.ts","../../../../projects/ng-formworks-daisyui/src/lib/daisyui-framework.module.ts","../../../../projects/ng-formworks-daisyui/src/lib/daisyui-framework.service.ts","../../../../projects/ng-formworks-daisyui/src/public-api.ts","../../../../projects/ng-formworks-daisyui/src/ng-formworks-daisyui.ts"],"sourcesContent":["import { ChangeDetectorRef, Component, OnChanges, OnInit, ViewEncapsulation, input, inject } from '@angular/core';\r\nimport { JsonSchemaFormService } from '@ng-formworks/core';\r\n\r\n/**\r\n* DaisyUI framework for Angular JSON Schema Form.\r\n*\r\n*/\r\n@Component({\r\n // tslint:disable-next-line:component-selector\r\n selector: 'daisyui-framework',\r\n template: `\r\n<div>\r\n <css-framework [layoutNode]=\"layoutNode()\" \r\n [layoutIndex]=\"layoutIndex()\" \r\n [dataIndex]=\"dataIndex()\"\r\n >\r\n </css-framework>\r\n</div>\r\n`,\r\n styleUrls: ['./daisyui-framework.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n standalone: false\r\n})\r\nexport class DaisyUIFrameworkComponent implements OnInit, OnChanges {\r\nchangeDetector = inject(ChangeDetectorRef);\r\njsf = inject(JsonSchemaFormService);\r\n\r\n\r\n\r\nframeworkInitialized = false;\r\nwidgetOptions: any; // Options passed to child widget\r\nwidgetLayoutNode: any; // layoutNode passed to child widget\r\noptions: any; // Options used in this framework\r\nformControl: any = null;\r\ndebugOutput: any = '';\r\ndebug: any = '';\r\nparentArray: any = null;\r\nisOrderable = false;\r\nreadonly layoutNode = input<any>(undefined);\r\nreadonly layoutIndex = input<number[]>(undefined);\r\nreadonly dataIndex = input<number[]>(undefined);\r\n\r\n\r\n\r\nngOnInit() {\r\n\r\n}\r\n\r\nngOnChanges() {\r\n\r\n}\r\n\r\n\r\n\r\n\r\n\r\n\r\n}\r\n","import { ChangeDetectorRef, Component, OnChanges, OnInit, ViewEncapsulation, input, inject } from '@angular/core';\r\nimport { JsonSchemaFormService } from '@ng-formworks/core';\r\n\r\n/**\r\n* DaisyUI framework for Angular JSON Schema Form.\r\n*\r\n*/\r\n@Component({\r\n // tslint:disable-next-line:component-selector\r\n selector: 'daisyui-framework-prefixed',\r\n template: `\r\n<div>\r\n <css-framework [layoutNode]=\"layoutNode()\" \r\n [layoutIndex]=\"layoutIndex()\" \r\n [dataIndex]=\"dataIndex()\"\r\n >\r\n </css-framework>\r\n</div>\r\n`,\r\n styleUrls: ['./daisyui-framework.prefixed.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n standalone: false\r\n})\r\nexport class DaisyUIFrameworkComponentPrefixed implements OnInit, OnChanges {\r\nchangeDetector = inject(ChangeDetectorRef);\r\njsf = inject(JsonSchemaFormService);\r\n\r\n\r\n\r\nframeworkInitialized = false;\r\nwidgetOptions: any; // Options passed to child widget\r\nwidgetLayoutNode: any; // layoutNode passed to child widget\r\noptions: any; // Options used in this framework\r\nformControl: any = null;\r\ndebugOutput: any = '';\r\ndebug: any = '';\r\nparentArray: any = null;\r\nisOrderable = false;\r\nreadonly layoutNode = input<any>(undefined);\r\nreadonly layoutIndex = input<number[]>(undefined);\r\nreadonly dataIndex = input<number[]>(undefined);\r\n\r\n\r\n\r\nngOnInit() {\r\n\r\n}\r\n\r\nngOnChanges() {\r\n\r\n}\r\n\r\n\r\n\r\n\r\n\r\n\r\n}\r\n","import { css_fw } from \"@ng-formworks/cssframework\";\r\n\r\nexport const cssFrameworkCfgDaisyUI:css_fw.frameworkcfg={\r\n \"name\": \"daisyui\",\r\n \"text\":\"DaisyUI\",\r\n \"scripts\": [],\r\n \"stylesheets\": [\r\n //\"/assets/cssframework/daisyui-framework.css\"\r\n ],\r\n \"widgetstyles\": {\r\n \"__themes__\": [\r\n {\"name\":\"daisyui_default\",\"text\":\"default\"},\r\n {\"name\":\"light\",\"text\":\"light\"}, \r\n {\"name\":\"dark\",\"text\":\"dark\"}, \r\n {\"name\":\"cupcake\",\"text\":\"cupcake\"}, \r\n {\"name\":\"cmyk\",\"text\":\"cmyk\"}, \r\n {\"name\":\"pastel\",\"text\":\"pastel\"},\r\n {\"name\":\"daisyui_leaf\",\"text\":\"leaf\"}\r\n \r\n ],\r\n \"$ref\": {\r\n \"fieldHtmlClass\": \"btn btn-sm btn-accent\"\r\n },\r\n \"__array_item_nonref__\": {\r\n \"htmlClass\": \"border shadow-md p-1\"\r\n },\r\n \"__form_group__\": {\r\n \"htmlClass\": \"mb-1\"\r\n },\r\n \"__control_label__\": {\r\n \"labelHtmlClass\": \"control-label\"\r\n },\r\n \"__active__\": {\r\n \"activeClass\": \"active\"\r\n },\r\n \"__required_asterisk__\": \"text-danger\",\r\n \"__screen_reader__\": \"sr-only\",\r\n \"__remove_item__\": \"float-right text-2xl opacity-50\",\r\n \"__help_block__\": \"help-block\",\r\n \"__field_addon_left__\": \"input-group-addon\",\r\n \"__field_addon_right__\": \"input-group-addon\",\r\n \"alt-date\": {\r\n \"fieldHtmlClass\": \"input input-md input-bordered w-full\"\r\n },\r\n \"alt-datetime\": {\r\n \"fieldHtmlClass\": \"input input-md input-bordered w-full\"\r\n },\r\n \"__array__\": {\r\n \"htmlClass\": \"border shadow-md p-1\"\r\n },\r\n \"array\": {},\r\n \"authfieldset\": {},\r\n \"advancedfieldset\": {},\r\n \"button\": {\r\n \"fieldHtmlClass\": \"btn btn-sm btn-info\"\r\n },\r\n \"checkbox\": {\r\n \"fieldHtmlClass\": \"checkbox\"\r\n },\r\n \"checkboxes\": {\r\n \"fieldHtmlClass\": \"checkbox\"\r\n },\r\n \"checkboxbuttons\": {\r\n \"fieldHtmlClass\": \"w-px\",\r\n \"labelHtmlClass\": \"tabs tabs-box\",\r\n \"htmlClass\": \"btn-group\",\r\n \"itemLabelHtmlClass\": \"btn\",\r\n \"activeClass\": \"btn-info\"\r\n },\r\n \"checkboxes-inline\": {\r\n \"fieldHtmlClass\": \"checkbox\",\r\n \"htmlClass\": \"inline-flex\",\r\n \"itemLabelHtmlClass\": \"checkbox-inline\"\r\n },\r\n \"date\": {\r\n \"fieldHtmlClass\": \"input input-md input-bordered w-full\"\r\n },\r\n \"datetime-local\": {\r\n \"fieldHtmlClass\": \"input input-md input-bordered w-full\"\r\n },\r\n \"fieldset\": {},\r\n \"integer\": {\r\n \"fieldHtmlClass\": \"input input-md input-bordered w-full max-w-xs\"\r\n },\r\n \"number\": {\r\n \"fieldHtmlClass\": \"input input-md input-bordered w-full max-w-xs\"\r\n },\r\n \"optionfieldset\": {},\r\n \"password\": {\r\n \"fieldHtmlClass\": \"input input-md input-bordered w-full\"\r\n },\r\n \"radiobuttons\": {\r\n \"fieldHtmlClass\": \"w-px\",\r\n \"labelHtmlClass\": \"tabs tabs-box\",\r\n \"htmlClass\": \"btn-group\",\r\n \"itemLabelHtmlClass\": \"btn\",\r\n \"activeClass\": \"btn-info\"\r\n },\r\n \"radio\": {\r\n \"fieldHtmlClass\": \"radio\"\r\n },\r\n \"radios\": {\r\n \"fieldHtmlClass\": \"radio\"\r\n },\r\n \"radios-inline\": {\r\n \"htmlClass\": \"inline-flex\",\r\n \"fieldHtmlClass\": \"radio\",\r\n \"itemLabelHtmlClass\": \"radio-inline\"\r\n },\r\n \"range\": {\r\n \"fieldHtmlClass\": \"range range-info\"\r\n },\r\n \"section\": {},\r\n \"selectfieldset\": {},\r\n \"select\": {\r\n \"fieldHtmlClass\": \"select select-md select-bordered w-full\"\r\n },\r\n \"submit\": {\r\n \"fieldHtmlClass\": \"btn btn-sm btn-info rounded-full\"\r\n },\r\n \"text\": {\r\n \"fieldHtmlClass\": \"input input-md input-bordered w-full\"\r\n },\r\n \"tabs\": {\r\n \"labelHtmlClass\": \"tabs-md tabs-box\",\r\n \"htmlClass\": \"\",\r\n \"itemLabelHtmlClass\": \"tab\",\r\n \"activeClass\": \"tab-active\",\r\n \"widget_radioClass\":\"radio\"\r\n },\r\n \"tabarray\": {\r\n \"labelHtmlClass\": \"tabs tabs-box\",\r\n \"htmlClass\": \"\",\r\n \"itemLabelHtmlClass\": \"tab\",\r\n \"activeClass\": \"tab-active\",\r\n \"widget_radioClass\":\"radio\"\r\n },\r\n \"one-of\": {\r\n \"labelHtmlClass\": \"tabs tabs-box\",\r\n \"htmlClass\": \"\",\r\n \"itemLabelHtmlClass\": \"tab\",\r\n \"activeClass\": \"tab-active\",\r\n \"widget_radioClass\":\"radio\"\r\n },\r\n \"textarea\": {\r\n \"fieldHtmlClass\": \"textarea textarea-bordered w-full\"\r\n },\r\n \"default\": {\r\n \"fieldHtmlClass\": \"form-control\"\r\n }\r\n }\r\n}\r\n//need to classify which classnames are controlled by DaisyU and which\r\n//are controlled by tailwind\r\n//-ones controlled by tailwind will have prefix tw:{{class name}}\r\n//-ones controlled by daisyui will have prefix tw:dui-{{class name}}\r\nexport function getCssFrameworkCfgPrefixed(cssFrameworkCfg:css_fw.frameworkcfg,prefixDUI=\"tw:dui-\",prefixTW=\"tw:\"):css_fw.frameworkcfg{\r\n \r\n let classNamesIgnored=[\r\n \r\n 'control-label',\r\n 'help-block','input-group-addon','checkbox-inline'\r\n \r\n ];\r\n\r\n //TODO use regexs\r\n //-regex won't work the actual prefix classname needs to be \r\n //available as string literals as tailwind seems to scans for the\r\n //actual names so for ex: 'tw:' + 'bg-primary' wont be picked up,\r\n //has to be 'tw:bg-primary'\r\n\r\n //NB this is not used in code, but need during the taiwind scanning \r\n //to output the class names\r\n let classNamesTW=[\r\n 'w-full','mb-1','shadow-md','p-1',\r\n 'sr-only','text-2xl', 'opacity-50',\r\n 'float-right',\r\n 'w-px',\r\n 'border',\r\n 'max-w-xs','rounded-full','form-control','inline-flex',\r\n 'tw:w-full','tw:mb-1','tw:shadow-md','tw:p-1',\r\n 'tw:sr-only','tw:text-2xl', 'tw:opacity-50',\r\n 'tw:float-right',\r\n 'tw:w-px',\r\n 'tw:max-w-xs','tw:rounded-full','tw:form-control','tw:inline-flex',\r\n 'tw:border'\r\n \r\n ];\r\n\r\n let classNamesDUI=[\r\n 'btn', 'btn-sm', 'btn-accent','btn-info','btn-group',\r\n 'input', 'input-md' ,'input-bordered',\r\n 'checkbox','tab','tabs', 'tabs-box','tabs-md',\"tab-active\",\r\n 'radio','radio-inline',\r\n 'range', 'range-info',\r\n 'select', 'select-md', 'select-bordered',\r\n 'textarea','textarea-bordered'\r\n \r\n ];\r\n let replaceClasses=(classList:string[]|string,prefDUI:string,prefTW:string,ignoredClasses:string[],prefSepDUI=\"\",prefSepTw=\"\")=>{\r\n if(!Array.isArray(classList)){\r\n classList=classList.split(\" \");\r\n }\r\n return classList.map(cname=>{\r\n if(ignoredClasses.indexOf(cname)>=0){\r\n return cname;\r\n }\r\n if(classNamesDUI.indexOf(cname)>=0){\r\n return prefDUI+prefSepDUI+cname;\r\n }\r\n return prefTW+prefSepTw+cname;\r\n });\r\n }\r\n \r\n let cssFrameworkCfgPrefixed=JSON.parse(JSON.stringify(cssFrameworkCfg));\r\n let widgetNamesIgnore=[\"__themes__\"];\r\n let widgetNamesNoSubLevel=[\r\n \"__required_asterisk__\",\r\n \"__screen_reader__\",\r\n \"__remove_item__\",\r\n \"__help_block__\",\r\n \"__field_addon_left__\",\r\n \"__field_addon_right__\",\r\n ];\r\n Object.keys(cssFrameworkCfgPrefixed.widgetstyles).forEach(widgetName=>{\r\n if(widgetNamesIgnore.indexOf(widgetName)>=0){\r\n return;\r\n }\r\n if(widgetNamesNoSubLevel.indexOf(widgetName)>=0){\r\n let cnames= cssFrameworkCfgPrefixed.widgetstyles[widgetName];\r\n cnames=replaceClasses(cnames,prefixDUI,prefixTW,classNamesIgnored);\r\n cssFrameworkCfgPrefixed.widgetstyles[widgetName]=cnames;\r\n return;\r\n }\r\n let widgetClassMap=cssFrameworkCfgPrefixed.widgetstyles[widgetName];\r\n Object.keys(widgetClassMap).forEach(classListName=>{\r\n let classListAsArr:string[]|string=widgetClassMap[classListName];\r\n classListAsArr=replaceClasses(classListAsArr,prefixDUI,prefixTW,classNamesIgnored);\r\n widgetClassMap[classListName]=classListAsArr;\r\n })\r\n \r\n })\r\n return cssFrameworkCfgPrefixed;\r\n\r\n}\r\n\r\n","import { InjectionToken } from '@angular/core';\r\n\r\n\r\n\r\n/**\r\n * @const DUIOPTIONS\r\n * Injection token for the environment interface to be provided by the applications.\r\n */\r\nexport const DUIOPTIONS: InjectionToken<any> = new InjectionToken('DUIOPTIONS');\r\n\r\n","import { Component, OnInit, inject, input, signal } from '@angular/core';\r\nimport { JsonSchemaFormService } from '@ng-formworks/core';\r\n\r\n\r\n\r\n@Component({\r\n // tslint:disable-next-line:component-selector\r\n selector: 'daisyui-tabs-widget',\r\n template: `\r\n <div\r\n [class]=\"options?.labelHtmlClass || ''\">\r\n <a *ngFor=\"let item of layoutNode()?.items; let i = index\"\r\n [class]=\"(options?.itemLabelHtmlClass || '') + (selectedItem === i ?\r\n (' ' + (options?.activeClass || '') + ' ' + (options?.style?.selected || '')) :\r\n (' ' + options?.style?.unselected))\"\r\n (click)=\"select(i)\"\r\n >\r\n <input type=\"radio\" [value]=\"i\" *ngIf=\"options?.tabMode=='oneOfMode'\" \r\n name=\"tabSelection\" \r\n [(ngModel)]=\"selectedItem\"\r\n [class]=\"(options?.widget_radioClass || '')\"\r\n [value]=\"i\" \r\n (change)=\"select(i)\"\r\n />\r\n <span *ngIf=\"showAddTab || item.type !== '$ref'\"\r\n [class]=\"(selectedItem === i ? (' ' + options?.activeClass + ' ' + options?.style?.selected) :\r\n (' ' + options?.style?.unselected))\">{{setTabTitle(item, i)}}</span>\r\n \r\n </a>\r\n\r\n </div>\r\n\r\n <!--\r\n <div class=\"tabs tabs-boxed\">\r\n <a class=\"tab\">Tab 1</a> \r\n <a class=\"tab tab-active\">Tab 2</a> \r\n <a class=\"tab\">Tab 3</a>\r\n</div>\r\n-->\r\n\r\n <div *ngFor=\"let layoutItem of layoutNode()?.items; let i = index\"\r\n [class]=\"(options?.htmlClass || '') + (selectedItem != i?' ngf-hidden':'')\">\r\n <ng-container *ngIf=\"options?.tabMode=='oneOfMode'\">\r\n <select-framework-widget *ngIf=\"selectedItem === i\"\r\n [class]=\"(options?.fieldHtmlClass || '') +\r\n ' ' + (options?.activeClass || '') +\r\n ' ' + (options?.style?.selected || '')\"\r\n [dataIndex]=\"layoutNode()?.dataType === 'array' ? (dataIndex() || []).concat(i) : dataIndex()\"\r\n [layoutIndex]=\"(layoutIndex() || []).concat(i)\"\r\n [layoutNode]=\"layoutItem\"></select-framework-widget>\r\n </ng-container>\r\n <ng-container *ngIf=\"options?.tabMode != 'oneOfMode'\">\r\n <select-framework-widget \r\n [class]=\"(options?.fieldHtmlClass || '') +\r\n ' ' + (options?.activeClass || '') +\r\n ' ' + (options?.style?.selected || '')\"\r\n [dataIndex]=\"layoutNode()?.dataType === 'array' ? (dataIndex() || []).concat(i) : dataIndex()\"\r\n [layoutIndex]=\"(layoutIndex() || []).concat(i)\"\r\n [layoutNode]=\"layoutItem\"></select-framework-widget>\r\n </ng-container>\r\n </div>`,\r\n styles: [` a { cursor: pointer; }\r\n .ngf-hidden{display:none}\r\n `],\r\n standalone: false\r\n})\r\nexport class DaisyUITabsComponent implements OnInit {\r\n private jsf = inject(JsonSchemaFormService);\r\n\r\n options: any;\r\n itemCount: number;\r\n selectedItem = 0;\r\n showAddTab = true;\r\n readonly layoutNode = input<any>(undefined);\r\n readonly layoutIndex = input<number[]>(undefined);\r\n readonly dataIndex = input<number[]>(undefined);\r\n\r\n ngOnInit() {\r\n this.options = this.layoutNode().options || {};\r\n if(this.options.selectedTab){\r\n this.selectedItem = this.options.selectedTab;\r\n }\r\n this.itemCount = this.layoutNode().items.length - 1;\r\n this.updateControl();\r\n }\r\n\r\n select(index) {\r\n const layoutNode = this.layoutNode();\r\n if (layoutNode.items[index].type === '$ref') {\r\n this.itemCount = layoutNode.items.length;\r\n this.jsf.addItem({\r\n layoutNode: signal(layoutNode.items[index]),\r\n layoutIndex: signal(this.layoutIndex().concat(index)),\r\n dataIndex: signal(this.dataIndex().concat(index))\r\n });\r\n this.updateControl();\r\n }\r\n this.selectedItem = index;\r\n }\r\n\r\n updateControl() {\r\n const lastItem = this.layoutNode().items[this.layoutNode().items.length - 1];\r\n if (lastItem.type === '$ref' &&\r\n this.itemCount >= (lastItem.options.maxItems || 1000)\r\n ) {\r\n this.showAddTab = false;\r\n }\r\n }\r\n\r\n setTabTitle(item: any, index: number): string {\r\n return this.jsf.setArrayItemTitle(this, item, index);\r\n }\r\n}\r\n","import { Component, inject, input, OnDestroy, OnInit } from '@angular/core';\r\nimport { AbstractControl } from '@angular/forms';\r\nimport { hasNonNullValue, hasOwn, JsonPointer, JsonSchemaFormService, path2ControlKey } from '@ng-formworks/core';\r\nimport { isEqual, isObject, pick } from 'lodash';\r\n\r\n\r\n\r\n// TODO: Add this control\r\n\r\n@Component({\r\n // tslint:disable-next-line:component-selector\r\n selector: 'daisyui-one-of-widget',\r\n template: `<h4>{{this.options?.description}}</h4>\r\n <daisyui-tabs-widget #tabs [layoutNode]=\"layoutNode()\" \r\n [layoutIndex]=\"layoutIndex()\" \r\n [dataIndex]=\"dataIndex()\" >\r\n </daisyui-tabs-widget>`,\r\n standalone: false\r\n})\r\nexport class DaisyUIOneOfComponent implements OnInit,OnDestroy {\r\n private jsf = inject(JsonSchemaFormService);\r\n\r\n formControl: AbstractControl;\r\n controlName: string;\r\n controlValue: any;\r\n controlDisabled = false;\r\n boundControl = false;\r\n options: any;\r\n readonly layoutNode = input<any>(undefined);\r\n readonly layoutIndex = input<number[]>(undefined);\r\n readonly dataIndex = input<number[]>(undefined);\r\n\r\n ngOnInit() {\r\n this.options = this.layoutNode().options || {};\r\n this.options.tabMode=\"oneOfMode\";\r\n this.options.selectedTab=this.findSelectedTab();\r\n //this.options.description=this.options.description||\"choose one of\";\r\n this.jsf.initializeControl(this);\r\n }\r\n\r\n findSelectedTab(){\r\n //TODO test- this.jsf.formValues seems to be the initial data supplied to the form\r\n //while the jsf.formGroup value is derived from the actual controls\r\n //let formValue=this.jsf.getFormControlValue(this);\r\n let foundInd=-1;\r\n //seach for non null value\r\n if(this.layoutNode().items){\r\n this.layoutNode().items.forEach((layoutItem,ind)=>{\r\n let formValue=JsonPointer.get(this.jsf.formValues,layoutItem.dataPointer);\r\n if(layoutItem.oneOfPointer){\r\n let controlKey=path2ControlKey(layoutItem.oneOfPointer);\r\n let fname=layoutItem.name;\r\n if(hasOwn(this.jsf.formGroup.controls,controlKey)&&\r\n (formValue || hasNonNullValue(this.jsf.formGroup.controls[controlKey].value))\r\n //hasOwn(formValue,fname) && hasOwn(this.jsf.formGroup.controls,controlKey) \r\n // && (formValue[fname] || this.jsf.formGroup.controls[controlKey].value)\r\n //&&isEqual(formValue[fname],this.jsf.formGroup.controls[controlKey].value)\r\n ){\r\n foundInd=ind;\r\n }\r\n //foundInd=formValue[controlKey]!=null?ind:foundInd;\r\n //if no exact match found, then search in descendant values\r\n //to see which one of item matches\r\n if(foundInd==-1){\r\n //find all descendant oneof paths\r\n let descendantOneOfControlNames=Object.keys(this.jsf.formGroup.controls).filter(controlName=>{\r\n return controlName.startsWith(controlKey);\r\n })\r\n descendantOneOfControlNames.forEach(controlName=>{\r\n let parts=controlName.split('$');\r\n let fieldName=parts[parts.length-1];\r\n let controlValue=this.jsf.formGroup.controls[controlName].value;\r\n let controlSchema=JsonPointer.get(this.jsf.schema,parts.join(\"/\"));\r\n let schemaPointer=parts.join(\"/\");\r\n let dPointer=schemaPointer.replace(/(anyOf|allOf|oneOf|none)\\/[\\d]+\\//g, '')\r\n .replace(/(if|then|else|properties)\\//g, '').replace(/\\/items\\//g,'/-/');\r\n //JsonPointer.toDataPointer(parts.join(\"/\"),this.jsf.schema);\r\n let dVal=JsonPointer.get(this.jsf.formValues,dPointer);\r\n let compareVal=dVal;//formValue;\r\n //compare only values that are in the subschema properties\r\n if(controlSchema && controlSchema.properties){\r\n compareVal=isObject(dVal) && hasOwn(dVal,fieldName)?\r\n pick(dVal[fieldName],Object.keys(controlSchema.properties))\r\n :pick(dVal,Object.keys(controlSchema.properties))\r\n }\r\n /*\r\n if(isObject(compareVal) && hasOwn(compareVal,fieldName) && \r\n isEqual(compareVal[fieldName],controlValue)\r\n ){\r\n foundInd=ind;\r\n }else //if(formValue || controlValue){\r\n if(isEqual(compareVal,controlValue)){\r\n foundInd=ind;\r\n }\r\n */\r\n if(isEqual(compareVal,controlValue)){\r\n foundInd=ind;\r\n }\r\n })\r\n //now need to compare values\r\n }\r\n }\r\n })\r\n }\r\n return Math.max(foundInd,0);\r\n }\r\n\r\n updateValue(event) {\r\n this.jsf.updateValue(this, event.target.value);\r\n }\r\n\r\n ngOnDestroy () {\r\n //this.jsf.updateValue(this, null);\r\n }\r\n}\r\n","import { Inject, Injectable, Optional, inject } from '@angular/core';\r\nimport { CssFramework, CssframeworkService } from '@ng-formworks/cssframework';\r\nimport { cssFrameworkCfgDaisyUI, getCssFrameworkCfgPrefixed } from './daisyui-cssframework';\r\nimport { DaisyUIFrameworkComponent } from './daisyui-framework.component';\r\nimport { DaisyUIFrameworkComponentPrefixed } from './daisyui-framework.prefixed.component';\r\nimport { DUIOPTIONS } from './tokens.defs';\r\nimport { DaisyUIOneOfComponent } from './widgets/daisyui-one-of.component';\r\nimport { DaisyUITabsComponent } from './widgets/daisyui-tabs.component';\r\n\r\n\r\n@Injectable()\r\nexport class DaisyUIFramework extends CssFramework {\r\ncssFWService: CssframeworkService;\r\n//private duiOptions = inject(DUIOPTIONS, { optional: true }) ?? { classPrefix: true };\r\n\r\n\r\nframework=DaisyUIFrameworkComponent;\r\n constructor(\r\n //public cssFWService:CssframeworkService,\r\n @Inject(DUIOPTIONS) \r\n //use class prefix by default-doesn't seem to work angular will inject null\r\n //for TS to use default value, must be undefined\r\n //-see https://github.com/angular/angular/issues/37306\r\n @Optional() private duiOptions:any={classPrefix:true}\r\n ){\r\n const cssFWService = inject(CssframeworkService);\r\n\r\n let duiOpts:any=duiOptions===null?{classPrefix:true}:duiOptions;\r\n let cssFrameworkCfg=cssFrameworkCfgDaisyUI;\r\n if(duiOpts?.classPrefix ){//added null,see note above\r\n cssFrameworkCfg=getCssFrameworkCfgPrefixed(cssFrameworkCfgDaisyUI)\r\n }\r\n //super(cssFrameworkCfg,cssFWService);\r\n super(cssFrameworkCfg);\r\n this.cssFWService = cssFWService;\r\n //const duiOptions = this.duiOptions;\r\n\r\n if(duiOpts?.classPrefix){\r\n this.framework=DaisyUIFrameworkComponentPrefixed;\r\n }\r\n this.widgets= {\r\n\r\n 'tabs': DaisyUITabsComponent,\r\n 'one-of':DaisyUIOneOfComponent\r\n \r\n };\r\n }\r\n\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { Framework, FrameworkLibraryService, JsonSchemaFormModule, JsonSchemaFormService, WidgetLibraryModule, WidgetLibraryService } from '@ng-formworks/core';\r\n\r\nimport { FormsModule } from '@angular/forms';\r\nimport { CssFrameworkModule } from '@ng-formworks/cssframework';\r\nimport { DaisyUIFrameworkComponent } from './daisyui-framework.component';\r\nimport { DaisyUIFrameworkComponentPrefixed } from './daisyui-framework.prefixed.component';\r\nimport { DaisyUIFramework } from './daisyui.framework';\r\nimport { DaisyUIOneOfComponent } from './widgets/daisyui-one-of.component';\r\nimport { DaisyUITabsComponent } from './widgets/daisyui-tabs.component';\r\n\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n DaisyUIFrameworkComponent,\r\n DaisyUIFrameworkComponentPrefixed,\r\n DaisyUITabsComponent,\r\n DaisyUIOneOfComponent\r\n ],\r\n imports: [\r\n JsonSchemaFormModule,\r\n CommonModule,\r\n FormsModule,\r\n WidgetLibraryModule,\r\n CssFrameworkModule\r\n ],\r\n exports: [\r\n DaisyUIFrameworkComponent,\r\n DaisyUIFrameworkComponentPrefixed,\r\n JsonSchemaFormModule,\r\n DaisyUITabsComponent\r\n ],\r\n providers: [\r\n JsonSchemaFormService,\r\n FrameworkLibraryService,\r\n WidgetLibraryService,\r\n \r\n { provide: Framework, useClass: DaisyUIFramework, multi: true }\r\n]\r\n})\r\nexport class DaisyUIFrameworkModule { }\r\n","import { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class DaisyuiFrameworkService {\r\n\r\n constructor() { }\r\n}\r\n","/*\r\n * Public API Surface of @ng-formworks/daisyui\r\n */\r\n\r\nexport * from './lib/daisyui-framework.component';\r\nexport * from './lib/daisyui-framework.module';\r\nexport * from './lib/daisyui-framework.prefixed.component';\r\nexport * from './lib/daisyui-framework.service';\r\nexport * from './lib/daisyui.framework';\r\nexport * from './lib/tokens.defs';\r\nexport { DaisyUIOneOfComponent } from './lib/widgets/daisyui-one-of.component';\r\nexport { DaisyUITabsComponent } from './lib/widgets/daisyui-tabs.component';\r\n\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i1.DaisyUITabsComponent"],"mappings":";;;;;;;;;;;;AAGA;;;AAGE;MAiBW,yBAAyB,CAAA;AAhBtC,IAAA,WAAA,GAAA;AAiBA,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,iBAAiB,CAAC;AAC1C,QAAA,IAAA,CAAA,GAAG,GAAG,MAAM,CAAC,qBAAqB,CAAC;QAInC,IAAA,CAAA,oBAAoB,GAAG,KAAK;QAI5B,IAAA,CAAA,WAAW,GAAQ,IAAI;QACvB,IAAA,CAAA,WAAW,GAAQ,EAAE;QACrB,IAAA,CAAA,KAAK,GAAQ,EAAE;QACf,IAAA,CAAA,WAAW,GAAQ,IAAI;QACvB,IAAA,CAAA,WAAW,GAAG,KAAK;AACV,QAA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1,124 @@
1
+ import * as i0 from '@angular/core';
2
+ import { OnInit, OnChanges, ChangeDetectorRef, OnDestroy, InjectionToken } from '@angular/core';
3
+ import * as i5 from '@ng-formworks/core';
4
+ import { JsonSchemaFormService } from '@ng-formworks/core';
5
+ import * as i7 from '@angular/forms';
6
+ import { AbstractControl } from '@angular/forms';
7
+ import * as i6 from '@angular/common';
8
+ import * as i8 from '@ng-formworks/cssframework';
9
+ import { CssFramework, CssframeworkService } from '@ng-formworks/cssframework';
10
+
1
11
  /**
2
- * Generated bundle index. Do not edit.
12
+ * DaisyUI framework for Angular JSON Schema Form.
13
+ *
14
+ */
15
+ declare class DaisyUIFrameworkComponent implements OnInit, OnChanges {
16
+ changeDetector: ChangeDetectorRef;
17
+ jsf: JsonSchemaFormService;
18
+ frameworkInitialized: boolean;
19
+ widgetOptions: any;
20
+ widgetLayoutNode: any;
21
+ options: any;
22
+ formControl: any;
23
+ debugOutput: any;
24
+ debug: any;
25
+ parentArray: any;
26
+ isOrderable: boolean;
27
+ readonly layoutNode: i0.InputSignal<any>;
28
+ readonly layoutIndex: i0.InputSignal<number[]>;
29
+ readonly dataIndex: i0.InputSignal<number[]>;
30
+ ngOnInit(): void;
31
+ ngOnChanges(): void;
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaisyUIFrameworkComponent, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaisyUIFrameworkComponent, "daisyui-framework", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
34
+ }
35
+
36
+ /**
37
+ * DaisyUI framework for Angular JSON Schema Form.
38
+ *
39
+ */
40
+ declare class DaisyUIFrameworkComponentPrefixed implements OnInit, OnChanges {
41
+ changeDetector: ChangeDetectorRef;
42
+ jsf: JsonSchemaFormService;
43
+ frameworkInitialized: boolean;
44
+ widgetOptions: any;
45
+ widgetLayoutNode: any;
46
+ options: any;
47
+ formControl: any;
48
+ debugOutput: any;
49
+ debug: any;
50
+ parentArray: any;
51
+ isOrderable: boolean;
52
+ readonly layoutNode: i0.InputSignal<any>;
53
+ readonly layoutIndex: i0.InputSignal<number[]>;
54
+ readonly dataIndex: i0.InputSignal<number[]>;
55
+ ngOnInit(): void;
56
+ ngOnChanges(): void;
57
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaisyUIFrameworkComponentPrefixed, never>;
58
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaisyUIFrameworkComponentPrefixed, "daisyui-framework-prefixed", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
59
+ }
60
+
61
+ declare class DaisyUITabsComponent implements OnInit {
62
+ private jsf;
63
+ options: any;
64
+ itemCount: number;
65
+ selectedItem: number;
66
+ showAddTab: boolean;
67
+ readonly layoutNode: i0.InputSignal<any>;
68
+ readonly layoutIndex: i0.InputSignal<number[]>;
69
+ readonly dataIndex: i0.InputSignal<number[]>;
70
+ ngOnInit(): void;
71
+ select(index: any): void;
72
+ updateControl(): void;
73
+ setTabTitle(item: any, index: number): string;
74
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaisyUITabsComponent, never>;
75
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaisyUITabsComponent, "daisyui-tabs-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
76
+ }
77
+
78
+ declare class DaisyUIOneOfComponent implements OnInit, OnDestroy {
79
+ private jsf;
80
+ formControl: AbstractControl;
81
+ controlName: string;
82
+ controlValue: any;
83
+ controlDisabled: boolean;
84
+ boundControl: boolean;
85
+ options: any;
86
+ readonly layoutNode: i0.InputSignal<any>;
87
+ readonly layoutIndex: i0.InputSignal<number[]>;
88
+ readonly dataIndex: i0.InputSignal<number[]>;
89
+ ngOnInit(): void;
90
+ findSelectedTab(): number;
91
+ updateValue(event: any): void;
92
+ ngOnDestroy(): void;
93
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaisyUIOneOfComponent, never>;
94
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaisyUIOneOfComponent, "daisyui-one-of-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
95
+ }
96
+
97
+ declare class DaisyUIFrameworkModule {
98
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaisyUIFrameworkModule, never>;
99
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DaisyUIFrameworkModule, [typeof DaisyUIFrameworkComponent, typeof DaisyUIFrameworkComponentPrefixed, typeof DaisyUITabsComponent, typeof DaisyUIOneOfComponent], [typeof i5.JsonSchemaFormModule, typeof i6.CommonModule, typeof i7.FormsModule, typeof i5.WidgetLibraryModule, typeof i8.CssFrameworkModule], [typeof DaisyUIFrameworkComponent, typeof DaisyUIFrameworkComponentPrefixed, typeof i5.JsonSchemaFormModule, typeof DaisyUITabsComponent]>;
100
+ static ɵinj: i0.ɵɵInjectorDeclaration<DaisyUIFrameworkModule>;
101
+ }
102
+
103
+ declare class DaisyuiFrameworkService {
104
+ constructor();
105
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaisyuiFrameworkService, never>;
106
+ static ɵprov: i0.ɵɵInjectableDeclaration<DaisyuiFrameworkService>;
107
+ }
108
+
109
+ declare class DaisyUIFramework extends CssFramework {
110
+ private duiOptions;
111
+ cssFWService: CssframeworkService;
112
+ framework: typeof DaisyUIFrameworkComponent;
113
+ constructor(duiOptions?: any);
114
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaisyUIFramework, [{ optional: true; }]>;
115
+ static ɵprov: i0.ɵɵInjectableDeclaration<DaisyUIFramework>;
116
+ }
117
+
118
+ /**
119
+ * @const DUIOPTIONS
120
+ * Injection token for the environment interface to be provided by the applications.
3
121
  */
4
- /// <amd-module name="@ng-formworks/daisyui" />
5
- export * from './public-api';
122
+ declare const DUIOPTIONS: InjectionToken<any>;
123
+
124
+ export { DUIOPTIONS, DaisyUIFramework, DaisyUIFrameworkComponent, DaisyUIFrameworkComponentPrefixed, DaisyUIFrameworkModule, DaisyUIOneOfComponent, DaisyUITabsComponent, DaisyuiFrameworkService };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ng-formworks/daisyui",
3
- "version": "19.6.3",
3
+ "version": "20.6.4",
4
4
  "description": "Angular ng-formworks - JSON Schema Form builder using DaisyUI",
5
5
  "author": "https://github.com/zahmo/ng-formworks/graphs/contributors",
6
6
  "keywords": [
@@ -12,13 +12,18 @@
12
12
  "Angular 16",
13
13
  "Angular17",
14
14
  "Angular 17",
15
+ "Angular18",
15
16
  "Angular 18",
17
+ "Angular19",
16
18
  "Angular 19",
19
+ "Angular20",
20
+ "Angular 20",
17
21
  "ng15",
18
22
  "ng16",
19
23
  "ng17",
20
24
  "ng18",
21
25
  "ng19",
26
+ "ng20",
22
27
  "JSON Schema",
23
28
  "form",
24
29
  "forms",
@@ -45,13 +50,13 @@
45
50
  },
46
51
  "private": false,
47
52
  "peerDependencies": {
48
- "@angular/common": "^19.0.0",
49
- "@angular/core": "^19.0.0"
53
+ "@angular/common": "^20.0.0",
54
+ "@angular/core": "^20.0.0"
50
55
  },
51
56
  "dependencies": {
52
57
  "tslib": "^2.7.0",
53
- "@ng-formworks/core": "~19.6.3",
54
- "@ng-formworks/cssframework": "~19.6.3"
58
+ "@ng-formworks/core": "~20.6.4",
59
+ "@ng-formworks/cssframework": "~20.6.4"
55
60
  },
56
61
  "sideEffects": false,
57
62
  "module": "fesm2022/ng-formworks-daisyui.mjs",
@@ -1,3 +0,0 @@
1
- import { css_fw } from "@ng-formworks/cssframework";
2
- export declare const cssFrameworkCfgDaisyUI: css_fw.frameworkcfg;
3
- export declare function getCssFrameworkCfgPrefixed(cssFrameworkCfg: css_fw.frameworkcfg, prefixDUI?: string, prefixTW?: string): css_fw.frameworkcfg;
@@ -1,27 +0,0 @@
1
- import { ChangeDetectorRef, OnChanges, OnInit } from '@angular/core';
2
- import { JsonSchemaFormService } from '@ng-formworks/core';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * DaisyUI framework for Angular JSON Schema Form.
6
- *
7
- */
8
- export declare class DaisyUIFrameworkComponent implements OnInit, OnChanges {
9
- changeDetector: ChangeDetectorRef;
10
- jsf: JsonSchemaFormService;
11
- frameworkInitialized: boolean;
12
- widgetOptions: any;
13
- widgetLayoutNode: any;
14
- options: any;
15
- formControl: any;
16
- debugOutput: any;
17
- debug: any;
18
- parentArray: any;
19
- isOrderable: boolean;
20
- readonly layoutNode: import("@angular/core").InputSignal<any>;
21
- readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
22
- readonly dataIndex: import("@angular/core").InputSignal<number[]>;
23
- ngOnInit(): void;
24
- ngOnChanges(): void;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<DaisyUIFrameworkComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<DaisyUIFrameworkComponent, "daisyui-framework", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
27
- }
@@ -1,14 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./daisyui-framework.component";
3
- import * as i2 from "./daisyui-framework.prefixed.component";
4
- import * as i3 from "./widgets/daisyui-tabs.component";
5
- import * as i4 from "./widgets/daisyui-one-of.component";
6
- import * as i5 from "@ng-formworks/core";
7
- import * as i6 from "@angular/common";
8
- import * as i7 from "@angular/forms";
9
- import * as i8 from "@ng-formworks/cssframework";
10
- export declare class DaisyUIFrameworkModule {
11
- static ɵfac: i0.ɵɵFactoryDeclaration<DaisyUIFrameworkModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<DaisyUIFrameworkModule, [typeof i1.DaisyUIFrameworkComponent, typeof i2.DaisyUIFrameworkComponentPrefixed, typeof i3.DaisyUITabsComponent, typeof i4.DaisyUIOneOfComponent], [typeof i5.JsonSchemaFormModule, typeof i6.CommonModule, typeof i7.FormsModule, typeof i5.WidgetLibraryModule, typeof i8.CssFrameworkModule], [typeof i1.DaisyUIFrameworkComponent, typeof i2.DaisyUIFrameworkComponentPrefixed, typeof i5.JsonSchemaFormModule, typeof i3.DaisyUITabsComponent]>;
13
- static ɵinj: i0.ɵɵInjectorDeclaration<DaisyUIFrameworkModule>;
14
- }
@@ -1,27 +0,0 @@
1
- import { ChangeDetectorRef, OnChanges, OnInit } from '@angular/core';
2
- import { JsonSchemaFormService } from '@ng-formworks/core';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * DaisyUI framework for Angular JSON Schema Form.
6
- *
7
- */
8
- export declare class DaisyUIFrameworkComponentPrefixed implements OnInit, OnChanges {
9
- changeDetector: ChangeDetectorRef;
10
- jsf: JsonSchemaFormService;
11
- frameworkInitialized: boolean;
12
- widgetOptions: any;
13
- widgetLayoutNode: any;
14
- options: any;
15
- formControl: any;
16
- debugOutput: any;
17
- debug: any;
18
- parentArray: any;
19
- isOrderable: boolean;
20
- readonly layoutNode: import("@angular/core").InputSignal<any>;
21
- readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
22
- readonly dataIndex: import("@angular/core").InputSignal<number[]>;
23
- ngOnInit(): void;
24
- ngOnChanges(): void;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<DaisyUIFrameworkComponentPrefixed, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<DaisyUIFrameworkComponentPrefixed, "daisyui-framework-prefixed", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
27
- }
@@ -1,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class DaisyuiFrameworkService {
3
- constructor();
4
- static ɵfac: i0.ɵɵFactoryDeclaration<DaisyuiFrameworkService, never>;
5
- static ɵprov: i0.ɵɵInjectableDeclaration<DaisyuiFrameworkService>;
6
- }
@@ -1,11 +0,0 @@
1
- import { CssFramework, CssframeworkService } from '@ng-formworks/cssframework';
2
- import { DaisyUIFrameworkComponent } from './daisyui-framework.component';
3
- import * as i0 from "@angular/core";
4
- export declare class DaisyUIFramework extends CssFramework {
5
- private duiOptions;
6
- cssFWService: CssframeworkService;
7
- framework: typeof DaisyUIFrameworkComponent;
8
- constructor(duiOptions?: any);
9
- static ɵfac: i0.ɵɵFactoryDeclaration<DaisyUIFramework, [{ optional: true; }]>;
10
- static ɵprov: i0.ɵɵInjectableDeclaration<DaisyUIFramework>;
11
- }
@@ -1,6 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- /**
3
- * @const DUIOPTIONS
4
- * Injection token for the environment interface to be provided by the applications.
5
- */
6
- export declare const DUIOPTIONS: InjectionToken<any>;
@@ -1,21 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { AbstractControl } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- export declare class DaisyUIOneOfComponent implements OnInit, OnDestroy {
5
- private jsf;
6
- formControl: AbstractControl;
7
- controlName: string;
8
- controlValue: any;
9
- controlDisabled: boolean;
10
- boundControl: boolean;
11
- options: any;
12
- readonly layoutNode: import("@angular/core").InputSignal<any>;
13
- readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
14
- readonly dataIndex: import("@angular/core").InputSignal<number[]>;
15
- ngOnInit(): void;
16
- findSelectedTab(): number;
17
- updateValue(event: any): void;
18
- ngOnDestroy(): void;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<DaisyUIOneOfComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<DaisyUIOneOfComponent, "daisyui-one-of-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
21
- }
@@ -1,18 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class DaisyUITabsComponent implements OnInit {
4
- private jsf;
5
- options: any;
6
- itemCount: number;
7
- selectedItem: number;
8
- showAddTab: boolean;
9
- readonly layoutNode: import("@angular/core").InputSignal<any>;
10
- readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
11
- readonly dataIndex: import("@angular/core").InputSignal<number[]>;
12
- ngOnInit(): void;
13
- select(index: any): void;
14
- updateControl(): void;
15
- setTabTitle(item: any, index: number): string;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<DaisyUITabsComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<DaisyUITabsComponent, "daisyui-tabs-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
18
- }
package/public-api.d.ts DELETED
@@ -1,8 +0,0 @@
1
- export * from './lib/daisyui-framework.component';
2
- export * from './lib/daisyui-framework.module';
3
- export * from './lib/daisyui-framework.prefixed.component';
4
- export * from './lib/daisyui-framework.service';
5
- export * from './lib/daisyui.framework';
6
- export * from './lib/tokens.defs';
7
- export { DaisyUIOneOfComponent } from './lib/widgets/daisyui-one-of.component';
8
- export { DaisyUITabsComponent } from './lib/widgets/daisyui-tabs.component';