[AAE 6360] Storybook brand with Alfresco (#7363)

* [AAE-6360] added config and logo files to process cloud and stories lib

* [AAE-6360] fixed build by adding unimplemented methods in form cloud mock service

* [AAE-6360] added config files for core and content services

* [AAE-6360] fixed bimport to correct build content-services storybook
This commit is contained in:
tomgny
2021-11-11 16:56:32 +01:00
committed by GitHub
parent e3204fd6e6
commit 0b24e896fa
13 changed files with 98 additions and 2 deletions

View File

@@ -0,0 +1,6 @@
import { addons } from '@storybook/addons';
import alfrescoTheme from '../../../.storybook/alfrescoTheme';
addons.setConfig({
theme: alfrescoTheme,
});

View File

@@ -15,7 +15,7 @@
* limitations under the License.
*/
import { FormModel, FormValues } from '@alfresco/adf-core';
import { FormFieldOption, FormModel, FormValues } from '@alfresco/adf-core';
import { UploadApi } from '@alfresco/js-api';
import { Observable, of } from 'rxjs';
import { map, switchMap } from 'rxjs/operators';
@@ -96,4 +96,8 @@ export class FormCloudServiceMock implements FormCloudServiceInterface {
parseForm(_json: any, _data?: TaskVariableCloud[], _readOnly: boolean = false): FormModel {
throw new Error('Method not implemented.');
}
getRestWidgetData(_formName: string, _widgetId: string, _body: Map<String, String>): Observable<FormFieldOption[]> {
throw new Error('Method not implemented.');
}
}