Skip to content

Commit 1d5e0d3

Browse files
committed
Merge branch 'dev'
2 parents 6d8d5e6 + 7b119e4 commit 1d5e0d3

File tree

57 files changed

+311
-258
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+311
-258
lines changed

dist/vue-typed-ui.js

Lines changed: 120 additions & 101 deletions
Large diffs are not rendered by default.

doc/api.json

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -228,11 +228,11 @@
228228
}
229229
},
230230
"component/currency": {
231-
"dir": "src/components/form-inputs/currency",
231+
"dir": "src/components/form-inputs/auto-numeric/currency",
232232
"id": "component/currency",
233233
"module": "currency",
234234
"base": {
235-
"Numeric": "../numeric"
235+
"NumericBase": "../numeric-base"
236236
},
237237
"type": "component",
238238
"readme": false,
@@ -443,10 +443,6 @@
443443
"type": "component",
444444
"readme": false,
445445
"props": {
446-
"css": {
447-
"type": "string",
448-
"description": "Css class(es) applied to dropdown component"
449-
},
450446
"disabled": {
451447
"type": "boolean",
452448
"description": "Disabled field",
@@ -476,6 +472,10 @@
476472
"type": "boolean",
477473
"description": "A selection dropdown can allow a user to search through a large list of choices."
478474
},
475+
"settings": {
476+
"type": "object",
477+
"description": "Semantic UI dropdown settings. See: https://semantic-ui.com/modules/dropdown.html#/settings"
478+
},
479479
"value": {
480480
"type": "any",
481481
"description": "v-model binding"
@@ -1030,11 +1030,24 @@
10301030
}
10311031
},
10321032
"component/numeric": {
1033-
"dir": "src/components/form-inputs/numeric",
1033+
"dir": "src/components/form-inputs/auto-numeric/numeric",
10341034
"id": "component/numeric",
10351035
"module": "numeric",
10361036
"base": {
1037-
"FieldBase": "../../fields/field-base"
1037+
"NumericBase": "../numeric-base"
1038+
},
1039+
"type": "component",
1040+
"readme": false,
1041+
"props": {},
1042+
"methods": {}
1043+
},
1044+
"component/numeric-base": {
1045+
"dir": "src/components/form-inputs/auto-numeric/numeric-base",
1046+
"id": "component/numeric-base",
1047+
"module": "numeric-base",
1048+
"isBase": "true",
1049+
"base": {
1050+
"FieldBase": "../../../fields/field-base"
10381051
},
10391052
"type": "component",
10401053
"readme": false,

lib/interface.d.ts

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -422,11 +422,6 @@ export interface IDatetime {
422422

423423
export interface IDropdown {
424424

425-
/**
426-
* Css class(es) applied to dropdown component
427-
*/
428-
css: string
429-
430425
/**
431426
* Disabled field
432427
*/
@@ -462,6 +457,11 @@ export interface IDropdown {
462457
*/
463458
search: boolean
464459

460+
/**
461+
* Semantic UI dropdown settings. See: https://semantic-ui.com/modules/dropdown.html#/settings
462+
*/
463+
settings: object
464+
465465
/**
466466
* v-model binding
467467
*/
@@ -920,7 +920,11 @@ export interface IModal {
920920

921921
/// <reference path="./semantic-ui.d.ts" />
922922

923-
export interface INumeric {
923+
export interface INumeric {}
924+
925+
/// <reference path="./semantic-ui.d.ts" />
926+
927+
export interface INumericBase {
924928

925929
/**
926930
* Number of decimal places
@@ -1361,6 +1365,11 @@ export class Components {
13611365
*/
13621366
numeric(ref: string): INumeric
13631367

1368+
/**
1369+
* Get instance of NumericBase from [ref]
1370+
*/
1371+
numericBase(ref: string): INumericBase
1372+
13641373
/**
13651374
* Get instance of Pusher from [ref]
13661375
*/

lib/settings.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export interface Settings {
55
timeFormat?: TimeFormat
66
numeric?: NumericSettings
77
toastr?: ToastrOptions
8+
dropdown?: SemanticUI.Dropdown.Settings
89
}
910

1011
export interface NumericSettings {

src/components/containers/accordion-item/_base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
Mixin
88
} from "vue-typed"
99
import * as Vue from "vue"
10-
export class _AccordionItemBase extends Virtual < Vue > () {
10+
export abstract class _AccordionItemBase extends Virtual < Vue > () {
1111

1212
/**
1313
* Accordion title

src/components/containers/accordion/_base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
Mixin
88
} from "vue-typed"
99
import * as Vue from "vue"
10-
export class _AccordionBase extends Virtual < Vue > () {
10+
export abstract class _AccordionBase extends Virtual < Vue > () {
1111

1212
/**
1313
* Only allow one section open at a time

src/components/containers/pusher/_base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ import {
77
Mixin
88
} from "vue-typed"
99
import * as Vue from "vue"
10-
export class _PusherBase extends Virtual < Vue > () {
10+
export abstract class _PusherBase extends Virtual < Vue > () {
1111

1212
}

src/components/containers/segment/_base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ import {
77
Mixin
88
} from "vue-typed"
99
import * as Vue from "vue"
10-
export class _SegmentBase extends Virtual < Vue > () {
10+
export abstract class _SegmentBase extends Virtual < Vue > () {
1111

1212
}

src/components/containers/tab-item/_base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
Mixin
88
} from "vue-typed"
99
import * as Vue from "vue"
10-
export class _TabItemBase extends Virtual < Vue > () {
10+
export abstract class _TabItemBase extends Virtual < Vue > () {
1111

1212
/**
1313
* Tab caption

src/components/containers/tab/_base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
Mixin
88
} from "vue-typed"
99
import * as Vue from "vue"
10-
export class _TabBase extends Virtual < Vue > () {
10+
export abstract class _TabBase extends Virtual < Vue > () {
1111

1212
/**
1313
* Tab style

0 commit comments

Comments
 (0)