Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix: Package Builder import errors #2049

Merged
merged 8 commits into from
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { UMB_DATATYPE_WORKSPACE_MODAL } from '../../index.js';
import { UMB_DATA_TYPE_PICKER_FLOW_MODAL } from '../../modals/index.js';
import { css, html, customElement, property, state } from '@umbraco-cms/backoffice/external/lit';
import { UUIFormControlMixin } from '@umbraco-cms/backoffice/external/uui';
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
import { UmbModalRouteRegistrationController } from '@umbraco-cms/backoffice/router';
import { UmbChangeEvent } from '@umbraco-cms/backoffice/event';
import { UMB_DATA_TYPE_PICKER_FLOW_MODAL } from '../../modals/index.js';
import { UMB_DATATYPE_WORKSPACE_MODAL } from '../../workspace/index.js';

// Note: Does only support picking a single data type. But this could be developed later into this same component. To follow other picker input components.
/**
Expand Down
2 changes: 2 additions & 0 deletions src/packages/data-type/components/data-type-input/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export * from './data-type-input.element.js';
export * from './data-type-input.context.js';
2 changes: 2 additions & 0 deletions src/packages/data-type/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ import './data-type-input/data-type-input.element.js';
import './data-type-flow-input/data-type-flow-input.element.js';
import './ref-data-type/ref-data-type.element.js';
import './property-editor-config/property-editor-config.element.js';

export * from './data-type-input/index.js';
1 change: 1 addition & 0 deletions src/packages/dictionary/components/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './input-dictionary/index.js';
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './input-dictionary.context.js';
1 change: 1 addition & 0 deletions src/packages/dictionary/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ export * from './repository/index.js';
export * from './tree/index.js';
export * from './modals/dictionary-picker-modal.token.js';
export * from './entity.js';
export * from './components/index.js';
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { UmbDictionaryPickerContext } from '../../../dictionary/components/input-dictionary/input-dictionary.context.js';
import { UmbPackageRepository } from '../../package/repository/index.js';
import { UmbPartialViewPickerContext } from '../../../templating/partial-views/components/input-partial-view/input-partial-view.context.js';
import { UmbScriptPickerContext } from '../../../templating/scripts/components/input-script/input-script.context.js';
import { UmbStylesheetPickerContext } from '../../../templating/stylesheets/components/stylesheet-input/stylesheet-input.context.js';
import { UmbTemplatePickerContext } from '../../../templating/templates/components/input-template/input-template.context.js';
import type { UmbCreatedPackageDefinition } from '../../types.js';
import type { UmbDataTypeInputElement } from '../../../data-type/components/data-type-input/data-type-input.element.js';
import type { UmbInputLanguageElement } from '../../../language/components/input-language/input-language.element.js';
import { UmbDictionaryPickerContext } from '@umbraco-cms/backoffice/dictionary';
import { UmbPartialViewPickerContext } from '@umbraco-cms/backoffice/partial-view';
import { UmbScriptPickerContext } from '@umbraco-cms/backoffice/script';
import { UmbStylesheetPickerContext } from '@umbraco-cms/backoffice/stylesheet';
import { UmbTemplatePickerContext } from '@umbraco-cms/backoffice/template';
import type { UmbDataTypeInputElement } from '@umbraco-cms/backoffice/data-type';
import type { UmbInputLanguageElement } from '@umbraco-cms/backoffice/language';
import {
css,
html,
Expand Down
1 change: 1 addition & 0 deletions src/packages/templating/partial-views/components/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './input-partial-view/index.js';
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './input-partial-view.context.js';
3 changes: 2 additions & 1 deletion src/packages/templating/partial-views/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export * from './repository/index.js';
export * from './components/index.js';
export * from './entity.js';
export * from './repository/index.js';

export { UMB_PARTIAL_VIEW_PICKER_MODAL } from './partial-view-picker/index.js';
1 change: 1 addition & 0 deletions src/packages/templating/scripts/components/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './input-script/index.js';
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './input-script.context.js';
5 changes: 3 additions & 2 deletions src/packages/templating/scripts/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
export * from './components/index.js';
export * from './entity.js';
export * from './repository/index.js';
export * from './workspace/script-workspace.context-token.js';
export * from './tree/index.js';
export * from './types.js';
export * from './entity.js';
export * from './workspace/script-workspace.context-token.js';

export { UMB_SCRIPT_PICKER_MODAL } from './modals/script-picker-modal.token.js';
4 changes: 1 addition & 3 deletions src/packages/templating/stylesheets/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import './stylesheet-input/stylesheet-input.element.js';
import './stylesheet-rule-input/stylesheet-rule-input.element.js';
import './stylesheet-rule-ref/stylesheet-rule-ref.element.js';

export * from './stylesheet-input/stylesheet-input.element.js';
export * from './stylesheet-input/index.js';
export * from './stylesheet-rule-input/stylesheet-rule-input.element.js';
export * from './stylesheet-rule-ref/stylesheet-rule-ref.element.js';

export { UMB_STYLESHEET_PICKER_MODAL } from './stylesheet-input/index.js';
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
export * from './stylesheet-input.context.js';
export * from './stylesheet-input.element.js';
export { UMB_STYLESHEET_PICKER_MODAL } from './stylesheet-picker-modal.token.js';
6 changes: 1 addition & 5 deletions src/packages/templating/stylesheets/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,9 @@ import './components/index.js';

export * from './repository/index.js';
export * from './entity.js';
export * from './components/index.js';

export { UmbStylesheetTreeRepository } from './tree/index.js';

// Components
export { UmbStylesheetRuleInputElement } from './components/index.js';
export { UmbStylesheetInputElement } from './components/index.js';
export { UMB_STYLESHEET_PICKER_MODAL } from './components/index.js';

// Utils
export { UmbStylesheetRuleManager } from './utils/index.js';
2 changes: 1 addition & 1 deletion src/packages/templating/templates/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * from './template-card/template-card.element.js';
export * from './input-template/input-template.element.js';
export * from './input-template/index.js';
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export * from './input-template.context.js';
export * from './input-template.element.js';