inviton-powerduck 0.0.97 → 0.0.99
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/common/excel/excel-reader.ts +2 -1
- package/components/app/dynamic-component-container.tsx +1 -1
- package/components/app/root-dynamic-component-container.tsx +1 -1
- package/components/button/button.tsx +1 -1
- package/components/button/excel-upload-button.tsx +1 -1
- package/components/button/ladda-button.tsx +1 -1
- package/components/button/text-button.tsx +1 -1
- package/components/button/upload-button.tsx +1 -1
- package/components/card/card-body.tsx +1 -1
- package/components/card/card-header-with-options.tsx +1 -1
- package/components/card/card-header.tsx +1 -1
- package/components/card/card.tsx +1 -1
- package/components/collapse/index.tsx +1 -1
- package/components/contenteditable/index.tsx +1 -1
- package/components/context-menu/context-menu.tsx +1 -1
- package/components/counter/fetchdata.tsx +1 -1
- package/components/counter/index.tsx +1 -1
- package/components/datatable/col-vis-modal.tsx +1 -1
- package/components/datatable/filter-modal.tsx +1 -1
- package/components/dropdown-button/dropdown-button-element.tsx +1 -1
- package/components/dropdown-button/dropdown-button-heading.tsx +1 -1
- package/components/dropdown-button/dropdown-button-item.tsx +1 -1
- package/components/dropdown-button/dropdown-button-separator.tsx +1 -1
- package/components/dropdown-button/language-dropdown-button.tsx +1 -1
- package/components/file-downloader/index.tsx +1 -1
- package/components/form/footer-buttons.tsx +1 -1
- package/components/form/form.tsx +1 -1
- package/components/form/separator.tsx +1 -1
- package/components/form/validation-result-displayer.tsx +1 -1
- package/components/fullcalendar/fullcalendar-draggable-event.tsx +1 -1
- package/components/fullcalendar/timegrid-calendar.tsx +1 -1
- package/components/google/maps.tsx +1 -1
- package/components/highlight-js/index.tsx +1 -1
- package/components/home/index.tsx +1 -1
- package/components/html-literal/html-literal.tsx +14 -30
- package/components/image-crop/image-cropping-modal.tsx +1 -1
- package/components/image-crop/upload-and-crop.tsx +1 -1
- package/components/input/checkbox-without-label.tsx +1 -1
- package/components/input/daterange-picker.tsx +1 -1
- package/components/input/geo-json.tsx +1 -1
- package/components/loading-indicator/index.tsx +1 -1
- package/components/modal/modal-body.tsx +1 -1
- package/components/modal/modal-footer.tsx +1 -1
- package/components/modal-wrap/modal-section-wrapper.tsx +1 -1
- package/components/modal-wrap/modal-subtitle.tsx +1 -1
- package/components/rating/rating-displayer.tsx +1 -1
- package/components/rating/rating-picker.tsx +1 -1
- package/components/share/share-modal.tsx +1 -1
- package/components/share/share.tsx +1 -1
- package/components/sortable/sortable-container.tsx +1 -1
- package/components/sortable/sortable-item.tsx +1 -1
- package/components/spreadsheet/spreadsheet.tsx +1 -1
- package/components/summary-stats/summary-stats.tsx +1 -1
- package/components/swiper/swiper-gallery.tsx +1 -1
- package/components/swiper/swiper-slide.tsx +1 -1
- package/components/swiper/swiper.tsx +1 -1
- package/components/table-wrapper/table-wrapper.tsx +1 -1
- package/components/tilebox/tilebox.tsx +1 -1
- package/components/tooltip/index.tsx +1 -1
- package/components/transition/index.tsx +1 -1
- package/components/wizard/wizard-subtitle.tsx +1 -1
- package/package.json +2 -2
|
@@ -85,5 +85,5 @@ class DynamicComponentContainerComponent extends Vue implements IDynamicComponen
|
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
const DynamicComponentContainer = toNative(DynamicComponentContainerComponent)
|
|
88
|
+
const DynamicComponentContainer = toNative(DynamicComponentContainerComponent)
|
|
89
89
|
export default DynamicComponentContainer
|
|
@@ -30,5 +30,5 @@ class RootDynamicComponentContainerComponent extends Vue implements IDynamicComp
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
const RootDynamicComponentContainer = toNative(RootDynamicComponentContainerComponent)
|
|
33
|
+
const RootDynamicComponentContainer = toNative(RootDynamicComponentContainerComponent)
|
|
34
34
|
export default RootDynamicComponentContainer
|
|
@@ -54,5 +54,5 @@ class CardHeaderWithOptionsComponent extends TsxComponent<CardHeaderWithOptionsA
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
const CardHeaderWithOptions = toNative(CardHeaderWithOptionsComponent)
|
|
57
|
+
const CardHeaderWithOptions = toNative(CardHeaderWithOptionsComponent)
|
|
58
58
|
export default CardHeaderWithOptions
|
package/components/card/card.tsx
CHANGED
|
@@ -75,5 +75,5 @@ class DropdownButtonElementComponent extends TsxComponent<DropdownButtonElementA
|
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
const DropdownButtonElement = toNative(DropdownButtonElementComponent)
|
|
78
|
+
const DropdownButtonElement = toNative(DropdownButtonElementComponent)
|
|
79
79
|
export default DropdownButtonElement
|
|
@@ -13,5 +13,5 @@ class DropdownButtonHeadingComponent extends TsxComponent<DropdownButtonHeadingA
|
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
const DropdownButtonHeading = toNative(DropdownButtonHeadingComponent)
|
|
16
|
+
const DropdownButtonHeading = toNative(DropdownButtonHeadingComponent)
|
|
17
17
|
export default DropdownButtonHeading
|
|
@@ -92,5 +92,5 @@ class DropdownButtonItemComponent extends TsxComponent<DropdownButtonItemArgs> i
|
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
const DropdownButtonItem = toNative(DropdownButtonItemComponent)
|
|
95
|
+
const DropdownButtonItem = toNative(DropdownButtonItemComponent)
|
|
96
96
|
export default DropdownButtonItem
|
|
@@ -9,5 +9,5 @@ class DropdownButtonSeparatorComponent extends TsxComponent<DropdownButtonItemAr
|
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
const DropdownButtonSeparator = toNative(DropdownButtonSeparatorComponent)
|
|
12
|
+
const DropdownButtonSeparator = toNative(DropdownButtonSeparatorComponent)
|
|
13
13
|
export default DropdownButtonSeparator
|
|
@@ -50,5 +50,5 @@ class LanguageDropdownButtonComponent extends TsxComponent<LanguageDropdownButto
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
const LanguageDropdownButton = toNative(LanguageDropdownButtonComponent)
|
|
53
|
+
const LanguageDropdownButton = toNative(LanguageDropdownButtonComponent)
|
|
54
54
|
export default LanguageDropdownButton
|
|
@@ -262,5 +262,5 @@ class FileDownloadDialogComponent extends TsxComponent<FileDownloadDialogBinding
|
|
|
262
262
|
}
|
|
263
263
|
}
|
|
264
264
|
|
|
265
|
-
const FileDownloadDialog = toNative(FileDownloadDialogComponent)
|
|
265
|
+
const FileDownloadDialog = toNative(FileDownloadDialogComponent)
|
|
266
266
|
export default FileDownloadDialog
|
package/components/form/form.tsx
CHANGED
|
@@ -32,5 +32,5 @@ class ValidationResultDisplayerComponent extends TsxComponent<ValidationResultDi
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
const ValidationResultDisplayer = toNative(ValidationResultDisplayerComponent)
|
|
35
|
+
const ValidationResultDisplayer = toNative(ValidationResultDisplayerComponent)
|
|
36
36
|
export default ValidationResultDisplayer
|
|
@@ -82,5 +82,5 @@ class FullCalendarDraggableEventComponent extends TsxComponent<FullCalendarDragg
|
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
const FullCalendarDraggableEvent = toNative(FullCalendarDraggableEventComponent)
|
|
85
|
+
const FullCalendarDraggableEvent = toNative(FullCalendarDraggableEventComponent)
|
|
86
86
|
export default FullCalendarDraggableEvent
|
|
@@ -496,5 +496,5 @@ class TimegridCalendarComponent extends TsxComponent<TimegridCalendarArgs> imple
|
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
498
|
|
|
499
|
-
const TimegridCalendar = toNative(TimegridCalendarComponent)
|
|
499
|
+
const TimegridCalendar = toNative(TimegridCalendarComponent)
|
|
500
500
|
export default TimegridCalendar
|
|
@@ -1,41 +1,25 @@
|
|
|
1
1
|
import { toNative, Prop } from "vue-facing-decorator";
|
|
2
2
|
import TsxComponent, { Component } from "../../app/vuetsx";
|
|
3
3
|
interface HtmlLiteralArgs {
|
|
4
|
-
|
|
4
|
+
innerHTML: string;
|
|
5
|
+
wrapAsDiv?: boolean
|
|
5
6
|
}
|
|
6
7
|
|
|
7
8
|
@Component
|
|
8
9
|
class HtmlLiteralComponent extends TsxComponent<HtmlLiteralArgs> implements HtmlLiteralArgs {
|
|
9
|
-
|
|
10
|
+
@Prop() innerHTML!: string;
|
|
11
|
+
@Prop() wrapAsDiv: boolean
|
|
10
12
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
let rootElem = this.$refs.rootElem as Element;
|
|
21
|
-
if (rootElem != null) {
|
|
22
|
-
rootElem.innerHTML = this.innerHTML;
|
|
23
|
-
} else {
|
|
24
|
-
this.$nextTick(() => {
|
|
25
|
-
rootElem = this.$refs.rootElem as Element;
|
|
26
|
-
if (rootElem != null) {
|
|
27
|
-
rootElem.innerHTML = this.innerHTML;
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
render(h) {
|
|
34
|
-
if (this.innerHTML != null) {
|
|
35
|
-
return <span ref="rootElem"></span>;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
13
|
+
render(h) {
|
|
14
|
+
if (this.innerHTML != null) {
|
|
15
|
+
if (!this.wrapAsDiv) {
|
|
16
|
+
return <span innerHTML={this.innerHTML}></span>
|
|
17
|
+
} else {
|
|
18
|
+
return <div innerHTML={this.innerHTML}></div>
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
38
22
|
}
|
|
39
23
|
|
|
40
|
-
const HtmlLiteral = toNative(HtmlLiteralComponent)
|
|
24
|
+
const HtmlLiteral = toNative(HtmlLiteralComponent)
|
|
41
25
|
export default HtmlLiteral
|
|
@@ -175,5 +175,5 @@ class UploadImageAndCropButtonComponent extends TsxComponent<UploadImageAndCropB
|
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
177
|
|
|
178
|
-
const UploadImageAndCropButton = toNative(UploadImageAndCropButtonComponent)
|
|
178
|
+
const UploadImageAndCropButton = toNative(UploadImageAndCropButtonComponent)
|
|
179
179
|
export default UploadImageAndCropButton
|
|
@@ -62,5 +62,5 @@ class CheckBoxWithoutLabelComponent extends TsxComponent<CheckBoxArgs> implement
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
const CheckBoxWithoutLabel = toNative(CheckBoxWithoutLabelComponent)
|
|
65
|
+
const CheckBoxWithoutLabel = toNative(CheckBoxWithoutLabelComponent)
|
|
66
66
|
export default CheckBoxWithoutLabel
|
|
@@ -9,7 +9,7 @@ import { DateWrapper } from "../../common/date-wrapper";
|
|
|
9
9
|
import { isNullOrEmpty } from "../../common/utils/is-null-or-empty";
|
|
10
10
|
import { PortalUtils } from "../../common/utils/utils";
|
|
11
11
|
import PowerduckState from "../../app/powerduck-state";
|
|
12
|
-
import DateUtils from "
|
|
12
|
+
import DateUtils from "../../common/utils/date-utils";
|
|
13
13
|
|
|
14
14
|
export interface DaterangePickerArgsCustomCellRenderArgs {
|
|
15
15
|
attributesHtml: string
|
|
@@ -61,5 +61,5 @@ class ModalSectionWrapperComponent extends TsxComponent<ModalSectionWrapperArgs>
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
const ModalSectionWrapper = toNative(ModalSectionWrapperComponent)
|
|
64
|
+
const ModalSectionWrapper = toNative(ModalSectionWrapperComponent)
|
|
65
65
|
export default ModalSectionWrapper
|
package/package.json
CHANGED