App-Mxpress-PDF

 view release on metacpan or  search on metacpan

public/css/side-menu.css  view on Meta::CPAN

107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
    /*
    This styles the menu heading.
    */
    #menu .pure-menu-heading {
        font-size: 110%;
        color: #fff;
        margin: 0;
    }
 
/* -- Dynamic Button For Responsive Menu -------------------------------------*/
 
/*
The button to open/close the Menu is custom-made and not part of Pure. Here's
how it works:
*/
 
/*
`.menu-link` represents the responsive menu toggle that shows/hides on
small screens.
*/
.menu-link {
    position: fixed;
    display: block; /* show this only on small screens */

public/javascripts/ace.js  view on Meta::CPAN

1
2
3
4
5
6
7
8
9
10
11
(function(){function o(n){var i=e;n&&(e[n]||(e[n]={}),i=e[n]);if(!i.define||!i.define.packaged)t.original=i.define,i.define=t,i.define.packaged=!0;if(!i.require||!i.require.packaged)r.original=i.require,i.require=r,i.require.packaged=!0}var ACE_NAMES...
                window.require(["ace/ace"], function(a) {
                    if (a) {
                        a.config.init(true);
                        a.define = window.define;
                    }
                    if (!window.ace)
                        window.ace = a;
                    for (var key in a) if (a.hasOwnProperty(key))
                        window.ace[key] = a[key];
                    window.ace["default"] = window.ace;

public/javascripts/ace/ace.js  view on Meta::CPAN

1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
});
 
define("ace/lib/keys",["require","exports","module","ace/lib/oop"], function(require, exports, module) {
"use strict";
 
var oop = require("./oop");
var Keys = (function() {
    var ret = {
        MODIFIER_KEYS: {
            16: 'Shift', 17: 'Ctrl', 18: 'Alt', 224: 'Meta',
            91: 'MetaLeft', 92: 'MetaRight', 93: 'ContextMenu'
        },
 
        KEY_MODS: {
            "ctrl": 1, "alt": 2, "option" : 2, "shift": 4,
            "super": 8, "meta": 8, "command": 8, "cmd": 8,
            "control": 1
        },
 
        FUNCTION_KEYS : {
            8  : "Backspace",

public/javascripts/ace/ace.js  view on Meta::CPAN

2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
    if (lastSelectionStart != selectionStart || lastSelectionEnd != selectionEnd) {
        text.setSelectionRange(selectionStart, selectionEnd);
    }
    lastSelectionStart = selectionStart;
    lastSelectionEnd = selectionEnd;
}
: function() {
    if (inComposition || sendingText)
        return;
    if (!isFocused && !afterContextMenu)
        return;
    inComposition = true;
     
    var selection = host.selection;
    var range = selection.getRange();
    var row = selection.cursor.row;
    var selectionStart = range.start.column;
    var selectionEnd = range.end.column;
    var line = host.session.getLine(row);

public/javascripts/ace/ace.js  view on Meta::CPAN

2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
        selectionStart = 0;
        selectionEnd = 1;
    }
}
 
var newValue = line + "\n\n";
if (newValue != lastValue) {
    text.value = lastValue = newValue;
    lastSelectionStart = lastSelectionEnd = newValue.length;
}
if (afterContextMenu) {
    lastSelectionStart = text.selectionStart;
    lastSelectionEnd = text.selectionEnd;
}
if (
    lastSelectionEnd != selectionEnd
    || lastSelectionStart != selectionStart
    || text.selectionEnd != lastSelectionEnd // on ie edge selectionEnd changes silently after the initialization
) {
    try {
        text.setSelectionRange(selectionStart, selectionEnd);

public/javascripts/ace/ace.js  view on Meta::CPAN

2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
        host.selectAll();
        resetSelection();
    } else if (isMobile && text.selectionStart != lastSelectionStart) {
        resetSelection();
    }
};
 
var inputHandler = null;
this.setInputHandler = function(cb) {inputHandler = cb;};
this.getInputHandler = function() {return inputHandler;};
var afterContextMenu = false;
 
var sendText = function(value, fromInput) {
    if (afterContextMenu)
        afterContextMenu = false;
    if (pasted) {
        resetSelection();
        if (value)
            host.onPaste(value);
        pasted = false;
        return "";
    } else {
        var selectionStart = text.selectionStart;
        var selectionEnd = text.selectionEnd;
    

public/javascripts/ace/ace.js  view on Meta::CPAN

2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
};
 
this.setReadOnly = function(readOnly) {
    if (!commandMode)
        text.readOnly = readOnly;
};
 
this.setCopyWithEmptySelection = function(value) {
};
 
this.onContextMenu = function(e) {
    afterContextMenu = true;
    resetSelection();
    host._emit("nativecontextmenu", {target: host, domEvent: e});
    this.moveToMouse(e, true);
};
 
this.moveToMouse = function(e, bringToFront) {
    if (!tempStyle)
        tempStyle = text.style.cssText;
    text.style.cssText = (bringToFront ? "z-index:100000;" : "")
        + (useragent.isIE ? "opacity:0.1;" : "")

public/javascripts/ace/ace.js  view on Meta::CPAN

2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
    };
    move(e);
 
    if (e.type != "mousedown")
        return;
 
    host.renderer.$isMousePressed = true;
 
    clearTimeout(closeTimeout);
    if (useragent.isWin)
        event.capture(host.container, move, onContextMenuClose);
};
 
this.onContextMenuClose = onContextMenuClose;
var closeTimeout;
function onContextMenuClose() {
    clearTimeout(closeTimeout);
    closeTimeout = setTimeout(function () {
        if (tempStyle) {
            text.style.cssText = tempStyle;
            tempStyle = '';
        }
        host.renderer.$isMousePressed = false;
        if (host.renderer.$keepTextAreaAtCursor)
            host.renderer.$moveTextAreaToCursor();
    }, 0);
}
 
var onContextMenu = function(e) {
    host.textInput.onContextMenu(e);
    onContextMenuClose();
};
event.addListener(text, "mouseup", onContextMenu);
event.addListener(text, "mousedown", function(e) {
    e.preventDefault();
    onContextMenuClose();
});
event.addListener(host.renderer.scroller, "contextmenu", onContextMenu);
event.addListener(text, "contextmenu", onContextMenu);
 
if (isIOS)
    addIosSelectionHandler(parentNode, host, text);
 
function addIosSelectionHandler(parentNode, host, text) {
    var typingResetTimeout = null;
    var typing = false;
 
    text.addEventListener("keydown", function (e) {
        if (typingResetTimeout) clearTimeout(typingResetTimeout);

public/javascripts/ace/ace.js  view on Meta::CPAN

2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
this.mousedownEvent = ev;
var editor = this.editor;
 
var button = ev.getButton();
if (button !== 0) {
    var selectionRange = editor.getSelectionRange();
    var selectionEmpty = selectionRange.isEmpty();
    if (selectionEmpty || button == 1)
        editor.selection.moveToPosition(pos);
    if (button == 2) {
        editor.textInput.onContextMenu(ev.domEvent);
        if (!useragent.isMozilla)
            ev.preventDefault();
    }
    return;
}
 
this.mousedownEvent.time = Date.now();
if (inSelection && !editor.isFocused()) {
    editor.focus();
    if (this.$focusTimeout && !this.$clickSelection && !editor.inMultiSelectMode) {

public/javascripts/ace/ace.js  view on Meta::CPAN

3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
var touchStartT;
var lastT;
var longTouchTimer;
var animationTimer;
var animationSteps = 0;
var pos;
var clickCount = 0;
var vX = 0;
var vY = 0;
var pressed;
var contextMenu;
 
function createContextMenu() {
    var clipboard = window.navigator && window.navigator.clipboard;
    var isOpen = false;
    var updateMenu = function() {
        var selected = editor.getCopyText();
        var hasUndo = editor.session.getUndoManager().hasUndo();
        contextMenu.replaceChild(
            dom.buildDom(isOpen ? ["span",
                !selected && ["span", { class: "ace_mobile-button", action: "selectall" }, "Select All"],
                selected && ["span", { class: "ace_mobile-button", action: "copy" }, "Copy"],
                selected && ["span", { class: "ace_mobile-button", action: "cut" }, "Cut"],
                clipboard && ["span", { class: "ace_mobile-button", action: "paste" }, "Paste"],
                hasUndo && ["span", { class: "ace_mobile-button", action: "undo" }, "Undo"],
                ["span", { class: "ace_mobile-button", action: "find" }, "Find"],
                ["span", { class: "ace_mobile-button", action: "openCommandPallete" }, "Pallete"]
            ] : ["span"]),
            contextMenu.firstChild
        );
    };
    var handleClick = function(e) {
        var action = e.target.getAttribute("action");
 
        if (action == "more" || !isOpen) {
            isOpen = !isOpen;
            return updateMenu();
        }
        if (action == "paste") {
            clipboard.readText().then(function (text) {
                editor.execCommand(action, text);
            });
        }
        else if (action) {
            if (action == "cut" || action == "copy") {
                if (clipboard)
                    clipboard.writeText(editor.getCopyText());
                else
                    document.execCommand("copy");
            }
            editor.execCommand(action);
        }
        contextMenu.firstChild.style.display = "none";
        isOpen = false;
        if (action != "openCommandPallete")
            editor.focus();
    };
    contextMenu = dom.buildDom(["div",
        {
            class: "ace_mobile-menu",
            ontouchstart: function(e) {
                mode = "menu";
                e.stopPropagation();
                e.preventDefault();
                editor.textInput.focus();
            },
            ontouchend: function(e) {
                e.stopPropagation();
                e.preventDefault();
                handleClick(e);
            },
            onclick: handleClick
        },
        ["span"],
        ["span", { class: "ace_mobile-button", action: "more" }, "..."]
    ], editor.container);
}
function showContextMenu() {
    if (!contextMenu) createContextMenu();
    var cursor = editor.selection.cursor;
    var pagePos = editor.renderer.textToScreenCoordinates(cursor.row, cursor.column);
    var rect = editor.container.getBoundingClientRect();
    contextMenu.style.top = pagePos.pageY - rect.top - 3 + "px";
    contextMenu.style.right = "10px";
    contextMenu.style.display = "";
    contextMenu.firstChild.style.display = "none";
    editor.on("input", hideContextMenu);
}
function hideContextMenu(e) {
    if (contextMenu)
        contextMenu.style.display = "none";
    editor.off("input", hideContextMenu);
}
 
function handleLongTap() {
    longTouchTimer = null;
    clearTimeout(longTouchTimer);
    var range = editor.selection.getRange();
    var inSelection = range.contains(pos.row, pos.column);
    if (range.isEmpty() || !inSelection) {
        editor.selection.moveToPosition(pos);
        editor.selection.selectWord();
    }
    mode = "wait";
    showContextMenu();
}
function switchToSelectionMode() {
    longTouchTimer = null;
    clearTimeout(longTouchTimer);
    editor.selection.moveToPosition(pos);
    var range = clickCount >= 2
        ? editor.selection.getLineRange(pos.row)
        : editor.session.getBracketRange(pos);
    if (range && !range.isEmpty()) {
        editor.selection.setRange(range);

public/javascripts/ace/ace.js  view on Meta::CPAN

3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
event.addListener(el, "touchend", function (e) {
    pressed = editor.$mouseHandler.isMousePressed = false;
    if (animationTimer) clearInterval(animationTimer);
    if (mode == "zoom") {
        mode = "";
        animationSteps = 0;
    } else if (longTouchTimer) {
        editor.selection.moveToPosition(pos);
        animationSteps = 0;
        showContextMenu();
    } else if (mode == "scroll") {
        animate();
        hideContextMenu();
    } else {
        showContextMenu();
    }
    clearTimeout(longTouchTimer);
    longTouchTimer = null;
});
event.addListener(el, "touchmove", function (e) {
    if (longTouchTimer) {
        clearTimeout(longTouchTimer);
        longTouchTimer = null;
    }
    var touches = e.touches;

public/javascripts/ace/ace.js  view on Meta::CPAN

4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
    };
 
    editor.on("beforeEndOperation", onOperationEnd);
    editor.startOperation({command: {name: "mouse"}});
 
    self.$onCaptureMouseMove = onMouseMove;
    self.releaseMouse = event.capture(this.editor.container, onMouseMove, onCaptureEnd);
    var timerId = setInterval(onCaptureInterval, 20);
};
this.releaseMouse = null;
this.cancelContextMenu = function() {
    var stop = function(e) {
        if (e && e.domEvent && e.domEvent.type != "contextmenu")
            return;
        this.editor.off("nativecontextmenu", stop);
        if (e && e.domEvent)
            event.stopEvent(e.domEvent);
    }.bind(this);
    setTimeout(stop, 10);
    this.editor.on("nativecontextmenu", stop);
};

public/javascripts/ace/ace.js  view on Meta::CPAN

12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
"use strict";
 
var lang = require("../lib/lang");
var config = require("../config");
var Range = require("../range").Range;
 
function bindKey(win, mac) {
    return {win: win, mac: mac};
}
exports.commands = [{
    name: "showSettingsMenu",
    bindKey: bindKey("Ctrl-,", "Command-,"),
    exec: function(editor) {
        config.loadModule("ace/ext/settings_menu", function(module) {
            module.init(editor);
            editor.showSettingsMenu();
        });
    },
    readOnly: true
}, {
    name: "goToNextError",
    bindKey: bindKey("Alt-E", "F4"),
    exec: function(editor) {
        config.loadModule("./ext/error_marker", function(module) {
            module.showErrorMarker(editor, 1);
        });

public/javascripts/ace/ace.js  view on Meta::CPAN

20045
20046
20047
20048
20049
20050
20051
20052
20053
20054
20055
20056
20057
20058
20059
20060
20061
20062
20063
20064
20065
var alt = ev.altKey;
var shift = ev.shiftKey;
var ctrl = ev.ctrlKey;
var accel = e.getAccelKey();
var button = e.getButton();
 
if (ctrl && useragent.isMac)
    button = ev.button;
 
if (e.editor.inMultiSelectMode && button == 2) {
    e.editor.textInput.onContextMenu(e.domEvent);
    return;
}
 
if (!ctrl && !alt && !accel) {
    if (button === 0 && e.editor.inMultiSelectMode)
        e.editor.exitMultiSelectMode();
    return;
}
 
if (button !== 0)

public/javascripts/ace/ace.js  view on Meta::CPAN

20092
20093
20094
20095
20096
20097
20098
20099
20100
20101
20102
20103
20104
20105
20106
20107
20108
20109
20110
20111
20112
    if (accel && !alt) {
        selectionMode = "add";
        if (!isMultiSelect && shift)
            return;
    } else if (alt && editor.$blockSelectEnabled) {
        selectionMode = "block";
    }
}
 
if (selectionMode && useragent.isMac && ev.ctrlKey) {
    editor.$mouseHandler.cancelContextMenu();
}
 
if (selectionMode == "add") {
    if (!isMultiSelect && inSelection)
        return; // dragging
 
    if (!isMultiSelect) {
        var range = selection.toOrientedRange();
        editor.addSelectionMarker(range);
    }

public/javascripts/ace/ext-keybinding_menu.js  view on Meta::CPAN

13
14
15
16
17
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
right: 0;\
top: 0;\
z-index: 9991;\
cursor: default;\
}\
.ace_dark #ace_settingsmenu, .ace_dark #kbshortcutmenu {\
box-shadow: -20px 10px 25px rgba(126, 126, 126, 0.25);\
background-color: rgba(255, 255, 255, 0.6);\
color: black;\
}\
.ace_optionsMenuEntry:hover {\
background-color: rgba(100, 100, 100, 0.1);\
transition: all 0.3s\
}\
.ace_closeButton {\
background: rgba(245, 146, 146, 0.5);\
border: 1px solid #F48A8A;\
border-radius: 50%;\
padding: 7px;\
position: absolute;\
right: -8px;\
top: -8px;\
z-index: 100000;\
}\
.ace_closeButton{\
background: rgba(245, 146, 146, 0.9);\
}\
.ace_optionsMenuKey {\
color: darkslateblue;\
font-weight: bold;\
}\
.ace_optionsMenuCommand {\
color: darkcyan;\
font-weight: normal;\
}\
.ace_optionsMenuEntry input, .ace_optionsMenuEntry button {\
vertical-align: middle;\
}\
.ace_optionsMenuEntry button[ace_selected_button=true] {\
background: #e7e7e7;\
box-shadow: 1px 0px 2px 0px #adadad inset;\
border-color: #adadad;\
}\
.ace_optionsMenuEntry button {\
background: white;\
border: 1px solid lightgray;\
margin: 0px;\
}\
.ace_optionsMenuEntry button:hover{\
background: #f0f0f0;\
}";
dom.importCssString(cssText);
 
module.exports.overlayPage = function overlayPage(editor, contentElement, callback) {
    var closer = document.createElement('div');
    var ignoreFocusOut = false;
 
    function documentEscListener(e) {
        if (e.keyCode === 27) {

public/javascripts/ace/ext-keybinding_menu.js  view on Meta::CPAN

153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
define("ace/ext/keybinding_menu",["require","exports","module","ace/editor","ace/ext/menu_tools/overlay_page","ace/ext/menu_tools/get_editor_keyboard_shortcuts"], function(require, exports, module) {
    "use strict";
    var Editor = require("../editor").Editor;
    function showKeyboardShortcuts (editor) {
        if(!document.getElementById('kbshortcutmenu')) {
            var overlayPage = require('./menu_tools/overlay_page').overlayPage;
            var getEditorKeybordShortcuts = require('./menu_tools/get_editor_keyboard_shortcuts').getEditorKeybordShortcuts;
            var kb = getEditorKeybordShortcuts(editor);
            var el = document.createElement('div');
            var commands = kb.reduce(function(previous, current) {
                return previous + '<div class="ace_optionsMenuEntry"><span class="ace_optionsMenuCommand">'
                    + current.command + '</span> : '
                    + '<span class="ace_optionsMenuKey">' + current.key + '</span></div>';
            }, '');
 
            el.id = 'kbshortcutmenu';
            el.innerHTML = '<h1>Keyboard Shortcuts</h1>' + commands + '</div>';
            overlayPage(editor, el);
        }
    }
    module.exports.init = function(editor) {
        Editor.prototype.showKeyboardShortcuts = function() {
            showKeyboardShortcuts(this);

public/javascripts/ace/ext-language_tools.js  view on Meta::CPAN

1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
            return detachIfFinished();
        if (filtered.length == 1 && filtered[0].value == prefix && !filtered[0].snippet)
            return detachIfFinished();
        if (this.autoInsert && filtered.length == 1 && results.finished)
            return this.insertMatch(filtered[0]);
 
        this.openPopup(this.editor, prefix, keepPopupPosition);
    }.bind(this));
};
 
this.cancelContextMenu = function() {
    this.editor.$mouseHandler.cancelContextMenu();
};
 
this.updateDocTooltip = function() {
    var popup = this.popup;
    var all = popup.data;
    var selected = all && (all[popup.getHoveredRow()] || all[popup.getRow()]);
    var doc = null;
    if (!selected || !this.editor || !this.popup.isOpen)
        return this.hideDocTooltip();
    this.editor.completers.some(function(completer) {

public/javascripts/ace/ext-language_tools.js  view on Meta::CPAN

1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
    return editor.completer;
};
 
Autocomplete.startCommand = {
    name: "startAutocomplete",
    exec: function(editor, options) {
        var completer = Autocomplete.for(editor);
        completer.autoInsert = false;
        completer.autoSelect = true;
        completer.showPopup(editor, options);
        completer.cancelContextMenu();
    },
    bindKey: "Ctrl-Space|Ctrl-Shift-Space|Alt-Space"
};
 
var FilteredList = function(array, filterText) {
    this.all = array;
    this.filtered = array;
    this.filterText = filterText || "";
    this.exactMatch = false;
};

public/javascripts/ace/ext-options.js  view on Meta::CPAN

13
14
15
16
17
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
right: 0;\
top: 0;\
z-index: 9991;\
cursor: default;\
}\
.ace_dark #ace_settingsmenu, .ace_dark #kbshortcutmenu {\
box-shadow: -20px 10px 25px rgba(126, 126, 126, 0.25);\
background-color: rgba(255, 255, 255, 0.6);\
color: black;\
}\
.ace_optionsMenuEntry:hover {\
background-color: rgba(100, 100, 100, 0.1);\
transition: all 0.3s\
}\
.ace_closeButton {\
background: rgba(245, 146, 146, 0.5);\
border: 1px solid #F48A8A;\
border-radius: 50%;\
padding: 7px;\
position: absolute;\
right: -8px;\
top: -8px;\
z-index: 100000;\
}\
.ace_closeButton{\
background: rgba(245, 146, 146, 0.9);\
}\
.ace_optionsMenuKey {\
color: darkslateblue;\
font-weight: bold;\
}\
.ace_optionsMenuCommand {\
color: darkcyan;\
font-weight: normal;\
}\
.ace_optionsMenuEntry input, .ace_optionsMenuEntry button {\
vertical-align: middle;\
}\
.ace_optionsMenuEntry button[ace_selected_button=true] {\
background: #e7e7e7;\
box-shadow: 1px 0px 2px 0px #adadad inset;\
border-color: #adadad;\
}\
.ace_optionsMenuEntry button {\
background: white;\
border: 1px solid lightgray;\
margin: 0px;\
}\
.ace_optionsMenuEntry button:hover{\
background: #f0f0f0;\
}";
dom.importCssString(cssText);
 
module.exports.overlayPage = function overlayPage(editor, contentElement, callback) {
    var closer = document.createElement('div');
    var ignoreFocusOut = false;
 
    function documentEscListener(e) {
        if (e.keyCode === 27) {

public/javascripts/ace/ext-options.js  view on Meta::CPAN

745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
};
 
this.renderOption = function(key, option) {
    if (option.path && !option.onchange && !this.editor.$options[option.path])
        return;
    var path = Array.isArray(option) ? option[0].path : option.path;
    this.options[path] = option;
    var safeKey = "-" + path;
    var safeId = path + "-label";
    var control = this.renderOptionControl(safeKey, option);
    return ["tr", {class: "ace_optionsMenuEntry"}, ["td",
        ["label", {for: safeKey, id: safeId}, key]
    ], ["td", control]];
};
 
this.setOption = function(option, value) {
    if (typeof option == "string")
        option = this.options[option];
    if (value == "false") value = false;
    if (value == "true") value = true;
    if (value == "null") value = null;

public/javascripts/ace/ext-prompt.js  view on Meta::CPAN

1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
            return detachIfFinished();
        if (filtered.length == 1 && filtered[0].value == prefix && !filtered[0].snippet)
            return detachIfFinished();
        if (this.autoInsert && filtered.length == 1 && results.finished)
            return this.insertMatch(filtered[0]);
 
        this.openPopup(this.editor, prefix, keepPopupPosition);
    }.bind(this));
};
 
this.cancelContextMenu = function() {
    this.editor.$mouseHandler.cancelContextMenu();
};
 
this.updateDocTooltip = function() {
    var popup = this.popup;
    var all = popup.data;
    var selected = all && (all[popup.getHoveredRow()] || all[popup.getRow()]);
    var doc = null;
    if (!selected || !this.editor || !this.popup.isOpen)
        return this.hideDocTooltip();
    this.editor.completers.some(function(completer) {

public/javascripts/ace/ext-prompt.js  view on Meta::CPAN

1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
    return editor.completer;
};
 
Autocomplete.startCommand = {
    name: "startAutocomplete",
    exec: function(editor, options) {
        var completer = Autocomplete.for(editor);
        completer.autoInsert = false;
        completer.autoSelect = true;
        completer.showPopup(editor, options);
        completer.cancelContextMenu();
    },
    bindKey: "Ctrl-Space|Ctrl-Shift-Space|Alt-Space"
};
 
var FilteredList = function(array, filterText) {
    this.all = array;
    this.filtered = array;
    this.filterText = filterText || "";
    this.exactMatch = false;
};

public/javascripts/ace/ext-prompt.js  view on Meta::CPAN

1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
right: 0;\
top: 0;\
z-index: 9991;\
cursor: default;\
}\
.ace_dark #ace_settingsmenu, .ace_dark #kbshortcutmenu {\
box-shadow: -20px 10px 25px rgba(126, 126, 126, 0.25);\
background-color: rgba(255, 255, 255, 0.6);\
color: black;\
}\
.ace_optionsMenuEntry:hover {\
background-color: rgba(100, 100, 100, 0.1);\
transition: all 0.3s\
}\
.ace_closeButton {\
background: rgba(245, 146, 146, 0.5);\
border: 1px solid #F48A8A;\
border-radius: 50%;\
padding: 7px;\
position: absolute;\
right: -8px;\
top: -8px;\
z-index: 100000;\
}\
.ace_closeButton{\
background: rgba(245, 146, 146, 0.9);\
}\
.ace_optionsMenuKey {\
color: darkslateblue;\
font-weight: bold;\
}\
.ace_optionsMenuCommand {\
color: darkcyan;\
font-weight: normal;\
}\
.ace_optionsMenuEntry input, .ace_optionsMenuEntry button {\
vertical-align: middle;\
}\
.ace_optionsMenuEntry button[ace_selected_button=true] {\
background: #e7e7e7;\
box-shadow: 1px 0px 2px 0px #adadad inset;\
border-color: #adadad;\
}\
.ace_optionsMenuEntry button {\
background: white;\
border: 1px solid lightgray;\
margin: 0px;\
}\
.ace_optionsMenuEntry button:hover{\
background: #f0f0f0;\
}";
dom.importCssString(cssText);
 
module.exports.overlayPage = function overlayPage(editor, contentElement, callback) {
    var closer = document.createElement('div');
    var ignoreFocusOut = false;
 
    function documentEscListener(e) {
        if (e.keyCode === 27) {

public/javascripts/ace/ext-settings_menu.js  view on Meta::CPAN

13
14
15
16
17
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
right: 0;\
top: 0;\
z-index: 9991;\
cursor: default;\
}\
.ace_dark #ace_settingsmenu, .ace_dark #kbshortcutmenu {\
box-shadow: -20px 10px 25px rgba(126, 126, 126, 0.25);\
background-color: rgba(255, 255, 255, 0.6);\
color: black;\
}\
.ace_optionsMenuEntry:hover {\
background-color: rgba(100, 100, 100, 0.1);\
transition: all 0.3s\
}\
.ace_closeButton {\
background: rgba(245, 146, 146, 0.5);\
border: 1px solid #F48A8A;\
border-radius: 50%;\
padding: 7px;\
position: absolute;\
right: -8px;\
top: -8px;\
z-index: 100000;\
}\
.ace_closeButton{\
background: rgba(245, 146, 146, 0.9);\
}\
.ace_optionsMenuKey {\
color: darkslateblue;\
font-weight: bold;\
}\
.ace_optionsMenuCommand {\
color: darkcyan;\
font-weight: normal;\
}\
.ace_optionsMenuEntry input, .ace_optionsMenuEntry button {\
vertical-align: middle;\
}\
.ace_optionsMenuEntry button[ace_selected_button=true] {\
background: #e7e7e7;\
box-shadow: 1px 0px 2px 0px #adadad inset;\
border-color: #adadad;\
}\
.ace_optionsMenuEntry button {\
background: white;\
border: 1px solid lightgray;\
margin: 0px;\
}\
.ace_optionsMenuEntry button:hover{\
background: #f0f0f0;\
}";
dom.importCssString(cssText);
 
module.exports.overlayPage = function overlayPage(editor, contentElement, callback) {
    var closer = document.createElement('div');
    var ignoreFocusOut = false;
 
    function documentEscListener(e) {
        if (e.keyCode === 27) {

public/javascripts/ace/ext-settings_menu.js  view on Meta::CPAN

745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
};
 
this.renderOption = function(key, option) {
    if (option.path && !option.onchange && !this.editor.$options[option.path])
        return;
    var path = Array.isArray(option) ? option[0].path : option.path;
    this.options[path] = option;
    var safeKey = "-" + path;
    var safeId = path + "-label";
    var control = this.renderOptionControl(safeKey, option);
    return ["tr", {class: "ace_optionsMenuEntry"}, ["td",
        ["label", {for: safeKey, id: safeId}, key]
    ], ["td", control]];
};
 
this.setOption = function(option, value) {
    if (typeof option == "string")
        option = this.options[option];
    if (value == "false") value = false;
    if (value == "true") value = true;
    if (value == "null") value = null;

public/javascripts/ace/ext-settings_menu.js  view on Meta::CPAN

782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
}).call(OptionPanel.prototype);
 
exports.OptionPanel = OptionPanel;
 
});
 
define("ace/ext/settings_menu",["require","exports","module","ace/ext/options","ace/ext/menu_tools/overlay_page","ace/editor"], function(require, exports, module) {
"use strict";
var OptionPanel = require("./options").OptionPanel;
var overlayPage = require('./menu_tools/overlay_page').overlayPage;
function showSettingsMenu(editor) {
    if (!document.getElementById('ace_settingsmenu')) {
        var options = new OptionPanel(editor);
        options.render();
        options.container.id = "ace_settingsmenu";
        overlayPage(editor, options.container);
        options.container.querySelector("select,input,button,checkbox").focus();
    }
}
module.exports.init = function() {
    var Editor = require("../editor").Editor;
    Editor.prototype.showSettingsMenu = function() {
        showSettingsMenu(this);
    };
};
});                (function() {
                    window.require(["ace/ext/settings_menu"], function(m) {
                        if (typeof module == "object" && typeof exports == "object" && module) {
                            module.exports = m;
                        }
                    });
                })();
            

public/javascripts/ace/ext-spellcheck.js  view on Meta::CPAN

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
define("ace/ext/spellcheck",["require","exports","module","ace/lib/event","ace/editor","ace/config"], function(require, exports, module) {
"use strict";
var event = require("../lib/event");
 
exports.contextMenuHandler = function(e){
    var host = e.target;
    var text = host.textInput.getElement();
    if (!host.selection.isEmpty())
        return;
    var c = host.getCursorPosition();
    var r = host.session.getWordRange(c.row, c.column);
    var w = host.session.getTextRange(r);
 
    host.session.tokenRe.lastIndex = 0;
    if (!host.session.tokenRe.test(w))

public/javascripts/ace/ext-spellcheck.js  view on Meta::CPAN

48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
        return newVal;
    });
};
var Editor = require("../editor").Editor;
require("../config").defineOptions(Editor.prototype, "editor", {
    spellcheck: {
        set: function(val) {
            var text = this.textInput.getElement();
            text.spellcheck = !!val;
            if (!val)
                this.removeListener("nativecontextmenu", exports.contextMenuHandler);
            else
                this.on("nativecontextmenu", exports.contextMenuHandler);
        },
        value: true
    }
});
 
});                (function() {
                    window.require(["ace/ext/spellcheck"], function(m) {
                        if (typeof module == "object" && typeof exports == "object" && module) {
                            module.exports = m;
                        }

public/javascripts/ace/mode-actionscript.js  view on Meta::CPAN

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
define("ace/mode/actionscript_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) {
"use strict";
 
var oop = require("../lib/oop");
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
 
var ActionScriptHighlightRules = function() {
 
    this.$rules = { start:
       [ { token: 'support.class.actionscript.2',
           regex: '\\b(?:R(?:ecordset|DBMSResolver|adioButton(?:Group)?)|X(?:ML(?:Socket|Node|Connector)?|UpdateResolverDataHolder)|M(?:M(?:Save|Execute)|icrophoneMicrophone|o(?:use|vieClip(?:Loader)?)|e(?:nu(?:Bar)?|dia(?:Controller|Display|Playback...
         { token: 'support.function.actionscript.2',
           regex: '\\b(?:s(?:h(?:ift|ow(?:GridLines|Menu|Border|Settings|Headers|ColumnHeaders|Today|Preferences)?|ad(?:ow|ePane))|c(?:hema|ale(?:X|Mode|Y|Content)|r(?:oll(?:Track|Drag)?|een(?:Resolution|Color|DPI)))|t(?:yleSheet|op(?:Drag|A(?:nimati...
         { token: 'support.constant.actionscript.2',
           regex: '\\b(?:__proto__|__resolve|_accProps|_alpha|_changed|_currentframe|_droptarget|_flash|_focusrect|_framesloaded|_global|_height|_highquality|_level|_listeners|_lockroot|_name|_parent|_quality|_root|_rotation|_soundbuftime|_target|_to...
         { token: 'keyword.control.actionscript.2',
           regex: '\\b(?:dynamic|extends|import|implements|interface|public|private|new|static|super|var|for|in|break|continue|while|do|return|if|else|case|switch)\\b' },
         { token: 'storage.type.actionscript.2',
           regex: '\\b(?:Boolean|Number|String|Void)\\b' },
         { token: 'constant.language.actionscript.2',
           regex: '\\b(?:null|undefined|true|false)\\b' },
         { token: 'constant.numeric.actionscript.2',
           regex: '\\b(?:0(?:x|X)[0-9a-fA-F]*|(?:[0-9]+\\.?[0-9]*|\\.[0-9]+)(?:(?:e|E)(?:\\+|-)?[0-9]+)?)(?:L|l|UL|ul|u|U|F|f)?\\b' },

public/javascripts/ace/mode-apache_conf.js  view on Meta::CPAN

97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
  regex: '\\b(?:PassEnv|SetEnv|UnsetEnv)\\b' },
{ token: 'keyword.expires.apacheconf',
  regex: '\\b(?:ExpiresActive|ExpiresByType|ExpiresDefault)\\b' },
{ token: 'keyword.ext_filter.apacheconf',
  regex: '\\b(?:ExtFilterDefine|ExtFilterOptions)\\b' },
{ token: 'keyword.file_cache.apacheconf',
  regex: '\\b(?:CacheFile|MMapFile)\\b' },
{ token: 'keyword.headers.apacheconf',
  regex: '\\b(?:Header|RequestHeader)\\b' },
{ token: 'keyword.imap.apacheconf',
  regex: '\\b(?:ImapBase|ImapDefault|ImapMenu)\\b' },
{ token: 'keyword.include.apacheconf',
  regex: '\\b(?:SSIEndTag|SSIErrorMsg|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|XBitHack)\\b' },
{ token: 'keyword.isapi.apacheconf',
  regex: '\\b(?:ISAPIAppendLogToErrors|ISAPIAppendLogToQuery|ISAPICacheFile|ISAPIFakeAsync|ISAPILogNotSupported|ISAPIReadAheadBuffer)\\b' },
{ token: 'keyword.ldap.apacheconf',
  regex: '\\b(?:LDAPCacheEntries|LDAPCacheTTL|LDAPConnectionTimeout|LDAPOpCacheEntries|LDAPOpCacheTTL|LDAPSharedCacheFile|LDAPSharedCacheSize|LDAPTrustedCA|LDAPTrustedCAType)\\b' },
{ token: 'keyword.log.apacheconf',
  regex: '\\b(?:BufferedLogs|CookieLog|CustomLog|LogFormat|TransferLog|ForensicLog)\\b' },
{ token: 'keyword.mem_cache.apacheconf',
  regex: '\\b(?:MCacheMaxObjectCount|MCacheMaxObjectSize|MCacheMaxStreamingBuffer|MCacheMinObjectSize|MCacheRemovalAlgorithm|MCacheSize)\\b' },

public/javascripts/ace/mode-autohotkey.js  view on Meta::CPAN

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
define("ace/mode/autohotkey_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) {
"use strict";
 
var oop = require("../lib/oop");
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
 
var AutoHotKeyHighlightRules = function() {
    var autoItKeywords = 'And|ByRef|Case|Const|ContinueCase|ContinueLoop|Default|Dim|Do|Else|ElseIf|EndFunc|EndIf|EndSelect|EndSwitch|EndWith|Enum|Exit|ExitLoop|False|For|Func|Global|If|In|Local|Next|Not|Or|ReDim|Return|Select|Step|Switch|Then|To|Tru...
        'Abs|ACos|AdlibDisable|AdlibEnable|Asc|AscW|ASin|Assign|ATan|AutoItSetOption|AutoItWinGetTitle|AutoItWinSetTitle|Beep|Binary|BinaryLen|BinaryMid|BinaryToString|BitAND|BitNOT|BitOR|BitRotate|BitShift|BitXOR|BlockInput|Break|Call|CDTray|Ceiling...
        'ArrayAdd|ArrayBinarySearch|ArrayConcatenate|ArrayDelete|ArrayDisplay|ArrayFindAll|ArrayInsert|ArrayMax|ArrayMaxIndex|ArrayMin|ArrayMinIndex|ArrayPop|ArrayPush|ArrayReverse|ArraySearch|ArraySort|ArraySwap|ArrayToClip|ArrayToString|ArrayTrim|C...
        'ce|comments-end|comments-start|cs|include|include-once|NoTrayIcon|RequireAdmin|' +
        'AutoIt3Wrapper_Au3Check_Parameters|AutoIt3Wrapper_Au3Check_Stop_OnWarning|AutoIt3Wrapper_Change2CUI|AutoIt3Wrapper_Compression|AutoIt3Wrapper_cvsWrapper_Parameters|AutoIt3Wrapper_Icon|AutoIt3Wrapper_Outfile|AutoIt3Wrapper_Outfile_Type|AutoIt...
    var atKeywords = 'AppDataCommonDir|AppDataDir|AutoItExe|AutoItPID|AutoItUnicode|AutoItVersion|AutoItX64|COM_EventObj|CommonFilesDir|Compiled|ComputerName|ComSpec|CR|CRLF|DesktopCommonDir|DesktopDepth|DesktopDir|DesktopHeight|DesktopRefresh|Deskto...
     
    this.$rules = { start:
       [ { token: 'comment.line.ahk', regex: '(?:^| );.*$' },
         { token: 'comment.block.ahk',
           regex: '/\\*', push:
            [ { token: 'comment.block.ahk', regex: '\\*/', next: 'pop' },
              { defaultToken: 'comment.block.ahk' } ] },
         { token: 'doc.comment.ahk',
           regex: '#cs', push:
            [ { token: 'doc.comment.ahk', regex: '#ce', next: 'pop' },

public/javascripts/ace/mode-mel.js  view on Meta::CPAN

5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
 
var MELHighlightRules = function() {
 
    this.$rules = { start:
       [ { caseInsensitive: true,
           token: 'storage.type.mel',
           regex: '\\b(matrix|string|vector|float|int|void)\\b' },
         { caseInsensitive: true,
           token: 'support.function.mel',
           regex: '\\b((s(h(ow(ManipCtx|S(hadingGroupAttrEditor|electionInTitle)|H(idden|elp)|Window)|el(f(Button|TabLayout|Layout)|lField)|ading(GeometryRelCtx|Node|Connection|LightRelCtx))|y(s(tem|File)|mbol(Button|CheckBox))|nap(shot|Mode|2to2 |To...
         { caseInsensitive: true,
           token: 'support.constant.mel',
           regex: '\\b(s(h(ellTessellate|a(d(ing(Map|Engine)|erGlow)|pe))|n(ow|apshot(Shape)?)|c(ulpt|aleConstraint|ript)|t(yleCurve|itch(Srf|AsNurbsShell)|u(cco|dioClearCoat)|encil|roke(Globals)?)|i(ngleShadingSwitch|mpleVolumeShader)|o(ftMod(Manip|...
         { caseInsensitive: true,
           token: 'keyword.control.mel',
           regex: '\\b(if|in|else|for|while|break|continue|case|default|do|switch|return|switch|case|source|catch|alias)\\b' },
         { token: 'keyword.other.mel', regex: '\\b(global)\\b' },
         { caseInsensitive: true,
           token: 'constant.language.mel',
           regex: '\\b(null|undefined)\\b' },

public/javascripts/ace/mode-objectivec.js  view on Meta::CPAN

348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
{
    token:  "support.variable.foundation",
    regex: "\\bNSApp\\b"
},
{
    token: [ "support.function.cocoa.leopard"],
    regex: "(?:\\b)(NS(?:Rect(?:ToCGRect|FromCGRect)|MakeCollectable|S(?:tringFromProtocol|ize(?:ToCGSize|FromCGSize))|Draw(?:NinePartImage|ThreePartImage)|P(?:oint(?:ToCGPoint|FromCGPoint)|rotocolFromString)|EventMaskFromType|Value))(?:\\b)"
},
{
    token: ["support.function.cocoa"],
    regex: "(?:\\b)(NS(?:R(?:ound(?:DownToMultipleOfPageSize|UpToMultipleOfPageSize)|un(?:CriticalAlertPanel(?:RelativeToWindow)?|InformationalAlertPanel(?:RelativeToWindow)?|AlertPanel(?:RelativeToWindow)?)|e(?:set(?:MapTable|HashTable)|c(?:...
},
{
    token: ["support.class.cocoa.leopard"],
    regex: "(?:\\b)(NS(?:RuleEditor|G(?:arbageCollector|radient)|MapTable|HashTable|Co(?:ndition|llectionView(?:Item)?)|T(?:oolbarItemGroup|extInputClient|r(?:eeNode|ackingArea))|InvocationOperation|Operation(?:Queue)?|D(?:ictionaryController...
},
{
    token: ["support.class.cocoa"],
    regex: "(?:\\b)(NS(?:R(?:u(?:nLoop|ler(?:Marker|View))|e(?:sponder|cursiveLock|lativeSpecifier)|an(?:domSpecifier|geSpecifier))|G(?:etCommand|lyph(?:Generator|Storage|Info)|raphicsContext)|XML(?:Node|D(?:ocument|TD(?:Node)?)|Parser|Elemen...
},
{

public/javascripts/ace/mode-objectivec.js  view on Meta::CPAN

380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
{
    token: ["support.type.cocoa"],
    regex: "(?:\\b)(NS(?:R(?:ect(?:Edge)?|ange)|G(?:lyph(?:Relation|LayoutMode)?|radientType)|M(?:odalSession|a(?:trixMode|p(?:Table|Enumerator)))|B(?:itmapImageFileType|orderType|uttonType|ezelStyle|ackingStoreType|rowserColumnResizingType)|...
},
{
    token: ["support.constant.cocoa"],
    regex: "(?:\\b)(NS(?:NotFound|Ordered(?:Ascending|Descending|Same)))(?:\\b)"
},
{
    token: ["support.constant.notification.cocoa.leopard"],
    regex: "(?:\\b)(NS(?:MenuDidBeginTracking|ViewDidUpdateTrackingAreas)?Notification)(?:\\b)"
},
{
    token: ["support.constant.notification.cocoa"],
    regex: "(?:\\b)(NS(?:Menu(?:Did(?:RemoveItem|SendAction|ChangeItem|EndTracking|AddItem)|WillSendAction)|S(?:ystemColorsDidChange|plitView(?:DidResizeSubviews|WillResizeSubviews))|C(?:o(?:nt(?:extHelpModeDid(?:Deactivate|Activate)|rolT(?:i...
},
{
    token: ["support.constant.cocoa.leopard"],
    regex: "(?:\\b)(NS(?:RuleEditor(?:RowType(?:Simple|Compound)|NestingMode(?:Si(?:ngle|mple)|Compound|List))|GradientDraws(?:BeforeStartingLocation|AfterEndingLocation)|M(?:inusSetExpressionType|a(?:chPortDeallocate(?:ReceiveRight|SendRight...
},
{
    token: ["support.constant.cocoa"],
    regex: "(?:\\b)(NS(?:R(?:GB(?:ModeColorPanel|ColorSpaceModel)|ight(?:Mouse(?:D(?:own(?:Mask)?|ragged(?:Mask)?)|Up(?:Mask)?)|T(?:ext(?:Movement|Alignment)|ab(?:sBezelBorder|StopType))|ArrowFunctionKey)|ound(?:RectBezelStyle|Bankers|ed(?:Be...
},
{

public/javascripts/ace/worker-css.js  view on Meta::CPAN

1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
captiontext         :"Text in caption, size box, and scrollbar arrow box.",
graytext            :"Grayed (disabled) text. This color is set to #000 if the current display driver does not support a solid gray color.",
greytext            :"Greyed (disabled) text. This color is set to #000 if the current display driver does not support a solid grey color.",
highlight           :"Item(s) selected in a control.",
highlighttext       :"Text of item(s) selected in a control.",
inactiveborder      :"Inactive window border.",
inactivecaption     :"Inactive window caption.",
inactivecaptiontext :"Color of text in an inactive caption.",
infobackground      :"Background color for tooltip controls.",
infotext            :"Text color for tooltip controls.",
menu                :"Menu background.",
menutext            :"Text in menus.",
scrollbar           :"Scroll bar gray area.",
threeddarkshadow    :"The color of the darker (generally outer) of the two borders away from the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border.",
threedface          :"The face background color for 3-D elements that appear 3-D due to two concentric layers of surrounding border.",
threedhighlight     :"The color of the lighter (generally outer) of the two borders facing the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border.",
threedlightshadow   :"The color of the darker (generally inner) of the two borders facing the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border.",
threedshadow        :"The color of the lighter (generally inner) of the two borders away from the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border.",
window              :"Window background.",
windowframe         :"Window frame.",
windowtext          :"Text in windows."

public/javascripts/ace/worker-javascript.js  view on Meta::CPAN

11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
HTMLIFrameElement    : false,
HTMLImageElement     : false,
HTMLInputElement     : false,
HTMLIsIndexElement   : false,
HTMLLabelElement     : false,
HTMLLayerElement     : false,
HTMLLegendElement    : false,
HTMLLIElement        : false,
HTMLLinkElement      : false,
HTMLMapElement       : false,
HTMLMenuElement      : false,
HTMLMetaElement      : false,
HTMLModElement       : false,
HTMLObjectElement    : false,
HTMLOListElement     : false,
HTMLOptGroupElement  : false,
HTMLOptionElement    : false,
HTMLParagraphElement : false,
HTMLParamElement     : false,
HTMLPreElement       : false,
HTMLQuoteElement     : false,

public/javascripts/tabulator.min.js  view on Meta::CPAN

1
2
3
4
5
6
7
8
9
10
11
12
/* Tabulator v4.6.1 (c) Oliver Folkerd */
var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(e,t){"object"===("undefine...
i.prototype.defaultOptionList=["title","field","columns","visible","align","hozAlign","vertAlign","width","minWidth","widthGrow","widthShrink","resizable","frozen","responsive","tooltip","cssClass","rowHandle","hideInHtml","print","htmlOutput","sorte...
return this._row.reinitialize()},s.prototype.getGroup=function(){return this._row.getGroup().getComponent()},s.prototype.getTable=function(){return this._row.table},s.prototype.getNextRow=function(){var e=this._row.nextRow();return e?e.getComponent()...
!1!==i.headerFilterPlaceholder&&o.localize.setHeaderFilterPlaceholder(i.headerFilterPlaceholder);for(var n in i.langs)o.localize.installLang(n,i.langs[n]);if(o.localize.setLocale(i.locale),"string"==typeof i.placeholder){var s=document.createElement(...
;p.prototype.getConnections=function(e){var t,o=this,i=[];return t=u.prototype.comms.lookupTable(e),t.forEach(function(e){o.table!==e&&i.push(e)}),i},p.prototype.send=function(e,t,o,i){var n=this,s=this.getConnections(e);s.forEach(function(e){e.table...
y.prototype.triggerDownload=function(e,t,o,i,n){var s=document.createElement("a"),r=new Blob([e],{type:t}),i=i||"Tabulator."+("function"==typeof o?"txt":o);(r=this.table.options.downloadReady.call(this.table,e,r))&&(n?window.open(window.URL.createObj...
if(n.subGroups=[],n.width=0,o.forEach(function(e){var o=t.processColumnGroup(e);o&&(n.width+=o.width,n.subGroups.push(o),o.depth>i&&(i=o.depth))}),n.depth+=i,!n.width)return!1}else{if(!this.columnVisCheck(e))return!1;n.width=1}return n},E.prototype.g...
this.leftColumns=[],this.rightColumns=[],this.leftMargin=0,this.rightMargin=0,this.rightMargin=0,this.active=!1,this.table.columnManager.headersElement.style.marginLeft=0,this.table.columnManager.element.style.paddingRight=0},R.prototype.initializeCo...
;var H=function(e){this.table=e,this.menuEl=!1,this.blurEvent=this.hideMenu.bind(this)};H.prototype.initializeColumnHeader=function(e){var t,o=this;e.definition.headerContextMenu&&e.getElement().addEventListener("contextmenu",function(t){var i="funct...
sorters:"sorters",filters:"filters"},_.prototype.paginationDataReceivedNames={current_page:"current_page",last_page:"last_page",data:"data"},u.prototype.registerModule("page",_);var N=function(e){this.table=e,this.mode="",this.id="",this.defWatcherBl...
var t=this,o=this.table.options.sortOrderReverse?t.sortList.slice().reverse():t.sortList,i=[];t.table.options.dataSorting&&t.table.options.dataSorting.call(t.table,t.getSort()),t.clearColumnHeaders(),t.table.options.ajaxSorting?o.forEach(function(e,o...

views/layouts/main.tt  view on Meta::CPAN

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="A layout example with a side menu that hides on mobile, just like the Pure website.">    <title>Responsive Side Menu &ndash; Layout Examples &ndash; Pure</title>   
 
        <link rel="stylesheet" href="<% request.uri_base %>/css/pure-min.css">
        <link rel="stylesheet" href="<% request.uri_base %>/css/grids-responsive-min.css">
 
        <!--[if lte IE 8]>
            <link rel="stylesheet" href="<% request.uri_base %>/css/side-menu-old-ie.css">
        <![endif]-->
        <!--[if gt IE 8]><!-->
            <link rel="stylesheet" href="<% request.uri_base %>/css/side-menu.css">
        <!--<![endif]-->
 
        <link rel="stylesheet" href="<% request.uri_base %>/css/style.css">
        <link rel="stylesheet" href="<% request.uri_base %>/css/tabulator.min.css">
 
</head>
<body>
 
<div id="layout">
    <!-- Menu toggle -->
    <a href="#menu" id="menuLink" class="menu-link">
        <!-- Hamburger icon -->
        <span></span>
    </a>
 
    <div id="menu">
        <div class="pure-menu">
            <a class="pure-menu-heading" href="#">Mxpress</a>
 
            <ul class="pure-menu-list">



( run in 0.400 second using v1.01-cache-2.11-cpan-26ccb49234f )