@web-atoms/web-controls 2.2.0 → 2.2.2
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/dist/ModuleFiles.js +45 -46
- package/dist/ModuleFiles.js.map +1 -1
- package/dist/PageNavigator.d.ts +2 -2
- package/dist/PageNavigator.d.ts.map +1 -1
- package/dist/PageNavigator.js +54 -39
- package/dist/PageNavigator.js.map +1 -1
- package/dist/animations/Animations.js +38 -52
- package/dist/animations/Animations.js.map +1 -1
- package/dist/auto-complete/AppComboBoxViewModel.js +16 -17
- package/dist/auto-complete/AppComboBoxViewModel.js.map +1 -1
- package/dist/auto-complete/AutoCompleteBox.js +296 -273
- package/dist/auto-complete/AutoCompleteBox.js.map +1 -1
- package/dist/auto-complete/AutoCompleteBoxStyle.js +69 -65
- package/dist/auto-complete/AutoCompleteBoxStyle.js.map +1 -1
- package/dist/auto-complete/ItemHost.js +39 -28
- package/dist/auto-complete/ItemHost.js.map +1 -1
- package/dist/basic/AtomChips.js +348 -355
- package/dist/basic/AtomChips.js.map +1 -1
- package/dist/basic/AtomRepeater.js +1000 -1041
- package/dist/basic/AtomRepeater.js.map +1 -1
- package/dist/basic/AtomSuggestions.js +154 -161
- package/dist/basic/AtomSuggestions.js.map +1 -1
- package/dist/basic/Button.js +63 -60
- package/dist/basic/Button.js.map +1 -1
- package/dist/basic/Calendar.js +215 -255
- package/dist/basic/Calendar.js.map +1 -1
- package/dist/basic/CheckBoxList.js +73 -66
- package/dist/basic/CheckBoxList.js.map +1 -1
- package/dist/basic/Checkbox.js +30 -37
- package/dist/basic/Checkbox.js.map +1 -1
- package/dist/basic/Chip.js +52 -76
- package/dist/basic/Chip.js.map +1 -1
- package/dist/basic/ComboBox.js +75 -70
- package/dist/basic/ComboBox.js.map +1 -1
- package/dist/basic/DataGrid.js +289 -306
- package/dist/basic/DataGrid.js.map +1 -1
- package/dist/basic/DateField.js +90 -97
- package/dist/basic/DateField.js.map +1 -1
- package/dist/basic/DropDown.js +162 -142
- package/dist/basic/DropDown.js.map +1 -1
- package/dist/basic/Editable.js +109 -107
- package/dist/basic/Editable.js.map +1 -1
- package/dist/basic/Expander.js +111 -185
- package/dist/basic/Expander.js.map +1 -1
- package/dist/basic/Form.js +269 -264
- package/dist/basic/Form.js.map +1 -1
- package/dist/basic/FormDialog.js +27 -29
- package/dist/basic/FormDialog.js.map +1 -1
- package/dist/basic/FormField.js +183 -203
- package/dist/basic/FormField.js.map +1 -1
- package/dist/basic/IElement.js +8 -12
- package/dist/basic/IElement.js.map +1 -1
- package/dist/basic/InlinePopup.js +291 -262
- package/dist/basic/InlinePopup.js.map +1 -1
- package/dist/basic/InlinePopupControl.js +34 -33
- package/dist/basic/InlinePopupControl.js.map +1 -1
- package/dist/basic/Input.js +28 -28
- package/dist/basic/Input.js.map +1 -1
- package/dist/basic/ListRepeater.js +45 -61
- package/dist/basic/ListRepeater.js.map +1 -1
- package/dist/basic/MaskedInput.js +53 -66
- package/dist/basic/MaskedInput.js.map +1 -1
- package/dist/basic/MaskedInputDiv.js +78 -99
- package/dist/basic/MaskedInputDiv.js.map +1 -1
- package/dist/basic/Mix.js +34 -33
- package/dist/basic/Mix.js.map +1 -1
- package/dist/basic/Panel.js +34 -34
- package/dist/basic/Panel.js.map +1 -1
- package/dist/basic/PasswordBox.js +46 -49
- package/dist/basic/PasswordBox.js.map +1 -1
- package/dist/basic/PinchZoomView.js +250 -255
- package/dist/basic/PinchZoomView.js.map +1 -1
- package/dist/basic/PopupButton.js +70 -128
- package/dist/basic/PopupButton.js.map +1 -1
- package/dist/basic/RadioButtonList.js +63 -51
- package/dist/basic/RadioButtonList.js.map +1 -1
- package/dist/basic/RefreshLock.js +76 -60
- package/dist/basic/RefreshLock.js.map +1 -1
- package/dist/basic/Row.js +41 -43
- package/dist/basic/Row.js.map +1 -1
- package/dist/basic/Swipe.js +94 -101
- package/dist/basic/Swipe.js.map +1 -1
- package/dist/basic/Switch.js +58 -105
- package/dist/basic/Switch.js.map +1 -1
- package/dist/basic/TableRepeater.js +42 -43
- package/dist/basic/TableRepeater.js.map +1 -1
- package/dist/basic/ToggleButtonBar.js +58 -71
- package/dist/basic/ToggleButtonBar.js.map +1 -1
- package/dist/basic/Tooltip.js +89 -81
- package/dist/basic/Tooltip.js.map +1 -1
- package/dist/basic/combineClasses.js +12 -16
- package/dist/basic/combineClasses.js.map +1 -1
- package/dist/basic/in-built/InBuiltStyles.js +44 -43
- package/dist/basic/in-built/InBuiltStyles.js.map +1 -1
- package/dist/button-bar/AtomButtonBar.js +40 -50
- package/dist/button-bar/AtomButtonBar.js.map +1 -1
- package/dist/buttons/AtomPopupButton.js +18 -18
- package/dist/buttons/AtomPopupButton.js.map +1 -1
- package/dist/buttons/AtomPopupButtonStyle.js +28 -29
- package/dist/buttons/AtomPopupButtonStyle.js.map +1 -1
- package/dist/calendar/AtomCalendar.js +93 -61
- package/dist/calendar/AtomCalendar.js.map +1 -1
- package/dist/calendar/AtomCalendarStyle.js +165 -136
- package/dist/calendar/AtomCalendarStyle.js.map +1 -1
- package/dist/calendar/CalendarViewModel.js +105 -114
- package/dist/calendar/CalendarViewModel.js.map +1 -1
- package/dist/calendar/res/SRCalendar.js +85 -51
- package/dist/calendar/res/SRCalendar.js.map +1 -1
- package/dist/calendar/res/en-US/SRCalendar.js +74 -39
- package/dist/calendar/res/en-US/SRCalendar.js.map +1 -1
- package/dist/data-grid/AtomColumn.js +55 -72
- package/dist/data-grid/AtomColumn.js.map +1 -1
- package/dist/data-grid/AtomDataGrid.js +64 -63
- package/dist/data-grid/AtomDataGrid.js.map +1 -1
- package/dist/data-grid/AtomDataGridStyle.js +50 -50
- package/dist/data-grid/AtomDataGridStyle.js.map +1 -1
- package/dist/data-grid/AtomDataGridViewModel.js +71 -77
- package/dist/data-grid/AtomDataGridViewModel.js.map +1 -1
- package/dist/data-grid/GridTemplate.js +64 -66
- package/dist/data-grid/GridTemplate.js.map +1 -1
- package/dist/data-pager/AtomDataPager.js +104 -94
- package/dist/data-pager/AtomDataPager.js.map +1 -1
- package/dist/date-field/AtomDateField.js +52 -47
- package/dist/date-field/AtomDateField.js.map +1 -1
- package/dist/desktop-app/DesktopApp.js +87 -123
- package/dist/desktop-app/DesktopApp.js.map +1 -1
- package/dist/form/AtomField.js +131 -133
- package/dist/form/AtomField.js.map +1 -1
- package/dist/form/AtomForm.js +84 -98
- package/dist/form/AtomForm.js.map +1 -1
- package/dist/form/AtomFormGroup.js +15 -19
- package/dist/form/AtomFormGroup.js.map +1 -1
- package/dist/form/AtomFormStyle.js +67 -67
- package/dist/form/AtomFormStyle.js.map +1 -1
- package/dist/form/HelpPopup.js +23 -19
- package/dist/form/HelpPopup.js.map +1 -1
- package/dist/html-editor/AtomHtmlEditor.js +295 -383
- package/dist/html-editor/AtomHtmlEditor.js.map +1 -1
- package/dist/html-editor/commands/AddImage.js +79 -65
- package/dist/html-editor/commands/AddImage.js.map +1 -1
- package/dist/html-editor/commands/AddLink.js +98 -88
- package/dist/html-editor/commands/AddLink.js.map +1 -1
- package/dist/html-editor/commands/Align.js +40 -23
- package/dist/html-editor/commands/Align.js.map +1 -1
- package/dist/html-editor/commands/AttachFile.js +93 -73
- package/dist/html-editor/commands/AttachFile.js.map +1 -1
- package/dist/html-editor/commands/Bold.js +23 -19
- package/dist/html-editor/commands/Bold.js.map +1 -1
- package/dist/html-editor/commands/ChangeColor.js +55 -144
- package/dist/html-editor/commands/ChangeColor.js.map +1 -1
- package/dist/html-editor/commands/ChangeFont.js +67 -75
- package/dist/html-editor/commands/ChangeFont.js.map +1 -1
- package/dist/html-editor/commands/ChangeFontSize.js +32 -21
- package/dist/html-editor/commands/ChangeFontSize.js.map +1 -1
- package/dist/html-editor/commands/Command.js +53 -39
- package/dist/html-editor/commands/Command.js.map +1 -1
- package/dist/html-editor/commands/CommandButton.js +93 -56
- package/dist/html-editor/commands/CommandButton.js.map +1 -1
- package/dist/html-editor/commands/Headings.js +42 -25
- package/dist/html-editor/commands/Headings.js.map +1 -1
- package/dist/html-editor/commands/HorizontalRule.js +22 -19
- package/dist/html-editor/commands/HorizontalRule.js.map +1 -1
- package/dist/html-editor/commands/HtmlCommands.js +73 -76
- package/dist/html-editor/commands/HtmlCommands.js.map +1 -1
- package/dist/html-editor/commands/IndentLess.js +23 -19
- package/dist/html-editor/commands/IndentLess.js.map +1 -1
- package/dist/html-editor/commands/IndentMore.js +23 -19
- package/dist/html-editor/commands/IndentMore.js.map +1 -1
- package/dist/html-editor/commands/Italic.js +23 -19
- package/dist/html-editor/commands/Italic.js.map +1 -1
- package/dist/html-editor/commands/NumberedList.js +23 -19
- package/dist/html-editor/commands/NumberedList.js.map +1 -1
- package/dist/html-editor/commands/Quote.js +23 -19
- package/dist/html-editor/commands/Quote.js.map +1 -1
- package/dist/html-editor/commands/RemoveFormat.js +23 -19
- package/dist/html-editor/commands/RemoveFormat.js.map +1 -1
- package/dist/html-editor/commands/Separator.js +24 -27
- package/dist/html-editor/commands/Separator.js.map +1 -1
- package/dist/html-editor/commands/Source.js +95 -67
- package/dist/html-editor/commands/Source.js.map +1 -1
- package/dist/html-editor/commands/StrikeThrough.js +23 -19
- package/dist/html-editor/commands/StrikeThrough.js.map +1 -1
- package/dist/html-editor/commands/Underline.js +23 -19
- package/dist/html-editor/commands/Underline.js.map +1 -1
- package/dist/html-editor/commands/Unlink.js +24 -23
- package/dist/html-editor/commands/Unlink.js.map +1 -1
- package/dist/html-editor/commands/UnorderedList.js +23 -19
- package/dist/html-editor/commands/UnorderedList.js.map +1 -1
- package/dist/mobile/pages/AtomPageFrame.js +177 -192
- package/dist/mobile/pages/AtomPageFrame.js.map +1 -1
- package/dist/mobile/pages/AtomPageFrameStyle.js +56 -54
- package/dist/mobile/pages/AtomPageFrameStyle.js.map +1 -1
- package/dist/mobile/pages/AtomPageFrameTemplate.js +48 -32
- package/dist/mobile/pages/AtomPageFrameTemplate.js.map +1 -1
- package/dist/mobile/pages/Page.js +23 -23
- package/dist/mobile/pages/Page.js.map +1 -1
- package/dist/mobile/pages/PageFrameViewModel.js +154 -148
- package/dist/mobile/pages/PageFrameViewModel.js.map +1 -1
- package/dist/mobile/pages/TitleTemplate.js +22 -22
- package/dist/mobile/pages/TitleTemplate.js.map +1 -1
- package/dist/mobile-app/BottomPopup.js +206 -240
- package/dist/mobile-app/BottomPopup.js.map +1 -1
- package/dist/mobile-app/MobileApp.js +552 -654
- package/dist/mobile-app/MobileApp.js.map +1 -1
- package/dist/player/AtomVideoPlayer.js +221 -267
- package/dist/player/AtomVideoPlayer.js.map +1 -1
- package/dist/player/TrackProgress.js +28 -27
- package/dist/player/TrackProgress.js.map +1 -1
- package/dist/setupBridge.js +74 -98
- package/dist/setupBridge.js.map +1 -1
- package/dist/switch/AtomSwitch.js +43 -37
- package/dist/switch/AtomSwitch.js.map +1 -1
- package/dist/switch/AtomSwitchStyle.js +68 -68
- package/dist/switch/AtomSwitchStyle.js.map +1 -1
- package/dist/time-field/AtomTimeField.js +97 -83
- package/dist/time-field/AtomTimeField.js.map +1 -1
- package/dist/time-field/AtomTimeFieldStyle.js +24 -25
- package/dist/time-field/AtomTimeFieldStyle.js.map +1 -1
- package/dist/toggle-view/AtomToggleView.js +96 -115
- package/dist/toggle-view/AtomToggleView.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -1
- package/src/PageNavigator.ts +2 -2
|
@@ -1,72 +1,100 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
System.register(["@web-atoms/core/dist/core/Bind", "@web-atoms/core/dist/core/BindableProperty", "@web-atoms/core/dist/core/XNode", "@web-atoms/core/dist/style/StyleRule", "@web-atoms/core/dist/web/services/PopupService", "@web-atoms/core/dist/web/styles/CSS", "./CommandButton", "./HtmlCommands"], function (_export, _context) {
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
var Bind, BindableProperty, XNode, StyleRule, PopupService, PopupWindow, CSS, CommandButton, HtmlCommands, __decorate, __metadata, __awaiter, css;
|
|
5
|
+
function showDialog(s, e) {
|
|
6
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7
|
+
class SourceDialog extends PopupWindow {
|
|
8
|
+
create() {
|
|
9
|
+
this.source = s.htmlContent;
|
|
10
|
+
this.render(XNode.create("div", {
|
|
11
|
+
class: css
|
|
12
|
+
}, XNode.create("textarea", {
|
|
13
|
+
value: Bind.twoWaysImmediate(() => this.source)
|
|
14
|
+
}), XNode.create("div", {
|
|
15
|
+
class: "command-bar"
|
|
16
|
+
}, XNode.create("button", {
|
|
17
|
+
eventClick: Bind.event(() => this.close(this.source)),
|
|
18
|
+
text: "Save"
|
|
19
|
+
}))));
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
__decorate([BindableProperty, __metadata("design:type", String)], SourceDialog.prototype, "source", void 0);
|
|
23
|
+
const result = yield PopupService.showWindow(s.element, SourceDialog);
|
|
24
|
+
s.htmlContent = result;
|
|
25
|
+
return null;
|
|
17
26
|
});
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
})
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
function
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
27
|
+
}
|
|
28
|
+
function Source({
|
|
29
|
+
insertCommand = HtmlCommands.enabled
|
|
30
|
+
}) {
|
|
31
|
+
return CommandButton({
|
|
32
|
+
icon: "ri-edit-box-fill",
|
|
33
|
+
insertCommand,
|
|
34
|
+
eventInsertHtml: showDialog,
|
|
35
|
+
title: "Edit Source Code"
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
_export("default", Source);
|
|
39
|
+
return {
|
|
40
|
+
setters: [function (_webAtomsCoreDistCoreBind) {
|
|
41
|
+
Bind = _webAtomsCoreDistCoreBind.default;
|
|
42
|
+
}, function (_webAtomsCoreDistCoreBindableProperty) {
|
|
43
|
+
BindableProperty = _webAtomsCoreDistCoreBindableProperty.BindableProperty;
|
|
44
|
+
}, function (_webAtomsCoreDistCoreXNode) {
|
|
45
|
+
XNode = _webAtomsCoreDistCoreXNode.default;
|
|
46
|
+
}, function (_webAtomsCoreDistStyleStyleRule) {
|
|
47
|
+
StyleRule = _webAtomsCoreDistStyleStyleRule.default;
|
|
48
|
+
}, function (_webAtomsCoreDistWebServicesPopupService) {
|
|
49
|
+
PopupService = _webAtomsCoreDistWebServicesPopupService.default;
|
|
50
|
+
PopupWindow = _webAtomsCoreDistWebServicesPopupService.PopupWindow;
|
|
51
|
+
}, function (_webAtomsCoreDistWebStylesCSS) {
|
|
52
|
+
CSS = _webAtomsCoreDistWebStylesCSS.default;
|
|
53
|
+
}, function (_CommandButton) {
|
|
54
|
+
CommandButton = _CommandButton.default;
|
|
55
|
+
}, function (_HtmlCommands) {
|
|
56
|
+
HtmlCommands = _HtmlCommands.default;
|
|
57
|
+
}],
|
|
58
|
+
execute: function () {
|
|
59
|
+
__decorate = void 0 && (void 0).__decorate || function (decorators, target, key, desc) {
|
|
60
|
+
var c = arguments.length,
|
|
61
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
62
|
+
d;
|
|
63
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
64
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
65
|
+
};
|
|
66
|
+
__metadata = void 0 && (void 0).__metadata || function (k, v) {
|
|
67
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
68
|
+
};
|
|
69
|
+
__awaiter = void 0 && (void 0).__awaiter || function (thisArg, _arguments, P, generator) {
|
|
70
|
+
function adopt(value) {
|
|
71
|
+
return value instanceof P ? value : new P(function (resolve) {
|
|
72
|
+
resolve(value);
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
76
|
+
function fulfilled(value) {
|
|
77
|
+
try {
|
|
78
|
+
step(generator.next(value));
|
|
79
|
+
} catch (e) {
|
|
80
|
+
reject(e);
|
|
52
81
|
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
insertCommand,
|
|
66
|
-
eventInsertHtml: showDialog,
|
|
67
|
-
title: "Edit Source Code"
|
|
82
|
+
}
|
|
83
|
+
function rejected(value) {
|
|
84
|
+
try {
|
|
85
|
+
step(generator["throw"](value));
|
|
86
|
+
} catch (e) {
|
|
87
|
+
reject(e);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
function step(result) {
|
|
91
|
+
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
92
|
+
}
|
|
93
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
68
94
|
});
|
|
95
|
+
};
|
|
96
|
+
css = CSS(StyleRule().child(StyleRule("textarea").minHeight(500).minWidth(700)));
|
|
69
97
|
}
|
|
70
|
-
|
|
71
|
-
});
|
|
98
|
+
};
|
|
99
|
+
});
|
|
72
100
|
//# sourceMappingURL=Source.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"mappings":";;;;EAiBA,SAAeA,UAAU,CAACC,CAAiB,EAAEC,CAAQ;;MAEjD,MAAMC,YAAa,SAAQC,WAAW;QAKxBC,MAAM;UACZ,IAAI,CAACC,MAAM,GAAGL,CAAC,CAACM,WAAW;UAC3B,IAAI,CAACC,MAAM,CAACC;YAAKC,KAAK,EAAEC;UAAG,GACvBF;YAAUG,KAAK,EAAEC,IAAI,CAACC,gBAAgB,CAAC,MAAM,IAAI,CAACR,MAAM;UAAC,EAAG,EAC5DG;YAAKC,KAAK,EAAC;UAAa,GACpBD;YACIM,UAAU,EAAEF,IAAI,CAACG,KAAK,CAAC,MAAM,IAAI,CAACC,KAAK,CAAC,IAAI,CAACX,MAAM,CAAC,CAAC;YACrDY,IAAI,EAAC;UAAM,EAAE,CACf,CACJ,CAAC;QACX;;MAbAC,YAACC,gBAAgB,+EACK;MAgB1B,MAAMC,MAAM,GAAG,MAAMC,YAAY,CAACC,UAAU,CAACtB,CAAC,CAACuB,OAAO,EAAErB,YAAY,CAAC;MACrEF,CAAC,CAACM,WAAW,GAAGc,MAAgB;MAChC,OAAO,IAAI;IACf,CAAC;;EAEa,SAAUI,MAAM,CAAC;IAC3BC,aAAa,GAAGC,YAAY,CAACC;EAAO,CACvC;IACG,OAAOC,aAAa,CAAC;MACjBC,IAAI,EAAE,kBAAkB;MACxBJ,aAAa;MACbK,eAAe,EAAE/B,UAAU;MAC3BgC,KAAK,EAAE;KACV,CAAC;EACN;EAAC,mBATuBP,MAAM;EAAA;IAAA;MA3CvBZ,IAAI;IAAA;MACFO,gBAAgB,yCAAhBA,gBAAgB;IAAA;MAClBX,KAAK;IAAA;MACLwB,SAAS;IAAA;MACTX,YAAY;MAAIlB,WAAW,4CAAXA,WAAW;IAAA;MAC3B8B,GAAG;IAAA;MAEHL,aAAa;IAAA;MACbF,YAAY;IAAA;IAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEbhB,GAAG,GAAGuB,GAAG,CAACD,SAAS,EAAE,CACtBE,KAAK,CAACF,SAAS,CAAC,UAAU,CAAC,CACvBG,SAAS,CAAC,GAAG,CAAC,CACdC,QAAQ,CAAC,GAAG,CAAC,CACjB,CACJ;IAAA;EAAA;AAAA","names":["showDialog","s","e","SourceDialog","PopupWindow","create","source","htmlContent","render","XNode","class","css","value","Bind","twoWaysImmediate","eventClick","event","close","text","__decorate","BindableProperty","result","PopupService","showWindow","element","Source","insertCommand","HtmlCommands","enabled","CommandButton","icon","eventInsertHtml","title","StyleRule","CSS","child","minHeight","minWidth"],"sourceRoot":"","sources":["../../../src/html-editor/commands/Source.tsx"],"sourcesContent":[null]}
|
|
@@ -1,20 +1,24 @@
|
|
|
1
|
-
(function (
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
1
|
+
System.register(["./Command"], function (_export, _context) {
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
var Command;
|
|
5
|
+
function StrikeThrough(cmd) {
|
|
6
|
+
return Command(Object.assign(Object.assign({
|
|
7
|
+
icon: "ri-strikethrough",
|
|
8
|
+
queryState: "strikeThrough",
|
|
9
|
+
title: "Strike Through"
|
|
10
|
+
}, cmd), {
|
|
11
|
+
command(editor) {
|
|
12
|
+
editor.executeCommand("strikeThrough");
|
|
13
|
+
}
|
|
14
|
+
}));
|
|
15
|
+
}
|
|
16
|
+
_export("default", StrikeThrough);
|
|
17
|
+
return {
|
|
18
|
+
setters: [function (_Command) {
|
|
19
|
+
Command = _Command.default;
|
|
20
|
+
}],
|
|
21
|
+
execute: function () {}
|
|
22
|
+
};
|
|
23
|
+
});
|
|
20
24
|
//# sourceMappingURL=StrikeThrough.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"mappings":";;;;EAEc,SAAUA,aAAa,CAACC,GAAa;IAC/C,OAAOC,OAAO;MACVC,IAAI,EAAE,kBAAkB;MACxBC,UAAU,EAAE,eAAe;MAC3BC,KAAK,EAAE;IAAgB,GACnBJ,GAAG;MACPK,OAAO,CAACC,MAAM;QACVA,MAAM,CAACC,cAAc,CAAC,eAAe,CAAC;MAC1C;IAAC,GACH;EACN;EAAC,mBAVuBR,aAAa;EAAA;IAAA;MAF9BE,OAAqB;IAAA;IAAA;EAAA;AAAA","names":["StrikeThrough","cmd","Command","icon","queryState","title","command","editor","executeCommand"],"sourceRoot":"","sources":["../../../src/html-editor/commands/StrikeThrough.ts"],"sourcesContent":[null]}
|
|
@@ -1,20 +1,24 @@
|
|
|
1
|
-
(function (
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
1
|
+
System.register(["./Command"], function (_export, _context) {
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
var Command;
|
|
5
|
+
function Underline(cmd) {
|
|
6
|
+
return Command(Object.assign(Object.assign({
|
|
7
|
+
icon: "ri-underline",
|
|
8
|
+
queryState: "underline",
|
|
9
|
+
title: "Underline"
|
|
10
|
+
}, cmd), {
|
|
11
|
+
command(editor) {
|
|
12
|
+
editor.executeCommand("underline");
|
|
13
|
+
}
|
|
14
|
+
}));
|
|
15
|
+
}
|
|
16
|
+
_export("default", Underline);
|
|
17
|
+
return {
|
|
18
|
+
setters: [function (_Command) {
|
|
19
|
+
Command = _Command.default;
|
|
20
|
+
}],
|
|
21
|
+
execute: function () {}
|
|
22
|
+
};
|
|
23
|
+
});
|
|
20
24
|
//# sourceMappingURL=Underline.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"mappings":";;;;EAEc,SAAUA,SAAS,CAACC,GAAa;IAC3C,OAAOC,OAAO;MACVC,IAAI,EAAE,cAAc;MACpBC,UAAU,EAAE,WAAW;MACvBC,KAAK,EAAE;IAAW,GACdJ,GAAG;MACPK,OAAO,CAACC,MAAM;QACVA,MAAM,CAACC,cAAc,CAAC,WAAW,CAAC;MACtC;IAAC,GACH;EACN;EAAC,mBAVuBR,SAAS;EAAA;IAAA;MAF1BE,OAAqB;IAAA;IAAA;EAAA;AAAA","names":["Underline","cmd","Command","icon","queryState","title","command","editor","executeCommand"],"sourceRoot":"","sources":["../../../src/html-editor/commands/Underline.ts"],"sourcesContent":[null]}
|
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
(function (
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
}
|
|
1
|
+
System.register(["./CommandButton", "./HtmlCommands"], function (_export, _context) {
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
var CommandButton, HtmlCommands;
|
|
5
|
+
function Unlink({
|
|
6
|
+
insertCommand = HtmlCommands.unlink
|
|
7
|
+
}) {
|
|
8
|
+
return CommandButton({
|
|
9
|
+
icon: "ri-link-unlink-m",
|
|
10
|
+
insertCommand,
|
|
11
|
+
eventInsertHtml: () => "",
|
|
12
|
+
title: "Remove Hyperlink"
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
_export("default", Unlink);
|
|
16
|
+
return {
|
|
17
|
+
setters: [function (_CommandButton) {
|
|
18
|
+
CommandButton = _CommandButton.default;
|
|
19
|
+
}, function (_HtmlCommands) {
|
|
20
|
+
HtmlCommands = _HtmlCommands.default;
|
|
21
|
+
}],
|
|
22
|
+
execute: function () {}
|
|
23
|
+
};
|
|
24
|
+
});
|
|
24
25
|
//# sourceMappingURL=Unlink.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"mappings":";;;;EAGc,SAAUA,MAAM,CAAC;IAC3BC,aAAa,GAAGC,YAAY,CAACC;EAAM,CACtC;IACG,OAAOC,aAAa,CAAC;MACjBC,IAAI,EAAE,kBAAkB;MACxBJ,aAAa;MACbK,eAAe,EAAE,MAAM,EAAE;MACzBC,KAAK,EAAE;KACV,CAAC;EACN;EAAC,mBATuBP,MAAM;EAAA;IAAA;MAHvBI,aAAa;IAAA;MACbF,YAAY;IAAA;IAAA;EAAA;AAAA","names":["Unlink","insertCommand","HtmlCommands","unlink","CommandButton","icon","eventInsertHtml","title"],"sourceRoot":"","sources":["../../../src/html-editor/commands/Unlink.tsx"],"sourcesContent":[null]}
|
|
@@ -1,20 +1,24 @@
|
|
|
1
|
-
(function (
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
1
|
+
System.register(["./Command"], function (_export, _context) {
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
var Command;
|
|
5
|
+
function UnorderedList(cmd) {
|
|
6
|
+
return Command(Object.assign(Object.assign({
|
|
7
|
+
icon: "ri-list-unordered",
|
|
8
|
+
queryState: "insertUnorderedList",
|
|
9
|
+
title: "Create List"
|
|
10
|
+
}, cmd), {
|
|
11
|
+
command(editor) {
|
|
12
|
+
editor.executeCommand("insertUnorderedList");
|
|
13
|
+
}
|
|
14
|
+
}));
|
|
15
|
+
}
|
|
16
|
+
_export("default", UnorderedList);
|
|
17
|
+
return {
|
|
18
|
+
setters: [function (_Command) {
|
|
19
|
+
Command = _Command.default;
|
|
20
|
+
}],
|
|
21
|
+
execute: function () {}
|
|
22
|
+
};
|
|
23
|
+
});
|
|
20
24
|
//# sourceMappingURL=UnorderedList.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"mappings":";;;;EAEc,SAAUA,aAAa,CAACC,GAAQ;IAC1C,OAAOC,OAAO;MACVC,IAAI,EAAE,mBAAmB;MACzBC,UAAU,EAAE,qBAAqB;MACjCC,KAAK,EAAE;IAAa,GAChBJ,GAAG;MACPK,OAAO,CAACC,MAAM;QACVA,MAAM,CAACC,cAAc,CAAC,qBAAqB,CAAC;MAChD;IAAC,GACH;EACN;EAAC,mBAVuBR,aAAa;EAAA;IAAA;MAF9BE,OAAO;IAAA;IAAA;EAAA;AAAA","names":["UnorderedList","cmd","Command","icon","queryState","title","command","editor","executeCommand"],"sourceRoot":"","sources":["../../../src/html-editor/commands/UnorderedList.tsx"],"sourcesContent":[null]}
|