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

Build fixes #153

Closed
wants to merge 7 commits into from
Closed
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
23 changes: 23 additions & 0 deletions packages/boilerplate/custom_typings/aurelia-binding.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import { InternalPropertyObserver } from 'aurelia-binding';

declare module 'aurelia-binding' {
class InternalPropertyObserverImpl implements InternalPropertyObserver {
public getValue(): any;
public setValue(newValue: any): void;
public handleEvent(): any;
public subscribe(callback: (newValue: any, oldValue: any) => void): void;
public subscribe(context: any, callable: Callable): void;
public unsubscribe(callback: (newValue: any, oldValue: any) => void): void;
public unsubscribe(context: any, callable: Callable): void;
}

export declare class CheckedObserver extends InternalPropertyObserverImpl {
constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator);
}
export declare class ValueAttributeObserver extends InternalPropertyObserverImpl {
constructor(element: Element, propertyName: string, handler: ObserverEventHandler);
}
export declare class SelectValueObserver extends InternalPropertyObserverImpl {
constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator);
}
}
5 changes: 5 additions & 0 deletions packages/boilerplate/custom_typings/aurelia-framework.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { CheckedObserver, ValueAttributeObserver, SelectValueObserver } from 'aurelia-binding';

declare module 'aurelia-framework' {
export { CheckedObserver, ValueAttributeObserver, SelectValueObserver };
}
22 changes: 12 additions & 10 deletions packages/boilerplate/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
{
"compileOnSave": false,
"compilerOptions": {
"module": "amd",
"moduleResolution": "node",
"target": "es5",
"declaration": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true,
"lib": [
"es2017",
"dom"
],
"rootDir": "src",
"outDir": "dist/test",
"module": "amd",
"moduleResolution": "node",
"noImplicitAny": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"outDir": "dist/test",
"rootDir": "src",
"skipLibCheck": true,
"strictNullChecks": true,
"declaration": true,
"forceConsistentCasingInFileNames": true,
"experimentalDecorators": true,
"noEmitHelpers": false
"target": "es5"
},
"exclude": [
".vscode",
Expand Down
23 changes: 23 additions & 0 deletions packages/button/custom_typings/aurelia-binding.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import { InternalPropertyObserver } from 'aurelia-binding';

declare module 'aurelia-binding' {
class InternalPropertyObserverImpl implements InternalPropertyObserver {
public getValue(): any;
public setValue(newValue: any): void;
public handleEvent(): any;
public subscribe(callback: (newValue: any, oldValue: any) => void): void;
public subscribe(context: any, callable: Callable): void;
public unsubscribe(callback: (newValue: any, oldValue: any) => void): void;
public unsubscribe(context: any, callable: Callable): void;
}

export declare class CheckedObserver extends InternalPropertyObserverImpl {
constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator);
}
export declare class ValueAttributeObserver extends InternalPropertyObserverImpl {
constructor(element: Element, propertyName: string, handler: ObserverEventHandler);
}
export declare class SelectValueObserver extends InternalPropertyObserverImpl {
constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator);
}
}
5 changes: 5 additions & 0 deletions packages/button/custom_typings/aurelia-framework.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { CheckedObserver, ValueAttributeObserver, SelectValueObserver } from 'aurelia-binding';

declare module 'aurelia-framework' {
export { CheckedObserver, ValueAttributeObserver, SelectValueObserver };
}
1 change: 1 addition & 0 deletions packages/button/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { FrameworkConfiguration, PLATFORM } from 'aurelia-framework';

export { UxButtonTheme } from './ux-button-theme';
export { UxButton } from './ux-button';

export function configure(config: FrameworkConfiguration) {
config.globalResources([
Expand Down
22 changes: 12 additions & 10 deletions packages/button/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
{
"compileOnSave": false,
"compilerOptions": {
"module": "amd",
"moduleResolution": "node",
"target": "es5",
"declaration": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true,
"lib": [
"es2017",
"dom"
],
"rootDir": "src",
"outDir": "dist/test",
"module": "amd",
"moduleResolution": "node",
"noImplicitAny": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"outDir": "dist/test",
"rootDir": "src",
"skipLibCheck": true,
"strictNullChecks": true,
"declaration": true,
"forceConsistentCasingInFileNames": true,
"experimentalDecorators": true,
"noEmitHelpers": false
"target": "es5"
},
"exclude": [
".vscode",
Expand Down
23 changes: 23 additions & 0 deletions packages/checkbox/custom_typings/aurelia-binding.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import { InternalPropertyObserver } from 'aurelia-binding';

declare module 'aurelia-binding' {
class InternalPropertyObserverImpl implements InternalPropertyObserver {
public getValue(): any;
public setValue(newValue: any): void;
public handleEvent(): any;
public subscribe(callback: (newValue: any, oldValue: any) => void): void;
public subscribe(context: any, callable: Callable): void;
public unsubscribe(callback: (newValue: any, oldValue: any) => void): void;
public unsubscribe(context: any, callable: Callable): void;
}

export declare class CheckedObserver extends InternalPropertyObserverImpl {
constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator);
}
export declare class ValueAttributeObserver extends InternalPropertyObserverImpl {
constructor(element: Element, propertyName: string, handler: ObserverEventHandler);
}
export declare class SelectValueObserver extends InternalPropertyObserverImpl {
constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator);
}
}
5 changes: 5 additions & 0 deletions packages/checkbox/custom_typings/aurelia-framework.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { CheckedObserver, ValueAttributeObserver, SelectValueObserver } from 'aurelia-binding';

declare module 'aurelia-framework' {
export { CheckedObserver, ValueAttributeObserver, SelectValueObserver };
}
2 changes: 1 addition & 1 deletion packages/checkbox/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as AuBinding from 'aurelia-binding';
import { AureliaUX } from '@aurelia-ux/core';

export { UxCheckboxTheme } from './ux-checkbox-theme';
export { UxCheckbox, UxCheckboxElement } from './ux-checkbox'
export { UxCheckbox, UxCheckboxElement } from './ux-checkbox';

export function configure(config: FrameworkConfiguration) {
config.container.get(AureliaUX).registerUxElementConfig(uxCheckBoxConfig);
Expand Down
22 changes: 12 additions & 10 deletions packages/checkbox/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
{
"compileOnSave": false,
"compilerOptions": {
"module": "amd",
"moduleResolution": "node",
"target": "es5",
"declaration": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true,
"lib": [
"es2017",
"dom"
],
"rootDir": "src",
"outDir": "dist/test",
"module": "amd",
"moduleResolution": "node",
"noImplicitAny": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"outDir": "dist/test",
"rootDir": "src",
"skipLibCheck": true,
"strictNullChecks": true,
"declaration": true,
"forceConsistentCasingInFileNames": true,
"experimentalDecorators": true,
"noEmitHelpers": false
"target": "es5"
},
"exclude": [
".vscode",
Expand Down
23 changes: 23 additions & 0 deletions packages/chip-input/custom_typings/aurelia-binding.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import { InternalPropertyObserver } from 'aurelia-binding';

declare module 'aurelia-binding' {
class InternalPropertyObserverImpl implements InternalPropertyObserver {
public getValue(): any;
public setValue(newValue: any): void;
public handleEvent(): any;
public subscribe(callback: (newValue: any, oldValue: any) => void): void;
public subscribe(context: any, callable: Callable): void;
public unsubscribe(callback: (newValue: any, oldValue: any) => void): void;
public unsubscribe(context: any, callable: Callable): void;
}

export declare class CheckedObserver extends InternalPropertyObserverImpl {
constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator);
}
export declare class ValueAttributeObserver extends InternalPropertyObserverImpl {
constructor(element: Element, propertyName: string, handler: ObserverEventHandler);
}
export declare class SelectValueObserver extends InternalPropertyObserverImpl {
constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator);
}
}
5 changes: 5 additions & 0 deletions packages/chip-input/custom_typings/aurelia-framework.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { CheckedObserver, ValueAttributeObserver, SelectValueObserver } from 'aurelia-binding';

declare module 'aurelia-framework' {
export { CheckedObserver, ValueAttributeObserver, SelectValueObserver };
}
3 changes: 3 additions & 0 deletions packages/chip-input/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import { FrameworkConfiguration, PLATFORM } from 'aurelia-framework';
export { UxChipInputTheme } from './ux-chip-input-theme';
export { UxTagTheme } from './ux-tag-theme';
export { UxChipTheme } from './ux-chip-theme';
export { UxChipInput } from './ux-chip-input';
export { UxChip } from './ux-chip';
export { UxTag } from './ux-tag';

export function configure(config: FrameworkConfiguration) {
config.globalResources([
Expand Down
22 changes: 12 additions & 10 deletions packages/chip-input/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
{
"compileOnSave": false,
"compilerOptions": {
"module": "amd",
"moduleResolution": "node",
"target": "es5",
"declaration": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true,
"lib": [
"es2017",
"dom"
],
"rootDir": "src",
"outDir": "dist/test",
"module": "amd",
"moduleResolution": "node",
"noImplicitAny": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"outDir": "dist/test",
"rootDir": "src",
"skipLibCheck": true,
"strictNullChecks": true,
"declaration": true,
"forceConsistentCasingInFileNames": true,
"experimentalDecorators": true,
"noEmitHelpers": false
"target": "es5"
},
"exclude": [
".vscode",
Expand Down
23 changes: 23 additions & 0 deletions packages/components/custom_typings/aurelia-binding.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import { InternalPropertyObserver } from 'aurelia-binding';

declare module 'aurelia-binding' {
class InternalPropertyObserverImpl implements InternalPropertyObserver {
public getValue(): any;
public setValue(newValue: any): void;
public handleEvent(): any;
public subscribe(callback: (newValue: any, oldValue: any) => void): void;
public subscribe(context: any, callable: Callable): void;
public unsubscribe(callback: (newValue: any, oldValue: any) => void): void;
public unsubscribe(context: any, callable: Callable): void;
}

export declare class CheckedObserver extends InternalPropertyObserverImpl {
constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator);
}
export declare class ValueAttributeObserver extends InternalPropertyObserverImpl {
constructor(element: Element, propertyName: string, handler: ObserverEventHandler);
}
export declare class SelectValueObserver extends InternalPropertyObserverImpl {
constructor(element: Element, handler: ObserverEventHandler, observerLocator: ObserverLocator);
}
}
5 changes: 5 additions & 0 deletions packages/components/custom_typings/aurelia-framework.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { CheckedObserver, ValueAttributeObserver, SelectValueObserver } from 'aurelia-binding';

declare module 'aurelia-framework' {
export { CheckedObserver, ValueAttributeObserver, SelectValueObserver };
}
12 changes: 6 additions & 6 deletions packages/components/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import { FrameworkConfiguration } from 'aurelia-framework';

export { UxButtonTheme } from '@aurelia-ux/button';
export { UxButtonTheme, UxButton } from '@aurelia-ux/button';
export { UxCheckboxTheme, UxCheckbox, UxCheckboxElement } from '@aurelia-ux/checkbox';
export { UxChipInputTheme, UxChipTheme, UxTagTheme } from '@aurelia-ux/chip-input';
export { UxChipInputTheme, UxChipTheme, UxTagTheme, UxChipInput, UxChip, UxTag } from '@aurelia-ux/chip-input';
export { UxGridTheme, UxResponsiveUtilities } from '@aurelia-ux/grid';
export { UxDatepickerTheme } from '@aurelia-ux/datepicker';
export { UxFormTheme } from '@aurelia-ux/form';
export { UxDatepickerTheme, UxCalendar, DatepickerSettings, UxPickerDialog, UxYearList } from '@aurelia-ux/datepicker';
export { UxFormTheme, UxField, UxForm, UxSubmitCustomAttribute } from '@aurelia-ux/form';
export { UxInputTheme, UxInput, UxInputElement } from '@aurelia-ux/input';
export { UxInputInfoTheme } from '@aurelia-ux/input-info';
export { UxListTheme } from '@aurelia-ux/list';
export { UxInputInfoTheme, UxInputInfo } from '@aurelia-ux/input-info';
export { UxListTheme, UxList, UxListItem } from '@aurelia-ux/list';
export { UxRadioTheme, UxRadio, UxRadioElement } from '@aurelia-ux/radio';
export { UxTextAreaTheme, UxTextArea, UxTextAreaElement } from '@aurelia-ux/textarea';
export { UxSwitchTheme, UxSwitch, UxSwitchElement } from '@aurelia-ux/switch';
Expand Down
22 changes: 12 additions & 10 deletions packages/components/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
{
"compileOnSave": false,
"compilerOptions": {
"module": "amd",
"moduleResolution": "node",
"target": "es5",
"declaration": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true,
"lib": [
"es2017",
"dom"
],
"rootDir": "src",
"outDir": "dist/test",
"module": "amd",
"moduleResolution": "node",
"noImplicitAny": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"outDir": "dist/test",
"rootDir": "src",
"skipLibCheck": true,
"strictNullChecks": true,
"declaration": true,
"forceConsistentCasingInFileNames": true,
"experimentalDecorators": true,
"noEmitHelpers": false
"target": "es5"
},
"exclude": [
".vscode",
Expand Down
Loading