@es.framework/ng.ui.core 2.0.58
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/README.md +3 -0
- package/attachments/README.md +3 -0
- package/base-crud/README.md +3 -0
- package/breadcrumb/README.md +3 -0
- package/checkbox/README.md +3 -0
- package/collapsible/README.md +3 -0
- package/color-picker/README.md +3 -0
- package/column-settings-popover/README.md +3 -0
- package/custom-switch/README.md +3 -0
- package/datepicker/README.md +3 -0
- package/deactivation-reason/README.md +3 -0
- package/excel-import/README.md +3 -0
- package/fesm2022/es.framework-ng.ui.core-attachments.mjs +217 -0
- package/fesm2022/es.framework-ng.ui.core-attachments.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-base-crud.mjs +370 -0
- package/fesm2022/es.framework-ng.ui.core-base-crud.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-breadcrumb.mjs +145 -0
- package/fesm2022/es.framework-ng.ui.core-breadcrumb.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-checkbox.mjs +131 -0
- package/fesm2022/es.framework-ng.ui.core-checkbox.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-collapsible.mjs +90 -0
- package/fesm2022/es.framework-ng.ui.core-collapsible.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-color-picker.mjs +87 -0
- package/fesm2022/es.framework-ng.ui.core-color-picker.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-column-settings-popover.mjs +183 -0
- package/fesm2022/es.framework-ng.ui.core-column-settings-popover.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-custom-switch.mjs +119 -0
- package/fesm2022/es.framework-ng.ui.core-custom-switch.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-datepicker.mjs +519 -0
- package/fesm2022/es.framework-ng.ui.core-datepicker.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-deactivation-reason.mjs +144 -0
- package/fesm2022/es.framework-ng.ui.core-deactivation-reason.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-excel-import.mjs +566 -0
- package/fesm2022/es.framework-ng.ui.core-excel-import.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-filter-templates.mjs +386 -0
- package/fesm2022/es.framework-ng.ui.core-filter-templates.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-form-button.mjs +62 -0
- package/fesm2022/es.framework-ng.ui.core-form-button.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-form-field.mjs +155 -0
- package/fesm2022/es.framework-ng.ui.core-form-field.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-form-template.mjs +37 -0
- package/fesm2022/es.framework-ng.ui.core-form-template.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-formly-avatar-image.mjs +132 -0
- package/fesm2022/es.framework-ng.ui.core-formly-avatar-image.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-formly-avatar-label.mjs +89 -0
- package/fesm2022/es.framework-ng.ui.core-formly-avatar-label.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-formly-button-selector.mjs +195 -0
- package/fesm2022/es.framework-ng.ui.core-formly-button-selector.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-formly-button.mjs +73 -0
- package/fesm2022/es.framework-ng.ui.core-formly-button.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-formly-presets.mjs +201 -0
- package/fesm2022/es.framework-ng.ui.core-formly-presets.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-formly-prime-icon-picker.mjs +542 -0
- package/fesm2022/es.framework-ng.ui.core-formly-prime-icon-picker.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-formly-split-button.mjs +62 -0
- package/fesm2022/es.framework-ng.ui.core-formly-split-button.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-formly-ui-all.mjs +422 -0
- package/fesm2022/es.framework-ng.ui.core-formly-ui-all.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-formly-ui.mjs +48 -0
- package/fesm2022/es.framework-ng.ui.core-formly-ui.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-formly-username-with-domain.mjs +85 -0
- package/fesm2022/es.framework-ng.ui.core-formly-username-with-domain.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-generic-assets.mjs +22 -0
- package/fesm2022/es.framework-ng.ui.core-generic-assets.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-generic-autocomplete.mjs +173 -0
- package/fesm2022/es.framework-ng.ui.core-generic-autocomplete.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-generic-button.mjs +150 -0
- package/fesm2022/es.framework-ng.ui.core-generic-button.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-generic-card.mjs +218 -0
- package/fesm2022/es.framework-ng.ui.core-generic-card.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-generic-crud-table.mjs +929 -0
- package/fesm2022/es.framework-ng.ui.core-generic-crud-table.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-generic-dialog.mjs +321 -0
- package/fesm2022/es.framework-ng.ui.core-generic-dialog.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-generic-errormessage.mjs +35 -0
- package/fesm2022/es.framework-ng.ui.core-generic-errormessage.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-generic-formly-fields.mjs +63 -0
- package/fesm2022/es.framework-ng.ui.core-generic-formly-fields.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-generic-loadingspinner.mjs +34 -0
- package/fesm2022/es.framework-ng.ui.core-generic-loadingspinner.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-generic-report-tabs.mjs +196 -0
- package/fesm2022/es.framework-ng.ui.core-generic-report-tabs.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-generic-report.mjs +556 -0
- package/fesm2022/es.framework-ng.ui.core-generic-report.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-generic-search-advanced.mjs +2995 -0
- package/fesm2022/es.framework-ng.ui.core-generic-search-advanced.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-generic-search.mjs +103 -0
- package/fesm2022/es.framework-ng.ui.core-generic-search.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-generic-selector.mjs +684 -0
- package/fesm2022/es.framework-ng.ui.core-generic-selector.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-generic-table.mjs +388 -0
- package/fesm2022/es.framework-ng.ui.core-generic-table.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-generic-view.mjs +465 -0
- package/fesm2022/es.framework-ng.ui.core-generic-view.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-header-wrapper.mjs +31 -0
- package/fesm2022/es.framework-ng.ui.core-header-wrapper.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-icon-picker.mjs +205 -0
- package/fesm2022/es.framework-ng.ui.core-icon-picker.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-input-switch.mjs +102 -0
- package/fesm2022/es.framework-ng.ui.core-input-switch.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-input-with-icon.mjs +67 -0
- package/fesm2022/es.framework-ng.ui.core-input-with-icon.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-input.mjs +250 -0
- package/fesm2022/es.framework-ng.ui.core-input.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-label-type.mjs +184 -0
- package/fesm2022/es.framework-ng.ui.core-label-type.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-loading-skeletons.mjs +66 -0
- package/fesm2022/es.framework-ng.ui.core-loading-skeletons.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-odata-query-builder.mjs +307 -0
- package/fesm2022/es.framework-ng.ui.core-odata-query-builder.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-query-type.mjs +162 -0
- package/fesm2022/es.framework-ng.ui.core-query-type.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-radio.mjs +120 -0
- package/fesm2022/es.framework-ng.ui.core-radio.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-repeat.mjs +290 -0
- package/fesm2022/es.framework-ng.ui.core-repeat.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-select.mjs +179 -0
- package/fesm2022/es.framework-ng.ui.core-select.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-sidebar-cards.mjs +52 -0
- package/fesm2022/es.framework-ng.ui.core-sidebar-cards.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-sidebar-toggles.mjs +53 -0
- package/fesm2022/es.framework-ng.ui.core-sidebar-toggles.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-tabs.mjs +57 -0
- package/fesm2022/es.framework-ng.ui.core-tabs.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-tag-type.mjs +209 -0
- package/fesm2022/es.framework-ng.ui.core-tag-type.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-text-editor.mjs +58 -0
- package/fesm2022/es.framework-ng.ui.core-text-editor.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-textarea.mjs +93 -0
- package/fesm2022/es.framework-ng.ui.core-textarea.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-wrappers.mjs +245 -0
- package/fesm2022/es.framework-ng.ui.core-wrappers.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core.mjs +20 -0
- package/fesm2022/es.framework-ng.ui.core.mjs.map +1 -0
- package/filter-templates/README.md +3 -0
- package/form-button/README.md +3 -0
- package/form-field/README.md +3 -0
- package/form-template/README.md +3 -0
- package/formly-avatar-image/README.md +3 -0
- package/formly-avatar-label/README.md +3 -0
- package/formly-button/README.md +3 -0
- package/formly-button-selector/README.md +3 -0
- package/formly-presets/README.md +3 -0
- package/formly-prime-icon-picker/README.md +3 -0
- package/formly-split-button/README.md +3 -0
- package/formly-ui/README.md +3 -0
- package/formly-ui-all/README.md +3 -0
- package/formly-username-with-domain/README.md +3 -0
- package/generic-assets/README.md +3 -0
- package/generic-autocomplete/README.md +3 -0
- package/generic-button/README.md +3 -0
- package/generic-card/README.md +3 -0
- package/generic-crud-table/README.md +3 -0
- package/generic-dialog/README.md +3 -0
- package/generic-errormessage/README.md +3 -0
- package/generic-formly-fields/README.md +3 -0
- package/generic-loadingspinner/README.md +3 -0
- package/generic-report/README.md +3 -0
- package/generic-report-tabs/README.md +0 -0
- package/generic-search/README.md +3 -0
- package/generic-search-advanced/README.md +3 -0
- package/generic-selector/README.md +3 -0
- package/generic-table/README.md +3 -0
- package/generic-view/README.md +3 -0
- package/header-wrapper/README.md +3 -0
- package/icon-picker/README.md +3 -0
- package/input/README.md +3 -0
- package/input-switch/README.md +3 -0
- package/input-with-icon/README.md +3 -0
- package/label-type/README.md +3 -0
- package/loading-skeletons/README.md +3 -0
- package/odata-query-builder/README.md +3 -0
- package/package.json +264 -0
- package/query-type/README.md +3 -0
- package/radio/README.md +3 -0
- package/repeat/README.md +3 -0
- package/select/README.md +3 -0
- package/sidebar-cards/README.md +3 -0
- package/sidebar-toggles/README.md +3 -0
- package/styles.css +2 -0
- package/tabs/README.md +3 -0
- package/tag-type/README.md +3 -0
- package/text-editor/README.md +3 -0
- package/textarea/README.md +3 -0
- package/types/es.framework-ng.ui.core-attachments.d.ts +38 -0
- package/types/es.framework-ng.ui.core-base-crud.d.ts +74 -0
- package/types/es.framework-ng.ui.core-breadcrumb.d.ts +17 -0
- package/types/es.framework-ng.ui.core-checkbox.d.ts +33 -0
- package/types/es.framework-ng.ui.core-collapsible.d.ts +18 -0
- package/types/es.framework-ng.ui.core-color-picker.d.ts +16 -0
- package/types/es.framework-ng.ui.core-column-settings-popover.d.ts +46 -0
- package/types/es.framework-ng.ui.core-custom-switch.d.ts +19 -0
- package/types/es.framework-ng.ui.core-datepicker.d.ts +23 -0
- package/types/es.framework-ng.ui.core-deactivation-reason.d.ts +32 -0
- package/types/es.framework-ng.ui.core-excel-import.d.ts +69 -0
- package/types/es.framework-ng.ui.core-filter-templates.d.ts +57 -0
- package/types/es.framework-ng.ui.core-form-button.d.ts +17 -0
- package/types/es.framework-ng.ui.core-form-field.d.ts +30 -0
- package/types/es.framework-ng.ui.core-form-template.d.ts +16 -0
- package/types/es.framework-ng.ui.core-formly-avatar-image.d.ts +18 -0
- package/types/es.framework-ng.ui.core-formly-avatar-label.d.ts +36 -0
- package/types/es.framework-ng.ui.core-formly-button-selector.d.ts +35 -0
- package/types/es.framework-ng.ui.core-formly-button.d.ts +20 -0
- package/types/es.framework-ng.ui.core-formly-presets.d.ts +37 -0
- package/types/es.framework-ng.ui.core-formly-prime-icon-picker.d.ts +45 -0
- package/types/es.framework-ng.ui.core-formly-split-button.d.ts +23 -0
- package/types/es.framework-ng.ui.core-formly-ui-all.d.ts +40 -0
- package/types/es.framework-ng.ui.core-formly-ui.d.ts +13 -0
- package/types/es.framework-ng.ui.core-formly-username-with-domain.d.ts +19 -0
- package/types/es.framework-ng.ui.core-generic-assets.d.ts +10 -0
- package/types/es.framework-ng.ui.core-generic-autocomplete.d.ts +41 -0
- package/types/es.framework-ng.ui.core-generic-button.d.ts +39 -0
- package/types/es.framework-ng.ui.core-generic-card.d.ts +93 -0
- package/types/es.framework-ng.ui.core-generic-crud-table.d.ts +293 -0
- package/types/es.framework-ng.ui.core-generic-dialog.d.ts +93 -0
- package/types/es.framework-ng.ui.core-generic-errormessage.d.ts +17 -0
- package/types/es.framework-ng.ui.core-generic-formly-fields.d.ts +26 -0
- package/types/es.framework-ng.ui.core-generic-loadingspinner.d.ts +16 -0
- package/types/es.framework-ng.ui.core-generic-report-tabs.d.ts +21 -0
- package/types/es.framework-ng.ui.core-generic-report.d.ts +121 -0
- package/types/es.framework-ng.ui.core-generic-search-advanced.d.ts +305 -0
- package/types/es.framework-ng.ui.core-generic-search.d.ts +36 -0
- package/types/es.framework-ng.ui.core-generic-selector.d.ts +99 -0
- package/types/es.framework-ng.ui.core-generic-table.d.ts +84 -0
- package/types/es.framework-ng.ui.core-generic-view.d.ts +97 -0
- package/types/es.framework-ng.ui.core-header-wrapper.d.ts +15 -0
- package/types/es.framework-ng.ui.core-icon-picker.d.ts +30 -0
- package/types/es.framework-ng.ui.core-input-switch.d.ts +16 -0
- package/types/es.framework-ng.ui.core-input-with-icon.d.ts +17 -0
- package/types/es.framework-ng.ui.core-input.d.ts +47 -0
- package/types/es.framework-ng.ui.core-label-type.d.ts +38 -0
- package/types/es.framework-ng.ui.core-loading-skeletons.d.ts +17 -0
- package/types/es.framework-ng.ui.core-odata-query-builder.d.ts +87 -0
- package/types/es.framework-ng.ui.core-query-type.d.ts +37 -0
- package/types/es.framework-ng.ui.core-radio.d.ts +38 -0
- package/types/es.framework-ng.ui.core-repeat.d.ts +31 -0
- package/types/es.framework-ng.ui.core-select.d.ts +42 -0
- package/types/es.framework-ng.ui.core-sidebar-cards.d.ts +25 -0
- package/types/es.framework-ng.ui.core-sidebar-toggles.d.ts +25 -0
- package/types/es.framework-ng.ui.core-tabs.d.ts +17 -0
- package/types/es.framework-ng.ui.core-tag-type.d.ts +34 -0
- package/types/es.framework-ng.ui.core-text-editor.d.ts +16 -0
- package/types/es.framework-ng.ui.core-textarea.d.ts +36 -0
- package/types/es.framework-ng.ui.core-wrappers.d.ts +36 -0
- package/types/es.framework-ng.ui.core.d.ts +8 -0
- package/wrappers/README.md +3 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"es.framework-ng.ui.core-textarea.mjs","sources":["../../../../libs/ng.ui.core/textarea/src/lib/textarea-module.ts","../../../../libs/ng.ui.core/textarea/src/lib/textarea.type.ts","../../../../libs/ng.ui.core/textarea/src/lib/textarea.config.ts","../../../../libs/ng.ui.core/textarea/src/lib/textarea.module.ts","../../../../libs/ng.ui.core/textarea/src/es.framework-ng.ui.core-textarea.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n@NgModule({\n imports: [CommonModule],\n})\nexport class TextareaModule {}\n","import { Component, ChangeDetectionStrategy, Type } from '@angular/core';\nimport { FieldType, FieldTypeConfig, FormlyAttributes, FormlyFieldConfig } from '@ngx-formly/core';\nimport { FormlyFieldProps, FormlyFormFieldModule } from '@es.framework/ng.ui.core/form-field';\n\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { TranslatePipe } from '@es.framework/ng.core/pipes';\nimport { DatePickerModule } from 'primeng/datepicker';\nimport { SelectModule } from 'primeng/select';\nimport { TextareaModule } from 'primeng/textarea';\n\n// eslint-disable-next-line @typescript-eslint/no-empty-interface\ninterface TextAreaProps extends FormlyFieldProps {}\n\nexport interface FormlyTextAreaFieldConfig extends FormlyFieldConfig<TextAreaProps> {\n type: 'textarea' | Type<FormlyFieldTextArea>;\n}\n\n@Component({\n selector: 'formly-field-primeng-textarea',\n template: ` <textarea [formControl]=\"formControl\" [formlyAttributes]=\"field\" class=\"w-full rounded-none block\" [placeholder]=\"(props['placeholder'] ?? '')| translate\" pInputTextarea></textarea> `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone:true,\n imports: [\n ReactiveFormsModule,\n DatePickerModule,\n FormlyFormFieldModule,\n FormlyAttributes,\n SelectModule,\n TextareaModule,\n TranslatePipe\n]\n})\nexport class FormlyFieldTextArea extends FieldType<FieldTypeConfig<TextAreaProps>> {}\n","import { ConfigOption } from '@ngx-formly/core';\nimport { FormlyFieldTextArea } from './textarea.type';\n\nexport function withFormlyFieldTextArea(): ConfigOption {\n return {\n types: [\n {\n name: 'textarea',\n component: FormlyFieldTextArea,\n wrappers: ['form-field'],\n },\n ],\n };\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { TextareaModule } from 'primeng/textarea';\nimport { FormlyFieldTextArea } from './textarea.type';\nimport { withFormlyFieldTextArea } from './textarea.config';\nimport { FormlyFormFieldModule } from '@es.framework/ng.ui.core/form-field';\n\n@NgModule({\n // declarations: [FormlyFieldTextArea],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n TextareaModule,\n FormlyFormFieldModule,\n FormlyModule.forChild(withFormlyFieldTextArea()),\n ],\n})\nexport class FormlyTextAreaModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["TextareaModule","i1"],"mappings":";;;;;;;;;;;;;;MAMa,cAAc,CAAA;uGAAd,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAAd,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YAFf,YAAY,CAAA,EAAA,CAAA;AAEX,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YAFf,YAAY,CAAA,EAAA,CAAA;;2FAEX,cAAc,EAAA,UAAA,EAAA,CAAA;kBAH1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;AACxB,iBAAA;;;AC2BK,MAAO,mBAAoB,SAAQ,SAAyC,CAAA;uGAArE,mBAAmB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAnB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,mBAAmB,EAAA,YAAA,EAAA,IAA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A;KACF;AACH;;MCMa,oBAAoB,CAAA;uGAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAApB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,YAP7B,YAAY;YACZ,mBAAmB;YACnBA,gBAAc;YACd,qBAAqB,EAAAC,IAAA,CAAA,YAAA,CAAA,EAAA,CAAA;AAIZ,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,YAP7B,YAAY;YACZ,mBAAmB;YACnBD,gBAAc;YACd,qBAAqB;AACrB,YAAA,YAAY,CAAC,QAAQ,CAAC,uBAAuB,EAAE,CAAC,CAAA,EAAA,CAAA;;2FAGvC,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAVhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;;AAER,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnBA,gBAAc;wBACd,qBAAqB;AACrB,wBAAA,YAAY,CAAC,QAAQ,CAAC,uBAAuB,EAAE,CAAC;AACjD,qBAAA;AACF,iBAAA;;;AClBD;;AAEG;;;;"}
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { NgModule, Component } from '@angular/core';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
import { FieldWrapper } from '@ngx-formly/core';
|
|
5
|
+
import { TranslatePipe } from '@es.framework/ng.core/pipes';
|
|
6
|
+
import * as i1 from 'primeng/tooltip';
|
|
7
|
+
import { TooltipModule } from 'primeng/tooltip';
|
|
8
|
+
|
|
9
|
+
class WrappersModule {
|
|
10
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: WrappersModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.3", ngImport: i0, type: WrappersModule, imports: [CommonModule] });
|
|
12
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: WrappersModule, imports: [CommonModule] });
|
|
13
|
+
}
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: WrappersModule, decorators: [{
|
|
15
|
+
type: NgModule,
|
|
16
|
+
args: [{
|
|
17
|
+
imports: [CommonModule],
|
|
18
|
+
}]
|
|
19
|
+
}] });
|
|
20
|
+
|
|
21
|
+
// label.wrapper.ts – LabelWrapperComponent
|
|
22
|
+
class LabelWrapperComponent extends FieldWrapper {
|
|
23
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: LabelWrapperComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
24
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.3", type: LabelWrapperComponent, isStandalone: true, selector: "formly-label-wrapper", usesInheritance: true, ngImport: i0, template: `
|
|
25
|
+
<!-- font-semibold -->
|
|
26
|
+
@if (to.label) {
|
|
27
|
+
<label [for]="id" class="block mb-1 font-bold text-lg">{{ to.label | translate }} @if (to.required) {
|
|
28
|
+
<span class="text-red-600">*</span>
|
|
29
|
+
}</label>
|
|
30
|
+
}
|
|
31
|
+
<ng-container #fieldComponent></ng-container>
|
|
32
|
+
@if (to.description) {
|
|
33
|
+
<small class="text-gray-500">{{ to.description | translate}}</small>
|
|
34
|
+
}
|
|
35
|
+
`, isInline: true, dependencies: [{ kind: "pipe", type: TranslatePipe, name: "translate" }] });
|
|
36
|
+
}
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: LabelWrapperComponent, decorators: [{
|
|
38
|
+
type: Component,
|
|
39
|
+
args: [{
|
|
40
|
+
selector: 'formly-label-wrapper',
|
|
41
|
+
imports: [TranslatePipe],
|
|
42
|
+
template: `
|
|
43
|
+
<!-- font-semibold -->
|
|
44
|
+
@if (to.label) {
|
|
45
|
+
<label [for]="id" class="block mb-1 font-bold text-lg">{{ to.label | translate }} @if (to.required) {
|
|
46
|
+
<span class="text-red-600">*</span>
|
|
47
|
+
}</label>
|
|
48
|
+
}
|
|
49
|
+
<ng-container #fieldComponent></ng-container>
|
|
50
|
+
@if (to.description) {
|
|
51
|
+
<small class="text-gray-500">{{ to.description | translate}}</small>
|
|
52
|
+
}
|
|
53
|
+
`
|
|
54
|
+
}]
|
|
55
|
+
}] });
|
|
56
|
+
|
|
57
|
+
class PanelWrapperComponent extends FieldWrapper {
|
|
58
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: PanelWrapperComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
59
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.3", type: PanelWrapperComponent, isStandalone: true, selector: "formly-panel-wrapper", usesInheritance: true, ngImport: i0, template: `
|
|
60
|
+
@if (to.hidden === false || !to.hidden) {
|
|
61
|
+
<div style="border-radius: var(--content-border-radius);"
|
|
62
|
+
class="border border-surface rounded-2xl bg-white p-3 mb-2">
|
|
63
|
+
|
|
64
|
+
@if (to.label) {
|
|
65
|
+
<div class="font-bold mb-2 flex items-center gap-2">
|
|
66
|
+
@if (to['icon']) {
|
|
67
|
+
<i class="{{ to['icon'] }}"></i>
|
|
68
|
+
}
|
|
69
|
+
{{ to.label | translate }}
|
|
70
|
+
</div>
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
<ng-container #fieldComponent></ng-container>
|
|
74
|
+
</div>
|
|
75
|
+
}
|
|
76
|
+
`, isInline: true, dependencies: [{ kind: "pipe", type: TranslatePipe, name: "translate" }] });
|
|
77
|
+
}
|
|
78
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: PanelWrapperComponent, decorators: [{
|
|
79
|
+
type: Component,
|
|
80
|
+
args: [{
|
|
81
|
+
selector: 'formly-panel-wrapper',
|
|
82
|
+
standalone: true,
|
|
83
|
+
imports: [TranslatePipe],
|
|
84
|
+
template: `
|
|
85
|
+
@if (to.hidden === false || !to.hidden) {
|
|
86
|
+
<div style="border-radius: var(--content-border-radius);"
|
|
87
|
+
class="border border-surface rounded-2xl bg-white p-3 mb-2">
|
|
88
|
+
|
|
89
|
+
@if (to.label) {
|
|
90
|
+
<div class="font-bold mb-2 flex items-center gap-2">
|
|
91
|
+
@if (to['icon']) {
|
|
92
|
+
<i class="{{ to['icon'] }}"></i>
|
|
93
|
+
}
|
|
94
|
+
{{ to.label | translate }}
|
|
95
|
+
</div>
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
<ng-container #fieldComponent></ng-container>
|
|
99
|
+
</div>
|
|
100
|
+
}
|
|
101
|
+
`,
|
|
102
|
+
}]
|
|
103
|
+
}] });
|
|
104
|
+
|
|
105
|
+
// td-wrapper.component.ts
|
|
106
|
+
class TdWrapperComponent extends FieldWrapper {
|
|
107
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: TdWrapperComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
108
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.3", type: TdWrapperComponent, isStandalone: true, selector: "formly-wrapper-td", usesInheritance: true, ngImport: i0, template: `
|
|
109
|
+
<ng-container #fieldComponent></ng-container>
|
|
110
|
+
`, isInline: true });
|
|
111
|
+
}
|
|
112
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: TdWrapperComponent, decorators: [{
|
|
113
|
+
type: Component,
|
|
114
|
+
args: [{
|
|
115
|
+
imports: [],
|
|
116
|
+
selector: 'formly-wrapper-td',
|
|
117
|
+
template: `
|
|
118
|
+
<ng-container #fieldComponent></ng-container>
|
|
119
|
+
`,
|
|
120
|
+
standalone: true,
|
|
121
|
+
}]
|
|
122
|
+
}] });
|
|
123
|
+
|
|
124
|
+
class TooltipWrapperComponent extends FieldWrapper {
|
|
125
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: TooltipWrapperComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
126
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.3", type: TooltipWrapperComponent, isStandalone: true, selector: "app-tooltip-wrapper", usesInheritance: true, ngImport: i0, template: `
|
|
127
|
+
<div class="flex flex-col">
|
|
128
|
+
@if (field.props?.label) {
|
|
129
|
+
<label class="flex items-center mb-1 text-sm font-medium text-gray-700">
|
|
130
|
+
{{ field.props?.label }}
|
|
131
|
+
<!-- PrimeNG Tooltip Icon -->
|
|
132
|
+
@if (field && field.props && field.props['tooltip']) {
|
|
133
|
+
<span
|
|
134
|
+
[pTooltip]="field.props['tooltip']"
|
|
135
|
+
[tooltipPosition]="field.props['tooltipPosition'] || 'right'"
|
|
136
|
+
[tooltipStyleClass]="field.props['tooltipClass']"
|
|
137
|
+
class="ml-2 cursor-help inline-flex items-center"
|
|
138
|
+
>
|
|
139
|
+
<i class="pi pi-info-circle text-gray-500 text-sm"></i>
|
|
140
|
+
</span>
|
|
141
|
+
}
|
|
142
|
+
<!-- Required Asterisk -->
|
|
143
|
+
@if (field.props?.required) {
|
|
144
|
+
<span class="text-red-500 ml-1">*</span>
|
|
145
|
+
}
|
|
146
|
+
</label>
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
<ng-template #fieldComponent></ng-template>
|
|
150
|
+
|
|
151
|
+
<!-- <div *ngIf="showError && field.formControl?.errors" class="text-red-500 text-xs mt-1">
|
|
152
|
+
<formly-validation-message [field]="field"></formly-validation-message>
|
|
153
|
+
</div> -->
|
|
154
|
+
</div>
|
|
155
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i1.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip"] }] });
|
|
156
|
+
}
|
|
157
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: TooltipWrapperComponent, decorators: [{
|
|
158
|
+
type: Component,
|
|
159
|
+
args: [{
|
|
160
|
+
imports: [TooltipModule],
|
|
161
|
+
selector: 'app-tooltip-wrapper',
|
|
162
|
+
template: `
|
|
163
|
+
<div class="flex flex-col">
|
|
164
|
+
@if (field.props?.label) {
|
|
165
|
+
<label class="flex items-center mb-1 text-sm font-medium text-gray-700">
|
|
166
|
+
{{ field.props?.label }}
|
|
167
|
+
<!-- PrimeNG Tooltip Icon -->
|
|
168
|
+
@if (field && field.props && field.props['tooltip']) {
|
|
169
|
+
<span
|
|
170
|
+
[pTooltip]="field.props['tooltip']"
|
|
171
|
+
[tooltipPosition]="field.props['tooltipPosition'] || 'right'"
|
|
172
|
+
[tooltipStyleClass]="field.props['tooltipClass']"
|
|
173
|
+
class="ml-2 cursor-help inline-flex items-center"
|
|
174
|
+
>
|
|
175
|
+
<i class="pi pi-info-circle text-gray-500 text-sm"></i>
|
|
176
|
+
</span>
|
|
177
|
+
}
|
|
178
|
+
<!-- Required Asterisk -->
|
|
179
|
+
@if (field.props?.required) {
|
|
180
|
+
<span class="text-red-500 ml-1">*</span>
|
|
181
|
+
}
|
|
182
|
+
</label>
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
<ng-template #fieldComponent></ng-template>
|
|
186
|
+
|
|
187
|
+
<!-- <div *ngIf="showError && field.formControl?.errors" class="text-red-500 text-xs mt-1">
|
|
188
|
+
<formly-validation-message [field]="field"></formly-validation-message>
|
|
189
|
+
</div> -->
|
|
190
|
+
</div>
|
|
191
|
+
`
|
|
192
|
+
}]
|
|
193
|
+
}] });
|
|
194
|
+
|
|
195
|
+
class CustomFieldWrapper extends FieldWrapper {
|
|
196
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: CustomFieldWrapper, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
197
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.3", type: CustomFieldWrapper, isStandalone: true, selector: "formly-custom-field-wrapper", usesInheritance: true, ngImport: i0, template: `
|
|
198
|
+
<!-- class="flex items-center gap-2" -->
|
|
199
|
+
<!-- class="p-field" -->
|
|
200
|
+
<div class="flex items-center gap-2">
|
|
201
|
+
|
|
202
|
+
@if (props.label && props['hideLabel'] !== true) {
|
|
203
|
+
<label [for]="id" class="">
|
|
204
|
+
{{ props.label | translate }}:
|
|
205
|
+
</label>
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
<div class="mb-1"></div>
|
|
209
|
+
<ng-container #fieldComponent></ng-container>
|
|
210
|
+
</div>
|
|
211
|
+
|
|
212
|
+
`, isInline: true, dependencies: [{ kind: "pipe", type: TranslatePipe, name: "translate" }] });
|
|
213
|
+
}
|
|
214
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: CustomFieldWrapper, decorators: [{
|
|
215
|
+
type: Component,
|
|
216
|
+
args: [{
|
|
217
|
+
selector: 'formly-custom-field-wrapper',
|
|
218
|
+
template: `
|
|
219
|
+
<!-- class="flex items-center gap-2" -->
|
|
220
|
+
<!-- class="p-field" -->
|
|
221
|
+
<div class="flex items-center gap-2">
|
|
222
|
+
|
|
223
|
+
@if (props.label && props['hideLabel'] !== true) {
|
|
224
|
+
<label [for]="id" class="">
|
|
225
|
+
{{ props.label | translate }}:
|
|
226
|
+
</label>
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
<div class="mb-1"></div>
|
|
230
|
+
<ng-container #fieldComponent></ng-container>
|
|
231
|
+
</div>
|
|
232
|
+
|
|
233
|
+
`,
|
|
234
|
+
imports: [TranslatePipe]
|
|
235
|
+
}]
|
|
236
|
+
}] });
|
|
237
|
+
|
|
238
|
+
// export * from './formly-wrapper-custom-panel';
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* Generated bundle index. Do not edit.
|
|
242
|
+
*/
|
|
243
|
+
|
|
244
|
+
export { CustomFieldWrapper, LabelWrapperComponent, PanelWrapperComponent, TdWrapperComponent, TooltipWrapperComponent, WrappersModule };
|
|
245
|
+
//# sourceMappingURL=es.framework-ng.ui.core-wrappers.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"es.framework-ng.ui.core-wrappers.mjs","sources":["../../../../libs/ng.ui.core/wrappers/src/lib/wrappers-module.ts","../../../../libs/ng.ui.core/wrappers/src/lib/label.wrapper.ts","../../../../libs/ng.ui.core/wrappers/src/lib/panel.wrapper.ts","../../../../libs/ng.ui.core/wrappers/src/lib/td-wrapper.type.ts","../../../../libs/ng.ui.core/wrappers/src/lib/tooltip-wrapper.ts","../../../../libs/ng.ui.core/wrappers/src/lib/formly-custom-field-wrapper.ts","../../../../libs/ng.ui.core/wrappers/src/index.ts","../../../../libs/ng.ui.core/wrappers/src/es.framework-ng.ui.core-wrappers.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n@NgModule({\n imports: [CommonModule],\n})\nexport class WrappersModule {}\n","// label.wrapper.ts – LabelWrapperComponent\n\nimport { Component } from '@angular/core';\nimport { FieldWrapper } from '@ngx-formly/core';\nimport { TranslatePipe } from '@es.framework/ng.core/pipes';\n\n@Component({\n selector: 'formly-label-wrapper',\n imports: [TranslatePipe],\n template: `\n <!-- font-semibold -->\n @if (to.label) {\n <label [for]=\"id\" class=\"block mb-1 font-bold text-lg\">{{ to.label | translate }} @if (to.required) {\n <span class=\"text-red-600\">*</span>\n }</label>\n }\n <ng-container #fieldComponent></ng-container>\n @if (to.description) {\n <small class=\"text-gray-500\">{{ to.description | translate}}</small>\n }\n `\n})\nexport class LabelWrapperComponent extends FieldWrapper {}\n","import { Component } from '@angular/core';\nimport { FieldWrapper } from '@ngx-formly/core';\nimport { TranslatePipe } from '@es.framework/ng.core/pipes';\n\n@Component({\n selector: 'formly-panel-wrapper',\n standalone: true,\n imports: [TranslatePipe],\n template: `\n @if (to.hidden === false || !to.hidden) {\n <div style=\"border-radius: var(--content-border-radius);\"\n class=\"border border-surface rounded-2xl bg-white p-3 mb-2\">\n\n @if (to.label) {\n <div class=\"font-bold mb-2 flex items-center gap-2\">\n @if (to['icon']) {\n <i class=\"{{ to['icon'] }}\"></i>\n }\n {{ to.label | translate }}\n </div>\n }\n\n <ng-container #fieldComponent></ng-container>\n </div>\n }\n `,\n})\nexport class PanelWrapperComponent extends FieldWrapper {}\n","// td-wrapper.component.ts\nimport { Component } from '@angular/core';\nimport { FieldWrapper } from '@ngx-formly/core';\n\n@Component({\n imports:[],\n selector: 'formly-wrapper-td',\n template: `\n <ng-container #fieldComponent></ng-container>\n `,\n standalone: true,\n})\nexport class TdWrapperComponent extends FieldWrapper {}\n","\nimport { Component, ViewChild, ViewContainerRef } from '@angular/core';\nimport { FieldWrapper } from '@ngx-formly/core';\nimport { TooltipModule } from 'primeng/tooltip';\n\n@Component({\n imports: [TooltipModule],\n selector: 'app-tooltip-wrapper',\n template: `\n <div class=\"flex flex-col\">\n @if (field.props?.label) {\n <label class=\"flex items-center mb-1 text-sm font-medium text-gray-700\">\n {{ field.props?.label }}\n <!-- PrimeNG Tooltip Icon -->\n @if (field && field.props && field.props['tooltip']) {\n <span\n [pTooltip]=\"field.props['tooltip']\"\n [tooltipPosition]=\"field.props['tooltipPosition'] || 'right'\"\n [tooltipStyleClass]=\"field.props['tooltipClass']\"\n class=\"ml-2 cursor-help inline-flex items-center\"\n >\n <i class=\"pi pi-info-circle text-gray-500 text-sm\"></i>\n </span>\n }\n <!-- Required Asterisk -->\n @if (field.props?.required) {\n <span class=\"text-red-500 ml-1\">*</span>\n }\n </label>\n }\n \n <ng-template #fieldComponent></ng-template>\n \n <!-- <div *ngIf=\"showError && field.formControl?.errors\" class=\"text-red-500 text-xs mt-1\">\n <formly-validation-message [field]=\"field\"></formly-validation-message>\n </div> -->\n </div>\n `\n})\nexport class TooltipWrapperComponent extends FieldWrapper {\n // @ViewChild('fieldComponent', { read: ViewContainerRef, static: true }) fieldComponent!: ViewContainerRef;\n\n // get showError(): boolean {\n // return this.field.formControl?.invalid && (\n // this.field.formControl?.dirty ||\n // this.field.formControl?.touched ||\n // this.options.parentForm?.submitted\n // );\n // }\n}\n","\r\nimport { Component } from '@angular/core';\r\nimport { FieldWrapper } from '@ngx-formly/core';\r\nimport { TranslatePipe } from '@es.framework/ng.core/pipes';\r\n\r\n@Component({\r\n selector: 'formly-custom-field-wrapper',\r\n template: `\r\n <!-- class=\"flex items-center gap-2\" -->\r\n <!-- class=\"p-field\" -->\r\n <div class=\"flex items-center gap-2\">\r\n\r\n @if (props.label && props['hideLabel'] !== true) {\r\n <label [for]=\"id\" class=\"\">\r\n {{ props.label | translate }}:\r\n </label>\r\n }\r\n\r\n <div class=\"mb-1\"></div>\r\n <ng-container #fieldComponent></ng-container>\r\n </div>\r\n\r\n `,\r\n imports: [TranslatePipe]\r\n})\r\nexport class CustomFieldWrapper extends FieldWrapper {\r\n}\r\n","export * from './lib/wrappers-module';\nexport * from './lib/label.wrapper';\nexport * from './lib/panel.wrapper';\nexport * from './lib/td-wrapper.type';\nexport * from './lib/tooltip-wrapper';\nexport * from './lib/formly-custom-field-wrapper';\n// export * from './formly-wrapper-custom-panel';\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MAMa,cAAc,CAAA;uGAAd,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAAd,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YAFf,YAAY,CAAA,EAAA,CAAA;AAEX,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YAFf,YAAY,CAAA,EAAA,CAAA;;2FAEX,cAAc,EAAA,UAAA,EAAA,CAAA;kBAH1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;AACxB,iBAAA;;;ACLD;AAsBM,MAAO,qBAAsB,SAAQ,YAAY,CAAA;uGAA1C,qBAAqB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAArB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,sBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAbtB;;;;;;;;;;;AAWT,EAA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BApB9B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,6BAA6B;AACvC,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;;;;AAeT,EAAA,CAAA;oBACD,OAAO,EAAE,CAAC,aAAa;AACxB,iBAAA;;;AClBD;;ACNA;;AAEG;;;;"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
class NgUiCore {
|
|
5
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: NgUiCore, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.3", type: NgUiCore, isStandalone: true, selector: "lib-ng-ui-core", ngImport: i0, template: "<p>NgUiCore works!</p>\n", styles: [""] });
|
|
7
|
+
}
|
|
8
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: NgUiCore, decorators: [{
|
|
9
|
+
type: Component,
|
|
10
|
+
args: [{ selector: 'lib-ng-ui-core', imports: [], template: "<p>NgUiCore works!</p>\n" }]
|
|
11
|
+
}] });
|
|
12
|
+
|
|
13
|
+
// import '../styles.css';
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Generated bundle index. Do not edit.
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
export { NgUiCore };
|
|
20
|
+
//# sourceMappingURL=es.framework-ng.ui.core.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"es.framework-ng.ui.core.mjs","sources":["../../../../libs/ng.ui.core/src/lib/ng.ui.core/ng.ui.core.ts","../../../../libs/ng.ui.core/src/lib/ng.ui.core/ng.ui.core.html","../../../../libs/ng.ui.core/src/index.ts","../../../../libs/ng.ui.core/src/es.framework-ng.ui.core.ts"],"sourcesContent":["import { Component } from '@angular/core';\n\n@Component({\n selector: 'lib-ng-ui-core',\n imports: [],\n templateUrl: './ng.ui.core.html',\n styleUrl: './ng.ui.core.css',\n})\nexport class NgUiCore {}\n","<p>NgUiCore works!</p>\n","export * from './lib/ng.ui.core/ng.ui.core';\n// import '../styles.css';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAQa,QAAQ,CAAA;uGAAR,QAAQ,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAR,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,QAAQ,0ECRrB,0BACA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;2FDOa,QAAQ,EAAA,UAAA,EAAA,CAAA;kBANpB,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,gBAAgB,WACjB,EAAE,EAAA,QAAA,EAAA,0BAAA,EAAA;;;AEHb;;ACDA;;AAEG;;;;"}
|
|
File without changes
|
package/input/README.md
ADDED