Ninja Tables – WP Data Table Plugin for WordPress - Version 4.2.1

Version Description

(Date: August 8, 2022) = * Fixes array_combine issue for google sheets * Fixes php 8 required parameter deprecated notice * Fixes woocommerce product stock status issue * Fixes custom filter select gt & lt number * Fixes frontend editing apply & add new popup issue * Fixes file loading issue * Added download attribute in button * Added filter_selects multiple value for same filter * Added google-csv, csv & fluent-form chunk loader * Added th class in responsive breakpoint * Added fluentform payment details * Updated plugin docs help documentation

Download this release

Release Info

Developer adreastrian
Plugin Icon 128x128 Ninja Tables – WP Data Table Plugin for WordPress
Version 4.2.1
Comparing to
See all releases

Code changes from version 4.2.0 to 4.2.1

admin/table-builder/ReadyMadeTable.php CHANGED
@@ -31,7 +31,7 @@ class ReadyMadeTable
31
  {
32
 
33
  $table_data = '{ "id": 617, "table_name": "Pricing Table 1", "data": [ { "rows": { "column_0": { "style": { "tdId": 93237, "backgroundColor": "#2B659A", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 811833, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "DELUXE", "style": { "fontSize": 25, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } }, { "id": "67787", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "For Large Business", "style": { "fontSize": 15, "color": "#DDDDDD", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": "7472", "backgroundColor": "#B53887", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "815650771", "data": { "name": "Ribbon", "type": "ribbon", "icon": "el-icon-collection-tag", "has_pro": true, "value": "Popular", "style": { "ribbonType": "corner", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "ribbonPosition": "left", "color": "#DDDDDD", "fontSize": 10, "backgroundColor": "#5C4DA2", "width": 245, "height": 10, "bookmarkHeight": 36, "bookmarkWidth": 55, "sideHeight": 17, "sideWidth": 55, "horizontalWidth": 170, "horizontalHeight": 25, "xAxis": -10, "yAxis": -52, "cornerXAxis": -13, "horizontalXAxis": -10, "textXAxis": 24, "textYAxis": -6, "fontWeight": [ "bold" ] } } }, { "id": "177128", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "STANDARD", "style": { "fontSize": 25, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } }, { "id": "477017", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "For Small Business", "style": { "fontSize": 15, "color": "#DDDDDD", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": "8383", "backgroundColor": "#DD4E16", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "638906", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "FREE", "style": { "fontSize": 25, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } }, { "id": "799988", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "For Regular Business", "style": { "fontSize": 15, "color": "#DDDDDD", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } }, "style": { "trId": 6383, "backgroundColor": "", "rowHeight": 150 } }, { "rows": { "column_0": { "style": { "tdId": 69443, "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "801241", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "$99/ month", "style": { "fontSize": 18, "color": "#2B659A", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "italic", "bold" ] } } } ] }, "column_3": { "style": { "tdId": "8577", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "668078", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "$59/ month", "style": { "fontSize": 18, "color": "#C71585", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "italic", "bold" ] } } } ] }, "column_4": { "style": { "tdId": "0441", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "505588", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "$00/ month", "style": { "fontSize": 18, "color": "rgb(221, 78, 22)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "italic", "bold" ] } } } ] } }, "style": { "trId": 4336, "backgroundColor": "", "rowHeight": 50 } }, { "style": { "trId": "280", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_4": { "style": { "tdId": "4200", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "020022", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Unlimited Pages", "style": { "iconColor": "#379D13", "iconFontSize": 20, "iconName": "checkmark-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_3": { "style": { "tdId": "4004", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "881198", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Unlimited Pages", "style": { "iconColor": "#379D13", "iconFontSize": 20, "iconName": "checkmark-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_0": { "style": { "tdId": "0211", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "018812", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Unlimited Pages", "style": { "iconColor": "#379D13", "iconFontSize": 20, "iconName": "checkmark-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } } }, { "style": { "trId": "861", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_4": { "style": { "tdId": "2622", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "244240", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "All Templates & Blocks", "style": { "iconColor": "#379D13", "iconFontSize": 20, "iconName": "checkmark-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_3": { "style": { "tdId": "2200", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "348286", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "All Templates & Blocks", "style": { "iconColor": "#379D13", "iconFontSize": 20, "iconName": "checkmark-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_0": { "style": { "tdId": "2243", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "104461", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "All Templates & Blocks", "style": { "iconColor": "#379D13", "iconFontSize": 20, "iconName": "checkmark-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } } }, { "style": { "trId": "110", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_4": { "style": { "tdId": "8335", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "880340", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Contact & Subscribe Forms", "style": { "iconColor": "#379D13", "iconFontSize": 20, "iconName": "checkmark-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_3": { "style": { "tdId": "4804", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "333411", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Contact & Subscribe Forms", "style": { "iconColor": "#379D13", "iconFontSize": 20, "iconName": "checkmark-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_0": { "style": { "tdId": "0151", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "583536", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Contact & Subscribe Forms", "style": { "iconColor": "#379D13", "iconFontSize": 20, "iconName": "checkmark-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } } }, { "style": { "trId": "646", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_4": { "style": { "tdId": "8488", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "246042", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Free SSL/TLS Certificate", "style": { "iconColor": "#379D13", "iconFontSize": 20, "iconName": "checkmark-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_3": { "style": { "tdId": "8104", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "866244", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Free SSL/TLS Certificate", "style": { "iconColor": "#379D13", "iconFontSize": 20, "iconName": "checkmark-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_0": { "style": { "tdId": "6285", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "644486", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Free SSL/TLS Certificate", "style": { "iconColor": "#379D13", "iconFontSize": 20, "iconName": "checkmark-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } } }, { "style": { "trId": "668", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_4": { "style": { "tdId": "0236", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "289430", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Remove Branding", "style": { "iconColor": "#FF4500", "iconFontSize": 20, "iconName": "close-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_3": { "style": { "tdId": "9411", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "831079", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Remove Branding", "style": { "iconColor": "#379D13", "iconFontSize": 20, "iconName": "checkmark-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_0": { "style": { "tdId": "0860", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "839701", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Remove Branding", "style": { "iconColor": "#379D13", "iconFontSize": 20, "iconName": "checkmark-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } } }, { "style": { "trId": "946", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_4": { "style": { "tdId": "7193", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "623006", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Custom Form", "style": { "iconColor": "#FF4500", "iconFontSize": 20, "iconName": "close-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_3": { "style": { "tdId": "0946", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "943394", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Custom Form", "style": { "iconColor": "#379D13", "iconFontSize": 20, "iconName": "checkmark-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_0": { "style": { "tdId": "1912", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "439901", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Custom Form", "style": { "iconColor": "#379D13", "iconFontSize": 20, "iconName": "checkmark-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } } }, { "style": { "trId": "188", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_4": { "style": { "tdId": "1486", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "197844", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Payment Integration", "style": { "iconColor": "#FF4500", "iconFontSize": 20, "iconName": "close-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_3": { "style": { "tdId": "4182", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "866971", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Payment Integration", "style": { "iconColor": "#FF4500", "iconFontSize": 20, "iconName": "close-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_0": { "style": { "tdId": "7198", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "897077", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Payment Integration", "style": { "iconColor": "#379D13", "iconFontSize": 20, "iconName": "checkmark-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } } }, { "style": { "trId": "878", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_4": { "style": { "tdId": "6881", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "287053", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Export HTML/CSS/JS", "style": { "iconColor": "#FF4500", "iconFontSize": 20, "iconName": "close-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_3": { "style": { "tdId": "7417", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "088858", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Export HTML/CSS/JS", "style": { "iconColor": "#FF4500", "iconFontSize": 20, "iconName": "close-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_0": { "style": { "tdId": "3080", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "710848", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Export HTML/CSS/JS", "style": { "iconColor": "#379D13", "iconFontSize": 20, "iconName": "checkmark-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } } } ], "headers": [ "column_3", "column_4", "column_0" ], "table": { "tr": 10, "tc": 3, "merge": { "history": [] } } }';
34
- $table_settings = '{ "general": { "name": "General", "key": "general", "has_pro": false, "options": { "cell_padding": { "label": "Cell Padding", "type": "slider", "value": 10, "min": 0, "max": 50 }, "table_alignment": { "label": "Table Alignment", "type": "alignment", "value": "center" }, "columns_rows_separate": { "label": "Separate Columns/Rows", "type": "switch", "value": "false", "childs": { "space_between_column": { "label": "Space Between Columns", "type": "slider", "value": "3", "min": 0, "max": 50 }, "space_between_row": { "label": "Space Between Rows", "type": "slider", "value": "3", "min": 0, "max": 50 } } }, "container_max_width_switch": { "label": "Table Container Max Width", "type": "switch", "value": "false", "childs": { "container_max_width": { "label": "Table Container Max Width", "type": "slider", "value": "700", "min": 100, "max": 5000 } } }, "cell_min_auto_width": { "label": "Table Cell Min Auto Width", "type": "slider", "value": 150, "min": 10, "max": 500 }, "container_max_height": { "label": "Table Container Max Height", "type": "slider", "value": 500, "min": 100, "max": 2000 } } }, "background": { "name": "Background", "key": "background", "has_pro": false, "options": { "header_background": { "label": "Header Background", "type": "color", "value": "#dddddd" }, "even_row_background": { "label": "Even Row Background", "type": "color", "value": "#F8F1F1" }, "odd_row_background": { "label": "Odd Row Background", "type": "color", "value": "#ffffff" } } }, "sticky": { "name": "Sticky", "key": "sticky", "has_pro": false, "options": { "first_row_sticky": { "label": "First Row Sticky", "type": "switch", "value": null }, "first_column_sticky": { "label": "First Column Sticky", "type": "switch", "value": null } } }, "accessibility": { "name": "Accessibility", "key": "accessibility", "has_pro": false, "options": { "table_role": { "label": "Table Role", "type": "select", "value": "table", "items": [ { "label": "Table", "value": "table" }, { "label": "Presentation", "value": "presentation" }, { "label": "List", "value": "list" }, { "label": "Row Group", "value": "rowgroup" } ] } } }, "border": { "name": "Border", "key": "border", "has_pro": false, "options": { "table_border": { "label": "Table Border", "type": "slider", "value": 2, "min": 0, "max": 50 }, "border_color": { "label": "Border Color", "type": "color", "value": "#DDDDDD" }, "inner_border": { "label": "Apply Inner Border", "type": "switch", "value": "true", "childs": { "header_inner_border": { "label": "Header Inner Border", "type": "switch", "value": "true" }, "inner_border_color": { "label": "Inner Border Color", "type": "color", "value": "#DDDDDD" }, "inner_border_size": { "label": "Inner Border Size", "type": "slider", "value": 3, "min": 0, "max": 50 } } } } }, "global_styling": { "name": "Global Style", "key": "global_styling", "has_pro": false, "options": { "margin_top": { "label": "Margin Top", "type": "slider", "value": 0, "min": 0, "max": 100 }, "font_size": { "label": "Font Size", "type": "slider", "value": 15, "min": 12, "max": 40 }, "color": { "label": "Color", "type": "color", "value": "#000000" }, "font_family": { "label": "Font Family", "type": "select", "value": "Georgia", "items": [ { "label": "Inherit", "value": "inherit" }, { "label": "Arial", "value": "Arial" }, { "label": "Helvetica", "value": "Helvetica" }, { "label": "Comic Sans", "value": "Comic Sans" }, { "label": "Courier New", "value": "Courier New" }, { "label": "Georgia", "value": "Georgia" }, { "label": "Impact", "value": "Impact" }, { "label": "Charcoal", "value": "Charcoal" }, { "label": "Lucida Grande", "value": "Lucida Grande" }, { "label": "Palatino Linotype", "value": "Palatino Linotype" }, { "label": "Book Antiqua", "value": "Book Antiqua" }, { "label": "Palatino", "value": "Palatino" }, { "label": "Tahoma", "value": "Tahoma" }, { "label": "Geneva", "value": "Geneva" }, { "label": "Times New Roman", "value": "Times New Roman" }, { "label": "Verdana", "value": "Verdana" }, { "label": "Monaco", "value": "Monaco" } ] } } } }';
35
  $table_responsive = '{ "general": { "name": "General", "key": "general", "has_pro": "false", "options": { "enable_responsive_table": { "label": "Enable Responsive Table", "type": "switch", "value": "true" } } }, "mode_options": { "name": "Mode Options", "key": "mode_options", "has_pro": "false", "options": { "devices": { "mobile": { "name": "Mobile", "key": "mobile", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": "false" }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "true" }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 1, "min": "1", "max": "5" } }, "tablet": { "name": "Tablet", "key": "tablet", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": false }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "true" }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 3, "min": "1", "max": "5" } }, "desktop": { "name": "Desktop", "key": "desktop", "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "false", "disable": "true" }, "static_top_row": { "label": "Static Top Row", "key": "static_top_row", "type": "switch", "value": "false", "disable": "true" } } } } } }';
36
 
37
  return [
@@ -57,7 +57,7 @@ class ReadyMadeTable
57
  public function pricingTableThree()
58
  {
59
  $table_data = '{ "id": 423, "table_name": "Pricing Table 3", "data": [ { "rows": { "column_0": { "style": { "tdId": 83973, "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "22718", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "help-buoy", "style": { "color": "#FFFDFD", "fontSize": 75, "alignment": "center", "margin": { "top": 4, "bottom": 4, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } }, { "id": 304067, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "STARTUP", "style": { "fontSize": 20, "color": "#FBFBFB", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } }, { "id": "351069", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Perfect For Small Business", "style": { "fontSize": 14, "color": "rgb(221, 221, 221)", "alignment": "center", "margin": { "top": 7, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "italic" ] } } } ] }, "column_1": { "style": { "tdId": 10538, "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "347043", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "bookmarks", "style": { "color": "#FFFFFF", "fontSize": 60, "alignment": "center", "margin": { "top": 10, "bottom": 10, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } }, { "id": 955546, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "ENTERPRICE", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } }, { "id": "030166", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Perfect For Medium Business", "style": { "fontSize": 14, "color": "rgb(221, 221, 221)", "alignment": "center", "margin": { "top": 7, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "italic" ] } } } ] }, "column_2": { "style": { "tdId": 35613, "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "082861", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "logo-chrome", "style": { "color": "#FFFFFF", "fontSize": 75, "alignment": "center", "margin": { "top": 10, "bottom": 10, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } }, { "id": 279033, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "SUPER", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } }, { "id": "846003", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Perfect For Large Business", "style": { "fontSize": 14, "color": "rgb(221, 221, 221)", "alignment": "center", "margin": { "top": 7, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "italic" ] } } } ] } }, "style": { "trId": 2157, "backgroundColor": "", "rowHeight": 50 } }, { "rows": { "column_0": { "style": { "tdId": 26459, "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 2, "colspan": 1 }, "columns": [ { "id": "46694", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": true, "value": "100 GB of Space", "style": { "iconColor": "#379D13", "iconFontSize": 18, "iconName": "arrow-forward-circle", "iconPosition": "left", "itemSpacing": 5, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [ "italic" ], "margin": { "top": 5, "bottom": 3, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } }, { "id": "102171", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": true, "value": "Support at $25/hr", "style": { "iconColor": "#379D13", "iconFontSize": 18, "iconName": "arrow-forward-circle", "iconPosition": "left", "itemSpacing": 5, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [ "italic" ], "margin": { "top": 0, "bottom": 3, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } }, { "id": "255150", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": true, "value": "Disk Space: 25 GB", "style": { "iconColor": "#379D13", "iconFontSize": 18, "iconName": "arrow-forward-circle", "iconPosition": "left", "itemSpacing": 5, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [ "italic" ], "margin": { "top": 0, "bottom": 3, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } }, { "id": "680711", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": true, "value": "Free SSL/TLS Certificate", "style": { "iconColor": "#379D13", "iconFontSize": 18, "iconName": "arrow-forward-circle", "iconPosition": "left", "itemSpacing": 5, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [ "italic" ], "margin": { "top": 0, "bottom": 3, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } }, { "id": "761466", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": true, "value": "Network Port: 50 Mbps", "style": { "iconColor": "#379D13", "iconFontSize": 18, "iconName": "arrow-forward-circle", "iconPosition": "left", "itemSpacing": 5, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [ "italic" ], "margin": { "top": 0, "bottom": 3, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } }, { "id": "106111", "data": { "name": "Button", "type": "button", "icon": "el-icon-bank-card", "has_pro": false, "value": "SIGN UP", "style": { "fontSize": 15, "color": "#FFFFFF", "backgroundColor": "#379D13", "borderColor": "#000000", "borderSize": 0, "borderRadius": 27, "isHover": false, "hoverColor": "", "hoverBackgroundColor": "#1E90FF", "hoverBorderColor": "#000000", "hoverBorderSize": "", "hoverIconColor": "", "transition": 1, "fullWidth": false, "url": "https://wpmanageninja.com/downloads/ninja-tables-pro-add-on/", "newTab": true, "contentAlignment": "center", "alignment": "center", "fontWeight": [ "bold" ], "margin": { "top": 10, "bottom": 20, "left": 0, "right": 0 }, "padding": { "top": 5, "bottom": 5, "left": 50, "right": 50 }, "iconColor": "#000000", "iconFontSize": 15, "iconName": "", "iconPosition": "left" } } } ] }, "column_1": { "style": { "tdId": 18194, "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 2, "colspan": 1 }, "columns": [ { "id": "447054", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": true, "value": "200 GB of Space", "style": { "iconColor": "#379D13", "iconFontSize": 18, "iconName": "arrow-forward-circle", "iconPosition": "left", "itemSpacing": 5, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [ "italic" ], "margin": { "top": 5, "bottom": 3, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } }, { "id": "487730", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": true, "value": "Support at $20/hr", "style": { "iconColor": "#379D13", "iconFontSize": 18, "iconName": "arrow-forward-circle", "iconPosition": "left", "itemSpacing": 5, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [ "italic" ], "margin": { "top": 0, "bottom": 3, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } }, { "id": "477075", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": true, "value": "Disk Space: 50 GB", "style": { "iconColor": "#379D13", "iconFontSize": 18, "iconName": "arrow-forward-circle", "iconPosition": "left", "itemSpacing": 5, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [ "italic" ], "margin": { "top": 0, "bottom": 3, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } }, { "id": "007063", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": true, "value": "Free SSL/TLS Certificate", "style": { "iconColor": "#379D13", "iconFontSize": 18, "iconName": "arrow-forward-circle", "iconPosition": "left", "itemSpacing": 5, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [ "italic" ], "margin": { "top": 0, "bottom": 3, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } }, { "id": "407446", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": true, "value": "Network Port: 75 Mbps", "style": { "iconColor": "#379D13", "iconFontSize": 18, "iconName": "arrow-forward-circle", "iconPosition": "left", "itemSpacing": 5, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [ "italic" ], "margin": { "top": 0, "bottom": 3, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } }, { "id": "810181", "data": { "name": "Button", "type": "button", "icon": "el-icon-bank-card", "has_pro": false, "value": "SIGN UP", "style": { "fontSize": 15, "color": "#FFFFFF", "backgroundColor": "#379D13", "borderColor": "#000000", "borderSize": 0, "borderRadius": 27, "isHover": false, "hoverColor": "", "hoverBackgroundColor": "#1E90FF", "hoverBorderColor": "#000000", "hoverBorderSize": "", "hoverIconColor": "", "transition": 1, "fullWidth": false, "url": "https://wpmanageninja.com/downloads/ninja-tables-pro-add-on/", "newTab": true, "contentAlignment": "center", "alignment": "center", "fontWeight": [ "bold" ], "margin": { "top": 10, "bottom": 20, "left": 0, "right": 0 }, "padding": { "top": 5, "bottom": 5, "left": 50, "right": 50 }, "iconColor": "#000000", "iconFontSize": 15, "iconName": "", "iconPosition": "left" } } } ] }, "column_2": { "style": { "tdId": 97981, "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 2, "colspan": 1 }, "columns": [ { "id": "417467", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": true, "value": "300 GB of Space", "style": { "iconColor": "#379D13", "iconFontSize": 18, "iconName": "arrow-forward-circle", "iconPosition": "left", "itemSpacing": 5, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [ "italic" ], "margin": { "top": 5, "bottom": 3, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } }, { "id": "789869", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": true, "value": "Support at $15/hr", "style": { "iconColor": "#379D13", "iconFontSize": 18, "iconName": "arrow-forward-circle", "iconPosition": "left", "itemSpacing": 5, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [ "italic" ], "margin": { "top": 0, "bottom": 3, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } }, { "id": "704676", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": true, "value": "Disk Space: 75 GB", "style": { "iconColor": "#379D13", "iconFontSize": 18, "iconName": "arrow-forward-circle", "iconPosition": "left", "itemSpacing": 5, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [ "italic" ], "margin": { "top": 0, "bottom": 3, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } }, { "id": "717661", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": true, "value": "Free SSL/TLS Certificate", "style": { "iconColor": "#379D13", "iconFontSize": 18, "iconName": "arrow-forward-circle", "iconPosition": "left", "itemSpacing": 5, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [ "italic" ], "margin": { "top": 0, "bottom": 3, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } }, { "id": "777061", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": true, "value": "Network Port: 100 Mbps", "style": { "iconColor": "#379D13", "iconFontSize": 18, "iconName": "arrow-forward-circle", "iconPosition": "left", "itemSpacing": 5, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [ "italic" ], "margin": { "top": 0, "bottom": 3, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } }, { "id": "60771", "data": { "name": "Button", "type": "button", "icon": "el-icon-bank-card", "has_pro": false, "value": "SIGN UP", "style": { "fontSize": 15, "color": "#FFFFFF", "backgroundColor": "#379D13", "borderColor": "#000000", "borderSize": 0, "borderRadius": 27, "isHover": false, "hoverColor": "", "hoverBackgroundColor": "#1E90FF", "hoverBorderColor": "#000000", "hoverBorderSize": "", "hoverIconColor": "", "transition": 1, "fullWidth": false, "url": "https://wpmanageninja.com/downloads/ninja-tables-pro-add-on/", "newTab": true, "contentAlignment": "center", "alignment": "center", "fontWeight": [ "bold" ], "margin": { "top": 10, "bottom": 20, "left": 0, "right": 0 }, "padding": { "top": 5, "bottom": 5, "left": 50, "right": 50 }, "iconColor": "#000000", "iconFontSize": 15, "iconName": "", "iconPosition": "left" } } } ] } }, "style": { "trId": 8529, "backgroundColor": "", "rowHeight": 50 } }, { "rows": { "column_0": { "style": { "tdId": 18859, "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 0, "colspan": 0 }, "columns": [ { "id": "60771", "data": { "name": "Button", "type": "button", "icon": "el-icon-bank-card", "has_pro": false, "value": "SIGN UP", "style": { "fontSize": 15, "color": "#FFFFFF", "backgroundColor": "#379D13", "borderColor": "#000000", "borderSize": 0, "borderRadius": 27, "isHover": false, "hoverColor": "", "hoverBackgroundColor": "#1E90FF", "hoverBorderColor": "#000000", "hoverBorderSize": "", "hoverIconColor": "", "transition": 1, "fullWidth": false, "url": "https://wpmanageninja.com", "newTab": true, "contentAlignment": "center", "alignment": "center", "fontWeight": [ "bold" ], "margin": { "top": 10, "bottom": 20, "left": 0, "right": 0 }, "padding": { "top": 5, "bottom": 5, "left": 50, "right": 50 }, "iconColor": "#000000", "iconFontSize": 15, "iconName": "", "iconPosition": "left" } } } ] }, "column_1": { "style": { "tdId": 53161, "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 0, "colspan": 0 }, "columns": [ { "id": "110986", "data": { "name": "Button", "type": "button", "icon": "el-icon-bank-card", "has_pro": false, "value": "SIGN UP", "style": { "fontSize": 15, "color": "#FFFFFF", "backgroundColor": "#379D13", "borderColor": "#000000", "borderSize": 0, "borderRadius": 27, "isHover": false, "hoverColor": "", "hoverBackgroundColor": "#1E90FF", "hoverBorderColor": "#000000", "hoverBorderSize": "", "hoverIconColor": "", "transition": 1, "fullWidth": false, "url": "https://wpmanageninja.com", "newTab": true, "contentAlignment": "center", "alignment": "center", "fontWeight": [ "bold" ], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 5, "bottom": 5, "left": 50, "right": 50 }, "iconColor": "#000000", "iconFontSize": 15, "iconName": "", "iconPosition": "left" } } } ] }, "column_2": { "style": { "tdId": 96371, "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 0, "colspan": 0 }, "columns": [ { "id": "738607", "data": { "name": "Button", "type": "button", "icon": "el-icon-bank-card", "has_pro": false, "value": "SIGN UP", "style": { "fontSize": 15, "color": "#FFFFFF", "backgroundColor": "#379D13", "borderColor": "#000000", "borderSize": 0, "borderRadius": 27, "isHover": false, "hoverColor": "", "hoverBackgroundColor": "#1E90FF", "hoverBorderColor": "#000000", "hoverBorderSize": "", "hoverIconColor": "", "transition": 1, "fullWidth": false, "url": "https://wpmanageninja.com", "newTab": true, "contentAlignment": "center", "alignment": "center", "fontWeight": [ "bold" ], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 5, "bottom": 5, "left": 50, "right": 50 }, "iconColor": "#000000", "iconFontSize": 15, "iconName": "", "iconPosition": "left" } } } ] } }, "style": { "trId": 7368, "backgroundColor": "", "rowHeight": "" } } ], "headers": [ "column_0", "column_1", "column_2" ], "table": { "tr": "3", "tc": 3, "merge": { "history": { "18194": [ { "rowIndex": 1, "columnIndex": 1, "headerIndex": "1" }, { "rowIndex": 2, "columnIndex": 1, "headerIndex": "1" } ], "26459": [ { "rowIndex": 1, "columnIndex": 0, "headerIndex": "0" }, { "rowIndex": 2, "columnIndex": 0, "headerIndex": "0" } ], "97981": [ { "rowIndex": 1, "columnIndex": 2, "headerIndex": "2" }, { "rowIndex": 2, "columnIndex": 2, "headerIndex": "2" } ] } } } }';
60
- $table_settings = '{ "general": { "name": "General", "key": "general", "has_pro": false, "options": { "cell_padding": { "label": "Cell Padding", "type": "slider", "value": 10, "min": 0, "max": 50 }, "table_alignment": { "label": "Table Alignment", "type": "alignment", "value": "center" }, "columns_rows_separate": { "label": "Separate Columns/Rows", "type": "switch", "value": "false", "childs": { "space_between_column": { "label": "Space Between Columns", "type": "slider", "value": "3", "min": 0, "max": 50 }, "space_between_row": { "label": "Space Between Rows", "type": "slider", "value": "3", "min": 0, "max": 50 } } }, "container_max_width_switch": { "label": "Table Container Max Width", "type": "switch", "value": "false", "childs": { "container_max_width": { "label": "Table Container Max Width", "type": "slider", "value": "700", "min": 100, "max": 5000 } } }, "cell_min_auto_width": { "label": "Table Cell Min Auto Width", "type": "slider", "value": 150, "min": 10, "max": 500 }, "container_max_height": { "label": "Table Container Max Height", "type": "slider", "value": 500, "min": 100, "max": 2000 } } }, "background": { "name": "Background", "key": "background", "has_pro": false, "options": { "header_background": { "label": "Header Background", "type": "color", "value": "#253148" }, "even_row_background": { "label": "Even Row Background", "type": "color", "value": "" }, "odd_row_background": { "label": "Odd Row Background", "type": "color", "value": "#ffffff" } } }, "sticky": { "name": "Sticky", "key": "sticky", "has_pro": false, "options": { "first_row_sticky": { "label": "First Row Sticky", "type": "switch", "value": null }, "first_column_sticky": { "label": "First Column Sticky", "type": "switch", "value": null } } }, "accessibility": { "name": "Accessibility", "key": "accessibility", "has_pro": false, "options": { "table_role": { "label": "Table Role", "type": "select", "value": "table", "items": [ { "label": "Table", "value": "table" }, { "label": "Presentation", "value": "presentation" }, { "label": "List", "value": "list" }, { "label": "Row Group", "value": "rowgroup" } ] } } }, "border": { "name": "Border", "key": "border", "has_pro": false, "options": { "table_border": { "label": "Table Border", "type": "slider", "value": 0, "min": 0, "max": 50 }, "border_color": { "label": "Border Color", "type": "color", "value": "" }, "inner_border": { "label": "Apply Inner Border", "type": "switch", "value": "true", "childs": { "header_inner_border": { "label": "Header Inner Border", "type": "switch", "value": "true" }, "inner_border_color": { "label": "Inner Border Color", "type": "color", "value": "#DDDDDD" }, "inner_border_size": { "label": "Inner Border Size", "type": "slider", "value": 3, "min": 0, "max": 50 } } } } }, "global_styling": { "name": "Global Style", "key": "global_styling", "has_pro": false, "options": { "margin_top": { "label": "Margin Top", "type": "slider", "value": 0, "min": 0, "max": 100 }, "font_size": { "label": "Font Size", "type": "slider", "value": 15, "min": 12, "max": 40 }, "color": { "label": "Color", "type": "color", "value": "#000000" }, "font_family": { "label": "Font Family", "type": "select", "value": "inherit", "items": [ { "label": "Inherit", "value": "inherit" }, { "label": "Arial", "value": "Arial" }, { "label": "Helvetica", "value": "Helvetica" }, { "label": "Comic Sans", "value": "Comic Sans" }, { "label": "Courier New", "value": "Courier New" }, { "label": "Georgia", "value": "Georgia" }, { "label": "Impact", "value": "Impact" }, { "label": "Charcoal", "value": "Charcoal" }, { "label": "Lucida Grande", "value": "Lucida Grande" }, { "label": "Palatino Linotype", "value": "Palatino Linotype" }, { "label": "Book Antiqua", "value": "Book Antiqua" }, { "label": "Palatino", "value": "Palatino" }, { "label": "Tahoma", "value": "Tahoma" }, { "label": "Geneva", "value": "Geneva" }, { "label": "Times New Roman", "value": "Times New Roman" }, { "label": "Verdana", "value": "Verdana" }, { "label": "Monaco", "value": "Monaco" } ] } } } }';
61
  $table_responsive = '{ "general": { "name": "General", "key": "general", "has_pro": "false", "options": { "enable_responsive_table": { "label": "Enable Responsive Table", "type": "switch", "value": "true" } } }, "mode_options": { "name": "Mode Options", "key": "mode_options", "has_pro": "false", "options": { "devices": { "mobile": { "name": "Mobile", "key": "mobile", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": true }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": false }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 1, "min": "1", "max": "5" } }, "tablet": { "name": "Tablet", "key": "tablet", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": "false" }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": true }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 2, "min": "1", "max": "5" } }, "desktop": { "name": "Desktop", "key": "desktop", "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "false", "disable": "true" }, "static_top_row": { "label": "Static Top Row", "key": "static_top_row", "type": "switch", "value": "false", "disable": "true" } } } } } }';
62
 
63
  return [
@@ -70,7 +70,7 @@ class ReadyMadeTable
70
  public function pricingTableFour()
71
  {
72
  $table_data = '{ "id": 516, "table_name": "Pricing Table 4", "data": [ { "rows": { "column_0": { "style": { "tdId": 14590, "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 882427, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "BASIC", "style": { "fontSize": 20, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": 31573, "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 322413, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "STANDARD", "style": { "fontSize": 20, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": 92295, "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 178459, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "PREMIUM", "style": { "fontSize": 20, "color": "rgb(242, 242, 242)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } }, "style": { "trId": 1908, "backgroundColor": "", "rowHeight": 50 } }, { "rows": { "column_0": { "style": { "tdId": 89837, "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 540108, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "4.99$/per month", "style": { "fontSize": 25, "color": "rgb(231, 231, 231)", "alignment": "center", "margin": { "top": 18, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } }, { "id": "192259", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "with 4 days free trail", "style": { "fontSize": 12, "color": "#DDDDDD", "alignment": "center", "margin": { "top": 2, "bottom": 18, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": 77888, "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "912121", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "9.99$/per month", "style": { "fontSize": 25, "color": "rgb(231, 231, 231)", "alignment": "center", "margin": { "top": 18, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } }, { "id": "597515", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "with 4 days free trail", "style": { "fontSize": 12, "color": "#DDDDDD", "alignment": "center", "margin": { "top": 2, "bottom": 18, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": 69208, "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "512259", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "19.99$/per month", "style": { "fontSize": 25, "color": "rgb(231, 231, 231)", "alignment": "center", "margin": { "top": 18, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } }, { "id": "323582", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "with 4 days free trail", "style": { "fontSize": 12, "color": "#DDDDDD", "alignment": "center", "margin": { "top": 2, "bottom": 18, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } }, "style": { "trId": 6548, "backgroundColor": "", "rowHeight": 50 } }, { "rows": { "column_0": { "style": { "tdId": 31034, "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "955152", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "1 GB Disk Space", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": 19907, "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "652996", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "1 GB Disk Space", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": 88377, "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 858819, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "1 GB Disk Space", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } }, "style": { "trId": 9768, "backgroundColor": "", "rowHeight": 50 } }, { "rows": { "column_0": { "style": { "tdId": 73888, "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 726358, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "500 MB Bandwidth", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": 70415, "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 207958, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "2 GB Bandwidth", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": 60054, "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 886960, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "5 GB Bandwidth", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } }, "style": { "trId": 5653, "backgroundColor": "", "rowHeight": 50 } }, { "style": { "trId": "626", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "5882", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "165298", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "1 Sub Domain", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": "1096", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "156898", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "3 Sub Domain", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "5112", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "168248", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "10 Sub Domain", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "115", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "5515", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "110111", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "1 Email Account", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": "6566", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "152155", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "5 Email Account", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "5591", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "605660", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "10 Email Account", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "502", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "6262", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "966516", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "SMTP", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": "5165", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "446626", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "SMTP", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "5626", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "565969", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "SMTP", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "851", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "0316", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "621622", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Monthly Traffic: 1000 GB", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": "1316", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "328662", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Monthly Traffic: 2000 GB", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "2832", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "861651", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Monthly Traffic: 3000 GB", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "160", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "5226", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "868688", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Network Port: 50 Mbps", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": "8828", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "665032", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Network Port: 75 Mbps", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "1866", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "505638", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Network Port: 100 Mbps", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } } ], "headers": [ "column_0", "column_1", "column_2" ], "table": { "tr": 9, "tc": "3", "merge": { "history": [] } } }';
73
- $table_settings = '{ "general": { "name": "General", "key": "general", "has_pro": false, "options": { "cell_padding": { "label": "Cell Padding", "type": "slider", "value": 10, "min": 0, "max": 50 }, "table_alignment": { "label": "Table Alignment", "type": "alignment", "value": "center" }, "columns_rows_separate": { "label": "Separate Columns/Rows", "type": "switch", "value": false, "childs": { "space_between_column": { "label": "Space Between Columns", "type": "slider", "value": 3, "min": 0, "max": 50 }, "space_between_row": { "label": "Space Between Rows", "type": "slider", "value": 3, "min": 0, "max": 50 } } }, "container_max_width_switch": { "label": "Table Container Max Width", "type": "switch", "value": "false", "childs": { "container_max_width": { "label": "Table Container Max Width", "type": "slider", "value": "700", "min": 100, "max": 5000 } } }, "cell_min_auto_width": { "label": "Table Cell Min Auto Width", "type": "slider", "value": 150, "min": 10, "max": 500 }, "container_max_height": { "label": "Table Container Max Height", "type": "slider", "value": 500, "min": 100, "max": 2000 } } }, "background": { "name": "Background", "key": "background", "has_pro": false, "options": { "header_background": { "label": "Header Background", "type": "color", "value": "#2F2B2B" }, "even_row_background": { "label": "Even Row Background", "type": "color", "value": "#454343" }, "odd_row_background": { "label": "Odd Row Background", "type": "color", "value": "rgb(69, 67, 67)" } } }, "sticky": { "name": "Sticky", "key": "sticky", "has_pro": false, "options": { "first_row_sticky": { "label": "First Row Sticky", "type": "switch", "value": null }, "first_column_sticky": { "label": "First Column Sticky", "type": "switch", "value": null } } }, "accessibility": { "name": "Accessibility", "key": "accessibility", "has_pro": false, "options": { "table_role": { "label": "Table Role", "type": "select", "value": "table", "items": [ { "label": "Table", "value": "table" }, { "label": "Presentation", "value": "presentation" }, { "label": "List", "value": "list" }, { "label": "Row Group", "value": "rowgroup" } ] } } }, "border": { "name": "Border", "key": "border", "has_pro": false, "options": { "table_border": { "label": "Table Border", "type": "slider", "value": 0, "min": 0, "max": 50 }, "border_color": { "label": "Border Color", "type": "color", "value": "#000000" }, "inner_border": { "label": "Apply Inner Border", "type": "switch", "value": "true", "childs": { "header_inner_border": { "label": "Header Inner Border", "type": "switch", "value": "true" }, "inner_border_color": { "label": "Inner Border Color", "type": "color", "value": "#000000" }, "inner_border_size": { "label": "Inner Border Size", "type": "slider", "value": 1, "min": 0, "max": 50 } } } } }, "global_styling": { "name": "Global Style", "key": "global_styling", "has_pro": false, "options": { "margin_top": { "label": "Margin Top", "type": "slider", "value": 0, "min": 0, "max": 100 }, "font_size": { "label": "Font Size", "type": "slider", "value": 15, "min": 12, "max": 40 }, "color": { "label": "Color", "type": "color", "value": "#000000" }, "font_family": { "label": "Font Family", "type": "select", "value": "Georgia", "items": [ { "label": "Inherit", "value": "inherit" }, { "label": "Arial", "value": "Arial" }, { "label": "Helvetica", "value": "Helvetica" }, { "label": "Comic Sans", "value": "Comic Sans" }, { "label": "Courier New", "value": "Courier New" }, { "label": "Georgia", "value": "Georgia" }, { "label": "Impact", "value": "Impact" }, { "label": "Charcoal", "value": "Charcoal" }, { "label": "Lucida Grande", "value": "Lucida Grande" }, { "label": "Palatino Linotype", "value": "Palatino Linotype" }, { "label": "Book Antiqua", "value": "Book Antiqua" }, { "label": "Palatino", "value": "Palatino" }, { "label": "Tahoma", "value": "Tahoma" }, { "label": "Geneva", "value": "Geneva" }, { "label": "Times New Roman", "value": "Times New Roman" }, { "label": "Verdana", "value": "Verdana" }, { "label": "Monaco", "value": "Monaco" } ] } } } }';
74
  $table_responsive = '{ "general": { "name": "General", "key": "general", "has_pro": "false", "options": { "enable_responsive_table": { "label": "Enable Responsive Table", "type": "switch", "value": "true" } } }, "mode_options": { "name": "Mode Options", "key": "mode_options", "has_pro": "false", "options": { "devices": { "mobile": { "name": "Mobile", "key": "mobile", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": "false" }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "true" }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 1, "min": "1", "max": "5" } }, "tablet": { "name": "Tablet", "key": "tablet", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": "false" }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "true" }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 1, "min": "1", "max": "5" } }, "desktop": { "name": "Desktop", "key": "desktop", "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "false", "disable": "true" }, "static_top_row": { "label": "Static Top Row", "key": "static_top_row", "type": "switch", "value": "false", "disable": "true" } } } } } }';
75
 
76
  return [
@@ -84,7 +84,7 @@ class ReadyMadeTable
84
  {
85
 
86
  $table_data = '{ "id": 370, "table_name": "Comparison Table 1", "data": [ { "rows": { "column_0": { "style": { "tdId": 41812, "backgroundColor": "#348E8E", "columnWidth": 180, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 286425, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Model", "style": { "fontSize": 18, "color": "#FCFCFC", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": 52190, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 457255, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Apple iPhone 10", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 26873, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 372894, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Samsung S8", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_3": { "style": { "tdId": 30726, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 593041, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Motorola Moto G5 Plus", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] } }, "style": { "trId": 4695, "backgroundColor": "#52A335", "rowHeight": 50 } }, { "style": { "trId": "408", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "6441", "backgroundColor": "#348E8E", "columnWidth": 180, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "844808", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Display", "style": { "fontSize": 18, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": "0468", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "680014", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "4.7 inchs Retina HD Display", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "1868", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "660684", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "5.8 inchs Dual Edge Super AMOLED Display", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": "8606", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "008181", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "4.7 inchs Retina HD Display", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "364", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "6662", "backgroundColor": "#348E8E", "columnWidth": 180, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "161328", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Camera", "style": { "fontSize": 18, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": "6616", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "622031", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "12 MP", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "1111", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "190441", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "48 MP", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": "5125", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "699392", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "16 MP", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "869", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "6978", "backgroundColor": "#348E8E", "columnWidth": 180, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "464844", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Storage", "style": { "fontSize": 18, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": "6469", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "896691", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "128 GB", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "9878", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "861711", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "64 GB", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": "6484", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "788078", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "32 GB", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "808", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "8616", "backgroundColor": "#348E8E", "columnWidth": 180, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "050851", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "OS", "style": { "fontSize": 18, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": "4711", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "668680", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "iOS", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "8568", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "176518", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Android", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": "0046", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "071416", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Android", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "162", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "4715", "backgroundColor": "#348E8E", "columnWidth": 180, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "545872", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "External Memory Card Slot", "style": { "fontSize": 18, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": "1106", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "611616", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close-circle", "style": { "color": "#FF4500", "fontSize": 35, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_2": { "style": { "tdId": "6401", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "80646", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "rgb(55, 157, 19)", "fontSize": 35, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_3": { "style": { "tdId": "5452", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "221856", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "rgb(55, 157, 19)", "fontSize": 35, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } } }, { "style": { "trId": "361", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "4788", "backgroundColor": "#348E8E", "columnWidth": 180, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "118778", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Rating", "style": { "fontSize": 18, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": "3080", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "868646", "data": { "name": "Rating", "type": "star_rating", "icon": "el-icon-star-off", "has_pro": false, "value": 5, "style": { "color": "#B36600", "fontSize": 18, "maxStar": 5, "alignment": "center", "showRatingValue": true, "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_2": { "style": { "tdId": "4039", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "74070", "data": { "name": "Rating", "type": "star_rating", "icon": "el-icon-star-off", "has_pro": false, "value": 4.5, "style": { "color": "#B36600", "fontSize": 18, "maxStar": 5, "alignment": "center", "showRatingValue": true, "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_3": { "style": { "tdId": "6664", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "101188", "data": { "name": "Rating", "type": "star_rating", "icon": "el-icon-star-off", "has_pro": false, "value": 4, "style": { "color": "#B36600", "fontSize": 18, "maxStar": 5, "alignment": "center", "showRatingValue": true, "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } } }, { "rows": { "column_0": { "style": { "tdId": 80265, "backgroundColor": "#348E8E", "columnWidth": 180, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 752618, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Price", "style": { "fontSize": 18, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": 45302, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 562178, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "$499.99", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": 80806, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 464141, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "$349.99", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": 76492, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 604456, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "$299.99", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } }, "style": { "trId": 8381, "backgroundColor": "", "rowHeight": 50 } } ], "headers": [ "column_0", "column_1", "column_2", "column_3" ], "table": { "tr": 8, "tc": "4", "merge": { "history": [] } } }';
87
- $table_settings = '{ "general": { "name": "General", "key": "general", "has_pro": false, "options": { "cell_padding": { "label": "Cell Padding", "type": "slider", "value": 10, "min": 0, "max": 50 }, "table_alignment": { "label": "Table Alignment", "type": "alignment", "value": "center" }, "columns_rows_separate": { "label": "Separate Columns/Rows", "type": "switch", "value": "false", "childs": { "space_between_column": { "label": "Space Between Columns", "type": "slider", "value": "3", "min": 0, "max": 50 }, "space_between_row": { "label": "Space Between Rows", "type": "slider", "value": "3", "min": 0, "max": 50 } } }, "container_max_width_switch": { "label": "Table Container Max Width", "type": "switch", "value": "false", "childs": { "container_max_width": { "label": "Table Container Max Width", "type": "slider", "value": "700", "min": 100, "max": 5000 } } }, "cell_min_auto_width": { "label": "Table Cell Min Auto Width", "type": "slider", "value": 150, "min": 10, "max": 500 }, "container_max_height": { "label": "Table Container Max Height", "type": "slider", "value": 500, "min": 100, "max": 2000 } } }, "background": { "name": "Background", "key": "background", "has_pro": false, "options": { "header_background": { "label": "Header Background", "type": "color", "value": "#dddddd" }, "even_row_background": { "label": "Even Row Background", "type": "color", "value": "#dddddd" }, "odd_row_background": { "label": "Odd Row Background", "type": "color", "value": "#ffffff" } } }, "sticky": { "name": "Sticky", "key": "sticky", "has_pro": false, "options": { "first_row_sticky": { "label": "First Row Sticky", "type": "switch", "value": null }, "first_column_sticky": { "label": "First Column Sticky", "type": "switch", "value": null } } }, "accessibility": { "name": "Accessibility", "key": "accessibility", "has_pro": false, "options": { "table_role": { "label": "Table Role", "type": "select", "value": "table", "items": [ { "label": "Table", "value": "table" }, { "label": "Presentation", "value": "presentation" }, { "label": "List", "value": "list" }, { "label": "Row Group", "value": "rowgroup" } ] } } }, "border": { "name": "Border", "key": "border", "has_pro": false, "options": { "table_border": { "label": "Table Border", "type": "slider", "value": 0, "min": 0, "max": 50 }, "border_color": { "label": "Border Color", "type": "color", "value": "#000000" }, "inner_border": { "label": "Apply Inner Border", "type": "switch", "value": "true", "childs": { "header_inner_border": { "label": "Header Inner Border", "type": "switch", "value": "true" }, "inner_border_color": { "label": "Inner Border Color", "type": "color", "value": "#000000" }, "inner_border_size": { "label": "Inner Border Size", "type": "slider", "value": 1, "min": 0, "max": 50 } } } } }, "global_styling": { "name": "Global Style", "key": "global_styling", "has_pro": false, "options": { "margin_top": { "label": "Margin Top", "type": "slider", "value": 0, "min": 0, "max": 100 }, "font_size": { "label": "Font Size", "type": "slider", "value": 15, "min": 12, "max": 40 }, "color": { "label": "Color", "type": "color", "value": "#000000" }, "font_family": { "label": "Font Family", "type": "select", "value": "inherit", "items": [ { "label": "Inherit", "value": "inherit" }, { "label": "Arial", "value": "Arial" }, { "label": "Helvetica", "value": "Helvetica" }, { "label": "Comic Sans", "value": "Comic Sans" }, { "label": "Courier New", "value": "Courier New" }, { "label": "Georgia", "value": "Georgia" }, { "label": "Impact", "value": "Impact" }, { "label": "Charcoal", "value": "Charcoal" }, { "label": "Lucida Grande", "value": "Lucida Grande" }, { "label": "Palatino Linotype", "value": "Palatino Linotype" }, { "label": "Book Antiqua", "value": "Book Antiqua" }, { "label": "Palatino", "value": "Palatino" }, { "label": "Tahoma", "value": "Tahoma" }, { "label": "Geneva", "value": "Geneva" }, { "label": "Times New Roman", "value": "Times New Roman" }, { "label": "Verdana", "value": "Verdana" }, { "label": "Monaco", "value": "Monaco" } ] } } } }';
88
  $table_responsive = '{ "general": { "name": "General", "key": "general", "has_pro": "false", "options": { "enable_responsive_table": { "label": "Enable Responsive Table", "type": "switch", "value": "true" } } }, "mode_options": { "name": "Mode Options", "key": "mode_options", "has_pro": "false", "options": { "devices": { "mobile": { "name": "Mobile", "key": "mobile", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": "false" }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "true" }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 1, "min": "1", "max": "5" } }, "tablet": { "name": "Tablet", "key": "tablet", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": "false" }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "true" }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 1, "min": "1", "max": "5" } }, "desktop": { "name": "Desktop", "key": "desktop", "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "false", "disable": "true" }, "static_top_row": { "label": "Static Top Row", "key": "static_top_row", "type": "switch", "value": "false", "disable": "true" } } } } } }';
89
 
90
  return [
@@ -98,7 +98,7 @@ class ReadyMadeTable
98
  {
99
 
100
  $table_data = '{ "id": 245, "table_name": "Comparison Table 2", "data": [ { "style": { "trId": "028", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "2181", "backgroundColor": "#DDDDDD", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "688633", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Comparison", "style": { "fontSize": 16, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "9661", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "616283", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "iPhone 13", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "6683", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "183019", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "iPhone12", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "rows": { "column_0": { "style": { "tdId": 60893, "backgroundColor": "#DDDDDD", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "694011", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Preview", "style": { "fontSize": 16, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": 41229, "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "19841", "data": { "name": "Image", "type": "image", "icon": "el-icon-picture-outline", "has_pro": false, "value": "https://ninja-tables.test/wp-content/plugins/ninja-tables/assets/img/iphone-12-pro-max.jpg", "style": { "alignment": "center", "size": 60, "shape": "square", "alt": "Demo Image", "link": "https://www.example.com/", "target": "blank", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_2": { "style": { "tdId": 17191, "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "981561", "data": { "name": "Image", "type": "image", "icon": "el-icon-picture-outline", "has_pro": false, "value": "https://ninja-tables.test/wp-content/plugins/ninja-tables/assets/img/iphone-12-normal.jpg", "style": { "alignment": "center", "size": 60, "shape": "square", "alt": "Demo Image", "link": "https://www.example.com/", "target": "blank", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } }, "style": { "trId": 9652, "backgroundColor": "", "rowHeight": 50 } }, { "style": { "trId": "111", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "6413", "backgroundColor": "#DDDDDD", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "666026", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Announced", "style": { "fontSize": 16, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "1691", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "194498", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "2022, February 09\t", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "3494", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "181404", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "2021, September 13\t", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "041", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "8181", "backgroundColor": "#DDDDDD", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "151114", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Status", "style": { "fontSize": 16, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "5505", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "885141", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Available. Released 2022, February 24\t", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "0848", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "464115", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Available. Released 2021, September 25\t", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "541", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "1295", "backgroundColor": "#DDDDDD", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "205148", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Size", "style": { "fontSize": 16, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "9005", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "191251", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "6.1 inches", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "4110", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "189160", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "6.1 inches", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "626", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "6111", "backgroundColor": "#DDDDDD", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "444121", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Weight", "style": { "fontSize": 16, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "6486", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "668441", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "6.14 ounces\t", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "1781", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "624166", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "5.78 ounces\t", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "218", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "6116", "backgroundColor": "#DDDDDD", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "216742", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Processor", "style": { "fontSize": 16, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "1872", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "711888", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "A15", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "1814", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "171771", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "A14", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "416", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "1849", "backgroundColor": "#DDDDDD", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "412850", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Chipset", "style": { "fontSize": 16, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "9116", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "151611", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Apple A15 Bionic (5 nm)\t", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "8819", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "112111", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Exynos 2200 (4 nm) - Europe", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "010", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "9441", "backgroundColor": "#DDDDDD", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "141111", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Camera", "style": { "fontSize": 16, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "9411", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "411114", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "12 MP, f/1.6, 26mm (wide), 1.7µm, dual pixel PDAF, sensor-shift OIS", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "1990", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "189134", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "12 MP, f/1.6, 26mm (wide), 1.7µm, dual pixel PDAF, sensor-shift OIS", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "999", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "6161", "backgroundColor": "#DDDDDD", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "114099", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Battery", "style": { "fontSize": 16, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "1161", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "431111", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Li-Ion 3240 mAh, non-removable ", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "8974", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "111410", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Li-Ion 3000 mAh, non-removable\t", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "rows": { "column_0": { "style": { "tdId": 26637, "backgroundColor": "#DDDDDD", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 615626, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Resolution", "style": { "fontSize": 16, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": 85483, "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 645282, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "2532x1170\t", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": 11183, "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 344302, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "2532x1170\t", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } }, "style": { "trId": 5259, "backgroundColor": "", "rowHeight": 50 } } ], "headers": [ "column_0", "column_1", "column_2" ], "table": { "tr": 11, "tc": "3", "merge": { "history": [] } } }';
101
- $table_settings = '{ "general": { "name": "General", "key": "general", "has_pro": false, "options": { "cell_padding": { "label": "Cell Padding", "type": "slider", "value": 10, "min": 0, "max": 50 }, "table_alignment": { "label": "Table Alignment", "type": "alignment", "value": "center" }, "columns_rows_separate": { "label": "Separate Columns/Rows", "type": "switch", "value": "false", "childs": { "space_between_column": { "label": "Space Between Columns", "type": "slider", "value": "3", "min": 0, "max": 50 }, "space_between_row": { "label": "Space Between Rows", "type": "slider", "value": "3", "min": 0, "max": 50 } } }, "container_max_width_switch": { "label": "Table Container Max Width", "type": "switch", "value": "false", "childs": { "container_max_width": { "label": "Table Container Max Width", "type": "slider", "value": "700", "min": 100, "max": 5000 } } }, "cell_min_auto_width": { "label": "Table Cell Min Auto Width", "type": "slider", "value": 150, "min": 10, "max": 500 }, "container_max_height": { "label": "Table Container Max Height", "type": "slider", "value": 500, "min": 100, "max": 2000 } } }, "background": { "name": "Background", "key": "background", "has_pro": false, "options": { "header_background": { "label": "Header Background", "type": "color", "value": "#dddddd" }, "even_row_background": { "label": "Even Row Background", "type": "color", "value": "#F2F2F2" }, "odd_row_background": { "label": "Odd Row Background", "type": "color", "value": "#ffffff" } } }, "sticky": { "name": "Sticky", "key": "sticky", "has_pro": false, "options": { "first_row_sticky": { "label": "First Row Sticky", "type": "switch", "value": null }, "first_column_sticky": { "label": "First Column Sticky", "type": "switch", "value": null } } }, "accessibility": { "name": "Accessibility", "key": "accessibility", "has_pro": false, "options": { "table_role": { "label": "Table Role", "type": "select", "value": "table", "items": [ { "label": "Table", "value": "table" }, { "label": "Presentation", "value": "presentation" }, { "label": "List", "value": "list" }, { "label": "Row Group", "value": "rowgroup" } ] } } }, "border": { "name": "Border", "key": "border", "has_pro": false, "options": { "table_border": { "label": "Table Border", "type": "slider", "value": 0, "min": 0, "max": 50 }, "border_color": { "label": "Border Color", "type": "color", "value": "#000000" }, "inner_border": { "label": "Apply Inner Border", "type": "switch", "value": "true", "childs": { "header_inner_border": { "label": "Header Inner Border", "type": "switch", "value": "true" }, "inner_border_color": { "label": "Inner Border Color", "type": "color", "value": "#000000" }, "inner_border_size": { "label": "Inner Border Size", "type": "slider", "value": 1, "min": 0, "max": 50 } } } } }, "global_styling": { "name": "Global Style", "key": "global_styling", "has_pro": false, "options": { "margin_top": { "label": "Margin Top", "type": "slider", "value": 0, "min": 0, "max": 100 }, "font_size": { "label": "Font Size", "type": "slider", "value": 15, "min": 12, "max": 40 }, "color": { "label": "Color", "type": "color", "value": "#000000" }, "font_family": { "label": "Font Family", "type": "select", "value": "inherit", "items": [ { "label": "Inherit", "value": "inherit" }, { "label": "Arial", "value": "Arial" }, { "label": "Helvetica", "value": "Helvetica" }, { "label": "Comic Sans", "value": "Comic Sans" }, { "label": "Courier New", "value": "Courier New" }, { "label": "Georgia", "value": "Georgia" }, { "label": "Impact", "value": "Impact" }, { "label": "Charcoal", "value": "Charcoal" }, { "label": "Lucida Grande", "value": "Lucida Grande" }, { "label": "Palatino Linotype", "value": "Palatino Linotype" }, { "label": "Book Antiqua", "value": "Book Antiqua" }, { "label": "Palatino", "value": "Palatino" }, { "label": "Tahoma", "value": "Tahoma" }, { "label": "Geneva", "value": "Geneva" }, { "label": "Times New Roman", "value": "Times New Roman" }, { "label": "Verdana", "value": "Verdana" }, { "label": "Monaco", "value": "Monaco" } ] } } } }';
102
  $table_responsive = '{ "general": { "name": "General", "key": "general", "has_pro": "false", "options": { "enable_responsive_table": { "label": "Enable Responsive Table", "type": "switch", "value": "true" } } }, "mode_options": { "name": "Mode Options", "key": "mode_options", "has_pro": "false", "options": { "devices": { "mobile": { "name": "Mobile", "key": "mobile", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": false }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "true" }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 2, "min": "1", "max": "5" } }, "tablet": { "name": "Tablet", "key": "tablet", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": "false" }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "true" }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 1, "min": "1", "max": "5" } }, "desktop": { "name": "Desktop", "key": "desktop", "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "false", "disable": "true" }, "static_top_row": { "label": "Static Top Row", "key": "static_top_row", "type": "switch", "value": "false", "disable": "true" } } } } } }';
103
 
104
  $table_data = $this->replaceLink('https://ninja-tables.test', $table_data);
@@ -114,7 +114,7 @@ class ReadyMadeTable
114
  public function comparisonTableThree()
115
  {
116
  $table_data = '{ "id": 369, "table_name": "Comparison Table 3", "data": [ { "rows": { "column_0": { "style": { "tdId": 22101, "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 140500, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Features\t", "style": { "fontSize": 32, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": 50054, "backgroundColor": "", "columnWidth": 150, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 346558, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "WP Social Ninja\t", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 86920, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 850338, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Smash Balloon\t", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_3": { "style": { "tdId": 68519, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 490789, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "SpotlightWP\t", "style": { "fontSize": 17, "color": "#FCFCFC", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_4": { "style": { "tdId": 12638, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 189022, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "elfsight", "style": { "fontSize": 17, "color": "#FBFBFB", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] } }, "style": { "trId": 6958, "backgroundColor": "", "rowHeight": 50 } }, { "style": { "trId": "939", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "3898", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "138630", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Price", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "4888", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "328010", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "$79 Annually\t", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "3991", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "224642", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "$98 Annually\t", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": "3036", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "904483", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "$49 Annually\t", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": "4946", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "462429", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "$180 Annually\t", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "477", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "7915", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "794600", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Multiple Social Platforms\t", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "8409", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "891667", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "29+\t", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "6587", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "294286", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "4", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": "6466", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "081890", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "1", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": "9868", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "986002", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "33", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "969", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "7197", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "071677", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Multiple Posts Order", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "1864", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "679688", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "5 Types", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "0641", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "999997", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "2 Types", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": "9096", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "890838", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "5 Types", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": "0609", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "633966", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "2 Types", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "rows": { "column_0": { "style": { "tdId": 43036, "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "189844", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Create Multiple Templates", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": 31177, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "651681", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 25, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_2": { "style": { "tdId": 27278, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "116025", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 25, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_3": { "style": { "tdId": 20064, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "141141", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 25, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_4": { "style": { "tdId": 14381, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "226906", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 25, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } }, "style": { "trId": 4156, "backgroundColor": "", "rowHeight": 50 } }, { "style": { "trId": "619", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "2516", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "674477", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Search Engine Accessible\t", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "6460", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "288689", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 25, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_2": { "style": { "tdId": "1486", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "695025", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 25, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_3": { "style": { "tdId": "6686", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "062626", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close-circle", "style": { "color": "rgb(255, 69, 0)", "fontSize": 25, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_4": { "style": { "tdId": "9224", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "701879", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close-circle", "style": { "color": "rgb(255, 69, 0)", "fontSize": 25, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } } }, { "style": { "trId": "594", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "3934", "backgroundColor": "#7400B8", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 5 }, "columns": [ { "id": "503344", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Number of Platforms for Reviews\t", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "0893", "backgroundColor": "", "columnWidth": 150, "emptyCell": "", "verticalAlignment": "", "rowspan": 0, "colspan": 0 }, "columns": [] }, "column_2": { "style": { "tdId": "4401", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 0, "colspan": 0 }, "columns": [] }, "column_3": { "style": { "tdId": "8105", "backgroundColor": "", "columnWidth": 150, "emptyCell": "", "verticalAlignment": "", "rowspan": 0, "colspan": 0 }, "columns": [] }, "column_4": { "style": { "tdId": "6546", "backgroundColor": "", "columnWidth": 150, "emptyCell": "", "verticalAlignment": "", "rowspan": 0, "colspan": 0 }, "columns": [] } } }, { "style": { "trId": "906", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "4161", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "779473", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Number of Platforms for Reviews\t", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "9004", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "96849", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "4", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "9547", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "079384", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "4", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": "1210", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "594266", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "1", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": "0580", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "231620", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "8", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "551", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "9056", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "299869", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Pre-built Template Designs\t", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "0541", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "06111", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "7+", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "1346", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "077654", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close-circle", "style": { "color": "rgb(255, 69, 0)", "fontSize": 25, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_3": { "style": { "tdId": "5545", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "038074", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "3+", "style": { "fontSize": 15, "color": "rgb(53, 72, 134)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": "5855", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "606147", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "2+", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "006", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "9410", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "811990", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Multiple Accounts\t", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "0971", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "748498", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 25, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_2": { "style": { "tdId": "6974", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "794744", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 25, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_3": { "style": { "tdId": "8990", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "949190", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 25, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_4": { "style": { "tdId": "7091", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "446678", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 25, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } } } ], "headers": [ "column_0", "column_1", "column_2", "column_3", "column_4" ], "table": { "tr": 10, "tc": "5", "merge": { "history": { "3934": [ { "rowIndex": 6, "columnIndex": 3, "headerIndex": "3" }, { "rowIndex": 6, "columnIndex": 4, "headerIndex": "4" }, { "rowIndex": 7, "columnIndex": 1, "headerIndex": "1" }, { "rowIndex": 7, "columnIndex": 2, "headerIndex": "2" }, { "rowIndex": 8, "columnIndex": 0, "headerIndex": "0" } ], "0893": [ { "rowIndex": 6, "columnIndex": 3, "headerIndex": "3" }, { "rowIndex": 6, "columnIndex": 4, "headerIndex": "4" }, { "rowIndex": 7, "columnIndex": 1, "headerIndex": "1" }, { "rowIndex": 7, "columnIndex": 2, "headerIndex": "2" } ] } } } }';
117
- $table_settings = '{ "general": { "name": "General", "key": "general", "has_pro": false, "options": { "cell_padding": { "label": "Cell Padding", "type": "slider", "value": 10, "min": 0, "max": 50 }, "table_alignment": { "label": "Table Alignment", "type": "alignment", "value": "center" }, "columns_rows_separate": { "label": "Separate Columns/Rows", "type": "switch", "value": "false", "childs": { "space_between_column": { "label": "Space Between Columns", "type": "slider", "value": "3", "min": 0, "max": 50 }, "space_between_row": { "label": "Space Between Rows", "type": "slider", "value": "3", "min": 0, "max": 50 } } }, "container_max_width_switch": { "label": "Table Container Max Width", "type": "switch", "value": "false", "childs": { "container_max_width": { "label": "Table Container Max Width", "type": "slider", "value": "700", "min": 100, "max": 5000 } } }, "cell_min_auto_width": { "label": "Table Cell Min Auto Width", "type": "slider", "value": 150, "min": 10, "max": 500 }, "container_max_height": { "label": "Table Container Max Height", "type": "slider", "value": 500, "min": 100, "max": 2000 } } }, "background": { "name": "Background", "key": "background", "has_pro": false, "options": { "header_background": { "label": "Header Background", "type": "color", "value": "#7400B8" }, "even_row_background": { "label": "Even Row Background", "type": "color", "value": "#F3F4F9" }, "odd_row_background": { "label": "Odd Row Background", "type": "color", "value": "#FFFFFF" } } }, "sticky": { "name": "Sticky", "key": "sticky", "has_pro": false, "options": { "first_row_sticky": { "label": "First Row Sticky", "type": "switch", "value": null }, "first_column_sticky": { "label": "First Column Sticky", "type": "switch", "value": null } } }, "accessibility": { "name": "Accessibility", "key": "accessibility", "has_pro": false, "options": { "table_role": { "label": "Table Role", "type": "select", "value": "table", "items": [ { "label": "Table", "value": "table" }, { "label": "Presentation", "value": "presentation" }, { "label": "List", "value": "list" }, { "label": "Row Group", "value": "rowgroup" } ] } } }, "border": { "name": "Border", "key": "border", "has_pro": false, "options": { "table_border": { "label": "Table Border", "type": "slider", "value": 0, "min": 0, "max": 50 }, "border_color": { "label": "Border Color", "type": "color", "value": "" }, "inner_border": { "label": "Apply Inner Border", "type": "switch", "value": "true", "childs": { "header_inner_border": { "label": "Header Inner Border", "type": "switch", "value": "true" }, "inner_border_color": { "label": "Inner Border Color", "type": "color", "value": "#DDDDDD" }, "inner_border_size": { "label": "Inner Border Size", "type": "slider", "value": 1, "min": 0, "max": 50 } } } } }, "global_styling": { "name": "Global Style", "key": "global_styling", "has_pro": false, "options": { "margin_top": { "label": "Margin Top", "type": "slider", "value": 0, "min": 0, "max": 100 }, "font_size": { "label": "Font Size", "type": "slider", "value": 15, "min": 12, "max": 40 }, "color": { "label": "Color", "type": "color", "value": "#000000" }, "font_family": { "label": "Font Family", "type": "select", "value": "inherit", "items": [ { "label": "Inherit", "value": "inherit" }, { "label": "Arial", "value": "Arial" }, { "label": "Helvetica", "value": "Helvetica" }, { "label": "Comic Sans", "value": "Comic Sans" }, { "label": "Courier New", "value": "Courier New" }, { "label": "Georgia", "value": "Georgia" }, { "label": "Impact", "value": "Impact" }, { "label": "Charcoal", "value": "Charcoal" }, { "label": "Lucida Grande", "value": "Lucida Grande" }, { "label": "Palatino Linotype", "value": "Palatino Linotype" }, { "label": "Book Antiqua", "value": "Book Antiqua" }, { "label": "Palatino", "value": "Palatino" }, { "label": "Tahoma", "value": "Tahoma" }, { "label": "Geneva", "value": "Geneva" }, { "label": "Times New Roman", "value": "Times New Roman" }, { "label": "Verdana", "value": "Verdana" }, { "label": "Monaco", "value": "Monaco" } ] } } } }';
118
  $table_responsive = '{ "general": { "name": "General", "key": "general", "has_pro": "false", "options": { "enable_responsive_table": { "label": "Enable Responsive Table", "type": "switch", "value": "true" } } }, "mode_options": { "name": "Mode Options", "key": "mode_options", "has_pro": "false", "options": { "devices": { "mobile": { "name": "Mobile", "key": "mobile", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": false }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "true" }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 1, "min": "1", "max": "5" } }, "tablet": { "name": "Tablet", "key": "tablet", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": true }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": true }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 1, "min": "1", "max": "5" } }, "desktop": { "name": "Desktop", "key": "desktop", "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "false", "disable": "true" }, "static_top_row": { "label": "Static Top Row", "key": "static_top_row", "type": "switch", "value": "false", "disable": "true" } } } } } }';
119
 
120
  return [
@@ -127,7 +127,7 @@ class ReadyMadeTable
127
  public function employeeTableOne()
128
  {
129
  $table_data = '{ "id": 520, "table_name": "Employee Table 1", "data": [ { "rows": { "column_0": { "style": { "tdId": 63979, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "011882", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Images", "style": { "fontSize": 18, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": 93156, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "069998", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Name", "style": { "fontSize": 18, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 27104, "backgroundColor": "", "columnWidth": 175, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "198000", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Designation", "style": { "fontSize": 18, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_3": { "style": { "tdId": 92183, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "212222", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Address", "style": { "fontSize": 18, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_4": { "style": { "tdId": "7988", "backgroundColor": "", "columnWidth": 100, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 716020, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Rank", "style": { "fontSize": 18, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] } }, "style": { "trId": 4521, "backgroundColor": "", "rowHeight": 60 } }, { "rows": { "column_0": { "style": { "tdId": 51256, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "35985", "data": { "name": "Image", "type": "image", "icon": "el-icon-picture-outline", "has_pro": false, "value": "http://authlab-project.test/wp-content/plugins/ninja-tables/assets/img/jewel.jpeg", "style": { "alignment": "center", "size": 50, "shape": "round", "alt": "Demo Image", "link": "https://www.example.com/", "target": "blank", "margin": { "top": 4, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_1": { "style": { "tdId": 71722, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 111698, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Shahjahan Jewel", "style": { "fontSize": 16, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 16030, "backgroundColor": "", "columnWidth": 175, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 642523, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Founder & Head of Ideas", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": 67214, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 360002, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Sylhet", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": "3973", "backgroundColor": "", "columnWidth": 100, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "234228", "data": { "has_pro": false, "icon": "el-icon-edit-outline", "name": "Text", "type": "text", "value": "01", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } }, "style": { "trId": 4673, "backgroundColor": "", "rowHeight": 50 } }, { "rows": { "column_0": { "style": { "tdId": 45484, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "22044", "data": { "name": "Image", "type": "image", "icon": "el-icon-picture-outline", "has_pro": false, "value": "http://authlab-project.test/wp-content/plugins/ninja-tables/assets/img/arif.jpeg", "style": { "alignment": "center", "size": 50, "shape": "round", "alt": "Demo Image", "link": "https://www.example.com/", "target": "blank", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_1": { "style": { "tdId": 42844, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 878774, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Mahmudul Hasan", "style": { "fontSize": 16, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 85451, "backgroundColor": "", "columnWidth": 175, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 108374, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Director of Engineering", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": 85762, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 189365, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Sylhet", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": "1173", "backgroundColor": "", "columnWidth": 100, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "113123", "data": { "has_pro": false, "icon": "el-icon-edit-outline", "name": "Text", "type": "text", "value": "02", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } }, "style": { "trId": 6161, "backgroundColor": "", "rowHeight": "" } }, { "rows": { "column_0": { "style": { "tdId": 76007, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "06815", "data": { "name": "Image", "type": "image", "icon": "el-icon-picture-outline", "has_pro": false, "value": "http://authlab-project.test/wp-content/plugins/ninja-tables/assets/img/sumon.jpeg", "style": { "alignment": "center", "size": 50, "shape": "round", "alt": "Demo Image", "link": "https://www.example.com/", "target": "blank", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_1": { "style": { "tdId": 44725, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 226238, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Sumon Sarker", "style": { "fontSize": 16, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 21658, "backgroundColor": "", "columnWidth": 175, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 511598, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Lead Software Engineer", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": 25473, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 344893, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Sylhet", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": "3902", "backgroundColor": "", "columnWidth": 100, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "391290", "data": { "has_pro": false, "icon": "el-icon-edit-outline", "name": "Text", "type": "text", "value": "03", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } }, "style": { "trId": 3822, "backgroundColor": "", "rowHeight": "" } }, { "rows": { "column_0": { "style": { "tdId": 29260, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "67616", "data": { "name": "Image", "type": "image", "icon": "el-icon-picture-outline", "has_pro": false, "value": "http://authlab-project.test/wp-content/plugins/ninja-tables/assets/img/sakib.jpeg", "style": { "alignment": "center", "size": 50, "shape": "round", "alt": "Demo Image", "link": "https://www.example.com/", "target": "blank", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_1": { "style": { "tdId": 29750, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 149745, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Sakib Mohammed", "style": { "fontSize": 16, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 11056, "backgroundColor": "", "columnWidth": 175, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 927095, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Software Engineer", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": 18744, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 821690, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Sylhet", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": "1464", "backgroundColor": "", "columnWidth": 100, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "611013", "data": { "has_pro": false, "icon": "el-icon-edit-outline", "name": "Text", "type": "text", "value": "04", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } }, "style": { "trId": 5079, "backgroundColor": "", "rowHeight": "" } }, { "rows": { "column_0": { "style": { "tdId": 55157, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "63615", "data": { "name": "Image", "type": "image", "icon": "el-icon-picture-outline", "has_pro": false, "value": "http://authlab-project.test/wp-content/plugins/ninja-tables/assets/img/naeem.jpeg", "style": { "alignment": "center", "size": 50, "shape": "round", "alt": "Demo Image", "link": "https://www.example.com/", "target": "blank", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_1": { "style": { "tdId": 35730, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 528959, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Naeem Haque", "style": { "fontSize": 16, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 77052, "backgroundColor": "", "columnWidth": 175, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 491070, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Software Engineer", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": 20949, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 714104, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Sylhet", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": "4813", "backgroundColor": "", "columnWidth": 100, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "382932", "data": { "has_pro": false, "icon": "el-icon-edit-outline", "name": "Text", "type": "text", "value": "05", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } }, "style": { "trId": 6526, "backgroundColor": "", "rowHeight": "" } } ], "headers": [ "column_4", "column_0", "column_1", "column_2", "column_3" ], "table": { "tr": "6", "tc": 5, "merge": { "history": [] } } }';
130
- $table_settings = '{ "general": { "name": "General", "key": "general", "has_pro": false, "options": { "cell_padding": { "label": "Cell Padding", "type": "slider", "value": 10, "min": 0, "max": 50 }, "table_alignment": { "label": "Table Alignment", "type": "alignment", "value": "center" }, "columns_rows_separate": { "label": "Separate Columns/Rows", "type": "switch", "value": false, "childs": { "space_between_column": { "label": "Space Between Columns", "type": "slider", "value": 0, "min": 0, "max": 50 }, "space_between_row": { "label": "Space Between Rows", "type": "slider", "value": 1, "min": 0, "max": 50 } } }, "container_max_width_switch": { "label": "Table Container Max Width", "type": "switch", "value": "false", "childs": { "container_max_width": { "label": "Table Container Max Width", "type": "slider", "value": "700", "min": 100, "max": 5000 } } }, "cell_min_auto_width": { "label": "Table Cell Min Auto Width", "type": "slider", "value": 150, "min": 10, "max": 500 }, "container_max_height": { "label": "Table Container Max Height", "type": "slider", "value": 856, "min": 100, "max": 2000 } } }, "background": { "name": "Background", "key": "background", "has_pro": false, "options": { "header_background": { "label": "Header Background", "type": "color", "value": "#248277" }, "even_row_background": { "label": "Even Row Background", "type": "color", "value": "#BEE1E6" }, "odd_row_background": { "label": "Odd Row Background", "type": "color", "value": "rgb(205, 211, 253)" } } }, "sticky": { "name": "Sticky", "key": "sticky", "has_pro": false, "options": { "first_row_sticky": { "label": "First Row Sticky", "type": "switch", "value": true }, "first_column_sticky": { "label": "First Column Sticky", "type": "switch", "value": null } } }, "accessibility": { "name": "Accessibility", "key": "accessibility", "has_pro": false, "options": { "table_role": { "label": "Table Role", "type": "select", "value": "table", "items": [ { "label": "Table", "value": "table" }, { "label": "Presentation", "value": "presentation" }, { "label": "List", "value": "list" }, { "label": "Row Group", "value": "rowgroup" } ] } } }, "border": { "name": "Border", "key": "border", "has_pro": false, "options": { "table_border": { "label": "Table Border", "type": "slider", "value": 1, "min": 0, "max": 50 }, "border_color": { "label": "Border Color", "type": "color", "value": "#248277" }, "inner_border": { "label": "Apply Inner Border", "type": "switch", "value": true, "childs": { "header_inner_border": { "label": "Header Inner Border", "type": "switch", "value": "true" }, "inner_border_color": { "label": "Inner Border Color", "type": "color", "value": "#FF8C00" }, "inner_border_size": { "label": "Inner Border Size", "type": "slider", "value": 0, "min": 0, "max": 50 } } } } }, "global_styling": { "name": "Global Style", "key": "global_styling", "has_pro": false, "options": { "margin_top": { "label": "Margin Top", "type": "slider", "value": 0, "min": 0, "max": 100 }, "font_size": { "label": "Font Size", "type": "slider", "value": 15, "min": 12, "max": 40 }, "color": { "label": "Color", "type": "color", "value": "#000000" }, "font_family": { "label": "Font Family", "type": "select", "value": "Times New Roman", "items": [ { "label": "Inherit", "value": "inherit" }, { "label": "Arial", "value": "Arial" }, { "label": "Helvetica", "value": "Helvetica" }, { "label": "Comic Sans", "value": "Comic Sans" }, { "label": "Courier New", "value": "Courier New" }, { "label": "Georgia", "value": "Georgia" }, { "label": "Impact", "value": "Impact" }, { "label": "Charcoal", "value": "Charcoal" }, { "label": "Lucida Grande", "value": "Lucida Grande" }, { "label": "Palatino Linotype", "value": "Palatino Linotype" }, { "label": "Book Antiqua", "value": "Book Antiqua" }, { "label": "Palatino", "value": "Palatino" }, { "label": "Tahoma", "value": "Tahoma" }, { "label": "Geneva", "value": "Geneva" }, { "label": "Times New Roman", "value": "Times New Roman" }, { "label": "Verdana", "value": "Verdana" }, { "label": "Monaco", "value": "Monaco" } ] } } } }';
131
  $table_responsive = '{ "general": { "name": "General", "key": "general", "has_pro": "false", "options": { "enable_responsive_table": { "label": "Enable Responsive Table", "type": "switch", "value": "true" } } }, "mode_options": { "name": "Mode Options", "key": "mode_options", "has_pro": "false", "options": { "devices": { "mobile": { "name": "Mobile", "key": "mobile", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": "false" }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": true }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 1, "min": "1", "max": "5" } }, "tablet": { "name": "Tablet", "key": "tablet", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": "false" }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": true }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 2, "min": "1", "max": "5" } }, "desktop": { "name": "Desktop", "key": "desktop", "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "false", "disable": "true" }, "static_top_row": { "label": "Static Top Row", "key": "static_top_row", "type": "switch", "value": "false", "disable": "true" } } } } } }';
132
 
133
  $table_data = $this->replaceLink('http://authlab-project.test', $table_data);
@@ -142,7 +142,7 @@ class ReadyMadeTable
142
  public function employeeTableTwo()
143
  {
144
  $table_data = '{ "id": 529, "table_name": "Employee Table 2", "data": [ { "rows": { "column_0": { "style": { "tdId": 10068, "backgroundColor": "", "columnWidth": 100, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 196268, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Sl ", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": 10050, "backgroundColor": "", "columnWidth": 212, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "351116", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Name", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 43682, "backgroundColor": "", "columnWidth": 191, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "562682", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Email", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_3": { "style": { "tdId": 53044, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "718181", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Phone", "style": { "fontSize": 20, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_4": { "style": { "tdId": 73248, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "601638", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Joining Date", "style": { "fontSize": 20, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_6": { "style": { "tdId": "3214", "backgroundColor": "", "columnWidth": 193, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "140401", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Designation", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] } }, "style": { "trId": 4500, "backgroundColor": "", "rowHeight": 70 } }, { "rows": { "column_0": { "style": { "tdId": 64869, "backgroundColor": "", "columnWidth": 100, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "243626", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "01", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": 21709, "backgroundColor": "", "columnWidth": 212, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "748835", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Shahjahan Jewel", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 98346, "backgroundColor": "", "columnWidth": 191, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "606103", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "jewel@authlab.io", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_3": { "style": { "tdId": 95518, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "187304", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "+1-202-555-0114", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_4": { "style": { "tdId": 80753, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "526394", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "5th April, 2016", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_6": { "style": { "tdId": "3060", "backgroundColor": "", "columnWidth": 193, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "409196", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Founder & Head of Ideas", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] } }, "style": { "trId": 1156, "backgroundColor": "", "rowHeight": 50 } }, { "rows": { "column_0": { "style": { "tdId": 84174, "backgroundColor": "", "columnWidth": 100, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "824200", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "02", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": 78317, "backgroundColor": "", "columnWidth": 212, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "943088", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Sheikh Heera", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 74762, "backgroundColor": "", "columnWidth": 191, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "244480", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "heera@authlab.io", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_3": { "style": { "tdId": 33199, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "281618", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "+1-202-555-0199", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_4": { "style": { "tdId": 51108, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "662663", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "5th April, 2016", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_6": { "style": { "tdId": "4036", "backgroundColor": "", "columnWidth": 193, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "480000", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "CTO & Platform Architect", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] } }, "style": { "trId": 2857, "backgroundColor": "", "rowHeight": "" } }, { "rows": { "column_0": { "style": { "tdId": 12300, "backgroundColor": "", "columnWidth": 100, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "508095", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "03", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": 75042, "backgroundColor": "", "columnWidth": 212, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "382241", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Faizus Saleheen", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 51011, "backgroundColor": "", "columnWidth": 191, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "184806", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "faizus@authlab.io", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_3": { "style": { "tdId": 90949, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "434573", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "+1-202-555-0114", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_4": { "style": { "tdId": 82923, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "661813", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "5th April, 2016", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_6": { "style": { "tdId": "4244", "backgroundColor": "", "columnWidth": 193, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "657686", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Chief Marketing Officer", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] } }, "style": { "trId": 3382, "backgroundColor": "", "rowHeight": "" } }, { "rows": { "column_0": { "style": { "tdId": 19875, "backgroundColor": "", "columnWidth": 100, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "461444", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "04", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": 72396, "backgroundColor": "", "columnWidth": 212, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "181684", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "MD Mahmudul Hasan", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 84559, "backgroundColor": "", "columnWidth": 191, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "069803", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "mahmudul@authlab.io", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_3": { "style": { "tdId": 48417, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "013121", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "+1-202-555-0199", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_4": { "style": { "tdId": 82021, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "535663", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "5th April, 2016", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_6": { "style": { "tdId": "0265", "backgroundColor": "", "columnWidth": 193, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "845865", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Director of Engineering", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] } }, "style": { "trId": 7481, "backgroundColor": "", "rowHeight": "" } }, { "rows": { "column_0": { "style": { "tdId": 15610, "backgroundColor": "", "columnWidth": 100, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 695921, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "05", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": 92072, "backgroundColor": "", "columnWidth": 212, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "885343", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Zahangir Alam", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 45008, "backgroundColor": "", "columnWidth": 191, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "406622", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "zahangir@authlab.io", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_3": { "style": { "tdId": 79568, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "347463", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "+1-202-555-0199", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_4": { "style": { "tdId": 78683, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "689866", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "5th April, 2016", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_6": { "style": { "tdId": "8426", "backgroundColor": "", "columnWidth": 193, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "536833", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Human Resource Manager", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] } }, "style": { "trId": 4726, "backgroundColor": "", "rowHeight": 50 } }, { "style": { "trId": "8728744", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "65688884", "backgroundColor": "", "columnWidth": 100, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "400081460", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "06", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "12812484", "backgroundColor": "", "columnWidth": 212, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "240448885", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "MD. Kamrul Islam", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_6": { "style": { "tdId": "84802245", "backgroundColor": "", "columnWidth": 193, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "052120122", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Head of Support", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": "28014656", "backgroundColor": "", "columnWidth": 191, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "846480271", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "kamrul@authlab.io", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_3": { "style": { "tdId": "15874006", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "087454058", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "+1-202-555-0199", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_4": { "style": { "tdId": "08527858", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "882428480", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "5th April, 2017", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] } } }, { "style": { "trId": "8124212", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "55868865", "backgroundColor": "", "columnWidth": 100, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "684285468", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "07", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "44554615", "backgroundColor": "", "columnWidth": 212, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "244116268", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Sumon Sarker", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_6": { "style": { "tdId": "24885828", "backgroundColor": "", "columnWidth": 193, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "411104430", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Lead Sodtware Engineer", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": "88868484", "backgroundColor": "", "columnWidth": 191, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "811215818", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "csesumonpro@authlab.io", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_3": { "style": { "tdId": "84128488", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "884551515", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "+1-202-555-0199", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_4": { "style": { "tdId": "84126118", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "884615888", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "12 February, 2018", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] } } }, { "style": { "trId": "8558785", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "25857187", "backgroundColor": "", "columnWidth": 100, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "585455418", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "08", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "75856477", "backgroundColor": "", "columnWidth": 212, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "557458587", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Hasanuzzaman Shamim", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_6": { "style": { "tdId": "45555245", "backgroundColor": "", "columnWidth": 193, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "541461884", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Lead Software Engineer", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": "88185555", "backgroundColor": "", "columnWidth": 191, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "587888588", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "hasanuzzamanbe@authlab.io", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_3": { "style": { "tdId": "46541864", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "578755885", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "+1-202-555-0199", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_4": { "style": { "tdId": "48544466", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "541288554", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "5th April, 2017", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] } } }, { "style": { "trId": "2686872", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "22782345", "backgroundColor": "", "columnWidth": 100, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "844734284", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "09", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "84421876", "backgroundColor": "", "columnWidth": 212, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "214273264", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Utpol Devnath", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_6": { "style": { "tdId": "81415388", "backgroundColor": "", "columnWidth": 193, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "721858524", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Lead Sodtware Engineer", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": "58282143", "backgroundColor": "", "columnWidth": 191, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "258258874", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "devutpol@authlab.io", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_3": { "style": { "tdId": "12445346", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "834285321", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "+1-202-555-0199", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_4": { "style": { "tdId": "88465467", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "782468828", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "5th April, 2017", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] } } } ], "headers": [ "column_0", "column_1", "column_6", "column_2", "column_3", "column_4" ], "table": { "tr": 10, "tc": 6, "merge": { "history": [] } } }';
145
- $table_settings = '{ "general": { "name": "General", "key": "general", "has_pro": false, "options": { "cell_padding": { "label": "Cell Padding", "type": "slider", "value": 10, "min": 0, "max": 50 }, "table_alignment": { "label": "Table Alignment", "type": "alignment", "value": "center" }, "columns_rows_separate": { "label": "Separate Columns/Rows", "type": "switch", "value": "false", "childs": { "space_between_column": { "label": "Space Between Columns", "type": "slider", "value": "3", "min": 0, "max": 50 }, "space_between_row": { "label": "Space Between Rows", "type": "slider", "value": "3", "min": 0, "max": 50 } } }, "container_max_width_switch": { "label": "Table Container Max Width", "type": "switch", "value": "false", "childs": { "container_max_width": { "label": "Table Container Max Width", "type": "slider", "value": "700", "min": 100, "max": 5000 } } }, "cell_min_auto_width": { "label": "Table Cell Min Auto Width", "type": "slider", "value": 150, "min": 10, "max": 500 }, "container_max_height": { "label": "Table Container Max Height", "type": "slider", "value": 500, "min": 100, "max": 2000 } } }, "background": { "name": "Background", "key": "background", "has_pro": false, "options": { "header_background": { "label": "Header Background", "type": "color", "value": "#1B5067" }, "even_row_background": { "label": "Even Row Background", "type": "color", "value": "#314459" }, "odd_row_background": { "label": "Odd Row Background", "type": "color", "value": "#33404A" } } }, "sticky": { "name": "Sticky", "key": "sticky", "has_pro": false, "options": { "first_row_sticky": { "label": "First Row Sticky", "type": "switch", "value": true }, "first_column_sticky": { "label": "First Column Sticky", "type": "switch", "value": false } } }, "accessibility": { "name": "Accessibility", "key": "accessibility", "has_pro": false, "options": { "table_role": { "label": "Table Role", "type": "select", "value": "table", "items": [ { "label": "Table", "value": "table" }, { "label": "Presentation", "value": "presentation" }, { "label": "List", "value": "list" }, { "label": "Row Group", "value": "rowgroup" } ] } } }, "border": { "name": "Border", "key": "border", "has_pro": false, "options": { "table_border": { "label": "Table Border", "type": "slider", "value": 2, "min": 0, "max": 50 }, "border_color": { "label": "Border Color", "type": "color", "value": "#FFF200" }, "inner_border": { "label": "Apply Inner Border", "type": "switch", "value": true, "childs": { "header_inner_border": { "label": "Header Inner Border", "type": "switch", "value": true }, "inner_border_color": { "label": "Inner Border Color", "type": "color", "value": "" }, "inner_border_size": { "label": "Inner Border Size", "type": "slider", "value": 1, "min": 0, "max": 50 } } } } }, "global_styling": { "name": "Global Style", "key": "global_styling", "has_pro": false, "options": { "margin_top": { "label": "Margin Top", "type": "slider", "value": 0, "min": 0, "max": 100 }, "font_size": { "label": "Font Size", "type": "slider", "value": 15, "min": 12, "max": 40 }, "color": { "label": "Color", "type": "color", "value": "#000000" }, "font_family": { "label": "Font Family", "type": "select", "value": "Charcoal", "items": [ { "label": "Inherit", "value": "inherit" }, { "label": "Arial", "value": "Arial" }, { "label": "Helvetica", "value": "Helvetica" }, { "label": "Comic Sans", "value": "Comic Sans" }, { "label": "Courier New", "value": "Courier New" }, { "label": "Georgia", "value": "Georgia" }, { "label": "Impact", "value": "Impact" }, { "label": "Charcoal", "value": "Charcoal" }, { "label": "Lucida Grande", "value": "Lucida Grande" }, { "label": "Palatino Linotype", "value": "Palatino Linotype" }, { "label": "Book Antiqua", "value": "Book Antiqua" }, { "label": "Palatino", "value": "Palatino" }, { "label": "Tahoma", "value": "Tahoma" }, { "label": "Geneva", "value": "Geneva" }, { "label": "Times New Roman", "value": "Times New Roman" }, { "label": "Verdana", "value": "Verdana" }, { "label": "Monaco", "value": "Monaco" } ] } } } }';
146
  $table_responsive = '{ "general": { "name": "General", "key": "general", "has_pro": false, "options": { "enable_responsive_table": { "label": "Enable Responsive Table", "type": "switch", "value": "true" } } }, "mode_options": { "name": "Mode Options", "key": "mode_options", "has_pro": false, "options": { "devices": { "mobile": { "name": "Mobile", "key": "mobile", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": "false" }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": false }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 1, "min": 1, "max": 5 }, "cell_border": { "label": "Group Separator", "key": "mobile_cell_border", "type": "slider", "value": 1, "min": 1, "max": 10 } }, "tablet": { "name": "Tablet", "key": "tablet", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": "false" }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "true" }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 2, "min": 1, "max": 5 }, "cell_border": { "label": "Group Separator", "key": "tablet_cell_border", "type": "slider", "value": 2, "min": 1, "max": 10 } }, "desktop": { "name": "Desktop", "key": "desktop", "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": false, "disable": true }, "static_top_row": { "label": "Static Top Row", "key": "static_top_row", "type": "switch", "value": false, "disable": true } } } } } }';
147
 
148
  return [
@@ -156,7 +156,7 @@ class ReadyMadeTable
156
  {
157
 
158
  $table_data = '{ "id": 531, "table_name": "Employee-Schedule table", "data": [ { "rows": { "column_1": { "style": { "tdId": 52777, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 201632, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Name", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 27273, "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "646721", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Saturday", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_9": { "style": { "tdId": "0105", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "697692", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Sunday", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_10": { "style": { "tdId": "9999", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "896441", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Monday", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_11": { "style": { "tdId": "9554", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "699998", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Tuesday", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_12": { "style": { "tdId": "4080", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "469994", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Wednesday", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_13": { "style": { "tdId": "0684", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "468107", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Thursday", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_14": { "style": { "tdId": "6546", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "491968", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Friday", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] } }, "style": { "trId": 7522, "backgroundColor": "", "rowHeight": 65 } }, { "style": { "trId": "744", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_1": { "style": { "tdId": "0044", "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "485806", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Sumon Sarker", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": "6746", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "41616", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 22, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_9": { "style": { "tdId": "0688", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "682056", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 22, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_10": { "style": { "tdId": "0420", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "185109", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close-circle", "style": { "color": "rgb(255, 0, 0)", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_11": { "style": { "tdId": "0684", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "959055", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 22, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_12": { "style": { "tdId": "9099", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "558584", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 22, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_13": { "style": { "tdId": "8880", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "179066", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 22, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_14": { "style": { "tdId": "5616", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "49134", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "help-circle", "style": { "color": "rgb(199, 21, 133)", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } } }, { "rows": { "column_1": { "style": { "tdId": 80750, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 213819, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Sakib Mohammed", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 80527, "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "94644", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_9": { "style": { "tdId": "0599", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "514909", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_10": { "style": { "tdId": "4929", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "188964", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_11": { "style": { "tdId": "5991", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "463140", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_12": { "style": { "tdId": "5594", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "609934", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_13": { "style": { "tdId": "8147", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "692649", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close-circle", "style": { "color": "rgb(255, 0, 0)", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_14": { "style": { "tdId": "9009", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "449193", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "help-circle", "style": { "color": "#D20D89", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } }, "style": { "trId": 9426, "backgroundColor": "", "rowHeight": 50 } }, { "style": { "trId": "691", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_1": { "style": { "tdId": "6009", "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "617666", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Naeem Haque", "style": { "fontSize": 17, "color": "rgb(0, 0, 0)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": "1060", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "044646", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_9": { "style": { "tdId": "4495", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "458266", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_10": { "style": { "tdId": "8846", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "414542", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_11": { "style": { "tdId": "5453", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "493949", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_12": { "style": { "tdId": "5449", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "490949", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_13": { "style": { "tdId": "9272", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "985071", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_14": { "style": { "tdId": "5859", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "940648", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "help-circle", "style": { "color": "#D20D89", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } } }, { "rows": { "column_1": { "style": { "tdId": 11366, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "868800", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Hasanuzzaman", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 48048, "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "391024", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_9": { "style": { "tdId": "5626", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "154929", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_10": { "style": { "tdId": "9241", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "021994", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_11": { "style": { "tdId": "5694", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "614119", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close-circle", "style": { "color": "rgb(255, 0, 0)", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_12": { "style": { "tdId": "4999", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "945654", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_13": { "style": { "tdId": "1919", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "649978", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_14": { "style": { "tdId": "1000", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "448061", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "help-circle", "style": { "color": "#D20D89", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } }, "style": { "trId": 9705, "backgroundColor": "", "rowHeight": 50 } }, { "style": { "trId": "560", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_1": { "style": { "tdId": "0660", "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "003899", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Utpol Devnath", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": "9000", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "904369", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_9": { "style": { "tdId": "6600", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "696741", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close-circle", "style": { "color": "rgb(255, 0, 0)", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_10": { "style": { "tdId": "4911", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "254210", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_11": { "style": { "tdId": "4958", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "606544", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_12": { "style": { "tdId": "5498", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "010996", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_13": { "style": { "tdId": "9501", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "841549", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_14": { "style": { "tdId": "0509", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "086083", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "help-circle", "style": { "color": "#D20D89", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } } }, { "rows": { "column_1": { "style": { "tdId": 58639, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 391438, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Ruhel Khan", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 50191, "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "16436", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "help-circle", "style": { "color": "#FF0000", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_9": { "style": { "tdId": "6275", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "606956", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_10": { "style": { "tdId": "6449", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "995481", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close-circle", "style": { "color": "rgb(255, 0, 0)", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_11": { "style": { "tdId": "9191", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "094491", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "rgb(55, 157, 19)", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_12": { "style": { "tdId": "1649", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "090288", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close-circle", "style": { "color": "rgb(255, 0, 0)", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_13": { "style": { "tdId": "0976", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "776716", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "rgb(255, 0, 0)", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_14": { "style": { "tdId": "7019", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "010068", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "help-circle", "style": { "color": "#D20D89", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } }, "style": { "trId": 8763, "backgroundColor": "", "rowHeight": 50 } }, { "rows": { "column_1": { "style": { "tdId": 39599, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 898305, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Bindaas Nitesh", "style": { "fontSize": 17, "color": "rgb(0, 0, 0)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 54639, "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "87818", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_9": { "style": { "tdId": "2107", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "922666", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_10": { "style": { "tdId": "5049", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "461484", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_11": { "style": { "tdId": "6441", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "116809", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_12": { "style": { "tdId": "0859", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "384469", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_13": { "style": { "tdId": "7449", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "569725", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_14": { "style": { "tdId": "9917", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "810711", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "help-circle", "style": { "color": "#D20D89", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } }, "style": { "trId": 8871, "backgroundColor": "", "rowHeight": 50 } }, { "style": { "trId": "665", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_1": { "style": { "tdId": "9036", "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "600566", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Tanjim TC", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": "0691", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "43396", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "help-circle", "style": { "color": "rgb(255, 0, 0)", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_9": { "style": { "tdId": "9571", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "654261", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_10": { "style": { "tdId": "4514", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "156224", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_11": { "style": { "tdId": "6466", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "608056", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close-circle", "style": { "color": "rgb(255, 0, 0)", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_12": { "style": { "tdId": "6414", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "300445", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close-circle", "style": { "color": "rgb(255, 0, 0)", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_13": { "style": { "tdId": "8298", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "108979", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close-circle", "style": { "color": "rgb(255, 0, 0)", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_14": { "style": { "tdId": "7941", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "160414", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "help-circle", "style": { "color": "#D20D89", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } } } ], "headers": [ "column_1", "column_2", "column_9", "column_10", "column_11", "column_12", "column_13", "column_14" ], "table": { "tr": 9, "tc": 8, "merge": { "history": [] } } }';
159
- $table_settings = '{ "general": { "name": "General", "key": "general", "has_pro": false, "options": { "cell_padding": { "label": "Cell Padding", "type": "slider", "value": 7, "min": 0, "max": 50 }, "table_alignment": { "label": "Table Alignment", "type": "alignment", "value": "center" }, "columns_rows_separate": { "label": "Separate Columns/Rows", "type": "switch", "value": false, "childs": { "space_between_column": { "label": "Space Between Columns", "type": "slider", "value": 0, "min": 0, "max": 50 }, "space_between_row": { "label": "Space Between Rows", "type": "slider", "value": 0, "min": 0, "max": 50 } } }, "container_max_width_switch": { "label": "Table Container Max Width", "type": "switch", "value": false, "childs": { "container_max_width": { "label": "Table Container Max Width", "type": "slider", "value": 700, "min": 100, "max": 5000 } } }, "cell_min_auto_width": { "label": "Table Cell Min Auto Width", "type": "slider", "value": 160, "min": 10, "max": 500 }, "container_max_height": { "label": "Table Container Max Height", "type": "slider", "value": 500, "min": 100, "max": 2000 } } }, "background": { "name": "Background", "key": "background", "has_pro": false, "options": { "header_background": { "label": "Header Background", "type": "color", "value": "rgb(83, 113, 222)" }, "even_row_background": { "label": "Even Row Background", "type": "color", "value": "#A9D6E5" }, "odd_row_background": { "label": "Odd Row Background", "type": "color", "value": "#BFD2FF" } } }, "sticky": { "name": "Sticky", "key": "sticky", "has_pro": false, "options": { "first_row_sticky": { "label": "First Row Sticky", "type": "switch", "value": true }, "first_column_sticky": { "label": "First Column Sticky", "type": "switch", "value": null } } }, "accessibility": { "name": "Accessibility", "key": "accessibility", "has_pro": false, "options": { "table_role": { "label": "Table Role", "type": "select", "value": "table", "items": [ { "label": "Table", "value": "table" }, { "label": "Presentation", "value": "presentation" }, { "label": "List", "value": "list" }, { "label": "Row Group", "value": "rowgroup" } ] } } }, "border": { "name": "Border", "key": "border", "has_pro": false, "options": { "table_border": { "label": "Table Border", "type": "slider", "value": 1, "min": 0, "max": 50 }, "border_color": { "label": "Border Color", "type": "color", "value": "#00CED1" }, "inner_border": { "label": "Apply Inner Border", "type": "switch", "value": false, "childs": { "header_inner_border": { "label": "Header Inner Border", "type": "switch", "value": false }, "inner_border_color": { "label": "Inner Border Color", "type": "color", "value": "" }, "inner_border_size": { "label": "Inner Border Size", "type": "slider", "value": 0, "min": 0, "max": 50 } } } } }, "global_styling": { "name": "Global Style", "key": "global_styling", "has_pro": false, "options": { "margin_top": { "label": "Margin Top", "type": "slider", "value": 0, "min": 0, "max": 100 }, "font_size": { "label": "Font Size", "type": "slider", "value": 15, "min": 12, "max": 40 }, "color": { "label": "Color", "type": "color", "value": "#000000" }, "font_family": { "label": "Font Family", "type": "select", "value": "Palatino", "items": [ { "label": "Inherit", "value": "inherit" }, { "label": "Arial", "value": "Arial" }, { "label": "Helvetica", "value": "Helvetica" }, { "label": "Comic Sans", "value": "Comic Sans" }, { "label": "Courier New", "value": "Courier New" }, { "label": "Georgia", "value": "Georgia" }, { "label": "Impact", "value": "Impact" }, { "label": "Charcoal", "value": "Charcoal" }, { "label": "Lucida Grande", "value": "Lucida Grande" }, { "label": "Palatino Linotype", "value": "Palatino Linotype" }, { "label": "Book Antiqua", "value": "Book Antiqua" }, { "label": "Palatino", "value": "Palatino" }, { "label": "Tahoma", "value": "Tahoma" }, { "label": "Geneva", "value": "Geneva" }, { "label": "Times New Roman", "value": "Times New Roman" }, { "label": "Verdana", "value": "Verdana" }, { "label": "Monaco", "value": "Monaco" } ] } } } }';
160
  $table_responsive = '{ "general": { "name": "General", "key": "general", "has_pro": false, "options": { "enable_responsive_table": { "label": "Enable Responsive Table", "type": "switch", "value": "true" } } }, "mode_options": { "name": "Mode Options", "key": "mode_options", "has_pro": false, "options": { "devices": { "mobile": { "name": "Mobile", "key": "mobile", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": "false" }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": true }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 1, "min": 1, "max": 5 }, "cell_border": { "label": "Group Separator", "key": "mobile_cell_border", "type": "slider", "value": 1, "min": 1, "max": 10 } }, "tablet": { "name": "Tablet", "key": "tablet", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": "false" }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "true" }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 2, "min": 1, "max": 5 }, "cell_border": { "label": "Group Separator", "key": "tablet_cell_border", "type": "slider", "value": 1, "min": 1, "max": 10 } }, "desktop": { "name": "Desktop", "key": "desktop", "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": false, "disable": true }, "static_top_row": { "label": "Static Top Row", "key": "static_top_row", "type": "switch", "value": false, "disable": true } } } } } }';
161
 
162
  return [
@@ -170,7 +170,7 @@ class ReadyMadeTable
170
  {
171
 
172
  $table_data = '{ "id": 533, "table_name": "Schedule Table 1", "data": [ { "rows": { "column_0": { "style": { "tdId": 55455, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "206246", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Day", "style": { "iconColor": "#000000", "iconFontSize": 25, "iconName": "calendar-outline", "iconPosition": "left", "itemSpacing": 4, "color": "#000000", "fontSize": 25, "alignment": "center", "fontWeight": [ "bold" ], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_1": { "style": { "tdId": 50573, "backgroundColor": "", "columnWidth": 165, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "184171", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Time", "style": { "iconColor": "#000000", "iconFontSize": 25, "iconName": "stopwatch-outline", "iconPosition": "left", "itemSpacing": 4, "color": "#000000", "fontSize": 25, "alignment": "center", "fontWeight": [ "bold" ], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_2": { "style": { "tdId": 29518, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "864483", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Subject", "style": { "iconColor": "#000000", "iconFontSize": 25, "iconName": "book-outline", "iconPosition": "left", "itemSpacing": 4, "color": "#000000", "fontSize": 25, "alignment": "center", "fontWeight": [ "bold" ], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_3": { "style": { "tdId": 34809, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "16710", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Instructor", "style": { "iconColor": "#000000", "iconFontSize": 25, "iconName": "person-circle-outline", "iconPosition": "left", "itemSpacing": 4, "color": "#000000", "fontSize": 25, "alignment": "center", "fontWeight": [ "bold" ], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } }, "style": { "trId": 6500, "backgroundColor": "", "rowHeight": 65 } }, { "rows": { "column_0": { "style": { "tdId": 80476, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 356626, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Saturday", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": 18595, "backgroundColor": "", "columnWidth": 165, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 188012, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "10:00 AM - 11:00 AM", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": 34043, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "056878", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Physics", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": 77504, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 351029, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Root", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } }, "style": { "trId": 9552, "backgroundColor": "", "rowHeight": 50 } }, { "rows": { "column_0": { "style": { "tdId": 97213, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 936954, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Sunday", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": 69895, "backgroundColor": "", "columnWidth": 165, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "097460", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "10:00 AM - 11:00 AM", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": 16561, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 778547, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Chemistry", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": 13937, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "070780", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Root", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } }, "style": { "trId": 8049, "backgroundColor": "", "rowHeight": "" } }, { "rows": { "column_0": { "style": { "tdId": 13646, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 578280, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Monday", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": 70846, "backgroundColor": "", "columnWidth": 165, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "630663", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "10:00 AM - 11:00 AM", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": 95451, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 567797, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Science", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": 24989, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "168718", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Root", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } }, "style": { "trId": 4412, "backgroundColor": "", "rowHeight": 50 } }, { "rows": { "column_0": { "style": { "tdId": 79941, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 186419, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Tuesday", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": 21918, "backgroundColor": "", "columnWidth": 165, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "161647", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "10:00 AM - 11:00 AM", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": 45153, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 369753, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Math", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": 30517, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "666884", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Root", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } }, "style": { "trId": 8736, "backgroundColor": "", "rowHeight": "" } }, { "rows": { "column_0": { "style": { "tdId": 19674, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 410358, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Wednesday", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": 13934, "backgroundColor": "", "columnWidth": 165, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "628801", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "10:00 AM - 11:00 AM", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": 11827, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 692654, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Biology", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": 90197, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "110486", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Root", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } }, "style": { "trId": 8778, "backgroundColor": "", "rowHeight": "" } }, { "rows": { "column_0": { "style": { "tdId": 37518, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 116793, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Thursday", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": 81295, "backgroundColor": "", "columnWidth": 165, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "586914", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "10:00 AM - 11:00 AM", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": 73158, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 113579, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Geometry", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": 46206, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "159519", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Root", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } }, "style": { "trId": 9011, "backgroundColor": "", "rowHeight": "" } }, { "rows": { "column_0": { "style": { "tdId": 84035, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 459179, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Friday", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": 32645, "backgroundColor": "", "columnWidth": 165, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "400568", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "10:00 AM - 11:00 AM", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": 80368, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 123660, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "English", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": 96152, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "686816", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Root", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } }, "style": { "trId": 1069, "backgroundColor": "", "rowHeight": 50 } } ], "headers": [ "column_0", "column_1", "column_2", "column_3" ], "table": { "tr": "8", "tc": "4", "merge": { "history": [] } } }';
173
- $table_settings = '{ "general": { "name": "General", "key": "general", "has_pro": false, "options": { "cell_padding": { "label": "Cell Padding", "type": "slider", "value": 13, "min": 0, "max": 50 }, "table_alignment": { "label": "Table Alignment", "type": "alignment", "value": "center" }, "columns_rows_separate": { "label": "Separate Columns/Rows", "type": "switch", "value": false, "childs": { "space_between_column": { "label": "Space Between Columns", "type": "slider", "value": 1, "min": 0, "max": 50 }, "space_between_row": { "label": "Space Between Rows", "type": "slider", "value": 0, "min": 0, "max": 50 } } }, "container_max_width_switch": { "label": "Table Container Max Width", "type": "switch", "value": "false", "childs": { "container_max_width": { "label": "Table Container Max Width", "type": "slider", "value": "700", "min": 100, "max": 5000 } } }, "cell_min_auto_width": { "label": "Table Cell Min Auto Width", "type": "slider", "value": 150, "min": 10, "max": 500 }, "container_max_height": { "label": "Table Container Max Height", "type": "slider", "value": 500, "min": 100, "max": 2000 } } }, "background": { "name": "Background", "key": "background", "has_pro": false, "options": { "header_background": { "label": "Header Background", "type": "color", "value": "#37D5F5" }, "even_row_background": { "label": "Even Row Background", "type": "color", "value": "#D7E2FE" }, "odd_row_background": { "label": "Odd Row Background", "type": "color", "value": "#E3E3E3" } } }, "sticky": { "name": "Sticky", "key": "sticky", "has_pro": false, "options": { "first_row_sticky": { "label": "First Row Sticky", "type": "switch", "value": true }, "first_column_sticky": { "label": "First Column Sticky", "type": "switch", "value": null } } }, "accessibility": { "name": "Accessibility", "key": "accessibility", "has_pro": false, "options": { "table_role": { "label": "Table Role", "type": "select", "value": "table", "items": [ { "label": "Table", "value": "table" }, { "label": "Presentation", "value": "presentation" }, { "label": "List", "value": "list" }, { "label": "Row Group", "value": "rowgroup" } ] } } }, "border": { "name": "Border", "key": "border", "has_pro": false, "options": { "table_border": { "label": "Table Border", "type": "slider", "value": 1, "min": 0, "max": 50 }, "border_color": { "label": "Border Color", "type": "color", "value": "#00CED1" }, "inner_border": { "label": "Apply Inner Border", "type": "switch", "value": false, "childs": { "header_inner_border": { "label": "Header Inner Border", "type": "switch", "value": false }, "inner_border_color": { "label": "Inner Border Color", "type": "color", "value": "#C71585" }, "inner_border_size": { "label": "Inner Border Size", "type": "slider", "value": 0, "min": 0, "max": 50 } } } } }, "global_styling": { "name": "Global Style", "key": "global_styling", "has_pro": false, "options": { "margin_top": { "label": "Margin Top", "type": "slider", "value": 0, "min": 0, "max": 100 }, "font_size": { "label": "Font Size", "type": "slider", "value": 15, "min": 12, "max": 40 }, "color": { "label": "Color", "type": "color", "value": "#000000" }, "font_family": { "label": "Font Family", "type": "select", "value": "inherit", "items": [ { "label": "Inherit", "value": "inherit" }, { "label": "Arial", "value": "Arial" }, { "label": "Helvetica", "value": "Helvetica" }, { "label": "Comic Sans", "value": "Comic Sans" }, { "label": "Courier New", "value": "Courier New" }, { "label": "Georgia", "value": "Georgia" }, { "label": "Impact", "value": "Impact" }, { "label": "Charcoal", "value": "Charcoal" }, { "label": "Lucida Grande", "value": "Lucida Grande" }, { "label": "Palatino Linotype", "value": "Palatino Linotype" }, { "label": "Book Antiqua", "value": "Book Antiqua" }, { "label": "Palatino", "value": "Palatino" }, { "label": "Tahoma", "value": "Tahoma" }, { "label": "Geneva", "value": "Geneva" }, { "label": "Times New Roman", "value": "Times New Roman" }, { "label": "Verdana", "value": "Verdana" }, { "label": "Monaco", "value": "Monaco" } ] } } } }';
174
  $table_responsive = '{ "general": { "name": "General", "key": "general", "has_pro": "false", "options": { "enable_responsive_table": { "label": "Enable Responsive Table", "type": "switch", "value": "true" } } }, "mode_options": { "name": "Mode Options", "key": "mode_options", "has_pro": "false", "options": { "devices": { "mobile": { "name": "Mobile", "key": "mobile", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": "false" }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": true }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 1, "min": "1", "max": "5" } }, "tablet": { "name": "Tablet", "key": "tablet", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": "false" }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "true" }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 2, "min": "1", "max": "5" } }, "desktop": { "name": "Desktop", "key": "desktop", "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "false", "disable": "true" }, "static_top_row": { "label": "Static Top Row", "key": "static_top_row", "type": "switch", "value": "false", "disable": "true" } } } } } }';
175
 
176
  return [
@@ -184,7 +184,7 @@ class ReadyMadeTable
184
  {
185
 
186
  $table_data = '{ "id": 175, "table_name": "Schedule Table 2", "data": [ { "rows": { "column_1": { "style": { "tdId": 52777, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 201632, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Time", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 27273, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "646721", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Saturday", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_3": { "style": { "tdId": 11764, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "873134", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Sunday", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_4": { "style": { "tdId": 99259, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "846373", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Monday", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_5": { "style": { "tdId": 64385, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "093261", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Tuesday", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_6": { "style": { "tdId": 85310, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "793630", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Wednesday", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_7": { "style": { "tdId": 90315, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "439554", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Thursday", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_8": { "style": { "tdId": 37921, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 849493, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Friday", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] } }, "style": { "trId": 7522, "backgroundColor": "", "rowHeight": 70 } }, { "style": { "trId": "744", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_1": { "style": { "tdId": "0044", "backgroundColor": "", "columnWidth": 150, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "485806", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "10:00AM - 11:30AM", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "6746", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "905606", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Physics", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": "0517", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "646482", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Math", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": "4641", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "661915", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Physics", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_5": { "style": { "tdId": "5109", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "464474", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Chemistry", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_6": { "style": { "tdId": "0944", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "429886", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Geometry", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_7": { "style": { "tdId": "4297", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "140649", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Statistics", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_8": { "style": { "tdId": "0950", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "146008", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close", "style": { "color": "#000000", "fontSize": 15, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } } }, { "rows": { "column_1": { "style": { "tdId": 80750, "backgroundColor": "", "columnWidth": 150, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 213819, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "10:00AM - 11:30AM", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": 80527, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 381302, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Physics", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": 47705, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 872922, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Math", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": 39019, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 657068, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Physics", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_5": { "style": { "tdId": 91608, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 635595, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Chemistry", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_6": { "style": { "tdId": 75445, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 607163, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Geometry", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_7": { "style": { "tdId": 45813, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 667186, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Statistics", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_8": { "style": { "tdId": 12218, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "796282", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close", "style": { "color": "#000000", "fontSize": 15, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } }, "style": { "trId": 9426, "backgroundColor": "", "rowHeight": 50 } }, { "style": { "trId": "691", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_1": { "style": { "tdId": "6009", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "003899", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "11:40AM - 1:00PM", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "1060", "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "000060", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Math", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": "3099", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "663919", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Physics", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": "9901", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "009004", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Chemistry", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_5": { "style": { "tdId": "0819", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "090019", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close", "style": { "color": "#000000", "fontSize": 15, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_6": { "style": { "tdId": "9989", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "011099", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Statistics", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_7": { "style": { "tdId": "8190", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "999839", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Geometry", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_8": { "style": { "tdId": "0000", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "909091", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Economics", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "rows": { "column_1": { "style": { "tdId": 11366, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 242021, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "2:00PM - 2:50PM", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": 48048, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 542941, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Group Discussion", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": 65772, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 134396, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Science", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": 12751, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 359831, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "English", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_5": { "style": { "tdId": 95362, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 665948, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Language", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_6": { "style": { "tdId": 52906, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 671858, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Group Discussion", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_7": { "style": { "tdId": 73538, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 643419, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Language", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_8": { "style": { "tdId": 24931, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 468610, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Group Discussion", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } }, "style": { "trId": 9705, "backgroundColor": "", "rowHeight": 50 } }, { "style": { "trId": "560", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_1": { "style": { "tdId": "0660", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "044660", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "11:40AM - 1:00PM", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "9000", "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "440060", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Math", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": "0190", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "860468", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Physics", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": "0186", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "046060", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Chemistry", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_5": { "style": { "tdId": "9084", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "066604", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close", "style": { "color": "#000000", "fontSize": 15, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_6": { "style": { "tdId": "1001", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "148810", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Statistics", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_7": { "style": { "tdId": "0498", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "046068", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Geometry", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_8": { "style": { "tdId": "8800", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "496040", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Economics", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "rows": { "column_1": { "style": { "tdId": 58639, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 391438, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "11:40AM - 1:00PM", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": 50191, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 957004, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Math", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": 64615, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 973647, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Physics", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": 69534, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 113948, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Chemistry", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_5": { "style": { "tdId": 25927, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "40173", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close", "style": { "color": "#000000", "fontSize": 15, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_6": { "style": { "tdId": 40151, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 486293, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Statistics", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_7": { "style": { "tdId": 95881, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 412015, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Geometry", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_8": { "style": { "tdId": 50727, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 691973, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Economics", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } }, "style": { "trId": 8763, "backgroundColor": "", "rowHeight": 50 } }, { "rows": { "column_1": { "style": { "tdId": 39599, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 898305, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "3:00PM - 4:00PM", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": 54639, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "264906", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Cultural Activities", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": 30362, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "297694", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Cultural Activities", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": 77377, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "144284", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Cultural Activities", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_5": { "style": { "tdId": 23674, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "081009", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Cultural Activities", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_6": { "style": { "tdId": 47638, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "449730", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Cultural Activities", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_7": { "style": { "tdId": 76161, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "203844", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Cultural Activities", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_8": { "style": { "tdId": 97788, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "843812", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Cultural Activities", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } }, "style": { "trId": 8871, "backgroundColor": "", "rowHeight": 50 } }, { "style": { "trId": "665", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_1": { "style": { "tdId": "9036", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "600566", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "11:40AM - 1:00PM", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "0691", "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "664906", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Math", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": "0106", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "670675", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Physics", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": "6110", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "639881", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Chemistry", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_5": { "style": { "tdId": "5604", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "608477", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close", "style": { "color": "#000000", "fontSize": 15, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_6": { "style": { "tdId": "6300", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "567349", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Statistics", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_7": { "style": { "tdId": "9570", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "068660", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Geometry", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_8": { "style": { "tdId": "9183", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "000486", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Economics", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } } ], "headers": [ "column_1", "column_2", "column_3", "column_4", "column_5", "column_6", "column_7", "column_8" ], "table": { "tr": 9, "tc": 8, "merge": { "history": [] } } }';
187
- $table_settings = '{ "general": { "name": "General", "key": "general", "has_pro": false, "options": { "cell_padding": { "label": "Cell Padding", "type": "slider", "value": 10, "min": 0, "max": 50 }, "table_alignment": { "label": "Table Alignment", "type": "alignment", "value": "center" }, "columns_rows_separate": { "label": "Separate Columns/Rows", "type": "switch", "value": "false", "childs": { "space_between_column": { "label": "Space Between Columns", "type": "slider", "value": "3", "min": 0, "max": 50 }, "space_between_row": { "label": "Space Between Rows", "type": "slider", "value": "3", "min": 0, "max": 50 } } }, "container_max_width_switch": { "label": "Table Container Max Width", "type": "switch", "value": false, "childs": { "container_max_width": { "label": "Table Container Max Width", "type": "slider", "value": 700, "min": 100, "max": 5000 } } }, "cell_min_auto_width": { "label": "Table Cell Min Auto Width", "type": "slider", "value": 160, "min": 10, "max": 500 }, "container_max_height": { "label": "Table Container Max Height", "type": "slider", "value": 500, "min": 100, "max": 2000 } } }, "background": { "name": "Background", "key": "background", "has_pro": false, "options": { "header_background": { "label": "Header Background", "type": "color", "value": "rgb(180, 19, 119)" }, "even_row_background": { "label": "Even Row Background", "type": "color", "value": "#D3F8DA" }, "odd_row_background": { "label": "Odd Row Background", "type": "color", "value": "#E9ECFF" } } }, "sticky": { "name": "Sticky", "key": "sticky", "has_pro": false, "options": { "first_row_sticky": { "label": "First Row Sticky", "type": "switch", "value": true }, "first_column_sticky": { "label": "First Column Sticky", "type": "switch", "value": null } } }, "accessibility": { "name": "Accessibility", "key": "accessibility", "has_pro": false, "options": { "table_role": { "label": "Table Role", "type": "select", "value": "table", "items": [ { "label": "Table", "value": "table" }, { "label": "Presentation", "value": "presentation" }, { "label": "List", "value": "list" }, { "label": "Row Group", "value": "rowgroup" } ] } } }, "border": { "name": "Border", "key": "border", "has_pro": false, "options": { "table_border": { "label": "Table Border", "type": "slider", "value": 1, "min": 0, "max": 50 }, "border_color": { "label": "Border Color", "type": "color", "value": "#8A36E0" }, "inner_border": { "label": "Apply Inner Border", "type": "switch", "value": false, "childs": { "header_inner_border": { "label": "Header Inner Border", "type": "switch", "value": false }, "inner_border_color": { "label": "Inner Border Color", "type": "color", "value": "" }, "inner_border_size": { "label": "Inner Border Size", "type": "slider", "value": 0, "min": 0, "max": 50 } } } } }, "global_styling": { "name": "Global Style", "key": "global_styling", "has_pro": false, "options": { "margin_top": { "label": "Margin Top", "type": "slider", "value": 0, "min": 0, "max": 100 }, "font_size": { "label": "Font Size", "type": "slider", "value": 15, "min": 12, "max": 40 }, "color": { "label": "Color", "type": "color", "value": "#000000" }, "font_family": { "label": "Font Family", "type": "select", "value": "Georgia", "items": [ { "label": "Inherit", "value": "inherit" }, { "label": "Arial", "value": "Arial" }, { "label": "Helvetica", "value": "Helvetica" }, { "label": "Comic Sans", "value": "Comic Sans" }, { "label": "Courier New", "value": "Courier New" }, { "label": "Georgia", "value": "Georgia" }, { "label": "Impact", "value": "Impact" }, { "label": "Charcoal", "value": "Charcoal" }, { "label": "Lucida Grande", "value": "Lucida Grande" }, { "label": "Palatino Linotype", "value": "Palatino Linotype" }, { "label": "Book Antiqua", "value": "Book Antiqua" }, { "label": "Palatino", "value": "Palatino" }, { "label": "Tahoma", "value": "Tahoma" }, { "label": "Geneva", "value": "Geneva" }, { "label": "Times New Roman", "value": "Times New Roman" }, { "label": "Verdana", "value": "Verdana" }, { "label": "Monaco", "value": "Monaco" } ] } } } }';
188
  $table_responsive = '{ "general": { "name": "General", "key": "general", "has_pro": "false", "options": { "enable_responsive_table": { "label": "Enable Responsive Table", "type": "switch", "value": "true" } } }, "mode_options": { "name": "Mode Options", "key": "mode_options", "has_pro": "false", "options": { "devices": { "mobile": { "name": "Mobile", "key": "mobile", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": "false" }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": false }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 1, "min": "1", "max": "5" } }, "tablet": { "name": "Tablet", "key": "tablet", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": "false" }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "true" }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 2, "min": "1", "max": "5" } }, "desktop": { "name": "Desktop", "key": "desktop", "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "false", "disable": "true" }, "static_top_row": { "label": "Static Top Row", "key": "static_top_row", "type": "switch", "value": "false", "disable": "true" } } } } } }';
189
 
190
  return [
31
  {
32
 
33
  $table_data = '{ "id": 617, "table_name": "Pricing Table 1", "data": [ { "rows": { "column_0": { "style": { "tdId": 93237, "backgroundColor": "#2B659A", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 811833, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "DELUXE", "style": { "fontSize": 25, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } }, { "id": "67787", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "For Large Business", "style": { "fontSize": 15, "color": "#DDDDDD", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": "7472", "backgroundColor": "#B53887", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "815650771", "data": { "name": "Ribbon", "type": "ribbon", "icon": "el-icon-collection-tag", "has_pro": true, "value": "Popular", "style": { "ribbonType": "corner", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "ribbonPosition": "left", "color": "#DDDDDD", "fontSize": 10, "backgroundColor": "#5C4DA2", "width": 245, "height": 10, "bookmarkHeight": 36, "bookmarkWidth": 55, "sideHeight": 17, "sideWidth": 55, "horizontalWidth": 170, "horizontalHeight": 25, "xAxis": -10, "yAxis": -52, "cornerXAxis": -13, "horizontalXAxis": -10, "textXAxis": 24, "textYAxis": -6, "fontWeight": [ "bold" ] } } }, { "id": "177128", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "STANDARD", "style": { "fontSize": 25, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } }, { "id": "477017", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "For Small Business", "style": { "fontSize": 15, "color": "#DDDDDD", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": "8383", "backgroundColor": "#DD4E16", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "638906", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "FREE", "style": { "fontSize": 25, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } }, { "id": "799988", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "For Regular Business", "style": { "fontSize": 15, "color": "#DDDDDD", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } }, "style": { "trId": 6383, "backgroundColor": "", "rowHeight": 150 } }, { "rows": { "column_0": { "style": { "tdId": 69443, "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "801241", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "$99/ month", "style": { "fontSize": 18, "color": "#2B659A", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "italic", "bold" ] } } } ] }, "column_3": { "style": { "tdId": "8577", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "668078", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "$59/ month", "style": { "fontSize": 18, "color": "#C71585", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "italic", "bold" ] } } } ] }, "column_4": { "style": { "tdId": "0441", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "505588", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "$00/ month", "style": { "fontSize": 18, "color": "rgb(221, 78, 22)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "italic", "bold" ] } } } ] } }, "style": { "trId": 4336, "backgroundColor": "", "rowHeight": 50 } }, { "style": { "trId": "280", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_4": { "style": { "tdId": "4200", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "020022", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Unlimited Pages", "style": { "iconColor": "#379D13", "iconFontSize": 20, "iconName": "checkmark-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_3": { "style": { "tdId": "4004", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "881198", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Unlimited Pages", "style": { "iconColor": "#379D13", "iconFontSize": 20, "iconName": "checkmark-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_0": { "style": { "tdId": "0211", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "018812", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Unlimited Pages", "style": { "iconColor": "#379D13", "iconFontSize": 20, "iconName": "checkmark-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } } }, { "style": { "trId": "861", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_4": { "style": { "tdId": "2622", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "244240", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "All Templates & Blocks", "style": { "iconColor": "#379D13", "iconFontSize": 20, "iconName": "checkmark-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_3": { "style": { "tdId": "2200", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "348286", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "All Templates & Blocks", "style": { "iconColor": "#379D13", "iconFontSize": 20, "iconName": "checkmark-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_0": { "style": { "tdId": "2243", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "104461", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "All Templates & Blocks", "style": { "iconColor": "#379D13", "iconFontSize": 20, "iconName": "checkmark-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } } }, { "style": { "trId": "110", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_4": { "style": { "tdId": "8335", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "880340", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Contact & Subscribe Forms", "style": { "iconColor": "#379D13", "iconFontSize": 20, "iconName": "checkmark-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_3": { "style": { "tdId": "4804", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "333411", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Contact & Subscribe Forms", "style": { "iconColor": "#379D13", "iconFontSize": 20, "iconName": "checkmark-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_0": { "style": { "tdId": "0151", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "583536", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Contact & Subscribe Forms", "style": { "iconColor": "#379D13", "iconFontSize": 20, "iconName": "checkmark-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } } }, { "style": { "trId": "646", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_4": { "style": { "tdId": "8488", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "246042", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Free SSL/TLS Certificate", "style": { "iconColor": "#379D13", "iconFontSize": 20, "iconName": "checkmark-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_3": { "style": { "tdId": "8104", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "866244", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Free SSL/TLS Certificate", "style": { "iconColor": "#379D13", "iconFontSize": 20, "iconName": "checkmark-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_0": { "style": { "tdId": "6285", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "644486", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Free SSL/TLS Certificate", "style": { "iconColor": "#379D13", "iconFontSize": 20, "iconName": "checkmark-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } } }, { "style": { "trId": "668", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_4": { "style": { "tdId": "0236", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "289430", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Remove Branding", "style": { "iconColor": "#FF4500", "iconFontSize": 20, "iconName": "close-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_3": { "style": { "tdId": "9411", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "831079", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Remove Branding", "style": { "iconColor": "#379D13", "iconFontSize": 20, "iconName": "checkmark-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_0": { "style": { "tdId": "0860", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "839701", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Remove Branding", "style": { "iconColor": "#379D13", "iconFontSize": 20, "iconName": "checkmark-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } } }, { "style": { "trId": "946", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_4": { "style": { "tdId": "7193", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "623006", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Custom Form", "style": { "iconColor": "#FF4500", "iconFontSize": 20, "iconName": "close-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_3": { "style": { "tdId": "0946", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "943394", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Custom Form", "style": { "iconColor": "#379D13", "iconFontSize": 20, "iconName": "checkmark-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_0": { "style": { "tdId": "1912", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "439901", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Custom Form", "style": { "iconColor": "#379D13", "iconFontSize": 20, "iconName": "checkmark-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } } }, { "style": { "trId": "188", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_4": { "style": { "tdId": "1486", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "197844", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Payment Integration", "style": { "iconColor": "#FF4500", "iconFontSize": 20, "iconName": "close-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_3": { "style": { "tdId": "4182", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "866971", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Payment Integration", "style": { "iconColor": "#FF4500", "iconFontSize": 20, "iconName": "close-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_0": { "style": { "tdId": "7198", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "897077", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Payment Integration", "style": { "iconColor": "#379D13", "iconFontSize": 20, "iconName": "checkmark-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } } }, { "style": { "trId": "878", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_4": { "style": { "tdId": "6881", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "287053", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Export HTML/CSS/JS", "style": { "iconColor": "#FF4500", "iconFontSize": 20, "iconName": "close-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_3": { "style": { "tdId": "7417", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "088858", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Export HTML/CSS/JS", "style": { "iconColor": "#FF4500", "iconFontSize": 20, "iconName": "close-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_0": { "style": { "tdId": "3080", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "710848", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Export HTML/CSS/JS", "style": { "iconColor": "#379D13", "iconFontSize": 20, "iconName": "checkmark-circle", "iconPosition": "left", "itemSpacing": 0, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } } } ], "headers": [ "column_3", "column_4", "column_0" ], "table": { "tr": 10, "tc": 3, "merge": { "history": [] } } }';
34
+ $table_settings = '{ "general": { "name": "General", "key": "general", "has_pro": false, "options": { "cell_padding": { "label": "Cell Padding", "type": "slider", "value": 10, "min": 0, "max": 50 }, "table_alignment": { "label": "Table Alignment", "type": "alignment", "value": "center" }, "columns_rows_separate": { "label": "Separate Columns/Rows", "type": "switch", "value": "false", "childs": { "space_between_column": { "label": "Space Between Columns", "type": "slider", "value": "3", "min": 0, "max": 50 }, "space_between_row": { "label": "Space Between Rows", "type": "slider", "value": "3", "min": 0, "max": 50 } } }, "container_max_width_switch": { "label": "Table Container Max Width", "type": "switch", "value": "false", "childs": { "container_max_width": { "label": "Table Container Max Width", "type": "slider", "value": "700", "min": 100, "max": 5000 } } }, "cell_min_auto_width": { "label": "Table Cell Min Auto Width", "type": "slider", "value": 150, "min": 10, "max": 500 }, "container_max_height": { "label": "Table Container Max Height", "type": "slider", "value": 500, "min": 100, "max": 2000 } } }, "background": { "name": "Background", "key": "background", "has_pro": false, "options": { "header_background": { "label": "Header Background", "type": "color", "value": "#dddddd" }, "even_row_background": { "label": "Even Row Background", "type": "color", "value": "#F8F1F1" }, "odd_row_background": { "label": "Odd Row Background", "type": "color", "value": "#ffffff" } } }, "sticky": { "name": "Sticky", "key": "sticky", "has_pro": false, "options": { "first_row_sticky": { "label": "First Row Sticky", "type": "switch", "value": false }, "first_column_sticky": { "label": "First Column Sticky", "type": "switch", "value": false } } }, "accessibility": { "name": "Accessibility", "key": "accessibility", "has_pro": false, "options": { "table_role": { "label": "Table Role", "type": "select", "value": "table", "items": [ { "label": "Table", "value": "table" }, { "label": "Presentation", "value": "presentation" }, { "label": "List", "value": "list" }, { "label": "Row Group", "value": "rowgroup" } ] } } }, "border": { "name": "Border", "key": "border", "has_pro": false, "options": { "table_border": { "label": "Table Border", "type": "slider", "value": 2, "min": 0, "max": 50 }, "border_color": { "label": "Border Color", "type": "color", "value": "#DDDDDD" }, "inner_border": { "label": "Apply Inner Border", "type": "switch", "value": "true", "childs": { "header_inner_border": { "label": "Header Inner Border", "type": "switch", "value": "true" }, "inner_border_color": { "label": "Inner Border Color", "type": "color", "value": "#DDDDDD" }, "inner_border_size": { "label": "Inner Border Size", "type": "slider", "value": 3, "min": 0, "max": 50 } } } } }, "global_styling": { "name": "Global Style", "key": "global_styling", "has_pro": false, "options": { "margin_top": { "label": "Margin Top", "type": "slider", "value": 0, "min": 0, "max": 100 }, "font_size": { "label": "Font Size", "type": "slider", "value": 15, "min": 12, "max": 40 }, "color": { "label": "Color", "type": "color", "value": "#000000" }, "font_family": { "label": "Font Family", "type": "select", "value": "Georgia", "items": [ { "label": "Inherit", "value": "inherit" }, { "label": "Arial", "value": "Arial" }, { "label": "Helvetica", "value": "Helvetica" }, { "label": "Comic Sans", "value": "Comic Sans" }, { "label": "Courier New", "value": "Courier New" }, { "label": "Georgia", "value": "Georgia" }, { "label": "Impact", "value": "Impact" }, { "label": "Charcoal", "value": "Charcoal" }, { "label": "Lucida Grande", "value": "Lucida Grande" }, { "label": "Palatino Linotype", "value": "Palatino Linotype" }, { "label": "Book Antiqua", "value": "Book Antiqua" }, { "label": "Palatino", "value": "Palatino" }, { "label": "Tahoma", "value": "Tahoma" }, { "label": "Geneva", "value": "Geneva" }, { "label": "Times New Roman", "value": "Times New Roman" }, { "label": "Verdana", "value": "Verdana" }, { "label": "Monaco", "value": "Monaco" } ] } } } }';
35
  $table_responsive = '{ "general": { "name": "General", "key": "general", "has_pro": "false", "options": { "enable_responsive_table": { "label": "Enable Responsive Table", "type": "switch", "value": "true" } } }, "mode_options": { "name": "Mode Options", "key": "mode_options", "has_pro": "false", "options": { "devices": { "mobile": { "name": "Mobile", "key": "mobile", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": "false" }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "true" }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 1, "min": "1", "max": "5" } }, "tablet": { "name": "Tablet", "key": "tablet", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": false }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "true" }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 3, "min": "1", "max": "5" } }, "desktop": { "name": "Desktop", "key": "desktop", "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "false", "disable": "true" }, "static_top_row": { "label": "Static Top Row", "key": "static_top_row", "type": "switch", "value": "false", "disable": "true" } } } } } }';
36
 
37
  return [
57
  public function pricingTableThree()
58
  {
59
  $table_data = '{ "id": 423, "table_name": "Pricing Table 3", "data": [ { "rows": { "column_0": { "style": { "tdId": 83973, "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "22718", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "help-buoy", "style": { "color": "#FFFDFD", "fontSize": 75, "alignment": "center", "margin": { "top": 4, "bottom": 4, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } }, { "id": 304067, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "STARTUP", "style": { "fontSize": 20, "color": "#FBFBFB", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } }, { "id": "351069", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Perfect For Small Business", "style": { "fontSize": 14, "color": "rgb(221, 221, 221)", "alignment": "center", "margin": { "top": 7, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "italic" ] } } } ] }, "column_1": { "style": { "tdId": 10538, "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "347043", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "bookmarks", "style": { "color": "#FFFFFF", "fontSize": 60, "alignment": "center", "margin": { "top": 10, "bottom": 10, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } }, { "id": 955546, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "ENTERPRICE", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } }, { "id": "030166", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Perfect For Medium Business", "style": { "fontSize": 14, "color": "rgb(221, 221, 221)", "alignment": "center", "margin": { "top": 7, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "italic" ] } } } ] }, "column_2": { "style": { "tdId": 35613, "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "082861", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "logo-chrome", "style": { "color": "#FFFFFF", "fontSize": 75, "alignment": "center", "margin": { "top": 10, "bottom": 10, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } }, { "id": 279033, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "SUPER", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } }, { "id": "846003", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Perfect For Large Business", "style": { "fontSize": 14, "color": "rgb(221, 221, 221)", "alignment": "center", "margin": { "top": 7, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "italic" ] } } } ] } }, "style": { "trId": 2157, "backgroundColor": "", "rowHeight": 50 } }, { "rows": { "column_0": { "style": { "tdId": 26459, "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 2, "colspan": 1 }, "columns": [ { "id": "46694", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": true, "value": "100 GB of Space", "style": { "iconColor": "#379D13", "iconFontSize": 18, "iconName": "arrow-forward-circle", "iconPosition": "left", "itemSpacing": 5, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [ "italic" ], "margin": { "top": 5, "bottom": 3, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } }, { "id": "102171", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": true, "value": "Support at $25/hr", "style": { "iconColor": "#379D13", "iconFontSize": 18, "iconName": "arrow-forward-circle", "iconPosition": "left", "itemSpacing": 5, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [ "italic" ], "margin": { "top": 0, "bottom": 3, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } }, { "id": "255150", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": true, "value": "Disk Space: 25 GB", "style": { "iconColor": "#379D13", "iconFontSize": 18, "iconName": "arrow-forward-circle", "iconPosition": "left", "itemSpacing": 5, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [ "italic" ], "margin": { "top": 0, "bottom": 3, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } }, { "id": "680711", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": true, "value": "Free SSL/TLS Certificate", "style": { "iconColor": "#379D13", "iconFontSize": 18, "iconName": "arrow-forward-circle", "iconPosition": "left", "itemSpacing": 5, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [ "italic" ], "margin": { "top": 0, "bottom": 3, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } }, { "id": "761466", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": true, "value": "Network Port: 50 Mbps", "style": { "iconColor": "#379D13", "iconFontSize": 18, "iconName": "arrow-forward-circle", "iconPosition": "left", "itemSpacing": 5, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [ "italic" ], "margin": { "top": 0, "bottom": 3, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } }, { "id": "106111", "data": { "name": "Button", "type": "button", "icon": "el-icon-bank-card", "has_pro": false, "value": "SIGN UP", "style": { "fontSize": 15, "color": "#FFFFFF", "backgroundColor": "#379D13", "borderColor": "#000000", "borderSize": 0, "borderRadius": 27, "isHover": false, "hoverColor": "", "hoverBackgroundColor": "#1E90FF", "hoverBorderColor": "#000000", "hoverBorderSize": "", "hoverIconColor": "", "transition": 1, "fullWidth": false, "url": "https://wpmanageninja.com/downloads/ninja-tables-pro-add-on/", "newTab": true, "contentAlignment": "center", "alignment": "center", "fontWeight": [ "bold" ], "margin": { "top": 10, "bottom": 20, "left": 0, "right": 0 }, "padding": { "top": 5, "bottom": 5, "left": 50, "right": 50 }, "iconColor": "#000000", "iconFontSize": 15, "iconName": "", "iconPosition": "left" } } } ] }, "column_1": { "style": { "tdId": 18194, "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 2, "colspan": 1 }, "columns": [ { "id": "447054", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": true, "value": "200 GB of Space", "style": { "iconColor": "#379D13", "iconFontSize": 18, "iconName": "arrow-forward-circle", "iconPosition": "left", "itemSpacing": 5, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [ "italic" ], "margin": { "top": 5, "bottom": 3, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } }, { "id": "487730", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": true, "value": "Support at $20/hr", "style": { "iconColor": "#379D13", "iconFontSize": 18, "iconName": "arrow-forward-circle", "iconPosition": "left", "itemSpacing": 5, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [ "italic" ], "margin": { "top": 0, "bottom": 3, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } }, { "id": "477075", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": true, "value": "Disk Space: 50 GB", "style": { "iconColor": "#379D13", "iconFontSize": 18, "iconName": "arrow-forward-circle", "iconPosition": "left", "itemSpacing": 5, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [ "italic" ], "margin": { "top": 0, "bottom": 3, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } }, { "id": "007063", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": true, "value": "Free SSL/TLS Certificate", "style": { "iconColor": "#379D13", "iconFontSize": 18, "iconName": "arrow-forward-circle", "iconPosition": "left", "itemSpacing": 5, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [ "italic" ], "margin": { "top": 0, "bottom": 3, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } }, { "id": "407446", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": true, "value": "Network Port: 75 Mbps", "style": { "iconColor": "#379D13", "iconFontSize": 18, "iconName": "arrow-forward-circle", "iconPosition": "left", "itemSpacing": 5, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [ "italic" ], "margin": { "top": 0, "bottom": 3, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } }, { "id": "810181", "data": { "name": "Button", "type": "button", "icon": "el-icon-bank-card", "has_pro": false, "value": "SIGN UP", "style": { "fontSize": 15, "color": "#FFFFFF", "backgroundColor": "#379D13", "borderColor": "#000000", "borderSize": 0, "borderRadius": 27, "isHover": false, "hoverColor": "", "hoverBackgroundColor": "#1E90FF", "hoverBorderColor": "#000000", "hoverBorderSize": "", "hoverIconColor": "", "transition": 1, "fullWidth": false, "url": "https://wpmanageninja.com/downloads/ninja-tables-pro-add-on/", "newTab": true, "contentAlignment": "center", "alignment": "center", "fontWeight": [ "bold" ], "margin": { "top": 10, "bottom": 20, "left": 0, "right": 0 }, "padding": { "top": 5, "bottom": 5, "left": 50, "right": 50 }, "iconColor": "#000000", "iconFontSize": 15, "iconName": "", "iconPosition": "left" } } } ] }, "column_2": { "style": { "tdId": 97981, "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 2, "colspan": 1 }, "columns": [ { "id": "417467", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": true, "value": "300 GB of Space", "style": { "iconColor": "#379D13", "iconFontSize": 18, "iconName": "arrow-forward-circle", "iconPosition": "left", "itemSpacing": 5, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [ "italic" ], "margin": { "top": 5, "bottom": 3, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } }, { "id": "789869", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": true, "value": "Support at $15/hr", "style": { "iconColor": "#379D13", "iconFontSize": 18, "iconName": "arrow-forward-circle", "iconPosition": "left", "itemSpacing": 5, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [ "italic" ], "margin": { "top": 0, "bottom": 3, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } }, { "id": "704676", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": true, "value": "Disk Space: 75 GB", "style": { "iconColor": "#379D13", "iconFontSize": 18, "iconName": "arrow-forward-circle", "iconPosition": "left", "itemSpacing": 5, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [ "italic" ], "margin": { "top": 0, "bottom": 3, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } }, { "id": "717661", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": true, "value": "Free SSL/TLS Certificate", "style": { "iconColor": "#379D13", "iconFontSize": 18, "iconName": "arrow-forward-circle", "iconPosition": "left", "itemSpacing": 5, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [ "italic" ], "margin": { "top": 0, "bottom": 3, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } }, { "id": "777061", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": true, "value": "Network Port: 100 Mbps", "style": { "iconColor": "#379D13", "iconFontSize": 18, "iconName": "arrow-forward-circle", "iconPosition": "left", "itemSpacing": 5, "color": "#000000", "fontSize": 15, "alignment": "left", "fontWeight": [ "italic" ], "margin": { "top": 0, "bottom": 3, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } }, { "id": "60771", "data": { "name": "Button", "type": "button", "icon": "el-icon-bank-card", "has_pro": false, "value": "SIGN UP", "style": { "fontSize": 15, "color": "#FFFFFF", "backgroundColor": "#379D13", "borderColor": "#000000", "borderSize": 0, "borderRadius": 27, "isHover": false, "hoverColor": "", "hoverBackgroundColor": "#1E90FF", "hoverBorderColor": "#000000", "hoverBorderSize": "", "hoverIconColor": "", "transition": 1, "fullWidth": false, "url": "https://wpmanageninja.com/downloads/ninja-tables-pro-add-on/", "newTab": true, "contentAlignment": "center", "alignment": "center", "fontWeight": [ "bold" ], "margin": { "top": 10, "bottom": 20, "left": 0, "right": 0 }, "padding": { "top": 5, "bottom": 5, "left": 50, "right": 50 }, "iconColor": "#000000", "iconFontSize": 15, "iconName": "", "iconPosition": "left" } } } ] } }, "style": { "trId": 8529, "backgroundColor": "", "rowHeight": 50 } }, { "rows": { "column_0": { "style": { "tdId": 18859, "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 0, "colspan": 0 }, "columns": [ { "id": "60771", "data": { "name": "Button", "type": "button", "icon": "el-icon-bank-card", "has_pro": false, "value": "SIGN UP", "style": { "fontSize": 15, "color": "#FFFFFF", "backgroundColor": "#379D13", "borderColor": "#000000", "borderSize": 0, "borderRadius": 27, "isHover": false, "hoverColor": "", "hoverBackgroundColor": "#1E90FF", "hoverBorderColor": "#000000", "hoverBorderSize": "", "hoverIconColor": "", "transition": 1, "fullWidth": false, "url": "https://wpmanageninja.com", "newTab": true, "contentAlignment": "center", "alignment": "center", "fontWeight": [ "bold" ], "margin": { "top": 10, "bottom": 20, "left": 0, "right": 0 }, "padding": { "top": 5, "bottom": 5, "left": 50, "right": 50 }, "iconColor": "#000000", "iconFontSize": 15, "iconName": "", "iconPosition": "left" } } } ] }, "column_1": { "style": { "tdId": 53161, "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 0, "colspan": 0 }, "columns": [ { "id": "110986", "data": { "name": "Button", "type": "button", "icon": "el-icon-bank-card", "has_pro": false, "value": "SIGN UP", "style": { "fontSize": 15, "color": "#FFFFFF", "backgroundColor": "#379D13", "borderColor": "#000000", "borderSize": 0, "borderRadius": 27, "isHover": false, "hoverColor": "", "hoverBackgroundColor": "#1E90FF", "hoverBorderColor": "#000000", "hoverBorderSize": "", "hoverIconColor": "", "transition": 1, "fullWidth": false, "url": "https://wpmanageninja.com", "newTab": true, "contentAlignment": "center", "alignment": "center", "fontWeight": [ "bold" ], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 5, "bottom": 5, "left": 50, "right": 50 }, "iconColor": "#000000", "iconFontSize": 15, "iconName": "", "iconPosition": "left" } } } ] }, "column_2": { "style": { "tdId": 96371, "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 0, "colspan": 0 }, "columns": [ { "id": "738607", "data": { "name": "Button", "type": "button", "icon": "el-icon-bank-card", "has_pro": false, "value": "SIGN UP", "style": { "fontSize": 15, "color": "#FFFFFF", "backgroundColor": "#379D13", "borderColor": "#000000", "borderSize": 0, "borderRadius": 27, "isHover": false, "hoverColor": "", "hoverBackgroundColor": "#1E90FF", "hoverBorderColor": "#000000", "hoverBorderSize": "", "hoverIconColor": "", "transition": 1, "fullWidth": false, "url": "https://wpmanageninja.com", "newTab": true, "contentAlignment": "center", "alignment": "center", "fontWeight": [ "bold" ], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 5, "bottom": 5, "left": 50, "right": 50 }, "iconColor": "#000000", "iconFontSize": 15, "iconName": "", "iconPosition": "left" } } } ] } }, "style": { "trId": 7368, "backgroundColor": "", "rowHeight": "" } } ], "headers": [ "column_0", "column_1", "column_2" ], "table": { "tr": "3", "tc": 3, "merge": { "history": { "18194": [ { "rowIndex": 1, "columnIndex": 1, "headerIndex": "1" }, { "rowIndex": 2, "columnIndex": 1, "headerIndex": "1" } ], "26459": [ { "rowIndex": 1, "columnIndex": 0, "headerIndex": "0" }, { "rowIndex": 2, "columnIndex": 0, "headerIndex": "0" } ], "97981": [ { "rowIndex": 1, "columnIndex": 2, "headerIndex": "2" }, { "rowIndex": 2, "columnIndex": 2, "headerIndex": "2" } ] } } } }';
60
+ $table_settings = '{ "general": { "name": "General", "key": "general", "has_pro": false, "options": { "cell_padding": { "label": "Cell Padding", "type": "slider", "value": 10, "min": 0, "max": 50 }, "table_alignment": { "label": "Table Alignment", "type": "alignment", "value": "center" }, "columns_rows_separate": { "label": "Separate Columns/Rows", "type": "switch", "value": "false", "childs": { "space_between_column": { "label": "Space Between Columns", "type": "slider", "value": "3", "min": 0, "max": 50 }, "space_between_row": { "label": "Space Between Rows", "type": "slider", "value": "3", "min": 0, "max": 50 } } }, "container_max_width_switch": { "label": "Table Container Max Width", "type": "switch", "value": "false", "childs": { "container_max_width": { "label": "Table Container Max Width", "type": "slider", "value": "700", "min": 100, "max": 5000 } } }, "cell_min_auto_width": { "label": "Table Cell Min Auto Width", "type": "slider", "value": 150, "min": 10, "max": 500 }, "container_max_height": { "label": "Table Container Max Height", "type": "slider", "value": 500, "min": 100, "max": 2000 } } }, "background": { "name": "Background", "key": "background", "has_pro": false, "options": { "header_background": { "label": "Header Background", "type": "color", "value": "#253148" }, "even_row_background": { "label": "Even Row Background", "type": "color", "value": "" }, "odd_row_background": { "label": "Odd Row Background", "type": "color", "value": "#ffffff" } } }, "sticky": { "name": "Sticky", "key": "sticky", "has_pro": false, "options": { "first_row_sticky": { "label": "First Row Sticky", "type": "switch", "value": false }, "first_column_sticky": { "label": "First Column Sticky", "type": "switch", "value": false } } }, "accessibility": { "name": "Accessibility", "key": "accessibility", "has_pro": false, "options": { "table_role": { "label": "Table Role", "type": "select", "value": "table", "items": [ { "label": "Table", "value": "table" }, { "label": "Presentation", "value": "presentation" }, { "label": "List", "value": "list" }, { "label": "Row Group", "value": "rowgroup" } ] } } }, "border": { "name": "Border", "key": "border", "has_pro": false, "options": { "table_border": { "label": "Table Border", "type": "slider", "value": 0, "min": 0, "max": 50 }, "border_color": { "label": "Border Color", "type": "color", "value": "" }, "inner_border": { "label": "Apply Inner Border", "type": "switch", "value": "true", "childs": { "header_inner_border": { "label": "Header Inner Border", "type": "switch", "value": "true" }, "inner_border_color": { "label": "Inner Border Color", "type": "color", "value": "#DDDDDD" }, "inner_border_size": { "label": "Inner Border Size", "type": "slider", "value": 3, "min": 0, "max": 50 } } } } }, "global_styling": { "name": "Global Style", "key": "global_styling", "has_pro": false, "options": { "margin_top": { "label": "Margin Top", "type": "slider", "value": 0, "min": 0, "max": 100 }, "font_size": { "label": "Font Size", "type": "slider", "value": 15, "min": 12, "max": 40 }, "color": { "label": "Color", "type": "color", "value": "#000000" }, "font_family": { "label": "Font Family", "type": "select", "value": "inherit", "items": [ { "label": "Inherit", "value": "inherit" }, { "label": "Arial", "value": "Arial" }, { "label": "Helvetica", "value": "Helvetica" }, { "label": "Comic Sans", "value": "Comic Sans" }, { "label": "Courier New", "value": "Courier New" }, { "label": "Georgia", "value": "Georgia" }, { "label": "Impact", "value": "Impact" }, { "label": "Charcoal", "value": "Charcoal" }, { "label": "Lucida Grande", "value": "Lucida Grande" }, { "label": "Palatino Linotype", "value": "Palatino Linotype" }, { "label": "Book Antiqua", "value": "Book Antiqua" }, { "label": "Palatino", "value": "Palatino" }, { "label": "Tahoma", "value": "Tahoma" }, { "label": "Geneva", "value": "Geneva" }, { "label": "Times New Roman", "value": "Times New Roman" }, { "label": "Verdana", "value": "Verdana" }, { "label": "Monaco", "value": "Monaco" } ] } } } }';
61
  $table_responsive = '{ "general": { "name": "General", "key": "general", "has_pro": "false", "options": { "enable_responsive_table": { "label": "Enable Responsive Table", "type": "switch", "value": "true" } } }, "mode_options": { "name": "Mode Options", "key": "mode_options", "has_pro": "false", "options": { "devices": { "mobile": { "name": "Mobile", "key": "mobile", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": true }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": false }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 1, "min": "1", "max": "5" } }, "tablet": { "name": "Tablet", "key": "tablet", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": "false" }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": true }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 2, "min": "1", "max": "5" } }, "desktop": { "name": "Desktop", "key": "desktop", "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "false", "disable": "true" }, "static_top_row": { "label": "Static Top Row", "key": "static_top_row", "type": "switch", "value": "false", "disable": "true" } } } } } }';
62
 
63
  return [
70
  public function pricingTableFour()
71
  {
72
  $table_data = '{ "id": 516, "table_name": "Pricing Table 4", "data": [ { "rows": { "column_0": { "style": { "tdId": 14590, "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 882427, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "BASIC", "style": { "fontSize": 20, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": 31573, "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 322413, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "STANDARD", "style": { "fontSize": 20, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": 92295, "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 178459, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "PREMIUM", "style": { "fontSize": 20, "color": "rgb(242, 242, 242)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } }, "style": { "trId": 1908, "backgroundColor": "", "rowHeight": 50 } }, { "rows": { "column_0": { "style": { "tdId": 89837, "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 540108, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "4.99$/per month", "style": { "fontSize": 25, "color": "rgb(231, 231, 231)", "alignment": "center", "margin": { "top": 18, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } }, { "id": "192259", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "with 4 days free trail", "style": { "fontSize": 12, "color": "#DDDDDD", "alignment": "center", "margin": { "top": 2, "bottom": 18, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": 77888, "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "912121", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "9.99$/per month", "style": { "fontSize": 25, "color": "rgb(231, 231, 231)", "alignment": "center", "margin": { "top": 18, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } }, { "id": "597515", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "with 4 days free trail", "style": { "fontSize": 12, "color": "#DDDDDD", "alignment": "center", "margin": { "top": 2, "bottom": 18, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": 69208, "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "512259", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "19.99$/per month", "style": { "fontSize": 25, "color": "rgb(231, 231, 231)", "alignment": "center", "margin": { "top": 18, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } }, { "id": "323582", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "with 4 days free trail", "style": { "fontSize": 12, "color": "#DDDDDD", "alignment": "center", "margin": { "top": 2, "bottom": 18, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } }, "style": { "trId": 6548, "backgroundColor": "", "rowHeight": 50 } }, { "rows": { "column_0": { "style": { "tdId": 31034, "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "955152", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "1 GB Disk Space", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": 19907, "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "652996", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "1 GB Disk Space", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": 88377, "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 858819, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "1 GB Disk Space", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } }, "style": { "trId": 9768, "backgroundColor": "", "rowHeight": 50 } }, { "rows": { "column_0": { "style": { "tdId": 73888, "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 726358, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "500 MB Bandwidth", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": 70415, "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 207958, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "2 GB Bandwidth", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": 60054, "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 886960, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "5 GB Bandwidth", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } }, "style": { "trId": 5653, "backgroundColor": "", "rowHeight": 50 } }, { "style": { "trId": "626", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "5882", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "165298", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "1 Sub Domain", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": "1096", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "156898", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "3 Sub Domain", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "5112", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "168248", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "10 Sub Domain", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "115", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "5515", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "110111", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "1 Email Account", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": "6566", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "152155", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "5 Email Account", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "5591", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "605660", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "10 Email Account", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "502", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "6262", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "966516", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "SMTP", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": "5165", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "446626", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "SMTP", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "5626", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "565969", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "SMTP", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "851", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "0316", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "621622", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Monthly Traffic: 1000 GB", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": "1316", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "328662", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Monthly Traffic: 2000 GB", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "2832", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "861651", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Monthly Traffic: 3000 GB", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "160", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "5226", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "868688", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Network Port: 50 Mbps", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": "8828", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "665032", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Network Port: 75 Mbps", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "1866", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "505638", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Network Port: 100 Mbps", "style": { "fontSize": 15, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } } ], "headers": [ "column_0", "column_1", "column_2" ], "table": { "tr": 9, "tc": "3", "merge": { "history": [] } } }';
73
+ $table_settings = '{ "general": { "name": "General", "key": "general", "has_pro": false, "options": { "cell_padding": { "label": "Cell Padding", "type": "slider", "value": 10, "min": 0, "max": 50 }, "table_alignment": { "label": "Table Alignment", "type": "alignment", "value": "center" }, "columns_rows_separate": { "label": "Separate Columns/Rows", "type": "switch", "value": false, "childs": { "space_between_column": { "label": "Space Between Columns", "type": "slider", "value": 3, "min": 0, "max": 50 }, "space_between_row": { "label": "Space Between Rows", "type": "slider", "value": 3, "min": 0, "max": 50 } } }, "container_max_width_switch": { "label": "Table Container Max Width", "type": "switch", "value": "false", "childs": { "container_max_width": { "label": "Table Container Max Width", "type": "slider", "value": "700", "min": 100, "max": 5000 } } }, "cell_min_auto_width": { "label": "Table Cell Min Auto Width", "type": "slider", "value": 150, "min": 10, "max": 500 }, "container_max_height": { "label": "Table Container Max Height", "type": "slider", "value": 500, "min": 100, "max": 2000 } } }, "background": { "name": "Background", "key": "background", "has_pro": false, "options": { "header_background": { "label": "Header Background", "type": "color", "value": "#2F2B2B" }, "even_row_background": { "label": "Even Row Background", "type": "color", "value": "#454343" }, "odd_row_background": { "label": "Odd Row Background", "type": "color", "value": "rgb(69, 67, 67)" } } }, "sticky": { "name": "Sticky", "key": "sticky", "has_pro": false, "options": { "first_row_sticky": { "label": "First Row Sticky", "type": "switch", "value": false }, "first_column_sticky": { "label": "First Column Sticky", "type": "switch", "value": false } } }, "accessibility": { "name": "Accessibility", "key": "accessibility", "has_pro": false, "options": { "table_role": { "label": "Table Role", "type": "select", "value": "table", "items": [ { "label": "Table", "value": "table" }, { "label": "Presentation", "value": "presentation" }, { "label": "List", "value": "list" }, { "label": "Row Group", "value": "rowgroup" } ] } } }, "border": { "name": "Border", "key": "border", "has_pro": false, "options": { "table_border": { "label": "Table Border", "type": "slider", "value": 0, "min": 0, "max": 50 }, "border_color": { "label": "Border Color", "type": "color", "value": "#000000" }, "inner_border": { "label": "Apply Inner Border", "type": "switch", "value": "true", "childs": { "header_inner_border": { "label": "Header Inner Border", "type": "switch", "value": "true" }, "inner_border_color": { "label": "Inner Border Color", "type": "color", "value": "#000000" }, "inner_border_size": { "label": "Inner Border Size", "type": "slider", "value": 1, "min": 0, "max": 50 } } } } }, "global_styling": { "name": "Global Style", "key": "global_styling", "has_pro": false, "options": { "margin_top": { "label": "Margin Top", "type": "slider", "value": 0, "min": 0, "max": 100 }, "font_size": { "label": "Font Size", "type": "slider", "value": 15, "min": 12, "max": 40 }, "color": { "label": "Color", "type": "color", "value": "#000000" }, "font_family": { "label": "Font Family", "type": "select", "value": "Georgia", "items": [ { "label": "Inherit", "value": "inherit" }, { "label": "Arial", "value": "Arial" }, { "label": "Helvetica", "value": "Helvetica" }, { "label": "Comic Sans", "value": "Comic Sans" }, { "label": "Courier New", "value": "Courier New" }, { "label": "Georgia", "value": "Georgia" }, { "label": "Impact", "value": "Impact" }, { "label": "Charcoal", "value": "Charcoal" }, { "label": "Lucida Grande", "value": "Lucida Grande" }, { "label": "Palatino Linotype", "value": "Palatino Linotype" }, { "label": "Book Antiqua", "value": "Book Antiqua" }, { "label": "Palatino", "value": "Palatino" }, { "label": "Tahoma", "value": "Tahoma" }, { "label": "Geneva", "value": "Geneva" }, { "label": "Times New Roman", "value": "Times New Roman" }, { "label": "Verdana", "value": "Verdana" }, { "label": "Monaco", "value": "Monaco" } ] } } } }';
74
  $table_responsive = '{ "general": { "name": "General", "key": "general", "has_pro": "false", "options": { "enable_responsive_table": { "label": "Enable Responsive Table", "type": "switch", "value": "true" } } }, "mode_options": { "name": "Mode Options", "key": "mode_options", "has_pro": "false", "options": { "devices": { "mobile": { "name": "Mobile", "key": "mobile", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": "false" }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "true" }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 1, "min": "1", "max": "5" } }, "tablet": { "name": "Tablet", "key": "tablet", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": "false" }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "true" }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 1, "min": "1", "max": "5" } }, "desktop": { "name": "Desktop", "key": "desktop", "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "false", "disable": "true" }, "static_top_row": { "label": "Static Top Row", "key": "static_top_row", "type": "switch", "value": "false", "disable": "true" } } } } } }';
75
 
76
  return [
84
  {
85
 
86
  $table_data = '{ "id": 370, "table_name": "Comparison Table 1", "data": [ { "rows": { "column_0": { "style": { "tdId": 41812, "backgroundColor": "#348E8E", "columnWidth": 180, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 286425, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Model", "style": { "fontSize": 18, "color": "#FCFCFC", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": 52190, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 457255, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Apple iPhone 10", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 26873, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 372894, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Samsung S8", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_3": { "style": { "tdId": 30726, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 593041, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Motorola Moto G5 Plus", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] } }, "style": { "trId": 4695, "backgroundColor": "#52A335", "rowHeight": 50 } }, { "style": { "trId": "408", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "6441", "backgroundColor": "#348E8E", "columnWidth": 180, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "844808", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Display", "style": { "fontSize": 18, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": "0468", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "680014", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "4.7 inchs Retina HD Display", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "1868", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "660684", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "5.8 inchs Dual Edge Super AMOLED Display", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": "8606", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "008181", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "4.7 inchs Retina HD Display", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "364", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "6662", "backgroundColor": "#348E8E", "columnWidth": 180, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "161328", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Camera", "style": { "fontSize": 18, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": "6616", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "622031", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "12 MP", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "1111", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "190441", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "48 MP", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": "5125", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "699392", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "16 MP", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "869", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "6978", "backgroundColor": "#348E8E", "columnWidth": 180, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "464844", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Storage", "style": { "fontSize": 18, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": "6469", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "896691", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "128 GB", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "9878", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "861711", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "64 GB", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": "6484", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "788078", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "32 GB", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "808", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "8616", "backgroundColor": "#348E8E", "columnWidth": 180, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "050851", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "OS", "style": { "fontSize": 18, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": "4711", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "668680", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "iOS", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "8568", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "176518", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Android", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": "0046", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "071416", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Android", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "162", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "4715", "backgroundColor": "#348E8E", "columnWidth": 180, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "545872", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "External Memory Card Slot", "style": { "fontSize": 18, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": "1106", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "611616", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close-circle", "style": { "color": "#FF4500", "fontSize": 35, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_2": { "style": { "tdId": "6401", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "80646", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "rgb(55, 157, 19)", "fontSize": 35, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_3": { "style": { "tdId": "5452", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "221856", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "rgb(55, 157, 19)", "fontSize": 35, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } } }, { "style": { "trId": "361", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "4788", "backgroundColor": "#348E8E", "columnWidth": 180, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "118778", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Rating", "style": { "fontSize": 18, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": "3080", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "868646", "data": { "name": "Rating", "type": "star_rating", "icon": "el-icon-star-off", "has_pro": false, "value": 5, "style": { "color": "#B36600", "fontSize": 18, "maxStar": 5, "alignment": "center", "showRatingValue": true, "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_2": { "style": { "tdId": "4039", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "74070", "data": { "name": "Rating", "type": "star_rating", "icon": "el-icon-star-off", "has_pro": false, "value": 4.5, "style": { "color": "#B36600", "fontSize": 18, "maxStar": 5, "alignment": "center", "showRatingValue": true, "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_3": { "style": { "tdId": "6664", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "101188", "data": { "name": "Rating", "type": "star_rating", "icon": "el-icon-star-off", "has_pro": false, "value": 4, "style": { "color": "#B36600", "fontSize": 18, "maxStar": 5, "alignment": "center", "showRatingValue": true, "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } } }, { "rows": { "column_0": { "style": { "tdId": 80265, "backgroundColor": "#348E8E", "columnWidth": 180, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 752618, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Price", "style": { "fontSize": 18, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": 45302, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 562178, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "$499.99", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": 80806, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 464141, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "$349.99", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": 76492, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 604456, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "$299.99", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } }, "style": { "trId": 8381, "backgroundColor": "", "rowHeight": 50 } } ], "headers": [ "column_0", "column_1", "column_2", "column_3" ], "table": { "tr": 8, "tc": "4", "merge": { "history": [] } } }';
87
+ $table_settings = '{ "general": { "name": "General", "key": "general", "has_pro": false, "options": { "cell_padding": { "label": "Cell Padding", "type": "slider", "value": 10, "min": 0, "max": 50 }, "table_alignment": { "label": "Table Alignment", "type": "alignment", "value": "center" }, "columns_rows_separate": { "label": "Separate Columns/Rows", "type": "switch", "value": "false", "childs": { "space_between_column": { "label": "Space Between Columns", "type": "slider", "value": "3", "min": 0, "max": 50 }, "space_between_row": { "label": "Space Between Rows", "type": "slider", "value": "3", "min": 0, "max": 50 } } }, "container_max_width_switch": { "label": "Table Container Max Width", "type": "switch", "value": "false", "childs": { "container_max_width": { "label": "Table Container Max Width", "type": "slider", "value": "700", "min": 100, "max": 5000 } } }, "cell_min_auto_width": { "label": "Table Cell Min Auto Width", "type": "slider", "value": 150, "min": 10, "max": 500 }, "container_max_height": { "label": "Table Container Max Height", "type": "slider", "value": 500, "min": 100, "max": 2000 } } }, "background": { "name": "Background", "key": "background", "has_pro": false, "options": { "header_background": { "label": "Header Background", "type": "color", "value": "#dddddd" }, "even_row_background": { "label": "Even Row Background", "type": "color", "value": "#dddddd" }, "odd_row_background": { "label": "Odd Row Background", "type": "color", "value": "#ffffff" } } }, "sticky": { "name": "Sticky", "key": "sticky", "has_pro": false, "options": { "first_row_sticky": { "label": "First Row Sticky", "type": "switch", "value": false }, "first_column_sticky": { "label": "First Column Sticky", "type": "switch", "value": false } } }, "accessibility": { "name": "Accessibility", "key": "accessibility", "has_pro": false, "options": { "table_role": { "label": "Table Role", "type": "select", "value": "table", "items": [ { "label": "Table", "value": "table" }, { "label": "Presentation", "value": "presentation" }, { "label": "List", "value": "list" }, { "label": "Row Group", "value": "rowgroup" } ] } } }, "border": { "name": "Border", "key": "border", "has_pro": false, "options": { "table_border": { "label": "Table Border", "type": "slider", "value": 0, "min": 0, "max": 50 }, "border_color": { "label": "Border Color", "type": "color", "value": "#000000" }, "inner_border": { "label": "Apply Inner Border", "type": "switch", "value": "true", "childs": { "header_inner_border": { "label": "Header Inner Border", "type": "switch", "value": "true" }, "inner_border_color": { "label": "Inner Border Color", "type": "color", "value": "#000000" }, "inner_border_size": { "label": "Inner Border Size", "type": "slider", "value": 1, "min": 0, "max": 50 } } } } }, "global_styling": { "name": "Global Style", "key": "global_styling", "has_pro": false, "options": { "margin_top": { "label": "Margin Top", "type": "slider", "value": 0, "min": 0, "max": 100 }, "font_size": { "label": "Font Size", "type": "slider", "value": 15, "min": 12, "max": 40 }, "color": { "label": "Color", "type": "color", "value": "#000000" }, "font_family": { "label": "Font Family", "type": "select", "value": "inherit", "items": [ { "label": "Inherit", "value": "inherit" }, { "label": "Arial", "value": "Arial" }, { "label": "Helvetica", "value": "Helvetica" }, { "label": "Comic Sans", "value": "Comic Sans" }, { "label": "Courier New", "value": "Courier New" }, { "label": "Georgia", "value": "Georgia" }, { "label": "Impact", "value": "Impact" }, { "label": "Charcoal", "value": "Charcoal" }, { "label": "Lucida Grande", "value": "Lucida Grande" }, { "label": "Palatino Linotype", "value": "Palatino Linotype" }, { "label": "Book Antiqua", "value": "Book Antiqua" }, { "label": "Palatino", "value": "Palatino" }, { "label": "Tahoma", "value": "Tahoma" }, { "label": "Geneva", "value": "Geneva" }, { "label": "Times New Roman", "value": "Times New Roman" }, { "label": "Verdana", "value": "Verdana" }, { "label": "Monaco", "value": "Monaco" } ] } } } }';
88
  $table_responsive = '{ "general": { "name": "General", "key": "general", "has_pro": "false", "options": { "enable_responsive_table": { "label": "Enable Responsive Table", "type": "switch", "value": "true" } } }, "mode_options": { "name": "Mode Options", "key": "mode_options", "has_pro": "false", "options": { "devices": { "mobile": { "name": "Mobile", "key": "mobile", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": "false" }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "true" }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 1, "min": "1", "max": "5" } }, "tablet": { "name": "Tablet", "key": "tablet", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": "false" }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "true" }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 1, "min": "1", "max": "5" } }, "desktop": { "name": "Desktop", "key": "desktop", "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "false", "disable": "true" }, "static_top_row": { "label": "Static Top Row", "key": "static_top_row", "type": "switch", "value": "false", "disable": "true" } } } } } }';
89
 
90
  return [
98
  {
99
 
100
  $table_data = '{ "id": 245, "table_name": "Comparison Table 2", "data": [ { "style": { "trId": "028", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "2181", "backgroundColor": "#DDDDDD", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "688633", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Comparison", "style": { "fontSize": 16, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "9661", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "616283", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "iPhone 13", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "6683", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "183019", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "iPhone12", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "rows": { "column_0": { "style": { "tdId": 60893, "backgroundColor": "#DDDDDD", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "694011", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Preview", "style": { "fontSize": 16, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": 41229, "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "19841", "data": { "name": "Image", "type": "image", "icon": "el-icon-picture-outline", "has_pro": false, "value": "https://ninja-tables.test/wp-content/plugins/ninja-tables/assets/img/iphone-12-pro-max.jpg", "style": { "alignment": "center", "size": 60, "shape": "square", "alt": "Demo Image", "link": "https://www.example.com/", "target": "blank", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_2": { "style": { "tdId": 17191, "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "981561", "data": { "name": "Image", "type": "image", "icon": "el-icon-picture-outline", "has_pro": false, "value": "https://ninja-tables.test/wp-content/plugins/ninja-tables/assets/img/iphone-12-normal.jpg", "style": { "alignment": "center", "size": 60, "shape": "square", "alt": "Demo Image", "link": "https://www.example.com/", "target": "blank", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } }, "style": { "trId": 9652, "backgroundColor": "", "rowHeight": 50 } }, { "style": { "trId": "111", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "6413", "backgroundColor": "#DDDDDD", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "666026", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Announced", "style": { "fontSize": 16, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "1691", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "194498", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "2022, February 09\t", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "3494", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "181404", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "2021, September 13\t", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "041", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "8181", "backgroundColor": "#DDDDDD", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "151114", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Status", "style": { "fontSize": 16, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "5505", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "885141", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Available. Released 2022, February 24\t", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "0848", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "464115", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Available. Released 2021, September 25\t", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "541", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "1295", "backgroundColor": "#DDDDDD", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "205148", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Size", "style": { "fontSize": 16, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "9005", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "191251", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "6.1 inches", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "4110", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "189160", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "6.1 inches", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "626", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "6111", "backgroundColor": "#DDDDDD", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "444121", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Weight", "style": { "fontSize": 16, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "6486", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "668441", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "6.14 ounces\t", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "1781", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "624166", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "5.78 ounces\t", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "218", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "6116", "backgroundColor": "#DDDDDD", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "216742", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Processor", "style": { "fontSize": 16, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "1872", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "711888", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "A15", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "1814", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "171771", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "A14", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "416", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "1849", "backgroundColor": "#DDDDDD", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "412850", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Chipset", "style": { "fontSize": 16, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "9116", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "151611", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Apple A15 Bionic (5 nm)\t", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "8819", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "112111", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Exynos 2200 (4 nm) - Europe", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "010", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "9441", "backgroundColor": "#DDDDDD", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "141111", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Camera", "style": { "fontSize": 16, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "9411", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "411114", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "12 MP, f/1.6, 26mm (wide), 1.7µm, dual pixel PDAF, sensor-shift OIS", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "1990", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "189134", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "12 MP, f/1.6, 26mm (wide), 1.7µm, dual pixel PDAF, sensor-shift OIS", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "999", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "6161", "backgroundColor": "#DDDDDD", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "114099", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Battery", "style": { "fontSize": 16, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "1161", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "431111", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Li-Ion 3240 mAh, non-removable ", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "8974", "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "111410", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Li-Ion 3000 mAh, non-removable\t", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "rows": { "column_0": { "style": { "tdId": 26637, "backgroundColor": "#DDDDDD", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 615626, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Resolution", "style": { "fontSize": 16, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": 85483, "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 645282, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "2532x1170\t", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": 11183, "backgroundColor": "", "columnWidth": 250, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 344302, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "2532x1170\t", "style": { "fontSize": 14, "color": "#474778", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } }, "style": { "trId": 5259, "backgroundColor": "", "rowHeight": 50 } } ], "headers": [ "column_0", "column_1", "column_2" ], "table": { "tr": 11, "tc": "3", "merge": { "history": [] } } }';
101
+ $table_settings = '{ "general": { "name": "General", "key": "general", "has_pro": false, "options": { "cell_padding": { "label": "Cell Padding", "type": "slider", "value": 10, "min": 0, "max": 50 }, "table_alignment": { "label": "Table Alignment", "type": "alignment", "value": "center" }, "columns_rows_separate": { "label": "Separate Columns/Rows", "type": "switch", "value": "false", "childs": { "space_between_column": { "label": "Space Between Columns", "type": "slider", "value": "3", "min": 0, "max": 50 }, "space_between_row": { "label": "Space Between Rows", "type": "slider", "value": "3", "min": 0, "max": 50 } } }, "container_max_width_switch": { "label": "Table Container Max Width", "type": "switch", "value": "false", "childs": { "container_max_width": { "label": "Table Container Max Width", "type": "slider", "value": "700", "min": 100, "max": 5000 } } }, "cell_min_auto_width": { "label": "Table Cell Min Auto Width", "type": "slider", "value": 150, "min": 10, "max": 500 }, "container_max_height": { "label": "Table Container Max Height", "type": "slider", "value": 500, "min": 100, "max": 2000 } } }, "background": { "name": "Background", "key": "background", "has_pro": false, "options": { "header_background": { "label": "Header Background", "type": "color", "value": "#dddddd" }, "even_row_background": { "label": "Even Row Background", "type": "color", "value": "#F2F2F2" }, "odd_row_background": { "label": "Odd Row Background", "type": "color", "value": "#ffffff" } } }, "sticky": { "name": "Sticky", "key": "sticky", "has_pro": false, "options": { "first_row_sticky": { "label": "First Row Sticky", "type": "switch", "value": false }, "first_column_sticky": { "label": "First Column Sticky", "type": "switch", "value": false } } }, "accessibility": { "name": "Accessibility", "key": "accessibility", "has_pro": false, "options": { "table_role": { "label": "Table Role", "type": "select", "value": "table", "items": [ { "label": "Table", "value": "table" }, { "label": "Presentation", "value": "presentation" }, { "label": "List", "value": "list" }, { "label": "Row Group", "value": "rowgroup" } ] } } }, "border": { "name": "Border", "key": "border", "has_pro": false, "options": { "table_border": { "label": "Table Border", "type": "slider", "value": 0, "min": 0, "max": 50 }, "border_color": { "label": "Border Color", "type": "color", "value": "#000000" }, "inner_border": { "label": "Apply Inner Border", "type": "switch", "value": "true", "childs": { "header_inner_border": { "label": "Header Inner Border", "type": "switch", "value": "true" }, "inner_border_color": { "label": "Inner Border Color", "type": "color", "value": "#000000" }, "inner_border_size": { "label": "Inner Border Size", "type": "slider", "value": 1, "min": 0, "max": 50 } } } } }, "global_styling": { "name": "Global Style", "key": "global_styling", "has_pro": false, "options": { "margin_top": { "label": "Margin Top", "type": "slider", "value": 0, "min": 0, "max": 100 }, "font_size": { "label": "Font Size", "type": "slider", "value": 15, "min": 12, "max": 40 }, "color": { "label": "Color", "type": "color", "value": "#000000" }, "font_family": { "label": "Font Family", "type": "select", "value": "inherit", "items": [ { "label": "Inherit", "value": "inherit" }, { "label": "Arial", "value": "Arial" }, { "label": "Helvetica", "value": "Helvetica" }, { "label": "Comic Sans", "value": "Comic Sans" }, { "label": "Courier New", "value": "Courier New" }, { "label": "Georgia", "value": "Georgia" }, { "label": "Impact", "value": "Impact" }, { "label": "Charcoal", "value": "Charcoal" }, { "label": "Lucida Grande", "value": "Lucida Grande" }, { "label": "Palatino Linotype", "value": "Palatino Linotype" }, { "label": "Book Antiqua", "value": "Book Antiqua" }, { "label": "Palatino", "value": "Palatino" }, { "label": "Tahoma", "value": "Tahoma" }, { "label": "Geneva", "value": "Geneva" }, { "label": "Times New Roman", "value": "Times New Roman" }, { "label": "Verdana", "value": "Verdana" }, { "label": "Monaco", "value": "Monaco" } ] } } } }';
102
  $table_responsive = '{ "general": { "name": "General", "key": "general", "has_pro": "false", "options": { "enable_responsive_table": { "label": "Enable Responsive Table", "type": "switch", "value": "true" } } }, "mode_options": { "name": "Mode Options", "key": "mode_options", "has_pro": "false", "options": { "devices": { "mobile": { "name": "Mobile", "key": "mobile", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": false }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "true" }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 2, "min": "1", "max": "5" } }, "tablet": { "name": "Tablet", "key": "tablet", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": "false" }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "true" }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 1, "min": "1", "max": "5" } }, "desktop": { "name": "Desktop", "key": "desktop", "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "false", "disable": "true" }, "static_top_row": { "label": "Static Top Row", "key": "static_top_row", "type": "switch", "value": "false", "disable": "true" } } } } } }';
103
 
104
  $table_data = $this->replaceLink('https://ninja-tables.test', $table_data);
114
  public function comparisonTableThree()
115
  {
116
  $table_data = '{ "id": 369, "table_name": "Comparison Table 3", "data": [ { "rows": { "column_0": { "style": { "tdId": 22101, "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 140500, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Features\t", "style": { "fontSize": 32, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": 50054, "backgroundColor": "", "columnWidth": 150, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 346558, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "WP Social Ninja\t", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 86920, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 850338, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Smash Balloon\t", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_3": { "style": { "tdId": 68519, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 490789, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "SpotlightWP\t", "style": { "fontSize": 17, "color": "#FCFCFC", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_4": { "style": { "tdId": 12638, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 189022, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "elfsight", "style": { "fontSize": 17, "color": "#FBFBFB", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] } }, "style": { "trId": 6958, "backgroundColor": "", "rowHeight": 50 } }, { "style": { "trId": "939", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "3898", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "138630", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Price", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "4888", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "328010", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "$79 Annually\t", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "3991", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "224642", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "$98 Annually\t", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": "3036", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "904483", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "$49 Annually\t", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": "4946", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "462429", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "$180 Annually\t", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "477", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "7915", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "794600", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Multiple Social Platforms\t", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "8409", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "891667", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "29+\t", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "6587", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "294286", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "4", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": "6466", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "081890", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "1", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": "9868", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "986002", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "33", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "969", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "7197", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "071677", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Multiple Posts Order", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "1864", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "679688", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "5 Types", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "0641", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "999997", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "2 Types", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": "9096", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "890838", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "5 Types", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": "0609", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "633966", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "2 Types", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "rows": { "column_0": { "style": { "tdId": 43036, "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "189844", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Create Multiple Templates", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": 31177, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "651681", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 25, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_2": { "style": { "tdId": 27278, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "116025", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 25, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_3": { "style": { "tdId": 20064, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "141141", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 25, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_4": { "style": { "tdId": 14381, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "226906", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 25, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } }, "style": { "trId": 4156, "backgroundColor": "", "rowHeight": 50 } }, { "style": { "trId": "619", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "2516", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "674477", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Search Engine Accessible\t", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "6460", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "288689", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 25, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_2": { "style": { "tdId": "1486", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "695025", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 25, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_3": { "style": { "tdId": "6686", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "062626", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close-circle", "style": { "color": "rgb(255, 69, 0)", "fontSize": 25, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_4": { "style": { "tdId": "9224", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "701879", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close-circle", "style": { "color": "rgb(255, 69, 0)", "fontSize": 25, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } } }, { "style": { "trId": "594", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "3934", "backgroundColor": "#7400B8", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 5 }, "columns": [ { "id": "503344", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Number of Platforms for Reviews\t", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "0893", "backgroundColor": "", "columnWidth": 150, "emptyCell": "", "verticalAlignment": "", "rowspan": 0, "colspan": 0 }, "columns": [] }, "column_2": { "style": { "tdId": "4401", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 0, "colspan": 0 }, "columns": [] }, "column_3": { "style": { "tdId": "8105", "backgroundColor": "", "columnWidth": 150, "emptyCell": "", "verticalAlignment": "", "rowspan": 0, "colspan": 0 }, "columns": [] }, "column_4": { "style": { "tdId": "6546", "backgroundColor": "", "columnWidth": 150, "emptyCell": "", "verticalAlignment": "", "rowspan": 0, "colspan": 0 }, "columns": [] } } }, { "style": { "trId": "906", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "4161", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "779473", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Number of Platforms for Reviews\t", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "9004", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "96849", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "4", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "9547", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "079384", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "4", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": "1210", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "594266", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "1", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": "0580", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "231620", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "8", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "551", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "9056", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "299869", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Pre-built Template Designs\t", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "0541", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "06111", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "7+", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "1346", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "077654", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close-circle", "style": { "color": "rgb(255, 69, 0)", "fontSize": 25, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_3": { "style": { "tdId": "5545", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "038074", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "3+", "style": { "fontSize": 15, "color": "rgb(53, 72, 134)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": "5855", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "606147", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "2+", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "style": { "trId": "006", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "9410", "backgroundColor": "", "columnWidth": 220, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "811990", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Multiple Accounts\t", "style": { "fontSize": 15, "color": "#354886", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "0971", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "748498", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 25, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_2": { "style": { "tdId": "6974", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "794744", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 25, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_3": { "style": { "tdId": "8990", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "949190", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 25, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_4": { "style": { "tdId": "7091", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "446678", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 25, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } } } ], "headers": [ "column_0", "column_1", "column_2", "column_3", "column_4" ], "table": { "tr": 10, "tc": "5", "merge": { "history": { "3934": [ { "rowIndex": 6, "columnIndex": 3, "headerIndex": "3" }, { "rowIndex": 6, "columnIndex": 4, "headerIndex": "4" }, { "rowIndex": 7, "columnIndex": 1, "headerIndex": "1" }, { "rowIndex": 7, "columnIndex": 2, "headerIndex": "2" }, { "rowIndex": 8, "columnIndex": 0, "headerIndex": "0" } ], "0893": [ { "rowIndex": 6, "columnIndex": 3, "headerIndex": "3" }, { "rowIndex": 6, "columnIndex": 4, "headerIndex": "4" }, { "rowIndex": 7, "columnIndex": 1, "headerIndex": "1" }, { "rowIndex": 7, "columnIndex": 2, "headerIndex": "2" } ] } } } }';
117
+ $table_settings = '{ "general": { "name": "General", "key": "general", "has_pro": false, "options": { "cell_padding": { "label": "Cell Padding", "type": "slider", "value": 10, "min": 0, "max": 50 }, "table_alignment": { "label": "Table Alignment", "type": "alignment", "value": "center" }, "columns_rows_separate": { "label": "Separate Columns/Rows", "type": "switch", "value": "false", "childs": { "space_between_column": { "label": "Space Between Columns", "type": "slider", "value": "3", "min": 0, "max": 50 }, "space_between_row": { "label": "Space Between Rows", "type": "slider", "value": "3", "min": 0, "max": 50 } } }, "container_max_width_switch": { "label": "Table Container Max Width", "type": "switch", "value": "false", "childs": { "container_max_width": { "label": "Table Container Max Width", "type": "slider", "value": "700", "min": 100, "max": 5000 } } }, "cell_min_auto_width": { "label": "Table Cell Min Auto Width", "type": "slider", "value": 150, "min": 10, "max": 500 }, "container_max_height": { "label": "Table Container Max Height", "type": "slider", "value": 500, "min": 100, "max": 2000 } } }, "background": { "name": "Background", "key": "background", "has_pro": false, "options": { "header_background": { "label": "Header Background", "type": "color", "value": "#7400B8" }, "even_row_background": { "label": "Even Row Background", "type": "color", "value": "#F3F4F9" }, "odd_row_background": { "label": "Odd Row Background", "type": "color", "value": "#FFFFFF" } } }, "sticky": { "name": "Sticky", "key": "sticky", "has_pro": false, "options": { "first_row_sticky": { "label": "First Row Sticky", "type": "switch", "value": false }, "first_column_sticky": { "label": "First Column Sticky", "type": "switch", "value": false } } }, "accessibility": { "name": "Accessibility", "key": "accessibility", "has_pro": false, "options": { "table_role": { "label": "Table Role", "type": "select", "value": "table", "items": [ { "label": "Table", "value": "table" }, { "label": "Presentation", "value": "presentation" }, { "label": "List", "value": "list" }, { "label": "Row Group", "value": "rowgroup" } ] } } }, "border": { "name": "Border", "key": "border", "has_pro": false, "options": { "table_border": { "label": "Table Border", "type": "slider", "value": 0, "min": 0, "max": 50 }, "border_color": { "label": "Border Color", "type": "color", "value": "" }, "inner_border": { "label": "Apply Inner Border", "type": "switch", "value": "true", "childs": { "header_inner_border": { "label": "Header Inner Border", "type": "switch", "value": "true" }, "inner_border_color": { "label": "Inner Border Color", "type": "color", "value": "#DDDDDD" }, "inner_border_size": { "label": "Inner Border Size", "type": "slider", "value": 1, "min": 0, "max": 50 } } } } }, "global_styling": { "name": "Global Style", "key": "global_styling", "has_pro": false, "options": { "margin_top": { "label": "Margin Top", "type": "slider", "value": 0, "min": 0, "max": 100 }, "font_size": { "label": "Font Size", "type": "slider", "value": 15, "min": 12, "max": 40 }, "color": { "label": "Color", "type": "color", "value": "#000000" }, "font_family": { "label": "Font Family", "type": "select", "value": "inherit", "items": [ { "label": "Inherit", "value": "inherit" }, { "label": "Arial", "value": "Arial" }, { "label": "Helvetica", "value": "Helvetica" }, { "label": "Comic Sans", "value": "Comic Sans" }, { "label": "Courier New", "value": "Courier New" }, { "label": "Georgia", "value": "Georgia" }, { "label": "Impact", "value": "Impact" }, { "label": "Charcoal", "value": "Charcoal" }, { "label": "Lucida Grande", "value": "Lucida Grande" }, { "label": "Palatino Linotype", "value": "Palatino Linotype" }, { "label": "Book Antiqua", "value": "Book Antiqua" }, { "label": "Palatino", "value": "Palatino" }, { "label": "Tahoma", "value": "Tahoma" }, { "label": "Geneva", "value": "Geneva" }, { "label": "Times New Roman", "value": "Times New Roman" }, { "label": "Verdana", "value": "Verdana" }, { "label": "Monaco", "value": "Monaco" } ] } } } }';
118
  $table_responsive = '{ "general": { "name": "General", "key": "general", "has_pro": "false", "options": { "enable_responsive_table": { "label": "Enable Responsive Table", "type": "switch", "value": "true" } } }, "mode_options": { "name": "Mode Options", "key": "mode_options", "has_pro": "false", "options": { "devices": { "mobile": { "name": "Mobile", "key": "mobile", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": false }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "true" }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 1, "min": "1", "max": "5" } }, "tablet": { "name": "Tablet", "key": "tablet", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": true }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": true }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 1, "min": "1", "max": "5" } }, "desktop": { "name": "Desktop", "key": "desktop", "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "false", "disable": "true" }, "static_top_row": { "label": "Static Top Row", "key": "static_top_row", "type": "switch", "value": "false", "disable": "true" } } } } } }';
119
 
120
  return [
127
  public function employeeTableOne()
128
  {
129
  $table_data = '{ "id": 520, "table_name": "Employee Table 1", "data": [ { "rows": { "column_0": { "style": { "tdId": 63979, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "011882", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Images", "style": { "fontSize": 18, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": 93156, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "069998", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Name", "style": { "fontSize": 18, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 27104, "backgroundColor": "", "columnWidth": 175, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "198000", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Designation", "style": { "fontSize": 18, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_3": { "style": { "tdId": 92183, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "212222", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Address", "style": { "fontSize": 18, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_4": { "style": { "tdId": "7988", "backgroundColor": "", "columnWidth": 100, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 716020, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Rank", "style": { "fontSize": 18, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] } }, "style": { "trId": 4521, "backgroundColor": "", "rowHeight": 60 } }, { "rows": { "column_0": { "style": { "tdId": 51256, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "35985", "data": { "name": "Image", "type": "image", "icon": "el-icon-picture-outline", "has_pro": false, "value": "http://authlab-project.test/wp-content/plugins/ninja-tables/assets/img/jewel.jpeg", "style": { "alignment": "center", "size": 50, "shape": "round", "alt": "Demo Image", "link": "https://www.example.com/", "target": "blank", "margin": { "top": 4, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_1": { "style": { "tdId": 71722, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 111698, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Shahjahan Jewel", "style": { "fontSize": 16, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 16030, "backgroundColor": "", "columnWidth": 175, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 642523, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Founder & Head of Ideas", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": 67214, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 360002, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Sylhet", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": "3973", "backgroundColor": "", "columnWidth": 100, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "234228", "data": { "has_pro": false, "icon": "el-icon-edit-outline", "name": "Text", "type": "text", "value": "01", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } }, "style": { "trId": 4673, "backgroundColor": "", "rowHeight": 50 } }, { "rows": { "column_0": { "style": { "tdId": 45484, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "22044", "data": { "name": "Image", "type": "image", "icon": "el-icon-picture-outline", "has_pro": false, "value": "http://authlab-project.test/wp-content/plugins/ninja-tables/assets/img/arif.jpeg", "style": { "alignment": "center", "size": 50, "shape": "round", "alt": "Demo Image", "link": "https://www.example.com/", "target": "blank", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_1": { "style": { "tdId": 42844, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 878774, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Mahmudul Hasan", "style": { "fontSize": 16, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 85451, "backgroundColor": "", "columnWidth": 175, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 108374, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Director of Engineering", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": 85762, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 189365, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Sylhet", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": "1173", "backgroundColor": "", "columnWidth": 100, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "113123", "data": { "has_pro": false, "icon": "el-icon-edit-outline", "name": "Text", "type": "text", "value": "02", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } }, "style": { "trId": 6161, "backgroundColor": "", "rowHeight": "" } }, { "rows": { "column_0": { "style": { "tdId": 76007, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "06815", "data": { "name": "Image", "type": "image", "icon": "el-icon-picture-outline", "has_pro": false, "value": "http://authlab-project.test/wp-content/plugins/ninja-tables/assets/img/sumon.jpeg", "style": { "alignment": "center", "size": 50, "shape": "round", "alt": "Demo Image", "link": "https://www.example.com/", "target": "blank", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_1": { "style": { "tdId": 44725, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 226238, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Sumon Sarker", "style": { "fontSize": 16, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 21658, "backgroundColor": "", "columnWidth": 175, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 511598, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Lead Software Engineer", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": 25473, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 344893, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Sylhet", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": "3902", "backgroundColor": "", "columnWidth": 100, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "391290", "data": { "has_pro": false, "icon": "el-icon-edit-outline", "name": "Text", "type": "text", "value": "03", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } }, "style": { "trId": 3822, "backgroundColor": "", "rowHeight": "" } }, { "rows": { "column_0": { "style": { "tdId": 29260, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "67616", "data": { "name": "Image", "type": "image", "icon": "el-icon-picture-outline", "has_pro": false, "value": "http://authlab-project.test/wp-content/plugins/ninja-tables/assets/img/sakib.jpeg", "style": { "alignment": "center", "size": 50, "shape": "round", "alt": "Demo Image", "link": "https://www.example.com/", "target": "blank", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_1": { "style": { "tdId": 29750, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 149745, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Sakib Mohammed", "style": { "fontSize": 16, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 11056, "backgroundColor": "", "columnWidth": 175, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 927095, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Software Engineer", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": 18744, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 821690, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Sylhet", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": "1464", "backgroundColor": "", "columnWidth": 100, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "611013", "data": { "has_pro": false, "icon": "el-icon-edit-outline", "name": "Text", "type": "text", "value": "04", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } }, "style": { "trId": 5079, "backgroundColor": "", "rowHeight": "" } }, { "rows": { "column_0": { "style": { "tdId": 55157, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "63615", "data": { "name": "Image", "type": "image", "icon": "el-icon-picture-outline", "has_pro": false, "value": "http://authlab-project.test/wp-content/plugins/ninja-tables/assets/img/naeem.jpeg", "style": { "alignment": "center", "size": 50, "shape": "round", "alt": "Demo Image", "link": "https://www.example.com/", "target": "blank", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_1": { "style": { "tdId": 35730, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 528959, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Naeem Haque", "style": { "fontSize": 16, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 77052, "backgroundColor": "", "columnWidth": 175, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 491070, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Software Engineer", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": 20949, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 714104, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Sylhet", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": "4813", "backgroundColor": "", "columnWidth": 100, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "382932", "data": { "has_pro": false, "icon": "el-icon-edit-outline", "name": "Text", "type": "text", "value": "05", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } }, "style": { "trId": 6526, "backgroundColor": "", "rowHeight": "" } } ], "headers": [ "column_4", "column_0", "column_1", "column_2", "column_3" ], "table": { "tr": "6", "tc": 5, "merge": { "history": [] } } }';
130
+ $table_settings = '{ "general": { "name": "General", "key": "general", "has_pro": false, "options": { "cell_padding": { "label": "Cell Padding", "type": "slider", "value": 10, "min": 0, "max": 50 }, "table_alignment": { "label": "Table Alignment", "type": "alignment", "value": "center" }, "columns_rows_separate": { "label": "Separate Columns/Rows", "type": "switch", "value": false, "childs": { "space_between_column": { "label": "Space Between Columns", "type": "slider", "value": 0, "min": 0, "max": 50 }, "space_between_row": { "label": "Space Between Rows", "type": "slider", "value": 1, "min": 0, "max": 50 } } }, "container_max_width_switch": { "label": "Table Container Max Width", "type": "switch", "value": "false", "childs": { "container_max_width": { "label": "Table Container Max Width", "type": "slider", "value": "700", "min": 100, "max": 5000 } } }, "cell_min_auto_width": { "label": "Table Cell Min Auto Width", "type": "slider", "value": 150, "min": 10, "max": 500 }, "container_max_height": { "label": "Table Container Max Height", "type": "slider", "value": 856, "min": 100, "max": 2000 } } }, "background": { "name": "Background", "key": "background", "has_pro": false, "options": { "header_background": { "label": "Header Background", "type": "color", "value": "#248277" }, "even_row_background": { "label": "Even Row Background", "type": "color", "value": "#BEE1E6" }, "odd_row_background": { "label": "Odd Row Background", "type": "color", "value": "rgb(205, 211, 253)" } } }, "sticky": { "name": "Sticky", "key": "sticky", "has_pro": false, "options": { "first_row_sticky": { "label": "First Row Sticky", "type": "switch", "value": false }, "first_column_sticky": { "label": "First Column Sticky", "type": "switch", "value": false } } }, "accessibility": { "name": "Accessibility", "key": "accessibility", "has_pro": false, "options": { "table_role": { "label": "Table Role", "type": "select", "value": "table", "items": [ { "label": "Table", "value": "table" }, { "label": "Presentation", "value": "presentation" }, { "label": "List", "value": "list" }, { "label": "Row Group", "value": "rowgroup" } ] } } }, "border": { "name": "Border", "key": "border", "has_pro": false, "options": { "table_border": { "label": "Table Border", "type": "slider", "value": 1, "min": 0, "max": 50 }, "border_color": { "label": "Border Color", "type": "color", "value": "#248277" }, "inner_border": { "label": "Apply Inner Border", "type": "switch", "value": true, "childs": { "header_inner_border": { "label": "Header Inner Border", "type": "switch", "value": "true" }, "inner_border_color": { "label": "Inner Border Color", "type": "color", "value": "#FF8C00" }, "inner_border_size": { "label": "Inner Border Size", "type": "slider", "value": 0, "min": 0, "max": 50 } } } } }, "global_styling": { "name": "Global Style", "key": "global_styling", "has_pro": false, "options": { "margin_top": { "label": "Margin Top", "type": "slider", "value": 0, "min": 0, "max": 100 }, "font_size": { "label": "Font Size", "type": "slider", "value": 15, "min": 12, "max": 40 }, "color": { "label": "Color", "type": "color", "value": "#000000" }, "font_family": { "label": "Font Family", "type": "select", "value": "Times New Roman", "items": [ { "label": "Inherit", "value": "inherit" }, { "label": "Arial", "value": "Arial" }, { "label": "Helvetica", "value": "Helvetica" }, { "label": "Comic Sans", "value": "Comic Sans" }, { "label": "Courier New", "value": "Courier New" }, { "label": "Georgia", "value": "Georgia" }, { "label": "Impact", "value": "Impact" }, { "label": "Charcoal", "value": "Charcoal" }, { "label": "Lucida Grande", "value": "Lucida Grande" }, { "label": "Palatino Linotype", "value": "Palatino Linotype" }, { "label": "Book Antiqua", "value": "Book Antiqua" }, { "label": "Palatino", "value": "Palatino" }, { "label": "Tahoma", "value": "Tahoma" }, { "label": "Geneva", "value": "Geneva" }, { "label": "Times New Roman", "value": "Times New Roman" }, { "label": "Verdana", "value": "Verdana" }, { "label": "Monaco", "value": "Monaco" } ] } } } }';
131
  $table_responsive = '{ "general": { "name": "General", "key": "general", "has_pro": "false", "options": { "enable_responsive_table": { "label": "Enable Responsive Table", "type": "switch", "value": "true" } } }, "mode_options": { "name": "Mode Options", "key": "mode_options", "has_pro": "false", "options": { "devices": { "mobile": { "name": "Mobile", "key": "mobile", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": "false" }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": true }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 1, "min": "1", "max": "5" } }, "tablet": { "name": "Tablet", "key": "tablet", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": "false" }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": true }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 2, "min": "1", "max": "5" } }, "desktop": { "name": "Desktop", "key": "desktop", "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "false", "disable": "true" }, "static_top_row": { "label": "Static Top Row", "key": "static_top_row", "type": "switch", "value": "false", "disable": "true" } } } } } }';
132
 
133
  $table_data = $this->replaceLink('http://authlab-project.test', $table_data);
142
  public function employeeTableTwo()
143
  {
144
  $table_data = '{ "id": 529, "table_name": "Employee Table 2", "data": [ { "rows": { "column_0": { "style": { "tdId": 10068, "backgroundColor": "", "columnWidth": 100, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 196268, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Sl ", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": 10050, "backgroundColor": "", "columnWidth": 212, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "351116", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Name", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 43682, "backgroundColor": "", "columnWidth": 191, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "562682", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Email", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_3": { "style": { "tdId": 53044, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "718181", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Phone", "style": { "fontSize": 20, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_4": { "style": { "tdId": 73248, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "601638", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Joining Date", "style": { "fontSize": 20, "color": "rgb(255, 255, 255)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_6": { "style": { "tdId": "3214", "backgroundColor": "", "columnWidth": 193, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "140401", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Designation", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] } }, "style": { "trId": 4500, "backgroundColor": "", "rowHeight": 70 } }, { "rows": { "column_0": { "style": { "tdId": 64869, "backgroundColor": "", "columnWidth": 100, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "243626", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "01", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": 21709, "backgroundColor": "", "columnWidth": 212, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "748835", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Shahjahan Jewel", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 98346, "backgroundColor": "", "columnWidth": 191, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "606103", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "jewel@authlab.io", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_3": { "style": { "tdId": 95518, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "187304", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "+1-202-555-0114", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_4": { "style": { "tdId": 80753, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "526394", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "5th April, 2016", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_6": { "style": { "tdId": "3060", "backgroundColor": "", "columnWidth": 193, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "409196", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Founder & Head of Ideas", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] } }, "style": { "trId": 1156, "backgroundColor": "", "rowHeight": 50 } }, { "rows": { "column_0": { "style": { "tdId": 84174, "backgroundColor": "", "columnWidth": 100, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "824200", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "02", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": 78317, "backgroundColor": "", "columnWidth": 212, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "943088", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Sheikh Heera", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 74762, "backgroundColor": "", "columnWidth": 191, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "244480", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "heera@authlab.io", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_3": { "style": { "tdId": 33199, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "281618", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "+1-202-555-0199", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_4": { "style": { "tdId": 51108, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "662663", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "5th April, 2016", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_6": { "style": { "tdId": "4036", "backgroundColor": "", "columnWidth": 193, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "480000", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "CTO & Platform Architect", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] } }, "style": { "trId": 2857, "backgroundColor": "", "rowHeight": "" } }, { "rows": { "column_0": { "style": { "tdId": 12300, "backgroundColor": "", "columnWidth": 100, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "508095", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "03", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": 75042, "backgroundColor": "", "columnWidth": 212, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "382241", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Faizus Saleheen", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 51011, "backgroundColor": "", "columnWidth": 191, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "184806", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "faizus@authlab.io", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_3": { "style": { "tdId": 90949, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "434573", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "+1-202-555-0114", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_4": { "style": { "tdId": 82923, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "661813", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "5th April, 2016", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_6": { "style": { "tdId": "4244", "backgroundColor": "", "columnWidth": 193, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "657686", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Chief Marketing Officer", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] } }, "style": { "trId": 3382, "backgroundColor": "", "rowHeight": "" } }, { "rows": { "column_0": { "style": { "tdId": 19875, "backgroundColor": "", "columnWidth": 100, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "461444", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "04", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": 72396, "backgroundColor": "", "columnWidth": 212, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "181684", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "MD Mahmudul Hasan", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 84559, "backgroundColor": "", "columnWidth": 191, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "069803", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "mahmudul@authlab.io", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_3": { "style": { "tdId": 48417, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "013121", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "+1-202-555-0199", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_4": { "style": { "tdId": 82021, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "535663", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "5th April, 2016", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_6": { "style": { "tdId": "0265", "backgroundColor": "", "columnWidth": 193, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "845865", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Director of Engineering", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] } }, "style": { "trId": 7481, "backgroundColor": "", "rowHeight": "" } }, { "rows": { "column_0": { "style": { "tdId": 15610, "backgroundColor": "", "columnWidth": 100, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 695921, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "05", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": 92072, "backgroundColor": "", "columnWidth": 212, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "885343", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Zahangir Alam", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 45008, "backgroundColor": "", "columnWidth": 191, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "406622", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "zahangir@authlab.io", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_3": { "style": { "tdId": 79568, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "347463", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "+1-202-555-0199", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_4": { "style": { "tdId": 78683, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "689866", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "5th April, 2016", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_6": { "style": { "tdId": "8426", "backgroundColor": "", "columnWidth": 193, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "536833", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Human Resource Manager", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] } }, "style": { "trId": 4726, "backgroundColor": "", "rowHeight": 50 } }, { "style": { "trId": "8728744", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "65688884", "backgroundColor": "", "columnWidth": 100, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "400081460", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "06", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "12812484", "backgroundColor": "", "columnWidth": 212, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "240448885", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "MD. Kamrul Islam", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_6": { "style": { "tdId": "84802245", "backgroundColor": "", "columnWidth": 193, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "052120122", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Head of Support", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": "28014656", "backgroundColor": "", "columnWidth": 191, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "846480271", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "kamrul@authlab.io", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_3": { "style": { "tdId": "15874006", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "087454058", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "+1-202-555-0199", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_4": { "style": { "tdId": "08527858", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "882428480", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "5th April, 2017", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] } } }, { "style": { "trId": "8124212", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "55868865", "backgroundColor": "", "columnWidth": 100, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "684285468", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "07", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "44554615", "backgroundColor": "", "columnWidth": 212, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "244116268", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Sumon Sarker", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_6": { "style": { "tdId": "24885828", "backgroundColor": "", "columnWidth": 193, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "411104430", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Lead Sodtware Engineer", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": "88868484", "backgroundColor": "", "columnWidth": 191, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "811215818", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "csesumonpro@authlab.io", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_3": { "style": { "tdId": "84128488", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "884551515", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "+1-202-555-0199", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_4": { "style": { "tdId": "84126118", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "884615888", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "12 February, 2018", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] } } }, { "style": { "trId": "8558785", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "25857187", "backgroundColor": "", "columnWidth": 100, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "585455418", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "08", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "75856477", "backgroundColor": "", "columnWidth": 212, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "557458587", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Hasanuzzaman Shamim", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_6": { "style": { "tdId": "45555245", "backgroundColor": "", "columnWidth": 193, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "541461884", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Lead Software Engineer", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": "88185555", "backgroundColor": "", "columnWidth": 191, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "587888588", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "hasanuzzamanbe@authlab.io", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_3": { "style": { "tdId": "46541864", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "578755885", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "+1-202-555-0199", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_4": { "style": { "tdId": "48544466", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "541288554", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "5th April, 2017", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] } } }, { "style": { "trId": "2686872", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_0": { "style": { "tdId": "22782345", "backgroundColor": "", "columnWidth": 100, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "844734284", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "09", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_1": { "style": { "tdId": "84421876", "backgroundColor": "", "columnWidth": 212, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "214273264", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Utpol Devnath", "style": { "fontSize": 17, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_6": { "style": { "tdId": "81415388", "backgroundColor": "", "columnWidth": 193, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "721858524", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Lead Sodtware Engineer", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": "58282143", "backgroundColor": "", "columnWidth": 191, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "258258874", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "devutpol@authlab.io", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_3": { "style": { "tdId": "12445346", "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "834285321", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "+1-202-555-0199", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_4": { "style": { "tdId": "88465467", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "782468828", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "5th April, 2017", "style": { "fontSize": 15, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] } } } ], "headers": [ "column_0", "column_1", "column_6", "column_2", "column_3", "column_4" ], "table": { "tr": 10, "tc": 6, "merge": { "history": [] } } }';
145
+ $table_settings = '{ "general": { "name": "General", "key": "general", "has_pro": false, "options": { "cell_padding": { "label": "Cell Padding", "type": "slider", "value": 10, "min": 0, "max": 50 }, "table_alignment": { "label": "Table Alignment", "type": "alignment", "value": "center" }, "columns_rows_separate": { "label": "Separate Columns/Rows", "type": "switch", "value": "false", "childs": { "space_between_column": { "label": "Space Between Columns", "type": "slider", "value": "3", "min": 0, "max": 50 }, "space_between_row": { "label": "Space Between Rows", "type": "slider", "value": "3", "min": 0, "max": 50 } } }, "container_max_width_switch": { "label": "Table Container Max Width", "type": "switch", "value": "false", "childs": { "container_max_width": { "label": "Table Container Max Width", "type": "slider", "value": "700", "min": 100, "max": 5000 } } }, "cell_min_auto_width": { "label": "Table Cell Min Auto Width", "type": "slider", "value": 150, "min": 10, "max": 500 }, "container_max_height": { "label": "Table Container Max Height", "type": "slider", "value": 500, "min": 100, "max": 2000 } } }, "background": { "name": "Background", "key": "background", "has_pro": false, "options": { "header_background": { "label": "Header Background", "type": "color", "value": "#1B5067" }, "even_row_background": { "label": "Even Row Background", "type": "color", "value": "#314459" }, "odd_row_background": { "label": "Odd Row Background", "type": "color", "value": "#33404A" } } }, "sticky": { "name": "Sticky", "key": "sticky", "has_pro": false, "options": { "first_row_sticky": { "label": "First Row Sticky", "type": "switch", "value": false }, "first_column_sticky": { "label": "First Column Sticky", "type": "switch", "value": false } } }, "accessibility": { "name": "Accessibility", "key": "accessibility", "has_pro": false, "options": { "table_role": { "label": "Table Role", "type": "select", "value": "table", "items": [ { "label": "Table", "value": "table" }, { "label": "Presentation", "value": "presentation" }, { "label": "List", "value": "list" }, { "label": "Row Group", "value": "rowgroup" } ] } } }, "border": { "name": "Border", "key": "border", "has_pro": false, "options": { "table_border": { "label": "Table Border", "type": "slider", "value": 2, "min": 0, "max": 50 }, "border_color": { "label": "Border Color", "type": "color", "value": "#FFF200" }, "inner_border": { "label": "Apply Inner Border", "type": "switch", "value": true, "childs": { "header_inner_border": { "label": "Header Inner Border", "type": "switch", "value": true }, "inner_border_color": { "label": "Inner Border Color", "type": "color", "value": "" }, "inner_border_size": { "label": "Inner Border Size", "type": "slider", "value": 1, "min": 0, "max": 50 } } } } }, "global_styling": { "name": "Global Style", "key": "global_styling", "has_pro": false, "options": { "margin_top": { "label": "Margin Top", "type": "slider", "value": 0, "min": 0, "max": 100 }, "font_size": { "label": "Font Size", "type": "slider", "value": 15, "min": 12, "max": 40 }, "color": { "label": "Color", "type": "color", "value": "#000000" }, "font_family": { "label": "Font Family", "type": "select", "value": "Charcoal", "items": [ { "label": "Inherit", "value": "inherit" }, { "label": "Arial", "value": "Arial" }, { "label": "Helvetica", "value": "Helvetica" }, { "label": "Comic Sans", "value": "Comic Sans" }, { "label": "Courier New", "value": "Courier New" }, { "label": "Georgia", "value": "Georgia" }, { "label": "Impact", "value": "Impact" }, { "label": "Charcoal", "value": "Charcoal" }, { "label": "Lucida Grande", "value": "Lucida Grande" }, { "label": "Palatino Linotype", "value": "Palatino Linotype" }, { "label": "Book Antiqua", "value": "Book Antiqua" }, { "label": "Palatino", "value": "Palatino" }, { "label": "Tahoma", "value": "Tahoma" }, { "label": "Geneva", "value": "Geneva" }, { "label": "Times New Roman", "value": "Times New Roman" }, { "label": "Verdana", "value": "Verdana" }, { "label": "Monaco", "value": "Monaco" } ] } } } }';
146
  $table_responsive = '{ "general": { "name": "General", "key": "general", "has_pro": false, "options": { "enable_responsive_table": { "label": "Enable Responsive Table", "type": "switch", "value": "true" } } }, "mode_options": { "name": "Mode Options", "key": "mode_options", "has_pro": false, "options": { "devices": { "mobile": { "name": "Mobile", "key": "mobile", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": "false" }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": false }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 1, "min": 1, "max": 5 }, "cell_border": { "label": "Group Separator", "key": "mobile_cell_border", "type": "slider", "value": 1, "min": 1, "max": 10 } }, "tablet": { "name": "Tablet", "key": "tablet", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": "false" }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "true" }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 2, "min": 1, "max": 5 }, "cell_border": { "label": "Group Separator", "key": "tablet_cell_border", "type": "slider", "value": 2, "min": 1, "max": 10 } }, "desktop": { "name": "Desktop", "key": "desktop", "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": false, "disable": true }, "static_top_row": { "label": "Static Top Row", "key": "static_top_row", "type": "switch", "value": false, "disable": true } } } } } }';
147
 
148
  return [
156
  {
157
 
158
  $table_data = '{ "id": 531, "table_name": "Employee-Schedule table", "data": [ { "rows": { "column_1": { "style": { "tdId": 52777, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 201632, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Name", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 27273, "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "646721", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Saturday", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_9": { "style": { "tdId": "0105", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "697692", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Sunday", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_10": { "style": { "tdId": "9999", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "896441", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Monday", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_11": { "style": { "tdId": "9554", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "699998", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Tuesday", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_12": { "style": { "tdId": "4080", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "469994", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Wednesday", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_13": { "style": { "tdId": "0684", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "468107", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Thursday", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_14": { "style": { "tdId": "6546", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "491968", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Friday", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] } }, "style": { "trId": 7522, "backgroundColor": "", "rowHeight": 65 } }, { "style": { "trId": "744", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_1": { "style": { "tdId": "0044", "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "485806", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Sumon Sarker", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": "6746", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "41616", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 22, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_9": { "style": { "tdId": "0688", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "682056", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 22, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_10": { "style": { "tdId": "0420", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "185109", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close-circle", "style": { "color": "rgb(255, 0, 0)", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_11": { "style": { "tdId": "0684", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "959055", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 22, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_12": { "style": { "tdId": "9099", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "558584", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 22, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_13": { "style": { "tdId": "8880", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "179066", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 22, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_14": { "style": { "tdId": "5616", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "49134", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "help-circle", "style": { "color": "rgb(199, 21, 133)", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } } }, { "rows": { "column_1": { "style": { "tdId": 80750, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 213819, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Sakib Mohammed", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 80527, "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "94644", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_9": { "style": { "tdId": "0599", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "514909", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_10": { "style": { "tdId": "4929", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "188964", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_11": { "style": { "tdId": "5991", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "463140", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_12": { "style": { "tdId": "5594", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "609934", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_13": { "style": { "tdId": "8147", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "692649", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close-circle", "style": { "color": "rgb(255, 0, 0)", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_14": { "style": { "tdId": "9009", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "449193", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "help-circle", "style": { "color": "#D20D89", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } }, "style": { "trId": 9426, "backgroundColor": "", "rowHeight": 50 } }, { "style": { "trId": "691", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_1": { "style": { "tdId": "6009", "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "617666", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Naeem Haque", "style": { "fontSize": 17, "color": "rgb(0, 0, 0)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": "1060", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "044646", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_9": { "style": { "tdId": "4495", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "458266", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_10": { "style": { "tdId": "8846", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "414542", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_11": { "style": { "tdId": "5453", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "493949", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_12": { "style": { "tdId": "5449", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "490949", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_13": { "style": { "tdId": "9272", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "985071", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_14": { "style": { "tdId": "5859", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "940648", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "help-circle", "style": { "color": "#D20D89", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } } }, { "rows": { "column_1": { "style": { "tdId": 11366, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "868800", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Hasanuzzaman", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 48048, "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "391024", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_9": { "style": { "tdId": "5626", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "154929", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_10": { "style": { "tdId": "9241", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "021994", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_11": { "style": { "tdId": "5694", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "614119", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close-circle", "style": { "color": "rgb(255, 0, 0)", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_12": { "style": { "tdId": "4999", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "945654", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_13": { "style": { "tdId": "1919", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "649978", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_14": { "style": { "tdId": "1000", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "448061", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "help-circle", "style": { "color": "#D20D89", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } }, "style": { "trId": 9705, "backgroundColor": "", "rowHeight": 50 } }, { "style": { "trId": "560", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_1": { "style": { "tdId": "0660", "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "003899", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Utpol Devnath", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": "9000", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "904369", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_9": { "style": { "tdId": "6600", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "696741", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close-circle", "style": { "color": "rgb(255, 0, 0)", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_10": { "style": { "tdId": "4911", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "254210", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_11": { "style": { "tdId": "4958", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "606544", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_12": { "style": { "tdId": "5498", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "010996", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_13": { "style": { "tdId": "9501", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "841549", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_14": { "style": { "tdId": "0509", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "086083", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "help-circle", "style": { "color": "#D20D89", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } } }, { "rows": { "column_1": { "style": { "tdId": 58639, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 391438, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Ruhel Khan", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 50191, "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "16436", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "help-circle", "style": { "color": "#FF0000", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_9": { "style": { "tdId": "6275", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "606956", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_10": { "style": { "tdId": "6449", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "995481", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close-circle", "style": { "color": "rgb(255, 0, 0)", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_11": { "style": { "tdId": "9191", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "094491", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "rgb(55, 157, 19)", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_12": { "style": { "tdId": "1649", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "090288", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close-circle", "style": { "color": "rgb(255, 0, 0)", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_13": { "style": { "tdId": "0976", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "776716", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "rgb(255, 0, 0)", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_14": { "style": { "tdId": "7019", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "010068", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "help-circle", "style": { "color": "#D20D89", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } }, "style": { "trId": 8763, "backgroundColor": "", "rowHeight": 50 } }, { "rows": { "column_1": { "style": { "tdId": 39599, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 898305, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Bindaas Nitesh", "style": { "fontSize": 17, "color": "rgb(0, 0, 0)", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 54639, "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "87818", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_9": { "style": { "tdId": "2107", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "922666", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_10": { "style": { "tdId": "5049", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "461484", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_11": { "style": { "tdId": "6441", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "116809", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_12": { "style": { "tdId": "0859", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "384469", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_13": { "style": { "tdId": "7449", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "569725", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_14": { "style": { "tdId": "9917", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "810711", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "help-circle", "style": { "color": "#D20D89", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } }, "style": { "trId": 8871, "backgroundColor": "", "rowHeight": 50 } }, { "style": { "trId": "665", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_1": { "style": { "tdId": "9036", "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "600566", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Tanjim TC", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": "0691", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "43396", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "help-circle", "style": { "color": "rgb(255, 0, 0)", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_9": { "style": { "tdId": "9571", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "654261", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_10": { "style": { "tdId": "4514", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "156224", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "checkmark-circle", "style": { "color": "#379D13", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_11": { "style": { "tdId": "6466", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "608056", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close-circle", "style": { "color": "rgb(255, 0, 0)", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_12": { "style": { "tdId": "6414", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "300445", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close-circle", "style": { "color": "rgb(255, 0, 0)", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_13": { "style": { "tdId": "8298", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "108979", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close-circle", "style": { "color": "rgb(255, 0, 0)", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_14": { "style": { "tdId": "7941", "backgroundColor": "", "columnWidth": 135, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "160414", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "help-circle", "style": { "color": "#D20D89", "fontSize": 20, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } } } ], "headers": [ "column_1", "column_2", "column_9", "column_10", "column_11", "column_12", "column_13", "column_14" ], "table": { "tr": 9, "tc": 8, "merge": { "history": [] } } }';
159
+ $table_settings = '{ "general": { "name": "General", "key": "general", "has_pro": false, "options": { "cell_padding": { "label": "Cell Padding", "type": "slider", "value": 7, "min": 0, "max": 50 }, "table_alignment": { "label": "Table Alignment", "type": "alignment", "value": "center" }, "columns_rows_separate": { "label": "Separate Columns/Rows", "type": "switch", "value": false, "childs": { "space_between_column": { "label": "Space Between Columns", "type": "slider", "value": 0, "min": 0, "max": 50 }, "space_between_row": { "label": "Space Between Rows", "type": "slider", "value": 0, "min": 0, "max": 50 } } }, "container_max_width_switch": { "label": "Table Container Max Width", "type": "switch", "value": false, "childs": { "container_max_width": { "label": "Table Container Max Width", "type": "slider", "value": 700, "min": 100, "max": 5000 } } }, "cell_min_auto_width": { "label": "Table Cell Min Auto Width", "type": "slider", "value": 160, "min": 10, "max": 500 }, "container_max_height": { "label": "Table Container Max Height", "type": "slider", "value": 500, "min": 100, "max": 2000 } } }, "background": { "name": "Background", "key": "background", "has_pro": false, "options": { "header_background": { "label": "Header Background", "type": "color", "value": "rgb(83, 113, 222)" }, "even_row_background": { "label": "Even Row Background", "type": "color", "value": "#A9D6E5" }, "odd_row_background": { "label": "Odd Row Background", "type": "color", "value": "#BFD2FF" } } }, "sticky": { "name": "Sticky", "key": "sticky", "has_pro": false, "options": { "first_row_sticky": { "label": "First Row Sticky", "type": "switch", "value": false }, "first_column_sticky": { "label": "First Column Sticky", "type": "switch", "value": false } } }, "accessibility": { "name": "Accessibility", "key": "accessibility", "has_pro": false, "options": { "table_role": { "label": "Table Role", "type": "select", "value": "table", "items": [ { "label": "Table", "value": "table" }, { "label": "Presentation", "value": "presentation" }, { "label": "List", "value": "list" }, { "label": "Row Group", "value": "rowgroup" } ] } } }, "border": { "name": "Border", "key": "border", "has_pro": false, "options": { "table_border": { "label": "Table Border", "type": "slider", "value": 1, "min": 0, "max": 50 }, "border_color": { "label": "Border Color", "type": "color", "value": "#00CED1" }, "inner_border": { "label": "Apply Inner Border", "type": "switch", "value": false, "childs": { "header_inner_border": { "label": "Header Inner Border", "type": "switch", "value": false }, "inner_border_color": { "label": "Inner Border Color", "type": "color", "value": "" }, "inner_border_size": { "label": "Inner Border Size", "type": "slider", "value": 0, "min": 0, "max": 50 } } } } }, "global_styling": { "name": "Global Style", "key": "global_styling", "has_pro": false, "options": { "margin_top": { "label": "Margin Top", "type": "slider", "value": 0, "min": 0, "max": 100 }, "font_size": { "label": "Font Size", "type": "slider", "value": 15, "min": 12, "max": 40 }, "color": { "label": "Color", "type": "color", "value": "#000000" }, "font_family": { "label": "Font Family", "type": "select", "value": "Palatino", "items": [ { "label": "Inherit", "value": "inherit" }, { "label": "Arial", "value": "Arial" }, { "label": "Helvetica", "value": "Helvetica" }, { "label": "Comic Sans", "value": "Comic Sans" }, { "label": "Courier New", "value": "Courier New" }, { "label": "Georgia", "value": "Georgia" }, { "label": "Impact", "value": "Impact" }, { "label": "Charcoal", "value": "Charcoal" }, { "label": "Lucida Grande", "value": "Lucida Grande" }, { "label": "Palatino Linotype", "value": "Palatino Linotype" }, { "label": "Book Antiqua", "value": "Book Antiqua" }, { "label": "Palatino", "value": "Palatino" }, { "label": "Tahoma", "value": "Tahoma" }, { "label": "Geneva", "value": "Geneva" }, { "label": "Times New Roman", "value": "Times New Roman" }, { "label": "Verdana", "value": "Verdana" }, { "label": "Monaco", "value": "Monaco" } ] } } } }';
160
  $table_responsive = '{ "general": { "name": "General", "key": "general", "has_pro": false, "options": { "enable_responsive_table": { "label": "Enable Responsive Table", "type": "switch", "value": "true" } } }, "mode_options": { "name": "Mode Options", "key": "mode_options", "has_pro": false, "options": { "devices": { "mobile": { "name": "Mobile", "key": "mobile", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": "false" }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": true }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 1, "min": 1, "max": 5 }, "cell_border": { "label": "Group Separator", "key": "mobile_cell_border", "type": "slider", "value": 1, "min": 1, "max": 10 } }, "tablet": { "name": "Tablet", "key": "tablet", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": "false" }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "true" }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 2, "min": 1, "max": 5 }, "cell_border": { "label": "Group Separator", "key": "tablet_cell_border", "type": "slider", "value": 1, "min": 1, "max": 10 } }, "desktop": { "name": "Desktop", "key": "desktop", "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": false, "disable": true }, "static_top_row": { "label": "Static Top Row", "key": "static_top_row", "type": "switch", "value": false, "disable": true } } } } } }';
161
 
162
  return [
170
  {
171
 
172
  $table_data = '{ "id": 533, "table_name": "Schedule Table 1", "data": [ { "rows": { "column_0": { "style": { "tdId": 55455, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "206246", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Day", "style": { "iconColor": "#000000", "iconFontSize": 25, "iconName": "calendar-outline", "iconPosition": "left", "itemSpacing": 4, "color": "#000000", "fontSize": 25, "alignment": "center", "fontWeight": [ "bold" ], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_1": { "style": { "tdId": 50573, "backgroundColor": "", "columnWidth": 165, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "184171", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Time", "style": { "iconColor": "#000000", "iconFontSize": 25, "iconName": "stopwatch-outline", "iconPosition": "left", "itemSpacing": 4, "color": "#000000", "fontSize": 25, "alignment": "center", "fontWeight": [ "bold" ], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_2": { "style": { "tdId": 29518, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "864483", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Subject", "style": { "iconColor": "#000000", "iconFontSize": 25, "iconName": "book-outline", "iconPosition": "left", "itemSpacing": 4, "color": "#000000", "fontSize": 25, "alignment": "center", "fontWeight": [ "bold" ], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_3": { "style": { "tdId": 34809, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "16710", "data": { "name": "Text Icon", "type": "text_icon", "icon": "el-icon-notebook-1", "has_pro": false, "value": "Instructor", "style": { "iconColor": "#000000", "iconFontSize": 25, "iconName": "person-circle-outline", "iconPosition": "left", "itemSpacing": 4, "color": "#000000", "fontSize": 25, "alignment": "center", "fontWeight": [ "bold" ], "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } }, "style": { "trId": 6500, "backgroundColor": "", "rowHeight": 65 } }, { "rows": { "column_0": { "style": { "tdId": 80476, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 356626, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Saturday", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": 18595, "backgroundColor": "", "columnWidth": 165, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 188012, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "10:00 AM - 11:00 AM", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": 34043, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "056878", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Physics", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": 77504, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 351029, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Root", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } }, "style": { "trId": 9552, "backgroundColor": "", "rowHeight": 50 } }, { "rows": { "column_0": { "style": { "tdId": 97213, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 936954, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Sunday", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": 69895, "backgroundColor": "", "columnWidth": 165, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "097460", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "10:00 AM - 11:00 AM", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": 16561, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 778547, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Chemistry", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": 13937, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "070780", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Root", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } }, "style": { "trId": 8049, "backgroundColor": "", "rowHeight": "" } }, { "rows": { "column_0": { "style": { "tdId": 13646, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 578280, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Monday", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": 70846, "backgroundColor": "", "columnWidth": 165, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "630663", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "10:00 AM - 11:00 AM", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": 95451, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 567797, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Science", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": 24989, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "168718", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Root", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } }, "style": { "trId": 4412, "backgroundColor": "", "rowHeight": 50 } }, { "rows": { "column_0": { "style": { "tdId": 79941, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 186419, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Tuesday", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": 21918, "backgroundColor": "", "columnWidth": 165, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "161647", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "10:00 AM - 11:00 AM", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": 45153, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 369753, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Math", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": 30517, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "666884", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Root", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } }, "style": { "trId": 8736, "backgroundColor": "", "rowHeight": "" } }, { "rows": { "column_0": { "style": { "tdId": 19674, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 410358, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Wednesday", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": 13934, "backgroundColor": "", "columnWidth": 165, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "628801", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "10:00 AM - 11:00 AM", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": 11827, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 692654, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Biology", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": 90197, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "110486", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Root", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } }, "style": { "trId": 8778, "backgroundColor": "", "rowHeight": "" } }, { "rows": { "column_0": { "style": { "tdId": 37518, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 116793, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Thursday", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": 81295, "backgroundColor": "", "columnWidth": 165, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "586914", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "10:00 AM - 11:00 AM", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": 73158, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 113579, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Geometry", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": 46206, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "159519", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Root", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } }, "style": { "trId": 9011, "backgroundColor": "", "rowHeight": "" } }, { "rows": { "column_0": { "style": { "tdId": 84035, "backgroundColor": "", "columnWidth": 170, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 459179, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Friday", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_1": { "style": { "tdId": 32645, "backgroundColor": "", "columnWidth": 165, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "400568", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "10:00 AM - 11:00 AM", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": 80368, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 123660, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "English", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": 96152, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "686816", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Root", "style": { "fontSize": 17, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } }, "style": { "trId": 1069, "backgroundColor": "", "rowHeight": 50 } } ], "headers": [ "column_0", "column_1", "column_2", "column_3" ], "table": { "tr": "8", "tc": "4", "merge": { "history": [] } } }';
173
+ $table_settings = '{ "general": { "name": "General", "key": "general", "has_pro": false, "options": { "cell_padding": { "label": "Cell Padding", "type": "slider", "value": 13, "min": 0, "max": 50 }, "table_alignment": { "label": "Table Alignment", "type": "alignment", "value": "center" }, "columns_rows_separate": { "label": "Separate Columns/Rows", "type": "switch", "value": false, "childs": { "space_between_column": { "label": "Space Between Columns", "type": "slider", "value": 1, "min": 0, "max": 50 }, "space_between_row": { "label": "Space Between Rows", "type": "slider", "value": 0, "min": 0, "max": 50 } } }, "container_max_width_switch": { "label": "Table Container Max Width", "type": "switch", "value": "false", "childs": { "container_max_width": { "label": "Table Container Max Width", "type": "slider", "value": "700", "min": 100, "max": 5000 } } }, "cell_min_auto_width": { "label": "Table Cell Min Auto Width", "type": "slider", "value": 150, "min": 10, "max": 500 }, "container_max_height": { "label": "Table Container Max Height", "type": "slider", "value": 500, "min": 100, "max": 2000 } } }, "background": { "name": "Background", "key": "background", "has_pro": false, "options": { "header_background": { "label": "Header Background", "type": "color", "value": "#37D5F5" }, "even_row_background": { "label": "Even Row Background", "type": "color", "value": "#D7E2FE" }, "odd_row_background": { "label": "Odd Row Background", "type": "color", "value": "#E3E3E3" } } }, "sticky": { "name": "Sticky", "key": "sticky", "has_pro": false, "options": { "first_row_sticky": { "label": "First Row Sticky", "type": "switch", "value": false }, "first_column_sticky": { "label": "First Column Sticky", "type": "switch", "value": false } } }, "accessibility": { "name": "Accessibility", "key": "accessibility", "has_pro": false, "options": { "table_role": { "label": "Table Role", "type": "select", "value": "table", "items": [ { "label": "Table", "value": "table" }, { "label": "Presentation", "value": "presentation" }, { "label": "List", "value": "list" }, { "label": "Row Group", "value": "rowgroup" } ] } } }, "border": { "name": "Border", "key": "border", "has_pro": false, "options": { "table_border": { "label": "Table Border", "type": "slider", "value": 1, "min": 0, "max": 50 }, "border_color": { "label": "Border Color", "type": "color", "value": "#00CED1" }, "inner_border": { "label": "Apply Inner Border", "type": "switch", "value": false, "childs": { "header_inner_border": { "label": "Header Inner Border", "type": "switch", "value": false }, "inner_border_color": { "label": "Inner Border Color", "type": "color", "value": "#C71585" }, "inner_border_size": { "label": "Inner Border Size", "type": "slider", "value": 0, "min": 0, "max": 50 } } } } }, "global_styling": { "name": "Global Style", "key": "global_styling", "has_pro": false, "options": { "margin_top": { "label": "Margin Top", "type": "slider", "value": 0, "min": 0, "max": 100 }, "font_size": { "label": "Font Size", "type": "slider", "value": 15, "min": 12, "max": 40 }, "color": { "label": "Color", "type": "color", "value": "#000000" }, "font_family": { "label": "Font Family", "type": "select", "value": "inherit", "items": [ { "label": "Inherit", "value": "inherit" }, { "label": "Arial", "value": "Arial" }, { "label": "Helvetica", "value": "Helvetica" }, { "label": "Comic Sans", "value": "Comic Sans" }, { "label": "Courier New", "value": "Courier New" }, { "label": "Georgia", "value": "Georgia" }, { "label": "Impact", "value": "Impact" }, { "label": "Charcoal", "value": "Charcoal" }, { "label": "Lucida Grande", "value": "Lucida Grande" }, { "label": "Palatino Linotype", "value": "Palatino Linotype" }, { "label": "Book Antiqua", "value": "Book Antiqua" }, { "label": "Palatino", "value": "Palatino" }, { "label": "Tahoma", "value": "Tahoma" }, { "label": "Geneva", "value": "Geneva" }, { "label": "Times New Roman", "value": "Times New Roman" }, { "label": "Verdana", "value": "Verdana" }, { "label": "Monaco", "value": "Monaco" } ] } } } }';
174
  $table_responsive = '{ "general": { "name": "General", "key": "general", "has_pro": "false", "options": { "enable_responsive_table": { "label": "Enable Responsive Table", "type": "switch", "value": "true" } } }, "mode_options": { "name": "Mode Options", "key": "mode_options", "has_pro": "false", "options": { "devices": { "mobile": { "name": "Mobile", "key": "mobile", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": "false" }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": true }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 1, "min": "1", "max": "5" } }, "tablet": { "name": "Tablet", "key": "tablet", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": "false" }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "true" }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 2, "min": "1", "max": "5" } }, "desktop": { "name": "Desktop", "key": "desktop", "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "false", "disable": "true" }, "static_top_row": { "label": "Static Top Row", "key": "static_top_row", "type": "switch", "value": "false", "disable": "true" } } } } } }';
175
 
176
  return [
184
  {
185
 
186
  $table_data = '{ "id": 175, "table_name": "Schedule Table 2", "data": [ { "rows": { "column_1": { "style": { "tdId": 52777, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 201632, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Time", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_2": { "style": { "tdId": 27273, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "646721", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Saturday", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_3": { "style": { "tdId": 11764, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "873134", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Sunday", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_4": { "style": { "tdId": 99259, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "846373", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Monday", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_5": { "style": { "tdId": 64385, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "093261", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Tuesday", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_6": { "style": { "tdId": 85310, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "793630", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Wednesday", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_7": { "style": { "tdId": 90315, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "439554", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Thursday", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] }, "column_8": { "style": { "tdId": 37921, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 849493, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Friday", "style": { "fontSize": 20, "color": "#FFFFFF", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [ "bold" ] } } } ] } }, "style": { "trId": 7522, "backgroundColor": "", "rowHeight": 70 } }, { "style": { "trId": "744", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_1": { "style": { "tdId": "0044", "backgroundColor": "", "columnWidth": 150, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "485806", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "10:00AM - 11:30AM", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "6746", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "905606", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Physics", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": "0517", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "646482", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Math", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": "4641", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "661915", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Physics", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_5": { "style": { "tdId": "5109", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "464474", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Chemistry", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_6": { "style": { "tdId": "0944", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "429886", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Geometry", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_7": { "style": { "tdId": "4297", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "140649", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Statistics", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_8": { "style": { "tdId": "0950", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "146008", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close", "style": { "color": "#000000", "fontSize": 15, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } } }, { "rows": { "column_1": { "style": { "tdId": 80750, "backgroundColor": "", "columnWidth": 150, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 213819, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "10:00AM - 11:30AM", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": 80527, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 381302, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Physics", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": 47705, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 872922, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Math", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": 39019, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 657068, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Physics", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_5": { "style": { "tdId": 91608, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 635595, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Chemistry", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_6": { "style": { "tdId": 75445, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 607163, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Geometry", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_7": { "style": { "tdId": 45813, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 667186, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Statistics", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_8": { "style": { "tdId": 12218, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "796282", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close", "style": { "color": "#000000", "fontSize": 15, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] } }, "style": { "trId": 9426, "backgroundColor": "", "rowHeight": 50 } }, { "style": { "trId": "691", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_1": { "style": { "tdId": "6009", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "003899", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "11:40AM - 1:00PM", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "1060", "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "000060", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Math", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": "3099", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "663919", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Physics", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": "9901", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "009004", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Chemistry", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_5": { "style": { "tdId": "0819", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "090019", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close", "style": { "color": "#000000", "fontSize": 15, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_6": { "style": { "tdId": "9989", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "011099", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Statistics", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_7": { "style": { "tdId": "8190", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "999839", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Geometry", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_8": { "style": { "tdId": "0000", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "909091", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Economics", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "rows": { "column_1": { "style": { "tdId": 11366, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 242021, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "2:00PM - 2:50PM", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": 48048, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 542941, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Group Discussion", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": 65772, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 134396, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Science", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": 12751, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 359831, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "English", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_5": { "style": { "tdId": 95362, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 665948, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Language", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_6": { "style": { "tdId": 52906, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 671858, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Group Discussion", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_7": { "style": { "tdId": 73538, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 643419, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Language", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_8": { "style": { "tdId": 24931, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 468610, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Group Discussion", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } }, "style": { "trId": 9705, "backgroundColor": "", "rowHeight": 50 } }, { "style": { "trId": "560", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_1": { "style": { "tdId": "0660", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "044660", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "11:40AM - 1:00PM", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "9000", "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "440060", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Math", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": "0190", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "860468", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Physics", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": "0186", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "046060", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Chemistry", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_5": { "style": { "tdId": "9084", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "066604", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close", "style": { "color": "#000000", "fontSize": 15, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_6": { "style": { "tdId": "1001", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "148810", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Statistics", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_7": { "style": { "tdId": "0498", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "046068", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Geometry", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_8": { "style": { "tdId": "8800", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "496040", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Economics", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } }, { "rows": { "column_1": { "style": { "tdId": 58639, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 391438, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "11:40AM - 1:00PM", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": 50191, "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 957004, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Math", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": 64615, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 973647, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Physics", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": 69534, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 113948, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Chemistry", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_5": { "style": { "tdId": 25927, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "40173", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close", "style": { "color": "#000000", "fontSize": 15, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_6": { "style": { "tdId": 40151, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 486293, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Statistics", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_7": { "style": { "tdId": 95881, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 412015, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Geometry", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_8": { "style": { "tdId": 50727, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 691973, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Economics", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } }, "style": { "trId": 8763, "backgroundColor": "", "rowHeight": 50 } }, { "rows": { "column_1": { "style": { "tdId": 39599, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": 898305, "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "3:00PM - 4:00PM", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": 54639, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "264906", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Cultural Activities", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": 30362, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "297694", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Cultural Activities", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": 77377, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "144284", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Cultural Activities", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_5": { "style": { "tdId": 23674, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "081009", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Cultural Activities", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_6": { "style": { "tdId": 47638, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "449730", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Cultural Activities", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_7": { "style": { "tdId": 76161, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "203844", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Cultural Activities", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_8": { "style": { "tdId": 97788, "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "843812", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Cultural Activities", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } }, "style": { "trId": 8871, "backgroundColor": "", "rowHeight": 50 } }, { "style": { "trId": "665", "backgroundColor": "", "rowHeight": 50 }, "rows": { "column_1": { "style": { "tdId": "9036", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "600566", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "11:40AM - 1:00PM", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_2": { "style": { "tdId": "0691", "backgroundColor": "", "columnWidth": 160, "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "664906", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Math", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_3": { "style": { "tdId": "0106", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "670675", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Physics", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_4": { "style": { "tdId": "6110", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "639881", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Chemistry", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_5": { "style": { "tdId": "5604", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "608477", "data": { "name": "Icon", "type": "icon", "icon": "el-icon-finished", "has_pro": false, "value": "close", "style": { "color": "#000000", "fontSize": 15, "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 } } } } ] }, "column_6": { "style": { "tdId": "6300", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "567349", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Statistics", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_7": { "style": { "tdId": "9570", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "068660", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Geometry", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] }, "column_8": { "style": { "tdId": "9183", "backgroundColor": "", "columnWidth": "", "emptyCell": "", "verticalAlignment": "", "rowspan": 1, "colspan": 1 }, "columns": [ { "id": "000486", "data": { "name": "Text", "type": "text", "icon": "el-icon-edit-outline", "has_pro": false, "value": "Economics", "style": { "fontSize": 15, "color": "#000000", "alignment": "center", "margin": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "padding": { "top": 0, "bottom": 0, "left": 0, "right": 0 }, "fontWeight": [] } } } ] } } } ], "headers": [ "column_1", "column_2", "column_3", "column_4", "column_5", "column_6", "column_7", "column_8" ], "table": { "tr": 9, "tc": 8, "merge": { "history": [] } } }';
187
+ $table_settings = '{ "general": { "name": "General", "key": "general", "has_pro": false, "options": { "cell_padding": { "label": "Cell Padding", "type": "slider", "value": 10, "min": 0, "max": 50 }, "table_alignment": { "label": "Table Alignment", "type": "alignment", "value": "center" }, "columns_rows_separate": { "label": "Separate Columns/Rows", "type": "switch", "value": "false", "childs": { "space_between_column": { "label": "Space Between Columns", "type": "slider", "value": "3", "min": 0, "max": 50 }, "space_between_row": { "label": "Space Between Rows", "type": "slider", "value": "3", "min": 0, "max": 50 } } }, "container_max_width_switch": { "label": "Table Container Max Width", "type": "switch", "value": false, "childs": { "container_max_width": { "label": "Table Container Max Width", "type": "slider", "value": 700, "min": 100, "max": 5000 } } }, "cell_min_auto_width": { "label": "Table Cell Min Auto Width", "type": "slider", "value": 160, "min": 10, "max": 500 }, "container_max_height": { "label": "Table Container Max Height", "type": "slider", "value": 500, "min": 100, "max": 2000 } } }, "background": { "name": "Background", "key": "background", "has_pro": false, "options": { "header_background": { "label": "Header Background", "type": "color", "value": "rgb(180, 19, 119)" }, "even_row_background": { "label": "Even Row Background", "type": "color", "value": "#D3F8DA" }, "odd_row_background": { "label": "Odd Row Background", "type": "color", "value": "#E9ECFF" } } }, "sticky": { "name": "Sticky", "key": "sticky", "has_pro": false, "options": { "first_row_sticky": { "label": "First Row Sticky", "type": "switch", "value": false }, "first_column_sticky": { "label": "First Column Sticky", "type": "switch", "value": false } } }, "accessibility": { "name": "Accessibility", "key": "accessibility", "has_pro": false, "options": { "table_role": { "label": "Table Role", "type": "select", "value": "table", "items": [ { "label": "Table", "value": "table" }, { "label": "Presentation", "value": "presentation" }, { "label": "List", "value": "list" }, { "label": "Row Group", "value": "rowgroup" } ] } } }, "border": { "name": "Border", "key": "border", "has_pro": false, "options": { "table_border": { "label": "Table Border", "type": "slider", "value": 1, "min": 0, "max": 50 }, "border_color": { "label": "Border Color", "type": "color", "value": "#8A36E0" }, "inner_border": { "label": "Apply Inner Border", "type": "switch", "value": false, "childs": { "header_inner_border": { "label": "Header Inner Border", "type": "switch", "value": false }, "inner_border_color": { "label": "Inner Border Color", "type": "color", "value": "" }, "inner_border_size": { "label": "Inner Border Size", "type": "slider", "value": 0, "min": 0, "max": 50 } } } } }, "global_styling": { "name": "Global Style", "key": "global_styling", "has_pro": false, "options": { "margin_top": { "label": "Margin Top", "type": "slider", "value": 0, "min": 0, "max": 100 }, "font_size": { "label": "Font Size", "type": "slider", "value": 15, "min": 12, "max": 40 }, "color": { "label": "Color", "type": "color", "value": "#000000" }, "font_family": { "label": "Font Family", "type": "select", "value": "Georgia", "items": [ { "label": "Inherit", "value": "inherit" }, { "label": "Arial", "value": "Arial" }, { "label": "Helvetica", "value": "Helvetica" }, { "label": "Comic Sans", "value": "Comic Sans" }, { "label": "Courier New", "value": "Courier New" }, { "label": "Georgia", "value": "Georgia" }, { "label": "Impact", "value": "Impact" }, { "label": "Charcoal", "value": "Charcoal" }, { "label": "Lucida Grande", "value": "Lucida Grande" }, { "label": "Palatino Linotype", "value": "Palatino Linotype" }, { "label": "Book Antiqua", "value": "Book Antiqua" }, { "label": "Palatino", "value": "Palatino" }, { "label": "Tahoma", "value": "Tahoma" }, { "label": "Geneva", "value": "Geneva" }, { "label": "Times New Roman", "value": "Times New Roman" }, { "label": "Verdana", "value": "Verdana" }, { "label": "Monaco", "value": "Monaco" } ] } } } }';
188
  $table_responsive = '{ "general": { "name": "General", "key": "general", "has_pro": "false", "options": { "enable_responsive_table": { "label": "Enable Responsive Table", "type": "switch", "value": "true" } } }, "mode_options": { "name": "Mode Options", "key": "mode_options", "has_pro": "false", "options": { "devices": { "mobile": { "name": "Mobile", "key": "mobile", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": "false" }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": false }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 1, "min": "1", "max": "5" } }, "tablet": { "name": "Tablet", "key": "tablet", "disable_breakpoint": { "label": "Disable Breakpoint", "key": "disable_breakpoint", "type": "switch", "value": "false" }, "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "true" }, "items_per_row": { "label": "Items Per Header", "key": "items_per_header", "type": "slider", "value": 2, "min": "1", "max": "5" } }, "desktop": { "name": "Desktop", "key": "desktop", "top_row_as_header": { "label": "Top Row As Header", "key": "top_row_as_header", "type": "switch", "value": "false", "disable": "true" }, "static_top_row": { "label": "Static Top Row", "key": "static_top_row", "type": "switch", "value": "false", "disable": "true" } } } } } }';
189
 
190
  return [
admin/table-builder/config/setting.php CHANGED
@@ -99,12 +99,12 @@ return [
99
  "first_row_sticky" => [
100
  "label" => __("First Row Sticky", "ninja-tables"),
101
  "type" => "switch",
102
- "value" => true,
103
  ],
104
  "first_column_sticky" => [
105
  "label" => __("First Column Sticky", "ninja-tables"),
106
  "type" => "switch",
107
- "value" => true,
108
  ],
109
  ],
110
  ],
@@ -203,19 +203,19 @@ return [
203
  "min" => 0,
204
  "max" => 100,
205
  ],
206
- "font_size" => [
207
  "label" => __("Font Size", "ninja-tables"),
208
  "type" => "slider",
209
  "value" => 15,
210
  "min" => 12,
211
  "max" => 40,
212
  ],
213
- "color" => [
214
  "label" => __("Color", "ninja-tables"),
215
  "type" => "color",
216
  "value" => "#000001",
217
  ],
218
- "font_family" => [
219
  "label" => __("Font Family", "ninja-tables"),
220
  "type" => "select",
221
  "value" => "inherit",
@@ -290,7 +290,6 @@ return [
290
  ],
291
 
292
  ],
293
-
294
  ],
295
  ],
296
  ],
99
  "first_row_sticky" => [
100
  "label" => __("First Row Sticky", "ninja-tables"),
101
  "type" => "switch",
102
+ "value" => false,
103
  ],
104
  "first_column_sticky" => [
105
  "label" => __("First Column Sticky", "ninja-tables"),
106
  "type" => "switch",
107
+ "value" => false,
108
  ],
109
  ],
110
  ],
203
  "min" => 0,
204
  "max" => 100,
205
  ],
206
+ "font_size" => [
207
  "label" => __("Font Size", "ninja-tables"),
208
  "type" => "slider",
209
  "value" => 15,
210
  "min" => 12,
211
  "max" => 40,
212
  ],
213
+ "color" => [
214
  "label" => __("Color", "ninja-tables"),
215
  "type" => "color",
216
  "value" => "#000001",
217
  ],
218
+ "font_family" => [
219
  "label" => __("Font Family", "ninja-tables"),
220
  "type" => "select",
221
  "value" => "inherit",
290
  ],
291
 
292
  ],
 
293
  ],
294
  ],
295
  ],
assets/css/ninja-table-builder-public.css CHANGED
@@ -2,6 +2,7 @@
2
  .el-rate__icon,.el-rate__item{position:relative;display:inline-block}.el-rate{height:20px;line-height:1}.el-rate:active,.el-rate:focus{outline-width:0}.el-rate__item{font-size:0;vertical-align:middle}.el-rate__icon{font-size:18px;margin-right:6px;color:#C0C4CC;transition:.3s}.el-rate__decimal,.el-rate__icon .path2{position:absolute;top:0;left:0}.el-rate__icon.hover{transform:scale(1.15)}.el-rate__decimal{display:inline-block;overflow:hidden}.el-rate__text{font-size:14px;vertical-align:middle}
3
  .el-progress{position:relative;line-height:1}.el-progress__text{font-size:14px;color:#606266;display:inline-block;vertical-align:middle;margin-left:10px;line-height:1}.el-progress__text i{vertical-align:middle;display:block}.el-progress--circle,.el-progress--dashboard{display:inline-block}.el-progress--circle .el-progress__text,.el-progress--dashboard .el-progress__text{position:absolute;top:50%;left:0;width:100%;text-align:center;margin:0;transform:translate(0,-50%)}.el-progress--circle .el-progress__text i,.el-progress--dashboard .el-progress__text i{vertical-align:middle;display:inline-block}.el-progress--without-text .el-progress__text{display:none}.el-progress--without-text .el-progress-bar{padding-right:0;margin-right:0;display:block}.el-progress-bar,.el-progress-bar__inner::after,.el-progress-bar__innerText{display:inline-block;vertical-align:middle}.el-progress--text-inside .el-progress-bar{padding-right:0;margin-right:0}.el-progress.is-success .el-progress-bar__inner{background-color:#67C23A}.el-progress.is-success .el-progress__text{color:#67C23A}.el-progress.is-warning .el-progress-bar__inner{background-color:#E6A23C}.el-progress.is-warning .el-progress__text{color:#E6A23C}.el-progress.is-exception .el-progress-bar__inner{background-color:#F56C6C}.el-progress.is-exception .el-progress__text{color:#F56C6C}.el-progress-bar{padding-right:50px;width:100%;margin-right:-55px;box-sizing:border-box}.el-progress-bar__outer{height:6px;border-radius:100px;background-color:#EBEEF5;overflow:hidden;position:relative;vertical-align:middle}.el-progress-bar__inner{position:absolute;left:0;top:0;height:100%;background-color:#409EFF;text-align:right;border-radius:100px;line-height:1;white-space:nowrap;transition:width .6s ease}.el-progress-bar__inner::after{content:"";height:100%}.el-progress-bar__innerText{color:#FFF;font-size:12px;margin:0 5px}@-webkit-keyframes progress{0%{background-position:0 0}100%{background-position:32px 0}}@keyframes progress{0%{background-position:0 0}100%{background-position:32px 0}}
4
  .ntb_table_wrapper {
 
5
  max-width: initial;
6
  overflow-y: scroll;
7
  }
2
  .el-rate__icon,.el-rate__item{position:relative;display:inline-block}.el-rate{height:20px;line-height:1}.el-rate:active,.el-rate:focus{outline-width:0}.el-rate__item{font-size:0;vertical-align:middle}.el-rate__icon{font-size:18px;margin-right:6px;color:#C0C4CC;transition:.3s}.el-rate__decimal,.el-rate__icon .path2{position:absolute;top:0;left:0}.el-rate__icon.hover{transform:scale(1.15)}.el-rate__decimal{display:inline-block;overflow:hidden}.el-rate__text{font-size:14px;vertical-align:middle}
3
  .el-progress{position:relative;line-height:1}.el-progress__text{font-size:14px;color:#606266;display:inline-block;vertical-align:middle;margin-left:10px;line-height:1}.el-progress__text i{vertical-align:middle;display:block}.el-progress--circle,.el-progress--dashboard{display:inline-block}.el-progress--circle .el-progress__text,.el-progress--dashboard .el-progress__text{position:absolute;top:50%;left:0;width:100%;text-align:center;margin:0;transform:translate(0,-50%)}.el-progress--circle .el-progress__text i,.el-progress--dashboard .el-progress__text i{vertical-align:middle;display:inline-block}.el-progress--without-text .el-progress__text{display:none}.el-progress--without-text .el-progress-bar{padding-right:0;margin-right:0;display:block}.el-progress-bar,.el-progress-bar__inner::after,.el-progress-bar__innerText{display:inline-block;vertical-align:middle}.el-progress--text-inside .el-progress-bar{padding-right:0;margin-right:0}.el-progress.is-success .el-progress-bar__inner{background-color:#67C23A}.el-progress.is-success .el-progress__text{color:#67C23A}.el-progress.is-warning .el-progress-bar__inner{background-color:#E6A23C}.el-progress.is-warning .el-progress__text{color:#E6A23C}.el-progress.is-exception .el-progress-bar__inner{background-color:#F56C6C}.el-progress.is-exception .el-progress__text{color:#F56C6C}.el-progress-bar{padding-right:50px;width:100%;margin-right:-55px;box-sizing:border-box}.el-progress-bar__outer{height:6px;border-radius:100px;background-color:#EBEEF5;overflow:hidden;position:relative;vertical-align:middle}.el-progress-bar__inner{position:absolute;left:0;top:0;height:100%;background-color:#409EFF;text-align:right;border-radius:100px;line-height:1;white-space:nowrap;transition:width .6s ease}.el-progress-bar__inner::after{content:"";height:100%}.el-progress-bar__innerText{color:#FFF;font-size:12px;margin:0 5px}@-webkit-keyframes progress{0%{background-position:0 0}100%{background-position:32px 0}}@keyframes progress{0%{background-position:0 0}100%{background-position:32px 0}}
4
  .ntb_table_wrapper {
5
+ word-break: break-word;
6
  max-width: initial;
7
  overflow-y: scroll;
8
  }
assets/css/ninja-tables-admin.css CHANGED
@@ -1 +1 @@
1
- .ninja_main_nav{background:#fff;display:block;margin-left:-22px;margin-top:-10px;overflow:hidden;padding-right:40px;width:100%}.ninja_main_nav .plugin-name{color:#6e6e6e;float:left;font-size:16px;margin:22px 20px 20px}.ninja_main_nav .plugin-name:focus{outline:none}.ninja_main_nav .buy_pro_tab a{background:#e04f5e;color:#fff;padding:10px 25px;text-decoration:none}.ninja_main_nav .buy_pro_tab a:focus{box-shadow:none}.ninja_main_nav .buy_pro_tab a:hover{color:#fff}.pageLoading{align-items:center;display:flex;flex-direction:column;height:150px;justify-content:center;text-align:center}.pageLoading .fooicon{font-size:20px}.btn-flex{align-items:center;display:inline-flex!important}.btn-flex .fooicon{margin-left:5px}h4{font-size:18px;margin-bottom:0}a.btn{text-decoration:none}.modal-open .modal{z-index:1000}label.form_group{padding-left:10px;padding-top:5px}.editr--toolbar .dashboard{box-sizing:border-box;padding:0 .5rem}.editr--toolbar .dashboard .dropzone{background:#f6f6f6;max-height:86px;min-height:50px!important}.compact .nt_cell{-ms-text-overflow:ellipsis!important}.compact .nt_cell,.compact .nt_cell *{overflow:hidden;text-overflow:ellipsis!important;white-space:nowrap}.compact .nt_cell *{font-size:14px;margin:0;padding:0}.cell .cell-content img{height:auto;max-width:100%}.paginate{align-items:center;border-bottom:2px solid #ccc;display:flex;flex-wrap:nowrap;justify-content:space-between;margin-top:25px;padding-bottom:8px}.btn.pag-btn{background:#b2ccda;color:#fff}.btn.pag-btn:hover{opacity:.9}.btn.pag-btn:focus,.btn.pag-btn:hover{box-shadow:none!important;color:#fff;outline:none!important}.text-right{text-align:right}label{display:inline-block;font-weight:700;margin-bottom:5px;max-width:100%}.form-control{background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;box-shadow:inset 0 1px 1px rgba(0,0,0,.075);color:#555;display:block;font-size:14px;height:34px;line-height:1.42857143;padding:6px 12px;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:100%}.form-control:focus{border-color:#66afe9;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);outline:0}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder,.form-control::-webkit-input-placeholder{color:#999}.form-control::-ms-expand{background-color:transparent;border:0}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#eee;opacity:1}.form-control[disabled],fieldset[disabled] .form-control{cursor:not-allowed}textarea.form-control{height:auto}.input-group{display:table;position:relative}.input-group .form-control,.input-group .input-btn{display:table-cell;vertical-align:middle}.input-group .form-control{border-bottom-right-radius:0;border-top-right-radius:0;float:left}.input-group .input-btn{width:1%}.input-group .input-btn .btn{border-bottom-left-radius:0;border-top-left-radius:0}.nav{list-style:none;margin-bottom:0;padding-left:0}.nav:after,.nav:before{content:" ";display:table}.nav:after{clear:both}.nav>li,.nav>li>a{display:block;position:relative}.nav>li>a{padding:10px 15px}.nav>li>a:focus,.nav>li>a:hover{background-color:#eee;text-decoration:none}.nav>li.disabled>a{color:#777}.nav>li.disabled>a:focus,.nav>li.disabled>a:hover{background-color:transparent;color:#777;cursor:not-allowed;text-decoration:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{border:1px solid transparent;border-radius:4px 4px 0 0;line-height:1.42857143;margin-right:2px;text-decoration:none}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li>a:focus{box-shadow:none}.nav-tabs>li.router-link-exact-active>a,.nav-tabs>li.router-link-exact-active>a:focus,.nav-tabs>li.router-link-exact-active>a:hover{background-color:#fff;border:1px solid;border-color:#ddd #ddd transparent;color:#555;cursor:default}.tab-content>.tab-pane{padding:20px 0}.form-group{margin-bottom:15px}.table-title{font-size:18px;margin-bottom:0}.table_data_press .help{color:gray;font-size:90%;font-weight:300}.row_full{overflow:hidden}.row_full .pull-left{float:left}.search_action{margin-top:0;padding-top:0;position:relative}.search_action input{font-size:95%;padding-right:30px;width:98%}.search_action i{font-size:16px;position:absolute;right:8px;top:10px}.tablenav{clear:both;display:block;height:auto;margin:6px 0 4px;overflow:hidden;vertical-align:middle}.tablenav .form_group{margin-bottom:0;margin-top:0;padding-bottom:0;padding-top:0}.nav-tab-active,.nav-tab-active:focus,.nav-tab-active:focus:active,.nav-tab-active:hover{box-shadow:none}ul.doc_items{margin-left:45px}ul.doc_items li{font-size:14px;list-style:disc;margin-bottom:10px}ul.doc_items li a{text-decoration:none}.el-aside{background-color:#535c63;color:#333;line-height:200px}.el-main{background-color:#fff;color:#000;min-height:70vh;padding:15px}.el-menu{border-right:none}.ninja_header{background:#fbfdff;border-bottom:1px solid #eae7e7;padding-bottom:15px}.ninja_content{display:block;position:relative;width:100%}.ninja_content .ninja_suggest{background:#e5e5e5;color:#000;display:block;font-size:18px;margin:10px 0;overflow:hidden;padding:20px 10px}.ninja_content .ninja_suggest p{font-size:16px;margin:0;padding:0}.ninja_content .ninja_block p{font-size:16px}.ninja_content .ninja_export_block{display:block;margin-top:25px}.ninja_content .ninja_block_section{margin:20px 0}.ninja_suggest_plugin{background:#fff;box-shadow:0 0 5px 5px rgba(0,0,0,.05);margin:40px 0 20px;overflow:hidden;padding:20px;position:relative;width:96%}.ninja_suggest_plugin .ninja_dismiss{cursor:pointer;position:absolute;right:10px;top:5px}.ninja_suggest_plugin .ninja_form_banner{float:left;margin:-20px 0 -24px -20px;padding-right:3%;width:35%}@media (max-width:768px){.ninja_suggest_plugin .ninja_form_banner{display:block;float:none;margin:0 0 10px;padding-right:0;width:100%}}.ninja_suggest_plugin .ninja_form_banner img{max-width:100%}.ninja_doc_top_blocks{display:block;margin-bottom:20px;overflow:hidden;position:relative;width:100%}.ninja_doc_top_blocks>*{box-sizing:border-box}.ninja_doc_top_blocks .block_1_3{float:left;margin-bottom:30px;padding-right:30px;width:33.33%}@media (max-width:768px){.ninja_doc_top_blocks .block_1_3{float:none;margin-bottom:30px;padding-right:0;width:100%}}.ninja_doc_top_blocks .ff_block .ff_block_box{background:#fff;border-radius:4px;box-shadow:0 0 5px rgba(0,0,0,.05);padding:15px}.ninja_doc_top_blocks .ff_block .ff_block_box img.block_icon{max-height:62px}.ninja_doc_top_blocks .ff_block .ff_block_box ul{list-style:disc;margin-left:20px}.ninja_doc_top_blocks .ff_block .ff_block_box ul li a{font-size:14px;line-height:22px;text-decoration:none}.pro_feature_dialog .el-dialog{background:#fdf5f5}.pro_feature_dialog .el-dialog__body{padding-top:0}.pro_feature_dialog .buy_now_button{font-size:20px;padding:10px 25px;text-decoration:none}.pro_feature_dialog .list_features{font-size:18px;list-style:disc;margin-left:45px}.section_block{display:block;margin-bottom:20px;overflow:hidden;width:100%}.section_card{background:#fff;border:3px solid #ccc;box-sizing:border-box;cursor:pointer;float:left;margin-right:2%;padding:5px 10px;position:relative;width:48%}.section_card h4{margin-top:10px}.section_card.expand_card{min-height:120px;padding:5px 10px;width:30%}.section_card .selected_ribbon{background:#4caf50;color:#fff;font-weight:700;padding:5px 15px;position:absolute;right:0;top:0}.section_card.selected_type{background:#f6fff7;border:5px solid #4caf50}.clearfix:after{clear:both;content:"";display:block}.language_block .form_group{margin-bottom:20px}.language_block .form_group:last-child{margin-bottom:0}.language_block .form_group label{display:block}.language_block .form_group input{height:32px;min-width:400px;padding:5px 10px}.text-warning{color:#e6a23c}.actions a{cursor:pointer}.card_block{display:block;overflow:hidden;width:100%}.ninja_section_block{background:#fff;box-sizing:border-box;display:block;margin-bottom:0;margin-top:0;width:100%}.ninja_section_block .ninja_section_block_header{border-bottom:2px solid #e8e4e4;border-top:2px solid #e8e4e4;cursor:pointer;padding:12px 20px}.ninja_section_block .ninja_section_block_header h3{display:inline-block;margin:0}.ninja_section_block .ninja_section_block_header .ninja_header_action{display:inline-block;float:right}.ninja_section_block .ninja_section_block_header .ninja_header_action span{cursor:pointer}.ninja_section_block .ninja_section_block_body{background:#fafafa;padding:10px 20px 20px}.ninja_section_block .ninja_section_block_body.ninja_section_hide{display:none}ul.ninja_render_features li{display:inline-block;list-style:none;margin-right:10px}ul.ninja_render_features li span{color:#4caf4f}.ninja_settings_blocks,.ninja_settings_blocks .ninja_save_button{margin-top:20px}.loading-wrapper{background:#fff;padding:10px}.text-center{text-align:center}.ninja_sidebar{margin-top:10px}.add_column_wrapper{padding:0 10px}.ninja_widget{background:#f9f9f9;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04);display:block;margin-bottom:15px;overflow:hidden;padding:15px 10px}.ninja_widget .title{background:#434d53;border-bottom:1px solid #f1f1f1;color:#fff;font-size:14px;line-height:1.4;margin:-15px -10px 0;padding:8px 12px}.ninja_widget .widget_body{padding-top:10px}.ninja_widget .button-block{width:100%}.pull-right{float:right}.section_widget .heading{align-items:center;background:#fff;display:flex;justify-content:space-between;overflow:hidden;padding:10px 0}.section_widget .heading .title{float:left;margin:0;padding:0}.section_widget .heading .inline_action{float:right}.section_widget .widget_body{background:#fff;padding:0}.drawer{border-bottom:1px solid #434a50;display:block}.drawer .drawer_body{display:none;padding:10px}.drawer .header{background:#535c63;color:#fff;font-size:17px;padding:15px 10px}.drawer .header .edit_icon{cursor:pointer;float:right;font-size:12px}.drawer .header .handle{cursor:move;font-size:20px;margin-right:5px}.form_group{margin-bottom:10px;overflow:hidden;padding-right:2px}.form_group>label{display:block}.form_group .form_control{display:block;width:100%}.form_group .normalLabel{display:initial;font-weight:400}.form_group .mt5{margin-top:5px}.section-container{display:flex;width:100%}.section-column-9{flex:2;padding:10px}.section-column-3{flex:1}@media (max-width:480px){.section-container{-webkit-box-orient:vertical;-ms-flex-orient:vertical;-webkit-orient:vertical;orient:vertical;display:flex;width:100%}.section-column-9{order:1}.section-column-3{order:2}}.section-column:first-child{margin-right:20px}.tooltip{display:block!important;padding:4px;z-index:10000}.tooltip .tooltip-inner{background:#000;border-radius:16px;color:#fff;padding:5px 10px 4px}.tooltip .tooltip-arrow{display:none}.tooltip[aria-hidden=true]{opacity:0;transition:opacity .15s,visibility .15s;visibility:hidden}.tooltip[aria-hidden=false]{opacity:1;transition:opacity .15s;visibility:visible}.help_section{margin-top:45px!important}.ninja_widget label{font-weight:400}.ninja_style_wrapper{display:flex;flex-direction:row;flex-wrap:nowrap}.ninja_style_wrapper .ninja_column{flex:1 100%}.ninja_style_wrapper .ninja_column:first-child{margin-right:15px}.ninja_style_wrapper .ninja_column:last-child{margin-left:15px}.ninja_color_blocks{display:flex;flex-direction:row;flex-wrap:nowrap;margin-bottom:10px}.ninja_color_blocks .ninja_color_block{background:snow;border:1px solid #cacaca;flex:1 100%;padding:10px 5px;text-align:center}.ninja_color_blocks .ninja_color_block .form_group{margin:0}.ninja_color_blocks .ninja_color_block .form_group .el-color-picker{height:30px;width:100%}.ninja_color_blocks .ninja_color_block .form_group .el-color-picker .el-color-picker__trigger{height:30px;min-width:100px}.ninja_color_blocks .ninja_color_block label{font-size:11px;margin:0;padding:0}.form_group.ninja_color_customization h4{display:block;margin-top:0;overflow:hidden}.ninja_inner_title{color:#636060;font-size:15px;margin:0 0 10px}.ninja_header{align-items:center;justify-content:space-between;overflow:hidden}.ninja_header h2{display:inline-block;margin:0}.ninja_header .ninja_actions_action{float:right}.ninja_design_wrapper{background:#fff;display:flex;padding-bottom:20px}.ninja_design_wrapper .design_controls{background:#e5e5e5;border-left:1px solid #e5e5e5;flex:1;margin:0 0 -20px}.ninja_design_wrapper .design_controls .form_group:not(:last-child){border-bottom:1px solid hsla(0,0%,90%,.45);padding-bottom:10px}.ninja_design_wrapper .design_controls .el-collapse-item__header{padding:0 0 0 15px}.ninja_design_wrapper .design_controls .el-collapse-item__header i{font-weight:700;padding-top:18px}.ninja_design_wrapper .design_controls .el-collapse-item__wrap{background:#e5e5e5;height:auto;overflow:scroll;padding:13px 15px 0}.ninja_design_wrapper .design_controls .el-radio-button--mini .el-radio-button__inner{padding:7px!important}.ninja_design_wrapper .design_preview{background:#fff;flex:2;min-height:800px;overflow:scroll;padding:10px 20px}.ninja_title_section .ninja_title,.ninja_title_section .ninja_title h3{display:inline-block}.ninja_title_section button{float:right;margin-top:10px}.ninja_switch_wrapper{margin:20px 0}.ninja_mini{color:#0073aa;font-size:10px;padding:2px 7px}.ninja_resp_tabs span.dashicons{font-size:13px;height:10px;width:15px}input.form-control::-moz-placeholder{color:#ddd}input.form-control:-ms-input-placeholder{color:#ddd}input.form-control::placeholder{color:#ddd}.search_action input::-moz-placeholder{color:#969292}.search_action input:-ms-input-placeholder{color:#969292}.search_action input::placeholder{color:#969292}.upgrade_box{margin-top:10px;text-align:center}.upgrade_box a{text-decoration:none}.upgrade_box a i{font-size:20px;height:10px;margin-top:-5px}.ninja_upgrade_bar{background:#f35a59;color:#fff;margin:-10px -20px 0;overflow:hidden;padding:10px 20px}.ninja_upgrade_bar a{background:#fff;border:1px solid #fff;border-radius:5px;color:#f35a59;font-weight:700;padding:5px 15px;text-decoration:none}.ninja_upgrade_bar a:hover{background-color:#f35a59;border:1px solid #fff;color:#fff;transition:background-color .3s ease}.ninja_btn{text-decoration:none}.label-normalize label{font-weight:400}.ninja_design_tips{background:#fff;border:1px solid red;color:red;padding:10px}.ninja_design_tips ul.ninja_design_tips_lists{margin:0}.el-checkbox-group{overflow:hidden;width:100%}.el-checkbox-group label.el-checkbox{display:inline-block;margin-left:0;margin-right:20px}.el-dialog__wrapper{background:rgba(0,0,0,.55);z-index:9999!important}.ninja_modal-body h3{margin:0}.handle{cursor:move}.el-color-dropdown.el-color-picker__panel,.el-select-dropdown.el-popper{z-index:999999!important}.no_padding_body .el-dialog__body{padding-top:0}.ninja_table_inline_upgrade{background:#feffb3;margin-bottom:20px;padding:20px}.ninja_instruction{background:#e5ffe7;margin-top:20px;padding:10px 15px}.ninja_instruction ul{font-size:110%;list-style:disc;margin-left:30px}.ninja_instruction p{margin:3px 0}h2.nav-tab-wrapper{margin-bottom:15px!important}.doc_link{color:grey;font-size:14px;text-decoration:none}.form_row_full{display:block;overflow:hidden;width:100%}.form_row_full .form_row_half{box-sizing:border-box;display:block;float:left;padding-right:4%;width:48%}.form_row_full .form_row_half>label{display:block}.form_row_full .form_row_half:last-child{padding-right:0}.el-tooltip__popper h3,.el-tooltip__popper p{margin:0;padding:0}.el-main-editing{background-color:#fff;display:block;min-height:70vh;overflow:auto;padding:15px 25px}.el-main-editing .ninja_header_editing{background:#fbfdff;border-bottom:1px solid #eae7e7;display:block;margin:-15px -25px 20px;overflow:hidden;padding:10px 25px}.el-main-editing .ninja_header_editing h2{float:left;line-height:30px;margin:0;padding:0}.el-main-editing .ninja_header_editing .heading_actions{float:right}.el-main-editing .editing_sub_section{display:block;margin-bottom:40px}.el-main-editing .editing_sub_section .ninja_section_block_header{border-bottom:1px solid #f1f1f1;margin-bottom:20px}.el-main-editing .editing_sub_section .ninja_section_block_header>h3{margin:0}.el-main-editing .editing_sub_section .ninja_section_block_header p{margin:5px 0 10px}.el-main-editing .editing_body{display:block;overflow:hidden;width:100%}.el-main-editing table.ninja_editing_table th{font-weight:500}.el-main-editing table.ninja_editing_table tr td,.el-main-editing table.ninja_editing_table tr th{border-bottom:1px solid #eaeaea!important}.el-radio-group.spaced{max-width:100%;position:relative}.el-radio-group.spaced>label{display:inline-block}.el-radio-group.spaced_new_line>label{display:block;margin-bottom:10px;margin-left:0!important}.nt_suggest{background:#eee;border-radius:5px;margin-top:20px;padding:10px}.nt_suggest h4{margin:0}.nt_suggest ul{margin-left:30px}.nt_suggest ul li{list-style:disc}.ninja_heightlight_block{background:#fbfdff;border:1px solid #eae7e7;margin-top:50px;padding:0 20px 20px;text-align:left}.nt_nav_card_header{background:#fff;border:1px solid #ccc;cursor:pointer;display:block;font-size:15px;padding:10px;position:relative}.nt_nav_card_header.nt_nav_active{background:#545454;color:#fff}.nt_nav_card_header .nav_card_action{float:right}.nt_nav_card_header .nav_card_action button{font-size:22px;margin-top:-10px}.nt_nav_settings{background:#fff;box-shadow:0 2px 6px 0 #c3c3c3;margin:0 0 10px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.nt_nav_settings .nt_nav_body{border:1px solid #e4f3ff;display:block;overflow:hidden;padding:0 20px 20px}.nt_each_selection{border-bottom:1px solid hsla(0,0%,50%,.149);display:block;margin-top:20px;padding-bottom:10px}.nt_each_selection:last-child{border-bottom:0}.nt_each_selection .nt_query_header{margin-bottom:15px}.nt_each_selection .nt_query_header h3{color:#717070;margin:0 0 5px}.nt_each_selection .nt_query_header p{color:#6f6f6f;margin:0}.image_selector{display:block;overflow:hidden}.image_selector .image_preview{display:inline-block;width:96px}.image_selector .image_preview img{max-width:100%}.image_selector .image_select_button{display:inline-block;vertical-align:top}.image_selector .nt_form_group{float:left;width:49%}.image_selector .nt_form_group.single_form_group{float:none;width:100%}.el-table__row .nt_btn{border:1px solid transparent;display:inline-block;font-size:14px;padding:7px 15px;text-decoration:none}.el-table__row .nt_btn.nt_rounded_btn{border-radius:4px!important}.nt_cell_editable{cursor:text;min-height:25px}.cell_editing .nt_cell_input,.cell_editing .nt_inline_textarea{padding:4px 7px;width:100%}.sql_connection_wrapper{background:#c5c5c5;border-radius:10px;margin-bottom:20px;padding:10px 15px}.nt_row_2{overflow:hidden;width:100%}.nt_row_2 .form-group{float:left;width:48%}.nt_row_2 .form-group label{width:100%}.nt_row_2 .form-group input{width:90%}.nt_button_woo.nt_button,.nt_woo_view_cart{-webkit-font-smoothing:antialiased;background-color:#a46497;color:#fff;display:inline-block;height:inherit;margin:3px 0;padding:7px 10px;position:relative;transition-duration:.4s;white-space:nowrap}.nt-quantity-wrapper input{-webkit-appearance:none;-moz-appearance:textfield;appearance:none;background:#fff;border:1px solid #ddd;border-radius:inherit;box-sizing:border-box;color:#000;font-size:inherit;height:100%!important;margin:0!important;padding:5px!important;text-align:center;width:100%!important}.full-width{width:100%!important}.ninja-tables-dashicons{margin-right:5px;text-align:center;vertical-align:middle;width:24px}.nt_add_cart_wrapper .nt_woo_attribute{padding-right:20px!important}
1
+ .ninja_main_nav{background:#fff;display:block;margin-left:-22px;margin-top:-10px;overflow:hidden;padding-right:40px;width:100%}.ninja_main_nav .plugin-name{color:#6e6e6e;float:left;font-size:16px;margin:22px 20px 20px}.ninja_main_nav .plugin-name:focus{outline:none}.ninja_main_nav .buy_pro_tab a{background:#e04f5e;color:#fff;padding:10px 25px;text-decoration:none}.ninja_main_nav .buy_pro_tab a:focus{box-shadow:none}.ninja_main_nav .buy_pro_tab a:hover{color:#fff}.pageLoading{align-items:center;display:flex;flex-direction:column;height:150px;justify-content:center;text-align:center}.pageLoading .fooicon{font-size:20px}.btn-flex{align-items:center;display:inline-flex!important}.btn-flex .fooicon{margin-left:5px}h4{font-size:18px;margin-bottom:0}a.btn{text-decoration:none}.modal-open .modal{z-index:1000}label.form_group{padding-left:10px;padding-top:5px}.editr--toolbar .dashboard{box-sizing:border-box;padding:0 .5rem}.editr--toolbar .dashboard .dropzone{background:#f6f6f6;max-height:86px;min-height:50px!important}.compact .nt_cell{-ms-text-overflow:ellipsis!important}.compact .nt_cell,.compact .nt_cell *{overflow:hidden;text-overflow:ellipsis!important;white-space:nowrap}.compact .nt_cell *{font-size:14px;margin:0;padding:0}.cell .cell-content img{height:auto;max-width:100%}.paginate{align-items:center;border-bottom:2px solid #ccc;display:flex;flex-wrap:nowrap;justify-content:space-between;margin-top:25px;padding-bottom:8px}.btn.pag-btn{background:#b2ccda;color:#fff}.btn.pag-btn:hover{opacity:.9}.btn.pag-btn:focus,.btn.pag-btn:hover{box-shadow:none!important;color:#fff;outline:none!important}.text-right{text-align:right}label{display:inline-block;font-weight:700;margin-bottom:5px;max-width:100%}.form-control{background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;box-shadow:inset 0 1px 1px rgba(0,0,0,.075);color:#555;display:block;font-size:14px;height:34px;line-height:1.42857143;padding:6px 12px;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:100%}.form-control:focus{border-color:#66afe9;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);outline:0}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder,.form-control::-webkit-input-placeholder{color:#999}.form-control::-ms-expand{background-color:transparent;border:0}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#eee;opacity:1}.form-control[disabled],fieldset[disabled] .form-control{cursor:not-allowed}textarea.form-control{height:auto}.input-group{display:table;position:relative}.input-group .form-control,.input-group .input-btn{display:table-cell;vertical-align:middle}.input-group .form-control{border-bottom-right-radius:0;border-top-right-radius:0;float:left}.input-group .input-btn{width:1%}.input-group .input-btn .btn{border-bottom-left-radius:0;border-top-left-radius:0}.nav{list-style:none;margin-bottom:0;padding-left:0}.nav:after,.nav:before{content:" ";display:table}.nav:after{clear:both}.nav>li,.nav>li>a{display:block;position:relative}.nav>li>a{padding:10px 15px}.nav>li>a:focus,.nav>li>a:hover{background-color:#eee;text-decoration:none}.nav>li.disabled>a{color:#777}.nav>li.disabled>a:focus,.nav>li.disabled>a:hover{background-color:transparent;color:#777;cursor:not-allowed;text-decoration:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{border:1px solid transparent;border-radius:4px 4px 0 0;line-height:1.42857143;margin-right:2px;text-decoration:none}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li>a:focus{box-shadow:none}.nav-tabs>li.router-link-exact-active>a,.nav-tabs>li.router-link-exact-active>a:focus,.nav-tabs>li.router-link-exact-active>a:hover{background-color:#fff;border:1px solid;border-color:#ddd #ddd transparent;color:#555;cursor:default}.tab-content>.tab-pane{padding:20px 0}.form-group{margin-bottom:15px}.table-title{font-size:18px;margin-bottom:0}.table_data_press .help{color:gray;font-size:90%;font-weight:300}.row_full{overflow:hidden}.row_full .pull-left{float:left}.search_action{margin-top:0;padding-top:0;position:relative}.search_action input{font-size:95%;padding-right:30px;width:98%}.search_action i{font-size:16px;position:absolute;right:8px;top:10px}.tablenav{clear:both;display:block;height:auto;margin:6px 0 4px;overflow:hidden;vertical-align:middle}.tablenav .form_group{margin-bottom:0;margin-top:0;padding-bottom:0;padding-top:0}.nav-tab-active,.nav-tab-active:focus,.nav-tab-active:focus:active,.nav-tab-active:hover{box-shadow:none}ul.doc_items{margin-left:45px}ul.doc_items li{font-size:14px;list-style:disc;margin-bottom:10px}ul.doc_items li a{text-decoration:none}.el-aside{background-color:#535c63;color:#333;line-height:200px}.el-main{background-color:#fff;color:#000;min-height:70vh;padding:15px}.el-menu{border-right:none}.ninja_header{background:#fbfdff;border-bottom:1px solid #eae7e7;padding-bottom:15px}.ninja_content{display:block;position:relative;width:100%}.ninja_content .ninja_suggest{background:#e5e5e5;color:#000;display:block;font-size:18px;margin:10px 0;overflow:hidden;padding:20px 10px}.ninja_content .ninja_suggest p{font-size:16px;margin:0;padding:0}.ninja_content .ninja_block p{font-size:16px}.ninja_content .ninja_export_block{display:block;margin-top:25px}.ninja_content .ninja_block_section{margin:20px 0}.ninja_suggest_plugin{background:#fff;box-shadow:0 0 5px 5px rgba(0,0,0,.05);margin:40px 0 20px;overflow:hidden;padding:20px;position:relative;width:96%}.ninja_suggest_plugin .ninja_dismiss{cursor:pointer;position:absolute;right:10px;top:5px}.ninja_suggest_plugin .ninja_form_banner{float:left;margin:-20px 0 -24px -20px;padding-right:3%;width:35%}@media (max-width:768px){.ninja_suggest_plugin .ninja_form_banner{display:block;float:none;margin:0 0 10px;padding-right:0;width:100%}}.ninja_suggest_plugin .ninja_form_banner img{max-width:100%}.ninja_doc_top_blocks{display:block;margin-bottom:20px;overflow:hidden;position:relative;width:100%}.ninja_doc_top_blocks>*{box-sizing:border-box}.ninja_doc_top_blocks .block_1_3{float:left;margin-bottom:30px;padding-right:30px;width:33.33%}@media (max-width:768px){.ninja_doc_top_blocks .block_1_3{float:none;margin-bottom:30px;padding-right:0;width:100%}}.ninja_doc_top_blocks .ff_block .ff_block_box{background:#fff;border-radius:4px;box-shadow:0 0 5px rgba(0,0,0,.05);padding:15px}.ninja_doc_top_blocks .ff_block .ff_block_box img.block_icon{max-height:62px}.ninja_doc_top_blocks .ff_block .ff_block_box ul{list-style:disc;margin-left:20px}.ninja_doc_top_blocks .ff_block .ff_block_box ul li a{font-size:14px;line-height:22px;text-decoration:none}.pro_feature_dialog .el-dialog{background:#fdf5f5}.pro_feature_dialog .el-dialog__body{padding-top:0}.pro_feature_dialog .buy_now_button{font-size:20px;padding:10px 25px;text-decoration:none}.pro_feature_dialog .list_features{font-size:18px;list-style:disc;margin-left:45px}.section_block{display:block;margin-bottom:20px;overflow:hidden;width:100%}.section_card{background:#fff;border:3px solid #ccc;box-sizing:border-box;cursor:pointer;float:left;margin-right:2%;padding:5px 10px;position:relative;width:48%}.section_card h4{margin-top:10px}.section_card.expand_card{min-height:120px;padding:5px 10px;width:30%}.section_card .selected_ribbon{background:#4caf50;color:#fff;font-weight:700;padding:5px 15px;position:absolute;right:0;top:0}.section_card.selected_type{background:#f6fff7;border:5px solid #4caf50}.clearfix:after{clear:both;content:"";display:block}.language_block .form_group{margin-bottom:20px}.language_block .form_group:last-child{margin-bottom:0}.language_block .form_group label{display:block}.language_block .form_group input{height:32px;min-width:400px;padding:5px 10px}.text-warning{color:#e6a23c}.actions a{cursor:pointer}.card_block{display:block;overflow:hidden;width:100%}.ninja_section_block{background:#fff;box-sizing:border-box;display:block;margin-bottom:0;margin-top:0;width:100%}.ninja_section_block .ninja_section_block_header{border-bottom:2px solid #e8e4e4;border-top:2px solid #e8e4e4;cursor:pointer;padding:12px 20px}.ninja_section_block .ninja_section_block_header h3{display:inline-block;margin:0}.ninja_section_block .ninja_section_block_header .ninja_header_action{display:inline-block;float:right}.ninja_section_block .ninja_section_block_header .ninja_header_action span{cursor:pointer}.ninja_section_block .ninja_section_block_body{background:#fafafa;padding:10px 20px 20px}.ninja_section_block .ninja_section_block_body.ninja_section_hide{display:none}ul.ninja_render_features li{display:inline-block;list-style:none;margin-right:10px}ul.ninja_render_features li span{color:#4caf4f}.ninja_settings_blocks,.ninja_settings_blocks .ninja_save_button{margin-top:20px}.loading-wrapper{background:#fff;padding:10px}.text-center{text-align:center}.ninja_sidebar{margin-top:10px}.add_column_wrapper{padding:0 10px}.ninja_widget{background:#f9f9f9;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04);display:block;margin-bottom:15px;overflow:hidden;padding:15px 10px}.ninja_widget .title{background:#434d53;border-bottom:1px solid #f1f1f1;color:#fff;font-size:14px;line-height:1.4;margin:-15px -10px 0;padding:8px 12px}.ninja_widget .widget_body{padding-top:10px}.ninja_widget .button-block{width:100%}.pull-right{float:right}.section_widget .heading{align-items:center;background:#fff;display:flex;justify-content:space-between;overflow:hidden;padding:10px 0}.section_widget .heading .title{float:left;margin:0;padding:0}.section_widget .heading .inline_action{float:right}.section_widget .widget_body{background:#fff;padding:0}.drawer{border-bottom:1px solid #434a50;display:block}.drawer .drawer_body{display:none;padding:10px}.drawer .header{background:#535c63;color:#fff;font-size:17px;padding:15px 10px}.drawer .header .edit_icon{cursor:pointer;float:right;font-size:12px}.drawer .header .handle{cursor:move;font-size:20px;margin-right:5px}.form_group{margin-bottom:10px;overflow:hidden;padding-right:2px}.form_group>label{display:block}.form_group .form_control{display:block;width:100%}.form_group .normalLabel{display:initial;font-weight:400}.form_group .mt5{margin-top:5px}.section-container{display:flex;width:100%}.section-column-9{flex:2;padding:10px}.section-column-3{flex:1}@media (max-width:480px){.section-container{-webkit-box-orient:vertical;-ms-flex-orient:vertical;-webkit-orient:vertical;orient:vertical;display:flex;width:100%}.section-column-9{order:1}.section-column-3{order:2}}.section-column:first-child{margin-right:20px}.tooltip{display:block!important;padding:4px;z-index:10000}.tooltip .tooltip-inner{background:#000;border-radius:16px;color:#fff;padding:5px 10px 4px}.tooltip .tooltip-arrow{display:none}.tooltip[aria-hidden=true]{opacity:0;transition:opacity .15s,visibility .15s;visibility:hidden}.tooltip[aria-hidden=false]{opacity:1;transition:opacity .15s;visibility:visible}.help_section{margin-top:45px!important}.ninja_widget label{font-weight:400}.ninja_style_wrapper{display:flex;flex-direction:row;flex-wrap:nowrap}.ninja_style_wrapper .ninja_column{flex:1 100%}.ninja_style_wrapper .ninja_column:first-child{margin-right:15px}.ninja_style_wrapper .ninja_column:last-child{margin-left:15px}.ninja_color_blocks{display:flex;flex-direction:row;flex-wrap:nowrap;margin-bottom:10px}.ninja_color_blocks .ninja_color_block{background:snow;border:1px solid #cacaca;flex:1 100%;padding:10px 5px;text-align:center}.ninja_color_blocks .ninja_color_block .form_group{margin:0}.ninja_color_blocks .ninja_color_block .form_group .el-color-picker{height:30px;width:100%}.ninja_color_blocks .ninja_color_block .form_group .el-color-picker .el-color-picker__trigger{height:30px;min-width:100px}.ninja_color_blocks .ninja_color_block label{font-size:11px;margin:0;padding:0}.form_group.ninja_color_customization h4{display:block;margin-top:0;overflow:hidden}.ninja_inner_title{color:#636060;font-size:15px;margin:0 0 10px}.ninja_header{align-items:center;justify-content:space-between;overflow:hidden}.ninja_header h2{display:inline-block;margin:0}.ninja_header .ninja_actions_action{float:right}.ninja_design_wrapper{background:#fff;display:flex;padding-bottom:20px}.ninja_design_wrapper .design_controls{background:#e5e5e5;border-left:1px solid #e5e5e5;flex:1;margin:0 0 -20px}.ninja_design_wrapper .design_controls .form_group:not(:last-child){border-bottom:1px solid hsla(0,0%,90%,.45);padding-bottom:10px}.ninja_design_wrapper .design_controls .el-collapse-item__header{padding:0 0 0 15px}.ninja_design_wrapper .design_controls .el-collapse-item__header i{font-weight:700;padding-top:18px}.ninja_design_wrapper .design_controls .el-collapse-item__wrap{background:#e5e5e5;height:auto;overflow:scroll;padding:13px 15px 0}.ninja_design_wrapper .design_controls .el-radio-button--mini .el-radio-button__inner{padding:7px!important}.ninja_design_wrapper .design_preview{background:#fff;flex:2;min-height:800px;overflow:scroll;padding:10px 20px}.ninja_title_section .ninja_title,.ninja_title_section .ninja_title h3{display:inline-block}.ninja_title_section button{float:right;margin-top:10px}.ninja_switch_wrapper{margin:20px 0}.ninja_mini{color:#0073aa;font-size:10px;padding:2px 7px}.ninja_resp_tabs span.dashicons{font-size:13px;height:10px;width:15px}input.form-control::-moz-placeholder{color:#ddd}input.form-control:-ms-input-placeholder{color:#ddd}input.form-control::placeholder{color:#ddd}.search_action input::-moz-placeholder{color:#969292}.search_action input:-ms-input-placeholder{color:#969292}.search_action input::placeholder{color:#969292}.upgrade_box{margin-top:10px;text-align:center}.upgrade_box a{text-decoration:none}.upgrade_box a i{font-size:20px;height:10px;margin-top:-5px}.ninja_upgrade_bar{background:#f35a59;color:#fff;margin:-10px -20px 0;overflow:hidden;padding:10px 20px}.ninja_upgrade_bar a{background:#fff;border:1px solid #fff;border-radius:5px;color:#f35a59;font-weight:700;padding:5px 15px;text-decoration:none}.ninja_upgrade_bar a:hover{background-color:#f35a59;border:1px solid #fff;color:#fff;transition:background-color .3s ease}.ninja_btn{text-decoration:none}.label-normalize label{font-weight:400}.ninja_design_tips{background:#fff;border:1px solid red;color:red;padding:10px}.ninja_design_tips ul.ninja_design_tips_lists{margin:0}.el-checkbox-group{overflow:hidden;width:100%}.el-checkbox-group label.el-checkbox{display:inline-block;margin-left:0;margin-right:20px}.el-dialog__wrapper{background:rgba(0,0,0,.55);z-index:9999!important}.ninja_modal-body h3{margin:0}.handle{cursor:move}.el-color-dropdown.el-color-picker__panel,.el-select-dropdown.el-popper{z-index:999999!important}.no_padding_body .el-dialog__body{padding-top:0}.ninja_table_inline_upgrade{background:#feffb3;margin-bottom:20px;padding:20px}.ninja_instruction{background:#e5ffe7;margin-top:20px;padding:10px 15px}.ninja_instruction ul{font-size:110%;list-style:disc;margin-left:30px}.ninja_instruction p{margin:3px 0}h2.nav-tab-wrapper{margin-bottom:15px!important}.doc_link{color:grey;font-size:14px;text-decoration:none}.form_row_full{display:block;overflow:hidden;width:100%}.form_row_full .form_row_half{box-sizing:border-box;display:block;float:left;padding-right:4%;width:48%}.form_row_full .form_row_half>label{display:block}.form_row_full .form_row_half:last-child{padding-right:0}.el-tooltip__popper h3,.el-tooltip__popper p{margin:0;padding:0}.el-main-editing{background-color:#fff;display:block;min-height:70vh;overflow:auto;padding:15px 25px}.el-main-editing .ninja_header_editing{background:#fbfdff;border-bottom:1px solid #eae7e7;display:block;margin:-15px -25px 20px;overflow:hidden;padding:10px 25px}.el-main-editing .ninja_header_editing h2{float:left;line-height:30px;margin:0;padding:0}.el-main-editing .ninja_header_editing .heading_actions{float:right}.el-main-editing .editing_sub_section{display:block;margin-bottom:40px}.el-main-editing .editing_sub_section .ninja_section_block_header{border-bottom:1px solid #f1f1f1;margin-bottom:20px}.el-main-editing .editing_sub_section .ninja_section_block_header>h3{margin:0}.el-main-editing .editing_sub_section .ninja_section_block_header p{margin:5px 0 10px}.el-main-editing .editing_body{display:block;overflow:hidden;width:100%}.el-main-editing table.ninja_editing_table th{font-weight:500}.el-main-editing table.ninja_editing_table tr td,.el-main-editing table.ninja_editing_table tr th{border-bottom:1px solid #eaeaea!important}.el-radio-group.spaced{max-width:100%;position:relative}.el-radio-group.spaced>label{display:inline-block}.el-radio-group.spaced_new_line>label{display:block;margin-bottom:10px;margin-left:0!important}.nt_suggest{background:#eee;border-radius:5px;margin-top:20px;padding:10px}.nt_suggest h4{margin:0}.nt_suggest ul{margin-left:30px}.nt_suggest ul li{list-style:disc}.ninja_heightlight_block{background:#fbfdff;border:1px solid #eae7e7;margin-top:50px;padding:0 20px 20px;text-align:left}.nt_nav_card_header{background:#fff;border:1px solid #ccc;cursor:pointer;display:block;font-size:15px;padding:10px;position:relative}.nt_nav_card_header.nt_nav_active{background:#545454;color:#fff}.nt_nav_card_header .nav_card_action{float:right}.nt_nav_card_header .nav_card_action button{font-size:22px;margin-top:-10px}.nt_nav_settings{background:#fff;box-shadow:0 2px 6px 0 #c3c3c3;margin:0 0 10px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.nt_nav_settings .nt_nav_body{border:1px solid #e4f3ff;display:block;overflow:hidden;padding:0 20px 20px}.nt_each_selection{border-bottom:1px solid hsla(0,0%,50%,.149);display:block;margin-top:20px;padding-bottom:10px}.nt_each_selection:last-child{border-bottom:0}.nt_each_selection .nt_query_header{margin-bottom:15px}.nt_each_selection .nt_query_header h3{color:#717070;margin:0 0 5px}.nt_each_selection .nt_query_header p{color:#6f6f6f;margin:0}.image_selector{display:block;overflow:hidden}.image_selector .image_preview{display:inline-block;width:96px}.image_selector .image_preview img{max-width:100%}.image_selector .image_select_button{display:inline-block;vertical-align:top}.image_selector .nt_form_group{float:left;width:49%}.image_selector .nt_form_group.single_form_group{float:none;width:100%}.el-table__row .nt_btn{border:1px solid transparent;display:inline-block;font-size:14px;padding:7px 15px;text-decoration:none}.el-table__row .nt_btn.nt_rounded_btn{border-radius:4px!important}.nt_cell_editable{cursor:text;min-height:25px}.cell_editing .nt_cell_input,.cell_editing .nt_inline_textarea{padding:4px 7px;width:100%}.sql_connection_wrapper{background:#c5c5c5;border-radius:10px;margin-bottom:20px;padding:10px 15px}.nt_row_2{overflow:hidden;width:100%}.nt_row_2 .form-group{float:left;width:48%}.nt_row_2 .form-group label{width:100%}.nt_row_2 .form-group input{width:90%}.nt_button_woo.nt_button,.nt_woo_view_cart{-webkit-font-smoothing:antialiased;background-color:#a46497;color:#fff;display:inline-block;height:inherit;margin:3px 0;padding:7px 10px;position:relative;transition-duration:.4s;white-space:nowrap}.nt-quantity-wrapper input{-webkit-appearance:none;-moz-appearance:textfield;appearance:none;background:#fff;border:1px solid #ddd;border-radius:inherit;box-sizing:border-box;color:#000;font-size:inherit;height:100%!important;margin:0!important;padding:5px!important;text-align:center;width:100%!important}.full-width{width:100%!important}.ninja-tables-dashicons{margin-right:5px;text-align:center;vertical-align:middle;width:24px}.nt_add_cart_wrapper .nt_woo_attribute{padding-right:20px!important}.nt_review_notice{background:#fff;border:1px solid #c3c4c7;border-left:4px solid red;box-shadow:0 1px 1px rgba(0,0,0,.04);font-weight:700;margin:10px 15px 20px;padding:5px 12px}.nt_review_notice a .close-icon{border-radius:50%;margin-top:-2px;opacity:.7;position:absolute;right:25px;text-decoration:none}
assets/js/ninja-table-builder-public.js CHANGED
@@ -15,7 +15,7 @@
15
  \***********************************************/
16
  /***/ (() => {
17
 
18
- eval("function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n(function ($) {\n $(document).ready(function ($) {\n $('.ntb_table_wrapper').each(function () {\n var mainTable = $(this)[0];\n var desktopFormat = mainTable.innerHTML; // Get responsive information from data-responsive attr,\n\n var responsive = JSON.parse(mainTable.dataset.responsive);\n var isResponsive = responsive.general.options.enable_responsive_table.value;\n\n if (isResponsive === true || isResponsive === 'true') {\n var mobileDevice = function mobileDevice(mob, width, deviceName) {\n if (mob === 'false' || mob === false) {\n mob = true;\n tab = false;\n desk = false; // Getting data to check responsive options for mobile\n\n var mobileData = responsive.mode_options.options.devices.mobile;\n var breakpoint = mobileData.disable_breakpoint.value;\n var topRowAsHeader = mobileData.top_row_as_header.value;\n var itemsPerRow = mobileData.items_per_row.value;\n var cellBorder = responsive.mode_options.options.devices.mobile.cell_border.value;\n\n if (breakpoint === 'false' || breakpoint === false) {\n $('#' + tableId + ' table tbody').empty();\n\n if (topRowAsHeader === 'true' || topRowAsHeader === true) {\n topRowHeader(itemsPerRow, width, deviceName, cellBorder);\n } else {\n staticRowDesign(itemsPerRow, width, deviceName);\n }\n }\n } else {\n desktopDevice(desk);\n }\n };\n\n var tabletDevice = function tabletDevice(tabletView, width, deviceName) {\n if (tabletView === 'false' || tabletView === false) {\n mob = false;\n tab = true;\n desk = false; // getting data to check responsive options for tab\n\n var tabData = responsive.mode_options.options.devices.tablet;\n var breakpoint = tabData.disable_breakpoint.value;\n var topRowAsHeader = tabData.top_row_as_header.value;\n var itemsPerRow = tabData.items_per_row.value;\n var cellBorder = responsive.mode_options.options.devices.tablet.cell_border.value;\n\n if (breakpoint === 'false' || breakpoint === false) {\n $('#' + tableId + ' table tbody').empty();\n\n if (topRowAsHeader === 'true' || topRowAsHeader === true) {\n topRowHeader(itemsPerRow, width, deviceName, cellBorder);\n } else {\n staticRowDesign(itemsPerRow, width, deviceName);\n }\n } else {\n desktopDevice(desk);\n }\n }\n };\n\n var desktopDevice = function desktopDevice(desktopView) {\n if (desktopView === 'false' || desktopView === false) {\n mob = false;\n tab = false;\n desk = true;\n $('#' + tableId)[0].innerHTML = desktopFormat;\n }\n }; // Functions for reconstructing the tables.\n\n\n var staticRowDesign = function staticRowDesign(itemsPerRow, width, deviceName) {\n // data restructured as user requirement\n var structuredTd = {};\n var structuredTrStyles = {};\n var structuredTdStyles = {};\n var structuredTdIds = {};\n var structuredTdClasses = {};\n var tdCounter = 0;\n\n for (var i = 0; i < Object.keys(rowsTd).length; i++) {\n if (colSpan[i] !== 0 && rowSpan[i] !== 0) {\n structuredTd[tdCounter] = rowsTd[i].innerHTML;\n structuredTrStyles[tdCounter] = trStyles[i];\n structuredTdStyles[tdCounter] = tdStyles[i];\n structuredTdIds[tdCounter] = tdIds[i];\n structuredTdClasses[tdCounter] = tdClasses[i];\n tdCounter++;\n }\n } // Reconstruct the table with restructured data\n\n\n var numberOfRow = Math.ceil(tdCounter / itemsPerRow);\n var td = 0;\n\n for (var row = 0; row < numberOfRow; row++) {\n $('#' + tableId + ' table tbody').append('<tr></tr>');\n var tableRow = $('#' + tableId + ' table tbody tr');\n tableRow.addClass(deviceName + \"_view\");\n var addedClass = tableRow.addClass('staticRow');\n\n for (var col = 0; col < itemsPerRow; col++) {\n if (structuredTd[td] !== undefined) {\n var insertedTd = addedClass[row].insertCell();\n insertedTd.innerHTML = structuredTd[td];\n $(insertedTd).prop('id', structuredTdIds[td]);\n $(insertedTd).addClass(structuredTdClasses[td]);\n $(insertedTd).attr(\"style\", structuredTrStyles[td] + \" \" + structuredTdStyles[td]);\n $(insertedTd).css({\n \"width\": Number(width / itemsPerRow) + 'px',\n \"max-width\": Number(width / itemsPerRow) + 'px'\n });\n }\n\n td++;\n }\n }\n };\n\n var topRowHeader = function topRowHeader(itemsPerRow, width, deviceName, cellBorder) {\n // Data restructured as user requirement\n var totalGroup = Math.ceil(dataLen / (itemsPerRow * headerLen));\n var i = 0;\n var reStructuredData = {};\n var reStructuredTdIds = {};\n var reStructuredTdClasses = {};\n var reStructureDataStyle = {};\n var reStructureRowSpan = {};\n var reStructureColSpan = {};\n\n for (var group = 0; group < totalGroup; group++) {\n for (var header = 0; header < headerLen; header++) {\n var tempReStructureData = {};\n var tempReStructuredTdIds = {};\n var tempReStructuredTdClasses = {};\n var tempReStructureDataStyle = {};\n var tempReStructureRowSpan = {};\n var tempReStructureColSpan = {};\n\n for (var col = 0; col <= itemsPerRow; col++) {\n var _index = group * itemsPerRow * headerLen + col * headerLen + header;\n\n if (col === 0) {\n tempReStructureData[col] = rowsTd[header];\n tempReStructureDataStyle[col] = trStyles[header] + \" \" + tdStyles[header];\n tempReStructureRowSpan[col] = rowSpan[header];\n tempReStructureColSpan[col] = colSpan[header];\n tempReStructuredTdIds[col] = tdIds[header];\n tempReStructuredTdClasses[col] = tdClasses[header];\n } else {\n tempReStructureData[col] = rowsTd[_index];\n tempReStructureDataStyle[col] = trStyles[_index] + \" \" + tdStyles[_index];\n tempReStructureRowSpan[col] = rowSpan[_index];\n tempReStructureColSpan[col] = colSpan[_index];\n tempReStructuredTdIds[col] = tdIds[_index];\n tempReStructuredTdClasses[col] = tdClasses[_index];\n }\n }\n\n reStructuredData[i] = Object.assign(tempReStructureData);\n reStructureDataStyle[i] = Object.assign(tempReStructureDataStyle);\n reStructureRowSpan[i] = Object.assign(tempReStructureRowSpan);\n reStructureColSpan[i] = Object.assign(tempReStructureColSpan);\n reStructuredTdIds[i] = Object.assign(tempReStructuredTdIds);\n reStructuredTdClasses[i] = Object.assign(tempReStructuredTdClasses);\n i++;\n }\n } // reconstruct table with respect to restructured data\n\n\n for (var _i = 0, _Object$entries = Object.entries(reStructuredData); _i < _Object$entries.length; _i++) {\n var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),\n indTr = _Object$entries$_i[0],\n tRows = _Object$entries$_i[1];\n\n $('#' + tableId + ' table tbody').append('<tr></tr>');\n var tableRow = $('#' + tableId + ' table tbody tr');\n tableRow.addClass(deviceName + \"_view\");\n var addedClass = tableRow.addClass('topRowAsHeader');\n\n for (var indTd = 0; indTd < Object.keys(tRows).length; indTd++) {\n if (tRows[indTd] !== undefined) {\n var insertedTd = addedClass[indTr].insertCell();\n insertedTd.innerHTML = tRows[indTd].innerHTML;\n $(insertedTd).prop('id', reStructuredTdIds[indTr][indTd]);\n $(insertedTd).addClass(reStructuredTdClasses[indTr][indTd]);\n $(insertedTd).attr(\"style\", reStructureDataStyle[indTr][indTd]);\n $(insertedTd).prop(\"colspan\", reStructureRowSpan[indTr][indTd]);\n $(insertedTd).prop(\"rowspan\", reStructureColSpan[indTr][indTd]);\n $(insertedTd).css({\n \"width\": Number(width / itemsPerRow) + 'px',\n \"max-width\": Number(width / itemsPerRow) + 'px'\n });\n }\n } // Add cell border bottom\n\n\n var rowNumber = Number(indTr) + 1;\n var rowLength = Object.entries(reStructuredData).length;\n\n if (rowNumber % headerLen === 0 && rowNumber !== rowLength) {\n var insertedRow = addedClass[indTr];\n $(insertedRow).css(\"border-bottom\", cellBorder + \"px solid black\");\n }\n }\n };\n\n var tableId = mainTable.id;\n var rows = $('#' + tableId + ' table')[0].rows; // Row wise serial data structured\n\n var allRow = {};\n var trStyles = {};\n var tdStyles = {};\n var rowsTd = {};\n var rowSpan = {};\n var colSpan = {};\n var tdIds = {};\n var tdClasses = {};\n var index = 0;\n $(rows).each(function (rowIndex, tr) {\n allRow[rowIndex] = Object.assign(tr);\n $(tr).find('td').each(function (columnIndex, td) {\n rowsTd[index] = Object.assign(td);\n trStyles[index] = $(allRow[rowIndex]).attr('style');\n tdStyles[index] = $(rowsTd[index]).attr('style');\n rowSpan[index] = $(td).attr('rowspan');\n colSpan[index] = $(td).attr('colspan');\n tdIds[index] = $(td).attr('id');\n tdClasses[index] = $(td).attr('class');\n index++;\n });\n }); // Get the length of th, td\n\n var columnLength = $('#' + tableId + ' table').find('tr').length;\n var totalData = $('#' + tableId + ' table tr').find('td').length;\n var headerLen = Math.ceil(totalData / columnLength);\n var dataLen = totalData - headerLen; //These variables are to handle unnecessary function calling\n\n var mob = false;\n var tab = false;\n var desk = false;\n var windowSize = $(window).width();\n var width = Number(windowSize * 0.8); // Call function if window reloaded\n\n if (windowSize <= 700) {\n mobileDevice(mob, width, \"mobile\");\n } else if (windowSize > 700 && windowSize < 1024) {\n tabletDevice(tab, width, \"tablet\");\n } else {\n desktopDevice(desk);\n } // call function if window resized\n\n\n $(window).resize(function () {\n windowSize = $(window).width();\n\n if (windowSize <= 700) {\n mobileDevice(mob, width, \"mobile\");\n } else if (windowSize > 700 && windowSize < 1024) {\n tabletDevice(tab, width, \"tablet\");\n } else {\n desktopDevice(desk);\n }\n });\n }\n });\n });\n})(jQuery);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyIkIiwiZG9jdW1lbnQiLCJyZWFkeSIsImVhY2giLCJtYWluVGFibGUiLCJkZXNrdG9wRm9ybWF0IiwiaW5uZXJIVE1MIiwicmVzcG9uc2l2ZSIsIkpTT04iLCJwYXJzZSIsImRhdGFzZXQiLCJpc1Jlc3BvbnNpdmUiLCJnZW5lcmFsIiwib3B0aW9ucyIsImVuYWJsZV9yZXNwb25zaXZlX3RhYmxlIiwidmFsdWUiLCJtb2JpbGVEZXZpY2UiLCJtb2IiLCJ3aWR0aCIsImRldmljZU5hbWUiLCJ0YWIiLCJkZXNrIiwibW9iaWxlRGF0YSIsIm1vZGVfb3B0aW9ucyIsImRldmljZXMiLCJtb2JpbGUiLCJicmVha3BvaW50IiwiZGlzYWJsZV9icmVha3BvaW50IiwidG9wUm93QXNIZWFkZXIiLCJ0b3Bfcm93X2FzX2hlYWRlciIsIml0ZW1zUGVyUm93IiwiaXRlbXNfcGVyX3JvdyIsImNlbGxCb3JkZXIiLCJjZWxsX2JvcmRlciIsInRhYmxlSWQiLCJlbXB0eSIsInRvcFJvd0hlYWRlciIsInN0YXRpY1Jvd0Rlc2lnbiIsImRlc2t0b3BEZXZpY2UiLCJ0YWJsZXREZXZpY2UiLCJ0YWJsZXRWaWV3IiwidGFiRGF0YSIsInRhYmxldCIsImRlc2t0b3BWaWV3Iiwic3RydWN0dXJlZFRkIiwic3RydWN0dXJlZFRyU3R5bGVzIiwic3RydWN0dXJlZFRkU3R5bGVzIiwic3RydWN0dXJlZFRkSWRzIiwic3RydWN0dXJlZFRkQ2xhc3NlcyIsInRkQ291bnRlciIsImkiLCJPYmplY3QiLCJrZXlzIiwicm93c1RkIiwibGVuZ3RoIiwiY29sU3BhbiIsInJvd1NwYW4iLCJ0clN0eWxlcyIsInRkU3R5bGVzIiwidGRJZHMiLCJ0ZENsYXNzZXMiLCJudW1iZXJPZlJvdyIsIk1hdGgiLCJjZWlsIiwidGQiLCJyb3ciLCJhcHBlbmQiLCJ0YWJsZVJvdyIsImFkZENsYXNzIiwiYWRkZWRDbGFzcyIsImNvbCIsInVuZGVmaW5lZCIsImluc2VydGVkVGQiLCJpbnNlcnRDZWxsIiwicHJvcCIsImF0dHIiLCJjc3MiLCJOdW1iZXIiLCJ0b3RhbEdyb3VwIiwiZGF0YUxlbiIsImhlYWRlckxlbiIsInJlU3RydWN0dXJlZERhdGEiLCJyZVN0cnVjdHVyZWRUZElkcyIsInJlU3RydWN0dXJlZFRkQ2xhc3NlcyIsInJlU3RydWN0dXJlRGF0YVN0eWxlIiwicmVTdHJ1Y3R1cmVSb3dTcGFuIiwicmVTdHJ1Y3R1cmVDb2xTcGFuIiwiZ3JvdXAiLCJoZWFkZXIiLCJ0ZW1wUmVTdHJ1Y3R1cmVEYXRhIiwidGVtcFJlU3RydWN0dXJlZFRkSWRzIiwidGVtcFJlU3RydWN0dXJlZFRkQ2xhc3NlcyIsInRlbXBSZVN0cnVjdHVyZURhdGFTdHlsZSIsInRlbXBSZVN0cnVjdHVyZVJvd1NwYW4iLCJ0ZW1wUmVTdHJ1Y3R1cmVDb2xTcGFuIiwiaW5kZXgiLCJhc3NpZ24iLCJlbnRyaWVzIiwiaW5kVHIiLCJ0Um93cyIsImluZFRkIiwicm93TnVtYmVyIiwicm93TGVuZ3RoIiwiaW5zZXJ0ZWRSb3ciLCJpZCIsInJvd3MiLCJhbGxSb3ciLCJyb3dJbmRleCIsInRyIiwiZmluZCIsImNvbHVtbkluZGV4IiwiY29sdW1uTGVuZ3RoIiwidG90YWxEYXRhIiwid2luZG93U2l6ZSIsIndpbmRvdyIsInJlc2l6ZSIsImpRdWVyeSJdLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvcHVibGljL2pzL25pbmphLXRhYmxlcy1idWlsZGVyLmpzPzdmNGYiXSwic291cmNlc0NvbnRlbnQiOlsiKGZ1bmN0aW9uICgkKSB7XG4gICAgJChkb2N1bWVudCkucmVhZHkoZnVuY3Rpb24gKCQpIHtcblxuICAgICAgICAkKCcubnRiX3RhYmxlX3dyYXBwZXInKS5lYWNoKGZ1bmN0aW9uICgpIHtcblxuICAgICAgICAgICAgbGV0IG1haW5UYWJsZSA9ICQodGhpcylbMF1cbiAgICAgICAgICAgIGxldCBkZXNrdG9wRm9ybWF0ID0gbWFpblRhYmxlLmlubmVySFRNTFxuXG4gICAgICAgICAgICAvLyBHZXQgcmVzcG9uc2l2ZSBpbmZvcm1hdGlvbiBmcm9tIGRhdGEtcmVzcG9uc2l2ZSBhdHRyLFxuICAgICAgICAgICAgbGV0IHJlc3BvbnNpdmUgPSBKU09OLnBhcnNlKG1haW5UYWJsZS5kYXRhc2V0LnJlc3BvbnNpdmUpXG4gICAgICAgICAgICBsZXQgaXNSZXNwb25zaXZlID0gcmVzcG9uc2l2ZS5nZW5lcmFsLm9wdGlvbnMuZW5hYmxlX3Jlc3BvbnNpdmVfdGFibGUudmFsdWVcblxuICAgICAgICAgICAgaWYgKGlzUmVzcG9uc2l2ZSA9PT0gdHJ1ZSB8fCBpc1Jlc3BvbnNpdmUgPT09ICd0cnVlJykge1xuXG4gICAgICAgICAgICAgICAgY29uc3QgdGFibGVJZCA9IG1haW5UYWJsZS5pZFxuICAgICAgICAgICAgICAgIGNvbnN0IHJvd3MgPSAkKCcjJyArIHRhYmxlSWQgKyAnIHRhYmxlJylbMF0ucm93c1xuICAgICAgICAgICAgICAgIFxuICAgICAgICAgICAgICAgIC8vIFJvdyB3aXNlIHNlcmlhbCBkYXRhIHN0cnVjdHVyZWRcbiAgICAgICAgICAgICAgICBsZXQgYWxsUm93ID0ge31cbiAgICAgICAgICAgICAgICBsZXQgdHJTdHlsZXMgPSB7fVxuICAgICAgICAgICAgICAgIGxldCB0ZFN0eWxlcyA9IHt9XG4gICAgICAgICAgICAgICAgbGV0IHJvd3NUZCA9IHt9XG4gICAgICAgICAgICAgICAgbGV0IHJvd1NwYW4gPSB7fVxuICAgICAgICAgICAgICAgIGxldCBjb2xTcGFuID0ge31cbiAgICAgICAgICAgICAgICBsZXQgdGRJZHMgPSB7fVxuICAgICAgICAgICAgICAgIGxldCB0ZENsYXNzZXMgPSB7fVxuICAgICAgICAgICAgICAgIGxldCBpbmRleCA9IDBcblxuICAgICAgICAgICAgICAgICQocm93cykuZWFjaChmdW5jdGlvbiAocm93SW5kZXgsIHRyKSB7XG4gICAgICAgICAgICAgICAgICAgIGFsbFJvd1tyb3dJbmRleF0gPSBPYmplY3QuYXNzaWduKHRyKTtcbiAgICAgICAgICAgICAgICAgICAgJCh0cikuZmluZCgndGQnKS5lYWNoKGZ1bmN0aW9uIChjb2x1bW5JbmRleCwgdGQpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHJvd3NUZFtpbmRleF0gPSBPYmplY3QuYXNzaWduKHRkKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIHRyU3R5bGVzW2luZGV4XSA9ICQoYWxsUm93W3Jvd0luZGV4XSkuYXR0cignc3R5bGUnKVxuICAgICAgICAgICAgICAgICAgICAgICAgdGRTdHlsZXNbaW5kZXhdID0gJChyb3dzVGRbaW5kZXhdKS5hdHRyKCdzdHlsZScpXG4gICAgICAgICAgICAgICAgICAgICAgICByb3dTcGFuW2luZGV4XSA9ICQodGQpLmF0dHIoJ3Jvd3NwYW4nKVxuICAgICAgICAgICAgICAgICAgICAgICAgY29sU3BhbltpbmRleF0gPSAkKHRkKS5hdHRyKCdjb2xzcGFuJylcbiAgICAgICAgICAgICAgICAgICAgICAgIHRkSWRzW2luZGV4XSA9ICQodGQpLmF0dHIoJ2lkJylcbiAgICAgICAgICAgICAgICAgICAgICAgIHRkQ2xhc3Nlc1tpbmRleF0gPSAkKHRkKS5hdHRyKCdjbGFzcycpXG4gICAgICAgICAgICAgICAgICAgICAgICBpbmRleCsrXG4gICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgIH0pO1xuXG4gICAgICAgICAgICAgICAgLy8gR2V0IHRoZSBsZW5ndGggb2YgdGgsIHRkXG4gICAgICAgICAgICAgICAgY29uc3QgY29sdW1uTGVuZ3RoID0gJCgnIycgKyB0YWJsZUlkICsgJyB0YWJsZScpLmZpbmQoJ3RyJykubGVuZ3RoXG4gICAgICAgICAgICAgICAgY29uc3QgdG90YWxEYXRhID0gJCgnIycgKyB0YWJsZUlkICsgJyB0YWJsZSB0cicpLmZpbmQoJ3RkJykubGVuZ3RoXG4gICAgICAgICAgICAgICAgY29uc3QgaGVhZGVyTGVuID0gTWF0aC5jZWlsKHRvdGFsRGF0YSAvIGNvbHVtbkxlbmd0aClcbiAgICAgICAgICAgICAgICBjb25zdCBkYXRhTGVuID0gdG90YWxEYXRhIC0gaGVhZGVyTGVuXG5cbiAgICAgICAgICAgICAgICAvL1RoZXNlIHZhcmlhYmxlcyBhcmUgdG8gaGFuZGxlIHVubmVjZXNzYXJ5IGZ1bmN0aW9uIGNhbGxpbmdcbiAgICAgICAgICAgICAgICBsZXQgbW9iID0gZmFsc2U7XG4gICAgICAgICAgICAgICAgbGV0IHRhYiA9IGZhbHNlO1xuICAgICAgICAgICAgICAgIGxldCBkZXNrID0gZmFsc2U7XG5cbiAgICAgICAgICAgICAgICBsZXQgd2luZG93U2l6ZSA9ICQod2luZG93KS53aWR0aCgpO1xuICAgICAgICAgICAgICAgIGxldCB3aWR0aCA9IE51bWJlcih3aW5kb3dTaXplICogMC44KVxuXG4gICAgICAgICAgICAgICAgLy8gQ2FsbCBmdW5jdGlvbiBpZiB3aW5kb3cgcmVsb2FkZWRcbiAgICAgICAgICAgICAgICBpZiAod2luZG93U2l6ZSA8PSA3MDApIHtcbiAgICAgICAgICAgICAgICAgICAgbW9iaWxlRGV2aWNlKG1vYiwgd2lkdGgsIFwibW9iaWxlXCIpXG4gICAgICAgICAgICAgICAgfSBlbHNlIGlmICh3aW5kb3dTaXplID4gNzAwICYmIHdpbmRvd1NpemUgPCAxMDI0KSB7XG4gICAgICAgICAgICAgICAgICAgIHRhYmxldERldmljZSh0YWIsIHdpZHRoLCBcInRhYmxldFwiKVxuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIGRlc2t0b3BEZXZpY2UoZGVzaylcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAvLyBjYWxsIGZ1bmN0aW9uIGlmIHdpbmRvdyByZXNpemVkXG4gICAgICAgICAgICAgICAgJCh3aW5kb3cpLnJlc2l6ZShmdW5jdGlvbiAoKSB7XG4gICAgICAgICAgICAgICAgICAgIHdpbmRvd1NpemUgPSAkKHdpbmRvdykud2lkdGgoKTtcbiAgICAgICAgICAgICAgICAgICAgaWYgKHdpbmRvd1NpemUgPD0gNzAwKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBtb2JpbGVEZXZpY2UobW9iLCB3aWR0aCwgXCJtb2JpbGVcIilcbiAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmICh3aW5kb3dTaXplID4gNzAwICYmIHdpbmRvd1NpemUgPCAxMDI0KSB7XG4gICAgICAgICAgICAgICAgICAgICAgICB0YWJsZXREZXZpY2UodGFiLCB3aWR0aCwgXCJ0YWJsZXRcIilcbiAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGRlc2t0b3BEZXZpY2UoZGVzaylcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH0pO1xuXG4gICAgICAgICAgICAgICAgZnVuY3Rpb24gbW9iaWxlRGV2aWNlKG1vYiwgd2lkdGgsIGRldmljZU5hbWUpIHtcbiAgICAgICAgICAgICAgICAgICAgaWYgKG1vYiA9PT0gJ2ZhbHNlJyB8fCBtb2IgPT09IGZhbHNlKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBtb2IgPSB0cnVlXG4gICAgICAgICAgICAgICAgICAgICAgICB0YWIgPSBmYWxzZVxuICAgICAgICAgICAgICAgICAgICAgICAgZGVzayA9IGZhbHNlXG4gICAgICAgICAgICAgICAgICAgICAgICBcbiAgICAgICAgICAgICAgICAgICAgICAgIC8vIEdldHRpbmcgZGF0YSB0byBjaGVjayByZXNwb25zaXZlIG9wdGlvbnMgZm9yIG1vYmlsZVxuICAgICAgICAgICAgICAgICAgICAgICAgY29uc3QgbW9iaWxlRGF0YSA9IHJlc3BvbnNpdmUubW9kZV9vcHRpb25zLm9wdGlvbnMuZGV2aWNlcy5tb2JpbGVcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbnN0IGJyZWFrcG9pbnQgPSBtb2JpbGVEYXRhLmRpc2FibGVfYnJlYWtwb2ludC52YWx1ZVxuICAgICAgICAgICAgICAgICAgICAgICAgY29uc3QgdG9wUm93QXNIZWFkZXIgPSBtb2JpbGVEYXRhLnRvcF9yb3dfYXNfaGVhZGVyLnZhbHVlXG4gICAgICAgICAgICAgICAgICAgICAgICBjb25zdCBpdGVtc1BlclJvdyA9IG1vYmlsZURhdGEuaXRlbXNfcGVyX3Jvdy52YWx1ZTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbnN0IGNlbGxCb3JkZXIgPSByZXNwb25zaXZlLm1vZGVfb3B0aW9ucy5vcHRpb25zLmRldmljZXMubW9iaWxlLmNlbGxfYm9yZGVyLnZhbHVlXG5cbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChicmVha3BvaW50ID09PSAnZmFsc2UnIHx8IGJyZWFrcG9pbnQgPT09IGZhbHNlKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgJCgnIycgKyB0YWJsZUlkICsgJyB0YWJsZSB0Ym9keScpLmVtcHR5KClcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAodG9wUm93QXNIZWFkZXIgPT09ICd0cnVlJyB8fCB0b3BSb3dBc0hlYWRlciA9PT0gdHJ1ZSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0b3BSb3dIZWFkZXIoaXRlbXNQZXJSb3csIHdpZHRoLCBkZXZpY2VOYW1lLCBjZWxsQm9yZGVyKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHN0YXRpY1Jvd0Rlc2lnbihpdGVtc1BlclJvdywgd2lkdGgsIGRldmljZU5hbWUpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgZGVza3RvcERldmljZShkZXNrKVxuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgZnVuY3Rpb24gdGFibGV0RGV2aWNlKHRhYmxldFZpZXcsIHdpZHRoLCBkZXZpY2VOYW1lKSB7XG4gICAgICAgICAgICAgICAgICAgIGlmICh0YWJsZXRWaWV3ID09PSAnZmFsc2UnIHx8IHRhYmxldFZpZXcgPT09IGZhbHNlKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBtb2IgPSBmYWxzZVxuICAgICAgICAgICAgICAgICAgICAgICAgdGFiID0gdHJ1ZVxuICAgICAgICAgICAgICAgICAgICAgICAgZGVzayA9IGZhbHNlXG4gICAgICAgICAgICAgICAgICAgICAgICAvLyBnZXR0aW5nIGRhdGEgdG8gY2hlY2sgcmVzcG9uc2l2ZSBvcHRpb25zIGZvciB0YWJcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbnN0IHRhYkRhdGEgPSByZXNwb25zaXZlLm1vZGVfb3B0aW9ucy5vcHRpb25zLmRldmljZXMudGFibGV0XG4gICAgICAgICAgICAgICAgICAgICAgICBjb25zdCBicmVha3BvaW50ID0gdGFiRGF0YS5kaXNhYmxlX2JyZWFrcG9pbnQudmFsdWVcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbnN0IHRvcFJvd0FzSGVhZGVyID0gdGFiRGF0YS50b3Bfcm93X2FzX2hlYWRlci52YWx1ZVxuICAgICAgICAgICAgICAgICAgICAgICAgY29uc3QgaXRlbXNQZXJSb3cgPSB0YWJEYXRhLml0ZW1zX3Blcl9yb3cudmFsdWU7XG4gICAgICAgICAgICAgICAgICAgICAgICBjb25zdCBjZWxsQm9yZGVyID0gcmVzcG9uc2l2ZS5tb2RlX29wdGlvbnMub3B0aW9ucy5kZXZpY2VzLnRhYmxldC5jZWxsX2JvcmRlci52YWx1ZVxuXG5cbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChicmVha3BvaW50ID09PSAnZmFsc2UnIHx8IGJyZWFrcG9pbnQgPT09IGZhbHNlKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgJCgnIycgKyB0YWJsZUlkICsgJyB0YWJsZSB0Ym9keScpLmVtcHR5KClcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAodG9wUm93QXNIZWFkZXIgPT09ICd0cnVlJyB8fCB0b3BSb3dBc0hlYWRlciA9PT0gdHJ1ZSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0b3BSb3dIZWFkZXIoaXRlbXNQZXJSb3csIHdpZHRoLCBkZXZpY2VOYW1lLCBjZWxsQm9yZGVyKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHN0YXRpY1Jvd0Rlc2lnbihpdGVtc1BlclJvdywgd2lkdGgsIGRldmljZU5hbWUpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBkZXNrdG9wRGV2aWNlKGRlc2spXG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICBmdW5jdGlvbiBkZXNrdG9wRGV2aWNlKGRlc2t0b3BWaWV3KSB7XG4gICAgICAgICAgICAgICAgICAgIGlmIChkZXNrdG9wVmlldyA9PT0gJ2ZhbHNlJyB8fCBkZXNrdG9wVmlldyA9PT0gZmFsc2UpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIG1vYiA9IGZhbHNlXG4gICAgICAgICAgICAgICAgICAgICAgICB0YWIgPSBmYWxzZVxuICAgICAgICAgICAgICAgICAgICAgICAgZGVzayA9IHRydWVcbiAgICAgICAgICAgICAgICAgICAgICAgICQoJyMnICsgdGFibGVJZClbMF0uaW5uZXJIVE1MID0gZGVza3RvcEZvcm1hdFxuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgLy8gRnVuY3Rpb25zIGZvciByZWNvbnN0cnVjdGluZyB0aGUgdGFibGVzLlxuICAgICAgICAgICAgICAgIGZ1bmN0aW9uIHN0YXRpY1Jvd0Rlc2lnbihpdGVtc1BlclJvdywgd2lkdGgsIGRldmljZU5hbWUpIHtcbiAgICAgICAgICAgICAgICAgICAgLy8gZGF0YSByZXN0cnVjdHVyZWQgYXMgdXNlciByZXF1aXJlbWVudFxuICAgICAgICAgICAgICAgICAgICBsZXQgc3RydWN0dXJlZFRkID0ge31cbiAgICAgICAgICAgICAgICAgICAgbGV0IHN0cnVjdHVyZWRUclN0eWxlcyA9IHt9XG4gICAgICAgICAgICAgICAgICAgIGxldCBzdHJ1Y3R1cmVkVGRTdHlsZXMgPSB7fVxuICAgICAgICAgICAgICAgICAgICBsZXQgc3RydWN0dXJlZFRkSWRzID0ge31cbiAgICAgICAgICAgICAgICAgICAgbGV0IHN0cnVjdHVyZWRUZENsYXNzZXMgPSB7fVxuICAgICAgICAgICAgICAgICAgICBsZXQgdGRDb3VudGVyID0gMFxuICAgICAgICAgICAgICAgICAgICBmb3IgKGxldCBpID0gMDsgaSA8IE9iamVjdC5rZXlzKHJvd3NUZCkubGVuZ3RoOyBpKyspIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChjb2xTcGFuW2ldICE9PSAwICYmIHJvd1NwYW5baV0gIT09IDApIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBzdHJ1Y3R1cmVkVGRbdGRDb3VudGVyXSA9IHJvd3NUZFtpXS5pbm5lckhUTUxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBzdHJ1Y3R1cmVkVHJTdHlsZXNbdGRDb3VudGVyXSA9IHRyU3R5bGVzW2ldXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgc3RydWN0dXJlZFRkU3R5bGVzW3RkQ291bnRlcl0gPSB0ZFN0eWxlc1tpXVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHN0cnVjdHVyZWRUZElkc1t0ZENvdW50ZXJdID0gdGRJZHNbaV1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBzdHJ1Y3R1cmVkVGRDbGFzc2VzW3RkQ291bnRlcl0gPSB0ZENsYXNzZXNbaV1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0ZENvdW50ZXIrK1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAgICAgLy8gUmVjb25zdHJ1Y3QgdGhlIHRhYmxlIHdpdGggcmVzdHJ1Y3R1cmVkIGRhdGFcbiAgICAgICAgICAgICAgICAgICAgbGV0IG51bWJlck9mUm93ID0gTWF0aC5jZWlsKHRkQ291bnRlciAvIGl0ZW1zUGVyUm93KVxuICAgICAgICAgICAgICAgICAgICBsZXQgdGQgPSAwO1xuICAgICAgICAgICAgICAgICAgICBmb3IgKGxldCByb3cgPSAwOyByb3cgPCBudW1iZXJPZlJvdzsgcm93KyspIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICQoJyMnICsgdGFibGVJZCArICcgdGFibGUgdGJvZHknKS5hcHBlbmQoJzx0cj48L3RyPicpXG4gICAgICAgICAgICAgICAgICAgICAgICBsZXQgdGFibGVSb3cgPSAkKCcjJyArIHRhYmxlSWQgKyAnIHRhYmxlIHRib2R5IHRyJylcbiAgICAgICAgICAgICAgICAgICAgICAgIHRhYmxlUm93LmFkZENsYXNzKGRldmljZU5hbWUgKyBcIl92aWV3XCIpXG4gICAgICAgICAgICAgICAgICAgICAgICBsZXQgYWRkZWRDbGFzcyA9IHRhYmxlUm93LmFkZENsYXNzKCdzdGF0aWNSb3cnKVxuICAgICAgICAgICAgICAgICAgICAgICAgZm9yIChsZXQgY29sID0gMDsgY29sIDwgaXRlbXNQZXJSb3c7IGNvbCsrKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHN0cnVjdHVyZWRUZFt0ZF0gIT09IHVuZGVmaW5lZCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgaW5zZXJ0ZWRUZCA9IGFkZGVkQ2xhc3Nbcm93XS5pbnNlcnRDZWxsKClcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaW5zZXJ0ZWRUZC5pbm5lckhUTUwgPSBzdHJ1Y3R1cmVkVGRbdGRdXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICQoaW5zZXJ0ZWRUZCkucHJvcCgnaWQnLCBzdHJ1Y3R1cmVkVGRJZHNbdGRdKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAkKGluc2VydGVkVGQpLmFkZENsYXNzKHN0cnVjdHVyZWRUZENsYXNzZXNbdGRdKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAkKGluc2VydGVkVGQpLmF0dHIoXCJzdHlsZVwiLCBzdHJ1Y3R1cmVkVHJTdHlsZXNbdGRdICsgXCIgXCIgKyBzdHJ1Y3R1cmVkVGRTdHlsZXNbdGRdKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAkKGluc2VydGVkVGQpLmNzcyh7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcIndpZHRoXCI6IE51bWJlcih3aWR0aCAvIGl0ZW1zUGVyUm93KSArICdweCcsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcIm1heC13aWR0aFwiOiBOdW1iZXIod2lkdGggLyBpdGVtc1BlclJvdykgKyAncHgnXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRkKytcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIGZ1bmN0aW9uIHRvcFJvd0hlYWRlcihpdGVtc1BlclJvdywgd2lkdGgsIGRldmljZU5hbWUsIGNlbGxCb3JkZXIpIHtcbiAgICAgICAgICAgICAgICAgICAgLy8gRGF0YSByZXN0cnVjdHVyZWQgYXMgdXNlciByZXF1aXJlbWVudFxuICAgICAgICAgICAgICAgICAgICBjb25zdCB0b3RhbEdyb3VwID0gTWF0aC5jZWlsKGRhdGFMZW4gLyAoaXRlbXNQZXJSb3cgKiBoZWFkZXJMZW4pKVxuICAgICAgICAgICAgICAgICAgICBsZXQgaSA9IDA7XG4gICAgICAgICAgICAgICAgICAgIGxldCByZVN0cnVjdHVyZWREYXRhID0ge31cbiAgICAgICAgICAgICAgICAgICAgbGV0IHJlU3RydWN0dXJlZFRkSWRzID0ge31cbiAgICAgICAgICAgICAgICAgICAgbGV0IHJlU3RydWN0dXJlZFRkQ2xhc3NlcyA9IHt9XG4gICAgICAgICAgICAgICAgICAgIGxldCByZVN0cnVjdHVyZURhdGFTdHlsZSA9IHt9XG4gICAgICAgICAgICAgICAgICAgIGxldCByZVN0cnVjdHVyZVJvd1NwYW4gPSB7fVxuICAgICAgICAgICAgICAgICAgICBsZXQgcmVTdHJ1Y3R1cmVDb2xTcGFuID0ge31cbiAgICAgICAgICAgICAgICAgICAgZm9yIChsZXQgZ3JvdXAgPSAwOyBncm91cCA8IHRvdGFsR3JvdXA7IGdyb3VwKyspIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGZvciAobGV0IGhlYWRlciA9IDA7IGhlYWRlciA8IGhlYWRlckxlbjsgaGVhZGVyKyspIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgdGVtcFJlU3RydWN0dXJlRGF0YSA9IHt9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHRlbXBSZVN0cnVjdHVyZWRUZElkcyA9IHt9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHRlbXBSZVN0cnVjdHVyZWRUZENsYXNzZXMgPSB7fVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCB0ZW1wUmVTdHJ1Y3R1cmVEYXRhU3R5bGUgPSB7fVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCB0ZW1wUmVTdHJ1Y3R1cmVSb3dTcGFuID0ge31cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgdGVtcFJlU3RydWN0dXJlQ29sU3BhbiA9IHt9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZm9yIChsZXQgY29sID0gMDsgY29sIDw9IGl0ZW1zUGVyUm93OyBjb2wrKykge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgaW5kZXggPSAoZ3JvdXAgKiBpdGVtc1BlclJvdyAqIGhlYWRlckxlbikgKyAoY29sICogaGVhZGVyTGVuKSArIGhlYWRlclxuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChjb2wgPT09IDApIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRlbXBSZVN0cnVjdHVyZURhdGFbY29sXSA9IHJvd3NUZFtoZWFkZXJdXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0ZW1wUmVTdHJ1Y3R1cmVEYXRhU3R5bGVbY29sXSA9IHRyU3R5bGVzW2hlYWRlcl0gKyBcIiBcIiArIHRkU3R5bGVzW2hlYWRlcl1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRlbXBSZVN0cnVjdHVyZVJvd1NwYW5bY29sXSA9IHJvd1NwYW5baGVhZGVyXVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdGVtcFJlU3RydWN0dXJlQ29sU3Bhbltjb2xdID0gY29sU3BhbltoZWFkZXJdXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0ZW1wUmVTdHJ1Y3R1cmVkVGRJZHNbY29sXSA9IHRkSWRzW2hlYWRlcl1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRlbXBSZVN0cnVjdHVyZWRUZENsYXNzZXNbY29sXSA9IHRkQ2xhc3Nlc1toZWFkZXJdXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0ZW1wUmVTdHJ1Y3R1cmVEYXRhW2NvbF0gPSByb3dzVGRbaW5kZXhdXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0ZW1wUmVTdHJ1Y3R1cmVEYXRhU3R5bGVbY29sXSA9IHRyU3R5bGVzW2luZGV4XSArIFwiIFwiICsgdGRTdHlsZXNbaW5kZXhdXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0ZW1wUmVTdHJ1Y3R1cmVSb3dTcGFuW2NvbF0gPSByb3dTcGFuW2luZGV4XVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdGVtcFJlU3RydWN0dXJlQ29sU3Bhbltjb2xdID0gY29sU3BhbltpbmRleF1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRlbXBSZVN0cnVjdHVyZWRUZElkc1tjb2xdID0gdGRJZHNbaW5kZXhdXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0ZW1wUmVTdHJ1Y3R1cmVkVGRDbGFzc2VzW2NvbF0gPSB0ZENsYXNzZXNbaW5kZXhdXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmVTdHJ1Y3R1cmVkRGF0YVtpXSA9IE9iamVjdC5hc3NpZ24odGVtcFJlU3RydWN0dXJlRGF0YSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZVN0cnVjdHVyZURhdGFTdHlsZVtpXSA9IE9iamVjdC5hc3NpZ24odGVtcFJlU3RydWN0dXJlRGF0YVN0eWxlKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJlU3RydWN0dXJlUm93U3BhbltpXSA9IE9iamVjdC5hc3NpZ24odGVtcFJlU3RydWN0dXJlUm93U3BhbilcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZVN0cnVjdHVyZUNvbFNwYW5baV0gPSBPYmplY3QuYXNzaWduKHRlbXBSZVN0cnVjdHVyZUNvbFNwYW4pXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmVTdHJ1Y3R1cmVkVGRJZHNbaV0gPSBPYmplY3QuYXNzaWduKHRlbXBSZVN0cnVjdHVyZWRUZElkcylcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZVN0cnVjdHVyZWRUZENsYXNzZXNbaV0gPSBPYmplY3QuYXNzaWduKHRlbXBSZVN0cnVjdHVyZWRUZENsYXNzZXMpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaSsrXG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgLy8gcmVjb25zdHJ1Y3QgdGFibGUgd2l0aCByZXNwZWN0IHRvIHJlc3RydWN0dXJlZCBkYXRhXG4gICAgICAgICAgICAgICAgICAgIGZvciAobGV0IFtpbmRUciwgdFJvd3NdIG9mIE9iamVjdC5lbnRyaWVzKHJlU3RydWN0dXJlZERhdGEpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAkKCcjJyArIHRhYmxlSWQgKyAnIHRhYmxlIHRib2R5JykuYXBwZW5kKCc8dHI+PC90cj4nKVxuICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHRhYmxlUm93ID0gJCgnIycgKyB0YWJsZUlkICsgJyB0YWJsZSB0Ym9keSB0cicpXG4gICAgICAgICAgICAgICAgICAgICAgICB0YWJsZVJvdy5hZGRDbGFzcyhkZXZpY2VOYW1lICsgXCJfdmlld1wiKVxuICAgICAgICAgICAgICAgICAgICAgICAgbGV0IGFkZGVkQ2xhc3MgPSB0YWJsZVJvdy5hZGRDbGFzcygndG9wUm93QXNIZWFkZXInKVxuXG4gICAgICAgICAgICAgICAgICAgICAgICBmb3IgKGxldCBpbmRUZCA9IDA7IGluZFRkIDwgT2JqZWN0LmtleXModFJvd3MpLmxlbmd0aDsgaW5kVGQrKykge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmICh0Um93c1tpbmRUZF0gIT09IHVuZGVmaW5lZCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgaW5zZXJ0ZWRUZCA9IGFkZGVkQ2xhc3NbaW5kVHJdLmluc2VydENlbGwoKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpbnNlcnRlZFRkLmlubmVySFRNTCA9IHRSb3dzW2luZFRkXS5pbm5lckhUTUxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJChpbnNlcnRlZFRkKS5wcm9wKCdpZCcsIHJlU3RydWN0dXJlZFRkSWRzW2luZFRyXVtpbmRUZF0pXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICQoaW5zZXJ0ZWRUZCkuYWRkQ2xhc3MocmVTdHJ1Y3R1cmVkVGRDbGFzc2VzW2luZFRyXVtpbmRUZF0pXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICQoaW5zZXJ0ZWRUZCkuYXR0cihcInN0eWxlXCIsIHJlU3RydWN0dXJlRGF0YVN0eWxlW2luZFRyXVtpbmRUZF0pXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICQoaW5zZXJ0ZWRUZCkucHJvcChcImNvbHNwYW5cIiwgcmVTdHJ1Y3R1cmVSb3dTcGFuW2luZFRyXVtpbmRUZF0pXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICQoaW5zZXJ0ZWRUZCkucHJvcChcInJvd3NwYW5cIiwgcmVTdHJ1Y3R1cmVDb2xTcGFuW2luZFRyXVtpbmRUZF0pXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICQoaW5zZXJ0ZWRUZCkuY3NzKHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFwid2lkdGhcIjogTnVtYmVyKHdpZHRoIC8gaXRlbXNQZXJSb3cpICsgJ3B4JyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFwibWF4LXdpZHRoXCI6IE51bWJlcih3aWR0aCAvIGl0ZW1zUGVyUm93KSArICdweCdcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAgICAgICAgIC8vIEFkZCBjZWxsIGJvcmRlciBib3R0b21cbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbnN0IHJvd051bWJlciA9IE51bWJlcihpbmRUcikrMVxuICAgICAgICAgICAgICAgICAgICAgICAgY29uc3Qgcm93TGVuZ3RoID0gT2JqZWN0LmVudHJpZXMocmVTdHJ1Y3R1cmVkRGF0YSkubGVuZ3RoXG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAocm93TnVtYmVyICUgaGVhZGVyTGVuID09PSAwICYmIHJvd051bWJlciAhPT0gcm93TGVuZ3RoKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IGluc2VydGVkUm93ID0gYWRkZWRDbGFzc1tpbmRUcl1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAkKGluc2VydGVkUm93KS5jc3MoXCJib3JkZXItYm90dG9tXCIsIGNlbGxCb3JkZXIrXCJweCBzb2xpZCBibGFja1wiKVxuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9KVxuICAgIH0pO1xufSkoalF1ZXJ5KTsiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7OztBQUFBLENBQUMsVUFBVUEsQ0FBVixFQUFhO0VBQ1ZBLENBQUMsQ0FBQ0MsUUFBRCxDQUFELENBQVlDLEtBQVosQ0FBa0IsVUFBVUYsQ0FBVixFQUFhO0lBRTNCQSxDQUFDLENBQUMsb0JBQUQsQ0FBRCxDQUF3QkcsSUFBeEIsQ0FBNkIsWUFBWTtNQUVyQyxJQUFJQyxTQUFTLEdBQUdKLENBQUMsQ0FBQyxJQUFELENBQUQsQ0FBUSxDQUFSLENBQWhCO01BQ0EsSUFBSUssYUFBYSxHQUFHRCxTQUFTLENBQUNFLFNBQTlCLENBSHFDLENBS3JDOztNQUNBLElBQUlDLFVBQVUsR0FBR0MsSUFBSSxDQUFDQyxLQUFMLENBQVdMLFNBQVMsQ0FBQ00sT0FBVixDQUFrQkgsVUFBN0IsQ0FBakI7TUFDQSxJQUFJSSxZQUFZLEdBQUdKLFVBQVUsQ0FBQ0ssT0FBWCxDQUFtQkMsT0FBbkIsQ0FBMkJDLHVCQUEzQixDQUFtREMsS0FBdEU7O01BRUEsSUFBSUosWUFBWSxLQUFLLElBQWpCLElBQXlCQSxZQUFZLEtBQUssTUFBOUMsRUFBc0Q7UUFBQSxJQWlFekNLLFlBakV5QyxHQWlFbEQsU0FBU0EsWUFBVCxDQUFzQkMsR0FBdEIsRUFBMkJDLEtBQTNCLEVBQWtDQyxVQUFsQyxFQUE4QztVQUMxQyxJQUFJRixHQUFHLEtBQUssT0FBUixJQUFtQkEsR0FBRyxLQUFLLEtBQS9CLEVBQXNDO1lBQ2xDQSxHQUFHLEdBQUcsSUFBTjtZQUNBRyxHQUFHLEdBQUcsS0FBTjtZQUNBQyxJQUFJLEdBQUcsS0FBUCxDQUhrQyxDQUtsQzs7WUFDQSxJQUFNQyxVQUFVLEdBQUdmLFVBQVUsQ0FBQ2dCLFlBQVgsQ0FBd0JWLE9BQXhCLENBQWdDVyxPQUFoQyxDQUF3Q0MsTUFBM0Q7WUFDQSxJQUFNQyxVQUFVLEdBQUdKLFVBQVUsQ0FBQ0ssa0JBQVgsQ0FBOEJaLEtBQWpEO1lBQ0EsSUFBTWEsY0FBYyxHQUFHTixVQUFVLENBQUNPLGlCQUFYLENBQTZCZCxLQUFwRDtZQUNBLElBQU1lLFdBQVcsR0FBR1IsVUFBVSxDQUFDUyxhQUFYLENBQXlCaEIsS0FBN0M7WUFDQSxJQUFNaUIsVUFBVSxHQUFHekIsVUFBVSxDQUFDZ0IsWUFBWCxDQUF3QlYsT0FBeEIsQ0FBZ0NXLE9BQWhDLENBQXdDQyxNQUF4QyxDQUErQ1EsV0FBL0MsQ0FBMkRsQixLQUE5RTs7WUFFQSxJQUFJVyxVQUFVLEtBQUssT0FBZixJQUEwQkEsVUFBVSxLQUFLLEtBQTdDLEVBQW9EO2NBQ2hEMUIsQ0FBQyxDQUFDLE1BQU1rQyxPQUFOLEdBQWdCLGNBQWpCLENBQUQsQ0FBa0NDLEtBQWxDOztjQUNBLElBQUlQLGNBQWMsS0FBSyxNQUFuQixJQUE2QkEsY0FBYyxLQUFLLElBQXBELEVBQTBEO2dCQUN0RFEsWUFBWSxDQUFDTixXQUFELEVBQWNaLEtBQWQsRUFBcUJDLFVBQXJCLEVBQWlDYSxVQUFqQyxDQUFaO2NBQ0gsQ0FGRCxNQUVPO2dCQUNISyxlQUFlLENBQUNQLFdBQUQsRUFBY1osS0FBZCxFQUFxQkMsVUFBckIsQ0FBZjtjQUNIO1lBQ0o7VUFDSixDQXBCRCxNQW9CTztZQUNIbUIsYUFBYSxDQUFDakIsSUFBRCxDQUFiO1VBQ0g7UUFDSixDQXpGaUQ7O1FBQUEsSUEyRnpDa0IsWUEzRnlDLEdBMkZsRCxTQUFTQSxZQUFULENBQXNCQyxVQUF0QixFQUFrQ3RCLEtBQWxDLEVBQXlDQyxVQUF6QyxFQUFxRDtVQUNqRCxJQUFJcUIsVUFBVSxLQUFLLE9BQWYsSUFBMEJBLFVBQVUsS0FBSyxLQUE3QyxFQUFvRDtZQUNoRHZCLEdBQUcsR0FBRyxLQUFOO1lBQ0FHLEdBQUcsR0FBRyxJQUFOO1lBQ0FDLElBQUksR0FBRyxLQUFQLENBSGdELENBSWhEOztZQUNBLElBQU1vQixPQUFPLEdBQUdsQyxVQUFVLENBQUNnQixZQUFYLENBQXdCVixPQUF4QixDQUFnQ1csT0FBaEMsQ0FBd0NrQixNQUF4RDtZQUNBLElBQU1oQixVQUFVLEdBQUdlLE9BQU8sQ0FBQ2Qsa0JBQVIsQ0FBMkJaLEtBQTlDO1lBQ0EsSUFBTWEsY0FBYyxHQUFHYSxPQUFPLENBQUNaLGlCQUFSLENBQTBCZCxLQUFqRDtZQUNBLElBQU1lLFdBQVcsR0FBR1csT0FBTyxDQUFDVixhQUFSLENBQXNCaEIsS0FBMUM7WUFDQSxJQUFNaUIsVUFBVSxHQUFHekIsVUFBVSxDQUFDZ0IsWUFBWCxDQUF3QlYsT0FBeEIsQ0FBZ0NXLE9BQWhDLENBQXdDa0IsTUFBeEMsQ0FBK0NULFdBQS9DLENBQTJEbEIsS0FBOUU7O1lBR0EsSUFBSVcsVUFBVSxLQUFLLE9BQWYsSUFBMEJBLFVBQVUsS0FBSyxLQUE3QyxFQUFvRDtjQUNoRDFCLENBQUMsQ0FBQyxNQUFNa0MsT0FBTixHQUFnQixjQUFqQixDQUFELENBQWtDQyxLQUFsQzs7Y0FDQSxJQUFJUCxjQUFjLEtBQUssTUFBbkIsSUFBNkJBLGNBQWMsS0FBSyxJQUFwRCxFQUEwRDtnQkFDdERRLFlBQVksQ0FBQ04sV0FBRCxFQUFjWixLQUFkLEVBQXFCQyxVQUFyQixFQUFpQ2EsVUFBakMsQ0FBWjtjQUNILENBRkQsTUFFTztnQkFDSEssZUFBZSxDQUFDUCxXQUFELEVBQWNaLEtBQWQsRUFBcUJDLFVBQXJCLENBQWY7Y0FDSDtZQUNKLENBUEQsTUFPTztjQUNIbUIsYUFBYSxDQUFDakIsSUFBRCxDQUFiO1lBQ0g7VUFDSjtRQUNKLENBbkhpRDs7UUFBQSxJQXFIekNpQixhQXJIeUMsR0FxSGxELFNBQVNBLGFBQVQsQ0FBdUJLLFdBQXZCLEVBQW9DO1VBQ2hDLElBQUlBLFdBQVcsS0FBSyxPQUFoQixJQUEyQkEsV0FBVyxLQUFLLEtBQS9DLEVBQXNEO1lBQ2xEMUIsR0FBRyxHQUFHLEtBQU47WUFDQUcsR0FBRyxHQUFHLEtBQU47WUFDQUMsSUFBSSxHQUFHLElBQVA7WUFDQXJCLENBQUMsQ0FBQyxNQUFNa0MsT0FBUCxDQUFELENBQWlCLENBQWpCLEVBQW9CNUIsU0FBcEIsR0FBZ0NELGFBQWhDO1VBQ0g7UUFDSixDQTVIaUQsRUE4SGxEOzs7UUE5SGtELElBK0h6Q2dDLGVBL0h5QyxHQStIbEQsU0FBU0EsZUFBVCxDQUF5QlAsV0FBekIsRUFBc0NaLEtBQXRDLEVBQTZDQyxVQUE3QyxFQUF5RDtVQUNyRDtVQUNBLElBQUl5QixZQUFZLEdBQUcsRUFBbkI7VUFDQSxJQUFJQyxrQkFBa0IsR0FBRyxFQUF6QjtVQUNBLElBQUlDLGtCQUFrQixHQUFHLEVBQXpCO1VBQ0EsSUFBSUMsZUFBZSxHQUFHLEVBQXRCO1VBQ0EsSUFBSUMsbUJBQW1CLEdBQUcsRUFBMUI7VUFDQSxJQUFJQyxTQUFTLEdBQUcsQ0FBaEI7O1VBQ0EsS0FBSyxJQUFJQyxDQUFDLEdBQUcsQ0FBYixFQUFnQkEsQ0FBQyxHQUFHQyxNQUFNLENBQUNDLElBQVAsQ0FBWUMsTUFBWixFQUFvQkMsTUFBeEMsRUFBZ0RKLENBQUMsRUFBakQsRUFBcUQ7WUFDakQsSUFBSUssT0FBTyxDQUFDTCxDQUFELENBQVAsS0FBZSxDQUFmLElBQW9CTSxPQUFPLENBQUNOLENBQUQsQ0FBUCxLQUFlLENBQXZDLEVBQTBDO2NBQ3RDTixZQUFZLENBQUNLLFNBQUQsQ0FBWixHQUEwQkksTUFBTSxDQUFDSCxDQUFELENBQU4sQ0FBVTVDLFNBQXBDO2NBQ0F1QyxrQkFBa0IsQ0FBQ0ksU0FBRCxDQUFsQixHQUFnQ1EsUUFBUSxDQUFDUCxDQUFELENBQXhDO2NBQ0FKLGtCQUFrQixDQUFDRyxTQUFELENBQWxCLEdBQWdDUyxRQUFRLENBQUNSLENBQUQsQ0FBeEM7Y0FDQUgsZUFBZSxDQUFDRSxTQUFELENBQWYsR0FBNkJVLEtBQUssQ0FBQ1QsQ0FBRCxDQUFsQztjQUNBRixtQkFBbUIsQ0FBQ0MsU0FBRCxDQUFuQixHQUFpQ1csU0FBUyxDQUFDVixDQUFELENBQTFDO2NBQ0FELFNBQVM7WUFDWjtVQUNKLENBakJvRCxDQW1CckQ7OztVQUNBLElBQUlZLFdBQVcsR0FBR0MsSUFBSSxDQUFDQyxJQUFMLENBQVVkLFNBQVMsR0FBR25CLFdBQXRCLENBQWxCO1VBQ0EsSUFBSWtDLEVBQUUsR0FBRyxDQUFUOztVQUNBLEtBQUssSUFBSUMsR0FBRyxHQUFHLENBQWYsRUFBa0JBLEdBQUcsR0FBR0osV0FBeEIsRUFBcUNJLEdBQUcsRUFBeEMsRUFBNEM7WUFDeENqRSxDQUFDLENBQUMsTUFBTWtDLE9BQU4sR0FBZ0IsY0FBakIsQ0FBRCxDQUFrQ2dDLE1BQWxDLENBQXlDLFdBQXpDO1lBQ0EsSUFBSUMsUUFBUSxHQUFHbkUsQ0FBQyxDQUFDLE1BQU1rQyxPQUFOLEdBQWdCLGlCQUFqQixDQUFoQjtZQUNBaUMsUUFBUSxDQUFDQyxRQUFULENBQWtCakQsVUFBVSxHQUFHLE9BQS9CO1lBQ0EsSUFBSWtELFVBQVUsR0FBR0YsUUFBUSxDQUFDQyxRQUFULENBQWtCLFdBQWxCLENBQWpCOztZQUNBLEtBQUssSUFBSUUsR0FBRyxHQUFHLENBQWYsRUFBa0JBLEdBQUcsR0FBR3hDLFdBQXhCLEVBQXFDd0MsR0FBRyxFQUF4QyxFQUE0QztjQUN4QyxJQUFJMUIsWUFBWSxDQUFDb0IsRUFBRCxDQUFaLEtBQXFCTyxTQUF6QixFQUFvQztnQkFDaEMsSUFBSUMsVUFBVSxHQUFHSCxVQUFVLENBQUNKLEdBQUQsQ0FBVixDQUFnQlEsVUFBaEIsRUFBakI7Z0JBQ0FELFVBQVUsQ0FBQ2xFLFNBQVgsR0FBdUJzQyxZQUFZLENBQUNvQixFQUFELENBQW5DO2dCQUNBaEUsQ0FBQyxDQUFDd0UsVUFBRCxDQUFELENBQWNFLElBQWQsQ0FBbUIsSUFBbkIsRUFBeUIzQixlQUFlLENBQUNpQixFQUFELENBQXhDO2dCQUNBaEUsQ0FBQyxDQUFDd0UsVUFBRCxDQUFELENBQWNKLFFBQWQsQ0FBdUJwQixtQkFBbUIsQ0FBQ2dCLEVBQUQsQ0FBMUM7Z0JBQ0FoRSxDQUFDLENBQUN3RSxVQUFELENBQUQsQ0FBY0csSUFBZCxDQUFtQixPQUFuQixFQUE0QjlCLGtCQUFrQixDQUFDbUIsRUFBRCxDQUFsQixHQUF5QixHQUF6QixHQUErQmxCLGtCQUFrQixDQUFDa0IsRUFBRCxDQUE3RTtnQkFDQWhFLENBQUMsQ0FBQ3dFLFVBQUQsQ0FBRCxDQUFjSSxHQUFkLENBQWtCO2tCQUNkLFNBQVNDLE1BQU0sQ0FBQzNELEtBQUssR0FBR1ksV0FBVCxDQUFOLEdBQThCLElBRHpCO2tCQUVkLGFBQWErQyxNQUFNLENBQUMzRCxLQUFLLEdBQUdZLFdBQVQsQ0FBTixHQUE4QjtnQkFGN0IsQ0FBbEI7Y0FJSDs7Y0FDRGtDLEVBQUU7WUFDTDtVQUNKO1FBQ0osQ0F6S2lEOztRQUFBLElBMkt6QzVCLFlBM0t5QyxHQTJLbEQsU0FBU0EsWUFBVCxDQUFzQk4sV0FBdEIsRUFBbUNaLEtBQW5DLEVBQTBDQyxVQUExQyxFQUFzRGEsVUFBdEQsRUFBa0U7VUFDOUQ7VUFDQSxJQUFNOEMsVUFBVSxHQUFHaEIsSUFBSSxDQUFDQyxJQUFMLENBQVVnQixPQUFPLElBQUlqRCxXQUFXLEdBQUdrRCxTQUFsQixDQUFqQixDQUFuQjtVQUNBLElBQUk5QixDQUFDLEdBQUcsQ0FBUjtVQUNBLElBQUkrQixnQkFBZ0IsR0FBRyxFQUF2QjtVQUNBLElBQUlDLGlCQUFpQixHQUFHLEVBQXhCO1VBQ0EsSUFBSUMscUJBQXFCLEdBQUcsRUFBNUI7VUFDQSxJQUFJQyxvQkFBb0IsR0FBRyxFQUEzQjtVQUNBLElBQUlDLGtCQUFrQixHQUFHLEVBQXpCO1VBQ0EsSUFBSUMsa0JBQWtCLEdBQUcsRUFBekI7O1VBQ0EsS0FBSyxJQUFJQyxLQUFLLEdBQUcsQ0FBakIsRUFBb0JBLEtBQUssR0FBR1QsVUFBNUIsRUFBd0NTLEtBQUssRUFBN0MsRUFBaUQ7WUFDN0MsS0FBSyxJQUFJQyxNQUFNLEdBQUcsQ0FBbEIsRUFBcUJBLE1BQU0sR0FBR1IsU0FBOUIsRUFBeUNRLE1BQU0sRUFBL0MsRUFBbUQ7Y0FDL0MsSUFBSUMsbUJBQW1CLEdBQUcsRUFBMUI7Y0FDQSxJQUFJQyxxQkFBcUIsR0FBRyxFQUE1QjtjQUNBLElBQUlDLHlCQUF5QixHQUFHLEVBQWhDO2NBQ0EsSUFBSUMsd0JBQXdCLEdBQUcsRUFBL0I7Y0FDQSxJQUFJQyxzQkFBc0IsR0FBRyxFQUE3QjtjQUNBLElBQUlDLHNCQUFzQixHQUFHLEVBQTdCOztjQUNBLEtBQUssSUFBSXhCLEdBQUcsR0FBRyxDQUFmLEVBQWtCQSxHQUFHLElBQUl4QyxXQUF6QixFQUFzQ3dDLEdBQUcsRUFBekMsRUFBNkM7Z0JBQ3pDLElBQUl5QixNQUFLLEdBQUlSLEtBQUssR0FBR3pELFdBQVIsR0FBc0JrRCxTQUF2QixHQUFxQ1YsR0FBRyxHQUFHVSxTQUEzQyxHQUF3RFEsTUFBcEU7O2dCQUVBLElBQUlsQixHQUFHLEtBQUssQ0FBWixFQUFlO2tCQUNYbUIsbUJBQW1CLENBQUNuQixHQUFELENBQW5CLEdBQTJCakIsTUFBTSxDQUFDbUMsTUFBRCxDQUFqQztrQkFDQUksd0JBQXdCLENBQUN0QixHQUFELENBQXhCLEdBQWdDYixRQUFRLENBQUMrQixNQUFELENBQVIsR0FBbUIsR0FBbkIsR0FBeUI5QixRQUFRLENBQUM4QixNQUFELENBQWpFO2tCQUNBSyxzQkFBc0IsQ0FBQ3ZCLEdBQUQsQ0FBdEIsR0FBOEJkLE9BQU8sQ0FBQ2dDLE1BQUQsQ0FBckM7a0JBQ0FNLHNCQUFzQixDQUFDeEIsR0FBRCxDQUF0QixHQUE4QmYsT0FBTyxDQUFDaUMsTUFBRCxDQUFyQztrQkFDQUUscUJBQXFCLENBQUNwQixHQUFELENBQXJCLEdBQTZCWCxLQUFLLENBQUM2QixNQUFELENBQWxDO2tCQUNBRyx5QkFBeUIsQ0FBQ3JCLEdBQUQsQ0FBekIsR0FBaUNWLFNBQVMsQ0FBQzRCLE1BQUQsQ0FBMUM7Z0JBQ0gsQ0FQRCxNQU9PO2tCQUNIQyxtQkFBbUIsQ0FBQ25CLEdBQUQsQ0FBbkIsR0FBMkJqQixNQUFNLENBQUMwQyxNQUFELENBQWpDO2tCQUNBSCx3QkFBd0IsQ0FBQ3RCLEdBQUQsQ0FBeEIsR0FBZ0NiLFFBQVEsQ0FBQ3NDLE1BQUQsQ0FBUixHQUFrQixHQUFsQixHQUF3QnJDLFFBQVEsQ0FBQ3FDLE1BQUQsQ0FBaEU7a0JBQ0FGLHNCQUFzQixDQUFDdkIsR0FBRCxDQUF0QixHQUE4QmQsT0FBTyxDQUFDdUMsTUFBRCxDQUFyQztrQkFDQUQsc0JBQXNCLENBQUN4QixHQUFELENBQXRCLEdBQThCZixPQUFPLENBQUN3QyxNQUFELENBQXJDO2tCQUNBTCxxQkFBcUIsQ0FBQ3BCLEdBQUQsQ0FBckIsR0FBNkJYLEtBQUssQ0FBQ29DLE1BQUQsQ0FBbEM7a0JBQ0FKLHlCQUF5QixDQUFDckIsR0FBRCxDQUF6QixHQUFpQ1YsU0FBUyxDQUFDbUMsTUFBRCxDQUExQztnQkFDSDtjQUNKOztjQUNEZCxnQkFBZ0IsQ0FBQy9CLENBQUQsQ0FBaEIsR0FBc0JDLE1BQU0sQ0FBQzZDLE1BQVAsQ0FBY1AsbUJBQWQsQ0FBdEI7Y0FDQUwsb0JBQW9CLENBQUNsQyxDQUFELENBQXBCLEdBQTBCQyxNQUFNLENBQUM2QyxNQUFQLENBQWNKLHdCQUFkLENBQTFCO2NBQ0FQLGtCQUFrQixDQUFDbkMsQ0FBRCxDQUFsQixHQUF3QkMsTUFBTSxDQUFDNkMsTUFBUCxDQUFjSCxzQkFBZCxDQUF4QjtjQUNBUCxrQkFBa0IsQ0FBQ3BDLENBQUQsQ0FBbEIsR0FBd0JDLE1BQU0sQ0FBQzZDLE1BQVAsQ0FBY0Ysc0JBQWQsQ0FBeEI7Y0FDQVosaUJBQWlCLENBQUNoQyxDQUFELENBQWpCLEdBQXVCQyxNQUFNLENBQUM2QyxNQUFQLENBQWNOLHFCQUFkLENBQXZCO2NBQ0FQLHFCQUFxQixDQUFDakMsQ0FBRCxDQUFyQixHQUEyQkMsTUFBTSxDQUFDNkMsTUFBUCxDQUFjTCx5QkFBZCxDQUEzQjtjQUNBekMsQ0FBQztZQUNKO1VBQ0osQ0E3QzZELENBOEM5RDs7O1VBQ0EsbUNBQTJCQyxNQUFNLENBQUM4QyxPQUFQLENBQWVoQixnQkFBZixDQUEzQixxQ0FBNkQ7WUFBeEQ7WUFBQSxJQUFLaUIsS0FBTDtZQUFBLElBQVlDLEtBQVo7O1lBQ0RuRyxDQUFDLENBQUMsTUFBTWtDLE9BQU4sR0FBZ0IsY0FBakIsQ0FBRCxDQUFrQ2dDLE1BQWxDLENBQXlDLFdBQXpDO1lBQ0EsSUFBSUMsUUFBUSxHQUFHbkUsQ0FBQyxDQUFDLE1BQU1rQyxPQUFOLEdBQWdCLGlCQUFqQixDQUFoQjtZQUNBaUMsUUFBUSxDQUFDQyxRQUFULENBQWtCakQsVUFBVSxHQUFHLE9BQS9CO1lBQ0EsSUFBSWtELFVBQVUsR0FBR0YsUUFBUSxDQUFDQyxRQUFULENBQWtCLGdCQUFsQixDQUFqQjs7WUFFQSxLQUFLLElBQUlnQyxLQUFLLEdBQUcsQ0FBakIsRUFBb0JBLEtBQUssR0FBR2pELE1BQU0sQ0FBQ0MsSUFBUCxDQUFZK0MsS0FBWixFQUFtQjdDLE1BQS9DLEVBQXVEOEMsS0FBSyxFQUE1RCxFQUFnRTtjQUM1RCxJQUFJRCxLQUFLLENBQUNDLEtBQUQsQ0FBTCxLQUFpQjdCLFNBQXJCLEVBQWdDO2dCQUM1QixJQUFJQyxVQUFVLEdBQUdILFVBQVUsQ0FBQzZCLEtBQUQsQ0FBVixDQUFrQnpCLFVBQWxCLEVBQWpCO2dCQUNBRCxVQUFVLENBQUNsRSxTQUFYLEdBQXVCNkYsS0FBSyxDQUFDQyxLQUFELENBQUwsQ0FBYTlGLFNBQXBDO2dCQUNBTixDQUFDLENBQUN3RSxVQUFELENBQUQsQ0FBY0UsSUFBZCxDQUFtQixJQUFuQixFQUF5QlEsaUJBQWlCLENBQUNnQixLQUFELENBQWpCLENBQXlCRSxLQUF6QixDQUF6QjtnQkFDQXBHLENBQUMsQ0FBQ3dFLFVBQUQsQ0FBRCxDQUFjSixRQUFkLENBQXVCZSxxQkFBcUIsQ0FBQ2UsS0FBRCxDQUFyQixDQUE2QkUsS0FBN0IsQ0FBdkI7Z0JBQ0FwRyxDQUFDLENBQUN3RSxVQUFELENBQUQsQ0FBY0csSUFBZCxDQUFtQixPQUFuQixFQUE0QlMsb0JBQW9CLENBQUNjLEtBQUQsQ0FBcEIsQ0FBNEJFLEtBQTVCLENBQTVCO2dCQUNBcEcsQ0FBQyxDQUFDd0UsVUFBRCxDQUFELENBQWNFLElBQWQsQ0FBbUIsU0FBbkIsRUFBOEJXLGtCQUFrQixDQUFDYSxLQUFELENBQWxCLENBQTBCRSxLQUExQixDQUE5QjtnQkFDQXBHLENBQUMsQ0FBQ3dFLFVBQUQsQ0FBRCxDQUFjRSxJQUFkLENBQW1CLFNBQW5CLEVBQThCWSxrQkFBa0IsQ0FBQ1ksS0FBRCxDQUFsQixDQUEwQkUsS0FBMUIsQ0FBOUI7Z0JBQ0FwRyxDQUFDLENBQUN3RSxVQUFELENBQUQsQ0FBY0ksR0FBZCxDQUFrQjtrQkFDZCxTQUFTQyxNQUFNLENBQUMzRCxLQUFLLEdBQUdZLFdBQVQsQ0FBTixHQUE4QixJQUR6QjtrQkFFZCxhQUFhK0MsTUFBTSxDQUFDM0QsS0FBSyxHQUFHWSxXQUFULENBQU4sR0FBOEI7Z0JBRjdCLENBQWxCO2NBSUg7WUFDSixDQXBCd0QsQ0FzQnpEOzs7WUFDQSxJQUFNdUUsU0FBUyxHQUFHeEIsTUFBTSxDQUFDcUIsS0FBRCxDQUFOLEdBQWMsQ0FBaEM7WUFDQSxJQUFNSSxTQUFTLEdBQUduRCxNQUFNLENBQUM4QyxPQUFQLENBQWVoQixnQkFBZixFQUFpQzNCLE1BQW5EOztZQUNBLElBQUkrQyxTQUFTLEdBQUdyQixTQUFaLEtBQTBCLENBQTFCLElBQStCcUIsU0FBUyxLQUFLQyxTQUFqRCxFQUE0RDtjQUN4RCxJQUFJQyxXQUFXLEdBQUdsQyxVQUFVLENBQUM2QixLQUFELENBQTVCO2NBQ0FsRyxDQUFDLENBQUN1RyxXQUFELENBQUQsQ0FBZTNCLEdBQWYsQ0FBbUIsZUFBbkIsRUFBb0M1QyxVQUFVLEdBQUMsZ0JBQS9DO1lBQ0g7VUFDSjtRQUNKLENBeFBpRDs7UUFFbEQsSUFBTUUsT0FBTyxHQUFHOUIsU0FBUyxDQUFDb0csRUFBMUI7UUFDQSxJQUFNQyxJQUFJLEdBQUd6RyxDQUFDLENBQUMsTUFBTWtDLE9BQU4sR0FBZ0IsUUFBakIsQ0FBRCxDQUE0QixDQUE1QixFQUErQnVFLElBQTVDLENBSGtELENBS2xEOztRQUNBLElBQUlDLE1BQU0sR0FBRyxFQUFiO1FBQ0EsSUFBSWpELFFBQVEsR0FBRyxFQUFmO1FBQ0EsSUFBSUMsUUFBUSxHQUFHLEVBQWY7UUFDQSxJQUFJTCxNQUFNLEdBQUcsRUFBYjtRQUNBLElBQUlHLE9BQU8sR0FBRyxFQUFkO1FBQ0EsSUFBSUQsT0FBTyxHQUFHLEVBQWQ7UUFDQSxJQUFJSSxLQUFLLEdBQUcsRUFBWjtRQUNBLElBQUlDLFNBQVMsR0FBRyxFQUFoQjtRQUNBLElBQUltQyxLQUFLLEdBQUcsQ0FBWjtRQUVBL0YsQ0FBQyxDQUFDeUcsSUFBRCxDQUFELENBQVF0RyxJQUFSLENBQWEsVUFBVXdHLFFBQVYsRUFBb0JDLEVBQXBCLEVBQXdCO1VBQ2pDRixNQUFNLENBQUNDLFFBQUQsQ0FBTixHQUFtQnhELE1BQU0sQ0FBQzZDLE1BQVAsQ0FBY1ksRUFBZCxDQUFuQjtVQUNBNUcsQ0FBQyxDQUFDNEcsRUFBRCxDQUFELENBQU1DLElBQU4sQ0FBVyxJQUFYLEVBQWlCMUcsSUFBakIsQ0FBc0IsVUFBVTJHLFdBQVYsRUFBdUI5QyxFQUF2QixFQUEyQjtZQUM3Q1gsTUFBTSxDQUFDMEMsS0FBRCxDQUFOLEdBQWdCNUMsTUFBTSxDQUFDNkMsTUFBUCxDQUFjaEMsRUFBZCxDQUFoQjtZQUNBUCxRQUFRLENBQUNzQyxLQUFELENBQVIsR0FBa0IvRixDQUFDLENBQUMwRyxNQUFNLENBQUNDLFFBQUQsQ0FBUCxDQUFELENBQW9CaEMsSUFBcEIsQ0FBeUIsT0FBekIsQ0FBbEI7WUFDQWpCLFFBQVEsQ0FBQ3FDLEtBQUQsQ0FBUixHQUFrQi9GLENBQUMsQ0FBQ3FELE1BQU0sQ0FBQzBDLEtBQUQsQ0FBUCxDQUFELENBQWlCcEIsSUFBakIsQ0FBc0IsT0FBdEIsQ0FBbEI7WUFDQW5CLE9BQU8sQ0FBQ3VDLEtBQUQsQ0FBUCxHQUFpQi9GLENBQUMsQ0FBQ2dFLEVBQUQsQ0FBRCxDQUFNVyxJQUFOLENBQVcsU0FBWCxDQUFqQjtZQUNBcEIsT0FBTyxDQUFDd0MsS0FBRCxDQUFQLEdBQWlCL0YsQ0FBQyxDQUFDZ0UsRUFBRCxDQUFELENBQU1XLElBQU4sQ0FBVyxTQUFYLENBQWpCO1lBQ0FoQixLQUFLLENBQUNvQyxLQUFELENBQUwsR0FBZS9GLENBQUMsQ0FBQ2dFLEVBQUQsQ0FBRCxDQUFNVyxJQUFOLENBQVcsSUFBWCxDQUFmO1lBQ0FmLFNBQVMsQ0FBQ21DLEtBQUQsQ0FBVCxHQUFtQi9GLENBQUMsQ0FBQ2dFLEVBQUQsQ0FBRCxDQUFNVyxJQUFOLENBQVcsT0FBWCxDQUFuQjtZQUNBb0IsS0FBSztVQUNSLENBVEQ7UUFVSCxDQVpELEVBaEJrRCxDQThCbEQ7O1FBQ0EsSUFBTWdCLFlBQVksR0FBRy9HLENBQUMsQ0FBQyxNQUFNa0MsT0FBTixHQUFnQixRQUFqQixDQUFELENBQTRCMkUsSUFBNUIsQ0FBaUMsSUFBakMsRUFBdUN2RCxNQUE1RDtRQUNBLElBQU0wRCxTQUFTLEdBQUdoSCxDQUFDLENBQUMsTUFBTWtDLE9BQU4sR0FBZ0IsV0FBakIsQ0FBRCxDQUErQjJFLElBQS9CLENBQW9DLElBQXBDLEVBQTBDdkQsTUFBNUQ7UUFDQSxJQUFNMEIsU0FBUyxHQUFHbEIsSUFBSSxDQUFDQyxJQUFMLENBQVVpRCxTQUFTLEdBQUdELFlBQXRCLENBQWxCO1FBQ0EsSUFBTWhDLE9BQU8sR0FBR2lDLFNBQVMsR0FBR2hDLFNBQTVCLENBbENrRCxDQW9DbEQ7O1FBQ0EsSUFBSS9ELEdBQUcsR0FBRyxLQUFWO1FBQ0EsSUFBSUcsR0FBRyxHQUFHLEtBQVY7UUFDQSxJQUFJQyxJQUFJLEdBQUcsS0FBWDtRQUVBLElBQUk0RixVQUFVLEdBQUdqSCxDQUFDLENBQUNrSCxNQUFELENBQUQsQ0FBVWhHLEtBQVYsRUFBakI7UUFDQSxJQUFJQSxLQUFLLEdBQUcyRCxNQUFNLENBQUNvQyxVQUFVLEdBQUcsR0FBZCxDQUFsQixDQTFDa0QsQ0E0Q2xEOztRQUNBLElBQUlBLFVBQVUsSUFBSSxHQUFsQixFQUF1QjtVQUNuQmpHLFlBQVksQ0FBQ0MsR0FBRCxFQUFNQyxLQUFOLEVBQWEsUUFBYixDQUFaO1FBQ0gsQ0FGRCxNQUVPLElBQUkrRixVQUFVLEdBQUcsR0FBYixJQUFvQkEsVUFBVSxHQUFHLElBQXJDLEVBQTJDO1VBQzlDMUUsWUFBWSxDQUFDbkIsR0FBRCxFQUFNRixLQUFOLEVBQWEsUUFBYixDQUFaO1FBQ0gsQ0FGTSxNQUVBO1VBQ0hvQixhQUFhLENBQUNqQixJQUFELENBQWI7UUFDSCxDQW5EaUQsQ0FxRGxEOzs7UUFDQXJCLENBQUMsQ0FBQ2tILE1BQUQsQ0FBRCxDQUFVQyxNQUFWLENBQWlCLFlBQVk7VUFDekJGLFVBQVUsR0FBR2pILENBQUMsQ0FBQ2tILE1BQUQsQ0FBRCxDQUFVaEcsS0FBVixFQUFiOztVQUNBLElBQUkrRixVQUFVLElBQUksR0FBbEIsRUFBdUI7WUFDbkJqRyxZQUFZLENBQUNDLEdBQUQsRUFBTUMsS0FBTixFQUFhLFFBQWIsQ0FBWjtVQUNILENBRkQsTUFFTyxJQUFJK0YsVUFBVSxHQUFHLEdBQWIsSUFBb0JBLFVBQVUsR0FBRyxJQUFyQyxFQUEyQztZQUM5QzFFLFlBQVksQ0FBQ25CLEdBQUQsRUFBTUYsS0FBTixFQUFhLFFBQWIsQ0FBWjtVQUNILENBRk0sTUFFQTtZQUNIb0IsYUFBYSxDQUFDakIsSUFBRCxDQUFiO1VBQ0g7UUFDSixDQVREO01BbU1IO0lBQ0osQ0FuUUQ7RUFvUUgsQ0F0UUQ7QUF1UUgsQ0F4UUQsRUF3UUcrRixNQXhRSCIsImZpbGUiOiIuL3NyYy9wdWJsaWMvanMvbmluamEtdGFibGVzLWJ1aWxkZXIuanMuanMiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/public/js/ninja-tables-builder.js\n");
19
 
20
  /***/ })
21
 
15
  \***********************************************/
16
  /***/ (() => {
17
 
18
+ eval("function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n(function ($) {\n $(document).ready(function ($) {\n $('.ntb_table_wrapper').each(function () {\n var mainTable = $(this)[0];\n var desktopFormat = mainTable.innerHTML; // Get responsive information from data-responsive attr,\n\n var responsive = JSON.parse(mainTable.dataset.responsive);\n var isResponsive = responsive.general.options.enable_responsive_table.value;\n\n if (isResponsive === true || isResponsive === 'true') {\n var mobileDevice = function mobileDevice(mob, width, deviceName) {\n if (mob === 'false' || mob === false) {\n mob = true;\n tab = false;\n desk = false; // Getting data to check responsive options for mobile\n\n var mobileData = responsive.mode_options.options.devices.mobile;\n var breakpoint = mobileData.disable_breakpoint.value;\n var topRowAsHeader = mobileData.top_row_as_header.value;\n var itemsPerRow = mobileData.items_per_row.value;\n var cellBorder = responsive.mode_options.options.devices.mobile.cell_border.value;\n\n if (breakpoint === 'false' || breakpoint === false) {\n $('#' + tableId + ' table tbody').empty();\n\n if (topRowAsHeader === 'true' || topRowAsHeader === true) {\n topRowHeader(itemsPerRow, width, deviceName, cellBorder);\n } else {\n staticRowDesign(itemsPerRow, width, deviceName);\n }\n }\n } else {\n desktopDevice(desk);\n }\n };\n\n var tabletDevice = function tabletDevice(tab, width, deviceName) {\n if (tab === 'false' || tab === false) {\n mob = false;\n tab = true;\n desk = false; // getting data to check responsive options for tab\n\n var tabData = responsive.mode_options.options.devices.tablet;\n var breakpoint = tabData.disable_breakpoint.value;\n var topRowAsHeader = tabData.top_row_as_header.value;\n var itemsPerRow = tabData.items_per_row.value;\n var cellBorder = responsive.mode_options.options.devices.tablet.cell_border.value;\n\n if (breakpoint === 'false' || breakpoint === false) {\n $('#' + tableId + ' table tbody').empty();\n\n if (topRowAsHeader === 'true' || topRowAsHeader === true) {\n topRowHeader(itemsPerRow, width, deviceName, cellBorder);\n } else {\n staticRowDesign(itemsPerRow, width, deviceName);\n }\n } else {\n desktopDevice(desk);\n }\n }\n };\n\n var desktopDevice = function desktopDevice(desktopView) {\n if (desktopView === 'false' || desktopView === false) {\n mob = false;\n tab = false;\n desk = true;\n $('#' + tableId)[0].innerHTML = desktopFormat;\n }\n }; // Functions for reconstructing the tables.\n\n\n var staticRowDesign = function staticRowDesign(itemsPerRow, width, deviceName) {\n // data restructured as user requirement\n var tdWidth = width / itemsPerRow + 'px';\n var structuredTd = {};\n var structuredTrStyles = {};\n var structuredTdStyles = {};\n var structuredTdIds = {};\n var structuredTdClasses = {};\n var tdCounter = 0;\n\n for (var i = 0; i < Object.keys(rowsTd).length; i++) {\n if (colSpan[i] !== 0 && rowSpan[i] !== 0) {\n structuredTd[tdCounter] = rowsTd[i].innerHTML;\n structuredTrStyles[tdCounter] = trStyles[i];\n structuredTdStyles[tdCounter] = tdStyles[i];\n structuredTdIds[tdCounter] = tdIds[i];\n structuredTdClasses[tdCounter] = tdClasses[i];\n tdCounter++;\n }\n } // Reconstruct the table with restructured data\n\n\n var numberOfRow = Math.ceil(tdCounter / itemsPerRow);\n var td = 0;\n\n for (var row = 0; row < numberOfRow; row++) {\n $('#' + tableId + ' table tbody').append('<tr></tr>');\n var tableRow = $('#' + tableId + ' table tbody tr');\n tableRow.addClass(deviceName + \"_view\");\n var addedClass = tableRow.addClass('staticRow');\n\n for (var col = 0; col < itemsPerRow; col++) {\n if (structuredTd[td] !== undefined) {\n var insertedTd = addedClass[row].insertCell();\n insertedTd.innerHTML = structuredTd[td];\n $(insertedTd).prop('id', structuredTdIds[td]);\n $(insertedTd).addClass(structuredTdClasses[td]);\n $(insertedTd).attr(\"style\", structuredTrStyles[td] + \" \" + structuredTdStyles[td]);\n $(insertedTd).css({\n \"width\": tdWidth,\n \"min-width\": tdWidth,\n \"max-width\": tdWidth,\n \"box-sizing\": 'border-box'\n });\n }\n\n td++;\n }\n }\n };\n\n var topRowHeader = function topRowHeader(itemsPerRow, width, deviceName, cellBorder) {\n // Data restructured as user requirement\n var tdWidth = width / (itemsPerRow + 1) + 'px';\n var totalGroup = Math.ceil(dataLen / (itemsPerRow * headerLen));\n var i = 0;\n var reStructuredData = {};\n var reStructuredTdIds = {};\n var reStructuredTdClasses = {};\n var reStructureDataStyle = {};\n var reStructureRowSpan = {};\n var reStructureColSpan = {};\n\n for (var group = 0; group < totalGroup; group++) {\n for (var header = 0; header < headerLen; header++) {\n var tempReStructureData = {};\n var tempReStructuredTdIds = {};\n var tempReStructuredTdClasses = {};\n var tempReStructureDataStyle = {};\n var tempReStructureRowSpan = {};\n var tempReStructureColSpan = {};\n\n for (var col = 0; col <= itemsPerRow; col++) {\n var _index = group * itemsPerRow * headerLen + col * headerLen + header;\n\n if (col === 0) {\n tempReStructureData[col] = rowsTd[header];\n tempReStructureDataStyle[col] = trStyles[header] + \" \" + tdStyles[header];\n tempReStructureRowSpan[col] = rowSpan[header];\n tempReStructureColSpan[col] = colSpan[header];\n tempReStructuredTdIds[col] = tdIds[header];\n tempReStructuredTdClasses[col] = tdClasses[header];\n } else {\n tempReStructureData[col] = rowsTd[_index];\n tempReStructureDataStyle[col] = trStyles[_index] + \" \" + tdStyles[_index];\n tempReStructureRowSpan[col] = rowSpan[_index];\n tempReStructureColSpan[col] = colSpan[_index];\n tempReStructuredTdIds[col] = tdIds[_index];\n tempReStructuredTdClasses[col] = tdClasses[_index];\n }\n }\n\n reStructuredData[i] = Object.assign(tempReStructureData);\n reStructureDataStyle[i] = Object.assign(tempReStructureDataStyle);\n reStructureRowSpan[i] = Object.assign(tempReStructureRowSpan);\n reStructureColSpan[i] = Object.assign(tempReStructureColSpan);\n reStructuredTdIds[i] = Object.assign(tempReStructuredTdIds);\n reStructuredTdClasses[i] = Object.assign(tempReStructuredTdClasses);\n i++;\n }\n } // reconstruct table with respect to restructured data\n\n\n for (var _i = 0, _Object$entries = Object.entries(reStructuredData); _i < _Object$entries.length; _i++) {\n var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),\n indTr = _Object$entries$_i[0],\n tRows = _Object$entries$_i[1];\n\n $('#' + tableId + ' table tbody').append('<tr></tr>');\n var tableRow = $('#' + tableId + ' table tbody tr');\n tableRow.addClass(deviceName + \"_view\");\n var addedClass = tableRow.addClass('topRowAsHeader');\n\n for (var indTd = 0; indTd < Object.keys(tRows).length; indTd++) {\n if (tRows[indTd] !== undefined) {\n var insertedTd = addedClass[indTr].insertCell();\n insertedTd.innerHTML = tRows[indTd].innerHTML;\n $(insertedTd).prop('id', reStructuredTdIds[indTr][indTd]);\n $(insertedTd).addClass(reStructuredTdClasses[indTr][indTd]);\n $(insertedTd).attr(\"style\", reStructureDataStyle[indTr][indTd]);\n $(insertedTd).prop(\"colspan\", reStructureRowSpan[indTr][indTd]);\n $(insertedTd).prop(\"rowspan\", reStructureColSpan[indTr][indTd]);\n $(insertedTd).css({\n \"width\": tdWidth,\n \"min-width\": tdWidth,\n \"max-width\": tdWidth,\n \"box-sizing\": 'border-box'\n });\n }\n } // Add cell border bottom\n\n\n var rowNumber = Number(indTr) + 1;\n var rowLength = Object.entries(reStructuredData).length;\n\n if (rowNumber % headerLen === 0 && rowNumber !== rowLength) {\n var insertedRow = addedClass[indTr];\n $(insertedRow).css(\"border-bottom\", cellBorder + \"px solid black\");\n }\n }\n };\n\n var tableId = mainTable.id;\n var rows = $('#' + tableId + ' table')[0].rows; // Row wise serial data structured\n\n var allRow = {};\n var trStyles = {};\n var tdStyles = {};\n var rowsTd = {};\n var rowSpan = {};\n var colSpan = {};\n var tdIds = {};\n var tdClasses = {};\n var index = 0;\n $(rows).each(function (rowIndex, tr) {\n allRow[rowIndex] = Object.assign(tr);\n $(tr).find('td').each(function (columnIndex, td) {\n rowsTd[index] = Object.assign(td);\n trStyles[index] = $(allRow[rowIndex]).attr('style');\n tdStyles[index] = $(rowsTd[index]).attr('style');\n rowSpan[index] = $(td).attr('rowspan');\n colSpan[index] = $(td).attr('colspan');\n tdIds[index] = $(td).attr('id');\n tdClasses[index] = $(td).attr('class');\n index++;\n });\n }); // Get the length of th, td\n\n var columnLength = $('#' + tableId + ' table').find('tr').length;\n var totalData = $('#' + tableId + ' table tr').find('td').length;\n var headerLen = Math.ceil(totalData / columnLength);\n var dataLen = totalData - headerLen; //These variables are to handle unnecessary function calling\n\n var mob = false;\n var tab = false;\n var desk = false;\n var windowSize = $(window).width();\n var width = Number(windowSize * 0.8); // Call function if window reloaded\n\n if (windowSize <= 700) {\n mobileDevice(mob, width, \"mobile\");\n } else if (windowSize > 700 && windowSize < 1024) {\n tabletDevice(tab, width, \"tablet\");\n } else {\n desktopDevice(desk);\n } // call function if window resized\n\n\n $(window).resize(function () {\n var realTimeWidth = $(window).width() * 0.8;\n\n if (realTimeWidth <= 700) {\n mobileDevice(mob, realTimeWidth, \"mobile\");\n } else if (realTimeWidth > 700 && realTimeWidth < 1024) {\n tabletDevice(tab, realTimeWidth, \"tablet\");\n } else {\n desktopDevice(desk);\n }\n });\n }\n });\n });\n})(jQuery);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyIkIiwiZG9jdW1lbnQiLCJyZWFkeSIsImVhY2giLCJtYWluVGFibGUiLCJkZXNrdG9wRm9ybWF0IiwiaW5uZXJIVE1MIiwicmVzcG9uc2l2ZSIsIkpTT04iLCJwYXJzZSIsImRhdGFzZXQiLCJpc1Jlc3BvbnNpdmUiLCJnZW5lcmFsIiwib3B0aW9ucyIsImVuYWJsZV9yZXNwb25zaXZlX3RhYmxlIiwidmFsdWUiLCJtb2JpbGVEZXZpY2UiLCJtb2IiLCJ3aWR0aCIsImRldmljZU5hbWUiLCJ0YWIiLCJkZXNrIiwibW9iaWxlRGF0YSIsIm1vZGVfb3B0aW9ucyIsImRldmljZXMiLCJtb2JpbGUiLCJicmVha3BvaW50IiwiZGlzYWJsZV9icmVha3BvaW50IiwidG9wUm93QXNIZWFkZXIiLCJ0b3Bfcm93X2FzX2hlYWRlciIsIml0ZW1zUGVyUm93IiwiaXRlbXNfcGVyX3JvdyIsImNlbGxCb3JkZXIiLCJjZWxsX2JvcmRlciIsInRhYmxlSWQiLCJlbXB0eSIsInRvcFJvd0hlYWRlciIsInN0YXRpY1Jvd0Rlc2lnbiIsImRlc2t0b3BEZXZpY2UiLCJ0YWJsZXREZXZpY2UiLCJ0YWJEYXRhIiwidGFibGV0IiwiZGVza3RvcFZpZXciLCJ0ZFdpZHRoIiwic3RydWN0dXJlZFRkIiwic3RydWN0dXJlZFRyU3R5bGVzIiwic3RydWN0dXJlZFRkU3R5bGVzIiwic3RydWN0dXJlZFRkSWRzIiwic3RydWN0dXJlZFRkQ2xhc3NlcyIsInRkQ291bnRlciIsImkiLCJPYmplY3QiLCJrZXlzIiwicm93c1RkIiwibGVuZ3RoIiwiY29sU3BhbiIsInJvd1NwYW4iLCJ0clN0eWxlcyIsInRkU3R5bGVzIiwidGRJZHMiLCJ0ZENsYXNzZXMiLCJudW1iZXJPZlJvdyIsIk1hdGgiLCJjZWlsIiwidGQiLCJyb3ciLCJhcHBlbmQiLCJ0YWJsZVJvdyIsImFkZENsYXNzIiwiYWRkZWRDbGFzcyIsImNvbCIsInVuZGVmaW5lZCIsImluc2VydGVkVGQiLCJpbnNlcnRDZWxsIiwicHJvcCIsImF0dHIiLCJjc3MiLCJ0b3RhbEdyb3VwIiwiZGF0YUxlbiIsImhlYWRlckxlbiIsInJlU3RydWN0dXJlZERhdGEiLCJyZVN0cnVjdHVyZWRUZElkcyIsInJlU3RydWN0dXJlZFRkQ2xhc3NlcyIsInJlU3RydWN0dXJlRGF0YVN0eWxlIiwicmVTdHJ1Y3R1cmVSb3dTcGFuIiwicmVTdHJ1Y3R1cmVDb2xTcGFuIiwiZ3JvdXAiLCJoZWFkZXIiLCJ0ZW1wUmVTdHJ1Y3R1cmVEYXRhIiwidGVtcFJlU3RydWN0dXJlZFRkSWRzIiwidGVtcFJlU3RydWN0dXJlZFRkQ2xhc3NlcyIsInRlbXBSZVN0cnVjdHVyZURhdGFTdHlsZSIsInRlbXBSZVN0cnVjdHVyZVJvd1NwYW4iLCJ0ZW1wUmVTdHJ1Y3R1cmVDb2xTcGFuIiwiaW5kZXgiLCJhc3NpZ24iLCJlbnRyaWVzIiwiaW5kVHIiLCJ0Um93cyIsImluZFRkIiwicm93TnVtYmVyIiwiTnVtYmVyIiwicm93TGVuZ3RoIiwiaW5zZXJ0ZWRSb3ciLCJpZCIsInJvd3MiLCJhbGxSb3ciLCJyb3dJbmRleCIsInRyIiwiZmluZCIsImNvbHVtbkluZGV4IiwiY29sdW1uTGVuZ3RoIiwidG90YWxEYXRhIiwid2luZG93U2l6ZSIsIndpbmRvdyIsInJlc2l6ZSIsInJlYWxUaW1lV2lkdGgiLCJqUXVlcnkiXSwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLy4vc3JjL3B1YmxpYy9qcy9uaW5qYS10YWJsZXMtYnVpbGRlci5qcz83ZjRmIl0sInNvdXJjZXNDb250ZW50IjpbIihmdW5jdGlvbiAoJCkge1xuICAgICQoZG9jdW1lbnQpLnJlYWR5KGZ1bmN0aW9uICgkKSB7XG5cbiAgICAgICAgJCgnLm50Yl90YWJsZV93cmFwcGVyJykuZWFjaChmdW5jdGlvbiAoKSB7XG5cbiAgICAgICAgICAgIGxldCBtYWluVGFibGUgPSAkKHRoaXMpWzBdXG4gICAgICAgICAgICBsZXQgZGVza3RvcEZvcm1hdCA9IG1haW5UYWJsZS5pbm5lckhUTUxcblxuICAgICAgICAgICAgLy8gR2V0IHJlc3BvbnNpdmUgaW5mb3JtYXRpb24gZnJvbSBkYXRhLXJlc3BvbnNpdmUgYXR0cixcbiAgICAgICAgICAgIGxldCByZXNwb25zaXZlID0gSlNPTi5wYXJzZShtYWluVGFibGUuZGF0YXNldC5yZXNwb25zaXZlKVxuICAgICAgICAgICAgbGV0IGlzUmVzcG9uc2l2ZSA9IHJlc3BvbnNpdmUuZ2VuZXJhbC5vcHRpb25zLmVuYWJsZV9yZXNwb25zaXZlX3RhYmxlLnZhbHVlXG5cbiAgICAgICAgICAgIGlmIChpc1Jlc3BvbnNpdmUgPT09IHRydWUgfHwgaXNSZXNwb25zaXZlID09PSAndHJ1ZScpIHtcblxuICAgICAgICAgICAgICAgIGNvbnN0IHRhYmxlSWQgPSBtYWluVGFibGUuaWRcbiAgICAgICAgICAgICAgICBjb25zdCByb3dzID0gJCgnIycgKyB0YWJsZUlkICsgJyB0YWJsZScpWzBdLnJvd3NcblxuICAgICAgICAgICAgICAgIC8vIFJvdyB3aXNlIHNlcmlhbCBkYXRhIHN0cnVjdHVyZWRcbiAgICAgICAgICAgICAgICBsZXQgYWxsUm93ID0ge31cbiAgICAgICAgICAgICAgICBsZXQgdHJTdHlsZXMgPSB7fVxuICAgICAgICAgICAgICAgIGxldCB0ZFN0eWxlcyA9IHt9XG4gICAgICAgICAgICAgICAgbGV0IHJvd3NUZCA9IHt9XG4gICAgICAgICAgICAgICAgbGV0IHJvd1NwYW4gPSB7fVxuICAgICAgICAgICAgICAgIGxldCBjb2xTcGFuID0ge31cbiAgICAgICAgICAgICAgICBsZXQgdGRJZHMgPSB7fVxuICAgICAgICAgICAgICAgIGxldCB0ZENsYXNzZXMgPSB7fVxuICAgICAgICAgICAgICAgIGxldCBpbmRleCA9IDBcblxuICAgICAgICAgICAgICAgICQocm93cykuZWFjaChmdW5jdGlvbiAocm93SW5kZXgsIHRyKSB7XG4gICAgICAgICAgICAgICAgICAgIGFsbFJvd1tyb3dJbmRleF0gPSBPYmplY3QuYXNzaWduKHRyKTtcbiAgICAgICAgICAgICAgICAgICAgJCh0cikuZmluZCgndGQnKS5lYWNoKGZ1bmN0aW9uIChjb2x1bW5JbmRleCwgdGQpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHJvd3NUZFtpbmRleF0gPSBPYmplY3QuYXNzaWduKHRkKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIHRyU3R5bGVzW2luZGV4XSA9ICQoYWxsUm93W3Jvd0luZGV4XSkuYXR0cignc3R5bGUnKVxuICAgICAgICAgICAgICAgICAgICAgICAgdGRTdHlsZXNbaW5kZXhdID0gJChyb3dzVGRbaW5kZXhdKS5hdHRyKCdzdHlsZScpXG4gICAgICAgICAgICAgICAgICAgICAgICByb3dTcGFuW2luZGV4XSA9ICQodGQpLmF0dHIoJ3Jvd3NwYW4nKVxuICAgICAgICAgICAgICAgICAgICAgICAgY29sU3BhbltpbmRleF0gPSAkKHRkKS5hdHRyKCdjb2xzcGFuJylcbiAgICAgICAgICAgICAgICAgICAgICAgIHRkSWRzW2luZGV4XSA9ICQodGQpLmF0dHIoJ2lkJylcbiAgICAgICAgICAgICAgICAgICAgICAgIHRkQ2xhc3Nlc1tpbmRleF0gPSAkKHRkKS5hdHRyKCdjbGFzcycpXG4gICAgICAgICAgICAgICAgICAgICAgICBpbmRleCsrXG4gICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgIH0pO1xuXG4gICAgICAgICAgICAgICAgLy8gR2V0IHRoZSBsZW5ndGggb2YgdGgsIHRkXG4gICAgICAgICAgICAgICAgY29uc3QgY29sdW1uTGVuZ3RoID0gJCgnIycgKyB0YWJsZUlkICsgJyB0YWJsZScpLmZpbmQoJ3RyJykubGVuZ3RoXG4gICAgICAgICAgICAgICAgY29uc3QgdG90YWxEYXRhID0gJCgnIycgKyB0YWJsZUlkICsgJyB0YWJsZSB0cicpLmZpbmQoJ3RkJykubGVuZ3RoXG4gICAgICAgICAgICAgICAgY29uc3QgaGVhZGVyTGVuID0gTWF0aC5jZWlsKHRvdGFsRGF0YSAvIGNvbHVtbkxlbmd0aClcbiAgICAgICAgICAgICAgICBjb25zdCBkYXRhTGVuID0gdG90YWxEYXRhIC0gaGVhZGVyTGVuXG5cbiAgICAgICAgICAgICAgICAvL1RoZXNlIHZhcmlhYmxlcyBhcmUgdG8gaGFuZGxlIHVubmVjZXNzYXJ5IGZ1bmN0aW9uIGNhbGxpbmdcbiAgICAgICAgICAgICAgICBsZXQgbW9iID0gZmFsc2U7XG4gICAgICAgICAgICAgICAgbGV0IHRhYiA9IGZhbHNlO1xuICAgICAgICAgICAgICAgIGxldCBkZXNrID0gZmFsc2U7XG5cbiAgICAgICAgICAgICAgICBsZXQgd2luZG93U2l6ZSA9ICQod2luZG93KS53aWR0aCgpO1xuICAgICAgICAgICAgICAgIGxldCB3aWR0aCA9IE51bWJlcih3aW5kb3dTaXplICogMC44KVxuXG4gICAgICAgICAgICAgICAgLy8gQ2FsbCBmdW5jdGlvbiBpZiB3aW5kb3cgcmVsb2FkZWRcbiAgICAgICAgICAgICAgICBpZiAod2luZG93U2l6ZSA8PSA3MDApIHtcbiAgICAgICAgICAgICAgICAgICAgbW9iaWxlRGV2aWNlKG1vYiwgd2lkdGgsIFwibW9iaWxlXCIpXG4gICAgICAgICAgICAgICAgfSBlbHNlIGlmICh3aW5kb3dTaXplID4gNzAwICYmIHdpbmRvd1NpemUgPCAxMDI0KSB7XG4gICAgICAgICAgICAgICAgICAgIHRhYmxldERldmljZSh0YWIsIHdpZHRoLCBcInRhYmxldFwiKVxuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIGRlc2t0b3BEZXZpY2UoZGVzaylcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAvLyBjYWxsIGZ1bmN0aW9uIGlmIHdpbmRvdyByZXNpemVkXG4gICAgICAgICAgICAgICAgJCh3aW5kb3cpLnJlc2l6ZShmdW5jdGlvbiAoKSB7XG4gICAgICAgICAgICAgICAgICAgIGxldCByZWFsVGltZVdpZHRoID0gJCh3aW5kb3cpLndpZHRoKCkgKiAwLjg7XG4gICAgICAgICAgICAgICAgICAgIGlmIChyZWFsVGltZVdpZHRoIDw9IDcwMCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgbW9iaWxlRGV2aWNlKG1vYiwgcmVhbFRpbWVXaWR0aCwgXCJtb2JpbGVcIilcbiAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmIChyZWFsVGltZVdpZHRoID4gNzAwICYmIHJlYWxUaW1lV2lkdGggPCAxMDI0KSB7XG4gICAgICAgICAgICAgICAgICAgICAgICB0YWJsZXREZXZpY2UodGFiLCByZWFsVGltZVdpZHRoLCBcInRhYmxldFwiKVxuICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgZGVza3RvcERldmljZShkZXNrKVxuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfSk7XG5cbiAgICAgICAgICAgICAgICBmdW5jdGlvbiBtb2JpbGVEZXZpY2UobW9iLCB3aWR0aCwgZGV2aWNlTmFtZSkge1xuICAgICAgICAgICAgICAgICAgICBpZiAobW9iID09PSAnZmFsc2UnIHx8IG1vYiA9PT0gZmFsc2UpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIG1vYiA9IHRydWVcbiAgICAgICAgICAgICAgICAgICAgICAgIHRhYiA9IGZhbHNlXG4gICAgICAgICAgICAgICAgICAgICAgICBkZXNrID0gZmFsc2VcblxuICAgICAgICAgICAgICAgICAgICAgICAgLy8gR2V0dGluZyBkYXRhIHRvIGNoZWNrIHJlc3BvbnNpdmUgb3B0aW9ucyBmb3IgbW9iaWxlXG4gICAgICAgICAgICAgICAgICAgICAgICBjb25zdCBtb2JpbGVEYXRhID0gcmVzcG9uc2l2ZS5tb2RlX29wdGlvbnMub3B0aW9ucy5kZXZpY2VzLm1vYmlsZVxuICAgICAgICAgICAgICAgICAgICAgICAgY29uc3QgYnJlYWtwb2ludCA9IG1vYmlsZURhdGEuZGlzYWJsZV9icmVha3BvaW50LnZhbHVlXG4gICAgICAgICAgICAgICAgICAgICAgICBjb25zdCB0b3BSb3dBc0hlYWRlciA9IG1vYmlsZURhdGEudG9wX3Jvd19hc19oZWFkZXIudmFsdWVcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbnN0IGl0ZW1zUGVyUm93ID0gbW9iaWxlRGF0YS5pdGVtc19wZXJfcm93LnZhbHVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgY29uc3QgY2VsbEJvcmRlciA9IHJlc3BvbnNpdmUubW9kZV9vcHRpb25zLm9wdGlvbnMuZGV2aWNlcy5tb2JpbGUuY2VsbF9ib3JkZXIudmFsdWVcblxuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGJyZWFrcG9pbnQgPT09ICdmYWxzZScgfHwgYnJlYWtwb2ludCA9PT0gZmFsc2UpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAkKCcjJyArIHRhYmxlSWQgKyAnIHRhYmxlIHRib2R5JykuZW1wdHkoKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmICh0b3BSb3dBc0hlYWRlciA9PT0gJ3RydWUnIHx8IHRvcFJvd0FzSGVhZGVyID09PSB0cnVlKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRvcFJvd0hlYWRlcihpdGVtc1BlclJvdywgd2lkdGgsIGRldmljZU5hbWUsIGNlbGxCb3JkZXIpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc3RhdGljUm93RGVzaWduKGl0ZW1zUGVyUm93LCB3aWR0aCwgZGV2aWNlTmFtZSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBkZXNrdG9wRGV2aWNlKGRlc2spXG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICBmdW5jdGlvbiB0YWJsZXREZXZpY2UodGFiLCB3aWR0aCwgZGV2aWNlTmFtZSkge1xuICAgICAgICAgICAgICAgICAgICBpZiAodGFiID09PSAnZmFsc2UnIHx8IHRhYiA9PT0gZmFsc2UpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIG1vYiA9IGZhbHNlXG4gICAgICAgICAgICAgICAgICAgICAgICB0YWIgPSB0cnVlXG4gICAgICAgICAgICAgICAgICAgICAgICBkZXNrID0gZmFsc2VcbiAgICAgICAgICAgICAgICAgICAgICAgIC8vIGdldHRpbmcgZGF0YSB0byBjaGVjayByZXNwb25zaXZlIG9wdGlvbnMgZm9yIHRhYlxuICAgICAgICAgICAgICAgICAgICAgICAgY29uc3QgdGFiRGF0YSA9IHJlc3BvbnNpdmUubW9kZV9vcHRpb25zLm9wdGlvbnMuZGV2aWNlcy50YWJsZXRcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbnN0IGJyZWFrcG9pbnQgPSB0YWJEYXRhLmRpc2FibGVfYnJlYWtwb2ludC52YWx1ZVxuICAgICAgICAgICAgICAgICAgICAgICAgY29uc3QgdG9wUm93QXNIZWFkZXIgPSB0YWJEYXRhLnRvcF9yb3dfYXNfaGVhZGVyLnZhbHVlXG4gICAgICAgICAgICAgICAgICAgICAgICBjb25zdCBpdGVtc1BlclJvdyA9IHRhYkRhdGEuaXRlbXNfcGVyX3Jvdy52YWx1ZTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbnN0IGNlbGxCb3JkZXIgPSByZXNwb25zaXZlLm1vZGVfb3B0aW9ucy5vcHRpb25zLmRldmljZXMudGFibGV0LmNlbGxfYm9yZGVyLnZhbHVlXG5cblxuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGJyZWFrcG9pbnQgPT09ICdmYWxzZScgfHwgYnJlYWtwb2ludCA9PT0gZmFsc2UpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAkKCcjJyArIHRhYmxlSWQgKyAnIHRhYmxlIHRib2R5JykuZW1wdHkoKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmICh0b3BSb3dBc0hlYWRlciA9PT0gJ3RydWUnIHx8IHRvcFJvd0FzSGVhZGVyID09PSB0cnVlKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRvcFJvd0hlYWRlcihpdGVtc1BlclJvdywgd2lkdGgsIGRldmljZU5hbWUsIGNlbGxCb3JkZXIpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc3RhdGljUm93RGVzaWduKGl0ZW1zUGVyUm93LCB3aWR0aCwgZGV2aWNlTmFtZSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRlc2t0b3BEZXZpY2UoZGVzaylcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIGZ1bmN0aW9uIGRlc2t0b3BEZXZpY2UoZGVza3RvcFZpZXcpIHtcbiAgICAgICAgICAgICAgICAgICAgaWYgKGRlc2t0b3BWaWV3ID09PSAnZmFsc2UnIHx8IGRlc2t0b3BWaWV3ID09PSBmYWxzZSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgbW9iID0gZmFsc2VcbiAgICAgICAgICAgICAgICAgICAgICAgIHRhYiA9IGZhbHNlXG4gICAgICAgICAgICAgICAgICAgICAgICBkZXNrID0gdHJ1ZVxuICAgICAgICAgICAgICAgICAgICAgICAgJCgnIycgKyB0YWJsZUlkKVswXS5pbm5lckhUTUwgPSBkZXNrdG9wRm9ybWF0XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAvLyBGdW5jdGlvbnMgZm9yIHJlY29uc3RydWN0aW5nIHRoZSB0YWJsZXMuXG4gICAgICAgICAgICAgICAgZnVuY3Rpb24gc3RhdGljUm93RGVzaWduKGl0ZW1zUGVyUm93LCB3aWR0aCwgZGV2aWNlTmFtZSkge1xuICAgICAgICAgICAgICAgICAgICAvLyBkYXRhIHJlc3RydWN0dXJlZCBhcyB1c2VyIHJlcXVpcmVtZW50XG4gICAgICAgICAgICAgICAgICAgIGxldCB0ZFdpZHRoID0gKHdpZHRoIC8gaXRlbXNQZXJSb3cpICsgJ3B4JztcbiAgICAgICAgICAgICAgICAgICAgbGV0IHN0cnVjdHVyZWRUZCA9IHt9XG4gICAgICAgICAgICAgICAgICAgIGxldCBzdHJ1Y3R1cmVkVHJTdHlsZXMgPSB7fVxuICAgICAgICAgICAgICAgICAgICBsZXQgc3RydWN0dXJlZFRkU3R5bGVzID0ge31cbiAgICAgICAgICAgICAgICAgICAgbGV0IHN0cnVjdHVyZWRUZElkcyA9IHt9XG4gICAgICAgICAgICAgICAgICAgIGxldCBzdHJ1Y3R1cmVkVGRDbGFzc2VzID0ge31cbiAgICAgICAgICAgICAgICAgICAgbGV0IHRkQ291bnRlciA9IDBcbiAgICAgICAgICAgICAgICAgICAgZm9yIChsZXQgaSA9IDA7IGkgPCBPYmplY3Qua2V5cyhyb3dzVGQpLmxlbmd0aDsgaSsrKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoY29sU3BhbltpXSAhPT0gMCAmJiByb3dTcGFuW2ldICE9PSAwKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgc3RydWN0dXJlZFRkW3RkQ291bnRlcl0gPSByb3dzVGRbaV0uaW5uZXJIVE1MXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgc3RydWN0dXJlZFRyU3R5bGVzW3RkQ291bnRlcl0gPSB0clN0eWxlc1tpXVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHN0cnVjdHVyZWRUZFN0eWxlc1t0ZENvdW50ZXJdID0gdGRTdHlsZXNbaV1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBzdHJ1Y3R1cmVkVGRJZHNbdGRDb3VudGVyXSA9IHRkSWRzW2ldXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgc3RydWN0dXJlZFRkQ2xhc3Nlc1t0ZENvdW50ZXJdID0gdGRDbGFzc2VzW2ldXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdGRDb3VudGVyKytcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgICAgIC8vIFJlY29uc3RydWN0IHRoZSB0YWJsZSB3aXRoIHJlc3RydWN0dXJlZCBkYXRhXG4gICAgICAgICAgICAgICAgICAgIGxldCBudW1iZXJPZlJvdyA9IE1hdGguY2VpbCh0ZENvdW50ZXIgLyBpdGVtc1BlclJvdylcbiAgICAgICAgICAgICAgICAgICAgbGV0IHRkID0gMDtcbiAgICAgICAgICAgICAgICAgICAgZm9yIChsZXQgcm93ID0gMDsgcm93IDwgbnVtYmVyT2ZSb3c7IHJvdysrKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAkKCcjJyArIHRhYmxlSWQgKyAnIHRhYmxlIHRib2R5JykuYXBwZW5kKCc8dHI+PC90cj4nKVxuICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHRhYmxlUm93ID0gJCgnIycgKyB0YWJsZUlkICsgJyB0YWJsZSB0Ym9keSB0cicpXG4gICAgICAgICAgICAgICAgICAgICAgICB0YWJsZVJvdy5hZGRDbGFzcyhkZXZpY2VOYW1lICsgXCJfdmlld1wiKVxuICAgICAgICAgICAgICAgICAgICAgICAgbGV0IGFkZGVkQ2xhc3MgPSB0YWJsZVJvdy5hZGRDbGFzcygnc3RhdGljUm93JylcbiAgICAgICAgICAgICAgICAgICAgICAgIGZvciAobGV0IGNvbCA9IDA7IGNvbCA8IGl0ZW1zUGVyUm93OyBjb2wrKykge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChzdHJ1Y3R1cmVkVGRbdGRdICE9PSB1bmRlZmluZWQpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IGluc2VydGVkVGQgPSBhZGRlZENsYXNzW3Jvd10uaW5zZXJ0Q2VsbCgpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGluc2VydGVkVGQuaW5uZXJIVE1MID0gc3RydWN0dXJlZFRkW3RkXVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAkKGluc2VydGVkVGQpLnByb3AoJ2lkJywgc3RydWN0dXJlZFRkSWRzW3RkXSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJChpbnNlcnRlZFRkKS5hZGRDbGFzcyhzdHJ1Y3R1cmVkVGRDbGFzc2VzW3RkXSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJChpbnNlcnRlZFRkKS5hdHRyKFwic3R5bGVcIiwgc3RydWN0dXJlZFRyU3R5bGVzW3RkXSArIFwiIFwiICsgc3RydWN0dXJlZFRkU3R5bGVzW3RkXSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJChpbnNlcnRlZFRkKS5jc3Moe1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXCJ3aWR0aFwiOiB0ZFdpZHRoLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXCJtaW4td2lkdGhcIjogdGRXaWR0aCxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFwibWF4LXdpZHRoXCI6IHRkV2lkdGgsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcImJveC1zaXppbmdcIjogJ2JvcmRlci1ib3gnXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRkKytcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIGZ1bmN0aW9uIHRvcFJvd0hlYWRlcihpdGVtc1BlclJvdywgd2lkdGgsIGRldmljZU5hbWUsIGNlbGxCb3JkZXIpIHtcbiAgICAgICAgICAgICAgICAgICAgLy8gRGF0YSByZXN0cnVjdHVyZWQgYXMgdXNlciByZXF1aXJlbWVudFxuICAgICAgICAgICAgICAgICAgICBsZXQgdGRXaWR0aCA9ICh3aWR0aCAvIChpdGVtc1BlclJvdyArIDEpKSArICdweCc7XG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IHRvdGFsR3JvdXAgPSBNYXRoLmNlaWwoZGF0YUxlbiAvIChpdGVtc1BlclJvdyAqIGhlYWRlckxlbikpXG4gICAgICAgICAgICAgICAgICAgIGxldCBpID0gMDtcbiAgICAgICAgICAgICAgICAgICAgbGV0IHJlU3RydWN0dXJlZERhdGEgPSB7fVxuICAgICAgICAgICAgICAgICAgICBsZXQgcmVTdHJ1Y3R1cmVkVGRJZHMgPSB7fVxuICAgICAgICAgICAgICAgICAgICBsZXQgcmVTdHJ1Y3R1cmVkVGRDbGFzc2VzID0ge31cbiAgICAgICAgICAgICAgICAgICAgbGV0IHJlU3RydWN0dXJlRGF0YVN0eWxlID0ge31cbiAgICAgICAgICAgICAgICAgICAgbGV0IHJlU3RydWN0dXJlUm93U3BhbiA9IHt9XG4gICAgICAgICAgICAgICAgICAgIGxldCByZVN0cnVjdHVyZUNvbFNwYW4gPSB7fVxuICAgICAgICAgICAgICAgICAgICBmb3IgKGxldCBncm91cCA9IDA7IGdyb3VwIDwgdG90YWxHcm91cDsgZ3JvdXArKykge1xuICAgICAgICAgICAgICAgICAgICAgICAgZm9yIChsZXQgaGVhZGVyID0gMDsgaGVhZGVyIDwgaGVhZGVyTGVuOyBoZWFkZXIrKykge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCB0ZW1wUmVTdHJ1Y3R1cmVEYXRhID0ge31cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgdGVtcFJlU3RydWN0dXJlZFRkSWRzID0ge31cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgdGVtcFJlU3RydWN0dXJlZFRkQ2xhc3NlcyA9IHt9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHRlbXBSZVN0cnVjdHVyZURhdGFTdHlsZSA9IHt9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHRlbXBSZVN0cnVjdHVyZVJvd1NwYW4gPSB7fVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCB0ZW1wUmVTdHJ1Y3R1cmVDb2xTcGFuID0ge31cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBmb3IgKGxldCBjb2wgPSAwOyBjb2wgPD0gaXRlbXNQZXJSb3c7IGNvbCsrKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBpbmRleCA9IChncm91cCAqIGl0ZW1zUGVyUm93ICogaGVhZGVyTGVuKSArIChjb2wgKiBoZWFkZXJMZW4pICsgaGVhZGVyXG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGNvbCA9PT0gMCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdGVtcFJlU3RydWN0dXJlRGF0YVtjb2xdID0gcm93c1RkW2hlYWRlcl1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRlbXBSZVN0cnVjdHVyZURhdGFTdHlsZVtjb2xdID0gdHJTdHlsZXNbaGVhZGVyXSArIFwiIFwiICsgdGRTdHlsZXNbaGVhZGVyXVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdGVtcFJlU3RydWN0dXJlUm93U3Bhbltjb2xdID0gcm93U3BhbltoZWFkZXJdXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0ZW1wUmVTdHJ1Y3R1cmVDb2xTcGFuW2NvbF0gPSBjb2xTcGFuW2hlYWRlcl1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRlbXBSZVN0cnVjdHVyZWRUZElkc1tjb2xdID0gdGRJZHNbaGVhZGVyXVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdGVtcFJlU3RydWN0dXJlZFRkQ2xhc3Nlc1tjb2xdID0gdGRDbGFzc2VzW2hlYWRlcl1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRlbXBSZVN0cnVjdHVyZURhdGFbY29sXSA9IHJvd3NUZFtpbmRleF1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRlbXBSZVN0cnVjdHVyZURhdGFTdHlsZVtjb2xdID0gdHJTdHlsZXNbaW5kZXhdICsgXCIgXCIgKyB0ZFN0eWxlc1tpbmRleF1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRlbXBSZVN0cnVjdHVyZVJvd1NwYW5bY29sXSA9IHJvd1NwYW5baW5kZXhdXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0ZW1wUmVTdHJ1Y3R1cmVDb2xTcGFuW2NvbF0gPSBjb2xTcGFuW2luZGV4XVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdGVtcFJlU3RydWN0dXJlZFRkSWRzW2NvbF0gPSB0ZElkc1tpbmRleF1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRlbXBSZVN0cnVjdHVyZWRUZENsYXNzZXNbY29sXSA9IHRkQ2xhc3Nlc1tpbmRleF1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZVN0cnVjdHVyZWREYXRhW2ldID0gT2JqZWN0LmFzc2lnbih0ZW1wUmVTdHJ1Y3R1cmVEYXRhKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJlU3RydWN0dXJlRGF0YVN0eWxlW2ldID0gT2JqZWN0LmFzc2lnbih0ZW1wUmVTdHJ1Y3R1cmVEYXRhU3R5bGUpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmVTdHJ1Y3R1cmVSb3dTcGFuW2ldID0gT2JqZWN0LmFzc2lnbih0ZW1wUmVTdHJ1Y3R1cmVSb3dTcGFuKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJlU3RydWN0dXJlQ29sU3BhbltpXSA9IE9iamVjdC5hc3NpZ24odGVtcFJlU3RydWN0dXJlQ29sU3BhbilcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZVN0cnVjdHVyZWRUZElkc1tpXSA9IE9iamVjdC5hc3NpZ24odGVtcFJlU3RydWN0dXJlZFRkSWRzKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJlU3RydWN0dXJlZFRkQ2xhc3Nlc1tpXSA9IE9iamVjdC5hc3NpZ24odGVtcFJlU3RydWN0dXJlZFRkQ2xhc3NlcylcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpKytcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAvLyByZWNvbnN0cnVjdCB0YWJsZSB3aXRoIHJlc3BlY3QgdG8gcmVzdHJ1Y3R1cmVkIGRhdGFcbiAgICAgICAgICAgICAgICAgICAgZm9yIChsZXQgW2luZFRyLCB0Um93c10gb2YgT2JqZWN0LmVudHJpZXMocmVTdHJ1Y3R1cmVkRGF0YSkpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICQoJyMnICsgdGFibGVJZCArICcgdGFibGUgdGJvZHknKS5hcHBlbmQoJzx0cj48L3RyPicpXG4gICAgICAgICAgICAgICAgICAgICAgICBsZXQgdGFibGVSb3cgPSAkKCcjJyArIHRhYmxlSWQgKyAnIHRhYmxlIHRib2R5IHRyJylcbiAgICAgICAgICAgICAgICAgICAgICAgIHRhYmxlUm93LmFkZENsYXNzKGRldmljZU5hbWUgKyBcIl92aWV3XCIpXG4gICAgICAgICAgICAgICAgICAgICAgICBsZXQgYWRkZWRDbGFzcyA9IHRhYmxlUm93LmFkZENsYXNzKCd0b3BSb3dBc0hlYWRlcicpXG5cbiAgICAgICAgICAgICAgICAgICAgICAgIGZvciAobGV0IGluZFRkID0gMDsgaW5kVGQgPCBPYmplY3Qua2V5cyh0Um93cykubGVuZ3RoOyBpbmRUZCsrKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHRSb3dzW2luZFRkXSAhPT0gdW5kZWZpbmVkKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBpbnNlcnRlZFRkID0gYWRkZWRDbGFzc1tpbmRUcl0uaW5zZXJ0Q2VsbCgpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGluc2VydGVkVGQuaW5uZXJIVE1MID0gdFJvd3NbaW5kVGRdLmlubmVySFRNTFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAkKGluc2VydGVkVGQpLnByb3AoJ2lkJywgcmVTdHJ1Y3R1cmVkVGRJZHNbaW5kVHJdW2luZFRkXSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJChpbnNlcnRlZFRkKS5hZGRDbGFzcyhyZVN0cnVjdHVyZWRUZENsYXNzZXNbaW5kVHJdW2luZFRkXSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJChpbnNlcnRlZFRkKS5hdHRyKFwic3R5bGVcIiwgcmVTdHJ1Y3R1cmVEYXRhU3R5bGVbaW5kVHJdW2luZFRkXSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJChpbnNlcnRlZFRkKS5wcm9wKFwiY29sc3BhblwiLCByZVN0cnVjdHVyZVJvd1NwYW5baW5kVHJdW2luZFRkXSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJChpbnNlcnRlZFRkKS5wcm9wKFwicm93c3BhblwiLCByZVN0cnVjdHVyZUNvbFNwYW5baW5kVHJdW2luZFRkXSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJChpbnNlcnRlZFRkKS5jc3Moe1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXCJ3aWR0aFwiOiB0ZFdpZHRoLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXCJtaW4td2lkdGhcIjogdGRXaWR0aCxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFwibWF4LXdpZHRoXCI6IHRkV2lkdGgsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcImJveC1zaXppbmdcIjogJ2JvcmRlci1ib3gnXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgICAgICAgICAvLyBBZGQgY2VsbCBib3JkZXIgYm90dG9tXG4gICAgICAgICAgICAgICAgICAgICAgICBjb25zdCByb3dOdW1iZXIgPSBOdW1iZXIoaW5kVHIpICsgMVxuICAgICAgICAgICAgICAgICAgICAgICAgY29uc3Qgcm93TGVuZ3RoID0gT2JqZWN0LmVudHJpZXMocmVTdHJ1Y3R1cmVkRGF0YSkubGVuZ3RoXG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAocm93TnVtYmVyICUgaGVhZGVyTGVuID09PSAwICYmIHJvd051bWJlciAhPT0gcm93TGVuZ3RoKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IGluc2VydGVkUm93ID0gYWRkZWRDbGFzc1tpbmRUcl1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAkKGluc2VydGVkUm93KS5jc3MoXCJib3JkZXItYm90dG9tXCIsIGNlbGxCb3JkZXIgKyBcInB4IHNvbGlkIGJsYWNrXCIpXG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH0pXG4gICAgfSk7XG59KShqUXVlcnkpOyJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0FBQUEsQ0FBQyxVQUFVQSxDQUFWLEVBQWE7RUFDVkEsQ0FBQyxDQUFDQyxRQUFELENBQUQsQ0FBWUMsS0FBWixDQUFrQixVQUFVRixDQUFWLEVBQWE7SUFFM0JBLENBQUMsQ0FBQyxvQkFBRCxDQUFELENBQXdCRyxJQUF4QixDQUE2QixZQUFZO01BRXJDLElBQUlDLFNBQVMsR0FBR0osQ0FBQyxDQUFDLElBQUQsQ0FBRCxDQUFRLENBQVIsQ0FBaEI7TUFDQSxJQUFJSyxhQUFhLEdBQUdELFNBQVMsQ0FBQ0UsU0FBOUIsQ0FIcUMsQ0FLckM7O01BQ0EsSUFBSUMsVUFBVSxHQUFHQyxJQUFJLENBQUNDLEtBQUwsQ0FBV0wsU0FBUyxDQUFDTSxPQUFWLENBQWtCSCxVQUE3QixDQUFqQjtNQUNBLElBQUlJLFlBQVksR0FBR0osVUFBVSxDQUFDSyxPQUFYLENBQW1CQyxPQUFuQixDQUEyQkMsdUJBQTNCLENBQW1EQyxLQUF0RTs7TUFFQSxJQUFJSixZQUFZLEtBQUssSUFBakIsSUFBeUJBLFlBQVksS0FBSyxNQUE5QyxFQUFzRDtRQUFBLElBaUV6Q0ssWUFqRXlDLEdBaUVsRCxTQUFTQSxZQUFULENBQXNCQyxHQUF0QixFQUEyQkMsS0FBM0IsRUFBa0NDLFVBQWxDLEVBQThDO1VBQzFDLElBQUlGLEdBQUcsS0FBSyxPQUFSLElBQW1CQSxHQUFHLEtBQUssS0FBL0IsRUFBc0M7WUFDbENBLEdBQUcsR0FBRyxJQUFOO1lBQ0FHLEdBQUcsR0FBRyxLQUFOO1lBQ0FDLElBQUksR0FBRyxLQUFQLENBSGtDLENBS2xDOztZQUNBLElBQU1DLFVBQVUsR0FBR2YsVUFBVSxDQUFDZ0IsWUFBWCxDQUF3QlYsT0FBeEIsQ0FBZ0NXLE9BQWhDLENBQXdDQyxNQUEzRDtZQUNBLElBQU1DLFVBQVUsR0FBR0osVUFBVSxDQUFDSyxrQkFBWCxDQUE4QlosS0FBakQ7WUFDQSxJQUFNYSxjQUFjLEdBQUdOLFVBQVUsQ0FBQ08saUJBQVgsQ0FBNkJkLEtBQXBEO1lBQ0EsSUFBTWUsV0FBVyxHQUFHUixVQUFVLENBQUNTLGFBQVgsQ0FBeUJoQixLQUE3QztZQUNBLElBQU1pQixVQUFVLEdBQUd6QixVQUFVLENBQUNnQixZQUFYLENBQXdCVixPQUF4QixDQUFnQ1csT0FBaEMsQ0FBd0NDLE1BQXhDLENBQStDUSxXQUEvQyxDQUEyRGxCLEtBQTlFOztZQUVBLElBQUlXLFVBQVUsS0FBSyxPQUFmLElBQTBCQSxVQUFVLEtBQUssS0FBN0MsRUFBb0Q7Y0FDaEQxQixDQUFDLENBQUMsTUFBTWtDLE9BQU4sR0FBZ0IsY0FBakIsQ0FBRCxDQUFrQ0MsS0FBbEM7O2NBQ0EsSUFBSVAsY0FBYyxLQUFLLE1BQW5CLElBQTZCQSxjQUFjLEtBQUssSUFBcEQsRUFBMEQ7Z0JBQ3REUSxZQUFZLENBQUNOLFdBQUQsRUFBY1osS0FBZCxFQUFxQkMsVUFBckIsRUFBaUNhLFVBQWpDLENBQVo7Y0FDSCxDQUZELE1BRU87Z0JBQ0hLLGVBQWUsQ0FBQ1AsV0FBRCxFQUFjWixLQUFkLEVBQXFCQyxVQUFyQixDQUFmO2NBQ0g7WUFDSjtVQUNKLENBcEJELE1Bb0JPO1lBQ0htQixhQUFhLENBQUNqQixJQUFELENBQWI7VUFDSDtRQUNKLENBekZpRDs7UUFBQSxJQTJGekNrQixZQTNGeUMsR0EyRmxELFNBQVNBLFlBQVQsQ0FBc0JuQixHQUF0QixFQUEyQkYsS0FBM0IsRUFBa0NDLFVBQWxDLEVBQThDO1VBQzFDLElBQUlDLEdBQUcsS0FBSyxPQUFSLElBQW1CQSxHQUFHLEtBQUssS0FBL0IsRUFBc0M7WUFDbENILEdBQUcsR0FBRyxLQUFOO1lBQ0FHLEdBQUcsR0FBRyxJQUFOO1lBQ0FDLElBQUksR0FBRyxLQUFQLENBSGtDLENBSWxDOztZQUNBLElBQU1tQixPQUFPLEdBQUdqQyxVQUFVLENBQUNnQixZQUFYLENBQXdCVixPQUF4QixDQUFnQ1csT0FBaEMsQ0FBd0NpQixNQUF4RDtZQUNBLElBQU1mLFVBQVUsR0FBR2MsT0FBTyxDQUFDYixrQkFBUixDQUEyQlosS0FBOUM7WUFDQSxJQUFNYSxjQUFjLEdBQUdZLE9BQU8sQ0FBQ1gsaUJBQVIsQ0FBMEJkLEtBQWpEO1lBQ0EsSUFBTWUsV0FBVyxHQUFHVSxPQUFPLENBQUNULGFBQVIsQ0FBc0JoQixLQUExQztZQUNBLElBQU1pQixVQUFVLEdBQUd6QixVQUFVLENBQUNnQixZQUFYLENBQXdCVixPQUF4QixDQUFnQ1csT0FBaEMsQ0FBd0NpQixNQUF4QyxDQUErQ1IsV0FBL0MsQ0FBMkRsQixLQUE5RTs7WUFHQSxJQUFJVyxVQUFVLEtBQUssT0FBZixJQUEwQkEsVUFBVSxLQUFLLEtBQTdDLEVBQW9EO2NBQ2hEMUIsQ0FBQyxDQUFDLE1BQU1rQyxPQUFOLEdBQWdCLGNBQWpCLENBQUQsQ0FBa0NDLEtBQWxDOztjQUNBLElBQUlQLGNBQWMsS0FBSyxNQUFuQixJQUE2QkEsY0FBYyxLQUFLLElBQXBELEVBQTBEO2dCQUN0RFEsWUFBWSxDQUFDTixXQUFELEVBQWNaLEtBQWQsRUFBcUJDLFVBQXJCLEVBQWlDYSxVQUFqQyxDQUFaO2NBQ0gsQ0FGRCxNQUVPO2dCQUNISyxlQUFlLENBQUNQLFdBQUQsRUFBY1osS0FBZCxFQUFxQkMsVUFBckIsQ0FBZjtjQUNIO1lBQ0osQ0FQRCxNQU9PO2NBQ0htQixhQUFhLENBQUNqQixJQUFELENBQWI7WUFDSDtVQUNKO1FBQ0osQ0FuSGlEOztRQUFBLElBcUh6Q2lCLGFBckh5QyxHQXFIbEQsU0FBU0EsYUFBVCxDQUF1QkksV0FBdkIsRUFBb0M7VUFDaEMsSUFBSUEsV0FBVyxLQUFLLE9BQWhCLElBQTJCQSxXQUFXLEtBQUssS0FBL0MsRUFBc0Q7WUFDbER6QixHQUFHLEdBQUcsS0FBTjtZQUNBRyxHQUFHLEdBQUcsS0FBTjtZQUNBQyxJQUFJLEdBQUcsSUFBUDtZQUNBckIsQ0FBQyxDQUFDLE1BQU1rQyxPQUFQLENBQUQsQ0FBaUIsQ0FBakIsRUFBb0I1QixTQUFwQixHQUFnQ0QsYUFBaEM7VUFDSDtRQUNKLENBNUhpRCxFQThIbEQ7OztRQTlIa0QsSUErSHpDZ0MsZUEvSHlDLEdBK0hsRCxTQUFTQSxlQUFULENBQXlCUCxXQUF6QixFQUFzQ1osS0FBdEMsRUFBNkNDLFVBQTdDLEVBQXlEO1VBQ3JEO1VBQ0EsSUFBSXdCLE9BQU8sR0FBSXpCLEtBQUssR0FBR1ksV0FBVCxHQUF3QixJQUF0QztVQUNBLElBQUljLFlBQVksR0FBRyxFQUFuQjtVQUNBLElBQUlDLGtCQUFrQixHQUFHLEVBQXpCO1VBQ0EsSUFBSUMsa0JBQWtCLEdBQUcsRUFBekI7VUFDQSxJQUFJQyxlQUFlLEdBQUcsRUFBdEI7VUFDQSxJQUFJQyxtQkFBbUIsR0FBRyxFQUExQjtVQUNBLElBQUlDLFNBQVMsR0FBRyxDQUFoQjs7VUFDQSxLQUFLLElBQUlDLENBQUMsR0FBRyxDQUFiLEVBQWdCQSxDQUFDLEdBQUdDLE1BQU0sQ0FBQ0MsSUFBUCxDQUFZQyxNQUFaLEVBQW9CQyxNQUF4QyxFQUFnREosQ0FBQyxFQUFqRCxFQUFxRDtZQUNqRCxJQUFJSyxPQUFPLENBQUNMLENBQUQsQ0FBUCxLQUFlLENBQWYsSUFBb0JNLE9BQU8sQ0FBQ04sQ0FBRCxDQUFQLEtBQWUsQ0FBdkMsRUFBMEM7Y0FDdENOLFlBQVksQ0FBQ0ssU0FBRCxDQUFaLEdBQTBCSSxNQUFNLENBQUNILENBQUQsQ0FBTixDQUFVNUMsU0FBcEM7Y0FDQXVDLGtCQUFrQixDQUFDSSxTQUFELENBQWxCLEdBQWdDUSxRQUFRLENBQUNQLENBQUQsQ0FBeEM7Y0FDQUosa0JBQWtCLENBQUNHLFNBQUQsQ0FBbEIsR0FBZ0NTLFFBQVEsQ0FBQ1IsQ0FBRCxDQUF4QztjQUNBSCxlQUFlLENBQUNFLFNBQUQsQ0FBZixHQUE2QlUsS0FBSyxDQUFDVCxDQUFELENBQWxDO2NBQ0FGLG1CQUFtQixDQUFDQyxTQUFELENBQW5CLEdBQWlDVyxTQUFTLENBQUNWLENBQUQsQ0FBMUM7Y0FDQUQsU0FBUztZQUNaO1VBQ0osQ0FsQm9ELENBb0JyRDs7O1VBQ0EsSUFBSVksV0FBVyxHQUFHQyxJQUFJLENBQUNDLElBQUwsQ0FBVWQsU0FBUyxHQUFHbkIsV0FBdEIsQ0FBbEI7VUFDQSxJQUFJa0MsRUFBRSxHQUFHLENBQVQ7O1VBQ0EsS0FBSyxJQUFJQyxHQUFHLEdBQUcsQ0FBZixFQUFrQkEsR0FBRyxHQUFHSixXQUF4QixFQUFxQ0ksR0FBRyxFQUF4QyxFQUE0QztZQUN4Q2pFLENBQUMsQ0FBQyxNQUFNa0MsT0FBTixHQUFnQixjQUFqQixDQUFELENBQWtDZ0MsTUFBbEMsQ0FBeUMsV0FBekM7WUFDQSxJQUFJQyxRQUFRLEdBQUduRSxDQUFDLENBQUMsTUFBTWtDLE9BQU4sR0FBZ0IsaUJBQWpCLENBQWhCO1lBQ0FpQyxRQUFRLENBQUNDLFFBQVQsQ0FBa0JqRCxVQUFVLEdBQUcsT0FBL0I7WUFDQSxJQUFJa0QsVUFBVSxHQUFHRixRQUFRLENBQUNDLFFBQVQsQ0FBa0IsV0FBbEIsQ0FBakI7O1lBQ0EsS0FBSyxJQUFJRSxHQUFHLEdBQUcsQ0FBZixFQUFrQkEsR0FBRyxHQUFHeEMsV0FBeEIsRUFBcUN3QyxHQUFHLEVBQXhDLEVBQTRDO2NBQ3hDLElBQUkxQixZQUFZLENBQUNvQixFQUFELENBQVosS0FBcUJPLFNBQXpCLEVBQW9DO2dCQUNoQyxJQUFJQyxVQUFVLEdBQUdILFVBQVUsQ0FBQ0osR0FBRCxDQUFWLENBQWdCUSxVQUFoQixFQUFqQjtnQkFDQUQsVUFBVSxDQUFDbEUsU0FBWCxHQUF1QnNDLFlBQVksQ0FBQ29CLEVBQUQsQ0FBbkM7Z0JBQ0FoRSxDQUFDLENBQUN3RSxVQUFELENBQUQsQ0FBY0UsSUFBZCxDQUFtQixJQUFuQixFQUF5QjNCLGVBQWUsQ0FBQ2lCLEVBQUQsQ0FBeEM7Z0JBQ0FoRSxDQUFDLENBQUN3RSxVQUFELENBQUQsQ0FBY0osUUFBZCxDQUF1QnBCLG1CQUFtQixDQUFDZ0IsRUFBRCxDQUExQztnQkFDQWhFLENBQUMsQ0FBQ3dFLFVBQUQsQ0FBRCxDQUFjRyxJQUFkLENBQW1CLE9BQW5CLEVBQTRCOUIsa0JBQWtCLENBQUNtQixFQUFELENBQWxCLEdBQXlCLEdBQXpCLEdBQStCbEIsa0JBQWtCLENBQUNrQixFQUFELENBQTdFO2dCQUNBaEUsQ0FBQyxDQUFDd0UsVUFBRCxDQUFELENBQWNJLEdBQWQsQ0FBa0I7a0JBQ2QsU0FBU2pDLE9BREs7a0JBRWQsYUFBYUEsT0FGQztrQkFHZCxhQUFhQSxPQUhDO2tCQUlkLGNBQWM7Z0JBSkEsQ0FBbEI7Y0FNSDs7Y0FDRHFCLEVBQUU7WUFDTDtVQUNKO1FBQ0osQ0E1S2lEOztRQUFBLElBOEt6QzVCLFlBOUt5QyxHQThLbEQsU0FBU0EsWUFBVCxDQUFzQk4sV0FBdEIsRUFBbUNaLEtBQW5DLEVBQTBDQyxVQUExQyxFQUFzRGEsVUFBdEQsRUFBa0U7VUFDOUQ7VUFDQSxJQUFJVyxPQUFPLEdBQUl6QixLQUFLLElBQUlZLFdBQVcsR0FBRyxDQUFsQixDQUFOLEdBQThCLElBQTVDO1VBQ0EsSUFBTStDLFVBQVUsR0FBR2YsSUFBSSxDQUFDQyxJQUFMLENBQVVlLE9BQU8sSUFBSWhELFdBQVcsR0FBR2lELFNBQWxCLENBQWpCLENBQW5CO1VBQ0EsSUFBSTdCLENBQUMsR0FBRyxDQUFSO1VBQ0EsSUFBSThCLGdCQUFnQixHQUFHLEVBQXZCO1VBQ0EsSUFBSUMsaUJBQWlCLEdBQUcsRUFBeEI7VUFDQSxJQUFJQyxxQkFBcUIsR0FBRyxFQUE1QjtVQUNBLElBQUlDLG9CQUFvQixHQUFHLEVBQTNCO1VBQ0EsSUFBSUMsa0JBQWtCLEdBQUcsRUFBekI7VUFDQSxJQUFJQyxrQkFBa0IsR0FBRyxFQUF6Qjs7VUFDQSxLQUFLLElBQUlDLEtBQUssR0FBRyxDQUFqQixFQUFvQkEsS0FBSyxHQUFHVCxVQUE1QixFQUF3Q1MsS0FBSyxFQUE3QyxFQUFpRDtZQUM3QyxLQUFLLElBQUlDLE1BQU0sR0FBRyxDQUFsQixFQUFxQkEsTUFBTSxHQUFHUixTQUE5QixFQUF5Q1EsTUFBTSxFQUEvQyxFQUFtRDtjQUMvQyxJQUFJQyxtQkFBbUIsR0FBRyxFQUExQjtjQUNBLElBQUlDLHFCQUFxQixHQUFHLEVBQTVCO2NBQ0EsSUFBSUMseUJBQXlCLEdBQUcsRUFBaEM7Y0FDQSxJQUFJQyx3QkFBd0IsR0FBRyxFQUEvQjtjQUNBLElBQUlDLHNCQUFzQixHQUFHLEVBQTdCO2NBQ0EsSUFBSUMsc0JBQXNCLEdBQUcsRUFBN0I7O2NBQ0EsS0FBSyxJQUFJdkIsR0FBRyxHQUFHLENBQWYsRUFBa0JBLEdBQUcsSUFBSXhDLFdBQXpCLEVBQXNDd0MsR0FBRyxFQUF6QyxFQUE2QztnQkFDekMsSUFBSXdCLE1BQUssR0FBSVIsS0FBSyxHQUFHeEQsV0FBUixHQUFzQmlELFNBQXZCLEdBQXFDVCxHQUFHLEdBQUdTLFNBQTNDLEdBQXdEUSxNQUFwRTs7Z0JBRUEsSUFBSWpCLEdBQUcsS0FBSyxDQUFaLEVBQWU7a0JBQ1hrQixtQkFBbUIsQ0FBQ2xCLEdBQUQsQ0FBbkIsR0FBMkJqQixNQUFNLENBQUNrQyxNQUFELENBQWpDO2tCQUNBSSx3QkFBd0IsQ0FBQ3JCLEdBQUQsQ0FBeEIsR0FBZ0NiLFFBQVEsQ0FBQzhCLE1BQUQsQ0FBUixHQUFtQixHQUFuQixHQUF5QjdCLFFBQVEsQ0FBQzZCLE1BQUQsQ0FBakU7a0JBQ0FLLHNCQUFzQixDQUFDdEIsR0FBRCxDQUF0QixHQUE4QmQsT0FBTyxDQUFDK0IsTUFBRCxDQUFyQztrQkFDQU0sc0JBQXNCLENBQUN2QixHQUFELENBQXRCLEdBQThCZixPQUFPLENBQUNnQyxNQUFELENBQXJDO2tCQUNBRSxxQkFBcUIsQ0FBQ25CLEdBQUQsQ0FBckIsR0FBNkJYLEtBQUssQ0FBQzRCLE1BQUQsQ0FBbEM7a0JBQ0FHLHlCQUF5QixDQUFDcEIsR0FBRCxDQUF6QixHQUFpQ1YsU0FBUyxDQUFDMkIsTUFBRCxDQUExQztnQkFDSCxDQVBELE1BT087a0JBQ0hDLG1CQUFtQixDQUFDbEIsR0FBRCxDQUFuQixHQUEyQmpCLE1BQU0sQ0FBQ3lDLE1BQUQsQ0FBakM7a0JBQ0FILHdCQUF3QixDQUFDckIsR0FBRCxDQUF4QixHQUFnQ2IsUUFBUSxDQUFDcUMsTUFBRCxDQUFSLEdBQWtCLEdBQWxCLEdBQXdCcEMsUUFBUSxDQUFDb0MsTUFBRCxDQUFoRTtrQkFDQUYsc0JBQXNCLENBQUN0QixHQUFELENBQXRCLEdBQThCZCxPQUFPLENBQUNzQyxNQUFELENBQXJDO2tCQUNBRCxzQkFBc0IsQ0FBQ3ZCLEdBQUQsQ0FBdEIsR0FBOEJmLE9BQU8sQ0FBQ3VDLE1BQUQsQ0FBckM7a0JBQ0FMLHFCQUFxQixDQUFDbkIsR0FBRCxDQUFyQixHQUE2QlgsS0FBSyxDQUFDbUMsTUFBRCxDQUFsQztrQkFDQUoseUJBQXlCLENBQUNwQixHQUFELENBQXpCLEdBQWlDVixTQUFTLENBQUNrQyxNQUFELENBQTFDO2dCQUNIO2NBQ0o7O2NBQ0RkLGdCQUFnQixDQUFDOUIsQ0FBRCxDQUFoQixHQUFzQkMsTUFBTSxDQUFDNEMsTUFBUCxDQUFjUCxtQkFBZCxDQUF0QjtjQUNBTCxvQkFBb0IsQ0FBQ2pDLENBQUQsQ0FBcEIsR0FBMEJDLE1BQU0sQ0FBQzRDLE1BQVAsQ0FBY0osd0JBQWQsQ0FBMUI7Y0FDQVAsa0JBQWtCLENBQUNsQyxDQUFELENBQWxCLEdBQXdCQyxNQUFNLENBQUM0QyxNQUFQLENBQWNILHNCQUFkLENBQXhCO2NBQ0FQLGtCQUFrQixDQUFDbkMsQ0FBRCxDQUFsQixHQUF3QkMsTUFBTSxDQUFDNEMsTUFBUCxDQUFjRixzQkFBZCxDQUF4QjtjQUNBWixpQkFBaUIsQ0FBQy9CLENBQUQsQ0FBakIsR0FBdUJDLE1BQU0sQ0FBQzRDLE1BQVAsQ0FBY04scUJBQWQsQ0FBdkI7Y0FDQVAscUJBQXFCLENBQUNoQyxDQUFELENBQXJCLEdBQTJCQyxNQUFNLENBQUM0QyxNQUFQLENBQWNMLHlCQUFkLENBQTNCO2NBQ0F4QyxDQUFDO1lBQ0o7VUFDSixDQTlDNkQsQ0ErQzlEOzs7VUFDQSxtQ0FBMkJDLE1BQU0sQ0FBQzZDLE9BQVAsQ0FBZWhCLGdCQUFmLENBQTNCLHFDQUE2RDtZQUF4RDtZQUFBLElBQUtpQixLQUFMO1lBQUEsSUFBWUMsS0FBWjs7WUFDRGxHLENBQUMsQ0FBQyxNQUFNa0MsT0FBTixHQUFnQixjQUFqQixDQUFELENBQWtDZ0MsTUFBbEMsQ0FBeUMsV0FBekM7WUFDQSxJQUFJQyxRQUFRLEdBQUduRSxDQUFDLENBQUMsTUFBTWtDLE9BQU4sR0FBZ0IsaUJBQWpCLENBQWhCO1lBQ0FpQyxRQUFRLENBQUNDLFFBQVQsQ0FBa0JqRCxVQUFVLEdBQUcsT0FBL0I7WUFDQSxJQUFJa0QsVUFBVSxHQUFHRixRQUFRLENBQUNDLFFBQVQsQ0FBa0IsZ0JBQWxCLENBQWpCOztZQUVBLEtBQUssSUFBSStCLEtBQUssR0FBRyxDQUFqQixFQUFvQkEsS0FBSyxHQUFHaEQsTUFBTSxDQUFDQyxJQUFQLENBQVk4QyxLQUFaLEVBQW1CNUMsTUFBL0MsRUFBdUQ2QyxLQUFLLEVBQTVELEVBQWdFO2NBQzVELElBQUlELEtBQUssQ0FBQ0MsS0FBRCxDQUFMLEtBQWlCNUIsU0FBckIsRUFBZ0M7Z0JBQzVCLElBQUlDLFVBQVUsR0FBR0gsVUFBVSxDQUFDNEIsS0FBRCxDQUFWLENBQWtCeEIsVUFBbEIsRUFBakI7Z0JBQ0FELFVBQVUsQ0FBQ2xFLFNBQVgsR0FBdUI0RixLQUFLLENBQUNDLEtBQUQsQ0FBTCxDQUFhN0YsU0FBcEM7Z0JBQ0FOLENBQUMsQ0FBQ3dFLFVBQUQsQ0FBRCxDQUFjRSxJQUFkLENBQW1CLElBQW5CLEVBQXlCTyxpQkFBaUIsQ0FBQ2dCLEtBQUQsQ0FBakIsQ0FBeUJFLEtBQXpCLENBQXpCO2dCQUNBbkcsQ0FBQyxDQUFDd0UsVUFBRCxDQUFELENBQWNKLFFBQWQsQ0FBdUJjLHFCQUFxQixDQUFDZSxLQUFELENBQXJCLENBQTZCRSxLQUE3QixDQUF2QjtnQkFDQW5HLENBQUMsQ0FBQ3dFLFVBQUQsQ0FBRCxDQUFjRyxJQUFkLENBQW1CLE9BQW5CLEVBQTRCUSxvQkFBb0IsQ0FBQ2MsS0FBRCxDQUFwQixDQUE0QkUsS0FBNUIsQ0FBNUI7Z0JBQ0FuRyxDQUFDLENBQUN3RSxVQUFELENBQUQsQ0FBY0UsSUFBZCxDQUFtQixTQUFuQixFQUE4QlUsa0JBQWtCLENBQUNhLEtBQUQsQ0FBbEIsQ0FBMEJFLEtBQTFCLENBQTlCO2dCQUNBbkcsQ0FBQyxDQUFDd0UsVUFBRCxDQUFELENBQWNFLElBQWQsQ0FBbUIsU0FBbkIsRUFBOEJXLGtCQUFrQixDQUFDWSxLQUFELENBQWxCLENBQTBCRSxLQUExQixDQUE5QjtnQkFDQW5HLENBQUMsQ0FBQ3dFLFVBQUQsQ0FBRCxDQUFjSSxHQUFkLENBQWtCO2tCQUNkLFNBQVNqQyxPQURLO2tCQUVkLGFBQWFBLE9BRkM7a0JBR2QsYUFBYUEsT0FIQztrQkFJZCxjQUFjO2dCQUpBLENBQWxCO2NBTUg7WUFDSixDQXRCd0QsQ0F3QnpEOzs7WUFDQSxJQUFNeUQsU0FBUyxHQUFHQyxNQUFNLENBQUNKLEtBQUQsQ0FBTixHQUFnQixDQUFsQztZQUNBLElBQU1LLFNBQVMsR0FBR25ELE1BQU0sQ0FBQzZDLE9BQVAsQ0FBZWhCLGdCQUFmLEVBQWlDMUIsTUFBbkQ7O1lBQ0EsSUFBSThDLFNBQVMsR0FBR3JCLFNBQVosS0FBMEIsQ0FBMUIsSUFBK0JxQixTQUFTLEtBQUtFLFNBQWpELEVBQTREO2NBQ3hELElBQUlDLFdBQVcsR0FBR2xDLFVBQVUsQ0FBQzRCLEtBQUQsQ0FBNUI7Y0FDQWpHLENBQUMsQ0FBQ3VHLFdBQUQsQ0FBRCxDQUFlM0IsR0FBZixDQUFtQixlQUFuQixFQUFvQzVDLFVBQVUsR0FBRyxnQkFBakQ7WUFDSDtVQUNKO1FBQ0osQ0E5UGlEOztRQUVsRCxJQUFNRSxPQUFPLEdBQUc5QixTQUFTLENBQUNvRyxFQUExQjtRQUNBLElBQU1DLElBQUksR0FBR3pHLENBQUMsQ0FBQyxNQUFNa0MsT0FBTixHQUFnQixRQUFqQixDQUFELENBQTRCLENBQTVCLEVBQStCdUUsSUFBNUMsQ0FIa0QsQ0FLbEQ7O1FBQ0EsSUFBSUMsTUFBTSxHQUFHLEVBQWI7UUFDQSxJQUFJakQsUUFBUSxHQUFHLEVBQWY7UUFDQSxJQUFJQyxRQUFRLEdBQUcsRUFBZjtRQUNBLElBQUlMLE1BQU0sR0FBRyxFQUFiO1FBQ0EsSUFBSUcsT0FBTyxHQUFHLEVBQWQ7UUFDQSxJQUFJRCxPQUFPLEdBQUcsRUFBZDtRQUNBLElBQUlJLEtBQUssR0FBRyxFQUFaO1FBQ0EsSUFBSUMsU0FBUyxHQUFHLEVBQWhCO1FBQ0EsSUFBSWtDLEtBQUssR0FBRyxDQUFaO1FBRUE5RixDQUFDLENBQUN5RyxJQUFELENBQUQsQ0FBUXRHLElBQVIsQ0FBYSxVQUFVd0csUUFBVixFQUFvQkMsRUFBcEIsRUFBd0I7VUFDakNGLE1BQU0sQ0FBQ0MsUUFBRCxDQUFOLEdBQW1CeEQsTUFBTSxDQUFDNEMsTUFBUCxDQUFjYSxFQUFkLENBQW5CO1VBQ0E1RyxDQUFDLENBQUM0RyxFQUFELENBQUQsQ0FBTUMsSUFBTixDQUFXLElBQVgsRUFBaUIxRyxJQUFqQixDQUFzQixVQUFVMkcsV0FBVixFQUF1QjlDLEVBQXZCLEVBQTJCO1lBQzdDWCxNQUFNLENBQUN5QyxLQUFELENBQU4sR0FBZ0IzQyxNQUFNLENBQUM0QyxNQUFQLENBQWMvQixFQUFkLENBQWhCO1lBQ0FQLFFBQVEsQ0FBQ3FDLEtBQUQsQ0FBUixHQUFrQjlGLENBQUMsQ0FBQzBHLE1BQU0sQ0FBQ0MsUUFBRCxDQUFQLENBQUQsQ0FBb0JoQyxJQUFwQixDQUF5QixPQUF6QixDQUFsQjtZQUNBakIsUUFBUSxDQUFDb0MsS0FBRCxDQUFSLEdBQWtCOUYsQ0FBQyxDQUFDcUQsTUFBTSxDQUFDeUMsS0FBRCxDQUFQLENBQUQsQ0FBaUJuQixJQUFqQixDQUFzQixPQUF0QixDQUFsQjtZQUNBbkIsT0FBTyxDQUFDc0MsS0FBRCxDQUFQLEdBQWlCOUYsQ0FBQyxDQUFDZ0UsRUFBRCxDQUFELENBQU1XLElBQU4sQ0FBVyxTQUFYLENBQWpCO1lBQ0FwQixPQUFPLENBQUN1QyxLQUFELENBQVAsR0FBaUI5RixDQUFDLENBQUNnRSxFQUFELENBQUQsQ0FBTVcsSUFBTixDQUFXLFNBQVgsQ0FBakI7WUFDQWhCLEtBQUssQ0FBQ21DLEtBQUQsQ0FBTCxHQUFlOUYsQ0FBQyxDQUFDZ0UsRUFBRCxDQUFELENBQU1XLElBQU4sQ0FBVyxJQUFYLENBQWY7WUFDQWYsU0FBUyxDQUFDa0MsS0FBRCxDQUFULEdBQW1COUYsQ0FBQyxDQUFDZ0UsRUFBRCxDQUFELENBQU1XLElBQU4sQ0FBVyxPQUFYLENBQW5CO1lBQ0FtQixLQUFLO1VBQ1IsQ0FURDtRQVVILENBWkQsRUFoQmtELENBOEJsRDs7UUFDQSxJQUFNaUIsWUFBWSxHQUFHL0csQ0FBQyxDQUFDLE1BQU1rQyxPQUFOLEdBQWdCLFFBQWpCLENBQUQsQ0FBNEIyRSxJQUE1QixDQUFpQyxJQUFqQyxFQUF1Q3ZELE1BQTVEO1FBQ0EsSUFBTTBELFNBQVMsR0FBR2hILENBQUMsQ0FBQyxNQUFNa0MsT0FBTixHQUFnQixXQUFqQixDQUFELENBQStCMkUsSUFBL0IsQ0FBb0MsSUFBcEMsRUFBMEN2RCxNQUE1RDtRQUNBLElBQU15QixTQUFTLEdBQUdqQixJQUFJLENBQUNDLElBQUwsQ0FBVWlELFNBQVMsR0FBR0QsWUFBdEIsQ0FBbEI7UUFDQSxJQUFNakMsT0FBTyxHQUFHa0MsU0FBUyxHQUFHakMsU0FBNUIsQ0FsQ2tELENBb0NsRDs7UUFDQSxJQUFJOUQsR0FBRyxHQUFHLEtBQVY7UUFDQSxJQUFJRyxHQUFHLEdBQUcsS0FBVjtRQUNBLElBQUlDLElBQUksR0FBRyxLQUFYO1FBRUEsSUFBSTRGLFVBQVUsR0FBR2pILENBQUMsQ0FBQ2tILE1BQUQsQ0FBRCxDQUFVaEcsS0FBVixFQUFqQjtRQUNBLElBQUlBLEtBQUssR0FBR21GLE1BQU0sQ0FBQ1ksVUFBVSxHQUFHLEdBQWQsQ0FBbEIsQ0ExQ2tELENBNENsRDs7UUFDQSxJQUFJQSxVQUFVLElBQUksR0FBbEIsRUFBdUI7VUFDbkJqRyxZQUFZLENBQUNDLEdBQUQsRUFBTUMsS0FBTixFQUFhLFFBQWIsQ0FBWjtRQUNILENBRkQsTUFFTyxJQUFJK0YsVUFBVSxHQUFHLEdBQWIsSUFBb0JBLFVBQVUsR0FBRyxJQUFyQyxFQUEyQztVQUM5QzFFLFlBQVksQ0FBQ25CLEdBQUQsRUFBTUYsS0FBTixFQUFhLFFBQWIsQ0FBWjtRQUNILENBRk0sTUFFQTtVQUNIb0IsYUFBYSxDQUFDakIsSUFBRCxDQUFiO1FBQ0gsQ0FuRGlELENBcURsRDs7O1FBQ0FyQixDQUFDLENBQUNrSCxNQUFELENBQUQsQ0FBVUMsTUFBVixDQUFpQixZQUFZO1VBQ3pCLElBQUlDLGFBQWEsR0FBR3BILENBQUMsQ0FBQ2tILE1BQUQsQ0FBRCxDQUFVaEcsS0FBVixLQUFvQixHQUF4Qzs7VUFDQSxJQUFJa0csYUFBYSxJQUFJLEdBQXJCLEVBQTBCO1lBQ3RCcEcsWUFBWSxDQUFDQyxHQUFELEVBQU1tRyxhQUFOLEVBQXFCLFFBQXJCLENBQVo7VUFDSCxDQUZELE1BRU8sSUFBSUEsYUFBYSxHQUFHLEdBQWhCLElBQXVCQSxhQUFhLEdBQUcsSUFBM0MsRUFBaUQ7WUFDcEQ3RSxZQUFZLENBQUNuQixHQUFELEVBQU1nRyxhQUFOLEVBQXFCLFFBQXJCLENBQVo7VUFDSCxDQUZNLE1BRUE7WUFDSDlFLGFBQWEsQ0FBQ2pCLElBQUQsQ0FBYjtVQUNIO1FBQ0osQ0FURDtNQXlNSDtJQUNKLENBelFEO0VBMFFILENBNVFEO0FBNlFILENBOVFELEVBOFFHZ0csTUE5UUgiLCJmaWxlIjoiLi9zcmMvcHVibGljL2pzL25pbmphLXRhYmxlcy1idWlsZGVyLmpzLmpzIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/public/js/ninja-tables-builder.js\n");
19
 
20
  /***/ })
21
 
assets/js/ninja-tables-admin.3.1.0.js CHANGED
@@ -1,2 +1,2 @@
1
  /*! For license information please see ninja-tables-admin.3.1.0.js.LICENSE.txt */
2
- (()=>{var t={2152:function(t){var e;e=function(){return function(){var t={686:function(t,e,a){"use strict";a.d(e,{default:function(){return k}});var n=a(279),i=a.n(n),o=a(370),l=a.n(o),s=a(817),r=a.n(s);function c(t){try{return document.execCommand(t)}catch(t){return!1}}var u=function(t){var e=r()(t);return c("cut"),e},d=function(t,e){var a=function(t){var e="rtl"===document.documentElement.getAttribute("dir"),a=document.createElement("textarea");a.style.fontSize="12pt",a.style.border="0",a.style.padding="0",a.style.margin="0",a.style.position="absolute",a.style[e?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;return a.style.top="".concat(n,"px"),a.setAttribute("readonly",""),a.value=t,a}(t);e.container.appendChild(a);var n=r()(a);return c("copy"),a.remove(),n},p=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body},a="";return"string"==typeof t?a=d(t,e):t instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null==t?void 0:t.type)?a=d(t.value,e):(a=r()(t),c("copy")),a};function m(t){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},m(t)}var _=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.action,a=void 0===e?"copy":e,n=t.container,i=t.target,o=t.text;if("copy"!==a&&"cut"!==a)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==i){if(!i||"object"!==m(i)||1!==i.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===a&&i.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===a&&(i.hasAttribute("readonly")||i.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return o?p(o,{container:n}):i?"cut"===a?u(i):p(i,{container:n}):void 0};function h(t){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(t)}function f(t,e){for(var a=0;a<e.length;a++){var n=e[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function v(t,e){return v=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},v(t,e)}function b(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var a,n=y(t);if(e){var i=y(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return g(this,a)}}function g(t,e){return!e||"object"!==h(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function y(t){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},y(t)}function w(t,e){var a="data-clipboard-".concat(t);if(e.hasAttribute(a))return e.getAttribute(a)}var x=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&v(t,e)}(o,t);var e,a,n,i=b(o);function o(t,e){var a;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),(a=i.call(this)).resolveOptions(e),a.listenClick(t),a}return e=o,a=[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===h(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=l()(t,"click",(function(t){return e.onClick(t)}))}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget,a=this.action(e)||"copy",n=_({action:a,container:this.container,target:this.target(e),text:this.text(e)});this.emit(n?"success":"error",{action:a,text:n,trigger:e,clearSelection:function(){e&&e.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(t){return w("action",t)}},{key:"defaultTarget",value:function(t){var e=w("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return w("text",t)}},{key:"destroy",value:function(){this.listener.destroy()}}],n=[{key:"copy",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body};return p(t,e)}},{key:"cut",value:function(t){return u(t)}},{key:"isSupported",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"==typeof t?[t]:t,a=!!document.queryCommandSupported;return e.forEach((function(t){a=a&&!!document.queryCommandSupported(t)})),a}}],a&&f(e.prototype,a),n&&f(e,n),o}(i()),k=x},828:function(t){if("undefined"!=typeof Element&&!Element.prototype.matches){var e=Element.prototype;e.matches=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}t.exports=function(t,e){for(;t&&9!==t.nodeType;){if("function"==typeof t.matches&&t.matches(e))return t;t=t.parentNode}}},438:function(t,e,a){var n=a(828);function i(t,e,a,n,i){var l=o.apply(this,arguments);return t.addEventListener(a,l,i),{destroy:function(){t.removeEventListener(a,l,i)}}}function o(t,e,a,i){return function(a){a.delegateTarget=n(a.target,e),a.delegateTarget&&i.call(t,a)}}t.exports=function(t,e,a,n,o){return"function"==typeof t.addEventListener?i.apply(null,arguments):"function"==typeof a?i.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,(function(t){return i(t,e,a,n,o)})))}},879:function(t,e){e.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},e.nodeList=function(t){var a=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===a||"[object HTMLCollection]"===a)&&"length"in t&&(0===t.length||e.node(t[0]))},e.string=function(t){return"string"==typeof t||t instanceof String},e.fn=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},370:function(t,e,a){var n=a(879),i=a(438);t.exports=function(t,e,a){if(!t&&!e&&!a)throw new Error("Missing required arguments");if(!n.string(e))throw new TypeError("Second argument must be a String");if(!n.fn(a))throw new TypeError("Third argument must be a Function");if(n.node(t))return function(t,e,a){return t.addEventListener(e,a),{destroy:function(){t.removeEventListener(e,a)}}}(t,e,a);if(n.nodeList(t))return function(t,e,a){return Array.prototype.forEach.call(t,(function(t){t.addEventListener(e,a)})),{destroy:function(){Array.prototype.forEach.call(t,(function(t){t.removeEventListener(e,a)}))}}}(t,e,a);if(n.string(t))return function(t,e,a){return i(document.body,t,e,a)}(t,e,a);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},817:function(t){t.exports=function(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var a=t.hasAttribute("readonly");a||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),a||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var n=window.getSelection(),i=document.createRange();i.selectNodeContents(t),n.removeAllRanges(),n.addRange(i),e=n.toString()}return e}},279:function(t){function e(){}e.prototype={on:function(t,e,a){var n=this.e||(this.e={});return(n[t]||(n[t]=[])).push({fn:e,ctx:a}),this},once:function(t,e,a){var n=this;function i(){n.off(t,i),e.apply(a,arguments)}return i._=e,this.on(t,i,a)},emit:function(t){for(var e=[].slice.call(arguments,1),a=((this.e||(this.e={}))[t]||[]).slice(),n=0,i=a.length;n<i;n++)a[n].fn.apply(a[n].ctx,e);return this},off:function(t,e){var a=this.e||(this.e={}),n=a[t],i=[];if(n&&e)for(var o=0,l=n.length;o<l;o++)n[o].fn!==e&&n[o].fn._!==e&&i.push(n[o]);return i.length?a[t]=i:delete a[t],this}},t.exports=e,t.exports.TinyEmitter=e}},e={};function a(n){if(e[n])return e[n].exports;var i=e[n]={exports:{}};return t[n](i,i.exports,a),i.exports}return a.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(e,{a:e}),e},a.d=function(t,e){for(var n in e)a.o(e,n)&&!a.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a(686)}().default},t.exports=e()},8091:t=>{"use strict";function e(t,e){if(null==t)throw new TypeError("Cannot convert first argument to object");for(var a=Object(t),n=1;n<arguments.length;n++){var i=arguments[n];if(null!=i)for(var o=Object.keys(Object(i)),l=0,s=o.length;l<s;l++){var r=o[l],c=Object.getOwnPropertyDescriptor(i,r);void 0!==c&&c.enumerable&&(a[r]=i[r])}}return a}t.exports={assign:e,polyfill:function(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:e})}}},3975:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".el-menu.el-menu--horizontal{border-bottom:none}",""]);const o=i},5981:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".js_instruction{background:#fff;font-size:14px;line-height:22px;margin-bottom:20px;padding:10px 20px}",""]);const o=i},6944:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".form-item[data-v-0ccd418e]{margin:10px 0}.form-item label[data-v-0ccd418e]{width:100px}",""]);const o=i},3601:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".el-text-info{color:#58b7ff}.privacy label{margin-bottom:0}#capability{margin-left:75px}",""]);const o=i},6167:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".remove[data-v-590fa148]{display:inline-block}",""]);const o=i},420:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#3c763d}.alert-info{background-color:#d9edf7;border-color:#bce8f1;color:#31708f}.alert-warning{background-color:#fcf8e3;border-color:#faebcc;color:#8a6d3b}.alert-danger{background-color:#f2dede;border-color:#ebccd1;color:#a94442}.alert{border:1px solid transparent;border-radius:4px;margin-bottom:20px;padding:15px}",""]);const o=i},4007:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".ninja_custom_css_editor{height:auto;min-height:350px}.ninja_css_errors .ace_gutter-cell.ace_warning{display:none}",""]);const o=i},5875:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".ninja_custom_css_editor{height:auto;min-height:350px}.ninja_css_errors .ace_gutter-cell.ace_warning{display:none}",""]);const o=i},370:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".ninja_custom_css_editor[data-v-ad6aab96]{height:auto;min-height:180px}.ninja_css_errors .ace_gutter-cell.ace_warning[data-v-ad6aab96]{display:none}",""]);const o=i},4701:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".el-message{top:5px;z-index:999999!important}.pro_feature_dialog .el-dialog__wrapper{z-index:10000!important}",""]);const o=i},6702:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,"label.form_group.search_action{margin-bottom:0;padding-top:0}.create-table-modal{z-index:9999!important}.create-table-modal .el-dialog__body{padding:20px}",""]);const o=i},5783:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".ninja_intro_welcome[data-v-6779a907]{background:#fff;margin:45px auto 0;max-width:600px;padding:30px;text-align:center}.ninja_intro_welcome img[data-v-6779a907]{width:100%}.ninja_intro_welcome h2[data-v-6779a907]{font-size:30px}.ninja_intro_welcome .ninja_actions[data-v-6779a907]{margin-top:30px}",""]);const o=i},7571:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".fluent-form-promo p{font-size:medium}",""]);const o=i},464:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".fluent-form-promo p{font-size:medium}",""]);const o=i},2134:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".el-row{margin-bottom:20px}.el-row:last-child{margin-bottom:0}.wp-post-conditions-el-picker{z-index:9999!important}",""]);const o=i},476:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".el-row{margin-bottom:20px}.el-row:last-child{margin-bottom:0}.wp-post-conditions-el-picker{z-index:9999!important}.compact{margin-top:3px!important;padding:0!important}",""]);const o=i},8698:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".ninja_tables_wpposts .el-checkbox-group{overflow:scroll!important}.ninja_tables_wpposts .el-transfer-panel,.ninja_tables_wpposts .table-rows .el-transfer-panel{width:230px!important}.ninja_tables_wpposts .el-transfer-panel__item{display:block!important}.no-margin{margin:0}.nt_conditions .el-collapse-item.is-active{border:1px solid #ebeef5}.nt_conditions .el-collapse-item.is-active .el-collapse-item__wrap{background:#ebeef5}",""]);const o=i},3582:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".ninja_date_picker>.form-control{float:left;width:90%}.ninja_date_picker>.el-date-editor{cursor:pointer;margin:0;padding:0;width:8px!important}.ninja_date_picker>.el-date-editor .el-input__inner{background:grey;height:34px;padding:15px;width:10px!important}",""]);const o=i},6481:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".review_dialog{background:#fff;font-size:16px;padding:10px 15px 20px;position:relative}.review_dialog span.consentDismiss{color:grey;cursor:pointer;position:absolute;right:7px;top:2px;z-index:99999}.review_dialog p{font-size:16px}.review_dialog a{cursor:pointer;margin-right:20px;text-decoration:none}",""]);const o=i},7203:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".ninja_permissions{margin-top:40px;text-align:center}.ninja_permissions a,.ninja_permissions p{color:gray;font-size:12px;text-decoration:none}",""]);const o=i},4867:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".form-wrapper{padding:10px}.form-wrapper label{display:initial;margin-bottom:0;max-width:none}.form-wrapper .el-form-item{margin-bottom:15px}.form-wrapper .more-settings:hover{cursor:pointer}.form-wrapper .more-settings i{font-size:1.5em}.form-wrapper .form_group{margin-top:10px}.form-wrapper .basic_settings .el-select{max-width:100%;min-width:400px}",""]);const o=i},1376:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".table-column-settings{margin-top:15px}.table-column-settings .el-menu{border-right:initial}",""]);const o=i},8523:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".column-condition-config .el-row{display:flex;margin-bottom:5px}.column-condition-config .el-col{display:flex;margin:0 5px}.column-condition-config .el-col .conditional_color_block{width:100%}.column-condition-config .el-col .conditional_color_block .el-color-picker__trigger{height:33px;width:100%}.column-condition-config .el-col:first-child>.if-cell-value{white-space:nowrap}.column-condition-config .if-cell-value{font-weight:400;margin-top:10px}.column-condition-config .form_group{height:35px;margin:0}.column-condition-config .el-color-picker,.column-condition-config .el-color-picker__mask{width:100%!important}.column-condition-config .el-button--mini{padding:5px 13px}.column-condition-config .conditional-settings-header{align-items:center;display:flex;justify-content:space-between}",""]);const o=i},7851:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".striped>tbody>:nth-child(odd){background:transparent}.footable_parent.ninja_device_mobile{margin:0 auto;width:480px}.footable_parent.ninja_device_tablet{margin:0 auto;max-width:768px;padding:0 20px}.font-setting .font{margin-top:10px}.font-setting .font label{width:30%}.ninja_footable tbody tr td{font-family:var(--ninja-table-font-family);font-size:var(--ninja-table-font-size)}",""]);const o=i},6030:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".spaced>.el-radio[data-v-7c7cfd0a]{line-height:2;margin-left:0;margin-right:30px!important}",""]);const o=i},3835:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,"table.ninja_filter_table{border-collapse:collapse;text-align:left;width:100%}table.ninja_filter_table td,table.ninja_filter_table th,table.ninja_filter_table tr{border:1px solid #eaeaea;padding:2px 10px}",""]);const o=i},1606:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".settings_header{background:#fff;font-size:20px;margin-left:-20px;margin-right:-20px;margin-top:-20px;padding-bottom:20px;padding-left:24px;padding-top:20px}.settings_header .action{cursor:pointer;font-size:16px}.settings_header .action:hover{color:#0085ba}",""]);const o=i},3836:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".el-table{margin-bottom:10px;margin-top:10px}.alert-warning{background-color:#fcf8e3;border-color:#faebcc;color:#8a6d3b}.alert{border:1px solid transparent;border-radius:4px;margin-bottom:20px;padding:15px}.sorting tr{cursor:move}.el-table__header tr th:hover .nt-column-config{opacity:1}.nt-column-config{cursor:pointer;display:inline-block;opacity:0;padding-left:5px}.nt-column-config:hover{color:#58b7ff}.instruction_block{background:#fff;padding:30px 20px}",""]);const o=i},4946:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,"#fileUpload[data-v-3dd4e718]{max-width:200px}.justify-items[data-v-3dd4e718]{align-items:center;display:flex;justify-content:space-between}.ninja_content .ninja_suggest[data-v-3dd4e718]{background:#f1f1f1}.ninja_content[data-v-3dd4e718]{margin:1em 0}",""]);const o=i},5529:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".dialog-footer{align-items:center;display:flex;justify-content:space-between}.dialog-footer.single-child{justify-content:flex-end}.row_config_container{background:#d8edfd;border-radius:5px;display:block;padding:10px 15px;position:relative}",""]);const o=i},5117:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".ninja-tables-component .accordions .export .el-select{width:50%}.ninja-tables-component .accordions .export .el-button{margin-top:10px;width:100%}.ninja-tables-component .accordions .is-active{max-height:410px;overflow-y:scroll}.ninja-tables-component .accordions .is-active::-webkit-scrollbar{width:.2em}.ninja-tables-component .accordions .is-active::-webkit-scrollbar-thumb{background-color:#409eff;outline:1px solid #409eff}.ninja-tables-component .accordions .el-tabs__item.is-active{display:initial}.ninja-tables-component .el-slider__runway{margin-left:12px}.ninja-tables-component .el-slider{margin-left:10px}.ninja-tables-component .element-style{align-items:center;display:flex;justify-content:center;padding:10px 0}.ninja-tables-component .element-style .button-component{padding:15px;width:120px}.ninja-tables-component .element-style .button-component i{font-size:15px}.ninja-tables-component .element-style .button-component:hover{cursor:move}.ninja-tables-component .element-style .pro-component:hover{cursor:not-allowed}.ninja-tables-component .element-style .item .el-badge__content{right:33px}.ninja-tables-component .ntb-manage-button{display:block;margin:10px auto;padding:10px 20px}",""]);const o=i},3984:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".new-table-wrapper .table-type-heading h2{background-color:#1c2024;color:#fff;padding:10px;text-align:center}.new-table-wrapper .table-type-heading h2 .ready-made-name{margin-top:40px}.new-table-wrapper .table-title-style{display:table;margin:5px auto 20px}.new-table-wrapper .ready-made-table-image{position:relative}.new-table-wrapper .ready-made-table-image img{transition:1s}.new-table-wrapper .ready-made-table-image:hover img{opacity:.25}.new-table-wrapper .ready-made-table-image:hover .ready-made-table-hover-button{opacity:1}.new-table-wrapper .ready-made-table-hover-button{left:50%;opacity:0;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transition:.5s ease}.new-table-wrapper .new_table{border:2px solid #ddd;display:grid;height:200px;margin-left:40px;margin-top:50px;position:relative;width:200px}.new-table-wrapper .new_table .table-column-input{position:absolute;top:-40px;width:200px}.new-table-wrapper .new_table .table-row-input{left:-120px;position:absolute;top:80px;transform:rotate(-90deg);width:200px}.new-table-wrapper .new_table .table-row-column{border:.5px solid #ccc}.new-table-wrapper .create-button .el-button{left:42px;margin-top:10px;position:relative;width:200px}.new-table-wrapper .import-button{align-items:center;display:flex;justify-content:center}",""]);const o=i},9838:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".ninja-tables-layout .table-customize-button{padding-bottom:20px}.ninja-tables-layout .sortable-ghost{border:1px dashed grey;font-size:0;overflow:hidden;width:100%}.ninja-tables-layout .button-group{display:flex!important;justify-content:center;margin:5px auto}.ninja-tables-layout .manage-button{display:block;margin:0 auto 10px;padding:10px 20px}.ninja-tables-layout .ntb_table_wrapper{overflow:auto;padding-left:var(--table-wrapper-padding);padding-top:5px;position:relative;z-index:1}.ninja-tables-layout .ntb_table_wrapper .pixel-bar-slider{background:#3b503f;border-radius:10px;margin:10px auto;padding:0 20px;width:50%}.ninja-tables-layout .ntb_table_wrapper .table .table-header{display:table-caption;margin-bottom:var(--margin-bottom);margin-left:var(--column-arrow);position:sticky;position:-webkit-sticky;top:0;z-index:3}.ninja-tables-layout .ntb_table_wrapper .table .table-header th .column-options span i{border:1px solid;color:#fff;font-size:12px;opacity:1}.ninja-tables-layout .ntb_table_wrapper .table .table-header th.th-active{background-color:#409eff;display:block;margin-left:var(--td-th-active-margin)}.ninja-tables-layout .ntb_table_wrapper .table .table-header th.th-active:hover{background-color:#5f6368;cursor:move}.ninja-tables-layout .ntb_table_wrapper .table .table-header th.th-active:hover .column-options span i{cursor:pointer}.ninja-tables-layout .ntb_table_wrapper .table .tbody{display:block;margin-left:var(--td-th-active-margin)}.ninja-tables-layout .ntb_table_wrapper .table .tbody tr.firstRowSticky{position:-webkit-sticky;position:sticky;top:-5px;z-index:2}.ninja-tables-layout .ntb_table_wrapper .table .tbody tr,.ninja-tables-layout .ntb_table_wrapper .table .tbody tr td{position:relative}.ninja-tables-layout .ntb_table_wrapper .table .tbody tr td .sortIcon{font-size:30px}.ninja-tables-layout .ntb_table_wrapper .table .tbody tr td .row-options{top:calc(50% - 10px)}.ninja-tables-layout .ntb_table_wrapper .table .tbody tr td .row-options span i{border:1px solid;color:#000;font-size:12px;opacity:1}.ninja-tables-layout .ntb_table_wrapper .table .tbody tr td .row-options span span{color:#000}.ninja-tables-layout .ntb_table_wrapper .table .tbody tr td .row-options:hover i{color:#fff;cursor:pointer;opacity:1}.ninja-tables-layout .ntb_table_wrapper .table .tbody tr td .row-options:hover span{color:#fff;cursor:move}.ninja-tables-layout .ntb_table_wrapper .table .tbody tr td .row-move{height:100%;position:absolute;right:-37px;top:0}.ninja-tables-layout .ntb_table_wrapper .table .tbody tr td .row-move .el-button{width:30px}.ninja-tables-layout .ntb_table_wrapper .table .tbody tr td .row-move .el-button i{transform:rotate(270deg)}.ninja-tables-layout .ntb_table_wrapper .table .tbody tr td .row-move .el-button .top{margin-top:15px;position:absolute}.ninja-tables-layout .ntb_table_wrapper .table .tbody tr td .row-move .el-button .bottom{margin-bottom:15px}.ninja-tables-layout .ntb_table_wrapper .table .tbody tr .td-active{background-color:#409eff;border-bottom:var(--border-size) solid var(--border-color);cursor:move;max-width:20px;opacity:1;position:sticky;position:-webkit-sticky;z-index:2}.ninja-tables-layout .ntb_table_wrapper .table .tbody tr .td-active .row-options span i{color:#fff;opacity:1}.ninja-tables-layout .ntb_table_wrapper .table .tbody tr .td-active .row-options span span{color:#fff}.ninja-tables-layout .ntb_table_wrapper .table .tbody tr .td-active:hover{background-color:#5f6368}.ninja-tables-layout .ntb_table_wrapper .table .tbody tr .td-inactive{opacity:0;right:10px;visibility:hidden}.ninja-tables-layout .ntb_table_wrapper .table .single-item{border:0 solid transparent;display:block;position:relative}.ninja-tables-layout .ntb_table_wrapper .table .single-item .icon-style{color:#fff;display:flex;font-size:14px;height:auto;justify-content:flex-end;left:0;opacity:0;position:absolute;right:0;top:-15px;width:100%}.ninja-tables-layout .ntb_table_wrapper .table .single-item .icon-style .el-icon-rank{cursor:move}.ninja-tables-layout .ntb_table_wrapper .table .single-item .icon-style i{background:#3f9eff;font-weight:700;padding:0 2px}.ninja-tables-layout .ntb_table_wrapper .table .other-item:hover{cursor:pointer}.ninja-tables-layout .ntb_table_wrapper .table .other-item:hover .hover-item{border:1px solid #3f9eff}.ninja-tables-layout .ntb_table_wrapper .table .other-item:hover .icon-style{opacity:1}.ninja-tables-layout .ntb_table_wrapper .table .only-ribbon{position:absolute}.ninja-tables-layout .ntb_table_wrapper .table .only-ribbon:hover{cursor:pointer}.ninja-tables-layout .ntb_table_wrapper .table .only-ribbon:hover .bookmark,.ninja-tables-layout .ntb_table_wrapper .table .only-ribbon:hover .corner,.ninja-tables-layout .ntb_table_wrapper .table .only-ribbon:hover .side{border:1px solid #3f9eff}.ninja-tables-layout .ntb_table_wrapper .table .only-ribbon:hover .icon-style{justify-content:flex-start;opacity:1;top:0;z-index:3}@-webkit-keyframes selected-item-move{0%{background-position:0 50%}to{background-position:100% 50%}}@keyframes selected-item-move{0%{background-position:0 50%}to{background-position:100% 50%}}.ninja-tables-layout .ntb_table_wrapper .table #selected-item{animation:selected-item-move 40s linear infinite reverse;background:repeating-linear-gradient(45deg,#fff,#fff 5px,#3299d1 0,#3299d1 10px);background-size:400% 400%;height:100%;left:0;opacity:.2;top:0;width:100%}.responsive-mode:hover{cursor:pointer}",""]);const o=i},6732:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,'.ribbon-wrapper{max-width:600px;position:relative;width:90%;z-index:1}.ribbon-wrapper .corner{height:100px;overflow:hidden;position:absolute;width:120px}.ribbon-wrapper .corner .content{box-shadow:0 1px 2px rgba(0,0,0,.5);display:block;position:absolute;text-align:center}.ribbon-wrapper .corner .left{right:-25px;top:30px;transform:rotate(-45deg)}.ribbon-wrapper .corner .right{left:-25px;top:30px;transform:rotate(45deg)}.ribbon-wrapper .bookmark{filter:drop-shadow(2px 3px 2px rgba(0,0,0,.5));overflow:hidden;position:absolute}.ribbon-wrapper .bookmark>.content{font-size:1.25rem;font-weight:400;padding:8px 2px 4px;text-align:center}.ribbon-wrapper .bookmark.up>.content{-webkit-clip-path:polygon(0 0,100% 0,100% 100%,50% calc(100% - 8px),0 100%);clip-path:polygon(0 0,100% 0,100% 100%,50% calc(100% - 8px),0 100%)}.ribbon-wrapper .side{background-size:cover;float:left;position:relative}.ribbon-wrapper .side .content{box-shadow:1px 2px 3px rgba(0,0,0,.5);padding:8px 10px;position:absolute}.ribbon-wrapper .side .content:before{background:inherit;border-radius:5px 0 0 5px;content:"";height:100%;left:-6.5px;padding:1px 0 7px;position:absolute;top:0;width:7px}.ribbon-wrapper .side .content:after{background:#add8e6;border-radius:5px 0 0 5px;bottom:-5px;content:"";height:5px;left:-4.5px;position:absolute;width:5px}.ribbon-wrapper .horizontal{box-shadow:1px 2px 3px rgba(0,0,0,.5);position:relative}.ribbon-wrapper .horizontal .content{position:absolute}.ntb-datas-wrapper .svgIcon{display:inline-block;mask-size:cover;-webkit-mask-size:cover}.ntb-datas-wrapper .ntb-progress .el-progress .el-progress__text{color:var(--progress-bar-text-color);font-size:var(--progress-bar-font-size)}.ntb-datas-wrapper .ntb-rating{height:auto!important}.ntb-datas-wrapper .ntb-rating .el-rate__item i{font-size:var(--rating-font-size)}.ntb-datas-wrapper dd,.ntb-datas-wrapper li{margin-bottom:0}.ntb-datas-wrapper .ntb-list-style li{position:relative}.ntb-datas-wrapper .ntb-list-style li .icon-styles{color:#fff;font-size:12px;height:auto;justify-content:flex-end;opacity:0;position:absolute;visibility:hidden;width:auto;z-index:1}.ntb-datas-wrapper .ntb-list-style li .icon-styles i{background:#3f9eff;font-weight:700;padding:0 1px}.ntb-datas-wrapper .ntb-list-style li:hover{border:1px solid #3f9eff;cursor:pointer}.ntb-datas-wrapper .ntb-list-style li:hover .icon-styles{opacity:1;right:0;top:-17px;visibility:visible}.ntb-datas-wrapper .button-content-wrapper{align-items:center;display:flex;justify-content:center}.ntb-datas-wrapper .icon-text-wrapper{align-items:center;justify-content:center;line-height:1.2}.ntb-datas-wrapper .ntb-el-button:hover .svgIcon{background-color:var(--icon-color-hover)!important}',""]);const o=i},8052:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".ntb-elements-wrapper:hover{border:1px solid #3f9eff}.svgIcon{display:inline-block;mask-size:cover;-webkit-mask-size:cover}.ntb-progress .el-progress .el-progress__text{color:var(--progress-bar-text-color);font-size:var(--progress-bar-font-size)!important}.remove-elements .el-input .el-input__inner{height:auto}",""]);const o=i},2010:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".external-source-nav .el-collapse-item__header,.external-source-nav .el-collapse-item__wrap{padding:0 15px}.external-source-nav .sync-settings{margin-top:15px}.external-source-nav .el-collapse-item__content{padding-bottom:15px}",""]);const o=i},1547:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".fluent-form-nav .el-collapse-item__header,.fluent-form-nav .el-collapse-item__wrap{padding:0 15px 15px}.fluent-form-nav .sync-settings{margin-top:15px}.fluent-form-nav .el-collapse-item__content{padding-bottom:15px}",""]);const o=i},4241:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".fluent-form-nav .el-collapse-item__header,.fluent-form-nav .el-collapse-item__wrap{padding:0 15px 15px}.fluent-form-nav .sync-settings{margin-top:15px}.fluent-form-nav .el-collapse-item__content{padding-bottom:15px}",""]);const o=i},2980:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".fluent-form-nav .el-collapse-item__header,.fluent-form-nav .el-collapse-item__wrap{padding:0 15px}.fluent-form-nav .sync-settings{margin-top:15px}.fluent-form-nav .el-collapse-item__content{padding-bottom:15px}.el-transfer__buttons{padding:0 10px!important}",""]);const o=i},3589:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".nt-woo-nav .nt-appearance label.el-checkbox{display:block}.nt-woo-nav .nt-form-group{margin-bottom:15px}.nt-woo-nav .nt-form-group label{margin-right:15px}",""]);const o=i},8099:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".license_form{padding:20px 0;text-align:center}.license_form label{display:block;font-size:30px;font-weight:400;margin-bottom:20px;text-transform:capitalize}.license_form .form_input input{background:#fbfdff;border:1px solid gray;border-radius:5px;font-size:20px;height:48px;margin-bottom:20px;min-width:400px;padding:0 10px;width:50%}.license_form .error_message{background:#ffe491;border-radius:5px;color:#000;font-weight:700;margin-top:40px;padding:10px}.license_success{padding:40px 0;text-align:center}.license_renew_box{background:#ffee9b;border:2px dashed #ff0;padding:10px}.license_renew_box p{font-size:18px}.license_renew_box a{background:#0073aa;border:1px solid gray;border-radius:21px;color:#fff;font-weight:700;padding:5px 15px;text-decoration:none;text-transform:capitalize}.license_renew_box a:hover{background:#fff;color:#0073aa}",""]);const o=i},7004:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".ninja_intro_welcome{background:#fff;margin:45px auto 0;max-width:600px;padding:30px 20px;text-align:center}.ninja_intro_welcome h2{font-size:30px}.ninja_intro_welcome .ninja_actions{margin-bottom:30px}.ninja_intro_welcome .ninja_docs{text-align:left}",""]);const o=i},5003:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".ninja-add-table .el-main{min-height:auto;padding:0 1px 0 15px}.ninja-add-table .el-menu{border-right:initial}.ninja-add-table .el-menu-item .el-icon-fluent-form{height:18px}.ninja-add-table .el-menu-item .dashicons{height:18px;margin-right:5px;width:24px}.ninja-add-table .el-menu-item.is-active{background-color:#0073aa!important}.ninja-add-table .el-table .cell{text-overflow:clip}",""]);const o=i},1687:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".ninja-tables.el-table td,.ninja-tables.el-table th{padding:5px 0}.ninja-tables.el-table span.row-delete a{color:#a00}.ninja-tables.el-table a{text-decoration:none}.ninja-tables.el-table .description .cell{max-height:60px}",""]);const o=i},2482:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".hint[data-v-417a7c88]{background-color:#f4f4f5;color:#909399;padding:8px 16px;width:100%}.form_group.ninja_errors[data-v-417a7c88]{background:#ffd7d7;padding:10px}",""]);const o=i},4135:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".premium-notice .buy_now_button[data-v-06fd6e1a]{text-decoration:none}",""]);const o=i},1502:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,".sortable-upgrade-notice .el-dialog__body{padding:20px}",""]);const o=i},1714:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(1519),i=a.n(n)()((function(t){return t[1]}));i.push([t.id,"button.button.ninja_demo_media_button{cursor:pointer;position:absolute;z-index:9999999999}.wp_vue_editor{min-height:100px;width:100%}.wp_vue_editor_wrapper{position:relative}.wp_vue_editor_wrapper .popover-wrapper{left:0;position:absolute;top:0;z-index:2}.wp_vue_editor_wrapper .popover-wrapper-plaintext{left:auto;right:0;top:-32px}",""]);const o=i},1519:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var a=t(e);return e[2]?"@media ".concat(e[2]," {").concat(a,"}"):a})).join("")},e.i=function(t,a,n){"string"==typeof t&&(t=[[null,t,""]]);var i={};if(n)for(var o=0;o<this.length;o++){var l=this[o][0];null!=l&&(i[l]=!0)}for(var s=0;s<t.length;s++){var r=[].concat(t[s]);n&&i[r[0]]||(a&&(r[2]?r[2]="".concat(a," and ").concat(r[2]):r[2]=a),e.push(r))}},e}},8552:(t,e,a)=>{var n=a(852)(a(5639),"DataView");t.exports=n},1989:(t,e,a)=>{var n=a(1789),i=a(401),o=a(7667),l=a(1327),s=a(1866);function r(t){var e=-1,a=null==t?0:t.length;for(this.clear();++e<a;){var n=t[e];this.set(n[0],n[1])}}r.prototype.clear=n,r.prototype.delete=i,r.prototype.get=o,r.prototype.has=l,r.prototype.set=s,t.exports=r},8407:(t,e,a)=>{var n=a(7040),i=a(4125),o=a(2117),l=a(7529),s=a(4705);function r(t){var e=-1,a=null==t?0:t.length;for(this.clear();++e<a;){var n=t[e];this.set(n[0],n[1])}}r.prototype.clear=n,r.prototype.delete=i,r.prototype.get=o,r.prototype.has=l,r.prototype.set=s,t.exports=r},7071:(t,e,a)=>{var n=a(852)(a(5639),"Map");t.exports=n},3369:(t,e,a)=>{var n=a(4785),i=a(1285),o=a(6e3),l=a(9916),s=a(5265);function r(t){var e=-1,a=null==t?0:t.length;for(this.clear();++e<a;){var n=t[e];this.set(n[0],n[1])}}r.prototype.clear=n,r.prototype.delete=i,r.prototype.get=o,r.prototype.has=l,r.prototype.set=s,t.exports=r},3818:(t,e,a)=>{var n=a(852)(a(5639),"Promise");t.exports=n},8525:(t,e,a)=>{var n=a(852)(a(5639),"Set");t.exports=n},8668:(t,e,a)=>{var n=a(3369),i=a(619),o=a(2385);function l(t){var e=-1,a=null==t?0:t.length;for(this.__data__=new n;++e<a;)this.add(t[e])}l.prototype.add=l.prototype.push=i,l.prototype.has=o,t.exports=l},6384:(t,e,a)=>{var n=a(8407),i=a(7465),o=a(3779),l=a(7599),s=a(4758),r=a(4309);function c(t){var e=this.__data__=new n(t);this.size=e.size}c.prototype.clear=i,c.prototype.delete=o,c.prototype.get=l,c.prototype.has=s,c.prototype.set=r,t.exports=c},2705:(t,e,a)=>{var n=a(5639).Symbol;t.exports=n},1149:(t,e,a)=>{var n=a(5639).Uint8Array;t.exports=n},577:(t,e,a)=>{var n=a(852)(a(5639),"WeakMap");t.exports=n},6874:t=>{t.exports=function(t,e,a){switch(a.length){case 0:return t.call(e);case 1:return t.call(e,a[0]);case 2:return t.call(e,a[0],a[1]);case 3:return t.call(e,a[0],a[1],a[2])}return t.apply(e,a)}},7412:t=>{t.exports=function(t,e){for(var a=-1,n=null==t?0:t.length;++a<n&&!1!==e(t[a],a,t););return t}},4963:t=>{t.exports=function(t,e){for(var a=-1,n=null==t?0:t.length,i=0,o=[];++a<n;){var l=t[a];e(l,a,t)&&(o[i++]=l)}return o}},7443:(t,e,a)=>{var n=a(2118);t.exports=function(t,e){return!!(null==t?0:t.length)&&n(t,e,0)>-1}},1196:t=>{t.exports=function(t,e,a){for(var n=-1,i=null==t?0:t.length;++n<i;)if(a(e,t[n]))return!0;return!1}},4636:(t,e,a)=>{var n=a(2545),i=a(5694),o=a(1469),l=a(4144),s=a(5776),r=a(6719),c=Object.prototype.hasOwnProperty;t.exports=function(t,e){var a=o(t),u=!a&&i(t),d=!a&&!u&&l(t),p=!a&&!u&&!d&&r(t),m=a||u||d||p,_=m?n(t.length,String):[],h=_.length;for(var f in t)!e&&!c.call(t,f)||m&&("length"==f||d&&("offset"==f||"parent"==f)||p&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||s(f,h))||_.push(f);return _}},9932:t=>{t.exports=function(t,e){for(var a=-1,n=null==t?0:t.length,i=Array(n);++a<n;)i[a]=e(t[a],a,t);return i}},2488:t=>{t.exports=function(t,e){for(var a=-1,n=e.length,i=t.length;++a<n;)t[i+a]=e[a];return t}},2663:t=>{t.exports=function(t,e,a,n){var i=-1,o=null==t?0:t.length;for(n&&o&&(a=t[++i]);++i<o;)a=e(a,t[i],i,t);return a}},2908:t=>{t.exports=function(t,e){for(var a=-1,n=null==t?0:t.length;++a<n;)if(e(t[a],a,t))return!0;return!1}},8983:(t,e,a)=>{var n=a(371)("length");t.exports=n},9029:t=>{var e=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;t.exports=function(t){return t.match(e)||[]}},8470:(t,e,a)=>{var n=a(7813);t.exports=function(t,e){for(var a=t.length;a--;)if(n(t[a][0],e))return a;return-1}},9881:(t,e,a)=>{var n=a(7816),i=a(9291)(n);t.exports=i},1848:t=>{t.exports=function(t,e,a,n){for(var i=t.length,o=a+(n?1:-1);n?o--:++o<i;)if(e(t[o],o,t))return o;return-1}},8483:(t,e,a)=>{var n=a(5063)();t.exports=n},7816:(t,e,a)=>{var n=a(8483),i=a(3674);t.exports=function(t,e){return t&&n(t,e,i)}},7786:(t,e,a)=>{var n=a(1811),i=a(327);t.exports=function(t,e){for(var a=0,o=(e=n(e,t)).length;null!=t&&a<o;)t=t[i(e[a++])];return a&&a==o?t:void 0}},8866:(t,e,a)=>{var n=a(2488),i=a(1469);t.exports=function(t,e,a){var o=e(t);return i(t)?o:n(o,a(t))}},4239:(t,e,a)=>{var n=a(2705),i=a(9607),o=a(2333),l=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":l&&l in Object(t)?i(t):o(t)}},13:t=>{t.exports=function(t,e){return null!=t&&e in Object(t)}},2118:(t,e,a)=>{var n=a(1848),i=a(2722),o=a(2351);t.exports=function(t,e,a){return e==e?o(t,e,a):n(t,i,a)}},7556:(t,e,a)=>{var n=a(8668),i=a(7443),o=a(1196),l=a(9932),s=a(7518),r=a(4757),c=Math.min;t.exports=function(t,e,a){for(var u=a?o:i,d=t[0].length,p=t.length,m=p,_=Array(p),h=1/0,f=[];m--;){var v=t[m];m&&e&&(v=l(v,s(e))),h=c(v.length,h),_[m]=!a&&(e||d>=120&&v.length>=120)?new n(m&&v):void 0}v=t[0];var b=-1,g=_[0];t:for(;++b<d&&f.length<h;){var y=v[b],w=e?e(y):y;if(y=a||0!==y?y:0,!(g?r(g,w):u(f,w,a))){for(m=p;--m;){var x=_[m];if(!(x?r(x,w):u(t[m],w,a)))continue t}g&&g.push(w),f.push(y)}}return f}},9454:(t,e,a)=>{var n=a(4239),i=a(7005);t.exports=function(t){return i(t)&&"[object Arguments]"==n(t)}},939:(t,e,a)=>{var n=a(2492),i=a(7005);t.exports=function t(e,a,o,l,s){return e===a||(null==e||null==a||!i(e)&&!i(a)?e!=e&&a!=a:n(e,a,o,l,t,s))}},2492:(t,e,a)=>{var n=a(6384),i=a(7114),o=a(8351),l=a(6096),s=a(4160),r=a(1469),c=a(4144),u=a(6719),d="[object Arguments]",p="[object Array]",m="[object Object]",_=Object.prototype.hasOwnProperty;t.exports=function(t,e,a,h,f,v){var b=r(t),g=r(e),y=b?p:s(t),w=g?p:s(e),x=(y=y==d?m:y)==m,k=(w=w==d?m:w)==m,C=y==w;if(C&&c(t)){if(!c(e))return!1;b=!0,x=!1}if(C&&!x)return v||(v=new n),b||u(t)?i(t,e,a,h,f,v):o(t,e,y,a,h,f,v);if(!(1&a)){var S=x&&_.call(t,"__wrapped__"),j=k&&_.call(e,"__wrapped__");if(S||j){var $=S?t.value():t,T=j?e.value():e;return v||(v=new n),f($,T,a,h,v)}}return!!C&&(v||(v=new n),l(t,e,a,h,f,v))}},2958:(t,e,a)=>{var n=a(6384),i=a(939);t.exports=function(t,e,a,o){var l=a.length,s=l,r=!o;if(null==t)return!s;for(t=Object(t);l--;){var c=a[l];if(r&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++l<s;){var u=(c=a[l])[0],d=t[u],p=c[1];if(r&&c[2]){if(void 0===d&&!(u in t))return!1}else{var m=new n;if(o)var _=o(d,p,u,t,e,m);if(!(void 0===_?i(p,d,3,o,m):_))return!1}}return!0}},2722:t=>{t.exports=function(t){return t!=t}},8458:(t,e,a)=>{var n=a(3560),i=a(5346),o=a(3218),l=a(346),s=/^\[object .+?Constructor\]$/,r=Function.prototype,c=Object.prototype,u=r.toString,d=c.hasOwnProperty,p=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!o(t)||i(t))&&(n(t)?p:s).test(l(t))}},8749:(t,e,a)=>{var n=a(4239),i=a(1780),o=a(7005),l={};l["[object Float32Array]"]=l["[object Float64Array]"]=l["[object Int8Array]"]=l["[object Int16Array]"]=l["[object Int32Array]"]=l["[object Uint8Array]"]=l["[object Uint8ClampedArray]"]=l["[object Uint16Array]"]=l["[object Uint32Array]"]=!0,l["[object Arguments]"]=l["[object Array]"]=l["[object ArrayBuffer]"]=l["[object Boolean]"]=l["[object DataView]"]=l["[object Date]"]=l["[object Error]"]=l["[object Function]"]=l["[object Map]"]=l["[object Number]"]=l["[object Object]"]=l["[object RegExp]"]=l["[object Set]"]=l["[object String]"]=l["[object WeakMap]"]=!1,t.exports=function(t){return o(t)&&i(t.length)&&!!l[n(t)]}},7206:(t,e,a)=>{var n=a(1573),i=a(6432),o=a(6557),l=a(1469),s=a(9601);t.exports=function(t){return"function"==typeof t?t:null==t?o:"object"==typeof t?l(t)?i(t[0],t[1]):n(t):s(t)}},280:(t,e,a)=>{var n=a(5726),i=a(6916),o=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return i(t);var e=[];for(var a in Object(t))o.call(t,a)&&"constructor"!=a&&e.push(a);return e}},1573:(t,e,a)=>{var n=a(2958),i=a(1499),o=a(2634);t.exports=function(t){var e=i(t);return 1==e.length&&e[0][2]?o(e[0][0],e[0][1]):function(a){return a===t||n(a,t,e)}}},6432:(t,e,a)=>{var n=a(939),i=a(7361),o=a(9095),l=a(5403),s=a(9162),r=a(2634),c=a(327);t.exports=function(t,e){return l(t)&&s(e)?r(c(t),e):function(a){var l=i(a,t);return void 0===l&&l===e?o(a,t):n(e,l,3)}}},371:t=>{t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},9152:(t,e,a)=>{var n=a(7786);t.exports=function(t){return function(e){return n(e,t)}}},8674:t=>{t.exports=function(t){return function(e){return null==t?void 0:t[e]}}},5976:(t,e,a)=>{var n=a(6557),i=a(5357),o=a(61);t.exports=function(t,e){return o(i(t,e,n),t+"")}},6560:(t,e,a)=>{var n=a(5703),i=a(8777),o=a(6557),l=i?function(t,e){return i(t,"toString",{configurable:!0,enumerable:!1,value:n(e),writable:!0})}:o;t.exports=l},2545:t=>{t.exports=function(t,e){for(var a=-1,n=Array(t);++a<t;)n[a]=e(a);return n}},531:(t,e,a)=>{var n=a(2705),i=a(9932),o=a(1469),l=a(3448),s=n?n.prototype:void 0,r=s?s.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(o(e))return i(e,t)+"";if(l(e))return r?r.call(e):"";var a=e+"";return"0"==a&&1/e==-Infinity?"-0":a}},7561:(t,e,a)=>{var n=a(7990),i=/^\s+/;t.exports=function(t){return t?t.slice(0,n(t)+1).replace(i,""):t}},7518:t=>{t.exports=function(t){return function(e){return t(e)}}},7415:(t,e,a)=>{var n=a(9932);t.exports=function(t,e){return n(e,(function(e){return t[e]}))}},4757:t=>{t.exports=function(t,e){return t.has(e)}},4387:(t,e,a)=>{var n=a(9246);t.exports=function(t){return n(t)?t:[]}},4290:(t,e,a)=>{var n=a(6557);t.exports=function(t){return"function"==typeof t?t:n}},1811:(t,e,a)=>{var n=a(1469),i=a(5403),o=a(5514),l=a(9833);t.exports=function(t,e){return n(t)?t:i(t,e)?[t]:o(l(t))}},4429:(t,e,a)=>{var n=a(5639)["__core-js_shared__"];t.exports=n},9291:(t,e,a)=>{var n=a(8612);t.exports=function(t,e){return function(a,i){if(null==a)return a;if(!n(a))return t(a,i);for(var o=a.length,l=e?o:-1,s=Object(a);(e?l--:++l<o)&&!1!==i(s[l],l,s););return a}}},5063:t=>{t.exports=function(t){return function(e,a,n){for(var i=-1,o=Object(e),l=n(e),s=l.length;s--;){var r=l[t?s:++i];if(!1===a(o[r],r,o))break}return e}}},5393:(t,e,a)=>{var n=a(2663),i=a(3816),o=a(8748),l=RegExp("['’]","g");t.exports=function(t){return function(e){return n(o(i(e).replace(l,"")),t,"")}}},7740:(t,e,a)=>{var n=a(7206),i=a(8612),o=a(3674);t.exports=function(t){return function(e,a,l){var s=Object(e);if(!i(e)){var r=n(a,3);e=o(e),a=function(t){return r(s[t],t,s)}}var c=t(e,a,l);return c>-1?s[r?e[c]:c]:void 0}}},9389:(t,e,a)=>{var n=a(8674)({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"});t.exports=n},8777:(t,e,a)=>{var n=a(852),i=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=i},7114:(t,e,a)=>{var n=a(8668),i=a(2908),o=a(4757);t.exports=function(t,e,a,l,s,r){var c=1&a,u=t.length,d=e.length;if(u!=d&&!(c&&d>u))return!1;var p=r.get(t),m=r.get(e);if(p&&m)return p==e&&m==t;var _=-1,h=!0,f=2&a?new n:void 0;for(r.set(t,e),r.set(e,t);++_<u;){var v=t[_],b=e[_];if(l)var g=c?l(b,v,_,e,t,r):l(v,b,_,t,e,r);if(void 0!==g){if(g)continue;h=!1;break}if(f){if(!i(e,(function(t,e){if(!o(f,e)&&(v===t||s(v,t,a,l,r)))return f.push(e)}))){h=!1;break}}else if(v!==b&&!s(v,b,a,l,r)){h=!1;break}}return r.delete(t),r.delete(e),h}},8351:(t,e,a)=>{var n=a(2705),i=a(1149),o=a(7813),l=a(7114),s=a(8776),r=a(1814),c=n?n.prototype:void 0,u=c?c.valueOf:void 0;t.exports=function(t,e,a,n,c,d,p){switch(a){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!d(new i(t),new i(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var m=s;case"[object Set]":var _=1&n;if(m||(m=r),t.size!=e.size&&!_)return!1;var h=p.get(t);if(h)return h==e;n|=2,p.set(t,e);var f=l(m(t),m(e),n,c,d,p);return p.delete(t),f;case"[object Symbol]":if(u)return u.call(t)==u.call(e)}return!1}},6096:(t,e,a)=>{var n=a(8234),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,a,o,l,s){var r=1&a,c=n(t),u=c.length;if(u!=n(e).length&&!r)return!1;for(var d=u;d--;){var p=c[d];if(!(r?p in e:i.call(e,p)))return!1}var m=s.get(t),_=s.get(e);if(m&&_)return m==e&&_==t;var h=!0;s.set(t,e),s.set(e,t);for(var f=r;++d<u;){var v=t[p=c[d]],b=e[p];if(o)var g=r?o(b,v,p,e,t,s):o(v,b,p,t,e,s);if(!(void 0===g?v===b||l(v,b,a,o,s):g)){h=!1;break}f||(f="constructor"==p)}if(h&&!f){var y=t.constructor,w=e.constructor;y==w||!("constructor"in t)||!("constructor"in e)||"function"==typeof y&&y instanceof y&&"function"==typeof w&&w instanceof w||(h=!1)}return s.delete(t),s.delete(e),h}},1957:(t,e,a)=>{var n="object"==typeof a.g&&a.g&&a.g.Object===Object&&a.g;t.exports=n},8234:(t,e,a)=>{var n=a(8866),i=a(9551),o=a(3674);t.exports=function(t){return n(t,o,i)}},5050:(t,e,a)=>{var n=a(7019);t.exports=function(t,e){var a=t.__data__;return n(e)?a["string"==typeof e?"string":"hash"]:a.map}},1499:(t,e,a)=>{var n=a(9162),i=a(3674);t.exports=function(t){for(var e=i(t),a=e.length;a--;){var o=e[a],l=t[o];e[a]=[o,l,n(l)]}return e}},852:(t,e,a)=>{var n=a(8458),i=a(7801);t.exports=function(t,e){var a=i(t,e);return n(a)?a:void 0}},9607:(t,e,a)=>{var n=a(2705),i=Object.prototype,o=i.hasOwnProperty,l=i.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=o.call(t,s),a=t[s];try{t[s]=void 0;var n=!0}catch(t){}var i=l.call(t);return n&&(e?t[s]=a:delete t[s]),i}},9551:(t,e,a)=>{var n=a(4963),i=a(479),o=Object.prototype.propertyIsEnumerable,l=Object.getOwnPropertySymbols,s=l?function(t){return null==t?[]:(t=Object(t),n(l(t),(function(e){return o.call(t,e)})))}:i;t.exports=s},4160:(t,e,a)=>{var n=a(8552),i=a(7071),o=a(3818),l=a(8525),s=a(577),r=a(4239),c=a(346),u="[object Map]",d="[object Promise]",p="[object Set]",m="[object WeakMap]",_="[object DataView]",h=c(n),f=c(i),v=c(o),b=c(l),g=c(s),y=r;(n&&y(new n(new ArrayBuffer(1)))!=_||i&&y(new i)!=u||o&&y(o.resolve())!=d||l&&y(new l)!=p||s&&y(new s)!=m)&&(y=function(t){var e=r(t),a="[object Object]"==e?t.constructor:void 0,n=a?c(a):"";if(n)switch(n){case h:return _;case f:return u;case v:return d;case b:return p;case g:return m}return e}),t.exports=y},7801:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},222:(t,e,a)=>{var n=a(1811),i=a(5694),o=a(1469),l=a(5776),s=a(1780),r=a(327);t.exports=function(t,e,a){for(var c=-1,u=(e=n(e,t)).length,d=!1;++c<u;){var p=r(e[c]);if(!(d=null!=t&&a(t,p)))break;t=t[p]}return d||++c!=u?d:!!(u=null==t?0:t.length)&&s(u)&&l(p,u)&&(o(t)||i(t))}},2689:t=>{var e=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return e.test(t)}},3157:t=>{var e=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;t.exports=function(t){return e.test(t)}},1789:(t,e,a)=>{var n=a(4536);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},401:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},7667:(t,e,a)=>{var n=a(4536),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var a=e[t];return"__lodash_hash_undefined__"===a?void 0:a}return i.call(e,t)?e[t]:void 0}},1327:(t,e,a)=>{var n=a(4536),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:i.call(e,t)}},1866:(t,e,a)=>{var n=a(4536);t.exports=function(t,e){var a=this.__data__;return this.size+=this.has(t)?0:1,a[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},5776:t=>{var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,a){var n=typeof t;return!!(a=null==a?9007199254740991:a)&&("number"==n||"symbol"!=n&&e.test(t))&&t>-1&&t%1==0&&t<a}},5403:(t,e,a)=>{var n=a(1469),i=a(3448),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,l=/^\w*$/;t.exports=function(t,e){if(n(t))return!1;var a=typeof t;return!("number"!=a&&"symbol"!=a&&"boolean"!=a&&null!=t&&!i(t))||(l.test(t)||!o.test(t)||null!=e&&t in Object(e))}},7019:t=>{t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},5346:(t,e,a)=>{var n,i=a(4429),o=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!o&&o in t}},5726:t=>{var e=Object.prototype;t.exports=function(t){var a=t&&t.constructor;return t===("function"==typeof a&&a.prototype||e)}},9162:(t,e,a)=>{var n=a(3218);t.exports=function(t){return t==t&&!n(t)}},7040:t=>{t.exports=function(){this.__data__=[],this.size=0}},4125:(t,e,a)=>{var n=a(8470),i=Array.prototype.splice;t.exports=function(t){var e=this.__data__,a=n(e,t);return!(a<0)&&(a==e.length-1?e.pop():i.call(e,a,1),--this.size,!0)}},2117:(t,e,a)=>{var n=a(8470);t.exports=function(t){var e=this.__data__,a=n(e,t);return a<0?void 0:e[a][1]}},7529:(t,e,a)=>{var n=a(8470);t.exports=function(t){return n(this.__data__,t)>-1}},4705:(t,e,a)=>{var n=a(8470);t.exports=function(t,e){var a=this.__data__,i=n(a,t);return i<0?(++this.size,a.push([t,e])):a[i][1]=e,this}},4785:(t,e,a)=>{var n=a(1989),i=a(8407),o=a(7071);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||i),string:new n}}},1285:(t,e,a)=>{var n=a(5050);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},6e3:(t,e,a)=>{var n=a(5050);t.exports=function(t){return n(this,t).get(t)}},9916:(t,e,a)=>{var n=a(5050);t.exports=function(t){return n(this,t).has(t)}},5265:(t,e,a)=>{var n=a(5050);t.exports=function(t,e){var a=n(this,t),i=a.size;return a.set(t,e),this.size+=a.size==i?0:1,this}},8776:t=>{t.exports=function(t){var e=-1,a=Array(t.size);return t.forEach((function(t,n){a[++e]=[n,t]})),a}},2634:t=>{t.exports=function(t,e){return function(a){return null!=a&&(a[t]===e&&(void 0!==e||t in Object(a)))}}},4523:(t,e,a)=>{var n=a(8306);t.exports=function(t){var e=n(t,(function(t){return 500===a.size&&a.clear(),t})),a=e.cache;return e}},4536:(t,e,a)=>{var n=a(852)(Object,"create");t.exports=n},6916:(t,e,a)=>{var n=a(5569)(Object.keys,Object);t.exports=n},1167:(t,e,a)=>{t=a.nmd(t);var n=a(1957),i=e&&!e.nodeType&&e,o=i&&t&&!t.nodeType&&t,l=o&&o.exports===i&&n.process,s=function(){try{var t=o&&o.require&&o.require("util").types;return t||l&&l.binding&&l.binding("util")}catch(t){}}();t.exports=s},2333:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},5569:t=>{t.exports=function(t,e){return function(a){return t(e(a))}}},5357:(t,e,a)=>{var n=a(6874),i=Math.max;t.exports=function(t,e,a){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,l=-1,s=i(o.length-e,0),r=Array(s);++l<s;)r[l]=o[e+l];l=-1;for(var c=Array(e+1);++l<e;)c[l]=o[l];return c[e]=a(r),n(t,this,c)}}},5639:(t,e,a)=>{var n=a(1957),i="object"==typeof self&&self&&self.Object===Object&&self,o=n||i||Function("return this")();t.exports=o},619:t=>{t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},2385:t=>{t.exports=function(t){return this.__data__.has(t)}},1814:t=>{t.exports=function(t){var e=-1,a=Array(t.size);return t.forEach((function(t){a[++e]=t})),a}},61:(t,e,a)=>{var n=a(6560),i=a(1275)(n);t.exports=i},1275:t=>{var e=Date.now;t.exports=function(t){var a=0,n=0;return function(){var i=e(),o=16-(i-n);if(n=i,o>0){if(++a>=800)return arguments[0]}else a=0;return t.apply(void 0,arguments)}}},7465:(t,e,a)=>{var n=a(8407);t.exports=function(){this.__data__=new n,this.size=0}},3779:t=>{t.exports=function(t){var e=this.__data__,a=e.delete(t);return this.size=e.size,a}},7599:t=>{t.exports=function(t){return this.__data__.get(t)}},4758:t=>{t.exports=function(t){return this.__data__.has(t)}},4309:(t,e,a)=>{var n=a(8407),i=a(7071),o=a(3369);t.exports=function(t,e){var a=this.__data__;if(a instanceof n){var l=a.__data__;if(!i||l.length<199)return l.push([t,e]),this.size=++a.size,this;a=this.__data__=new o(l)}return a.set(t,e),this.size=a.size,this}},2351:t=>{t.exports=function(t,e,a){for(var n=a-1,i=t.length;++n<i;)if(t[n]===e)return n;return-1}},8016:(t,e,a)=>{var n=a(8983),i=a(2689),o=a(1903);t.exports=function(t){return i(t)?o(t):n(t)}},5514:(t,e,a)=>{var n=a(4523),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,l=n((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(i,(function(t,a,n,i){e.push(n?i.replace(o,"$1"):a||t)})),e}));t.exports=l},327:(t,e,a)=>{var n=a(3448);t.exports=function(t){if("string"==typeof t||n(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e}},346:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},7990:t=>{var e=/\s/;t.exports=function(t){for(var a=t.length;a--&&e.test(t.charAt(a)););return a}},3729:(t,e,a)=>{var n=a(8674)({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});t.exports=n},1903:t=>{var e="[\\ud800-\\udfff]",a="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",n="\\ud83c[\\udffb-\\udfff]",i="[^\\ud800-\\udfff]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",l="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+a+"|"+n+")"+"?",r="[\\ufe0e\\ufe0f]?",c=r+s+("(?:\\u200d(?:"+[i,o,l].join("|")+")"+r+s+")*"),u="(?:"+[i+a+"?",a,o,l,e].join("|")+")",d=RegExp(n+"(?="+n+")|"+u+c,"g");t.exports=function(t){for(var e=d.lastIndex=0;d.test(t);)++e;return e}},2757:t=>{var e="\\u2700-\\u27bf",a="a-z\\xdf-\\xf6\\xf8-\\xff",n="A-Z\\xc0-\\xd6\\xd8-\\xde",i="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",o="["+i+"]",l="\\d+",s="[\\u2700-\\u27bf]",r="["+a+"]",c="[^\\ud800-\\udfff"+i+l+e+a+n+"]",u="(?:\\ud83c[\\udde6-\\uddff]){2}",d="[\\ud800-\\udbff][\\udc00-\\udfff]",p="["+n+"]",m="(?:"+r+"|"+c+")",_="(?:"+p+"|"+c+")",h="(?:['’](?:d|ll|m|re|s|t|ve))?",f="(?:['’](?:D|LL|M|RE|S|T|VE))?",v="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",b="[\\ufe0e\\ufe0f]?",g=b+v+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",u,d].join("|")+")"+b+v+")*"),y="(?:"+[s,u,d].join("|")+")"+g,w=RegExp([p+"?"+r+"+"+h+"(?="+[o,p,"$"].join("|")+")",_+"+"+f+"(?="+[o,p+m,"$"].join("|")+")",p+"?"+m+"+"+h,p+"+"+f,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",l,y].join("|"),"g");t.exports=function(t){return t.match(w)||[]}},5703:t=>{t.exports=function(t){return function(){return t}}},3816:(t,e,a)=>{var n=a(9389),i=a(9833),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,l=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");t.exports=function(t){return(t=i(t))&&t.replace(o,n).replace(l,"")}},6073:(t,e,a)=>{t.exports=a(4486)},7813:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},3311:(t,e,a)=>{var n=a(7740)(a(998));t.exports=n},998:(t,e,a)=>{var n=a(1848),i=a(7206),o=a(554),l=Math.max;t.exports=function(t,e,a){var s=null==t?0:t.length;if(!s)return-1;var r=null==a?0:o(a);return r<0&&(r=l(s+r,0)),n(t,i(e,3),r)}},4486:(t,e,a)=>{var n=a(7412),i=a(9881),o=a(4290),l=a(1469);t.exports=function(t,e){return(l(t)?n:i)(t,o(e))}},7361:(t,e,a)=>{var n=a(7786);t.exports=function(t,e,a){var i=null==t?void 0:n(t,e);return void 0===i?a:i}},9095:(t,e,a)=>{var n=a(13),i=a(222);t.exports=function(t,e){return null!=t&&i(t,e,n)}},6557:t=>{t.exports=function(t){return t}},5325:(t,e,a)=>{var n=a(9932),i=a(7556),o=a(5976),l=a(4387),s=o((function(t){var e=n(t,l);return e.length&&e[0]===t[0]?i(e):[]}));t.exports=s},5694:(t,e,a)=>{var n=a(9454),i=a(7005),o=Object.prototype,l=o.hasOwnProperty,s=o.propertyIsEnumerable,r=n(function(){return arguments}())?n:function(t){return i(t)&&l.call(t,"callee")&&!s.call(t,"callee")};t.exports=r},1469:t=>{var e=Array.isArray;t.exports=e},8612:(t,e,a)=>{var n=a(3560),i=a(1780);t.exports=function(t){return null!=t&&i(t.length)&&!n(t)}},9246:(t,e,a)=>{var n=a(8612),i=a(7005);t.exports=function(t){return i(t)&&n(t)}},4144:(t,e,a)=>{t=a.nmd(t);var n=a(5639),i=a(5062),o=e&&!e.nodeType&&e,l=o&&t&&!t.nodeType&&t,s=l&&l.exports===o?n.Buffer:void 0,r=(s?s.isBuffer:void 0)||i;t.exports=r},3560:(t,e,a)=>{var n=a(4239),i=a(3218);t.exports=function(t){if(!i(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},1780:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},3218:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},7005:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},7037:(t,e,a)=>{var n=a(4239),i=a(1469),o=a(7005);t.exports=function(t){return"string"==typeof t||!i(t)&&o(t)&&"[object String]"==n(t)}},3448:(t,e,a)=>{var n=a(4239),i=a(7005);t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==n(t)}},6719:(t,e,a)=>{var n=a(8749),i=a(7518),o=a(1167),l=o&&o.isTypedArray,s=l?i(l):n;t.exports=s},3674:(t,e,a)=>{var n=a(4636),i=a(280),o=a(8612);t.exports=function(t){return o(t)?n(t):i(t)}},8306:(t,e,a)=>{var n=a(3369);function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var a=function(){var n=arguments,i=e?e.apply(this,n):n[0],o=a.cache;if(o.has(i))return o.get(i);var l=t.apply(this,n);return a.cache=o.set(i,l)||o,l};return a.cache=new(i.Cache||n),a}i.Cache=n,t.exports=i},9601:(t,e,a)=>{var n=a(371),i=a(9152),o=a(5403),l=a(327);t.exports=function(t){return o(t)?n(l(t)):i(t)}},4238:(t,e,a)=>{var n=a(280),i=a(4160),o=a(8612),l=a(7037),s=a(8016);t.exports=function(t){if(null==t)return 0;if(o(t))return l(t)?s(t):t.length;var e=i(t);return"[object Map]"==e||"[object Set]"==e?t.size:n(t).length}},1865:(t,e,a)=>{var n=a(5393)((function(t,e,a){return t+(a?"_":"")+e.toLowerCase()}));t.exports=n},479:t=>{t.exports=function(){return[]}},5062:t=>{t.exports=function(){return!1}},8601:(t,e,a)=>{var n=a(4841),i=1/0;t.exports=function(t){return t?(t=n(t))===i||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},554:(t,e,a)=>{var n=a(8601);t.exports=function(t){var e=n(t),a=e%1;return e==e?a?e-a:e:0}},4841:(t,e,a)=>{var n=a(7561),i=a(3218),o=a(3448),l=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,r=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return NaN;if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=n(t);var a=s.test(t);return a||r.test(t)?c(t.slice(2),a?2:8):l.test(t)?NaN:+t}},9833:(t,e,a)=>{var n=a(531);t.exports=function(t){return null==t?"":n(t)}},7955:(t,e,a)=>{var n=a(9833),i=a(3729),o=/&(?:amp|lt|gt|quot|#39);/g,l=RegExp(o.source);t.exports=function(t){return(t=n(t))&&l.test(t)?t.replace(o,i):t}},2628:(t,e,a)=>{var n=a(7415),i=a(3674);t.exports=function(t){return null==t?[]:n(t,i(t))}},8748:(t,e,a)=>{var n=a(9029),i=a(3157),o=a(9833),l=a(2757);t.exports=function(t,e,a){return t=o(t),void 0===(e=a?void 0:e)?i(t)?l(t):n(t):t.match(e)||[]}},3379:(t,e,a)=>{"use strict";var n,i=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},o=function(){var t={};return function(e){if(void 0===t[e]){var a=document.querySelector(e);if(window.HTMLIFrameElement&&a instanceof window.HTMLIFrameElement)try{a=a.contentDocument.head}catch(t){a=null}t[e]=a}return t[e]}}(),l=[];function s(t){for(var e=-1,a=0;a<l.length;a++)if(l[a].identifier===t){e=a;break}return e}function r(t,e){for(var a={},n=[],i=0;i<t.length;i++){var o=t[i],r=e.base?o[0]+e.base:o[0],c=a[r]||0,u="".concat(r," ").concat(c);a[r]=c+1;var d=s(u),p={css:o[1],media:o[2],sourceMap:o[3]};-1!==d?(l[d].references++,l[d].updater(p)):l.push({identifier:u,updater:f(p,e),references:1}),n.push(u)}return n}function c(t){var e=document.createElement("style"),n=t.attributes||{};if(void 0===n.nonce){var i=a.nc;i&&(n.nonce=i)}if(Object.keys(n).forEach((function(t){e.setAttribute(t,n[t])})),"function"==typeof t.insert)t.insert(e);else{var l=o(t.insert||"head");if(!l)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");l.appendChild(e)}return e}var u,d=(u=[],function(t,e){return u[t]=e,u.filter(Boolean).join("\n")});function p(t,e,a,n){var i=a?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(t.styleSheet)t.styleSheet.cssText=d(e,i);else{var o=document.createTextNode(i),l=t.childNodes;l[e]&&t.removeChild(l[e]),l.length?t.insertBefore(o,l[e]):t.appendChild(o)}}function m(t,e,a){var n=a.css,i=a.media,o=a.sourceMap;if(i?t.setAttribute("media",i):t.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var _=null,h=0;function f(t,e){var a,n,i;if(e.singleton){var o=h++;a=_||(_=c(e)),n=p.bind(null,a,o,!1),i=p.bind(null,a,o,!0)}else a=c(e),n=m.bind(null,a,e),i=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(a)};return n(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;n(t=e)}else i()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=i());var a=r(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var n=0;n<a.length;n++){var i=s(a[n]);l[i].references--}for(var o=r(t,e),c=0;c<a.length;c++){var u=s(a[c]);0===l[u].references&&(l[u].updater(),l.splice(u,1))}a=o}}}},9980:function(t,e,a){var n;"undefined"!=typeof self&&self,n=function(t){return function(t){var e={};function a(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,a),i.l=!0,i.exports}return a.m=t,a.c=e,a.d=function(t,e,n){a.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},a.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)a.d(n,i,function(e){return t[e]}.bind(null,i));return n},a.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(e,"a",e),e},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.p="",a(a.s="fb15")}({"01f9":function(t,e,a){"use strict";var n=a("2d00"),i=a("5ca1"),o=a("2aba"),l=a("32e9"),s=a("84f2"),r=a("41a0"),c=a("7f20"),u=a("38fd"),d=a("2b4c")("iterator"),p=!([].keys&&"next"in[].keys()),m="keys",_="values",h=function(){return this};t.exports=function(t,e,a,f,v,b,g){r(a,e,f);var y,w,x,k=function(t){if(!p&&t in $)return $[t];switch(t){case m:case _:return function(){return new a(this,t)}}return function(){return new a(this,t)}},C=e+" Iterator",S=v==_,j=!1,$=t.prototype,T=$[d]||$["@@iterator"]||v&&$[v],E=T||k(v),I=v?S?k("entries"):E:void 0,D="Array"==e&&$.entries||T;if(D&&(x=u(D.call(new t)))!==Object.prototype&&x.next&&(c(x,C,!0),n||"function"==typeof x[d]||l(x,d,h)),S&&T&&T.name!==_&&(j=!0,E=function(){return T.call(this)}),n&&!g||!p&&!j&&$[d]||l($,d,E),s[e]=E,s[C]=h,v)if(y={values:S?E:k(_),keys:b?E:k(m),entries:I},g)for(w in y)w in $||o($,w,y[w]);else i(i.P+i.F*(p||j),e,y);return y}},"02f4":function(t,e,a){var n=a("4588"),i=a("be13");t.exports=function(t){return function(e,a){var o,l,s=String(i(e)),r=n(a),c=s.length;return r<0||r>=c?t?"":void 0:(o=s.charCodeAt(r))<55296||o>56319||r+1===c||(l=s.charCodeAt(r+1))<56320||l>57343?t?s.charAt(r):o:t?s.slice(r,r+2):l-56320+(o-55296<<10)+65536}}},"0390":function(t,e,a){"use strict";var n=a("02f4")(!0);t.exports=function(t,e,a){return e+(a?n(t,e).length:1)}},"0bfb":function(t,e,a){"use strict";var n=a("cb7c");t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0d58":function(t,e,a){var n=a("ce10"),i=a("e11e");t.exports=Object.keys||function(t){return n(t,i)}},1495:function(t,e,a){var n=a("86cc"),i=a("cb7c"),o=a("0d58");t.exports=a("9e1e")?Object.defineProperties:function(t,e){i(t);for(var a,l=o(e),s=l.length,r=0;s>r;)n.f(t,a=l[r++],e[a]);return t}},"214f":function(t,e,a){"use strict";a("b0c5");var n=a("2aba"),i=a("32e9"),o=a("79e5"),l=a("be13"),s=a("2b4c"),r=a("520a"),c=s("species"),u=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),d=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var a="ab".split(t);return 2===a.length&&"a"===a[0]&&"b"===a[1]}();t.exports=function(t,e,a){var p=s(t),m=!o((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),_=m?!o((function(){var e=!1,a=/a/;return a.exec=function(){return e=!0,null},"split"===t&&(a.constructor={},a.constructor[c]=function(){return a}),a[p](""),!e})):void 0;if(!m||!_||"replace"===t&&!u||"split"===t&&!d){var h=/./[p],f=a(l,p,""[t],(function(t,e,a,n,i){return e.exec===r?m&&!i?{done:!0,value:h.call(e,a,n)}:{done:!0,value:t.call(a,e,n)}:{done:!1}})),v=f[0],b=f[1];n(String.prototype,t,v),i(RegExp.prototype,p,2==e?function(t,e){return b.call(t,this,e)}:function(t){return b.call(t,this)})}}},"230e":function(t,e,a){var n=a("d3f4"),i=a("7726").document,o=n(i)&&n(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},"23c6":function(t,e,a){var n=a("2d95"),i=a("2b4c")("toStringTag"),o="Arguments"==n(function(){return arguments}());t.exports=function(t){var e,a,l;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(a=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?a:o?n(e):"Object"==(l=n(e))&&"function"==typeof e.callee?"Arguments":l}},2621:function(t,e){e.f=Object.getOwnPropertySymbols},"2aba":function(t,e,a){var n=a("7726"),i=a("32e9"),o=a("69a8"),l=a("ca5a")("src"),s=a("fa5b"),r="toString",c=(""+s).split(r);a("8378").inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,a,s){var r="function"==typeof a;r&&(o(a,"name")||i(a,"name",e)),t[e]!==a&&(r&&(o(a,l)||i(a,l,t[e]?""+t[e]:c.join(String(e)))),t===n?t[e]=a:s?t[e]?t[e]=a:i(t,e,a):(delete t[e],i(t,e,a)))})(Function.prototype,r,(function(){return"function"==typeof this&&this[l]||s.call(this)}))},"2aeb":function(t,e,a){var n=a("cb7c"),i=a("1495"),o=a("e11e"),l=a("613b")("IE_PROTO"),s=function(){},r=function(){var t,e=a("230e")("iframe"),n=o.length;for(e.style.display="none",a("fab2").appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),r=t.F;n--;)delete r.prototype[o[n]];return r()};t.exports=Object.create||function(t,e){var a;return null!==t?(s.prototype=n(t),a=new s,s.prototype=null,a[l]=t):a=r(),void 0===e?a:i(a,e)}},"2b4c":function(t,e,a){var n=a("5537")("wks"),i=a("ca5a"),o=a("7726").Symbol,l="function"==typeof o;(t.exports=function(t){return n[t]||(n[t]=l&&o[t]||(l?o:i)("Symbol."+t))}).store=n},"2d00":function(t,e){t.exports=!1},"2d95":function(t,e){var a={}.toString;t.exports=function(t){return a.call(t).slice(8,-1)}},"2fdb":function(t,e,a){"use strict";var n=a("5ca1"),i=a("d2c8"),o="includes";n(n.P+n.F*a("5147")(o),"String",{includes:function(t){return!!~i(this,t,o).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},"32e9":function(t,e,a){var n=a("86cc"),i=a("4630");t.exports=a("9e1e")?function(t,e,a){return n.f(t,e,i(1,a))}:function(t,e,a){return t[e]=a,t}},"38fd":function(t,e,a){var n=a("69a8"),i=a("4bf8"),o=a("613b")("IE_PROTO"),l=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),n(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?l:null}},"41a0":function(t,e,a){"use strict";var n=a("2aeb"),i=a("4630"),o=a("7f20"),l={};a("32e9")(l,a("2b4c")("iterator"),(function(){return this})),t.exports=function(t,e,a){t.prototype=n(l,{next:i(1,a)}),o(t,e+" Iterator")}},"456d":function(t,e,a){var n=a("4bf8"),i=a("0d58");a("5eda")("keys",(function(){return function(t){return i(n(t))}}))},4588:function(t,e){var a=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:a)(t)}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"4bf8":function(t,e,a){var n=a("be13");t.exports=function(t){return Object(n(t))}},5147:function(t,e,a){var n=a("2b4c")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(a){try{return e[n]=!1,!"/./"[t](e)}catch(t){}}return!0}},"520a":function(t,e,a){"use strict";var n,i,o=a("0bfb"),l=RegExp.prototype.exec,s=String.prototype.replace,r=l,c=(n=/a/,i=/b*/g,l.call(n,"a"),l.call(i,"a"),0!==n.lastIndex||0!==i.lastIndex),u=void 0!==/()??/.exec("")[1];(c||u)&&(r=function(t){var e,a,n,i,r=this;return u&&(a=new RegExp("^"+r.source+"$(?!\\s)",o.call(r))),c&&(e=r.lastIndex),n=l.call(r,t),c&&n&&(r.lastIndex=r.global?n.index+n[0].length:e),u&&n&&n.length>1&&s.call(n[0],a,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(n[i]=void 0)})),n}),t.exports=r},"52a7":function(t,e){e.f={}.propertyIsEnumerable},5537:function(t,e,a){var n=a("8378"),i=a("7726"),o="__core-js_shared__",l=i[o]||(i[o]={});(t.exports=function(t,e){return l[t]||(l[t]=void 0!==e?e:{})})("versions",[]).push({version:n.version,mode:a("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"5ca1":function(t,e,a){var n=a("7726"),i=a("8378"),o=a("32e9"),l=a("2aba"),s=a("9b43"),r=function(t,e,a){var c,u,d,p,m=t&r.F,_=t&r.G,h=t&r.S,f=t&r.P,v=t&r.B,b=_?n:h?n[e]||(n[e]={}):(n[e]||{}).prototype,g=_?i:i[e]||(i[e]={}),y=g.prototype||(g.prototype={});for(c in _&&(a=e),a)d=((u=!m&&b&&void 0!==b[c])?b:a)[c],p=v&&u?s(d,n):f&&"function"==typeof d?s(Function.call,d):d,b&&l(b,c,d,t&r.U),g[c]!=d&&o(g,c,p),f&&y[c]!=d&&(y[c]=d)};n.core=i,r.F=1,r.G=2,r.S=4,r.P=8,r.B=16,r.W=32,r.U=64,r.R=128,t.exports=r},"5eda":function(t,e,a){var n=a("5ca1"),i=a("8378"),o=a("79e5");t.exports=function(t,e){var a=(i.Object||{})[t]||Object[t],l={};l[t]=e(a),n(n.S+n.F*o((function(){a(1)})),"Object",l)}},"5f1b":function(t,e,a){"use strict";var n=a("23c6"),i=RegExp.prototype.exec;t.exports=function(t,e){var a=t.exec;if("function"==typeof a){var o=a.call(t,e);if("object"!=typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==n(t))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},"613b":function(t,e,a){var n=a("5537")("keys"),i=a("ca5a");t.exports=function(t){return n[t]||(n[t]=i(t))}},"626a":function(t,e,a){var n=a("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},6762:function(t,e,a){"use strict";var n=a("5ca1"),i=a("c366")(!0);n(n.P,"Array",{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),a("9c6c")("includes")},6821:function(t,e,a){var n=a("626a"),i=a("be13");t.exports=function(t){return n(i(t))}},"69a8":function(t,e){var a={}.hasOwnProperty;t.exports=function(t,e){return a.call(t,e)}},"6a99":function(t,e,a){var n=a("d3f4");t.exports=function(t,e){if(!n(t))return t;var a,i;if(e&&"function"==typeof(a=t.toString)&&!n(i=a.call(t)))return i;if("function"==typeof(a=t.valueOf)&&!n(i=a.call(t)))return i;if(!e&&"function"==typeof(a=t.toString)&&!n(i=a.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},7333:function(t,e,a){"use strict";var n=a("0d58"),i=a("2621"),o=a("52a7"),l=a("4bf8"),s=a("626a"),r=Object.assign;t.exports=!r||a("79e5")((function(){var t={},e={},a=Symbol(),n="abcdefghijklmnopqrst";return t[a]=7,n.split("").forEach((function(t){e[t]=t})),7!=r({},t)[a]||Object.keys(r({},e)).join("")!=n}))?function(t,e){for(var a=l(t),r=arguments.length,c=1,u=i.f,d=o.f;r>c;)for(var p,m=s(arguments[c++]),_=u?n(m).concat(u(m)):n(m),h=_.length,f=0;h>f;)d.call(m,p=_[f++])&&(a[p]=m[p]);return a}:r},7726:function(t,e){var a=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=a)},"77f1":function(t,e,a){var n=a("4588"),i=Math.max,o=Math.min;t.exports=function(t,e){return(t=n(t))<0?i(t+e,0):o(t,e)}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},"7f20":function(t,e,a){var n=a("86cc").f,i=a("69a8"),o=a("2b4c")("toStringTag");t.exports=function(t,e,a){t&&!i(t=a?t:t.prototype,o)&&n(t,o,{configurable:!0,value:e})}},8378:function(t,e){var a=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=a)},"84f2":function(t,e){t.exports={}},"86cc":function(t,e,a){var n=a("cb7c"),i=a("c69a"),o=a("6a99"),l=Object.defineProperty;e.f=a("9e1e")?Object.defineProperty:function(t,e,a){if(n(t),e=o(e,!0),n(a),i)try{return l(t,e,a)}catch(t){}if("get"in a||"set"in a)throw TypeError("Accessors not supported!");return"value"in a&&(t[e]=a.value),t}},"9b43":function(t,e,a){var n=a("d8e8");t.exports=function(t,e,a){if(n(t),void 0===e)return t;switch(a){case 1:return function(a){return t.call(e,a)};case 2:return function(a,n){return t.call(e,a,n)};case 3:return function(a,n,i){return t.call(e,a,n,i)}}return function(){return t.apply(e,arguments)}}},"9c6c":function(t,e,a){var n=a("2b4c")("unscopables"),i=Array.prototype;null==i[n]&&a("32e9")(i,n,{}),t.exports=function(t){i[n][t]=!0}},"9def":function(t,e,a){var n=a("4588"),i=Math.min;t.exports=function(t){return t>0?i(n(t),9007199254740991):0}},"9e1e":function(t,e,a){t.exports=!a("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},a352:function(e,a){e.exports=t},a481:function(t,e,a){"use strict";var n=a("cb7c"),i=a("4bf8"),o=a("9def"),l=a("4588"),s=a("0390"),r=a("5f1b"),c=Math.max,u=Math.min,d=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,m=/\$([$&`']|\d\d?)/g;a("214f")("replace",2,(function(t,e,a,_){return[function(n,i){var o=t(this),l=null==n?void 0:n[e];return void 0!==l?l.call(n,o,i):a.call(String(o),n,i)},function(t,e){var i=_(a,t,this,e);if(i.done)return i.value;var d=n(t),p=String(this),m="function"==typeof e;m||(e=String(e));var f=d.global;if(f){var v=d.unicode;d.lastIndex=0}for(var b=[];;){var g=r(d,p);if(null===g)break;if(b.push(g),!f)break;""===String(g[0])&&(d.lastIndex=s(p,o(d.lastIndex),v))}for(var y,w="",x=0,k=0;k<b.length;k++){g=b[k];for(var C=String(g[0]),S=c(u(l(g.index),p.length),0),j=[],$=1;$<g.length;$++)j.push(void 0===(y=g[$])?y:String(y));var T=g.groups;if(m){var E=[C].concat(j,S,p);void 0!==T&&E.push(T);var I=String(e.apply(void 0,E))}else I=h(C,p,S,j,T,e);S>=x&&(w+=p.slice(x,S)+I,x=S+C.length)}return w+p.slice(x)}];function h(t,e,n,o,l,s){var r=n+t.length,c=o.length,u=m;return void 0!==l&&(l=i(l),u=p),a.call(s,u,(function(a,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(r);case"<":s=l[i.slice(1,-1)];break;default:var u=+i;if(0===u)return a;if(u>c){var p=d(u/10);return 0===p?a:p<=c?void 0===o[p-1]?i.charAt(1):o[p-1]+i.charAt(1):a}s=o[u-1]}return void 0===s?"":s}))}}))},aae3:function(t,e,a){var n=a("d3f4"),i=a("2d95"),o=a("2b4c")("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},ac6a:function(t,e,a){for(var n=a("cadf"),i=a("0d58"),o=a("2aba"),l=a("7726"),s=a("32e9"),r=a("84f2"),c=a("2b4c"),u=c("iterator"),d=c("toStringTag"),p=r.Array,m={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},_=i(m),h=0;h<_.length;h++){var f,v=_[h],b=m[v],g=l[v],y=g&&g.prototype;if(y&&(y[u]||s(y,u,p),y[d]||s(y,d,v),r[v]=p,b))for(f in n)y[f]||o(y,f,n[f],!0)}},b0c5:function(t,e,a){"use strict";var n=a("520a");a("5ca1")({target:"RegExp",proto:!0,forced:n!==/./.exec},{exec:n})},be13:function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},c366:function(t,e,a){var n=a("6821"),i=a("9def"),o=a("77f1");t.exports=function(t){return function(e,a,l){var s,r=n(e),c=i(r.length),u=o(l,c);if(t&&a!=a){for(;c>u;)if((s=r[u++])!=s)return!0}else for(;c>u;u++)if((t||u in r)&&r[u]===a)return t||u||0;return!t&&-1}}},c649:function(t,e,a){"use strict";(function(t){a.d(e,"c",(function(){return c})),a.d(e,"a",(function(){return s})),a.d(e,"b",(function(){return o})),a.d(e,"d",(function(){return r})),a("a481");var n,i,o="undefined"!=typeof window?window.console:t.console,l=/-(\w)/g,s=(n=function(t){return t.replace(l,(function(t,e){return e?e.toUpperCase():""}))},i=Object.create(null),function(t){return i[t]||(i[t]=n(t))});function r(t){null!==t.parentElement&&t.parentElement.removeChild(t)}function c(t,e,a){var n=0===a?t.children[0]:t.children[a-1].nextSibling;t.insertBefore(e,n)}}).call(this,a("c8ba"))},c69a:function(t,e,a){t.exports=!a("9e1e")&&!a("79e5")((function(){return 7!=Object.defineProperty(a("230e")("div"),"a",{get:function(){return 7}}).a}))},c8ba:function(t,e){var a;a=function(){return this}();try{a=a||new Function("return this")()}catch(t){"object"==typeof window&&(a=window)}t.exports=a},ca5a:function(t,e){var a=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++a+n).toString(36))}},cadf:function(t,e,a){"use strict";var n=a("9c6c"),i=a("d53b"),o=a("84f2"),l=a("6821");t.exports=a("01f9")(Array,"Array",(function(t,e){this._t=l(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,a=this._i++;return!t||a>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?a:"values"==e?t[a]:[a,t[a]])}),"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},cb7c:function(t,e,a){var n=a("d3f4");t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},ce10:function(t,e,a){var n=a("69a8"),i=a("6821"),o=a("c366")(!1),l=a("613b")("IE_PROTO");t.exports=function(t,e){var a,s=i(t),r=0,c=[];for(a in s)a!=l&&n(s,a)&&c.push(a);for(;e.length>r;)n(s,a=e[r++])&&(~o(c,a)||c.push(a));return c}},d2c8:function(t,e,a){var n=a("aae3"),i=a("be13");t.exports=function(t,e,a){if(n(e))throw TypeError("String#"+a+" doesn't accept regex!");return String(i(t))}},d3f4:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},d53b:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},f559:function(t,e,a){"use strict";var n=a("5ca1"),i=a("9def"),o=a("d2c8"),l="startsWith",s="".startsWith;n(n.P+n.F*a("5147")(l),"String",{startsWith:function(t){var e=o(this,t,l),a=i(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),n=String(t);return s?s.call(e,n,a):e.slice(a,a+n.length)===n}})},f6fd:function(t,e){!function(t){var e="currentScript",a=t.getElementsByTagName("script");e in t||Object.defineProperty(t,e,{get:function(){try{throw new Error}catch(n){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(n.stack)||[!1])[1];for(t in a)if(a[t].src==e||"interactive"==a[t].readyState)return a[t];return null}}})}(document)},f751:function(t,e,a){var n=a("5ca1");n(n.S+n.F,"Object",{assign:a("7333")})},fa5b:function(t,e,a){t.exports=a("5537")("native-function-to-string",Function.toString)},fab2:function(t,e,a){var n=a("7726").document;t.exports=n&&n.documentElement},fb15:function(t,e,a){"use strict";var n;function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,n=new Array(e);a<e;a++)n[a]=t[a];return n}function o(t,e){if(t){if("string"==typeof t)return i(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?i(t,e):void 0}}function l(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var a=[],n=!0,i=!1,o=void 0;try{for(var l,s=t[Symbol.iterator]();!(n=(l=s.next()).done)&&(a.push(l.value),!e||a.length!==e);n=!0);}catch(t){i=!0,o=t}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return a}}(t,e)||o(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t){return function(t){if(Array.isArray(t))return i(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||o(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}a.r(e),"undefined"!=typeof window&&(a("f6fd"),(n=window.document.currentScript)&&(n=n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(a.p=n[1])),a("f751"),a("f559"),a("ac6a"),a("cadf"),a("456d"),a("6762"),a("2fdb");var r=a("a352"),c=a.n(r),u=a("c649");function d(t,e){var a=this;this.$nextTick((function(){return a.$emit(t.toLowerCase(),e)}))}function p(t){var e=this;return function(a){null!==e.realList&&e["onDrag"+t](a),d.call(e,t,a)}}function m(t){return["transition-group","TransitionGroup"].includes(t)}function _(t,e,a){return t[a]||(e[a]?e[a]():void 0)}var h=["Start","Add","Remove","Update","End"],f=["Choose","Unchoose","Sort","Filter","Clone"],v=["Move"].concat(h,f).map((function(t){return"on"+t})),b=null,g={name:"draggable",inheritAttrs:!1,props:{options:Object,list:{type:Array,required:!1,default:null},value:{type:Array,required:!1,default:null},noTransitionOnDrag:{type:Boolean,default:!1},clone:{type:Function,default:function(t){return t}},element:{type:String,default:"div"},tag:{type:String,default:null},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},data:function(){return{transitionMode:!1,noneFunctionalComponentMode:!1}},render:function(t){var e=this.$slots.default;this.transitionMode=function(t){if(!t||1!==t.length)return!1;var e=l(t,1)[0].componentOptions;return!!e&&m(e.tag)}(e);var a=function(t,e,a){var n=0,i=0,o=_(e,a,"header");o&&(n=o.length,t=t?[].concat(s(o),s(t)):s(o));var l=_(e,a,"footer");return l&&(i=l.length,t=t?[].concat(s(t),s(l)):s(l)),{children:t,headerOffset:n,footerOffset:i}}(e,this.$slots,this.$scopedSlots),n=a.children,i=a.headerOffset,o=a.footerOffset;this.headerOffset=i,this.footerOffset=o;var r=function(t,e){var a=null,n=function(t,e){a=function(t,e,a){return void 0===a||((t=t||{})[e]=a),t}(a,t,e)};if(n("attrs",Object.keys(t).filter((function(t){return"id"===t||t.startsWith("data-")})).reduce((function(e,a){return e[a]=t[a],e}),{})),!e)return a;var i=e.on,o=e.props,l=e.attrs;return n("on",i),n("props",o),Object.assign(a.attrs,l),a}(this.$attrs,this.componentData);return t(this.getTag(),r,n)},created:function(){null!==this.list&&null!==this.value&&u.b.error("Value and list props are mutually exclusive! Please set one or another."),"div"!==this.element&&u.b.warn("Element props is deprecated please use tag props instead. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#element-props"),void 0!==this.options&&u.b.warn("Options props is deprecated, add sortable options directly as vue.draggable item, or use v-bind. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#options-props")},mounted:function(){var t=this;if(this.noneFunctionalComponentMode=this.getTag().toLowerCase()!==this.$el.nodeName.toLowerCase()&&!this.getIsFunctional(),this.noneFunctionalComponentMode&&this.transitionMode)throw new Error("Transition-group inside component is not supported. Please alter tag value or remove transition-group. Current tag value: ".concat(this.getTag()));var e={};h.forEach((function(a){e["on"+a]=p.call(t,a)})),f.forEach((function(a){e["on"+a]=d.bind(t,a)}));var a=Object.keys(this.$attrs).reduce((function(e,a){return e[Object(u.a)(a)]=t.$attrs[a],e}),{}),n=Object.assign({},this.options,a,e,{onMove:function(e,a){return t.onDragMove(e,a)}});!("draggable"in n)&&(n.draggable=">*"),this._sortable=new c.a(this.rootContainer,n),this.computeIndexes()},beforeDestroy:function(){void 0!==this._sortable&&this._sortable.destroy()},computed:{rootContainer:function(){return this.transitionMode?this.$el.children[0]:this.$el},realList:function(){return this.list?this.list:this.value}},watch:{options:{handler:function(t){this.updateOptions(t)},deep:!0},$attrs:{handler:function(t){this.updateOptions(t)},deep:!0},realList:function(){this.computeIndexes()}},methods:{getIsFunctional:function(){var t=this._vnode.fnOptions;return t&&t.functional},getTag:function(){return this.tag||this.element},updateOptions:function(t){for(var e in t){var a=Object(u.a)(e);-1===v.indexOf(a)&&this._sortable.option(a,t[e])}},getChildrenNodes:function(){if(this.noneFunctionalComponentMode)return this.$children[0].$slots.default;var t=this.$slots.default;return this.transitionMode?t[0].child.$slots.default:t},computeIndexes:function(){var t=this;this.$nextTick((function(){t.visibleIndexes=function(t,e,a,n){if(!t)return[];var i=t.map((function(t){return t.elm})),o=e.length-n,l=s(e).map((function(t,e){return e>=o?i.length:i.indexOf(t)}));return a?l.filter((function(t){return-1!==t})):l}(t.getChildrenNodes(),t.rootContainer.children,t.transitionMode,t.footerOffset)}))},getUnderlyingVm:function(t){var e=function(t,e){return t.map((function(t){return t.elm})).indexOf(e)}(this.getChildrenNodes()||[],t);return-1===e?null:{index:e,element:this.realList[e]}},getUnderlyingPotencialDraggableComponent:function(t){var e=t.__vue__;return e&&e.$options&&m(e.$options._componentTag)?e.$parent:!("realList"in e)&&1===e.$children.length&&"realList"in e.$children[0]?e.$children[0]:e},emitChanges:function(t){var e=this;this.$nextTick((function(){e.$emit("change",t)}))},alterList:function(t){if(this.list)t(this.list);else{var e=s(this.value);t(e),this.$emit("input",e)}},spliceList:function(){var t=arguments,e=function(e){return e.splice.apply(e,s(t))};this.alterList(e)},updatePosition:function(t,e){var a=function(a){return a.splice(e,0,a.splice(t,1)[0])};this.alterList(a)},getRelatedContextFromMoveEvent:function(t){var e=t.to,a=t.related,n=this.getUnderlyingPotencialDraggableComponent(e);if(!n)return{component:n};var i=n.realList,o={list:i,component:n};if(e!==a&&i&&n.getUnderlyingVm){var l=n.getUnderlyingVm(a);if(l)return Object.assign(l,o)}return o},getVmIndex:function(t){var e=this.visibleIndexes,a=e.length;return t>a-1?a:e[t]},getComponent:function(){return this.$slots.default[0].componentInstance},resetTransitionData:function(t){if(this.noTransitionOnDrag&&this.transitionMode){this.getChildrenNodes()[t].data=null;var e=this.getComponent();e.children=[],e.kept=void 0}},onDragStart:function(t){this.context=this.getUnderlyingVm(t.item),t.item._underlying_vm_=this.clone(this.context.element),b=t.item},onDragAdd:function(t){var e=t.item._underlying_vm_;if(void 0!==e){Object(u.d)(t.item);var a=this.getVmIndex(t.newIndex);this.spliceList(a,0,e),this.computeIndexes();var n={element:e,newIndex:a};this.emitChanges({added:n})}},onDragRemove:function(t){if(Object(u.c)(this.rootContainer,t.item,t.oldIndex),"clone"!==t.pullMode){var e=this.context.index;this.spliceList(e,1);var a={element:this.context.element,oldIndex:e};this.resetTransitionData(e),this.emitChanges({removed:a})}else Object(u.d)(t.clone)},onDragUpdate:function(t){Object(u.d)(t.item),Object(u.c)(t.from,t.item,t.oldIndex);var e=this.context.index,a=this.getVmIndex(t.newIndex);this.updatePosition(e,a);var n={element:this.context.element,oldIndex:e,newIndex:a};this.emitChanges({moved:n})},updateProperty:function(t,e){t.hasOwnProperty(e)&&(t[e]+=this.headerOffset)},computeFutureIndex:function(t,e){if(!t.element)return 0;var a=s(e.to.children).filter((function(t){return"none"!==t.style.display})),n=a.indexOf(e.related),i=t.component.getVmIndex(n);return-1===a.indexOf(b)&&e.willInsertAfter?i+1:i},onDragMove:function(t,e){var a=this.move;if(!a||!this.realList)return!0;var n=this.getRelatedContextFromMoveEvent(t),i=this.context,o=this.computeFutureIndex(n,t);return Object.assign(i,{futureIndex:o}),a(Object.assign({},t,{relatedContext:n,draggedContext:i}),e)},onDragEnd:function(){this.computeIndexes(),b=null}}};"undefined"!=typeof window&&"Vue"in window&&window.Vue.component("draggable",g);var y=g;e.default=y}}).default},t.exports=n(a(8244))},8244:(t,e,a)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function i(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function o(){return o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(t[n]=a[n])}return t},o.apply(this,arguments)}function l(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{},n=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(a).filter((function(t){return Object.getOwnPropertyDescriptor(a,t).enumerable})))),n.forEach((function(e){i(t,e,a[e])}))}return t}function s(t,e){if(null==t)return{};var a,n,i=function(t,e){if(null==t)return{};var a,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)a=o[n],e.indexOf(a)>=0||(i[a]=t[a]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)a=o[n],e.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(t,a)&&(i[a]=t[a])}return i}function r(t){return function(t){if(Array.isArray(t)){for(var e=0,a=new Array(t.length);e<t.length;e++)a[e]=t[e];return a}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}a.r(e),a.d(e,{MultiDrag:()=>ge,Sortable:()=>Lt,Swap:()=>re,default:()=>xe});function c(t){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(t)}var u=c(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),d=c(/Edge/i),p=c(/firefox/i),m=c(/safari/i)&&!c(/chrome/i)&&!c(/android/i),_=c(/iP(ad|od|hone)/i),h=c(/chrome/i)&&c(/android/i),f={capture:!1,passive:!1};function v(t,e,a){t.addEventListener(e,a,!u&&f)}function b(t,e,a){t.removeEventListener(e,a,!u&&f)}function g(t,e){if(e){if(">"===e[0]&&(e=e.substring(1)),t)try{if(t.matches)return t.matches(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e)}catch(t){return!1}return!1}}function y(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function w(t,e,a,n){if(t){a=a||document;do{if(null!=e&&(">"===e[0]?t.parentNode===a&&g(t,e):g(t,e))||n&&t===a)return t;if(t===a)break}while(t=y(t))}return null}var x,k=/\s+/g;function C(t,e,a){if(t&&e)if(t.classList)t.classList[a?"add":"remove"](e);else{var n=(" "+t.className+" ").replace(k," ").replace(" "+e+" "," ");t.className=(n+(a?" "+e:"")).replace(k," ")}}function S(t,e,a){var n=t&&t.style;if(n){if(void 0===a)return document.defaultView&&document.defaultView.getComputedStyle?a=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(a=t.currentStyle),void 0===e?a:a[e];e in n||-1!==e.indexOf("webkit")||(e="-webkit-"+e),n[e]=a+("string"==typeof a?"":"px")}}function j(t,e){var a="";if("string"==typeof t)a=t;else do{var n=S(t,"transform");n&&"none"!==n&&(a=n+" "+a)}while(!e&&(t=t.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(a)}function $(t,e,a){if(t){var n=t.getElementsByTagName(e),i=0,o=n.length;if(a)for(;i<o;i++)a(n[i],i);return n}return[]}function T(){var t=document.scrollingElement;return t||document.documentElement}function E(t,e,a,n,i){if(t.getBoundingClientRect||t===window){var o,l,s,r,c,d,p;if(t!==window&&t!==T()?(l=(o=t.getBoundingClientRect()).top,s=o.left,r=o.bottom,c=o.right,d=o.height,p=o.width):(l=0,s=0,r=window.innerHeight,c=window.innerWidth,d=window.innerHeight,p=window.innerWidth),(e||a)&&t!==window&&(i=i||t.parentNode,!u))do{if(i&&i.getBoundingClientRect&&("none"!==S(i,"transform")||a&&"static"!==S(i,"position"))){var m=i.getBoundingClientRect();l-=m.top+parseInt(S(i,"border-top-width")),s-=m.left+parseInt(S(i,"border-left-width")),r=l+o.height,c=s+o.width;break}}while(i=i.parentNode);if(n&&t!==window){var _=j(i||t),h=_&&_.a,f=_&&_.d;_&&(r=(l/=f)+(d/=f),c=(s/=h)+(p/=h))}return{top:l,left:s,bottom:r,right:c,width:p,height:d}}}function I(t,e,a){for(var n=O(t,!0),i=E(t)[e];n;){var o=E(n)[a];if(!("top"===a||"left"===a?i>=o:i<=o))return n;if(n===T())break;n=O(n,!1)}return!1}function D(t,e,a){for(var n=0,i=0,o=t.children;i<o.length;){if("none"!==o[i].style.display&&o[i]!==Lt.ghost&&o[i]!==Lt.dragged&&w(o[i],a.draggable,t,!1)){if(n===e)return o[i];n++}i++}return null}function P(t,e){for(var a=t.lastElementChild;a&&(a===Lt.ghost||"none"===S(a,"display")||e&&!g(a,e));)a=a.previousElementSibling;return a||null}function A(t,e){var a=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)"TEMPLATE"===t.nodeName.toUpperCase()||t===Lt.clone||e&&!g(t,e)||a++;return a}function N(t){var e=0,a=0,n=T();if(t)do{var i=j(t),o=i.a,l=i.d;e+=t.scrollLeft*o,a+=t.scrollTop*l}while(t!==n&&(t=t.parentNode));return[e,a]}function O(t,e){if(!t||!t.getBoundingClientRect)return T();var a=t,n=!1;do{if(a.clientWidth<a.scrollWidth||a.clientHeight<a.scrollHeight){var i=S(a);if(a.clientWidth<a.scrollWidth&&("auto"==i.overflowX||"scroll"==i.overflowX)||a.clientHeight<a.scrollHeight&&("auto"==i.overflowY||"scroll"==i.overflowY)){if(!a.getBoundingClientRect||a===document.body)return T();if(n||e)return a;n=!0}}}while(a=a.parentNode);return T()}function M(t,e){return Math.round(t.top)===Math.round(e.top)&&Math.round(t.left)===Math.round(e.left)&&Math.round(t.height)===Math.round(e.height)&&Math.round(t.width)===Math.round(e.width)}function F(t,e){return function(){if(!x){var a=arguments,n=this;1===a.length?t.call(n,a[0]):t.apply(n,a),x=setTimeout((function(){x=void 0}),e)}}}function z(t,e,a){t.scrollLeft+=e,t.scrollTop+=a}function B(t){var e=window.Polymer,a=window.jQuery||window.Zepto;return e&&e.dom?e.dom(t).cloneNode(!0):a?a(t).clone(!0)[0]:t.cloneNode(!0)}function L(t,e){S(t,"position","absolute"),S(t,"top",e.top),S(t,"left",e.left),S(t,"width",e.width),S(t,"height",e.height)}function R(t){S(t,"position",""),S(t,"top",""),S(t,"left",""),S(t,"width",""),S(t,"height","")}var H="Sortable"+(new Date).getTime();function W(){var t,e=[];return{captureAnimationState:function(){(e=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(t){if("none"!==S(t,"display")&&t!==Lt.ghost){e.push({target:t,rect:E(t)});var a=l({},e[e.length-1].rect);if(t.thisAnimationDuration){var n=j(t,!0);n&&(a.top-=n.f,a.left-=n.e)}t.fromRect=a}}))},addAnimationState:function(t){e.push(t)},removeAnimationState:function(t){e.splice(function(t,e){for(var a in t)if(t.hasOwnProperty(a))for(var n in e)if(e.hasOwnProperty(n)&&e[n]===t[a][n])return Number(a);return-1}(e,{target:t}),1)},animateAll:function(a){var n=this;if(!this.options.animation)return clearTimeout(t),void("function"==typeof a&&a());var i=!1,o=0;e.forEach((function(t){var e=0,a=t.target,l=a.fromRect,s=E(a),r=a.prevFromRect,c=a.prevToRect,u=t.rect,d=j(a,!0);d&&(s.top-=d.f,s.left-=d.e),a.toRect=s,a.thisAnimationDuration&&M(r,s)&&!M(l,s)&&(u.top-s.top)/(u.left-s.left)==(l.top-s.top)/(l.left-s.left)&&(e=function(t,e,a,n){return Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))/Math.sqrt(Math.pow(e.top-a.top,2)+Math.pow(e.left-a.left,2))*n.animation}(u,r,c,n.options)),M(s,l)||(a.prevFromRect=l,a.prevToRect=s,e||(e=n.options.animation),n.animate(a,u,s,e)),e&&(i=!0,o=Math.max(o,e),clearTimeout(a.animationResetTimer),a.animationResetTimer=setTimeout((function(){a.animationTime=0,a.prevFromRect=null,a.fromRect=null,a.prevToRect=null,a.thisAnimationDuration=null}),e),a.thisAnimationDuration=e)})),clearTimeout(t),i?t=setTimeout((function(){"function"==typeof a&&a()}),o):"function"==typeof a&&a(),e=[]},animate:function(t,e,a,n){if(n){S(t,"transition",""),S(t,"transform","");var i=j(this.el),o=i&&i.a,l=i&&i.d,s=(e.left-a.left)/(o||1),r=(e.top-a.top)/(l||1);t.animatingX=!!s,t.animatingY=!!r,S(t,"transform","translate3d("+s+"px,"+r+"px,0)"),function(t){t.offsetWidth}(t),S(t,"transition","transform "+n+"ms"+(this.options.easing?" "+this.options.easing:"")),S(t,"transform","translate3d(0,0,0)"),"number"==typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout((function(){S(t,"transition",""),S(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1}),n)}}}}var q=[],V={initializeByDefault:!0},U={mount:function(t){for(var e in V)V.hasOwnProperty(e)&&!(e in t)&&(t[e]=V[e]);q.push(t)},pluginEvent:function(t,e,a){var n=this;this.eventCanceled=!1,a.cancel=function(){n.eventCanceled=!0};var i=t+"Global";q.forEach((function(n){e[n.pluginName]&&(e[n.pluginName][i]&&e[n.pluginName][i](l({sortable:e},a)),e.options[n.pluginName]&&e[n.pluginName][t]&&e[n.pluginName][t](l({sortable:e},a)))}))},initializePlugins:function(t,e,a,n){for(var i in q.forEach((function(n){var i=n.pluginName;if(t.options[i]||n.initializeByDefault){var l=new n(t,e,t.options);l.sortable=t,l.options=t.options,t[i]=l,o(a,l.defaults)}})),t.options)if(t.options.hasOwnProperty(i)){var l=this.modifyOption(t,i,t.options[i]);void 0!==l&&(t.options[i]=l)}},getEventProperties:function(t,e){var a={};return q.forEach((function(n){"function"==typeof n.eventProperties&&o(a,n.eventProperties.call(e[n.pluginName],t))})),a},modifyOption:function(t,e,a){var n;return q.forEach((function(i){t[i.pluginName]&&i.optionListeners&&"function"==typeof i.optionListeners[e]&&(n=i.optionListeners[e].call(t[i.pluginName],a))})),n}};function Y(t){var e=t.sortable,a=t.rootEl,n=t.name,i=t.targetEl,o=t.cloneEl,s=t.toEl,r=t.fromEl,c=t.oldIndex,p=t.newIndex,m=t.oldDraggableIndex,_=t.newDraggableIndex,h=t.originalEvent,f=t.putSortable,v=t.extraEventProperties;if(e=e||a&&a[H]){var b,g=e.options,y="on"+n.charAt(0).toUpperCase()+n.substr(1);!window.CustomEvent||u||d?(b=document.createEvent("Event")).initEvent(n,!0,!0):b=new CustomEvent(n,{bubbles:!0,cancelable:!0}),b.to=s||a,b.from=r||a,b.item=i||a,b.clone=o,b.oldIndex=c,b.newIndex=p,b.oldDraggableIndex=m,b.newDraggableIndex=_,b.originalEvent=h,b.pullMode=f?f.lastPutMode:void 0;var w=l({},v,U.getEventProperties(n,e));for(var x in w)b[x]=w[x];a&&a.dispatchEvent(b),g[y]&&g[y].call(e,b)}}var Z=function(t,e){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=a.evt,i=s(a,["evt"]);U.pluginEvent.bind(Lt)(t,e,l({dragEl:Q,parentEl:X,ghostEl:G,rootEl:K,nextEl:tt,lastDownEl:et,cloneEl:at,cloneHidden:nt,dragStarted:ft,putSortable:ct,activeSortable:Lt.active,originalEvent:n,oldIndex:it,oldDraggableIndex:lt,newIndex:ot,newDraggableIndex:st,hideGhostForTarget:Mt,unhideGhostForTarget:Ft,cloneNowHidden:function(){nt=!0},cloneNowShown:function(){nt=!1},dispatchSortableEvent:function(t){J({sortable:e,name:t,originalEvent:n})}},i))};function J(t){Y(l({putSortable:ct,cloneEl:at,targetEl:Q,rootEl:K,oldIndex:it,oldDraggableIndex:lt,newIndex:ot,newDraggableIndex:st},t))}var Q,X,G,K,tt,et,at,nt,it,ot,lt,st,rt,ct,ut,dt,pt,mt,_t,ht,ft,vt,bt,gt,yt,wt=!1,xt=!1,kt=[],Ct=!1,St=!1,jt=[],$t=!1,Tt=[],Et="undefined"!=typeof document,It=_,Dt=d||u?"cssFloat":"float",Pt=Et&&!h&&!_&&"draggable"in document.createElement("div"),At=function(){if(Et){if(u)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),Nt=function(t,e){var a=S(t),n=parseInt(a.width)-parseInt(a.paddingLeft)-parseInt(a.paddingRight)-parseInt(a.borderLeftWidth)-parseInt(a.borderRightWidth),i=D(t,0,e),o=D(t,1,e),l=i&&S(i),s=o&&S(o),r=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+E(i).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+E(o).width;if("flex"===a.display)return"column"===a.flexDirection||"column-reverse"===a.flexDirection?"vertical":"horizontal";if("grid"===a.display)return a.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(i&&l.float&&"none"!==l.float){var u="left"===l.float?"left":"right";return!o||"both"!==s.clear&&s.clear!==u?"horizontal":"vertical"}return i&&("block"===l.display||"flex"===l.display||"table"===l.display||"grid"===l.display||r>=n&&"none"===a[Dt]||o&&"none"===a[Dt]&&r+c>n)?"vertical":"horizontal"},Ot=function(t){function e(t,a){return function(n,i,o,l){var s=n.options.group.name&&i.options.group.name&&n.options.group.name===i.options.group.name;if(null==t&&(a||s))return!0;if(null==t||!1===t)return!1;if(a&&"clone"===t)return t;if("function"==typeof t)return e(t(n,i,o,l),a)(n,i,o,l);var r=(a?n:i).options.group.name;return!0===t||"string"==typeof t&&t===r||t.join&&t.indexOf(r)>-1}}var a={},i=t.group;i&&"object"==n(i)||(i={name:i}),a.name=i.name,a.checkPull=e(i.pull,!0),a.checkPut=e(i.put),a.revertClone=i.revertClone,t.group=a},Mt=function(){!At&&G&&S(G,"display","none")},Ft=function(){!At&&G&&S(G,"display","")};Et&&document.addEventListener("click",(function(t){if(xt)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),xt=!1,!1}),!0);var zt=function(t){if(Q){t=t.touches?t.touches[0]:t;var e=(i=t.clientX,o=t.clientY,kt.some((function(t){if(!P(t)){var e=E(t),a=t[H].options.emptyInsertThreshold,n=i>=e.left-a&&i<=e.right+a,s=o>=e.top-a&&o<=e.bottom+a;return a&&n&&s?l=t:void 0}})),l);if(e){var a={};for(var n in t)t.hasOwnProperty(n)&&(a[n]=t[n]);a.target=a.rootEl=e,a.preventDefault=void 0,a.stopPropagation=void 0,e[H]._onDragOver(a)}}var i,o,l},Bt=function(t){Q&&Q.parentNode[H]._isOutsideThisEl(t.target)};function Lt(t,e){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=e=o({},e),t[H]=this;var a={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Nt(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,e){t.setData("Text",e.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Lt.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var n in U.initializePlugins(this,t,a),a)!(n in e)&&(e[n]=a[n]);for(var i in Ot(e),this)"_"===i.charAt(0)&&"function"==typeof this[i]&&(this[i]=this[i].bind(this));this.nativeDraggable=!e.forceFallback&&Pt,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?v(t,"pointerdown",this._onTapStart):(v(t,"mousedown",this._onTapStart),v(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(v(t,"dragover",this),v(t,"dragenter",this)),kt.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),o(this,W())}function Rt(t,e,a,n,i,o,l,s){var r,c,p=t[H],m=p.options.onMove;return!window.CustomEvent||u||d?(r=document.createEvent("Event")).initEvent("move",!0,!0):r=new CustomEvent("move",{bubbles:!0,cancelable:!0}),r.to=e,r.from=t,r.dragged=a,r.draggedRect=n,r.related=i||e,r.relatedRect=o||E(e),r.willInsertAfter=s,r.originalEvent=l,t.dispatchEvent(r),m&&(c=m.call(p,r,l)),c}function Ht(t){t.draggable=!1}function Wt(){$t=!1}function qt(t){for(var e=t.tagName+t.className+t.src+t.href+t.textContent,a=e.length,n=0;a--;)n+=e.charCodeAt(a);return n.toString(36)}function Vt(t){return setTimeout(t,0)}function Ut(t){return clearTimeout(t)}Lt.prototype={constructor:Lt,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(vt=null)},_getDirection:function(t,e){return"function"==typeof this.options.direction?this.options.direction.call(this,t,e,Q):this.options.direction},_onTapStart:function(t){if(t.cancelable){var e=this,a=this.el,n=this.options,i=n.preventOnFilter,o=t.type,l=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,s=(l||t).target,r=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,c=n.filter;if(function(t){Tt.length=0;var e=t.getElementsByTagName("input"),a=e.length;for(;a--;){var n=e[a];n.checked&&Tt.push(n)}}(a),!Q&&!(/mousedown|pointerdown/.test(o)&&0!==t.button||n.disabled||r.isContentEditable||(s=w(s,n.draggable,a,!1))&&s.animated||et===s)){if(it=A(s),lt=A(s,n.draggable),"function"==typeof c){if(c.call(this,t,s,this))return J({sortable:e,rootEl:r,name:"filter",targetEl:s,toEl:a,fromEl:a}),Z("filter",e,{evt:t}),void(i&&t.cancelable&&t.preventDefault())}else if(c&&(c=c.split(",").some((function(n){if(n=w(r,n.trim(),a,!1))return J({sortable:e,rootEl:n,name:"filter",targetEl:s,fromEl:a,toEl:a}),Z("filter",e,{evt:t}),!0}))))return void(i&&t.cancelable&&t.preventDefault());n.handle&&!w(r,n.handle,a,!1)||this._prepareDragStart(t,l,s)}}},_prepareDragStart:function(t,e,a){var n,i=this,o=i.el,l=i.options,s=o.ownerDocument;if(a&&!Q&&a.parentNode===o){var r=E(a);if(K=o,X=(Q=a).parentNode,tt=Q.nextSibling,et=a,rt=l.group,Lt.dragged=Q,ut={target:Q,clientX:(e||t).clientX,clientY:(e||t).clientY},_t=ut.clientX-r.left,ht=ut.clientY-r.top,this._lastX=(e||t).clientX,this._lastY=(e||t).clientY,Q.style["will-change"]="all",n=function(){Z("delayEnded",i,{evt:t}),Lt.eventCanceled?i._onDrop():(i._disableDelayedDragEvents(),!p&&i.nativeDraggable&&(Q.draggable=!0),i._triggerDragStart(t,e),J({sortable:i,name:"choose",originalEvent:t}),C(Q,l.chosenClass,!0))},l.ignore.split(",").forEach((function(t){$(Q,t.trim(),Ht)})),v(s,"dragover",zt),v(s,"mousemove",zt),v(s,"touchmove",zt),v(s,"mouseup",i._onDrop),v(s,"touchend",i._onDrop),v(s,"touchcancel",i._onDrop),p&&this.nativeDraggable&&(this.options.touchStartThreshold=4,Q.draggable=!0),Z("delayStart",this,{evt:t}),!l.delay||l.delayOnTouchOnly&&!e||this.nativeDraggable&&(d||u))n();else{if(Lt.eventCanceled)return void this._onDrop();v(s,"mouseup",i._disableDelayedDrag),v(s,"touchend",i._disableDelayedDrag),v(s,"touchcancel",i._disableDelayedDrag),v(s,"mousemove",i._delayedDragTouchMoveHandler),v(s,"touchmove",i._delayedDragTouchMoveHandler),l.supportPointer&&v(s,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(n,l.delay)}}},_delayedDragTouchMoveHandler:function(t){var e=t.touches?t.touches[0]:t;Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){Q&&Ht(Q),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;b(t,"mouseup",this._disableDelayedDrag),b(t,"touchend",this._disableDelayedDrag),b(t,"touchcancel",this._disableDelayedDrag),b(t,"mousemove",this._delayedDragTouchMoveHandler),b(t,"touchmove",this._delayedDragTouchMoveHandler),b(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,e){e=e||"touch"==t.pointerType&&t,!this.nativeDraggable||e?this.options.supportPointer?v(document,"pointermove",this._onTouchMove):v(document,e?"touchmove":"mousemove",this._onTouchMove):(v(Q,"dragend",this),v(K,"dragstart",this._onDragStart));try{document.selection?Vt((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(t,e){if(wt=!1,K&&Q){Z("dragStarted",this,{evt:e}),this.nativeDraggable&&v(document,"dragover",Bt);var a=this.options;!t&&C(Q,a.dragClass,!1),C(Q,a.ghostClass,!0),Lt.active=this,t&&this._appendGhost(),J({sortable:this,name:"start",originalEvent:e})}else this._nulling()},_emulateDragOver:function(){if(dt){this._lastX=dt.clientX,this._lastY=dt.clientY,Mt();for(var t=document.elementFromPoint(dt.clientX,dt.clientY),e=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(dt.clientX,dt.clientY))!==e;)e=t;if(Q.parentNode[H]._isOutsideThisEl(t),e)do{if(e[H]){if(e[H]._onDragOver({clientX:dt.clientX,clientY:dt.clientY,target:t,rootEl:e})&&!this.options.dragoverBubble)break}t=e}while(e=e.parentNode);Ft()}},_onTouchMove:function(t){if(ut){var e=this.options,a=e.fallbackTolerance,n=e.fallbackOffset,i=t.touches?t.touches[0]:t,o=G&&j(G,!0),l=G&&o&&o.a,s=G&&o&&o.d,r=It&&yt&&N(yt),c=(i.clientX-ut.clientX+n.x)/(l||1)+(r?r[0]-jt[0]:0)/(l||1),u=(i.clientY-ut.clientY+n.y)/(s||1)+(r?r[1]-jt[1]:0)/(s||1);if(!Lt.active&&!wt){if(a&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))<a)return;this._onDragStart(t,!0)}if(G){o?(o.e+=c-(pt||0),o.f+=u-(mt||0)):o={a:1,b:0,c:0,d:1,e:c,f:u};var d="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");S(G,"webkitTransform",d),S(G,"mozTransform",d),S(G,"msTransform",d),S(G,"transform",d),pt=c,mt=u,dt=i}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!G){var t=this.options.fallbackOnBody?document.body:K,e=E(Q,!0,It,!0,t),a=this.options;if(It){for(yt=t;"static"===S(yt,"position")&&"none"===S(yt,"transform")&&yt!==document;)yt=yt.parentNode;yt!==document.body&&yt!==document.documentElement?(yt===document&&(yt=T()),e.top+=yt.scrollTop,e.left+=yt.scrollLeft):yt=T(),jt=N(yt)}C(G=Q.cloneNode(!0),a.ghostClass,!1),C(G,a.fallbackClass,!0),C(G,a.dragClass,!0),S(G,"transition",""),S(G,"transform",""),S(G,"box-sizing","border-box"),S(G,"margin",0),S(G,"top",e.top),S(G,"left",e.left),S(G,"width",e.width),S(G,"height",e.height),S(G,"opacity","0.8"),S(G,"position",It?"absolute":"fixed"),S(G,"zIndex","100000"),S(G,"pointerEvents","none"),Lt.ghost=G,t.appendChild(G),S(G,"transform-origin",_t/parseInt(G.style.width)*100+"% "+ht/parseInt(G.style.height)*100+"%")}},_onDragStart:function(t,e){var a=this,n=t.dataTransfer,i=a.options;Z("dragStart",this,{evt:t}),Lt.eventCanceled?this._onDrop():(Z("setupClone",this),Lt.eventCanceled||((at=B(Q)).draggable=!1,at.style["will-change"]="",this._hideClone(),C(at,this.options.chosenClass,!1),Lt.clone=at),a.cloneId=Vt((function(){Z("clone",a),Lt.eventCanceled||(a.options.removeCloneOnHide||K.insertBefore(at,Q),a._hideClone(),J({sortable:a,name:"clone"}))})),!e&&C(Q,i.dragClass,!0),e?(xt=!0,a._loopId=setInterval(a._emulateDragOver,50)):(b(document,"mouseup",a._onDrop),b(document,"touchend",a._onDrop),b(document,"touchcancel",a._onDrop),n&&(n.effectAllowed="move",i.setData&&i.setData.call(a,n,Q)),v(document,"drop",a),S(Q,"transform","translateZ(0)")),wt=!0,a._dragStartId=Vt(a._dragStarted.bind(a,e,t)),v(document,"selectstart",a),ft=!0,m&&S(document.body,"user-select","none"))},_onDragOver:function(t){var e,a,n,i,o=this.el,s=t.target,r=this.options,c=r.group,u=Lt.active,d=rt===c,p=r.sort,m=ct||u,_=this,h=!1;if(!$t){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),s=w(s,r.draggable,o,!0),M("dragOver"),Lt.eventCanceled)return h;if(Q.contains(t.target)||s.animated&&s.animatingX&&s.animatingY||_._ignoreWhileAnimating===s)return B(!1);if(xt=!1,u&&!r.disabled&&(d?p||(n=!K.contains(Q)):ct===this||(this.lastPutMode=rt.checkPull(this,u,Q,t))&&c.checkPut(this,u,Q,t))){if(i="vertical"===this._getDirection(t,s),e=E(Q),M("dragOverValid"),Lt.eventCanceled)return h;if(n)return X=K,F(),this._hideClone(),M("revert"),Lt.eventCanceled||(tt?K.insertBefore(Q,tt):K.appendChild(Q)),B(!0);var f=P(o,r.draggable);if(!f||function(t,e,a){var n=E(P(a.el,a.options.draggable)),i=10;return e?t.clientX>n.right+i||t.clientX<=n.right&&t.clientY>n.bottom&&t.clientX>=n.left:t.clientX>n.right&&t.clientY>n.top||t.clientX<=n.right&&t.clientY>n.bottom+i}(t,i,this)&&!f.animated){if(f===Q)return B(!1);if(f&&o===t.target&&(s=f),s&&(a=E(s)),!1!==Rt(K,o,Q,e,s,a,t,!!s))return F(),o.appendChild(Q),X=o,L(),B(!0)}else if(s.parentNode===o){a=E(s);var v,b,g,y=Q.parentNode!==o,x=!function(t,e,a){var n=a?t.left:t.top,i=a?t.right:t.bottom,o=a?t.width:t.height,l=a?e.left:e.top,s=a?e.right:e.bottom,r=a?e.width:e.height;return n===l||i===s||n+o/2===l+r/2}(Q.animated&&Q.toRect||e,s.animated&&s.toRect||a,i),k=i?"top":"left",j=I(s,"top","top")||I(Q,"top","top"),$=j?j.scrollTop:void 0;if(vt!==s&&(b=a[k],Ct=!1,St=!x&&r.invertSwap||y),v=function(t,e,a,n,i,o,l,s){var r=n?t.clientY:t.clientX,c=n?a.height:a.width,u=n?a.top:a.left,d=n?a.bottom:a.right,p=!1;if(!l)if(s&&gt<c*i){if(!Ct&&(1===bt?r>u+c*o/2:r<d-c*o/2)&&(Ct=!0),Ct)p=!0;else if(1===bt?r<u+gt:r>d-gt)return-bt}else if(r>u+c*(1-i)/2&&r<d-c*(1-i)/2)return function(t){return A(Q)<A(t)?1:-1}(e);if((p=p||l)&&(r<u+c*o/2||r>d-c*o/2))return r>u+c/2?1:-1;return 0}(t,s,a,i,x?1:r.swapThreshold,null==r.invertedSwapThreshold?r.swapThreshold:r.invertedSwapThreshold,St,vt===s),0!==v){var T=A(Q);do{T-=v,g=X.children[T]}while(g&&("none"===S(g,"display")||g===G))}if(0===v||g===s)return B(!1);vt=s,bt=v;var D=s.nextElementSibling,N=!1,O=Rt(K,o,Q,e,s,a,t,N=1===v);if(!1!==O)return 1!==O&&-1!==O||(N=1===O),$t=!0,setTimeout(Wt,30),F(),N&&!D?o.appendChild(Q):s.parentNode.insertBefore(Q,N?D:s),j&&z(j,0,$-j.scrollTop),X=Q.parentNode,void 0===b||St||(gt=Math.abs(b-E(s)[k])),L(),B(!0)}if(o.contains(Q))return B(!1)}return!1}function M(r,c){Z(r,_,l({evt:t,isOwner:d,axis:i?"vertical":"horizontal",revert:n,dragRect:e,targetRect:a,canSort:p,fromSortable:m,target:s,completed:B,onMove:function(a,n){return Rt(K,o,Q,e,a,E(a),t,n)},changed:L},c))}function F(){M("dragOverAnimationCapture"),_.captureAnimationState(),_!==m&&m.captureAnimationState()}function B(e){return M("dragOverCompleted",{insertion:e}),e&&(d?u._hideClone():u._showClone(_),_!==m&&(C(Q,ct?ct.options.ghostClass:u.options.ghostClass,!1),C(Q,r.ghostClass,!0)),ct!==_&&_!==Lt.active?ct=_:_===Lt.active&&ct&&(ct=null),m===_&&(_._ignoreWhileAnimating=s),_.animateAll((function(){M("dragOverAnimationComplete"),_._ignoreWhileAnimating=null})),_!==m&&(m.animateAll(),m._ignoreWhileAnimating=null)),(s===Q&&!Q.animated||s===o&&!s.animated)&&(vt=null),r.dragoverBubble||t.rootEl||s===document||(Q.parentNode[H]._isOutsideThisEl(t.target),!e&&zt(t)),!r.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),h=!0}function L(){ot=A(Q),st=A(Q,r.draggable),J({sortable:_,name:"change",toEl:o,newIndex:ot,newDraggableIndex:st,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){b(document,"mousemove",this._onTouchMove),b(document,"touchmove",this._onTouchMove),b(document,"pointermove",this._onTouchMove),b(document,"dragover",zt),b(document,"mousemove",zt),b(document,"touchmove",zt)},_offUpEvents:function(){var t=this.el.ownerDocument;b(t,"mouseup",this._onDrop),b(t,"touchend",this._onDrop),b(t,"pointerup",this._onDrop),b(t,"touchcancel",this._onDrop),b(document,"selectstart",this)},_onDrop:function(t){var e=this.el,a=this.options;ot=A(Q),st=A(Q,a.draggable),Z("drop",this,{evt:t}),X=Q&&Q.parentNode,ot=A(Q),st=A(Q,a.draggable),Lt.eventCanceled||(wt=!1,St=!1,Ct=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Ut(this.cloneId),Ut(this._dragStartId),this.nativeDraggable&&(b(document,"drop",this),b(e,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),m&&S(document.body,"user-select",""),S(Q,"transform",""),t&&(ft&&(t.cancelable&&t.preventDefault(),!a.dropBubble&&t.stopPropagation()),G&&G.parentNode&&G.parentNode.removeChild(G),(K===X||ct&&"clone"!==ct.lastPutMode)&&at&&at.parentNode&&at.parentNode.removeChild(at),Q&&(this.nativeDraggable&&b(Q,"dragend",this),Ht(Q),Q.style["will-change"]="",ft&&!wt&&C(Q,ct?ct.options.ghostClass:this.options.ghostClass,!1),C(Q,this.options.chosenClass,!1),J({sortable:this,name:"unchoose",toEl:X,newIndex:null,newDraggableIndex:null,originalEvent:t}),K!==X?(ot>=0&&(J({rootEl:X,name:"add",toEl:X,fromEl:K,originalEvent:t}),J({sortable:this,name:"remove",toEl:X,originalEvent:t}),J({rootEl:X,name:"sort",toEl:X,fromEl:K,originalEvent:t}),J({sortable:this,name:"sort",toEl:X,originalEvent:t})),ct&&ct.save()):ot!==it&&ot>=0&&(J({sortable:this,name:"update",toEl:X,originalEvent:t}),J({sortable:this,name:"sort",toEl:X,originalEvent:t})),Lt.active&&(null!=ot&&-1!==ot||(ot=it,st=lt),J({sortable:this,name:"end",toEl:X,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){Z("nulling",this),K=Q=X=G=tt=at=et=nt=ut=dt=ft=ot=st=it=lt=vt=bt=ct=rt=Lt.dragged=Lt.ghost=Lt.clone=Lt.active=null,Tt.forEach((function(t){t.checked=!0})),Tt.length=pt=mt=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":Q&&(this._onDragOver(t),function(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move");t.cancelable&&t.preventDefault()}(t));break;case"selectstart":t.preventDefault()}},toArray:function(){for(var t,e=[],a=this.el.children,n=0,i=a.length,o=this.options;n<i;n++)w(t=a[n],o.draggable,this.el,!1)&&e.push(t.getAttribute(o.dataIdAttr)||qt(t));return e},sort:function(t){var e={},a=this.el;this.toArray().forEach((function(t,n){var i=a.children[n];w(i,this.options.draggable,a,!1)&&(e[t]=i)}),this),t.forEach((function(t){e[t]&&(a.removeChild(e[t]),a.appendChild(e[t]))}))},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,e){return w(t,e||this.options.draggable,this.el,!1)},option:function(t,e){var a=this.options;if(void 0===e)return a[t];var n=U.modifyOption(this,t,e);a[t]=void 0!==n?n:e,"group"===t&&Ot(a)},destroy:function(){Z("destroy",this);var t=this.el;t[H]=null,b(t,"mousedown",this._onTapStart),b(t,"touchstart",this._onTapStart),b(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(b(t,"dragover",this),b(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),(function(t){t.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),kt.splice(kt.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!nt){if(Z("hideClone",this),Lt.eventCanceled)return;S(at,"display","none"),this.options.removeCloneOnHide&&at.parentNode&&at.parentNode.removeChild(at),nt=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(nt){if(Z("showClone",this),Lt.eventCanceled)return;K.contains(Q)&&!this.options.group.revertClone?K.insertBefore(at,Q):tt?K.insertBefore(at,tt):K.appendChild(at),this.options.group.revertClone&&this.animate(Q,at),S(at,"display",""),nt=!1}}else this._hideClone()}},Et&&v(document,"touchmove",(function(t){(Lt.active||wt)&&t.cancelable&&t.preventDefault()})),Lt.utils={on:v,off:b,css:S,find:$,is:function(t,e){return!!w(t,e,t,!1)},extend:function(t,e){if(t&&e)for(var a in e)e.hasOwnProperty(a)&&(t[a]=e[a]);return t},throttle:F,closest:w,toggleClass:C,clone:B,index:A,nextTick:Vt,cancelNextTick:Ut,detectDirection:Nt,getChild:D},Lt.get=function(t){return t[H]},Lt.mount=function(){for(var t=arguments.length,e=new Array(t),a=0;a<t;a++)e[a]=arguments[a];e[0].constructor===Array&&(e=e[0]),e.forEach((function(t){if(!t.prototype||!t.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));t.utils&&(Lt.utils=l({},Lt.utils,t.utils)),U.mount(t)}))},Lt.create=function(t,e){return new Lt(t,e)},Lt.version="1.10.2";var Yt,Zt,Jt,Qt,Xt,Gt,Kt=[],te=!1;function ee(){Kt.forEach((function(t){clearInterval(t.pid)})),Kt=[]}function ae(){clearInterval(Gt)}var ne,ie=F((function(t,e,a,n){if(e.scroll){var i,o=(t.touches?t.touches[0]:t).clientX,l=(t.touches?t.touches[0]:t).clientY,s=e.scrollSensitivity,r=e.scrollSpeed,c=T(),u=!1;Zt!==a&&(Zt=a,ee(),Yt=e.scroll,i=e.scrollFn,!0===Yt&&(Yt=O(a,!0)));var d=0,p=Yt;do{var m=p,_=E(m),h=_.top,f=_.bottom,v=_.left,b=_.right,g=_.width,y=_.height,w=void 0,x=void 0,k=m.scrollWidth,C=m.scrollHeight,j=S(m),$=m.scrollLeft,I=m.scrollTop;m===c?(w=g<k&&("auto"===j.overflowX||"scroll"===j.overflowX||"visible"===j.overflowX),x=y<C&&("auto"===j.overflowY||"scroll"===j.overflowY||"visible"===j.overflowY)):(w=g<k&&("auto"===j.overflowX||"scroll"===j.overflowX),x=y<C&&("auto"===j.overflowY||"scroll"===j.overflowY));var D=w&&(Math.abs(b-o)<=s&&$+g<k)-(Math.abs(v-o)<=s&&!!$),P=x&&(Math.abs(f-l)<=s&&I+y<C)-(Math.abs(h-l)<=s&&!!I);if(!Kt[d])for(var A=0;A<=d;A++)Kt[A]||(Kt[A]={});Kt[d].vx==D&&Kt[d].vy==P&&Kt[d].el===m||(Kt[d].el=m,Kt[d].vx=D,Kt[d].vy=P,clearInterval(Kt[d].pid),0==D&&0==P||(u=!0,Kt[d].pid=setInterval(function(){n&&0===this.layer&&Lt.active._onTouchMove(Xt);var e=Kt[this.layer].vy?Kt[this.layer].vy*r:0,a=Kt[this.layer].vx?Kt[this.layer].vx*r:0;"function"==typeof i&&"continue"!==i.call(Lt.dragged.parentNode[H],a,e,t,Xt,Kt[this.layer].el)||z(Kt[this.layer].el,a,e)}.bind({layer:d}),24))),d++}while(e.bubbleScroll&&p!==c&&(p=O(p,!1)));te=u}}),30),oe=function(t){var e=t.originalEvent,a=t.putSortable,n=t.dragEl,i=t.activeSortable,o=t.dispatchSortableEvent,l=t.hideGhostForTarget,s=t.unhideGhostForTarget;if(e){var r=a||i;l();var c=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e,u=document.elementFromPoint(c.clientX,c.clientY);s(),r&&!r.el.contains(u)&&(o("spill"),this.onSpill({dragEl:n,putSortable:a}))}};function le(){}function se(){}function re(){function t(){this.defaults={swapClass:"sortable-swap-highlight"}}return t.prototype={dragStart:function(t){var e=t.dragEl;ne=e},dragOverValid:function(t){var e=t.completed,a=t.target,n=t.onMove,i=t.activeSortable,o=t.changed,l=t.cancel;if(i.options.swap){var s=this.sortable.el,r=this.options;if(a&&a!==s){var c=ne;!1!==n(a)?(C(a,r.swapClass,!0),ne=a):ne=null,c&&c!==ne&&C(c,r.swapClass,!1)}o(),e(!0),l()}},drop:function(t){var e=t.activeSortable,a=t.putSortable,n=t.dragEl,i=a||this.sortable,o=this.options;ne&&C(ne,o.swapClass,!1),ne&&(o.swap||a&&a.options.swap)&&n!==ne&&(i.captureAnimationState(),i!==e&&e.captureAnimationState(),function(t,e){var a,n,i=t.parentNode,o=e.parentNode;if(!i||!o||i.isEqualNode(e)||o.isEqualNode(t))return;a=A(t),n=A(e),i.isEqualNode(o)&&a<n&&n++;i.insertBefore(e,i.children[a]),o.insertBefore(t,o.children[n])}(n,ne),i.animateAll(),i!==e&&e.animateAll())},nulling:function(){ne=null}},o(t,{pluginName:"swap",eventProperties:function(){return{swapItem:ne}}})}le.prototype={startIndex:null,dragStart:function(t){var e=t.oldDraggableIndex;this.startIndex=e},onSpill:function(t){var e=t.dragEl,a=t.putSortable;this.sortable.captureAnimationState(),a&&a.captureAnimationState();var n=D(this.sortable.el,this.startIndex,this.options);n?this.sortable.el.insertBefore(e,n):this.sortable.el.appendChild(e),this.sortable.animateAll(),a&&a.animateAll()},drop:oe},o(le,{pluginName:"revertOnSpill"}),se.prototype={onSpill:function(t){var e=t.dragEl,a=t.putSortable||this.sortable;a.captureAnimationState(),e.parentNode&&e.parentNode.removeChild(e),a.animateAll()},drop:oe},o(se,{pluginName:"removeOnSpill"});var ce,ue,de,pe,me,_e=[],he=[],fe=!1,ve=!1,be=!1;function ge(){function t(t){for(var e in this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this));t.options.supportPointer?v(document,"pointerup",this._deselectMultiDrag):(v(document,"mouseup",this._deselectMultiDrag),v(document,"touchend",this._deselectMultiDrag)),v(document,"keydown",this._checkKeyDown),v(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(e,a){var n="";_e.length&&ue===t?_e.forEach((function(t,e){n+=(e?", ":"")+t.textContent})):n=a.textContent,e.setData("Text",n)}}}return t.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(t){var e=t.dragEl;de=e},delayEnded:function(){this.isMultiDrag=~_e.indexOf(de)},setupClone:function(t){var e=t.sortable,a=t.cancel;if(this.isMultiDrag){for(var n=0;n<_e.length;n++)he.push(B(_e[n])),he[n].sortableIndex=_e[n].sortableIndex,he[n].draggable=!1,he[n].style["will-change"]="",C(he[n],this.options.selectedClass,!1),_e[n]===de&&C(he[n],this.options.chosenClass,!1);e._hideClone(),a()}},clone:function(t){var e=t.sortable,a=t.rootEl,n=t.dispatchSortableEvent,i=t.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||_e.length&&ue===e&&(ye(!0,a),n("clone"),i()))},showClone:function(t){var e=t.cloneNowShown,a=t.rootEl,n=t.cancel;this.isMultiDrag&&(ye(!1,a),he.forEach((function(t){S(t,"display","")})),e(),me=!1,n())},hideClone:function(t){var e=this,a=(t.sortable,t.cloneNowHidden),n=t.cancel;this.isMultiDrag&&(he.forEach((function(t){S(t,"display","none"),e.options.removeCloneOnHide&&t.parentNode&&t.parentNode.removeChild(t)})),a(),me=!0,n())},dragStartGlobal:function(t){t.sortable;!this.isMultiDrag&&ue&&ue.multiDrag._deselectMultiDrag(),_e.forEach((function(t){t.sortableIndex=A(t)})),_e=_e.sort((function(t,e){return t.sortableIndex-e.sortableIndex})),be=!0},dragStarted:function(t){var e=this,a=t.sortable;if(this.isMultiDrag){if(this.options.sort&&(a.captureAnimationState(),this.options.animation)){_e.forEach((function(t){t!==de&&S(t,"position","absolute")}));var n=E(de,!1,!0,!0);_e.forEach((function(t){t!==de&&L(t,n)})),ve=!0,fe=!0}a.animateAll((function(){ve=!1,fe=!1,e.options.animation&&_e.forEach((function(t){R(t)})),e.options.sort&&we()}))}},dragOver:function(t){var e=t.target,a=t.completed,n=t.cancel;ve&&~_e.indexOf(e)&&(a(!1),n())},revert:function(t){var e=t.fromSortable,a=t.rootEl,n=t.sortable,i=t.dragRect;_e.length>1&&(_e.forEach((function(t){n.addAnimationState({target:t,rect:ve?E(t):i}),R(t),t.fromRect=i,e.removeAnimationState(t)})),ve=!1,function(t,e){_e.forEach((function(a,n){var i=e.children[a.sortableIndex+(t?Number(n):0)];i?e.insertBefore(a,i):e.appendChild(a)}))}(!this.options.removeCloneOnHide,a))},dragOverCompleted:function(t){var e=t.sortable,a=t.isOwner,n=t.insertion,i=t.activeSortable,o=t.parentEl,l=t.putSortable,s=this.options;if(n){if(a&&i._hideClone(),fe=!1,s.animation&&_e.length>1&&(ve||!a&&!i.options.sort&&!l)){var r=E(de,!1,!0,!0);_e.forEach((function(t){t!==de&&(L(t,r),o.appendChild(t))})),ve=!0}if(!a)if(ve||we(),_e.length>1){var c=me;i._showClone(e),i.options.animation&&!me&&c&&he.forEach((function(t){i.addAnimationState({target:t,rect:pe}),t.fromRect=pe,t.thisAnimationDuration=null}))}else i._showClone(e)}},dragOverAnimationCapture:function(t){var e=t.dragRect,a=t.isOwner,n=t.activeSortable;if(_e.forEach((function(t){t.thisAnimationDuration=null})),n.options.animation&&!a&&n.multiDrag.isMultiDrag){pe=o({},e);var i=j(de,!0);pe.top-=i.f,pe.left-=i.e}},dragOverAnimationComplete:function(){ve&&(ve=!1,we())},drop:function(t){var e=t.originalEvent,a=t.rootEl,n=t.parentEl,i=t.sortable,o=t.dispatchSortableEvent,l=t.oldIndex,s=t.putSortable,r=s||this.sortable;if(e){var c=this.options,u=n.children;if(!be)if(c.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),C(de,c.selectedClass,!~_e.indexOf(de)),~_e.indexOf(de))_e.splice(_e.indexOf(de),1),ce=null,Y({sortable:i,rootEl:a,name:"deselect",targetEl:de,originalEvt:e});else{if(_e.push(de),Y({sortable:i,rootEl:a,name:"select",targetEl:de,originalEvt:e}),e.shiftKey&&ce&&i.el.contains(ce)){var d,p,m=A(ce),_=A(de);if(~m&&~_&&m!==_)for(_>m?(p=m,d=_):(p=_,d=m+1);p<d;p++)~_e.indexOf(u[p])||(C(u[p],c.selectedClass,!0),_e.push(u[p]),Y({sortable:i,rootEl:a,name:"select",targetEl:u[p],originalEvt:e}))}else ce=de;ue=r}if(be&&this.isMultiDrag){if((n[H].options.sort||n!==a)&&_e.length>1){var h=E(de),f=A(de,":not(."+this.options.selectedClass+")");if(!fe&&c.animation&&(de.thisAnimationDuration=null),r.captureAnimationState(),!fe&&(c.animation&&(de.fromRect=h,_e.forEach((function(t){if(t.thisAnimationDuration=null,t!==de){var e=ve?E(t):h;t.fromRect=e,r.addAnimationState({target:t,rect:e})}}))),we(),_e.forEach((function(t){u[f]?n.insertBefore(t,u[f]):n.appendChild(t),f++})),l===A(de))){var v=!1;_e.forEach((function(t){t.sortableIndex===A(t)||(v=!0)})),v&&o("update")}_e.forEach((function(t){R(t)})),r.animateAll()}ue=r}(a===n||s&&"clone"!==s.lastPutMode)&&he.forEach((function(t){t.parentNode&&t.parentNode.removeChild(t)}))}},nullingGlobal:function(){this.isMultiDrag=be=!1,he.length=0},destroyGlobal:function(){this._deselectMultiDrag(),b(document,"pointerup",this._deselectMultiDrag),b(document,"mouseup",this._deselectMultiDrag),b(document,"touchend",this._deselectMultiDrag),b(document,"keydown",this._checkKeyDown),b(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(t){if(!(void 0!==be&&be||ue!==this.sortable||t&&w(t.target,this.options.draggable,this.sortable.el,!1)||t&&0!==t.button))for(;_e.length;){var e=_e[0];C(e,this.options.selectedClass,!1),_e.shift(),Y({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:e,originalEvt:t})}},_checkKeyDown:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},o(t,{pluginName:"multiDrag",utils:{select:function(t){var e=t.parentNode[H];e&&e.options.multiDrag&&!~_e.indexOf(t)&&(ue&&ue!==e&&(ue.multiDrag._deselectMultiDrag(),ue=e),C(t,e.options.selectedClass,!0),_e.push(t))},deselect:function(t){var e=t.parentNode[H],a=_e.indexOf(t);e&&e.options.multiDrag&&~a&&(C(t,e.options.selectedClass,!1),_e.splice(a,1))}},eventProperties:function(){var t=this,e=[],a=[];return _e.forEach((function(n){var i;e.push({multiDragElement:n,index:n.sortableIndex}),i=ve&&n!==de?-1:ve?A(n,":not(."+t.options.selectedClass+")"):A(n),a.push({multiDragElement:n,index:i})})),{items:r(_e),clones:[].concat(he),oldIndicies:e,newIndicies:a}},optionListeners:{multiDragKey:function(t){return"ctrl"===(t=t.toLowerCase())?t="Control":t.length>1&&(t=t.charAt(0).toUpperCase()+t.substr(1)),t}}})}function ye(t,e){he.forEach((function(a,n){var i=e.children[a.sortableIndex+(t?Number(n):0)];i?e.insertBefore(a,i):e.appendChild(a)}))}function we(){_e.forEach((function(t){t!==de&&t.parentNode&&t.parentNode.removeChild(t)}))}Lt.mount(new function(){function t(){for(var t in this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this))}return t.prototype={dragStarted:function(t){var e=t.originalEvent;this.sortable.nativeDraggable?v(document,"dragover",this._handleAutoScroll):this.options.supportPointer?v(document,"pointermove",this._handleFallbackAutoScroll):e.touches?v(document,"touchmove",this._handleFallbackAutoScroll):v(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var e=t.originalEvent;this.options.dragOverBubble||e.rootEl||this._handleAutoScroll(e)},drop:function(){this.sortable.nativeDraggable?b(document,"dragover",this._handleAutoScroll):(b(document,"pointermove",this._handleFallbackAutoScroll),b(document,"touchmove",this._handleFallbackAutoScroll),b(document,"mousemove",this._handleFallbackAutoScroll)),ae(),ee(),clearTimeout(x),x=void 0},nulling:function(){Xt=Zt=Yt=te=Gt=Jt=Qt=null,Kt.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,e){var a=this,n=(t.touches?t.touches[0]:t).clientX,i=(t.touches?t.touches[0]:t).clientY,o=document.elementFromPoint(n,i);if(Xt=t,e||d||u||m){ie(t,this.options,o,e);var l=O(o,!0);!te||Gt&&n===Jt&&i===Qt||(Gt&&ae(),Gt=setInterval((function(){var o=O(document.elementFromPoint(n,i),!0);o!==l&&(l=o,ee()),ie(t,a.options,o,e)}),10),Jt=n,Qt=i)}else{if(!this.options.bubbleScroll||O(o,!0)===T())return void ee();ie(t,this.options,O(o,!1),!1)}}},o(t,{pluginName:"scroll",initializeByDefault:!0})}),Lt.mount(se,le);const xe=Lt}},e={};function a(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={id:n,loaded:!1,exports:{}};return t[n].call(o.exports,o,o.exports,a),o.loaded=!0,o.exports}a.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return a.d(e,{a:e}),e},a.d=(t,e)=>{for(var n in e)a.o(e,n)&&!a.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),a.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),a.nc=void 0,(()=>{"use strict";var t=a(2152),e=a.n(t);const n={name:"home",data:function(){return{has_pro:window.ninja_table_admin.hasPro,topMenus:[]}},computed:{activeMenu:function(){return-1!=["home","help"].indexOf(this.$route.name)?this.$route.name:"import_tables"}},methods:{setTopMenu:function(){this.topMenus=this.applyFilters("ninja_table_top_menus",[{route:"home",title:"All Tables"},{route:"import_tables",title:"Tools and Settings"},{route:"help",title:"Help & Documentation"}])}},mounted:function(){this.setTopMenu()}};var i=a(3379),o=a.n(i),l=a(3975),s={insert:"head",singleton:!1};o()(l.Z,s);l.Z.locals;function r(t,e,a,n,i,o,l,s){var r,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=a,c._compiled=!0),n&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),l?(r=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(l)},c._ssrRegister=r):i&&(r=s?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),r)if(c.functional){c._injectStyles=r;var u=c.render;c.render=function(t,e){return r.call(e),u(t,e)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,r):[r]}return{exports:t,options:c}}const c=r(n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"ninja_main_nav"},[a("el-menu",{attrs:{"default-active":t.activeMenu,router:!0,mode:"horizontal"}},[a("span",{staticClass:"plugin-name"},[t._v("\n "+t._s(t.$t("Ninja Tables"))+" "),t.has_pro?[t._v(t._s(t.$t("Pro")))]:t._e()],2),t._v(" "),t._l(t.topMenus,(function(e){return a("el-menu-item",{key:e.route,attrs:{index:e.route,route:{name:e.route}}},[a("i",{class:e.icon_class}),t._v(" "),a("span",[t._v("\n "+t._s(e.title)+"\n ")])])})),t._v(" "),a("el-menu-item",{staticClass:"buy_pro_tab",attrs:{index:"buy-pro"}},[t.has_pro?t._e():a("a",{attrs:{href:"https://wpmanageninja.com/downloads/ninja-tables-pro-add-on/?utm_source=ninja-tables&utm_medium=wp&utm_campaign=wp_plugin&utm_term=upgrade",target:"_blank"}},[t._v("\n "+t._s(t.$t("Upgrade To Pro"))+"\n ")])])],2)],1),t._v(" "),a("router-view",{attrs:{"has-pro":t.has_pro}})],1)}),[],!1,null,null,null).exports;const u={name:"Welcome",methods:{create:function(){this.$emit("create",!0)}}};var d=a(7004),p={insert:"head",singleton:!1};o()(d.Z,p);d.Z.locals;const m=r(u,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ninja_intro_welcome"},[a("h2",[t._v("Welcome to Ninja Tables")]),t._v(" "),a("p",[t._v("Thank you for installing Ninja Tables - Best Responsive Table Plugin for WordPress")]),t._v(" "),a("div",{staticClass:"ninja_actions"},[a("el-button",{attrs:{type:"success"},on:{click:t.create}},[t._v("\n Create Your First Table\n ")]),t._v(" "),a("router-link",{attrs:{to:{name:"import_tables"}}},[a("el-button",{attrs:{type:"info"}},[t._v(t._s(t.$t("Import From CSV")))])],1)],1),t._v(" "),a("hr"),t._v(" "),t._m(0)])}),[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ninja_docs"},[a("h4",[t._v("Ninja Tables Documentation:")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{target:"_blank",href:"https://wpmanageninja.com/ninja-tables/use-case/?ninja_intro=1"}},[t._v("\n Demo and Basic Settings\n ")])]),t._v(" "),a("li",[a("a",{attrs:{target:"_blank",href:"https://wpmanageninja.com/docs/ninja-tables/setting-up-a-table/?ninja_intro=1"}},[t._v("\n Setting Up a Table\n ")])]),t._v(" "),a("li",[a("a",{attrs:{target:"_blank",href:"https://wpmanageninja.com/docs/ninja-tables/configure-responsive-breakdowns-for-table/?ninja_intro=1"}},[t._v("\n Make Your Table Looks Great on All Devices\n ")])])])])}],!1,null,null,null).exports;const h=r({name:"NinjaPagination",props:["paginate"],data:function(){return{pageNumberInput:1}},methods:{goToPage:function(t){t>=1&&t<=this.paginate.last_page?(this.$emit("change_page",t),this.pageNumberInput=t):alert("invalid page number")}}},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"tablenav-pages"},[t.paginate.total?a("span",{staticClass:"displaying-num"},[t._v(t._s(t.paginate.total)+" "+t._s(t.$t("items")))]):t._e(),t._v(" "),a("span",{staticClass:"pagination-links"},[1==t.paginate.current_page?[a("span",{staticClass:"tablenav-pages-navspan",attrs:{"aria-hidden":"true"}},[t._v("«")]),t._v(" "),a("span",{staticClass:"tablenav-pages-navspan",attrs:{"aria-hidden":"true"}},[t._v("‹")])]:[a("a",{staticClass:"first-page",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPage(1)}}},[a("span",{staticClass:"screen-reader-text"},[t._v(t._s(t.$t("First page")))]),a("span",{attrs:{"aria-hidden":"true"}},[t._v("«")])]),t._v(" "),a("a",{staticClass:"prev-page",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPage(t.paginate.current_page-1)}}},[a("span",{staticClass:"screen-reader-text"},[t._v(t._s(t.$t("Previous page")))]),a("span",{attrs:{"aria-hidden":"true"}},[t._v("‹")])])],t._v(" "),a("span",{staticClass:"screen-reader-text"},[t._v(t._s(t.$t("Current Page")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.pageNumberInput,expression:"pageNumberInput"}],staticClass:"current-page",attrs:{id:"current-page-selector",type:"text",size:"2","aria-describedby":"table-paging"},domProps:{value:t.pageNumberInput},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.preventDefault(),t.goToPage(t.pageNumberInput))},input:function(e){e.target.composing||(t.pageNumberInput=e.target.value)}}}),t._v("\n "+t._s(t.$t("of"))+"\n "),a("span",{staticClass:"total-pages"},[t._v(t._s(t.paginate.last_page))]),t._v(" "),t.paginate.current_page==t.paginate.last_page?[a("span",{staticClass:"tablenav-pages-navspan",attrs:{"aria-hidden":"true"}},[t._v("›")]),t._v(" "),a("span",{staticClass:"tablenav-pages-navspan",attrs:{"aria-hidden":"true"}},[t._v("»")])]:[a("a",{staticClass:"next-page",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPage(t.paginate.current_page+1)}}},[a("span",{staticClass:"screen-reader-text"},[t._v(t._s(t.$t("Next page")))]),a("span",{attrs:{"aria-hidden":"true"}},[t._v("›")])]),t._v(" "),a("a",{staticClass:"last-page",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPage(t.paginate.last_page)}}},[a("span",{staticClass:"screen-reader-text"},[t._v(t._s(t.$t("Last page")))]),a("span",{attrs:{"aria-hidden":"true"}},[t._v("»")])])]],2)])}),[],!1,null,null,null).exports,f={name:"Home",components:{ninja_pagination:h},props:["searchAction","searchString"],watch:{searchAction:function(){this.paginate.current_page=1,this.fetchTables()}},data:function(){return{loading:!1,bulkAction:-1,selectAll:0,checkedItems:[],pageLoading:!1,items:[],paginate:{total:0,current_page:1,last_page:1,per_page:parseInt(this.getFromStore("tables_per_page",20))},hasPro:!!window.ninja_table_admin.hasPro,img_url_path:window.ninja_table_admin.img_url,is_installed:window.ninja_table_admin.isInstalled,orderBy:"date",order:"DESC"}},methods:{fetchTables:function(){var t=this;this.pageLoading=!0;var e={action:"ninja_tables_ajax_actions",target_action:"get-all-tables",per_page:this.paginate.per_page,page:this.paginate.current_page,search:this.searchString,orderBy:this.orderBy,order:this.order};this.$get(e).done((function(e){t.items=e.data,t.paginate.total=e.total,t.paginate.current_page=e.current_page,t.paginate.last_page=e.last_page,t.pageLoading=!1,e.total&&t.$emit("total_table",e.total)})).fail((function(t){vueNotification.error("Something went wrong, please try again.")}))},goToPage:function(t){this.paginate.current_page=t,this.fetchTables()},handleSizeChange:function(t){this.paginate.per_page=t,this.setStoreData("tables_per_page",t),this.fetchTables()},confirmDeleteTable:function(t){var e=this;this.$confirm("Are you sure, You want to delete this table?","Warning",{confirmButtonText:"Yes, Delete",cancelButtonText:"Cancel",type:"warning"}).then((function(){e.deleteTable(t)})).catch((function(){e.$message({type:"info",message:"Delete canceled"})}))},deleteTable:function(t){var e=this,a={action:"ninja_tables_ajax_actions",target_action:"delete-a-table",table_id:t};this.$post(a).then((function(t){e.fetchTables(),e.$message({type:"success",message:t.message})})).fail((function(t){alert(t.responseJSON.data.message)}))},handleSelectionChange:function(t){this.$emit("selection",t.map((function(t){return t.ID})))},duplicate:function(t){var e=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n={action:"ninja_tables_ajax_actions",target_action:"duplicate-table",tableId:t};this.$post(n).then((function(t){e.$message({type:"success",message:t.data.message}),"drag_and_drop"===a?e.$router.push({name:"table_builder_edit_table",params:{table_id:t.data.table_id}}):e.$router.push({name:"data_items",params:{table_id:t.data.table_id}})})).fail((function(t){alert(t.responseJSON.data.message)}))},shouldBeVisible:function(t){return"fluent-form"!=t.dataSourceType||window.ninja_table_admin.hasFluentForm},dataSourceType:function(t){var e=t.dataSourceType||"Default";return"raw_sql"==e?"SQL":e=e.indexOf("google")>-1?"Google SpreadSheet":e},handleTableSort:function(t){this.orderBy=t.prop,this.order="ascending"===t.order?"ASC":"DESC",this.fetchTables()}},mounted:function(){this.fetchTables(),this.clipboard()}};var v=a(1687),b={insert:"head",singleton:!1};o()(v.Z,b);v.Z.locals;const g=r(f,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("el-table",{directives:[{name:"loading",rawName:"v-loading.body",value:t.pageLoading,expression:"pageLoading",modifiers:{body:!0}}],staticClass:"ninja-tables compact",staticStyle:{},attrs:{data:t.items,border:"","aria-label":"all-tables"},on:{"selection-change":t.handleSelectionChange,"sort-change":t.handleTableSort}},[a("el-table-column",{attrs:{label:t.$t("ID"),width:"90",prop:"ID",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){return["drag_and_drop"===e.row.dataSourceType?a("router-link",{attrs:{to:{name:"table_builder_edit_table",params:{table_id:e.row.ID}}}},[t._v("\n "+t._s(e.row.ID)+"\n ")]):a("router-link",{attrs:{to:{name:"data_items",params:{table_id:e.row.ID}}}},[t._v("\n "+t._s(e.row.ID)+"\n ")])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:t.$t("Title"),prop:"post_title",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("strong",[t.shouldBeVisible(e.row)?["drag_and_drop"===e.row.dataSourceType?a("router-link",{attrs:{to:{name:"table_builder_edit_table",params:{table_id:e.row.ID}}}},[t._v("\n "+t._s(t.$t(e.row.post_title))+"\n ")]):a("router-link",{attrs:{to:{name:"data_items",params:{table_id:e.row.ID}}}},[t._v("\n "+t._s(t.$t(e.row.post_title))+"\n ")])]:[t._v("\n "+t._s(e.row.post_title)+"\n ")],t._v(" "),a("span",{directives:[{name:"show",rawName:"v-show",value:"publish"!=e.row.post_status,expression:"scope.row.post_status != 'publish'"}]},[t._v("\n ("+t._s(e.row.post_status)+")\n ")])],2),t._v(" "),a("div",{staticClass:"row-actions"},[t.shouldBeVisible(e.row)?a("span",{staticClass:"row-edit"},["drag_and_drop"===e.row.dataSourceType?a("router-link",{attrs:{to:{name:"table_builder_edit_table",params:{table_id:e.row.ID}}}},[t._v("\n "+t._s(t.$t("Edit"))+"\n ")]):a("router-link",{attrs:{to:{name:"data_items",params:{table_id:e.row.ID}}}},[t._v("\n "+t._s(t.$t("Edit"))+"\n ")]),t._v(" |\n ")],1):t._e(),t._v(" "),t.shouldBeVisible(e.row)?a("span",{staticClass:"row-preview"},[a("a",{attrs:{rel:"noopener",href:e.row.preview_url,target:"_blank"}},[t._v(t._s(t.$t("Preview")))]),t._v(" |\n ")]):t._e(),t._v(" "),t.shouldBeVisible(e.row)?a("span",{staticClass:"row-duplicate"},[a("a",{attrs:{href:"#"},on:{click:function(a){return a.preventDefault(),t.duplicate(e.row.ID,e.row.dataSourceType)}}},[t._v(t._s(t.$t("Duplicate")))]),t._v(" |\n ")]):t._e(),t._v(" "),t.shouldBeVisible(e.row)&&e.row.fluentfrom_url?a("span",{staticClass:"row-duplicate"},[a("a",{attrs:{href:e.row.fluentfrom_url}},[t._v(t._s(t.$t("Fluent Form Entries")))]),t._v(" |\n ")]):t._e(),t._v(" "),a("span",{staticClass:"row-delete"},[a("a",{attrs:{href:"#"},on:{click:function(a){return a.preventDefault(),t.confirmDeleteTable(e.row.ID)}}},[t._v(t._s(t.$t("Delete")))])])])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:t.$t("Description"),"class-name":"description"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"nt_cell",domProps:{innerHTML:t._s(e.row.post_content)}})]}}])}),t._v(" "),a("el-table-column",{attrs:{width:"190",label:t.$t("Data Source")},scopedSlots:t._u([{key:"default",fn:function(e){return["drag_and_drop"===e.row.dataSourceType?a("strong",[t._v(t._s(t.$t("Drag & Drop Table")))]):a("strong",[t._v(t._s(t.dataSourceType(e.row)))]),t._v(" "),e.row.remoteURL?[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:e.row.remoteURL,placement:"top-start"}},[a("i",{staticClass:"dashicons dashicons-info"})])]:t._e()]}}])}),t._v(" "),a("el-table-column",{attrs:{width:"250",label:t.$t("ShortCode")},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-tooltip",{attrs:{effect:"dark",content:"Click to copy shortcode",title:"Click to copy shortcode",placement:"top"}},["drag_and_drop"===e.row.dataSourceType?a("code",{staticClass:"copy",attrs:{"data-clipboard-text":'[ninja_table_builder id="'+e.row.ID+'"]'}},[a("i",{staticClass:"el-icon-document"}),t._v(' [ninja_table_builder id="'+t._s(e.row.ID)+'"]\n ')]):a("code",{staticClass:"copy",attrs:{"data-clipboard-text":'[ninja_tables id="'+e.row.ID+'"]'}},[a("i",{staticClass:"el-icon-document"}),t._v(' [ninja_tables id="'+t._s(e.row.ID)+'"]\n ')])])]}}])})],1),t._v(" "),a("div",{staticClass:"pull-right"},[a("el-pagination",{attrs:{"current-page":t.paginate.current_page,"page-sizes":[10,20,50,100],"page-size":t.paginate.per_page,layout:"total, sizes, prev, pager, next, jumper",total:t.paginate.total},on:{"size-change":t.handleSizeChange,"current-change":t.goToPage,"update:currentPage":function(e){return t.$set(t.paginate,"current_page",e)},"update:current-page":function(e){return t.$set(t.paginate,"current_page",e)}}})],1),t._v(" "),!t.loading&&!t.is_installed&&t.items.length>2&&!t.hasPro?a("div",[a("a",{staticStyle:{display:"block",width:"800px",margin:"40px auto 0px","max-width":"100%"},attrs:{target:"_blank",href:"https://wordpress.org/plugins/fluentform"}},[a("img",{staticStyle:{"max-width":"100%"},attrs:{src:t.img_url_path+"fluent_banner.png"}})])]):t.items.length>3&&!t.hasPro?a("div",{staticClass:"text-center",staticStyle:{"margin-top":"100px"}},[a("hr"),t._v(" "),a("h3",[t._v("Love Ninja Tables? Upgrade to Pro and get more exciting features and Performance")]),t._v(" "),a("a",{staticClass:"button button-primary",attrs:{target:"_blank",href:"https://wpmanageninja.com/downloads/ninja-tables-pro-add-on/?utm_source=ninja-tables&utm_medium=wp&utm_campaign=wp_plugin&utm_term=upgrade"}},[t._v("Upgrade To Pro")])]):t._e()],1)}),[],!1,null,null,null).exports;const y={name:"wp_editor",props:{editor_id:{type:String,default:function(){return"wp_editor_"+Date.now()}},value:{type:String,default:function(){return""}}},data:function(){return{hasWpEditor:!!window.wp.editor,plain_content:this.value,has_pro:!!window.ninja_table_admin.hasPro}},computed:{ninja_editor_id:function(){var t=this.slugify(this.editor_id);return t.match(/^[A-Za-z]+$/)||(t="editor_english_"+Math.floor(1001*Math.random())+"_"+Math.floor(101*Math.random())),"ninja_editor_"+this.slugify(t)}},watch:{plain_content:function(){this.$emit("input",this.plain_content)},value:function(){this.value||this.reloadEditor()}},methods:{initEditor:function(){if(this.hasWpEditor){wp.editor.remove(this.ninja_editor_id);var t=this;wp.editor.initialize(this.ninja_editor_id,{mediaButtons:this.has_pro,mode:"none",tinymce:{toolbar1:"formatselect,bold,italic,bullist,numlist,link,blockquote,alignleft,aligncenter,alignright,strikethrough,underline,forecolor,codeformat,removeformat,undo,redo",valid_elements:"*[*]",forced_root_block:"",setup:function(e){e.on("change",(function(e,a){t.changeContentEvent()}))}},quicktags:!0}),jQuery("#"+this.ninja_editor_id).on("change",(function(e){t.changeContentEvent()}))}},slugify:function(t){return t.toString().toLowerCase().replace(/\s+/g,"-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},reloadEditor:function(){wp.editor.remove(this.ninja_editor_id),jQuery("#"+this.ninja_editor_id).val(""),this.initEditor()},changeContentEvent:function(){var t=wp.editor.getContent(this.ninja_editor_id);this.$emit("input",t)},showPro:function(){window.ninjaTableBus.$emit("show_pro_popup",1)}},mounted:function(){this.initEditor()},beforeDestroy:function(){}};var w=a(1714),x={insert:"head",singleton:!1};o()(w.Z,x);w.Z.locals;const k=r(y,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wp_vue_editor_wrapper",class:"editor_wrapper_"+t.ninja_editor_id},[t.hasWpEditor?[t.has_pro?t._e():a("button",{staticClass:"button ninja_demo_media_button",attrs:{type:"button"},on:{click:t.showPro}},[a("span",{staticClass:"dashicons dashicons-admin-media"}),t._v(" Add Media (pro)")]),t._v(" "),a("textarea",{staticClass:"wp_vue_editor",attrs:{id:t.ninja_editor_id}},[t._v(t._s(t.value))])]:[t._m(0),t._v(" "),a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.plain_content,expression:"plain_content"}],staticClass:"wp_vue_editor wp_vue_editor_plain",domProps:{value:t.plain_content},on:{input:function(e){e.target.composing||(t.plain_content=e.target.value)}}})]],2)}),[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("p",{staticStyle:{"font-style":"italic"}},[a("small",[t._v("WP Editor is only available on WordPress version 4.8 or later. Please Upgrade Your WordPress Core")])])}],!1,null,null,null).exports;function C(t){return function(t){if(Array.isArray(t))return S(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return S(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return S(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,n=new Array(e);a<e;a++)n[a]=t[a];return n}function j(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function T(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}const E={name:"WPPostConditions",props:["config","fields","conditions","allPostTypes","postStatuses","selected_post_types"],data:function(){return{default_condition:{field:null,operator:null,value:null,operators:[],selectableOptions:[],is_selectable:"false"},operators:[],common_operators:[{key:"=",value:"Equal To"},{key:"!=",value:"Not Equal To"}],uncommon_operators:[{key:"IN",value:"In"},{key:"NOT IN",value:"Not In"}],other_operators:[{key:">",value:"Greater Than"},{key:">=",value:"Greater Than Or Equal To"},{key:"<",value:"Less Than"},{key:"<=",value:"Less Than Or Equal To"}],query_limit:0,orderByFields:["ID","post_date","post_author","post_title","post_status","menu_order","comment_count"],authors:[]}},watch:{selected_post_types:function(){this.getPostAuthors()}},methods:{addCondition:function(t){this.conditions.push(function(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?j(Object(a),!0).forEach((function(e){T(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):j(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}({},this.default_condition))},removeCondition:function(t,e){this.conditions.splice(t,1)},setOperators:function(t,e,a){e.operators=C(this.common_operators),"comment_count"==t&&e.operators.map((function(t,a){"!="==t.key&&e.operators.splice(a,1)})),-1!=["ID","comment_count","post_date","post_modified"].indexOf(t)?e.operators=C(e.operators.concat(this.other_operators)):-1==t.indexOf(".")&&-1==["post_author","post_status"].indexOf(t)||(e.operators=C(this.uncommon_operators)),this.setValueField(t,e,a)},setValueField:function(t,e,a){if("post_status"==t)e.value=a||[],e.is_selectable="true",e.selectableOptions=this.postStatuses;else if("post_author"==t)e.value=a||[],e.is_selectable="true",e.selectableOptions=this.authors.map((function(t){return{key:t.ID,label:t.display_name}}));else if(-1!=t.indexOf(".")){e.value=a||[],e.is_selectable="true";var n=C(t.split(".")),i=n[0],o=n[1],l=this.allPostTypes[i].taxonomies[o];e.selectableOptions=l.map((function(t){return{key:t.slug,label:t.name}}))}else e.value=a||null,e.is_selectable="false",e.selectableOptions=[]},isDateField:function(t){return-1!=["post_date","post_modified"].indexOf(t.field)},isSelectable:function(t){return"true"==t.is_selectable},getPostAuthors:function(){var t=this;return this.$getJSON({action:"ninja_tables_ajax_actions",target_action:"get_wp_post_authors",post_types:this.selected_post_types}).then((function(e){t.authors=e.data.authors}))}},mounted:function(){var t=this;this.getPostAuthors().then((function(){_.each(t.conditions,(function(e){t.setOperators(e.field,e,e.value)}))}))}};var I=a(2134),D={insert:"head",singleton:!1};o()(I.Z,D);I.Z.locals;const P=r(E,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wp-post-conditions"},[a("el-row",[a("el-col",{attrs:{md:21}},[a("el-alert",{attrs:{type:"info",title:"",closable:!1,description:"You can add additional conditions/where clauses here.","show-icon":""}})],1),t._v(" "),a("el-col",{staticStyle:{"text-align":"right"},attrs:{md:3}},[a("el-button",{staticStyle:{"margin-top":"4px"},attrs:{type:"primary",icon:"el-icon-plus",size:"small"},on:{click:function(e){return t.addCondition(e)}}})],1)],1),t._v(" "),t._l(t.conditions,(function(e,n){return[a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{md:7,sm:7}},[a("el-select",{attrs:{placeholder:"Select"},on:{change:function(a){return t.setOperators(a,e)}},model:{value:e.field,callback:function(a){t.$set(e,"field",a)},expression:"condition.field"}},t._l(t.fields,(function(t){return a("el-option",{key:t.key,attrs:{label:t.label,value:t.key}})})),1)],1),t._v(" "),a("el-col",{attrs:{md:7,sm:7}},[a("el-select",{attrs:{placeholder:"Select"},model:{value:e.operator,callback:function(a){t.$set(e,"operator",a)},expression:"condition.operator"}},t._l(e.operators,(function(t){return a("el-option",{key:t.key,attrs:{label:t.value,value:t.key}})})),1)],1),t._v(" "),a("el-col",{attrs:{md:7,sm:7}},[t.isSelectable(e)||t.isDateField(e)?!t.isSelectable(e)&&t.isDateField(e)?a("el-date-picker",{attrs:{"popper-class":"wp-post-conditions-el-picker",type:"datetime",placeholder:"Pick a date",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-dd HH:mm:ss"},model:{value:e.value,callback:function(a){t.$set(e,"value",a)},expression:"condition.value"}}):t.isSelectable(e)?a("el-select",{staticClass:"full-width",attrs:{multiple:"",filterable:"","collapse-tags":"",placeholder:"Select"},model:{value:e.value,callback:function(a){t.$set(e,"value",a)},expression:"condition.value"}},t._l(e.selectableOptions,(function(t){return a("el-option",{key:t.key,attrs:{label:t.label,value:t.key}})})),1):t._e():a("el-input",{attrs:{placeholder:"Value"},model:{value:e.value,callback:function(a){t.$set(e,"value",a)},expression:"condition.value"}})],1),t._v(" "),a("el-col",{staticStyle:{"text-align":"right"},attrs:{md:3,sm:3}},[a("el-button",{staticStyle:{"margin-top":"4px"},attrs:{type:"danger",icon:"el-icon-delete",size:"small"},on:{click:function(e){return t.removeCondition(n,e)}}})],1)],1)]})),t._v(" "),t.config&&t.config.table.query_extra?a("div",{staticClass:"ninja_post_query_limit"},[a("div",{staticClass:"ninja_form_group"},[a("label",[t._v(t._s(t.$t("Query Limit for Frontend"))+"\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Query Limit")]),t._v(" "),a("p",[t._v("\n Please specify how many posts/CPTs you want to show in total, Leave blank to show all\n ")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-input",{attrs:{type:"number",size:"small"},model:{value:t.config.table.query_extra.query_limit,callback:function(e){t.$set(t.config.table.query_extra,"query_limit",e)},expression:"config.table.query_extra.query_limit"}}),t._v(" "),t._m(0)],1),t._v(" "),a("div",{staticClass:"ninja_form_group"},[a("label",[t._v(t._s(t.$t("Order By Column"))+"\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Order By Column")]),t._v(" "),a("p",[t._v("\n Please specify order by column. The script will order by with the selected column\n ")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-select",{attrs:{size:"mini"},model:{value:t.config.table.query_extra.order_by_column,callback:function(e){t.$set(t.config.table.query_extra,"order_by_column",e)},expression:"config.table.query_extra.order_by_column"}},t._l(t.orderByFields,(function(t){return a("el-option",{key:t,attrs:{value:t,label:t}})})),1)],1),t._v(" "),a("div",{staticClass:"ninja_form_group",staticStyle:{"margin-top":"20px"}},[a("label",[t._v(t._s(t.$t("Order By Type"))+"\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Order By Type")]),t._v(" "),a("p",[t._v("\n Please specify order by type. The script will order with your selected type\n ")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-select",{attrs:{size:"mini"},model:{value:t.config.table.query_extra.order_by,callback:function(e){t.$set(t.config.table.query_extra,"order_by",e)},expression:"config.table.query_extra.order_by"}},[a("el-option",{attrs:{value:"ASC",label:"Ascending"}}),t._v(" "),a("el-option",{attrs:{value:"DESC",label:"Descending"}})],1)],1)]):t._e()],2)}),[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("p",[a("small",[t._v("Please specify how many posts/CPTs you want to show in total, Leave blank to show all")])])}],!1,null,null,null).exports;function A(t){return function(t){if(Array.isArray(t))return N(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return N(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return N(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function N(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,n=new Array(e);a<e;a++)n[a]=t[a];return n}function O(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function M(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}const F={name:"WPPostMetaQuery",props:["metas"],data:function(){return{default_condition:{field:null,operator:null,value:null,operators:[],selectableOptions:[],is_selectable:"false"},operators:[{key:"=",value:"Equal To"},{key:"!=",value:"Not Equal To"},{key:"IN",value:"In"},{key:"NOT IN",value:"Not In"},{key:">",value:"Greater Than"},{key:">=",value:"Greater Than Or Equal To"},{key:"<",value:"Less Than"},{key:"<=",value:"Less Than Or Equal To"}]}},methods:{addCondition:function(t){this.metas.push(function(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?O(Object(a),!0).forEach((function(e){M(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):O(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}({},this.default_condition))},removeCondition:function(t,e){this.metas.splice(t,1)},setOperators:function(t,e){e.operators=A(this.operators),this.setValueField(t,e)},setValueField:function(t,e){e.value=null,e.is_selectable="false",e.selectableOptions=[]},shouldShowInfo:function(t){return-1!==["IN","NOT IN"].indexOf(t)}}};var z=a(476),B={insert:"head",singleton:!1};o()(z.Z,B);z.Z.locals;const L=r(F,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wp-post-conditions"},[a("el-row",[a("el-col",{attrs:{md:21}},[a("el-alert",{attrs:{type:"info",title:"",closable:!1,description:"You can add additional meta query here.","show-icon":""}})],1),t._v(" "),a("el-col",{staticStyle:{"text-align":"right"},attrs:{md:3}},[a("el-button",{staticStyle:{"margin-top":"4px"},attrs:{type:"primary",icon:"el-icon-plus",size:"small"},on:{click:function(e){return t.addCondition(e)}}})],1)],1),t._v(" "),t._l(t.metas,(function(e,n){return[a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{md:7,sm:7}},[a("el-input",{attrs:{placeholder:"Meta Key"},on:{change:function(a){return t.setOperators(a,e)}},model:{value:e.field,callback:function(a){t.$set(e,"field",a)},expression:"condition.field"}})],1),t._v(" "),a("el-col",{attrs:{md:7,sm:7}},[a("el-select",{attrs:{placeholder:"Select"},model:{value:e.operator,callback:function(a){t.$set(e,"operator",a)},expression:"condition.operator"}},t._l(e.operators,(function(t){return a("el-option",{key:t.key,attrs:{label:t.value,value:t.key}})})),1)],1),t._v(" "),a("el-col",{attrs:{md:7,sm:7}},[a("el-input",{attrs:{placeholder:"Value"},model:{value:e.value,callback:function(a){t.$set(e,"value",a)},expression:"condition.value"}}),t._v(" "),t.shouldShowInfo(e.operator)?[a("el-alert",{staticClass:"compact",attrs:{title:"enter comma separated value",type:"info",closable:!1}})]:t._e()],2),t._v(" "),a("el-col",{staticStyle:{"text-align":"right"},attrs:{md:3,sm:3}},[a("el-button",{staticStyle:{"margin-top":"4px"},attrs:{type:"danger",icon:"el-icon-delete",size:"small"},on:{click:function(e){return t.removeCondition(n,e)}}})],1)],1)]}))],2)}),[],!1,null,null,null).exports;const R={name:"PremiumNotice",props:["highlight"]};var H=a(4135),W={insert:"head",singleton:!1};o()(H.Z,W);H.Z.locals;const q=r(R,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-alert",{staticClass:"premium-notice",attrs:{title:"",type:"warning",closable:!1}},[a("p",[t._v("\n This is a Premium feature. Get\n "),t.highlight?a("b",[t._v(t._s(t.highlight)+",")]):t._e(),t._v(" "),a("b",[t._v("unlimited customizations")]),t._v(",\n "),a("b",[t._v("data filters")]),t._v(",\n "),a("b",[t._v("professional looks")]),t._v(",\n "),a("b",[t._v("Many More Integrations")]),t._v("\n and so many things from the Pro version.\n ")]),t._v(" "),a("a",{staticClass:"buy_now_button el-button el-button--danger el-button--mini",attrs:{href:"https://wpmanageninja.com/ninja-tables/ninja-tables-pro-pricing/?utm_source=ninja-tables&utm_medium=wp&utm_campaign=wp_plugin&utm_term=upgrade"}},[t._v("\n Get Premium Version Now\n ")])])}),[],!1,null,"06fd6e1a",null).exports;const V=r({name:"UpgradeNotice"},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-alert",{staticClass:"update-notice",attrs:{title:"",type:"warning",closable:!1,"show-icon":""}},[a("p",[t._v("\n Please update Ninja Tables Pro Plugin to latest version. Required Ninja Table Version: 3.0 or later\n ")])])}),[],!1,null,null,null).exports,U={name:"WP-Posts",props:{config:{type:Object},tableCreated:{type:Function},hasPLainLayout:{type:Boolean,default:!1}},components:{"wp-post-conditions":P,PremiumNotice:q,UpgradeNotice:V,WpPostMetaQuery:L},data:function(){return{loading:!1,saving:!1,title:null,tableId:null,postStatuses:[],all_types:[],all_fields:[],post_types:[],selected_post_types:[],post_types_fields:[],selected_post_types_fields:[],conditions_section:"conditions",conditions:[],meta_query:"meta",metas:[],active_step:0,query_extra:{},activated_features:window.ninja_table_admin.activated_features,hasPro:!!window.ninja_table_admin.hasPro,queryable_fields:["ID","post_author","comment_count","post_date","post_modified","post_status"]}},computed:{query_able_post_types_fields:function(){var t=this;return this.post_types_fields.filter((function(e){return-1!=t.queryable_fields.indexOf(e.key)||-1!=e.key.indexOf(".")}))}},methods:{nextStep:function(){var t="";if(this.title||(t+=" The title field is required."),this.selected_post_types.length||(t+=" At least select one post type."),t=jQuery.trim(t))return this.active_step=0,void this.$message({showClose:!0,message:t,type:"error"});this.active_step++>=1&&(this.active_step=0)},handlePostTypeChange:function(t,e,a){var n=this,i=[];this.selected_post_types.forEach((function(t){n.all_types[t]&&n.all_types[t].fields.forEach((function(t){i.push({key:t,label:t})}))})),this.post_types_fields=this.all_fields.concat(i),this._updateSelectedFields()},_updateSelectedFields:function(){var t=this;if(!this.selected_post_types.length)return this.post_types_fields=[],void(this.selected_post_types_fields=[]);this.selected_post_types_fields.filter((function(t){return!!t})).forEach((function(e,a){var n=e.split(".");n.length>1&&-1==t.selected_post_types.indexOf(n[0])&&t.selected_post_types_fields.splice(a,1)}))},save:function(){var t=this;this.saving=!0;var e={post_types:this.selected_post_types,columns:this.selected_post_types_fields,where:this.conditions.map((function(t){return Object.assign({},t)})),metas:this.metas.map((function(t){return Object.assign({},t)})),query_extra:!(!this.config||!this.config.table)&&this.config.table.query_extra};_.forEach(e.where,(function(t){delete t.selectableOptions})),this.$post({action:"ninja_table_wp-posts_create_table",post_title:this.title,tableId:this.tableId,data:e}).then((function(e){t.$message({showClose:!0,message:e.data.message,type:"success"}),t.tableCreated(e.data.table_id)})).fail((function(e){var a="",n=e.responseJSON.data.message;for(var i in n)a+=" "+n[i];t.$message({showClose:!0,message:a,type:"error"})})).always((function(e){return t.saving=!1}))},getPostTypes:function(){var t=this;this.loading=!0,this.$get({action:"ninja_tables_ajax_actions",target_action:"get_wp_post_types"}).then((function(e){t.all_types=e.data.post_types,t.postStatuses=e.data.postStatuses,jQuery.each(t.all_types,(function(e,a){var n="";"private"===a.status&&(n=" (private)"),t.post_types.push({key:e,label:e+n})})),t.all_fields=e.data.post_fields.map((function(t){return{key:t,label:t}})),t.config&&(t.tableId=t.config.table.ID,t.conditions=t.config.table.whereConditions||[],t.metas=t.config.table.metaQuery||[],t.selected_post_types=t.config.table.post_types,t.selected_post_types_fields=t.config.columns.map((function(t){return t.original_name})),t.handlePostTypeChange())})).fail((function(t){console.log(t)})).always((function(){t.loading=!1}))}},mounted:function(){this.getPostTypes()}};var Y=a(8698),Z={insert:"head",singleton:!1};o()(Y.Z,Z);Y.Z.locals;const J=r(U,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"ninja_tables_wpposts"},[t.hasPro?t.activated_features.wp_posts_table?a("div",[t.hasPLainLayout?[a("el-row",[a("el-col",{staticClass:"table-rows",attrs:{md:12}},[a("el-transfer",{staticStyle:{"text-align":"left",display:"block"},attrs:{data:t.post_types,titles:["All Types","Selected Types"]},on:{change:t.handlePostTypeChange},model:{value:t.selected_post_types,callback:function(e){t.selected_post_types=e},expression:"selected_post_types"}})],1),t._v(" "),a("el-col",{staticClass:"table-rows",attrs:{md:12}},[a("el-transfer",{staticStyle:{"text-align":"left",display:"block"},attrs:{data:t.post_types_fields,titles:["All Properties","Selected Properties"]},model:{value:t.selected_post_types_fields,callback:function(e){t.selected_post_types_fields=e},expression:"selected_post_types_fields"}})],1)],1),t._v(" "),t.loading?t._e():a("el-row",[a("el-collapse",{staticClass:"nt_conditions",model:{value:t.conditions_section,callback:function(e){t.conditions_section=e},expression:"conditions_section"}},[a("el-collapse-item",{attrs:{name:"1"}},[a("template",{slot:"title"},[a("h4",{staticClass:"no-margin"},[t._v("Conditions")])]),t._v(" "),a("wp-post-conditions",{attrs:{config:t.config,selected_post_types:t.selected_post_types,postStatuses:t.postStatuses,conditions:t.conditions,allPostTypes:t.all_types,fields:t.query_able_post_types_fields}})],2)],1),t._v(" "),a("el-collapse",{staticClass:"nt_conditions",model:{value:t.meta_query,callback:function(e){t.meta_query=e},expression:"meta_query"}},[a("el-collapse-item",{attrs:{name:"1"}},[a("template",{slot:"title"},[a("h4",{staticClass:"no-margin"},[t._v("Meta Query")])]),t._v(" "),a("wp-post-meta-query",{attrs:{config:t.config,metas:t.metas,fields:t.query_able_post_types_fields}})],2)],1)],1),t._v(" "),a("el-row",[a("el-button",{staticStyle:{float:"right","margin-top":"12px"},attrs:{type:"success",size:"small",loading:t.saving},on:{click:t.save}},[t._v("Update\n ")])],1)]:t._e(),t._v(" "),t.hasPLainLayout?t._e():[a("h3",[t._v("\n Construct Table from Posts / CPTs\n ")]),t._v(" "),t._m(0),t._v(" "),a("el-steps",{attrs:{active:t.active_step,"align-center":""}},[a("el-step",{attrs:{title:"Step 1"}}),t._v(" "),a("el-step",{attrs:{title:"Step 2"}})],1),t._v(" "),0==t.active_step?[a("el-row",{staticStyle:{"margin-top":"20px"}},[a("el-input",{attrs:{placeholder:"Title"},model:{value:t.title,callback:function(e){t.title=e},expression:"title"}})],1),t._v(" "),a("el-row",{staticStyle:{"margin-top":"20px"}},[a("div",{staticStyle:{"text-align":"center"}},[a("el-transfer",{staticStyle:{"text-align":"left",display:"block"},attrs:{data:t.post_types,titles:["All Types","Selected Types"]},on:{change:t.handlePostTypeChange},model:{value:t.selected_post_types,callback:function(e){t.selected_post_types=e},expression:"selected_post_types"}})],1)])]:t._e(),t._v(" "),1==t.active_step?[a("el-row",{staticStyle:{"margin-top":"20px"}},[a("div",{staticStyle:{"text-align":"center"}},[a("el-transfer",{staticStyle:{"text-align":"left",display:"block"},attrs:{data:t.post_types_fields,titles:["All Properties","Selected Properties"]},model:{value:t.selected_post_types_fields,callback:function(e){t.selected_post_types_fields=e},expression:"selected_post_types_fields"}})],1)]),t._v(" "),a("el-row",{staticStyle:{"margin-top":"20px"}},[a("div",[a("el-collapse",{attrs:{accordion:"",value:"conditions"},model:{value:t.conditions_section,callback:function(e){t.conditions_section=e},expression:"conditions_section"}},[a("el-collapse-item",{attrs:{name:"conditions",title:"Conditions"}},[t.conditions_section?a("wp-post-conditions",{attrs:{postStatuses:t.postStatuses,selected_post_types:t.selected_post_types,conditions:t.conditions,allPostTypes:t.all_types,fields:t.query_able_post_types_fields}}):t._e()],1)],1)],1)])]:t._e(),t._v(" "),a("el-row",[a("el-col",{attrs:{md:12}},[a("el-button",{staticStyle:{"margin-top":"12px"},attrs:{type:"primary"},on:{click:t.nextStep}},[t._v("\n "+t._s(t.active_step>0?"Prev":"Next")+"\n ")])],1),t._v(" "),a("el-col",{attrs:{md:12}},[t.active_step>0?a("el-button",{staticStyle:{float:"right","margin-top":"12px"},attrs:{type:"success",disabled:!t.activated_features.wp_posts_table,loading:t.saving},on:{click:t.save}},[t._v("Save\n ")]):t._e()],1)],1)]],2):[a("upgrade-notice")]:[a("premium-notice",{attrs:{highlight:"Create nice tables from your existings posts/pages/custom post types"}})]],2)}),[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("p",{staticClass:"ninja_subtitle"},[t._v("\n Displays website content in a searchable, sortable with Ninja Tables. It supports custom posts,\n pages, &\n custom post types. "),a("a",{attrs:{target:"_blank",href:"https://wpmanageninja.com/docs/ninja-tables/wp-posts-table/"}},[t._v("Learn more\n about this module")])])}],!1,null,null,null).exports;var Q=a(6073),X=a.n(Q);const G=r({name:"woo_conditions",props:["query_selections","query_conditions"],data:function(){return{query_terms:[],loading:!1,product_orders:{post_title:"Product Title",date:"Date",menu_order:"Menu Order",average_rating:"Average Rating",price:"price",popularity:"Popularity (Sales)",random:"Random"}}},methods:{getWooSettings:function(){var t=this;this.loading=!0,this.$get({action:"ninja_table_woocommerece_get_options"}).then((function(e){var a=e.data.query_terms;X()(a,(function(e,a){t.query_selections[a]||t.$set(t.query_selections,a,[])})),t.query_terms=a})).fail((function(t){})).always((function(){t.loading=!1}))}},mounted:function(){this.getWooSettings()}},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"ntn_query_selections"},[t._l(t.query_terms,(function(e,n){return a("div",{staticClass:"nt_each_selection"},[a("div",{staticClass:"nt_query_header"},[a("h3",[t._v(t._s(e.title))]),t._v(" "),a("p",[t._v(t._s(e.description))])]),t._v(" "),a("div",{staticClass:"nt_query_body"},[a("el-checkbox-group",{model:{value:t.query_selections[n],callback:function(e){t.$set(t.query_selections,n,e)},expression:"query_selections[term_name]"}},t._l(e.terms,(function(e){return a("el-checkbox",{key:e.slug,attrs:{label:e.slug}},[t._v(t._s(e.name)+" ("+t._s(e.count)+")\n ")])})),1)],1)])})),t._v(" "),a("div",{staticClass:"nt_each_selection"},[a("el-checkbox",{attrs:{"true-label":"yes","false-label":"no"},model:{value:t.query_conditions.hide_out_of_stock,callback:function(e){t.$set(t.query_conditions,"hide_out_of_stock",e)},expression:"query_conditions.hide_out_of_stock"}},[t._v("\n Hide "),a("b",[t._v("out of stocks")]),t._v(" items\n ")])],1),t._v(" "),a("div",{staticClass:"nt_each_selection"},[a("label",[t._v("\n Initial Order By\n "),a("el-select",{attrs:{size:"mini",placeholder:"Order By"},model:{value:t.query_conditions.order_by,callback:function(e){t.$set(t.query_conditions,"order_by",e)},expression:"query_conditions.order_by"}},t._l(t.product_orders,(function(t,e){return a("el-option",{key:e,attrs:{label:t,value:e}})})),1),t._v(" "),a("el-select",{directives:[{name:"show",rawName:"v-show",value:t.query_conditions.order_by&&"random"!=t.query_conditions.order_by,expression:"query_conditions.order_by && query_conditions.order_by != 'random'"}],attrs:{size:"mini",placeholder:"Order By Type"},model:{value:t.query_conditions.order_by_type,callback:function(e){t.$set(t.query_conditions,"order_by_type",e)},expression:"query_conditions.order_by_type"}},[a("el-option",{attrs:{label:"Assending Way",value:"ASC"}}),t._v(" "),a("el-option",{attrs:{label:"Descending Way",value:"DESC"}})],1)],1)])],2)}),[],!1,null,null,null).exports;const K=r({name:"woo_product_table",components:{WooNav:G},data:function(){return{loading:!1,saving:!1,query_selections:{},post_title:"",query_conditions:{}}},props:{tableCreated:{type:Function}},methods:{save:function(){var t=this;this.post_title?(this.saving=!0,this.$post({action:"ninja_table_woocommerece_create_table",post_title:this.post_title,query_selections:this.query_selections,query_conditions:this.query_conditions}).then((function(e){t.$message({showClose:!0,message:e.data.message,type:"success"}),t.tableCreated(e.data.table_id)})).fail((function(e){var a="",n=e.responseJSON.data.message;for(var i in n)a+=" "+n[i];t.$message({showClose:!0,message:a,type:"error"})})).always((function(e){return t.saving=!1}))):this.$message({showClose:!0,message:"Please Provide a Table Title",type:"error"})}},mounted:function(){}},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"woo_table_creator"},[t._m(0),t._v(" "),a("div",{staticClass:"form-group"},[a("label",{attrs:{for:"name"}},[t._v(t._s(t.$t("Table Title")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.post_title,expression:"post_title"}],staticClass:"form-control",attrs:{type:"text",id:"name",placeholder:"Enter a title to identify your table"},domProps:{value:t.post_title},on:{input:function(e){e.target.composing||(t.post_title=e.target.value)}}})]),t._v(" "),a("woo-nav",{attrs:{query_selections:t.query_selections,query_conditions:t.query_conditions}}),t._v(" "),a("div",{staticClass:"form-group"},[a("el-button",{attrs:{loading:t.saving,type:"primary",size:"small"},on:{click:function(e){return t.save()}}},[t._v("\n Create Products Table\n ")])],1)],1)}),[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"nt_module_header"},[a("h3",[t._v("\n Construct Table from Your WooCommerce Products\n ")]),t._v(" "),a("p",{staticClass:"ninja_subtitle"},[t._v("\n Displays products content in a searchable, sortable with Ninja Tables. "),a("a",{attrs:{target:"_blank",href:"https://wpmanageninja.com/ninja-tables/woocommerce-product-table/"}},[t._v("Learn more\n about wocommerece integration")])])])}],!1,null,null,null).exports;const tt={name:"FluentForm",props:{tableCreated:{type:Function,required:!0},editing:{type:Boolean},config:{type:Object}},data:function(){return{installing:!1,fetching:!1,forms:[],fields:[],btnLoading:!1,post_title:"",form:{id:null,fields:[],entry_status:"all",entry_limit:1e3},hasFluentForm:!!window.ninja_table_admin.hasFluentForm,isFluentFormUpdated:!!window.ninja_table_admin.isFluentFormUpdated}},methods:{fetchForms:function(){var t=this;this.fetching=!0,this.$get({action:"ninja_tables_get-fluentform-forms"}).then((function(e){return t.forms=e.data})).fail((function(t){return console.log(t)})).always((function(){t.fetching=!1}))},handleFormSelectionChange:function(t){var e=this;this.$get({form_Id:t,action:"ninja-tables_get-fluentform-fields"}).then((function(t){e.fields=t.data,e.editing&&(e.form.entry_limit=e.config.table.entry_limit,e.form.entry_status=e.config.table.entry_status,e.$nextTick((function(){var t=e.config.columns.map((function(t){return t.original_name}));e.fields.filter((function(e){return-1!=t.indexOf(e.name)})).forEach((function(t){e.$refs.rowSelectableTable.toggleRowSelection(t)}))})))})).fail((function(t){})).always((function(){}))},handleFieldsSelectionChange:function(t){this.form.fields=t},save:function(){var t=this;this.btnLoading=!0,this.config&&this.config.table.current_user_entry_only&&(this.form.current_user_entry_only=this.config.table.current_user_entry_only),this.$post({action:"ninja_tables_save_fluentform_table",post_title:this.post_title,form:this.form,table_Id:this.config&&this.config.table.ID||null}).then((function(e){return t.tableCreated(e.data.table_id)})).fail((function(e){var a="",n=e.responseJSON.data.message;for(var i in n)a+=" "+n[i];t.$message({showClose:!0,message:a,type:"error"})})).always((function(e){return t.btnLoading=!1}))},installFluentFrom:function(){var t=this;this.installing=!0,this.$post({action:"ninja_tables_ajax_actions",target_action:"install_fluent_form"}).then((function(e){t.$message.success(e.data.message),e.data.redirect_url&&(window.location.href=e.data.redirect_url)})).fail((function(e){t.$message.error(e.responseJSON.message)})).always((function(){t.installing=!1}))}},mounted:function(){this.hasFluentForm&&(this.editing?this.handleFormSelectionChange(this.form.id=this.config.table.fluentFormFormId):this.fetchForms())}};var et=a(7571),at={insert:"head",singleton:!1};o()(et.Z,at);et.Z.locals;const nt=r(tt,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ninja_modal-body"},[t.editing?t._e():a("h3",[t._v("\n Construct Table from WP Fluent Form Entries\n ")]),t._v(" "),t.isFluentFormUpdated?[t.editing?t._e():a("p",{staticClass:"ninja_subtitle"},[t._v("\n Prepare your table from your existing WP Fluent Forms submissions. It can be used to easily showcase\n your form submissions.\n "),a("a",{attrs:{target:"_blank",href:"https://wpmanageninja.com/docs/ninja-tables/wp-fluent-form-integration/"}},[t._v("Click\n here to learn more about WP Fluent From Integration")])]),t._v(" "),t.editing?t._e():a("div",{staticClass:"form-group"},[a("label",{attrs:{for:"name"}},[t._v(t._s(t.$t("Table Title")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.post_title,expression:"post_title"}],staticClass:"form-control",attrs:{type:"text",id:"name",placeholder:"Enter a title to identify your table"},domProps:{value:t.post_title},on:{input:function(e){e.target.composing||(t.post_title=e.target.value)}}})]),t._v(" "),t.editing?t._e():a("div",{staticClass:"form-group"},[a("el-select",{directives:[{name:"loading",rawName:"v-loading",value:t.fetching,expression:"fetching"}],staticStyle:{width:"100%"},attrs:{filterable:"",placeholder:"Select a Form"},on:{change:t.handleFormSelectionChange},model:{value:t.form.id,callback:function(e){t.$set(t.form,"id",e)},expression:"form.id"}},t._l(t.forms,(function(t){return a("el-option",{key:t.id,attrs:{label:t.id+" : "+t.title,value:t.id}})})),1)],1),t._v(" "),t.form.id?a("div",{staticClass:"form-group"},[a("el-table",{ref:"rowSelectableTable",staticStyle:{width:"100% !important"},attrs:{data:t.fields,"empty-text":"Loading..."},on:{"selection-change":t.handleFieldsSelectionChange}},[a("el-table-column",{attrs:{type:"selection"}}),t._v(" "),a("el-table-column",{attrs:{prop:"label",label:"Select Entry Fields"}})],1)],1):t._e(),t._v(" "),a("div",{staticClass:"form-group"},[a("strong",[t._v("Options (Optional)")]),t._v(" "),a("hr"),t._v(" "),a("el-row",{staticStyle:{"margin-top":"15px"},attrs:{gutter:20}},[a("el-col",{attrs:{md:12}},[a("el-row",[a("el-col",{staticStyle:{"margin-top":"10px"},attrs:{md:6}},[a("strong",[a("el-tooltip",{attrs:{placement:"right",effect:"light",content:"Maximun records to show in frontend, keep empty to show all."}},[a("i",{staticClass:"el-icon-info el-text-info"})]),t._v("\n Max Records:\n ")],1)]),t._v(" "),a("el-col",{attrs:{md:18}},[a("el-input",{model:{value:t.form.entry_limit,callback:function(e){t.$set(t.form,"entry_limit",e)},expression:"form.entry_limit"}})],1)],1)],1),t._v(" "),a("el-col",{staticStyle:{"margin-top":"10px"},attrs:{md:12}},[a("el-row",[a("el-col",{attrs:{md:6}},[a("strong",[a("el-tooltip",{attrs:{placement:"right",effect:"light",content:"Select what type of entries you want to show from fluent form."}},[a("i",{staticClass:"el-icon-info el-text-info"})]),t._v("\n Entry Type:\n ")],1)]),t._v(" "),a("el-col",{staticStyle:{"margin-top":"3px"},attrs:{md:18}},[a("el-radio-group",{model:{value:t.form.entry_status,callback:function(e){t.$set(t.form,"entry_status",e)},expression:"form.entry_status"}},[a("el-radio",{attrs:{label:"all"}},[t._v("All")]),t._v(" "),a("el-radio",{attrs:{label:"read"}},[t._v("Read")]),t._v(" "),a("el-radio",{attrs:{label:"unread"}},[t._v("Unread")])],1)],1)],1)],1)],1),t._v(" "),t.config&&t.config.table?[a("br"),t._v(" "),a("el-checkbox",{attrs:{"true-label":"yes","false-label":"no"},model:{value:t.config.table.current_user_entry_only,callback:function(e){t.$set(t.config.table,"current_user_entry_only",e)},expression:"config.table.current_user_entry_only"}},[t._v("Show current user submissions only at frontend")])]:t._e()],2),t._v(" "),a("hr"),t._v(" "),a("div",{staticClass:"form-group"},[a("el-button",{staticStyle:{"margin-top":"12px",float:"right"},attrs:{size:"small",type:"primary",loading:t.btnLoading},on:{click:t.save}},[t._v(t._s(t.editing?t.$t("Update"):t.$t("Save"))+"\n ")])],1)]:t.hasFluentForm?[a("el-alert",{staticClass:"premium-notice",attrs:{title:"",type:"warning",closable:!1,"show-icon":""}},[a("p",[t._v("To use this feature your WP Fluent Form need to be updated. Please update WP Fluent From from plugins\n screen")])]),t._v(" "),a("h4",[t._v("See the form in action:")]),t._v(" "),a("br"),t._v(" "),t._m(0)]:a("div",{staticClass:"fluent-form-promo"},[t._m(1),t._v(" "),a("div",[a("el-button",{directives:[{name:"loading",rawName:"v-loading",value:t.installing,expression:"installing"}],attrs:{type:"success"},on:{click:t.installFluentFrom}},[t.installing?a("span",[t._v("Installing WP Fluent From...")]):a("span",[t._v("Install Fluent Form Now")])]),t._v(" "),t.installing?a("p",[t._v("Please wait while installing WP Fluent From")]):t._e()],1),t._v(" "),a("h4",[t._v("See the form in action:")]),t._v(" "),a("br"),t._v(" "),t._m(2)])],2)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticStyle:{position:"relative","padding-bottom":"56.25%","padding-top":"25px",height:"0"}},[e("iframe",{staticStyle:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%"},attrs:{width:"700",height:"394",src:"https://www.youtube.com/embed/XxBrmuhu6yQ",frameborder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:""}})])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("p",[a("a",{attrs:{href:"https://wordpress.org/plugins/fluentform",target:"_blank"}},[t._v("WP Fluent Form")]),t._v(" is a WordPress\n Contact Form plugin packed with all the premium features you would need to create\n a responsive, customizable, drag and drop form. Using this module, You can easily show your form entries\n in Ninja Tables.\n ")])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticStyle:{position:"relative","padding-bottom":"56.25%","padding-top":"25px",height:"0"}},[e("iframe",{staticStyle:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%"},attrs:{width:"700",height:"394",src:"https://www.youtube.com/embed/XxBrmuhu6yQ",frameborder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:""}})])}],!1,null,null,null).exports;function it(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function ot(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?it(Object(a),!0).forEach((function(e){lt(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):it(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function lt(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}const st=r({name:"Remote-Data-Source",components:{PremiumNotice:q,UpgradeNotice:V},props:{columns:{type:Array},type:{type:String,required:!0},tableCreated:{type:Function,required:!0},hasPro:{required:!0},table:{type:Object,default:function(){return{post_title:"",remote_url:"",fields:[],table_id:null}}},editing:{type:Boolean,default:!1},activated_features:{type:Object,default:function(){return{}}}},data:function(){return{fields:[],active_step:0,saving:!1,fetching:!1}},methods:{nextStep:function(){var t="";if(this.table.post_title||(t+=" The title field is required."),this.table.remote_url||(t+=" The url field is required."),t=jQuery.trim(t))return this.active_step=0,void this.$message({showClose:!0,message:t,type:"error"});this.active_step++>=1?this.active_step=0:this.fatchRemoteData()},fatchRemoteData:function(){var t=this;this.fetching=!0;var e=ot(ot({action:"ninja_table_external_data_source_create"},this.table),{},{type:this.type,get_headers_only:!0});delete e.custom_css,this.$post(e).then((function(e){var a=[];if(jQuery.each(e.data,(function(t){return a.push({name:t})})),t.fields=a,t.editing){var n=t.columns.map((function(t){return t.original_name}));t.$nextTick((function(){t.fields.filter((function(t){return-1!=n.indexOf(t.name)})).forEach((function(e){t.$refs.rowSelectableTable.toggleRowSelection(e)}))}))}})).fail((function(e){var a="",n=e.responseJSON.data.message;for(var i in n)a+=" "+n[i];t.$message({showClose:!0,message:a,type:"error"})})).always((function(e){return t.fetching=!1}))},handleFieldsSelectionChange:function(t){this.table.fields=t},save:function(t){var e=this;this.saving=!0;var a=ot(ot({},this.table),{},{type:this.type,action:"ninja_table_external_data_source_create"});delete a.custom_css,this.$post(a).then((function(t){var a=t.data;return e.tableCreated(a.ID)})).fail((function(t){var a="",n=t.responseJSON.data.message;for(var i in n)a+=" "+n[i];e.$message({showClose:!0,message:a,type:"error"})})).always((function(){return e.saving=!1}))}},created:function(){this.editing&&(this.table.table_id=this.table.ID,this.fatchRemoteData())}},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[t.editing?[a("el-table",{ref:"rowSelectableTable",staticStyle:{width:"100% !important"},attrs:{loading:t.fetching,data:t.fields},on:{"selection-change":t.handleFieldsSelectionChange}},[a("el-table-column",{attrs:{type:"selection"}}),t._v(" "),a("el-table-column",{attrs:{prop:"name",label:"Select Entry Fields"}})],1)]:a("div",{staticClass:"ninja_modal-body"},[a("el-steps",{attrs:{active:t.active_step,"align-center":""}},[a("el-step",{attrs:{title:"Step 1"}}),t._v(" "),a("el-step",{attrs:{title:"Step 2"}})],1),t._v(" "),0==t.active_step?["google-csv"==t.type?[a("h3",[t._v("\n Construct Table from Google Sheets\n ")]),t._v(" "),t._m(0)]:t._e(),t._v(" "),"csv"==t.type?[a("h3",[t._v("\n Construct Table from Remote CSV File\n ")]),t._v(" "),a("p",{staticClass:"ninja_subtitle"},[t._v("\n Whenever your remote CSV data changes it will be synced here automatically.\n ")])]:t._e(),t._v(" "),a("div",{staticClass:"form-group"},[a("label",{attrs:{for:"name"}},[t._v(t._s(t.$t("Table Title")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.table.post_title,expression:"table.post_title"}],staticClass:"form-control",attrs:{type:"text",id:"name",placeholder:"Enter a title to identify your table",disabled:!t.activated_features.external_data_source},domProps:{value:t.table.post_title},on:{input:function(e){e.target.composing||t.$set(t.table,"post_title",e.target.value)}}})]),t._v(" "),a("div",{staticClass:"form-group"},[a("label",{attrs:{for:"remote_url"}},[t._v(t._s(t.$t("Data Source URL")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.table.remote_url,expression:"table.remote_url"}],staticClass:"form-control",attrs:{id:"remote_url",type:"text",placeholder:"Enter your source URL",disabled:!t.activated_features.external_data_source},domProps:{value:t.table.remote_url},on:{input:function(e){e.target.composing||t.$set(t.table,"remote_url",e.target.value)}}})])]:[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.fetching,expression:"fetching"}],ref:"rowSelectableTable",staticStyle:{width:"100% !important"},attrs:{data:t.fields},on:{"selection-change":t.handleFieldsSelectionChange}},[a("el-table-column",{attrs:{type:"selection"}}),t._v(" "),a("el-table-column",{attrs:{prop:"name",label:"Select Entry Fields"}})],1)]],2),t._v(" "),t.hasPro?t.activated_features.external_data_source?t._e():[a("UpgradeNotice")]:[a("premium-notice")],t._v(" "),a("div",{staticClass:"modal-footer",staticStyle:{"margin-top":"20px"}},[t.editing?t._e():a("el-row",[a("el-col",{attrs:{md:12}},[a("el-button",{staticStyle:{float:"left"},attrs:{type:"primary",size:"small"},on:{click:t.nextStep}},[t._v("\n "+t._s(t.active_step>0?"Prev":"Next")+"\n ")])],1),t._v(" "),t.active_step>0?a("el-col",{attrs:{md:12}},[a("el-button",{staticStyle:{float:"right"},attrs:{type:"success",size:"small",loading:t.saving,disabled:!t.activated_features.external_data_source},on:{click:t.save}},[t._v(t._s(t.$t("Save"))+"\n ")])],1):t._e()],1)],1),t._v(" "),t.editing?a("div",{staticStyle:{"margin-top":"15px"}},[a("el-input",{attrs:{placeholder:"Remote URL..."},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.fatchRemoteData.apply(null,arguments)}},model:{value:t.table.remoteURL,callback:function(e){t.$set(t.table,"remoteURL",e)},expression:"table.remoteURL"}},[a("el-button",{attrs:{slot:"prepend",loading:t.fetching,size:"small",plain:""},on:{click:t.fatchRemoteData},slot:"prepend"},[t._v(t._s(t.$t("Fetch Columns"))+"\n ")]),t._v(" "),a("el-button",{attrs:{slot:"append",loading:t.saving,size:"small",plain:""},on:{click:t.save},slot:"append"},[t._v(t._s(t.$t("Update Settings"))+"\n ")])],1)],1):t._e()],2)}),[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("p",{staticClass:"ninja_subtitle"},[t._v("\n Whenever your Google Sheets data changes it will be automatically reflected here. You won't have\n to do a thing. Please provide the publishable public URL of your google sheet.\n "),a("a",{attrs:{target:"_blank",href:"https://wpmanageninja.com/docs/ninja-tables/construct-table-from-google-sheets/"}},[t._v("View\n Documentation Here")])])}],!1,null,null,null).exports;const rt={name:"ImportTable",data:function(){return{imports:{source:"file",sourceOptions:["file"],formatOptions:{csv:this.$t("CSV - Comma-separated values"),json:this.$t("JSON - Javascript Object Notation"),ninjaJson:this.$t("JSON - Exported From Ninja Tables")},format:"csv"},do_unicode:"no",errors:[],btnLoading:!1}},methods:{clear:function(){jQuery("#fileUpload").val("")},importTable:function(){var t=this;if(this.btnLoading=!0,this.errors=[],"file"===this.imports.source){var e=jQuery("#fileUpload")[0].files[0];if(e){var a=new FormData;a.append("format",this.imports.format),a.append("file",e),a.append("action","ninja_tables_ajax_actions"),a.append("target_action","import-table"),a.append("do_unicode",this.do_unicode),a.append("ninja_table_admin_nonce",window.ninja_table_admin.ninja_table_admin_nonce),jQuery.ajax({url:ajaxurl,data:a,type:"POST",contentType:!1,processData:!1,success:function(e){t.$message({showClose:!0,message:e.message,type:"success"}),e.tableId&&t.$router.push({name:"data_items",params:{table_id:e.tableId}})},error:function(e){t.errors=e.responseJSON.data.errors,t.$message({showClose:!0,message:e.responseJSON.data.message,type:"error"}),t.btnLoading=!1}})}else this.btnLoading=!1}else this.btnLoading=!0}}};var ct=a(2482),ut={insert:"head",singleton:!1};o()(ct.Z,ut);ct.Z.locals;const dt=r(rt,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"ninja_modal-body"},[a("h3",[t._v("Import Table")]),t._v(" "),a("p",{staticClass:"ninja_subtitle"},[t._v("\n Import table from existing CSV or JSON file.\n ")]),t._v(" "),a("div",{staticClass:"form"},[a("div",{staticClass:"form-group"},["file"===t.imports.source?[a("label",{attrs:{for:"fileUpload"}},[t._v(t._s(t.$t("Select file:")))]),t._v(" "),a("br"),t._v(" "),a("input",{attrs:{type:"file",id:"fileUpload"},on:{click:t.clear}})]:"url"===t.imports.source?[t._v("\n File upload url\n ")]:[a("label",[t._v(t._s(t.$t("Import data:")))]),t._v(" "),a("textarea",{attrs:{rows:"10"}})]],2),t._v(" "),a("div",{staticClass:"form-group"},[a("label",{attrs:{for:"import_format"}},[t._v(t._s(t.$t("Import Format:")))]),t._v(" "),a("select",{directives:[{name:"model",rawName:"v-model",value:t.imports.format,expression:"imports.format"}],staticClass:"form-control",attrs:{id:"import_format"},on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.imports,"format",e.target.multiple?a:a[0])}}},t._l(t.imports.formatOptions,(function(e,n){return a("option",{domProps:{value:n}},[t._v(t._s(t.$t(e))+"\n ")])})),0),t._v(" "),"csv"===t.imports.format?[t._m(0),t._v(" "),a("el-checkbox",{attrs:{"true-label":"yes","false-label":"no"},model:{value:t.do_unicode,callback:function(e){t.do_unicode=e},expression:"do_unicode"}},[t._v("Convert to UTF-8 format ( Check this if your csv is non-unicode format )")])]:t._e(),t._v(" "),a("p",{directives:[{name:"show",rawName:"v-show",value:"json"===t.imports.format||"ninjaJson"===t.imports.format,expression:"imports.format === 'json' || imports.format === 'ninjaJson'"}],staticClass:"hint"},[t._v("\n Check tutorial for importing Table from JSON file\n\n "),a("a",{attrs:{href:"https://wpmanageninja.com/docs/ninja-tables/import-table-data-from-csv/?utm_source=ninja-tables",target:"_blank"}},[t._v("here")])])],2),t._v(" "),t.errors.length?a("div",{staticClass:"form_group ninja_errors"},[a("ul",t._l(t.errors,(function(e,n){return a("li",{key:n},[t._v("\n "+t._s(e.info)+"\n ")])})),0)]):t._e()])]),t._v(" "),a("div",{staticClass:"modal-footer"},[a("el-button",{attrs:{size:"small",type:"primary",loading:t.btnLoading},on:{click:t.importTable}},[t._v("\n "+t._s(t.$t("Import"))+"\n ")])],1)])}),[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("p",{staticClass:"hint"},[t._v("\n Check tutorial for importing data from CSV file\n "),a("a",{attrs:{href:"https://wpmanageninja.com/docs/ninja-tables/import-table-data-from-csv/?utm_source=ninja-tables",target:"_blank"}},[t._v("here")])])}],!1,null,"417a7c88",null).exports;const pt={name:"ninja_ace_editor",props:["value","mode","editor_id"],data:function(){return{ace_path:window.ninja_table_admin.ace_path_url,editorError:"",loading:!0}},methods:{loadDependencies:function(){var t=this;"undefined"==typeof ace?jQuery.get(this.ace_path+"/ace.min.js",(function(){t.initAce()})):this.initAce()},initAce:function(){var t=this;ace.config.set("workerPath",this.ace_path),ace.config.set("modePath",this.ace_path),ace.config.set("themePath",this.ace_path);var e=ace.edit("ninja_custom_css");e.setTheme("ace/theme/monokai"),e.session.setMode("ace/mode/"+this.mode),e.getSession().on("changeAnnotation",(function(){var a=e.getSession().getAnnotations();for(var n in t.editorError="",a)"error"==a[n].type&&(t.editorError=a[n].text)})),e.getSession().on("change",(function(){t.$emit("input",e.getSession().getValue())})),this.loading=!1}},mounted:function(){this.loadDependencies()}};var mt=a(370),_t={insert:"head",singleton:!1};o()(mt.Z,_t);mt.Z.locals;const ht=r(pt,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{"element-loading-text":"Loading Editor..."}},[a("div",{staticClass:"ace_container"},[a("div",{staticClass:"ninja_custom_css_editor",attrs:{id:"ninja_custom_css"}},[t._v(t._s(t.value))])]),t._v(" "),a("div",{staticClass:"editor_errors",class:"ninja_"+t.mode+"_errors"},[a("span",{directives:[{name:"show",rawName:"v-show",value:t.editorError,expression:"editorError"}],staticStyle:{"text-align":"right",display:"inline-block",color:"#ff7171",float:"right"}},[t._v(t._s(t.editorError))])])])}),[],!1,null,"ad6aab96",null).exports;const ft=r({name:"remote_sql_form",props:["connection"],data:function(){return{}}},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"sql_connection_wrapper"},[a("div",{staticClass:"form-group"},[a("label",[t._v("\n DB Name\n "),a("el-input",{attrs:{size:"mini",placeholder:"DB Name"},model:{value:t.connection.db_name,callback:function(e){t.$set(t.connection,"db_name",e)},expression:"connection.db_name"}})],1)]),t._v(" "),a("div",{staticClass:"nt_row_2"},[a("div",{staticClass:"form-group"},[a("label",[t._v("\n DB username\n "),a("el-input",{attrs:{size:"mini",placeholder:"DB User Name"},model:{value:t.connection.db_username,callback:function(e){t.$set(t.connection,"db_username",e)},expression:"connection.db_username"}})],1)]),t._v(" "),a("div",{staticClass:"form-group"},[a("label",[t._v("\n DB User Password\n "),a("el-input",{attrs:{size:"mini",type:"password",placeholder:"DB User Password"},model:{value:t.connection.db_userpassword,callback:function(e){t.$set(t.connection,"db_userpassword",e)},expression:"connection.db_userpassword"}})],1)])]),t._v(" "),a("div",{staticClass:"nt_row_2"},[a("div",{staticClass:"form-group"},[a("label",[t._v("\n DB Host\n "),a("el-input",{attrs:{size:"mini",placeholder:"DB Host"},model:{value:t.connection.db_host,callback:function(e){t.$set(t.connection,"db_host",e)},expression:"connection.db_host"}})],1)]),t._v(" "),a("div",{staticClass:"form-group"},[a("label",[t._v("\n DB Host Port\n "),a("el-input",{attrs:{size:"mini",type:"number",placeholder:"Default: 3306 "},model:{value:t.connection.db_host_port,callback:function(e){t.$set(t.connection,"db_host_port",e)},expression:"connection.db_host_port"}})],1)])])])}),[],!1,null,null,null).exports,vt={name:"CustomSQLQuery",components:{MySqlEditor:ht,PremiumNotice:q,RemoteSqlConnection:ft},props:{tableCreated:{type:Function,required:!0},editing:{type:Boolean},config:{type:Object},activated_features:{type:Object}},data:function(){return{installing:!1,fetching:!1,btnLoading:!1,post_title:"",connection_type:"local",remote_connection:{db_name:"",db_username:"",db_userpassword:"",db_host:"localhost",db_host_port:3306},sql:"",error_html:"",isActivated:this.activated_features.raw_sql_query,hasPro:!!ninja_table_admin.hasPro,has_sql_permission:"yes"==window.ninja_table_admin.has_sql_permission}},methods:{save:function(){var t=this;this.btnLoading=!0,this.error_html="",this.$post({action:"ninja_tables_save_raw_sql_table",post_title:this.post_title,sql:this.sql,connection_details:this.remote_connection,connection_type:this.connection_type,table_Id:this.config&&this.config.table.ID||null}).then((function(e){console.log(e),"string"!=typeof e&&e&&e.data&&e.data.table_id?t.tableCreated(e.data.table_id):t.error_html=e})).fail((function(e){if(console.log(e),"string"!=typeof e){var a="",n=e.responseJSON.data.message;for(var i in n)a+=" "+n[i];t.$message({showClose:!0,message:a,type:"error"}),e.responseJSON.data.error&&(t.error_html=e.responseJSON.data.error)}else t.error_html=res})).always((function(e){return t.btnLoading=!1}))}},mounted:function(){}};var bt=a(464),gt={insert:"head",singleton:!1};o()(bt.Z,gt);bt.Z.locals;const yt=r(vt,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ninja_modal-body"},[a("h3",[t._v("\n Construct Table from Custom SQL Query\n ")]),t._v(" "),a("hr"),t._v(" "),t.hasPro?t.has_sql_permission?t.isActivated?[a("div",{staticClass:"ninja_modal-body"},[a("div",{staticClass:"form-group"},[a("label",{attrs:{for:"name"}},[t._v(t._s(t.$t("Table Title")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.post_title,expression:"post_title"}],staticClass:"form-control",attrs:{type:"text",id:"name",placeholder:"Enter a title to identify your table"},domProps:{value:t.post_title},on:{input:function(e){e.target.composing||(t.post_title=e.target.value)}}})]),t._v(" "),a("div",{staticClass:"form-group"},[a("label",[t._v(t._s(t.$t("Custom SQL Query")))]),t._v(" "),a("my-sql-editor",{attrs:{mode:"mysql",editor_id:"ninja_mysql_editor"},model:{value:t.sql,callback:function(e){t.sql=e},expression:"sql"}}),t._v(" "),t._m(0)],1),t._v(" "),t.error_html?a("div",{staticClass:"form-group"},[a("el-alert",{attrs:{title:"SQL Error",type:"error"},on:{close:function(e){t.error_html=""}}},[a("div",{domProps:{innerHTML:t._s(t.error_html)}})])],1):t._e(),t._v(" "),a("div",{staticClass:"form-group"},[a("label",[t._v(t._s(t.$t("SQL COnnection Type")))]),t._v(" "),a("el-radio-group",{model:{value:t.connection_type,callback:function(e){t.connection_type=e},expression:"connection_type"}},[a("el-radio",{attrs:{label:"local"}},[t._v("Default WP SQL Table")]),t._v(" "),a("el-radio",{attrs:{label:"external"}},[t._v("Remote/External SQL")])],1)],1),t._v(" "),"external"==t.connection_type?a("div",{staticClass:"form-group"},[a("label",[t._v(t._s(t.$t("MYSQL Connection Details")))]),t._v(" "),a("remote-sql-connection",{attrs:{connection:t.remote_connection}})],1):t._e()]),t._v(" "),a("div",{staticClass:"modal-footer"},[a("el-button",{attrs:{type:"primary",size:"small"},on:{click:t.save}},[a("span",[t._v(t._s(t.$t("Add")))]),t._v(" "),t.btnLoading?a("i",{staticClass:"fooicon fooicon-spin fooicon-circle-o-notch"}):t._e()])],1)]:[a("el-alert",{staticClass:"update-notice",attrs:{title:"",type:"warning",closable:!1,"show-icon":""}},[a("p",[t._v("\n Please update Ninja Tables Pro Plugin to latest version. Required Ninja Table Version: 3.3 or later\n ")])])]:[a("el-alert",{attrs:{title:"",type:"error",closable:!1}},[a("p",[t._v("\n For security reason, Custom SQL module is enabled only for Administrator user role. Please ask your site administrator to enable SQL module for other user roles.\n ")])])]:[a("premium-notice",{attrs:{highlight:"SQL module where you can write custom SQL to build your table with "}})]],2)}),[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("p",[t._v("Please write valid SQL query. Your written SQL query will be passed to "),a("code",[t._v("$wpdb->get_results()")]),t._v(" function")])}],!1,null,null,null).exports;var wt=a(9980),xt=a.n(wt),kt={computed:{margin:function(){return{"margin-bottom":this.item.data.style.margin.bottom+"px","margin-left":this.item.data.style.margin.left+"px","margin-right":this.item.data.style.margin.right+"px","margin-top":this.item.data.style.margin.top+"px"}},padding:function(){return{"padding-top":this.item.data.style.padding.top+"px","padding-bottom":this.item.data.style.padding.bottom+"px","padding-left":this.item.data.style.padding.left+"px","padding-right":this.item.data.style.padding.right+"px"}},fontSize:function(){return{"font-size":""===this.item.data.style.fontSize||10===this.item.data.style.fontSize?this.setting.global_styling.options.font_size.value+"px":this.item.data.style.fontSize+"px"}},displayBlock:function(){return{display:"block"}},displayFlex:function(){return{display:"flex"}},textAlign:function(){return{"text-align":this.item.data.style.alignment}},color:function(){return{color:""===this.item.data.style.color||"#000001"===this.item.data.style.color?this.setting.global_styling.options.color.value:this.item.data.style.color}},backgroundColor:function(){return{background:this.item.data.style.backgroundColor}},border:function(){return{border:"".concat(this.item.data.style.borderSize,"px solid ").concat(this.item.data.style.borderColor)}},buttonIconHover:function(){var t=this.item.data.style.hoverIconColor,e=this.item.data.style.iconColor;return{"--icon-color-hover":t=!0===this.item.data.style.isHover?this.svgExtension(this.item.data.style.iconName)?""===t?this.setting.global_styling.options.color.value:t:"transparent":this.svgExtension(this.item.data.style.iconName)?""===e?this.setting.global_styling.options.color.value:e:"transparent"}},iconStyle:function(){var t={},e=this.item.data.style.fontSize,a=this.item.data.style.color,n=""===e||10===e?this.setting.global_styling.options.font_size.value:e,i=""===a||"#000001"===a?this.setting.global_styling.options.color.value:a;return t.width=n+"px",t.height=n+"px",this.svgExtension(this.item.data.value)?(t["mask-image"]="url("+this.getAsset(this.item.data.value)+")",t["-webkit-mask-image"]="url("+this.getAsset(this.item.data.value)+")",t.background=i):(t["background-image"]="url("+this.item.data.value+")",t["background-size"]="cover"),t},iconWithOtherComponent:function(){var t={},e=this.item.data.style.iconFontSize,a=this.item.data.style.iconColor,n=""===e||10===e?this.setting.global_styling.options.font_size.value:e,i=""===a||"#000001"===a?this.setting.global_styling.options.color.value:a;return t.width=n+"px",t.height=n+"px",this.svgExtension(this.item.data.style.iconName)?(t["mask-image"]="url("+this.getAsset(this.item.data.style.iconName)+")",t["-webkit-mask-image"]="url("+this.getAsset(this.item.data.style.iconName)+")",t.background=i):(t["background-image"]="url("+this.item.data.style.iconName+")",t["background-size"]="cover"),t},buttonStyle:function(){return{"text-decoration":"none","border-radius":this.item.data.style.borderRadius+"px",width:"true"===this.item.data.style.fullWidth||!0===this.item.data.style.fullWidth?"100%":"","text-align":this.item.data.style.contentAlignment,overflow:"hidden","line-height":2,display:"inline-block"}},justifyContent:function(){var t="center";return"left"===this.item.data.style.alignment?t="flex-start":"right"===this.item.data.style.alignment&&(t="flex-end"),{"justify-content":t}},lineHeight:function(){return{"line-height":this.item.data.style.lineHeight+"px"}},listStyle:function(){return{padding:0,margin:"15px0px","list-style-position":"inside","list-style-type":"list"===this.item.data.type?this.item.data.style.listStyle:"none"}},progressBarTextStyle:function(){var t=this.item.data.style,e=""===t.fontSize||10===t.fontSize?this.setting.global_styling.options.font_size.value:t.fontSize;return{"--progress-bar-text-color":""===t.color?this.setting.global_styling.options.color.value:t.color,"--progress-bar-font-size":e+"px"}},ratingStyle:function(){var t=this.item.data.style.fontSize;return{"--rating-font-size":(""===t||10===t?this.setting.global_styling.options.font_size.value:t)+"px"}},showRatingScore:function(){return"true"===this.item.data.style.showRatingValue||!0===this.item.data.style.showRatingValue},scoreTemplate:function(){var t=this.item.data.value;return Number.isInteger(t)?"".concat(t,"/").concat(this.item.data.style.maxStar):"".concat(t.toFixed(1),"/").concat(this.item.data.style.maxStar)},starRatingStyling:function(){var t=this.item.data.style.color,e=this.setting.global_styling.options.color.value;return""===t?[e,e,e]:[t,t,t]},fontWeight:function(){var t=this.item.data.style.fontWeight;if(t&&t.length>=0){for(var e="normal",a="normal",n="none",i=0;i<t.length;i++)"bold"===t[i]&&(e="bold"),"italic"===t[i]&&(a="italic"),"underline"===t[i]&&(n="underline");return{"font-weight":e,"font-style":a,"text-decoration":n}}},borderRadius:function(){return{"border-radius":("round"===this.item.data.style.shape?50:0)+"%"}},ribbonSize:function(){var t=this.item.data.style.ribbonType,e="",a="";return"bookmark"===t?(a=this.item.data.style.bookmarkWidth,e=this.item.data.style.bookmarkHeight):"side"===t?(a=this.item.data.style.sideWidth,e=this.item.data.style.sideHeight):"horizontal"===t?(a=this.item.data.style.horizontalWidth,e=this.item.data.style.horizontalHeight):(a=this.item.data.style.width,e=this.item.data.style.height),{width:a+"px",height:e+"px"}},xAxisRibbon:function(){var t=this.item.data.style,e=this.setting.general.options.cell_padding.value;return"corner"===t.ribbonType?Number(t.cornerXAxis-e+10)+"px":Number(t.xAxis-e+10)+"px"},yAxisRibbon:function(){return Number(this.item.data.style.yAxis-this.setting.general.options.cell_padding.value+10)+"px"},textStyle:function(){return{opacity:""===this.item.data.value?".4":1,"line-height":1.2}},verticalAlignMiddle:function(){return{"vertical-align":"middle"}}},methods:{svgExtension:function(t){if(t){var e=t.slice(-4);return".svg"===e.slice(-4)||!e.includes(".")}}}};const Ct={name:"Elements",mixins:[kt],data:function(){return{icon:"",url:"",colors:{5:{value:"#F7BA2A"}}}},watch:{item:{handler:function(t,e){t.data.style.maxStar<t.data.value&&(t.data.value=t.data.style.maxStar)},deep:!0}},methods:{getAsset:function(t){return t.includes(window.location.origin)?t:ninja_table_admin.ninja_tables_pro_url+"/assets/libs/icons/"+t+".svg"},dataTypes:function(t){return!!["text","custom_html","shortcode","button","text_icon"].includes(t)}},props:{item:{type:Object,default:null},itemId:{type:[Number,String],default:0},listItem:{type:Number,default:null},setting:{type:Object,default:{}}},directives:{focus:{inserted:function(t){t.querySelector("input").focus()}}}};var St=a(8052),jt={insert:"head",singleton:!1};o()(St.Z,jt);St.Z.locals;var $t=r(Ct,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ntb-elements-wrapper",style:[t.itemId===t.item.id?t.margin:""]},[t.itemId===t.item.id&&t.dataTypes(t.item.data.type)?a("el-input",{directives:[{name:"focus",rawName:"v-focus"}],style:"color:#ff0000",nativeOn:{mouseleave:function(e){return t.$emit("child-data",t.item.data)},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.$emit("child-data","clickEnter")}},model:{value:t.item.data.value,callback:function(e){t.$set(t.item.data,"value",e)},expression:"item.data.value"}}):t.itemId===t.item.id&&"star_rating"===t.item.data.type?a("el-rate",{staticClass:"ntb-rating",style:[t.padding,t.ratingStyle,t.textAlign],attrs:{colors:t.starRatingStyling,max:t.item.data.style.maxStar,"score-template":t.scoreTemplate,"show-score":t.showRatingScore,"text-color":""+(""===t.item.data.style.color?t.setting.global_styling.options.color.value:t.item.data.style.color),"allow-half":""},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.$emit("child-data")}},nativeOn:{mouseleave:function(e){return t.$emit("child-data")}},model:{value:t.item.data.value,callback:function(e){t.$set(t.item.data,"value",e)},expression:"item.data.value"}}):"icon"===t.item.data.type&&t.itemId===t.item.id?a("span",{style:[t.padding,t.displayBlock,t.textAlign],on:{mouseleave:function(e){return t.$emit("child-data")}}},[a("span",{staticClass:"svgIcon",style:[t.iconStyle,t.textAlign,{"margin-top":"3px"}]})]):"progress"===t.item.data.type&&t.itemId===t.item.id?a("span",{staticClass:"ntb-progress",style:[t.padding,t.displayBlock,t.textAlign],on:{mouseleave:function(e){return t.$emit("child-data")}}},[Number(t.item.data.style.percentage)?a("el-progress",{style:[t.progressBarTextStyle,{"margin-top":"3px"}],attrs:{color:[t.color],percentage:Number(t.item.data.style.percentage),"stroke-width":Number(t.item.data.style.thickness),type:t.item.data.style.type,width:Number(t.item.data.style.width)}}):t._e()],1):"image"===t.item.data.type&&t.itemId===t.item.id?a("span",{on:{mouseleave:function(e){return t.$emit("child-data")}}},[a("a",{style:[t.displayFlex,t.justifyContent],attrs:{href:""+t.item.data.style.link},on:{click:function(t){t.preventDefault()}}},[a("img",{style:[t.padding,t.borderRadius,{width:this.item.data.style.size+"%"}],attrs:{alt:""+t.item.data.style.alt,src:t.item.data.value}})])]):"list"!==t.item.data.type&&"stylist_list"!==t.item.data.type||t.itemId!==t.item.id?"ribbon"===t.item.data.type&&t.itemId===t.item.id?a("span",{staticStyle:{position:"relative",margin:"0",padding:"0",width:"100%"},on:{mouseleave:function(e){return t.$emit("child-data")}}},[a("div",{staticClass:"ribbon-wrapper",style:[{top:t.yAxisRibbon,left:t.xAxisRibbon}]},[a("div",{class:[t.item.data.style.ribbonType,"bookmark"===t.item.data.style.ribbonType?"up":""]},[a("div",{class:["content","left"===t.item.data.style.ribbonPosition?"left":"right"],style:[t.ribbonSize,t.backgroundColor,{"text-align":"center",padding:"corner"===t.item.data.style.ribbonType?t.item.data.style.height+"px 0px":""}]},[a("p",{style:[t.fontSize,t.color,t.fontWeight,{"margin-top":t.item.data.style.textYAxis+"px","margin-left":t.item.data.style.textXAxis+"px"}]},[t._v(t._s(t.item.data.value))])])])])]):t._e():a("span",{style:[t.textAlign],on:{mouseleave:function(e){return t.$emit("child-data")}}},[a(t.item.data.style.listType,{tag:"component",staticClass:"ntb-list-style",style:[t.listStyle,t.padding]},[t._l(t.item.data.value,(function(e,n){return a("li",{key:n,style:[t.color,t.fontSize,t.lineHeight]},["stylist_list"===t.item.data.type?a("span",{staticClass:"svgIcon",style:[t.iconWithOtherComponent,t.textAlign,{"vertical-align":"middle"}]}):t._e(),t._v(" "),a("span",{style:[{"margin-left":t.item.data.style.itemSpacing+"px","vertical-align":"middle"}],domProps:{innerHTML:t._s(e)}})])})),t._v(" "),a("el-input",{directives:[{name:"focus",rawName:"v-focus"}],on:{mouseleave:function(e){return t.$emit("child-data")}},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.$emit("child-data",{item:t.item})}},model:{value:t.item.data.value[t.listItem],callback:function(e){t.$set(t.item.data.value,t.listItem,e)},expression:"item.data.value[listItem]"}})],2)],1)],1)}),[],!1,null,null,null);const Tt=$t.exports;const Et={name:"Datas",mixins:[kt],props:["item","manage","setting"],methods:{copyItem:function(t){this.item.data.value.splice(t+1,0,this.item.data.value[t])},deleteItem:function(t){this.item.data.value.splice(t,1)},getAsset:function(t){return t.includes(window.location.origin)?t:ninja_table_admin.ninja_tables_pro_url+"/assets/libs/icons/"+t+".svg"}},computed:{ratingValue:{get:function(){return Number(this.item.data.value)},set:function(t){this.item.data.value=t}},mouseOver:function(){if(!0===this.item.data.style.isHover){var t=this.item.data.style.hoverColor,e=""===t?this.setting.global_styling.options.color.value:t;return["this.style.background='"+this.item.data.style.hoverBackgroundColor+"'","this.style.color='"+e+"'","this.style.border='"+this.item.data.style.hoverBorderSize+"px solid"+this.item.data.style.hoverBorderColor+"'","this.style.transform='scale("+this.item.data.style.transition+")'"]}},mouseOut:function(){if(!0===this.item.data.style.isHover){var t=this.item.data.style.iconColor,e=""===t||"#000000"===t?this.setting.global_styling.options.color.value:t;return["this.style.background='"+this.item.data.style.backgroundColor+"'","this.style.color='"+e+"'","this.style.border='"+this.item.data.style.borderSize+"px solid"+this.item.data.style.borderColor+"'","this.style.transform='scale(1)'"]}}}},It=Et;var Dt=a(6732),Pt={insert:"head",singleton:!1};o()(Dt.Z,Pt);Dt.Z.locals;var At=r(It,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ntb-datas-wrapper",style:[t.margin]},["text"===t.item.data.type?a("span",{staticClass:"hover-item",style:[t.padding,t.fontWeight,t.fontSize,t.displayBlock,t.textAlign,t.color,t.textStyle],domProps:{innerHTML:t._s(""===t.item.data.value?"Add New":t.item.data.value)}}):"button"===t.item.data.type?a("div",{staticClass:"hover-item",style:[t.justifyContent,{display:t.item.data.style.fullWidth?"block":"flex"}]},[a("a",{style:[t.justifyContent,t.displayFlex,{"text-decoration":"none"}],attrs:{href:""+t.item.data.style.url,target:t.item.data.style.newTab?"_black":""},on:{click:function(t){t.preventDefault()}}},[a("el-button",{staticClass:"ntb-el-button",style:[t.buttonIconHover,t.fontSize,t.color,t.backgroundColor,t.border,t.buttonStyle,{padding:"0px"}],attrs:{type:"primary",onmouseover:t.mouseOver,onmouseout:t.mouseOut}},[a("span",{staticClass:"button-content-wrapper",style:[t.padding]},["left"===t.item.data.style.iconPosition&&t.item.data.style.enableIcon?a("span",{staticClass:"svgIcon",style:[t.iconWithOtherComponent,t.textAlign]}):t._e(),t._v(" "),a("span",{style:[t.fontWeight,{"margin-left":"left"===t.item.data.style.iconPosition?t.item.data.style.itemSpacing+"px":"0px","margin-right":"right"===t.item.data.style.iconPosition?t.item.data.style.itemSpacing+"px":"0px"}],domProps:{innerHTML:t._s(t.item.data.value)}}),t._v(" "),"right"===t.item.data.style.iconPosition&&t.item.data.style.enableIcon?a("span",{staticClass:"svgIcon",style:[t.iconWithOtherComponent,t.textAlign]}):t._e()])])],1)]):"custom_html"===t.item.data.type?a("div",{staticClass:"hover-item",style:[t.padding],domProps:{innerHTML:t._s(t.item.data.value)}}):"shortcode"===t.item.data.type?a("div",{staticClass:"ninja_table_builder_shortcode hover-item",style:[t.textAlign,t.padding],domProps:{innerHTML:t._s(t.item.data.value)}}):"star_rating"===t.item.data.type?a("span",[a("el-rate",{staticClass:"ntb-rating hover-item",style:[t.ratingStyle,t.textAlign,t.padding],attrs:{"score-template":t.scoreTemplate,"allow-half":"","show-score":t.showRatingScore,"text-color":""+(""===t.item.data.style.color?t.setting.global_styling.options.color.value:t.item.data.style.color),max:t.item.data.style.maxStar,colors:t.starRatingStyling},model:{value:t.ratingValue,callback:function(e){t.ratingValue=e},expression:"ratingValue"}})],1):"icon"===t.item.data.type?a("span",{staticClass:"hover-item",style:[t.padding,t.displayBlock,t.textAlign]},[a("span",{staticClass:"svgIcon",style:[t.iconStyle,t.textAlign,{"margin-top":"3px"}]})]):"progress"===t.item.data.type?a("span",{staticClass:"ntb-progress hover-item",style:[t.padding,t.displayBlock,t.textAlign]},[Number(t.item.data.style.percentage)?a("el-progress",{style:[t.progressBarTextStyle,{"margin-top":"3px"}],attrs:{type:t.item.data.style.type,width:Number(t.item.data.style.width),percentage:Number(t.item.data.style.percentage),color:[t.color],"stroke-width":Number(t.item.data.style.thickness)}}):t._e()],1):"image"===t.item.data.type?a("span",[a("a",{staticClass:"hover-item",style:[t.displayBlock,t.textAlign],attrs:{target:"_blank",href:""+t.item.data.style.link},on:{click:function(t){t.preventDefault()}}},[a("img",{style:[t.padding,t.borderRadius,{width:this.item.data.style.size+"%"}],attrs:{src:t.item.data.value,alt:""+t.item.data.style.alt}})])]):"list"===t.item.data.type||"stylist_list"===t.item.data.type?a("span",{staticClass:"ntb-list hover-item",style:[t.textAlign,t.displayFlex,t.justifyContent]},[a(t.item.data.style.listType,{tag:"component",class:t.manage?"":"ntb-list-style",style:[t.listStyle,t.padding]},t._l(t.item.data.value,(function(e,n){return a("li",{key:n,style:[t.color,t.fontSize,t.lineHeight]},[a("span",{staticStyle:{cursor:"pointer"},on:{click:function(e){return t.$emit("list-item",{index:n})}}},["stylist_list"===t.item.data.type?a("span",{staticClass:"svgIcon",style:[t.iconWithOtherComponent,t.textAlign,t.verticalAlignMiddle]}):t._e(),t._v(" "),a("span",{style:[t.fontWeight,t.verticalAlignMiddle,{"margin-left":t.item.data.style.itemSpacing+"px"}],domProps:{innerHTML:t._s(e)}})]),t._v(" "),t.manage?t._e():a("div",{staticClass:"icon-styles remove-elements"},[a("i",{staticClass:"el-icon-copy-document",on:{click:function(e){return e.stopPropagation(),t.copyItem(n)}}}),t._v(" "),a("i",{staticClass:"el-icon-delete",on:{click:function(e){return e.stopPropagation(),t.deleteItem(n)}}})])])})),0)],1):t._e(),t._v(" "),"text_icon"===t.item.data.type?a("span",{staticClass:"hover-item",style:[t.displayFlex,t.justifyContent]},[a("span",{staticClass:"icon-text-wrapper",style:[t.padding,t.fontWeight,t.fontSize,t.displayBlock,t.textAlign,t.color]},["left"===t.item.data.style.iconPosition?a("span",{staticClass:"svgIcon",style:[t.iconWithOtherComponent,t.textAlign,t.verticalAlignMiddle]}):t._e(),t._v(" "),a("span",{style:"\n vertical-align: middle;\n margin-left: "+("left"===t.item.data.style.iconPosition?t.item.data.style.itemSpacing:0)+"px;\n margin-right: "+("right"===t.item.data.style.iconPosition?t.item.data.style.itemSpacing:0)+"px;\n ",domProps:{innerHTML:t._s(t.item.data.value)}}),t._v(" "),"right"===t.item.data.style.iconPosition?a("span",{staticClass:"svgIcon",style:[t.iconWithOtherComponent,t.textAlign,t.verticalAlignMiddle]}):t._e()])]):t._e(),t._v(" "),"ribbon"===t.item.data.type?[a("div",{staticClass:"ribbon-wrapper",style:[{top:t.yAxisRibbon,left:t.xAxisRibbon}]},[a("div",{class:[t.item.data.style.ribbonType,"bookmark"===t.item.data.style.ribbonType?"up":""]},[a("div",{class:["content","left"===t.item.data.style.ribbonPosition?"left":"right"],style:[t.ribbonSize,t.backgroundColor,{"text-align":"center",padding:"corner"===t.item.data.style.ribbonType?t.item.data.style.height+"px 0px":""}]},[a("p",{style:[t.fontSize,t.color,t.fontWeight,{"margin-top":t.item.data.style.textYAxis+"px","margin-left":t.item.data.style.textXAxis+"px"}]},[t._v(t._s(t.item.data.value))])])])])]:t._e()],2)}),[],!1,null,null,null);const Nt=At.exports;function Ot(t){return function(t){if(Array.isArray(t))return Mt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Mt(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return Mt(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Mt(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,n=new Array(e);a<e;a++)n[a]=t[a];return n}var Ft={data:function(){return{tdIds:[],merge:{items:[],rowColumn:[],history:{},visible:!1},split:{visible:!1}}},methods:{addTopRow:function(){this.tableData.data.unshift(this.row()),this.tableData.table.tr=Number(this.tableData.table.tr)+1,this.updateHistoryRowIndex()},addBottomRow:function(){this.tableData.data.push(this.row()),this.tableData.table.tr=Number(this.tableData.table.tr)+1,this.updateHistoryRowIndex()},addLeftColumn:function(){var t=this;this.tableData.data.forEach((function(e,a){t.$set(e.rows,t.columnName,t.defaultTd())})),this.tableData.headers.unshift(this.columnName),this.tableData.table.tc=Number(this.tableData.table.tc)+1,this.updateHistoryColumnIndex()},addRightColumn:function(){var t=this;this.tableData.data.forEach((function(e,a){t.$set(e.rows,t.columnName,t.defaultTd())})),this.tableData.headers.push(this.columnName),this.tableData.table.tc=Number(this.tableData.table.tc)+1,this.updateHistoryColumnIndex()},defaultItem:function(){var t=this.initialData.components.general.fields[0];return{id:this.id(),data:this.deepClone(t)}},row:function(){var t=this,e={};return this.tableData.headers.forEach((function(a){e[a]=t.defaultTd()})),{rows:e,style:this.trStyle()}},defaultTd:function(){return{style:this.tdStyle(),columns:[this.defaultItem()]}},tdStyle:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{tdId:this.id(8),backgroundColor:t.backgroundColor?t.backgroundColor:"",columnWidth:t.columnWidth?t.columnWidth:"",emptyCell:t.emptyCell?t.emptyCell:"",verticalAlignment:t.verticalAlignment?t.verticalAlignment:"",rowspan:t.rowspan||0===t.rowspan?t.rowspan:1,colspan:t.colspan||0===t.colspan?t.colspan:1}},trStyle:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{trId:this.id(7),backgroundColor:t.backgroundColor?t.backgroundColor:"",rowHeight:t.rowHeight?t.rowHeight:""}},copyRow:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=(arguments.length>1&&void 0!==arguments[1]||this.table.rowIndex,{}),n=this.isEmpty(e)?this.table.row:e;return this.tableData.headers.forEach((function(e){var i=n.rows[e],o=[];i.columns.forEach((function(e){var a={id:t.id(),data:t.deepClone(e.data)};o.push(a)})),a[e]={style:t.tdStyle(i.style),columns:o}})),{style:this.trStyle(n.style),rows:a}},removeRow:function(){var t=this,e=this.selectedColumnStyle,a=function(e){t.tableData.data.splice(e,1),t.tableData.table.tr=Number(t.tableData.table.tr)-1,t.updateHistoryRowIndex()},n=function(e,a,n){var i=e.style,o=e.columns;i.rowspan=i.rowspan-1;var l=t.tableData.data[a+1].rows[n];l.columns=o,l.style=i},i=this.table.rowIndex,o=this.mergedIndexes("rowIndexes").sort(),l=this.selectedRowSpans();this.allEqual(l)?a(i):e&&e.rowspan>1?(o.forEach((function(e){t.tableData.headers.forEach((function(a){var o=t.tableData.data[e]&&t.tableData.data[e].rows[a];e===i?t.merge.history[o.style.tdId]&&delete t.merge.history[o.style.tdId]:o.style.rowspan>1&&(n(o,e,a),t.updateHistoryByRow(o.style.tdId,e,"pop"))}))})),this.$nextTick((function(){var t=o.length-e.rowspan;o.splice(0,t),o.reverse().forEach((function(t){a(t)}))}))):(o.forEach((function(e){t.tableData.headers.forEach((function(a){var l=t.tableData.data[e]&&t.tableData.data[e].rows[a];e===i&&l.style.rowspan>1?(n(l,e,a),t.updateHistoryByRow(l.style.tdId,e,"pop")):l&&l.style.rowspan>1&&e!==Math.max.apply(Math,Ot(o))&&(l.style.rowspan=l.style.rowspan-1,t.updateHistoryByRow(l.style.tdId,e,"pop"))}))})),this.$nextTick((function(){a(i)}))),this.clearMerge()},removeColumn:function(){var t=this,e=this.selectedColumnStyle,a=function(e){var a=t.tableData.headers.indexOf(t.headerName(e));a>-1&&(t.tableData.data.forEach((function(a){delete a.rows[t.headerName(e)]})),t.tableData.headers.splice(a,1),t.tableData.table.tc=Number(t.tableData.table.tc)-1),t.updateHistoryColumnIndex()},n=function(e,a,n){var l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,s=a.style,r=a.columns;if(a.style.colspan>1){if(s.colspan=s.colspan-1,i===l?l:o[0]){var c=e.rows[t.headerName(n+1)];c.columns=r,c.style=s}t.updateHistoryByColumn(n+1,a.style.tdId,"pop")}},i=this.table.columnIndex,o=this.mergedIndexes("columnIndexes").sort(),l=this.selectedColSpans();this.allEqual(l)?a(i):e&&e.colspan>1?(o.forEach((function(e){t.tableData.data.forEach((function(a){var o=a.rows[t.headerName(e)];e===i?t.merge.history[o.style.tdId]&&delete t.merge.history[o.style.tdId]:n(a,o,e)}))})),this.$nextTick((function(){var t=o.length-e.colspan;o.splice(0,t),o.reverse().forEach((function(t){a(t)}))}))):(o.forEach((function(e){t.tableData.data.forEach((function(a){var l=a.rows[t.headerName(e)];e===i&&l.style.colspan>1?n(a,l,e,e):l&&l.style.colspan>1&&e!==Math.max.apply(Math,Ot(o))&&(l.style.colspan=l.style.colspan-1,t.updateHistoryByColumn(e+1,l.style.tdId,"pop"))}))})),this.$nextTick((function(){a(i)}))),this.clearMerge()},duplicateRow:function(){var t=this,e=this.selectedColumnStyle,a=this.selectedRowSpans(),n=this.mergedIndexes("rowIndexes").sort();n=n.length>0?n:[this.table.rowIndex];var i=this.table.rowIndex,o=function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.tableData.data.splice(e+1,0,t.copyRow(a,e)),t.tableData.table.tr=Number(t.tableData.table.tr)+1,t.updateHistoryRowIndex()};if(this.allEqual(a))o(i);else if(e&&e.rowspan>1||e.colspan>1)!function(){for(var e=0,l=function(l){var s=t.tableData.data[l];o(Math.max.apply(Math,Ot(n))+e,s),e++,t.tableData.headers.forEach((function(o,r){var c=s&&s.rows[o],u=t.tableData.data[Math.max.apply(Math,Ot(n))+e],d=u&&u.rows[o];if(c&&c.style.rowspan>1||c.style.colspan>1){var p=t.merge.history[c.style.tdId],m=t.deepClone(p);(d&&d.style.rowspan>1||d.style.colspan>1)&&(t.merge.history[d.style.tdId]=m,t.updateHistoryRowIndex())}if(c.style.rowspan>1&&Math.min.apply(Math,Ot(n))!==l&&i===Math.min.apply(Math,Ot(n))){var _=t.merge.history[c.style.tdId],h=[],f=[];_.forEach((function(t,e){f.push(t.columnIndex)}));var v=Ot(new Set(f)),b=Ot(new Set(f)),g=v.concat(b);_.forEach((function(t,e){Math.min.apply(Math,Ot(n))!==t.rowIndex&&t.rowIndex<=Math.max.apply(Math,Ot(n))&&h.push({rowIndex:t.rowIndex,columnIndex:g[e]})})),t.merge.history[c.style.tdId]=h,c.style.rowspan=c.style.rowspan-1,c.columns=[t.defaultItem()]}else l!==i||0!==d.style.rowspan||0!==a[r-1]&&0!==a[r+1]||(d.style.colspan=1,d.style.rowspan=1,d.columns=[t.defaultItem()])}))},s=i;s<=Math.max.apply(Math,Ot(n));s++)l(s)}();else{o(i);for(var l=Math.min.apply(Math,Ot(n));l<=i;l++){var s=this.tableData.data[l];Object.entries(s.rows).forEach((function(e){var a=e[1];a.style.rowspan>1&&(a.style.rowspan=a.style.rowspan+1,t.updateHistoryByRow(a.style.tdId,i,"push"))}))}this.greaterThanOneNumber(a,1)&&(a=this.selectedRowSpans(this.tableData.data[i]));var r=this.tableData.data[i+1];a.forEach((function(e,a){(0===e||e>1)&&(r.rows[t.headerName(a)].style.rowspan=0)}))}this.clearMerge()},duplicateColumn:function(){var t=this,e=this.selectedColumnStyle,a=this.table.columnIndex,n=this.mergedIndexes("columnIndexes").sort(),i=this.selectedColSpans(),o=function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";t.tableData.data.forEach((function(a,o){var s=[],r=a.rows[t.headerName(e)];r.columns.forEach((function(e){var a={id:t.id(),data:t.deepClone(e.data)};s.push(a)}));var c={style:t.tdStyle(r.style),columns:s};"else"===l?e===Math.min.apply(Math,Ot(n))&&(r.style.colspan>1||0===r.style.colspan)?r.style.colspan=0:e!==Math.min.apply(Math,Ot(n))&&r.style.colspan>1&&(r.style.colspan=0,r.style.rowspan=0):"elseif"===l&&(Math.min.apply(Math,Ot(n))!==e&&r.style.colspan>1?(r.style.colspan=r.style.colspan-1,r.columns=[t.defaultItem()]):0!==c.style.colspan||0!==i[o]||0!==i[o-1]&&0!==i[o+1]||(c.style.colspan=1,c.style.rowspan=1,c.columns=[t.defaultItem()])),t.$set(a.rows,t.columnName,c);var u=t.merge.history[r.style.tdId];if(u){var d=t.deepClone(u);c.style.colspan>1&&(t.merge.history[c.style.tdId]=d)}}));var s="else"===l?a:n.length>0?Math.max.apply(Math,Ot(n))+o:a;t.tableData.headers.splice(s,0,t.columnName),t.tableData.table.tc=Number(t.tableData.table.tc)+1,t.updateHistoryColumnIndex()};if(this.allEqual(i))o(a);else if(e&&e.colspan>1){var l=n.length-e.colspan;n.splice(0,l),n.forEach((function(t,e){o(t,++e,"elseif")}))}else n.forEach((function(e){t.tableData.data.forEach((function(a){var n=a.rows[t.headerName(e)];n.style.colspan>1&&(n.style.colspan=n.style.colspan+1,t.updateHistoryByColumn(e,n.style.tdId,"push"))}))})),o(a,0,"else");this.clearMerge()},insertColumnBefore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.table.columnIndex,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"before",n=function(e){t.tableData.data.forEach((function(e,a){t.$set(e.rows,t.columnName,t.defaultTd())})),t.tableData.headers.splice(e,0,t.columnName),t.tableData.table.tc=Number(t.tableData.table.tc)+1,t.updateHistoryColumnIndex()},i=this.deepClone(e),o=this.selectedColumnStyle,l=o&&o.colspan,s=this.mergedIndexes("columnIndexes").sort(),r=this.selectedColSpans();if("before"!==a||!this.allEqual(r)&&i!==Math.min.apply(Math,Ot(s)))if("after"!==a||Math.max.apply(Math,Ot(s))!==e-1&&!this.allEqual(r)){n(e);for(var c=function(e){t.tableData.data.forEach((function(a,n){var o=a.rows[t.headerName(e)];t.greaterThanOneNumber(r,1)&&(r=t.selectedColSpans(i-1)),o.style.colspan>1?(o.style.colspan=o.style.colspan+1,t.updateHistoryByColumn(i,o.style.tdId,"push")):(0===r[n]||r[n]>1)&&(o.style.colspan=0,o.columns=[])}))},u=Math.min.apply(Math,Ot(s));u<=i;u++)c(u)}else l>1&&(e=Math.max.apply(Math,Ot(s))+1),n(e);else n(e);this.clearMerge()},insertColumnAfter:function(){this.insertColumnBefore(this.table.columnIndex+1,"after")},mergedIndexes:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rowIndexes",a=Object.entries(this.merge.history);a.map((function(a){a[1].map((function(n){("rowIndexes"!==e||n.rowIndex!==t.table.rowIndex||t.tdIds.includes(a[0]))&&("columnIndexes"!==e||n.columnIndex!==t.table.columnIndex||t.tdIds.includes(a[0]))||t.tdIds.push(a[0])}))}));var n=[];return this.tdIds.forEach((function(a){var i=t.merge.history[a];i&&i.map((function(t){n.push("rowIndexes"===e?t.rowIndex:t.columnIndex)}))})),Ot(new Set(n))},selectedColSpans:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.table.columnIndex,a=[];return this.tableData.data.forEach((function(n,i){var o=n.rows[t.headerName(e)];a.push(o.style.colspan)})),a},selectedRowSpans:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.isEmpty(t)?this.table.row:t,a=[];return e&&Object.values(e.rows).forEach((function(t){a.push(t.style.rowspan)})),a},insertRowBefore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.table.rowIndex,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"before",n=this.selectedColumnStyle,i=n&&n.rowspan,o=function(e){t.tableData.data.splice(e,0,t.row()),t.tableData.table.tr=Number(t.tableData.table.tr)+1,t.updateHistoryRowIndex()},l=this.deepClone(e),s=this.mergedIndexes("rowIndexes"),r=this.selectedRowSpans();if("before"!==a||!this.allEqual(r)&&l!==Math.min.apply(Math,Ot(s)))if("after"!==a||Math.max.apply(Math,Ot(s))!==e-1&&!this.allEqual(r)){o(e);for(var c=Math.min.apply(Math,Ot(s));c<l;c++){var u=this.tableData.data[c];Object.entries(u.rows).forEach((function(e){var a=e[1];a.style.rowspan>1&&(a.style.rowspan=a.style.rowspan+1,t.updateHistoryByRow(a.style.tdId,l,"push"))}))}this.greaterThanOneNumber(r,1)&&(r=this.selectedRowSpans(this.tableData.data[e-1]));var d=this.tableData.data[e];r.forEach((function(e,a){(0===e||e>1)&&(d.rows[t.headerName(a)].style.rowspan=0)}))}else i>1&&(e=Math.max.apply(Math,Ot(s))+1),o(e);else o(e);this.clearMerge()},updateHistoryColumnIndex:function(){var t=this;this.tableData.data.forEach((function(e,a){t.tableData.headers.forEach((function(a,n){var i=e.rows[a],o=t.merge.history[i.style.tdId];o&&o.forEach((function(t,e){t.columnIndex=n+Math.floor(e/2)}))}))}))},updateHistoryRowIndex:function(){var t=this;this.tableData.data.forEach((function(e,a){Object.values(e.rows).forEach((function(e){var n=t.merge.history[e.style.tdId];if(n){var i=n.map((function(t){return t.columnIndex}));t.allEqual(i)?n.forEach((function(t,e){t.rowIndex=a+e})):n.forEach((function(t,e){t.rowIndex=a+Math.floor(e/2)}))}}))}))},insertRowAfter:function(){this.insertRowBefore(this.table.rowIndex+1,"after")},dragColumn:function(t){t.moved&&(this.updateHistoryColumnIndex(),this.clearMerge())},dragRow:function(t){t.moved&&(this.updateHistoryRowIndex(),this.clearMerge())},clearMerge:function(){this.tdIds=[],this.merge.items=[],this.merge.rowColumn=[],this.split.visible=!1,this.merge.visible=!1},selectItem:function(t,e,a,n,i){var o=this,l=arguments.length>5&&void 0!==arguments[5]&&arguments[5];this.setTdIndex(),this.table.rowIndex=t,this.table.columnIndex=a,this.table.row=i,this.table.column=n;var s=jQuery("#td_id_"+n.style.tdId).attr("cellIndex");if("cells"===this.activeTab){if(l)this.split.visible=!1;else if(this.clearMerge(),n.style.colspan>1||n.style.rowspan>1){var r=Object.keys(this.merge.history),c=r.map((function(t){return parseInt(t)}));this.split.visible=c.includes(parseInt(n.style.tdId))}else this.split.visible=!1;if(this.tdIds.includes(n.style.tdId)){n.columns.forEach((function(t){var e=o.merge.items.indexOf(t);e>=0&&o.merge.items.splice(e,1)}));var u=1,d=n.style.colspan,p=n.style.rowspan;d>1&&p>1?u=d*p:d>1?u=d:p>1&&(u=p);for(var m=0;m<u;m++){var _=this.merge.rowColumn.findIndex((function(t){return t.cellIndex===s}));_>=0&&this.merge.rowColumn.splice(_,1)}var h=this.tdIds.indexOf(n.style.tdId);h>=0&&this.tdIds.splice(h,1)}else this.tdIds.push(n.style.tdId),n.columns.forEach((function(t){o.merge.items.push(t)})),this.keyExist(this.merge.history,n.style.tdId)?this.merge.history[n.style.tdId].forEach((function(t){o.merge.rowColumn.push({rowIndex:t.rowIndex,columnIndex:t.columnIndex,cellIndex:s,tdId:n.style.tdId})})):this.merge.rowColumn.push({rowIndex:t,columnIndex:a,cellIndex:s,tdId:n.style.tdId});var f=this.merge.rowColumn.map((function(t){return t.rowIndex})),v=this.merge.rowColumn.map((function(t){return t.columnIndex}));this.merge.visible=this.groupByData(f,v)}else if(l)if(this.tdIds.includes(n.style.tdId)){var b=this.tdIds.indexOf(n.style.tdId);b>=0&&this.tdIds.splice(b,1)}else this.tdIds.push(n.style.tdId);else this.tdIds=[],this.tdIds.splice(0,1,n.style.tdId);this.manageCell(!0,this.activeTab)},groupByData:function(t,e){if(t.length>1){var a=t.reduce((function(t,e){return t[e]=t[e]?t[e]+1:1,t}),{}),n=Object.values(a).every((function(t,e,a){return t===a[0]})),i=e.reduce((function(t,e){return t[e]=t[e]?t[e]+1:1,t}),{}),o=Object.values(i).every((function(t,e,a){return t===a[0]}));if(n&&o){var l=Ot(new Set(t)).sort(),s=Ot(new Set(e)).sort(),r=this.findElement(l),c=this.findElement(s);if(r&&c){if(2===t.length&&2===e.length){var u=this.merge.rowColumn.map((function(t){return Number(t.rowIndex)})),d=this.merge.rowColumn.map((function(t){return Number(t.columnIndex)}));return u[0]===u[1]||d[0]===d[1]}return!0}return!1}return!1}return!1},findElement:function(t){for(var e=1;e<t.length;e++)if(t[e]-t[e-1]>1)return!1;return!0},mergeCell:function(){var t=this,e=Math.min.apply(Math,Ot(this.merge.rowColumn.map((function(t){return t.cellIndex})))),a=this.merge.rowColumn.find((function(t){return t.cellIndex==e})),n=this.merge.rowColumn.map((function(t){return t.rowIndex})).filter((function(t,e,a){return a.indexOf(t)===e})),i=this.merge.rowColumn.map((function(t){return t.columnIndex})).filter((function(t,e,a){return a.indexOf(t)===e})),o=[];this.merge.rowColumn.forEach((function(e){var l=e.columnIndex,s=e.rowIndex,r=t.headerName(l),c=t.tableData.data[s].rows[r];o.push({rowIndex:s,columnIndex:l}),a.tdId===c.style.tdId?(c.columns=t.merge.items,c.style.rowspan=n.length,c.style.colspan=i.length,t.merge.history[a.tdId]=o):(c.style.rowspan=0,c.style.colspan=0)})),this.clearMerge(),o=[],this.tableData.table.merge.history=this.merge.history},splitCell:function(){var t=this,e=this.table.column;this.merge.history[e.style.tdId].forEach((function(e){var a=t.headerName(e.columnIndex),n=t.tableData.data[e.rowIndex].rows[a];0===n.style.rowspan&&0===n.style.colspan&&(n.columns=[t.defaultItem()]),n.style.rowspan=1,n.style.colspan=1})),delete this.merge.history[e.style.tdId],this.clearMerge()},tdActiveRowSpan:function(t){return this.selectedTrId===t?this.selectedRowSpan:1},tdActiveInactiveClass:function(t){return this.selectedTrId===t?"td-active":"td-inactive"},tdClass:function(t,e,a){return this.table.columnIndex===a&&1===this.tdIds.length?"single-row-column":"td_class_"+this.tdId(t,e)},thActiveInactiveClass:function(t){return this.headerName(this.table.columnIndex)===t?"th-active":"th-inactive"},trId:function(t){return this.tdIds.includes(t)?"selected-item":"tr_id_"+t},trInlineStyle:function(t,e){var a=t.style,n=this.setting.background.options,i="";return i=0===e&&""===a.backgroundColor?n.header_background.value:e%2==0&&0!==e&&""===a.backgroundColor?n.even_row_background.value:e%1==0&&0!==e&&""===a.backgroundColor?n.odd_row_background.value:a.backgroundColor,{height:a.rowHeight>"50"?a.rowHeight+"px":"",background:i}},tdInlineStyle:function(t,e){return{padding:this.setting.general.options.cell_padding.value+"px","max-width":this.columnWidth(t,e)+"px","min-width":this.columnWidth(t,e)+"px","background-color":t.rows[e]?t.rows[e].style.backgroundColor:"",display:t.rows[e].style.colspan>0&&t.rows[e].style.rowspan>0?"":"none"}},tdInlineStyleResponsive:function(t,e,a,n,i,o){var l=this.setting.general.options.cell_padding.value,s=(n?1:0)+i,r=this.setting.background.options,c="";c="mobile"===o?this.responsiveInitial.mobileActivePixel:"tablet"===o?this.responsiveInitial.tabletActivePixel:300;var u=1==this.tableData.table.tr&&n?c+"px":c/s+"px",d="";return d=""!==t.backgroundColor?t.backgroundColor:0===a?""===e.backgroundColor?r.header_background.value:e.backgroundColor:a%2==0?""===e.backgroundColor?r.even_row_background.value:e.backgroundColor:a%1==0?""===e.backgroundColor?r.odd_row_background.value:e.backgroundColor:"",{padding:l+"px",height:""!==e.rowHeight?e.rowHeight+"px":"","max-width":u,"min-width":u,"background-color":d,"box-sizing":"border-box",overflow:"hidden",display:t.colspan>0&&t.rowspan>0||this.mobileDeviceShowHeader?"":"none"}},headerName:function(t){return this.tableData.headers[t]},updateHistoryByColumn:function(t,e,a){var n=this.merge.history[e];if(n&&a)if("push"===a){var i=Math.max.apply(Math,Ot(n.map((function(t){return t.columnIndex}))));Ot(new Set(n.map((function(t){return t.rowIndex})))).forEach((function(t){var e={rowIndex:t,columnIndex:i+1};n.push(e)}))}else"pop"===a&&n.forEach((function(e,a){if(e.columnIndex===t)for(var i=0;i<2;i++)n.splice(a,1)}))},updateHistoryByRow:function(t,e,a){var n=this.merge.history[t];if(n&&a)if("push"===a){var i=Math.max.apply(Math,Ot(n.map((function(t){return t.rowIndex}))));n.forEach((function(t,a){if(t.rowIndex===e){var o={rowIndex:i+1,columnIndex:t.columnIndex};n.push(o)}}))}else"pop"===a&&n.forEach((function(t,a){if(t.rowIndex===e)for(var i=0;i<2;i++)n.splice(a,1)}))},mergedTdIndexes:function(){var t=[],e=this.selectedColumnStyle,a=e&&e.tdId,n=this.merge.history[a];if(n){for(var i=Ot(new Set(n.map((function(t){return t.rowIndex})))),o=0;o<i.length;o++)t.push(o+this.table.rowIndex);t.shift()}return t}},computed:{tableMarginTop:function(){return{"margin-top":this.setting.global_styling.options.margin_top.value+"px"}},tableAlign:function(){var t={},e=this.setting.general.options.table_alignment.value;return"center"===e?t={"margin-left":"auto","margin-right":"auto"}:"left"===e?t={"margin-right":"auto"}:"right"===e&&(t={"margin-left":"auto"}),t},tableInlineStyle:function(){var t=this.setting.general.options,e=this.setting.border.options,a=t.columns_rows_separate;return{"table-layout":"fixed","border-collapse":this.getBoolean(a.value)?"separate":"collapse",border:e.table_border.value+"px solid "+e.border_color.value,"font-family":this.setting.global_styling.options.font_family.value,"border-spacing":"".concat(this.getBoolean(a.value)?a.childs.space_between_column.value+"px "+a.childs.space_between_row.value+"px":"0px")}},tableWrapperStyle:function(){var t=this.setting.general.options.container_max_width_switch;return{"max-width":this.getBoolean(t.value)?t.childs.container_max_width.value+"px":"","max-height":this.setting.general.options.container_max_height.value+"px"}},selectedTrId:function(){return this.table.row&&this.table.row.style&&this.table.row.style.trId},selectedRowSpan:function(){var t=this.selectedColumnStyle;return t&&t.rowspan?t.rowspan:1},columnName:function(){var t=this.tableData.headers,e=[];return t.forEach((function(t){e.push(t.slice(7,t.length))})),"column_"+(Math.max.apply(Math,e)+1)},selectedColumnStyle:function(){return this.table.column&&this.table.column.style}}},zt={methods:{id:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:9;this.length=t,this.timestamp=+new Date;for(var e=function(t,e){return Math.floor(Math.random()*(e-t+1))+t},a=this.timestamp.toString(),n=a.split("").reverse(),i="",o=0;o<this.length;++o){var l=e(0,n.length-1);i+=n[l]}return i},deepClone:function(t){return JSON.parse(JSON.stringify(t))},getBoolean:function(t){return!0===t||"true"===t},isEmpty:function(t){return t&&0===Object.keys(t).length},allEqual:function(t){return t.every((function(e){return e===t[0]}))},greaterThanOneNumber:function(t,e){return t.some((function(t){return t>e}))},keyExist:function(t,e){for(var a in t)if(e==a)return!0;return!1},ucWords:function(t){var e,a=t.split("_");for(e=0;e<a.length;e++)a[e]=a[e].charAt(0).toUpperCase()+a[e].slice(1);return a.join(" ")},upgradeMessage:function(){var t=(0,this.$createElement)("div",{domProps:{innerHTML:'You are using free version of ninja-tables, <a href="https://wpmanageninja.com/downloads/ninja-tables-pro-add-on/?utm_source=ninja-tables&amp;utm_medium=wp&amp;utm_campaign=wp_plugin&amp;utm_term=upgrade" target="_blank">Upgrade To Pro</a>'}});return this.$message({showClose:!0,message:this.$t(t),type:"warning"})}}};const Bt={name:"Layout",mixins:[Ft,zt],props:["setting","tableData","responsive","selectedDevice","initialData"],mounted:function(){var t=this;this.$nextTick((function(){jQuery("body").click((function(e){var a=document.querySelector(".tbody");jQuery("#leftside").click((function(e){t.isSelectedTdId=!0})),a.onclick=function(){t.isSelectedTdId=!0},!0===t.isSelectedTdId?t.isSelectedTdId=!1:(null!==t.selectedTdId&&t.$emit("editItem",""),t.selectedTdId=null)}))}))},data:function(){return{isSelectedTdId:!0,selectedTdId:null,itemId:-1,listItemIndex:null,manage:!1,activeTab:"background",table:{multipleTd:!1,rowIndex:null,columnIndex:null,row:{},column:{},columns:[],rows:[]},headerInfo:null,responsiveTableData:null,responsiveInitial:{showHeader:!1,itemsPerRow:1,tableData:{},mobileActivePixel:350,tabletActivePixel:750},maxWidth:""}},components:{draggable:xt(),Elements:Tt,TableData:Nt},methods:{iconSpacing:function(t){return"ribbon"===t.data.type?{"margin-top":t.data.style.yAxis-Number(this.setting.general.options.cell_padding.value-10)+"px","margin-left":("corner"===t.data.style.ribbonType?Number(t.data.style.cornerXAxis-this.setting.general.options.cell_padding.value+10):t.data.style.xAxis-Number(this.setting.general.options.cell_padding.value-10))+"px"}:{"margin-top":t.data.style.yAxis-Number(this.setting.general.options.cell_padding.value-10)+Number(t.data.style.margin.top)+"px","margin-left":"".concat(t.data.style.margin.left,"px"),"margin-right":"".concat(t.data.style.margin.right,"px"),width:"auto"}},stickyColumn:function(){return{position:"sticky",left:0,zIndex:1}},onMove:function(t){t&&t.to.id&&window.ninjaTableBus.$emit("singleTdId",t.to.id)},thInlineStyle:function(t){return{padding:"0px ".concat(this.setting.general.options.cell_padding.value,"px"),width:"".concat(this.tableHeadWidth(t),"px"),display:"".concat(this.displayHeader(t))}},selectedTdBackground:function(){return{border:"1px solid #3f9eff"}},processResponsiveData:function(){for(var t=this.deepClone(this.tableData.data),e=this.deepClone(this.tableData.headers),a={},n=0,i=function(i){e.forEach((function(o,l){var s=e.length-1===l?l:null,r=o.slice(7);a["data_"+n]=t[i].rows[o],a["data_"+n].rowIndex=i,a["data_"+n].columnIndex=r,a["data_"+n].rowStyle=t[i].style,a["data_"+n].lastColumnIndex=s,n++}))},o=0;o<t.length;o++)i(o);for(var l={},s=0;s<e.length;s++)l["data_"+s]=a["data_"+s];this.headerInfo=l,this.responsiveTableData=a},responsiveDataFormat:function(t,e){if("mobile"!==this.selectedDevice&&"tablet"!==this.selectedDevice)return{};this.processResponsiveData();var a=Object.keys(this.headerInfo).length,n=Object.keys(this.responsiveTableData).length,i={},o=0;if(t){var l=Math.ceil((n-a)/(e*a));if(0===l)for(var s=0;s<a;s++){var r={};this.responsiveTableData["data_"+s]&&(r["data_"+s]=this.responsiveTableData["data_"+s]),i["record_"+o]=r,o++}for(var c=0;c<l;c++)for(var u=0;u<a;u++){for(var d={},p=0;p<=e;p++)if(0==p)d["data_"+p]=this.responsiveTableData["data_"+u];else{var m=c*e*a+p*a+u;this.responsiveTableData["data_"+m]&&(d["data_"+p]=this.responsiveTableData["data_"+m])}i["record_"+o]=d,o++}}else{for(var _={},h=0,f=0;f<n;f++)0!==this.responsiveTableData["data_"+f].style.rowspan&&0!==this.responsiveTableData["data_"+f].style.colspan&&(_["data_"+h]=this.responsiveTableData["data_"+f],h++);for(var v=Object.keys(_).length,b=0;b<v;){for(var g={},y=0;y<e;y++)_["data_"+b]&&(g["data_"+y]=_["data_"+b],b++);i["record_"+o]=g,o++}}return i},bottomBorderResponsive:function(t,e){var a=Number(t.slice(7))+1,n=this.deepClone(this.tableData.headers).length,i=Object.keys(this.responsiveInitial.tableData).length;if(a%n==0&&a!=i)return{borderBottom:("tablet"===this.selectedDevice?e.tablet.cell_border.value:e.mobile.cell_border.value)+"px solid black"}},displayHeader:function(t){var e=this;if(this.merge&&this.merge.rowColumn.length>1&&this.split.visible){var a=Object.values(this.merge.rowColumn).map((function(t){return e.headerName(t.columnIndex)}));return t!==this.headerName(this.table.columnIndex)&&a.includes(t)?"none":""}return""},headerColSpan:function(t){var e=this.selectedColumnStyle;return e&&e.colspan&&this.headerName(this.table.columnIndex)===t?e&&e.colspan:1},columnWidth:function(t,e){return t.rows&&t.rows[e]&&t.rows[e].style.columnWidth?t.rows[e].style.columnWidth:this.setting.general.options.cell_min_auto_width.value},tdId:function(t,e){return t.rows[e]?t.rows[e].style.tdId:null},listItem:function(t){this.listItemIndex=t.index},dragRowColumn:function(t,e,a,n,i,o){this.table.columnIndex=n,this.table.rowIndex=e,this.manageCell(!0,this.activeTab)},setTdIndex:function(){for(var t=document.getElementById("ntb_table").getElementsByTagName("tbody"),e=t[0].rows,a=(e.length,e[0].getElementsByTagName("td").length-1),n=0;n<t.length;n++)for(var i=t[n].getElementsByTagName("td"),o=0;o<i.length;o++)jQuery(i[o]).attr("cellIndex",o+n*a+1)},manageCell:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"background";if(this.isSelectedTdId=!0,this.selectedTdId=null,"cells"===e){var a=this.tableData.table.merge.history;this.isEmpty(a)||(this.merge.history=a)}this.manage=t,this.activeTab=e;var n={data:{tdIds:this.tdIds,setting:this.setting,tableData:this.tableData.data,table:this.table,headers:this.tableData.headers},active:t,activeTab:e};window.ninjaTableBus.$emit("manage-cell",n)},childData:function(t){"clickEnter"===t&&(this.selectedTdId=null),this.itemId=-1;["list","stylist_list"].includes(t&&t.item&&t.item.data.type)&&this.manageListItem(t.item)},manageListItem:function(t){t.data.value.splice(this.listItemIndex+1,0,"list item x")},styleChange:function(t,e,a,n,i){if(this.selectedTdId=t.id,this.manage)this.dragRowColumn(t,e,a,n,i);else if(t.id==this.itemId)this.itemId=-1;else{var o={edit:!0,item:t};this.$emit("editItem",o),window.ninjaTableBus.$emit("singleTdId","td_id_"+n.style.tdId),this.itemId=t.id}},copyItem:function(t,e,a){var n={id:this.id(),data:this.deepClone(a.data)};this.tableData.data[t].rows[e].columns.push(n)},deleteItem:function(t,e,a){this.$emit("editItem",""),this.tableData.data[t].rows[e].columns.splice(a,1)},innerBorder:function(t){var e=this.setting.border.options.inner_border,a=e.childs,n="";return 0!==t&&e.value&&(n="".concat(a.inner_border_size.value,"px solid ").concat(a.inner_border_color.value)),0===t&&e.value&&a.header_inner_border.value&&(n="".concat(a.inner_border_size.value,"px solid ").concat(a.inner_border_color.value)),{border:n}},tableHeadWidth:function(t){var e=this,a=this.table.columnIndex,n=this.table.row,i=(n&&this.columnWidth(n,t),this.headerColSpan(t)),o=11*i+(i>2?11*(i-2):0),l=this.deepClone(this.tableData.headers).splice(a,i);return i>1?(l.forEach((function(t){o+=n&&e.columnWidth(n,t)})),o):(n&&this.columnWidth(n,t))+1}},created:function(){var t=this;window.ninjaTableBus.$on("manageCell",(function(){t.table.columnIndex=null,t.table.rowIndex=null,t.selectedTdId=null,t.manage=!1,t.activeTab="background",t.clearMerge()}))},computed:{firstRowSticky:function(){var t=this.setting.sticky.options.first_row_sticky.value;return this.getBoolean(t)},firstColumnSticky:function(){var t=this.setting.sticky.options.first_column_sticky.value;return this.getBoolean(t)},tdThActiveMargin:function(){if(this.manage&&this.setting.border.options.table_border.value>0&&1===this.tdIds.length)return{"--td-th-active-margin":"-16px"}},tableWrapperActivePadding:function(){if(this.manage&&this.setting.border.options.table_border.value>0&&1===this.tdIds.length)return{"--table-wrapper-padding":"16px"}},pixelBarValue:{get:function(){return"mobile"===this.selectedDevice?this.responsiveInitial.mobileActivePixel:this.responsiveInitial.tabletActivePixel},set:function(t){"mobile"===this.selectedDevice?this.responsiveInitial.mobileActivePixel=t:this.responsiveInitial.tabletActivePixel=t}},showPixelSlider:function(){return"mobile"!==this.selectedDevice||this.mobileDeviceBreakpoint?"tablet"!==this.selectedDevice||this.tabletDeviceBreakpoint?{preview:!1}:{preview:!0,min:700,max:1023}:{preview:!0,min:300,max:699}},responsiveIsEnabled:function(){var t=this.responsive.general.options.enable_responsive_table.value;return this.getBoolean(t)},mobileDeviceShowHeader:function(){var t=this.responsiveDevice.mobile.top_row_as_header.value;return this.getBoolean(t)},tabletDeviceShowHeader:function(){var t=this.responsiveDevice.tablet.top_row_as_header.value;return this.getBoolean(t)},mobileDeviceItemsPerRow:function(){return this.responsiveDevice.mobile.items_per_row.value},tabletDeviceItemsPerRow:function(){return this.responsiveDevice.tablet.items_per_row.value},mobileDeviceBreakpoint:function(){var t=this.responsiveDevice.mobile.disable_breakpoint.value;return this.getBoolean(t)},tabletDeviceBreakpoint:function(){var t=this.responsiveDevice.tablet.disable_breakpoint.value;return this.getBoolean(t)},showInnerBorder:function(){return this.setting.border.options.inner_border.value},responsiveDevice:function(){return this.initialData.responsive.mode_options.options.devices},tableBorder:function(){var t,e=this.setting.border.options,a=this.table.columnIndex,n=e.table_border?e.table_border.value:0,i=e.inner_border.childs?e.inner_border.childs.inner_border_size.value:0,o=this.getBoolean(this.setting.general.options.columns_rows_separate.value),l=this.setting.general.options?this.setting.general.options.columns_rows_separate.childs.space_between_column.value:0,s=this.setting.general.options?this.setting.general.options.columns_rows_separate.childs.space_between_row.value:0,r=0;return o&&(r=2*l+(e.inner_border.value?a*i:0)),t=16+n+r-a+(e.inner_border.value?(a+1)*i:0),{"--border-color":e.inner_border.childs.inner_border_color.value?e.inner_border.childs.inner_border_color.value:"#000000","--border-size":"".concat(i,"px"),"--column-arrow":"".concat(t,"px"),"--margin-bottom":"-".concat(o?0===n?3*s:s:0,"px")}}},watch:{selectedDevice:function(t,e){this.responsiveInitial.showHeader="mobile"===t?this.mobileDeviceShowHeader:"tablet"===t&&this.tabletDeviceShowHeader,this.responsiveInitial.itemsPerRow="mobile"===t?this.mobileDeviceItemsPerRow:"tablet"===t?this.tabletDeviceItemsPerRow:1,this.responsiveInitial.tableData=this.responsiveDataFormat(this.responsiveInitial.showHeader,this.responsiveInitial.itemsPerRow)},responsive:{handler:function(t,e){"mobile"===this.selectedDevice?(this.responsiveInitial.showHeader=Boolean(t.mode_options.options.devices.mobile.top_row_as_header.value),this.responsiveInitial.itemsPerRow=t.mode_options.options.devices.mobile.items_per_row.value):"tablet"===this.selectedDevice&&(this.responsiveInitial.showHeader=Boolean(t.mode_options.options.devices.tablet.top_row_as_header.value),this.responsiveInitial.itemsPerRow=t.mode_options.options.devices.tablet.items_per_row.value),this.responsiveInitial.tableData=this.responsiveDataFormat(this.responsiveInitial.showHeader,this.responsiveInitial.itemsPerRow)},deep:!0}}},Lt=Bt;var Rt=a(9838),Ht={insert:"head",singleton:!1};o()(Rt.Z,Ht);Rt.Z.locals;var Wt=r(Lt,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ninja-tables-layout"},[""===t.selectedDevice?a("div",{staticClass:"table-customize-button"},["background"===t.activeTab?a("el-button-group",{staticClass:"button-group",staticStyle:{"margin-top":"0"}},[a("el-button",{attrs:{type:"primary",icon:"el-icon-s-grid",size:"small"},on:{click:function(e){return t.manageCell(!0,"cells")}}},[t._v(t._s(t.$t("Manage Cells"))+"\n ")]),t._v(" "),a("el-button",{attrs:{type:"primary",icon:"el-icon-ice-cream-square",size:"small"},on:{click:function(e){return t.manageCell(!0,"background")}}},[t._v(t._s(t.$t("Background"))+"\n ")])],1):a("el-button-group",{staticClass:"button-group",staticStyle:{"margin-top":"0"}},[a("el-button",{attrs:{type:"primary",icon:"el-icon-folder-checked",size:"small",disabled:t.tdIds.length<2||!t.merge.visible},on:{click:function(e){return t.mergeCell()}}},[t._v(t._s(t.$t("Merge"))+"\n ")]),t._v(" "),a("el-button",{attrs:{type:"primary",icon:"el-icon-scissors",size:"small",disabled:!t.split.visible},on:{click:t.splitCell}},[t._v(t._s(t.$t("Split"))+"\n ")])],1)],1):t._e(),t._v(" "),t.setting&&(t.setting.general&&t.setting.border&&t.setting.background)?a("div",{staticClass:"ntb_table_wrapper",style:[t.tableWrapperStyle,t.tableAlign,t.tableWrapperActivePadding],attrs:{id:"ninja_tables_builder_id"}},[t.responsiveIsEnabled&&t.showPixelSlider.preview?a("div",{staticClass:"pixel-bar-slider"},[a("el-slider",{attrs:{max:t.showPixelSlider.max,min:t.showPixelSlider.min,"show-input":""},model:{value:t.pixelBarValue,callback:function(e){t.pixelBarValue=e},expression:"pixelBarValue"}})],1):t._e(),t._v(" "),a("table",{class:"table ninja_tables_builder_class_"+t.tableData.id,style:[t.tableMarginTop,t.tableMarginTop,t.tableInlineStyle,t.tableAlign],attrs:{id:"ntb_table",role:""+t.setting.accessibility.options.table_role.value}},[t.manage?a("div",{staticClass:"table-header",style:t.tableBorder},[a("draggable",{attrs:{tag:"tr"},on:{change:t.dragColumn},model:{value:t.tableData.headers,callback:function(e){t.$set(t.tableData,"headers",e)},expression:"tableData.headers"}},t._l(t.tableData.headers,(function(e,n){return a("th",{key:e,class:t.thActiveInactiveClass(e),style:[t.tdThActiveMargin,t.thInlineStyle(e)],attrs:{scope:"col",colspan:t.headerColSpan(e)}},[t.headerName(t.table.columnIndex)!==e||1!==t.tdIds.length||t.merge.visible&&!t.split.visible?t._e():[a("el-dropdown",{staticClass:"column-options",attrs:{trigger:"click",placement:"top-start"}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-caret-bottom el-icon--right",class:n===t.table.columnIndex?"i-active":""})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{nativeOn:{click:function(e){return t.insertColumnBefore()}}},[t._v(t._s(t.$t("Insert column before"))+"\n ")]),t._v(" "),a("el-dropdown-item",{nativeOn:{click:function(e){return t.insertColumnAfter.apply(null,arguments)}}},[t._v(t._s(t.$t("Insert column after"))+"\n ")]),t._v(" "),a("el-dropdown-item",{nativeOn:{click:function(e){return t.addLeftColumn.apply(null,arguments)}}},[t._v(t._s(t.$t("Insert left column")))]),t._v(" "),a("el-dropdown-item",{nativeOn:{click:function(e){return t.addRightColumn.apply(null,arguments)}}},[t._v(t._s(t.$t("Insert right column")))]),t._v(" "),a("el-dropdown-item",{attrs:{divided:""},nativeOn:{click:function(e){return t.duplicateColumn.apply(null,arguments)}}},[t._v(t._s(t.$t("Duplicate column"))+"\n ")]),t._v(" "),a("el-dropdown-item",{nativeOn:{click:function(e){return t.removeColumn.apply(null,arguments)}}},[a("p",{staticStyle:{color:"red"}},[t._v(" "+t._s(t.$t("Remove column")))])])],1)],1)]],2)})),0)],1):t._e(),t._v(" "),""===t.selectedDevice||"desktop"===t.selectedDevice||!t.responsiveIsEnabled||"mobile"===t.selectedDevice&&t.mobileDeviceBreakpoint||"tablet"===t.selectedDevice&&t.tabletDeviceBreakpoint?a("draggable",{staticClass:"tbody",style:t.tdThActiveMargin,attrs:{tag:"tbody"},on:{change:t.dragRow},model:{value:t.tableData.data,callback:function(e){t.$set(t.tableData,"data",e)},expression:"tableData.data"}},t._l(t.tableData.data,(function(e,n){return a("tr",{key:n,staticClass:"desktop-view",class:(t.table.rowIndex===n&&t.tdIds.length<=0?"single-row-column":"tr_class_"+e.style.trId)+" "+(t.firstRowSticky&0==n?"firstRowSticky":""),style:[t.trInlineStyle(e,n)],attrs:{id:t.trId(e.style.trId)}},[t.manage&&1===t.tdIds.length&&!t.mergedTdIndexes().includes(n)?a("td",{class:t.tdActiveInactiveClass(e.style.trId),attrs:{rowspan:t.tdActiveRowSpan(e.style.trId)}},[a("el-dropdown",{staticClass:"row-options",attrs:{trigger:"click",placement:"top-start"}},[a("span",{staticClass:"el-dropdown-link"},[a("i",{staticClass:"el-icon-caret-right"})]),t._v(" "),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",{nativeOn:{click:function(e){return t.insertRowBefore()}}},[t._v(t._s(t.$t("Insert row before")))]),t._v(" "),a("el-dropdown-item",{nativeOn:{click:function(e){return t.insertRowAfter.apply(null,arguments)}}},[t._v(t._s(t.$t("Insert row after")))]),t._v(" "),a("el-dropdown-item",{nativeOn:{click:function(e){return t.addTopRow.apply(null,arguments)}}},[t._v(t._s(t.$t("Insert top row")))]),t._v(" "),a("el-dropdown-item",{nativeOn:{click:function(e){return t.addBottomRow.apply(null,arguments)}}},[t._v(t._s(t.$t("Insert bottom row")))]),t._v(" "),a("el-dropdown-item",{attrs:{divided:""},nativeOn:{click:function(e){return t.duplicateRow.apply(null,arguments)}}},[t._v(t._s(t.$t("Duplicate row"))+"\n ")]),t._v(" "),a("el-dropdown-item",{nativeOn:{click:function(e){return t.removeRow.apply(null,arguments)}}},[a("p",{staticStyle:{color:"red"}},[t._v(" "+t._s(t.$t("Remove row")))])])],1)],1)],1):t._e(),t._v(" "),t._l(t.tableData.headers,(function(i,o){return a("td",{key:i,class:t.tdClass(e,i,o),style:[t.tdInlineStyle(e,i),t.showInnerBorder?t.innerBorder(n):"",t.firstColumnSticky&&0===o?t.stickyColumn():""],attrs:{id:"td_id_"+t.tdId(e,i),rowspan:e.rows[i].style.rowspan,colspan:e.rows[i].style.colspan},on:{click:[function(a){if(!a.shiftKey)return null;t.manage&&t.selectItem(n,i,o,e.rows[i],e,!0)},function(a){if(a.ctrlKey||a.shiftKey||a.altKey||a.metaKey)return null;t.manage&&t.selectItem(n,i,o,e.rows[i],e,!1)}]}},[a("draggable",{attrs:{list:e.rows[i].columns,group:"people",id:t.tdIds.includes(t.tdId(e,i))?"selected-item":"td_id_"+t.tdId(e,i),move:t.onMove}},t._l(e.rows[i].columns,(function(l,s){return a("div",{key:s,staticClass:"single-item",class:t.manage?"single-item-edit":""===t.selectedDevice?"ribbon"===l.data.type?"only-ribbon":"other-item":"responsive-mode"},[l.id!=t.itemId?a("table-data",{style:[l.id===t.selectedTdId&&"ribbon"!==l.data.type?t.selectedTdBackground():""],attrs:{manage:t.manage,setting:t.setting,item:l},on:{"list-item":function(e){return t.listItem(e)}},nativeOn:{click:function(a){if(a.ctrlKey||a.shiftKey||a.altKey||a.metaKey)return null;!t.manage&&""===t.selectedDevice&&t.styleChange(l,n,o,e.rows[i],e)}}}):t._e(),t._v(" "),t.manage||""!==t.selectedDevice?t._e():[a("elements",{staticClass:"remove-elements",attrs:{itemId:t.itemId,setting:t.setting,listItem:t.listItemIndex,item:l},on:{"child-data":function(e){return t.childData(e)}}}),t._v(" "),a("div",{staticClass:"icon-style remove-elements",style:t.iconSpacing(l)},[a("i",{staticClass:"el-icon-rank"}),t._v(" "),a("i",{staticClass:"el-icon-copy-document",on:{click:function(e){return t.copyItem(n,i,l)}}}),t._v(" "),a("i",{staticClass:"el-icon-delete",on:{click:function(e){return t.deleteItem(n,i,s)}}})])]],2)})),0)],1)}))],2)})),0):a("tbody",t._l(t.responsiveInitial.tableData,(function(e,n){return a("tr",{key:n,class:"mobile"===t.selectedDevice?"mobile-view tr_mobile_"+n:"tablet-view tr_tablet_"+n,style:[t.responsiveInitial.showHeader?t.bottomBorderResponsive(n,t.responsive.mode_options.options.devices):""]},t._l(e,(function(n){return n.style.rowspan>0&&n.style.colspan>0?a("td",{style:[t.tdInlineStyleResponsive(n.style,n.rowStyle,n.rowIndex,t.responsiveInitial.showHeader,t.responsiveInitial.itemsPerRow,t.selectedDevice),t.innerBorder(n.rowIndex)],attrs:{id:"td_id_"+n.style.tdId,colspan:t.responsiveInitial.showHeader?n.style.rowspan:1,rowspan:t.responsiveInitial.showHeader?n.style.colspan:1}},t._l(n.columns,(function(n,i){return a("span",{key:i},[e.id!=t.itemId?a("table-data",{staticClass:"responsive-mode",attrs:{setting:t.setting,item:n}}):t._e()],1)})),0):t._e()})),0)})),0)],1)]):t._e()])}),[],!1,null,null,null);const qt=Wt.exports,Vt={name:"RightSideBar",props:["initialData","tableId","selectedDevice"],mixins:[zt],components:{draggable:xt(),TableLayout:qt},data:function(){return{newTable:!1,value:"",file:{},loading:!1,url:""}},computed:{tableRowColumn:function(){return this.initialData.table_data.table.tr*this.initialData.table_data.table.tc},hasPro:function(){return!!window.ninja_table_admin.hasPro}},methods:{upgradeToPro:function(){if(!this.hasPro)return this.upgradeMessage()},importCJ:function(){var t=this;if(this.url&&!this.hasPro)return this.upgradeMessage();this.loading=!0;var e=new FormData;e.append("file",this.file),e.append("url",this.url),e.append("action","ninja_tables_builder_ajax_actions"),e.append("target_action","import-table"),e.append("ninja_table_admin_nonce",window.ninja_table_admin.ninja_table_admin_nonce),jQuery.ajax({url:ajaxurl,data:e,type:"POST",contentType:!1,processData:!1,success:function(e){t.loading=!1,t.$message({showClose:!0,message:t.$t("Imported successfully."),type:"success"}),t.$router.push({name:"table_builder_edit_table",params:{table_id:e.data.id}})},error:function(e){t.failedMessage()}})},handleRemove:function(t,e){this.file={}},handleFileSuccess:function(t,e){this.file=e.raw},beforeFileUpload:function(t){var e="text/csv"===t.type||"application/json"===t.type,a=t.size/1024/1024<1;return e||this.$message.error("File type must be CSV/JSON format!"),a||this.$message.error("File size can not exceed 1MB!"),e&&a},editItem:function(t){this.$emit("editItem",t)},failedMessage:function(){return this.$message({showClose:!0,message:this.$t("Something went wrong, please try again."),type:"warning"})},createTable:function(t){var e=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t;if(!this.hasPro&&a.has_pro)return this.upgradeMessage();if(this.initialData.table_data.table_name){this.initialData.table_data.table_type="default"===n?"":n;var i={action:"ninja_tables_builder_ajax_actions",target_action:"create-table",data:this.initialData};this.$post(i).then((function(t){e.$message({showClose:!0,message:e.$t("Table created successfully."),type:"success"}),e.$router.push({name:"table_builder_edit_table",params:{table_id:t.data.id}})})).fail((function(t){e.failedMessage()}))}else this.failedMessage()},getAsset:function(t){return window.ninja_table_admin.img_url+t}}};var Ut=a(3984),Yt={insert:"head",singleton:!1};o()(Ut.Z,Yt);Ut.Z.locals;const Zt=r(Vt,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[t.tableId?t.tableId?a("el-row",[a("table-layout",{attrs:{initialData:t.initialData,tableData:t.initialData.table_data,setting:t.initialData.settings,responsive:t.initialData.responsive,selectedDevice:t.selectedDevice},on:{editItem:t.editItem}})],1):t._e():a("div",{staticStyle:{height:"500px","overflow-y":"scroll",padding:"0px 20px","box-sizing":"border-box"},attrs:{gutter:20}},[[a("h3",[t._v(t._s(t.$t("Create a Drag & Drop Table")))]),t._v(" "),a("p",{staticClass:"ninja_subtitle"},[t._v("\n "+t._s(t.$t("Create your drag & drop table columns and rows to get complete control over your data with lots of customizations."))+"\n ")])],t._v(" "),a("div",{staticClass:"form-group"},[a("label",{attrs:{for:"name"}},[t._v(t._s(t.$t("Table Title")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.initialData.table_data.table_name,expression:"initialData.table_data.table_name"}],staticClass:"form-control",staticStyle:{width:"95%"},attrs:{type:"text",id:"name",placeholder:"Enter a title to identify your table"},domProps:{value:t.initialData.table_data.table_name},on:{input:function(e){e.target.composing||t.$set(t.initialData.table_data,"table_name",e.target.value)}}})]),t._v(" "),t.newTable?t._e():a("el-row",{staticClass:"new-table-wrapper"},[a("el-col",{attrs:{span:12}},[[a("div",{staticClass:"new_table",style:"grid-template-rows:repeat("+t.initialData.table_data.table.tr+",1fr);grid-template-columns:repeat("+t.initialData.table_data.table.tc+",1fr)"},[a("el-input-number",{staticClass:"table-column-input",attrs:{step:1,min:1,max:30},model:{value:t.initialData.table_data.table.tc,callback:function(e){t.$set(t.initialData.table_data.table,"tc",e)},expression:"initialData.table_data.table.tc"}}),t._v(" "),a("el-input-number",{staticClass:"table-row-input",attrs:{step:1,min:1,max:30},model:{value:t.initialData.table_data.table.tr,callback:function(e){t.$set(t.initialData.table_data.table,"tr",e)},expression:"initialData.table_data.table.tr"}}),t._v(" "),t._l(t.tableRowColumn,(function(t){return a("span",{key:t,staticClass:"table-row-column"})}))],2),t._v(" "),a("div",{staticClass:"create-button"},[a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){return t.createTable("default")}}},[t._v("Create\n ")])],1)]],2),t._v(" "),a("el-col",{attrs:{span:12}},[a("h4",[t._v(t._s(t.$t("Import Table from CSV / JSON File")))]),t._v(" "),a("hr"),t._v(" "),t.file.name?t._e():a("div",[a("el-input",{attrs:{disabled:!t.hasPro,placeholder:t.$t("Import CSV/JSON from URL")},nativeOn:{mouseover:function(e){return t.upgradeToPro.apply(null,arguments)}},model:{value:t.url,callback:function(e){t.url=e},expression:"url"}}),t._v(" "),a("hr")],1),t._v(" "),t.url?t._e():a("el-upload",{attrs:{accept:".csv, .json",drag:"",action:"#",limit:1,"before-upload":t.beforeFileUpload,"on-success":t.handleFileSuccess,"on-remove":t.handleRemove}},[a("i",{staticClass:"el-icon-upload"}),t._v(" "),a("div",{staticClass:"el-upload__text"},[t._v(t._s(t.$t("Drop file here or "))),a("em",[t._v(t._s(t.$t("click to upload")))])])]),t._v(" "),t.file.name||t.url?a("div",{staticClass:"import-button"},[a("el-button",{attrs:{loading:t.loading,type:"primary",size:"mini"},on:{click:t.importCJ}},[t._v("Import\n ")])],1):t._e()],1)],1),t._v(" "),t.newTable?t._e():a("el-row",{staticClass:"new-table-wrapper"},t._l(t.initialData.ready_made_tables,(function(e,n){return a("el-col",{key:n,attrs:{span:24}},[a("div",{staticClass:"table-type-heading"},[a("h2",{staticClass:"ready-made-name"},[t._v(t._s(e.name))])]),t._v(" "),a("el-row",t._l(e.tables,(function(e,n){return a("el-col",{key:n,attrs:{span:8}},[a("div",{staticClass:"ready-made-table-image"},[a("img",{staticStyle:{margin:"0 auto",width:"180px",display:"flex"},attrs:{src:t.getAsset(e.key+".jpg"),alt:""}}),t._v(" "),a("div",{staticClass:"ready-made-table-hover-button"},[a("el-button",{attrs:{size:"mini",type:"primary"},on:{click:function(a){return t.createTable(e.key,e)}}},[a("span",[t._v(t._s(!t.hasPro&&e.has_pro?"Unlock in Pro":"Create"))])])],1)]),t._v(" "),a("h4",{staticClass:"table-title-style"},[t._v(t._s(e.name))])])})),1)],1)})),1)],2)],1)}),[],!1,null,null,null).exports,Jt={name:"add_table",components:{RightSideBar:Zt,wp_editor:k,"wp-posts-data-source":J,"woo-data-source":K,"fluent-form-data-source":nt,"external-data-source":st,ImportTable:dt,RawSqlForm:yt,PremiumNotice:q},props:{table:{type:Object,default:function(){return{ID:null,post_title:"",post_content:""}}},hasPro:{required:!0}},data:function(){return{activeTabName:"default",btnLoading:!1,activated_features:window.ninja_table_admin.activated_features,has_sql_permission:"yes"==window.ninja_table_admin.sql_permission,editorOption:{modules:{toolbar:[["bold","italic","underline","strike","link"],["blockquote","code-block"],[{header:1},{header:2}],[{list:"ordered"},{list:"bullet"}],[{script:"sub"},{script:"super"}],[{align:[]}],[{direction:"rtl"}]]}},isCollapse:!1,fluentFormIcon:window.ninja_table_admin.fluent_form_icon,wooIcon:window.ninja_table_admin.img_url+"woo-logo.png",has_woo:!!window.ninja_table_admin.has_woocommerce,initialData:{}}},methods:{createDragAndDropTable:function(){var t=this;this.$get({action:"ninja_tables_builder_ajax_actions",target_action:"get-table-config"}).done((function(e){t.initialData=e.data})).fail((function(e){t.$message({showClose:!0,message:t.$t("Something went wrong, please try again."),type:"warning"})}))},handleTabClick:function(t,e){setTimeout((function(){jQuery(t.$el).find("input:first").focus()}),0)},addTable:function(){var t=this;this.btnLoading=!0;var e={action:"ninja_tables_ajax_actions",target_action:"store-a-table",post_title:this.table.post_title,post_content:this.table.post_content,tableId:this.table.ID};this.$post(e).then((function(e){t.$message({showClose:!0,message:e.message,type:"success"}),window.ninjaTableBus.$emit("addedTable"),t.table.ID?t.closeModal():t.fireTableCreated(e.table_id)})).fail((function(e){e.responseJSON.data.message?t.$message({showClose:!0,message:e.responseJSON.data.message,type:"error"}):t.$message({showClose:!0,message:e.responseText,type:"error"})})).always((function(){t.btnLoading=!1}))},closeModal:function(){this.$emit("modal_close")},onEditorChange:function(t){t.editor;var e=t.html;t.text;this.table.post_content=e},fireTableCreated:function(t){this.$emit("table_inserted",t)},checkScreenSize:function(){window.innerWidth<1e3?this.isCollapse=!0:this.isCollapse=!1}},mounted:function(){var t=this;this.checkScreenSize(),this.createDragAndDropTable(),jQuery(window).resize((function(){t.checkScreenSize()}))}};var Qt=a(5003),Xt={insert:"head",singleton:!1};o()(Qt.Z,Xt);Qt.Z.locals;const Gt=r(Jt,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-container",{staticClass:"ninja-add-table"},[t.table.ID?t._e():a("el-aside",{staticStyle:{"background-color":"rgb(35, 40, 45)"}},[a("el-menu",{attrs:{collapse:t.isCollapse,"default-active":t.activeTabName,"background-color":"#23282d","text-color":"#eee","active-text-color":"#fff"}},[a("el-menu-item",{attrs:{index:"default"},on:{click:function(e){t.activeTabName="default"}}},[a("i",{staticClass:"el-icon-setting"}),t._v(" "),a("span",[t._v("Default")])]),t._v(" "),a("el-menu-item",{attrs:{index:"drag_and_drop"},on:{click:function(e){t.activeTabName="drag_and_drop"}}},[a("i",{staticClass:"el-icon-s-unfold"}),t._v(" "),a("span",[t._v("Drag & Drop Table")]),t._v(" "),a("el-tag",{attrs:{color:"#185b9e",effect:"dark"}},[t._v("\n Beta\n ")])],1),t._v(" "),a("el-menu-item",{attrs:{index:"import_table"},on:{click:function(e){t.activeTabName="import_table"}}},[a("i",{staticClass:"el-icon-upload2"}),t._v(" "),a("span",[t._v("Import Table")])]),t._v(" "),a("el-menu-item",{attrs:{index:"fluent_form"},on:{click:function(e){t.activeTabName="fluent_form"}}},[a("img",{staticClass:"el-icon-fluent-form",attrs:{src:t.fluentFormIcon,alt:"fluent form icon"}}),t._v(" "),a("span",[t._v("Connect Fluent Forms")])]),t._v(" "),a("el-menu-item",{attrs:{index:"wp_posts"},on:{click:function(e){t.activeTabName="wp_posts"}}},[a("i",{staticClass:"el-icon-news"}),t._v(" "),a("span",[t._v("WP Posts")])]),t._v(" "),t.has_woo?a("el-menu-item",{attrs:{index:"woo_table"},on:{click:function(e){t.activeTabName="woo_table"}}},[a("img",{staticClass:"el-icon-fluent-form",attrs:{src:t.wooIcon,alt:"woocomerce icon"}}),t._v(" "),a("span",[t._v("WooCommerce Table")])]):t._e(),t._v(" "),a("el-menu-item",{attrs:{index:"google_spread_sheet"},on:{click:function(e){t.activeTabName="google_spread_sheet"}}},[a("span",{staticClass:"dashicons dashicons-media-spreadsheet"}),t._v(" "),a("span",[t._v("Connect Google Sheets")])]),t._v(" "),a("el-menu-item",{attrs:{index:"csv"},on:{click:function(e){t.activeTabName="csv"}}},[a("i",{staticClass:"el-icon-document"}),t._v(" "),a("span",[t._v("Connect External CSV")])]),t._v(" "),a("el-menu-item",{attrs:{index:"raw_sql"},on:{click:function(e){t.activeTabName="raw_sql"}}},[a("i",{staticClass:"dashicons dashicons-editor-code"}),t._v(" "),a("span",[t._v("Custom SQL Query")])])],1)],1),t._v(" "),a("el-main",["default"==t.activeTabName?[a("div",{staticClass:"ninja_modal-body"},[t.table.ID?t._e():[a("h3",[t._v("Manually Create a Table")]),t._v(" "),a("p",{staticClass:"ninja_subtitle"},[t._v("\n Manually create your table columns and rows to get complete\n control over your data with tons of customizations.\n ")])],t._v(" "),a("div",{staticClass:"form-group"},[a("label",{attrs:{for:"name"}},[t._v(t._s(t.$t("Table Title")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.table.post_title,expression:"table.post_title"}],staticClass:"form-control",attrs:{type:"text",id:"name",placeholder:"Enter a title to identify your table"},domProps:{value:t.table.post_title},on:{input:function(e){e.target.composing||t.$set(t.table,"post_title",e.target.value)}}})]),t._v(" "),a("div",{staticClass:"form-group"},[a("label",[t._v(t._s(t.$t("Table Description")))]),t._v(" "),a("wp_editor",{model:{value:t.table.post_content,callback:function(e){t.$set(t.table,"post_content",e)},expression:"table.post_content"}})],1)],2),t._v(" "),a("div",{staticClass:"modal-footer"},[a("el-button",{attrs:{type:"primary",size:"small"},on:{click:t.addTable}},[t.table.ID?a("span",[t._v(t._s(t.$t("Update")))]):a("span",[t._v(t._s(t.$t("Add")))]),t._v(" "),t.btnLoading?a("i",{staticClass:"fooicon fooicon-spin fooicon-circle-o-notch"}):t._e()])],1)]:"drag_and_drop"===t.activeTabName?[a("right-side-bar",{attrs:{initialData:t.initialData}})]:"import_table"===t.activeTabName?[a("import-table")]:"google_spread_sheet"==t.activeTabName?[a("external-data-source",{attrs:{type:"google-csv",tableCreated:t.fireTableCreated,"has-pro":t.hasPro,activated_features:t.activated_features}})]:"csv"==t.activeTabName?[a("external-data-source",{attrs:{type:"csv",tableCreated:t.fireTableCreated,"has-pro":t.hasPro,activated_features:t.activated_features}})]:"fluent_form"==t.activeTabName?[a("fluent-form-data-source",{attrs:{tableCreated:t.fireTableCreated}})]:"wp_posts"==t.activeTabName?[a("wp-posts-data-source",{attrs:{tableCreated:t.fireTableCreated,activated_features:t.activated_features}})]:"woo_table"==t.activeTabName?[t.activated_features.woocommerce_table?a("woo-data-source",{attrs:{tableCreated:t.fireTableCreated}}):t.has_woo&&t.hasPro?a("div",[a("p",[t._v("Please update to latest version of "),a("b",[t._v("Ninja Tables Pro")]),t._v(" to use WooCommerce integration")])]):t.has_woo&&!t.hasPro?a("div",{staticClass:"ninja_no_woo"},[a("h3",[t._v("Upgrade to pro for using WooCommerce Integration")]),t._v(" "),a("premium-notice",{attrs:{highlight:"WooCommerce Integration module where you can create and build table with Woocomerce produsts and increase your conversion rate"}})],1):t._e()]:"raw_sql"==t.activeTabName?[a("raw-sql-form",{attrs:{has_sql_permission:t.has_sql_permission,tableCreated:t.fireTableCreated,activated_features:t.activated_features}})]:t._e()],2)],1)}),[],!1,null,null,null).exports;const Kt={name:"ninja_lead",data:function(){return{loading:!1,leadVisible:!!window.ninja_table_admin.show_lead_pop_up,display_name:window.ninja_table_admin.current_user_name,showPermission:!1}},methods:{optin:function(t){var e=this;this.loading=!0,this.$post({action:"ninja_table_lead_optin",status:t}).then((function(t){e.$message({showClose:!0,message:t.data.message,type:"success"})})).fail((function(t){})).always((function(){e.leadVisible=!1,e.loading=!1,"yes"===t&&(window.ninja_table_admin.show_lead_pop_up=!1)}))}}};var te=a(7203),ee={insert:"head",singleton:!1};o()(te.Z,ee);te.Z.locals;const ae=r(Kt,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.leadVisible?a("el-dialog",{attrs:{visible:t.leadVisible,title:"We made a few tweaks to Ninja Tables"},on:{"update:visible":function(e){t.leadVisible=e}}},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"ninja_permission_wrapper"},[a("p",[t._v("Hey "+t._s(t.display_name)+","),a("br"),t._v("\n Never miss an important update - opt in to our security & feature updates notifications. We will never\n spam / share your data, We will only send emails about important updates")]),t._v(" "),a("el-button",{attrs:{type:"success"},on:{click:function(e){return t.optin("yes")}}},[t._v("Opt-in and Continue")]),t._v(" "),a("el-button",{staticClass:"pull-right",attrs:{size:"mini"},on:{click:function(e){return t.optin("no")}}},[t._v("Skip")]),t._v(" "),a("div",{staticClass:"ninja_permissions"},[a("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showPermission=!t.showPermission}}},[t._v("What permissions are being granted?")]),t._v(" "),a("p",{directives:[{name:"show",rawName:"v-show",value:t.showPermission,expression:"showPermission"}],staticClass:"permissions"},[t._v("\n Name, email, Site URL, Plugins info, ip Address and uninstall event\n ")])])],1)]):t._e()}),[],!1,null,null,null).exports;const ne={name:"review_dialog",methods:{recordActivity:function(t){var e=this;this.$post({action:"ninja_table_review_consent",status:t}).then((function(){})).fail((function(){})).always((function(){e.$emit("hideNotification",!0)}))}}};var ie=a(6481),oe={insert:"head",singleton:!1};o()(ie.Z,oe);ie.Z.locals;const le={name:"all_tables",components:{Welcome:m,"list-all-tables":g,"add-table-modal":Gt,"lead-modal":ae,NinjaReviewDialog:r(ne,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"review_dialog"},[a("span",{staticClass:"consentDismiss",on:{click:function(e){return t.recordActivity("dismiss")}}},[t._v("x")]),t._v(" "),a("div",{staticClass:"consent_body"},[a("p",[t._v("Thank You for using Ninja Tables Plugin. We are continuously working on it to improve this plugin. If You can spare a minute, Please help us by leaving a five star rating on wordpress.org")]),t._v(" "),a("a",{staticClass:"el-button el-button--success el-button--small",attrs:{target:"_blank",href:"https://wordpress.org/support/plugin/ninja-tables/reviews/#new-post"},on:{click:function(e){return t.recordActivity("yes")}}},[t._v("Happy To Help")]),t._v(" "),a("span",{staticStyle:{cursor:"pointer","font-size":"11px"},on:{click:function(e){return t.recordActivity("no")}}},[t._v("Hide Notification")])])])}),[],!1,null,null,null).exports},props:["hasPro"],data:function(){return{modalVisible:!1,published_tables:parseInt(window.ninja_table_admin.published_tables),searchAction:0,searchString:"",selected:[],review_option:window.ninja_table_admin.show_review_dialog}},methods:{addTableAction:function(t){this.$router.push({name:"data_items",params:{table_id:t}}),this.modalVisible=!1},getData:function(){this.searchAction++},makeSelection:function(t){this.selected=t},handleBulkActions:function(t){"delete"===t&&this.deleteTables()},deleteTables:function(){this.selected.length&&this.$confirm(this.$t("This will permanently delete the selected tables. Continue?"),"Warning",{confirmButtonText:this.$t("Yes, Delete"),cancelButtonText:this.$t("Cancel"),type:"warning"}).then((function(){})).catch((function(){}))}},mounted:function(){var t=this;window.ninjaTableBus.$on("addedTable",(function(){t.published_tables||(window.ninja_table_admin.published_tables=1)}))}};var se=a(6702),re={insert:"head",singleton:!1};o()(se.Z,re);se.Z.locals;const ce=r(le,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[t.published_tables?[a("div",{staticClass:"row clearfix"},[a("h1",{staticClass:"wp-heading-inline"},[t._v("\n "+t._s(t.$t("All Tables"))+"\n ")]),t._v(" "),t.review_option?a("ninja-review-dialog",{on:{hideNotification:function(e){t.review_option=!1}}}):t._e(),t._v(" "),a("div",{staticClass:"pull-right",staticStyle:{"margin-top":"7px"}},[a("label",{staticClass:"form_group search_action",attrs:{for:"search"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.searchString,expression:"searchString"}],staticClass:"form-control inline",attrs:{id:"search",placeholder:"Search",type:"text"},domProps:{value:t.searchString},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getData.apply(null,arguments)},input:function(e){e.target.composing||(t.searchString=e.target.value)}}}),t._v(" "),a("i",{staticClass:"el-icon-search",on:{click:t.getData}})]),t._v(" "),a("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(e){t.modalVisible=!t.modalVisible}}},[t._v("\n "+t._s(t.$t("Add Table"))+"\n ")]),t._v(" "),a("router-link",{attrs:{to:{name:"import_tables"}}},[a("el-button",{attrs:{size:"small",type:"success"}},[t._v("\n "+t._s(t.$t("Import Table"))+"\n ")])],1)],1)],1),t._v(" "),a("hr"),t._v(" "),a("list-all-tables",{directives:[{name:"show",rawName:"v-show",value:t.published_tables,expression:"published_tables"}],attrs:{searchString:t.searchString,searchAction:t.searchAction},on:{total_table:function(e){t.published_tables=!0},selection:t.makeSelection}})]:a("welcome",{on:{create:function(e){t.modalVisible=!t.modalVisible}}}),t._v(" "),a("el-dialog",{attrs:{"close-on-click-modal":!1,title:t.$t("How would you like to create your table?"),visible:t.modalVisible,top:"50px",width:"75%","append-to-body":!0,"custom-class":"create-table-modal"},on:{"update:visible":function(e){t.modalVisible=e}}},[a("add-table-modal",{attrs:{hasPro:t.hasPro},on:{table_inserted:t.addTableAction,modal_close:function(e){t.modalVisible=!1}}})],1),t._v(" "),a("lead-modal")],2)}),[],!1,null,null,null).exports;const ue=r({name:"Tools",data:function(){return{has_pro:!!window.ninja_table_admin.hasPro,menuItems:[]}},computed:{active_menu:function(){return this.$route.name}},methods:{setUpMenuItems:function(){this.menuItems=this.applyFilters("ninja_table_settings_tools",[{route:"import_tables",title:this.$t("Import"),icon_class:"el-icon-upload",status:!0},{route:"default_table_appearance",title:this.$t("Global Appearance"),icon_class:"el-icon-star-off",status:!0},{route:"permission",title:this.$t("Permission"),icon_class:"el-icon-setting",status:!0},{route:"licensing",title:this.$t("License"),icon_class:"ninja-tables-dashicons dashicons dashicons-shield",status:this.has_pro},{route:"global_settings",title:this.$t("Global Settings"),icon_class:"el-icon-menu",status:!0}])}},mounted:function(){this.setUpMenuItems()}},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticStyle:{"margin-top":"15px"}},[a("el-container",[a("el-aside",{attrs:{width:"200px"}},[a("el-menu",{attrs:{"background-color":"#545c64","default-active":t.active_menu,"text-color":"#fff",router:!0,"active-text-color":"#ffd04b"}},t._l(t.menuItems,(function(e){return e.status?a("el-menu-item",{key:e.route,attrs:{index:e.route,route:{name:e.route}}},[a("i",{class:e.icon_class}),t._v(" "),a("span",[t._v(t._s(e.title))])]):t._e()})),1)],1),t._v(" "),a("el-main",[a("router-view")],1)],1)],1)}),[],!1,null,null,null).exports;const de={name:"Tools",data:function(){return{has_pro:window.ninja_table_admin.hasPro,active_menu:"import",activeNames:["1","2"],imports:{source:"file",sourceOptions:["file"],formatOptions:{csv:this.$t("CSV - Comma-separated values"),json:this.$t("JSON - Javascript Object Notation"),ninjaJson:this.$t("JSON - Exported From Ninja Tables")},format:"csv"},do_unicode:"no",btnLoading:!1,otherPlugins:{TablePress:"Table Press",UltimateTables:"Ultimate Tables",supsystic:"Data Tables Generator by Supsystic"},btnsLoading:{TablePress:!1,UltimateTables:!1},showPluginModal:!1,selectedPlugin:null,otherPluginTables:[],importing:!1}},methods:{clear:function(){jQuery("#fileUpload").val("")},importTable:function(){var t=this;if(this.btnLoading=!0,"file"!=!this.imports.source){var e=jQuery("#fileUpload")[0].files[0];if(e){var a=new FormData;a.append("format",this.imports.format),a.append("file",e),a.append("action","ninja_tables_ajax_actions"),a.append("target_action","import-table"),a.append("do_unicode",this.do_unicode),a.append("ninja_table_admin_nonce",window.ninja_table_admin.ninja_table_admin_nonce),jQuery.ajax({url:ajaxurl,data:a,type:"POST",contentType:!1,processData:!1,success:function(e){alert(e.message),t.$router.push({name:"data_items",params:{table_id:e.tableId}})},error:function(e){t.btnLoading=!1,alert(e.responseJSON.message)}})}else this.btnLoading=!1}else this.btnLoading=!0},importFromOtherPlugin:function(t){var e=this;this.selectedPlugin=t,this.btnsLoading[t]=!0;var a={action:"ninja_tables_ajax_actions",target_action:"get-tables-from-plugin",plugin:t,ninja_table_admin_nonce:window.ninja_table_admin.ninja_table_admin_nonce};jQuery.ajax({url:ajaxurl,data:a,type:"POST",success:function(a){a.tables?e.btnsLoading[t]=!1:e.$message.error("No Table Found"),e.showPluginModal=!0,e.otherPluginTables=a.tables},error:function(a){e.btnsLoading[t]=!1,a.responseJSON?e.$message.error(a.responseJSON.message):e.$message.error("No Table Found")}})},closePluginModal:function(){this.otherPluginTables=[],this.btnsLoading[this.selectedPlugin]=!1,this.showPluginModal=!1,this.selectedPlugin=null},importThisTable:function(t,e){var a=this;this.importing=!0;var n={action:"ninja_tables_ajax_actions",target_action:"import-table-from-plugin",plugin:this.selectedPlugin,tableId:t.ID,ninja_table_admin_nonce:window.ninja_table_admin.ninja_table_admin_nonce};jQuery.ajax({url:ajaxurl,data:n,type:"POST",success:function(t){a.$message.success(t.data.message),a.importing=!1,a.$set(a.otherPluginTables[e],"ninja_table_id",t.data.tableId)},error:function(t){a.$message.error(t.responseJSON.data.message),a.importing=!1}})}},mounted:function(){var t=this;this.$route.query.active_menu&&(this.active_menu=this.$route.query.active_menu),jQuery(".ninja_table_tools_menu").on("click",(function(){t.active_menu="import"})),jQuery(".ninja_table_import_menu").on("click",(function(){t.active_menu="import"})),jQuery(".ninja_table_license_menu").on("click",(function(){t.active_menu="license"}))}},pe=de;var me=a(6944),_e={insert:"head",singleton:!1};o()(me.Z,_e);me.Z.locals;const he=r(pe,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"ninja_header"},[a("h2",[t._v(t._s(t.$t("Import Table")))])]),t._v(" "),a("div",{staticClass:"ninja_content"},[a("div",{staticClass:"ninja_block"},[a("p",[t._v("\n "+t._s(t.$t("NinjaTables can import tables from existing data, like from a CSV or JSON file. You can also import existing tables from the other WordPress table plugins."))+"\n ")])]),t._v(" "),a("hr"),t._v(" "),a("div",{staticClass:"ninja_block_section"},[a("h3",[t._v("Import Table from CSV / JSON File")]),t._v(" "),a("p",[t._v("\n Browse and locate a CSV/JSON file you backed up before.\n ")]),t._v(" "),t._m(0),t._v(" "),a("div",{staticClass:"form"},[a("div",{staticClass:"form-item"},["file"==t.imports.source?[a("label",[t._v(t._s(t.$t("Select file:")))]),t._v(" "),a("input",{attrs:{type:"file",id:"fileUpload"},on:{click:t.clear}})]:"url"==t.imports.source?[t._v("\n File upload url\n ")]:[a("label",[t._v(t._s(t.$t("Import data:")))]),t._v(" "),a("textarea",{attrs:{rows:"10"}})]],2),t._v(" "),a("div",{staticClass:"form-item"},[a("label",{attrs:{for:"import_format"}},[t._v(t._s(t.$t("Import Format:")))]),t._v(" "),a("select",{directives:[{name:"model",rawName:"v-model",value:t.imports.format,expression:"imports.format"}],attrs:{id:"import_format"},on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.imports,"format",e.target.multiple?a:a[0])}}},t._l(t.imports.formatOptions,(function(e,n){return a("option",{domProps:{value:n}},[t._v(t._s(t.$t(e))+"\n ")])})),0),t._v(" "),"csv"==t.imports.format?[t._m(1),t._v(" "),a("div",{staticClass:"form-item"},[a("el-checkbox",{attrs:{"true-label":"yes","false-label":"no"},model:{value:t.do_unicode,callback:function(e){t.do_unicode=e},expression:"do_unicode"}},[t._v("Convert to UTF-8 format ( Check this if your csv is non-unicode format )")])],1)]:t._e(),t._v(" "),a("span",{directives:[{name:"show",rawName:"v-show",value:"json"==t.imports.format||"ninjaJson"==t.imports.format,expression:"imports.format == 'json' || imports.format == 'ninjaJson'"}],staticClass:"help"},[t._v("\n Check tutorial for importing Table from JSON file "),a("a",{attrs:{href:"https://wpmanageninja.com/docs/ninja-tables/import-table-data-from-csv/?utm_source=ninja-tables",target:"_blank"}},[t._v("here")])])],2),t._v(" "),a("div",{staticClass:"form-item"},[a("el-button",{attrs:{type:"primary",size:"small",loading:t.btnLoading},on:{click:t.importTable}},[t._v("\n "+t._s(t.$t("Import"))+"\n ")])],1)])]),t._v(" "),a("hr"),t._v(" "),a("div",{staticClass:"ninja_block_section"},[a("h3",[t._v("Import From Other WP Table Plugin")]),t._v(" "),t._m(2),t._v(" "),a("table",{staticStyle:{"min-width":"400px"}},[a("tbody",t._l(t.otherPlugins,(function(e,n){return a("tr",[a("td",[t._v(t._s(e))]),t._v(" "),a("td",[a("button",{staticClass:"btn btn-default btn-sm",on:{click:function(e){return t.importFromOtherPlugin(n)}}},[t.btnsLoading[n]?[t._v("\n "+t._s(t.$t("Processing..."))+"\n "),a("i",{staticClass:"fooicon fooicon-spin fooicon-circle-o-notch"})]:[t._v("\n "+t._s(t.$t("Import"))+"\n ")]],2)])])})),0)])])]),t._v(" "),a("el-dialog",{attrs:{title:"Your current tables",visible:t.showPluginModal},on:{"update:visible":function(e){t.showPluginModal=e},close:function(e){return t.closePluginModal()}}},[t.otherPluginTables.length?[a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.otherPluginTables}},[a("el-table-column",{attrs:{label:"Name"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.is_already_imported?a("span",[t._v("( Already Imported )")]):t._e(),t._v(" "+t._s(e.row.post_title)+"\n ")]}}],null,!1,2469912787)}),t._v(" "),a("el-table-column",{attrs:{label:"Action",fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(a){return t.importThisTable(e.row,e.$index)}}},[t._v(t._s(t.$t("Import"))+"\n ")]),t._v(" "),e.row.ninja_table_id?a("router-link",{staticClass:"el-button el-button--danger el-button--mini ninja_btn",attrs:{to:{name:"data_items",params:{table_id:e.row.ninja_table_id}}}},[t._v(t._s(t.$t("View Imported Table"))+"\n ")]):t._e()]}}],null,!1,3480308331)})],1),t._v(" "),t.importing?[a("br"),a("br"),t._v(" "),a("div",{staticClass:"updated notice notice-success",staticStyle:{padding:"10px"}},[t._v("\n "+t._s(t.$t("Importing the table, please wait a bit ..."))+"\n ")])]:t._e()]:a("div",{staticClass:"updated notice notice-success",staticStyle:{padding:"10px"}},[t._v("\n You don't have any tables in your "+t._s(t.selectedPlugin)+" plugin.\n ")])],2)],1)}),[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("p",[t._v("\n Select the intended format and click "),a("strong",[t._v("Import")]),t._v(" button, we will do\n the rest for you.\n ")])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("span",{staticClass:"help"},[t._v("\n Check tutorial for importing data from CSV file "),a("a",{attrs:{href:"https://wpmanageninja.com/docs/ninja-tables/import-table-data-from-csv/?utm_source=ninja-tables",target:"_blank"}},[t._v("here")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("p",[t._v("\n To import from other WordPress plugins click the respective "),a("strong",[t._v("Import")]),t._v("\n button.\n ")])}],!1,null,"0ccd418e",null).exports;const fe={name:"Privacy",data:function(){return{hasPro:!1,fetching:!1,roles:[],checkAll:!1,sql_permission:"no",capability:["administrator"],isIndeterminate:!1,upgrade:"https://wpmanageninja.com/downloads/ninja-tables-pro-add-on/?utm_source=ninja-tables&utm_medium=wp&utm_campaign=wp_plugin&utm_term=upgrade"}},methods:{get:function(){var t=this;this.fetching=!0,this.$get({action:"ninja_tables_ajax_actions",target_action:"get_access_roles"}).then((function(e){t.capability=e.capability,t.roles=e.roles,t.sql_permission=e.sql_permission,t.handleCheckedCapabilitiesChange(t.capability)})).fail((function(t){})).always((function(){t.fetching=!1}))},store:function(){var t=this,e={action:"ninja_tables_set_permission",capability:this.capability,sql_permission:this.sql_permission};this.$post(e).then((function(e){t.$message({showClose:!0,message:e.message,type:"success"})})).fail((function(e){t.$message({showClose:!0,message:e.responseJSON.data.message,type:"error"})}))},handleCheckAllChange:function(t){this.capability=t?this.roles.map((function(t){return t.key})):[],this.isIndeterminate=!1},handleCheckedCapabilitiesChange:function(t){var e=t.length;this.checkAll=e===this.roles.length,this.isIndeterminate=e>0&&e<this.roles.length}},mounted:function(){this.hasPro="1"===window.ninja_table_admin.hasPro,this.get()}};var ve=a(3601),be={insert:"head",singleton:!1};o()(ve.Z,be);ve.Z.locals;const ge=r(fe,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"privacy"},[a("div",{staticClass:"ninja_header"},[a("h2",[t._v("Permission "),a("span",{directives:[{name:"show",rawName:"v-show",value:!t.hasPro,expression:"!hasPro"}]},[t._v("(Pro Feature)")])])]),t._v(" "),a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.fetching,expression:"fetching"}],staticClass:"ninja_content"},[t._m(0),t._v(" "),a("hr"),t._v(" "),t.hasPro?[a("div",{staticClass:"form-group"},[a("el-checkbox",{attrs:{indeterminate:t.isIndeterminate},on:{change:t.handleCheckAllChange},model:{value:t.checkAll,callback:function(e){t.checkAll=e},expression:"checkAll"}},[t._v("\n "+t._s(t.$t("Check all"))+"\n ")])],1),t._v(" "),a("div",{staticClass:"form-group"},[a("el-checkbox-group",{on:{change:t.handleCheckedCapabilitiesChange},model:{value:t.capability,callback:function(e){t.capability=e},expression:"capability"}},t._l(t.roles,(function(e){return a("el-checkbox",{key:e.key,attrs:{label:e.key}},[t._v("\n "+t._s(e.name)+"\n ")])})),1)],1),t._v(" "),t.capability&&t.capability.length?a("div",{staticClass:"form-group"},[a("el-checkbox",{attrs:{"true-label":"yes","false-label":"no"},model:{value:t.sql_permission,callback:function(e){t.sql_permission=e},expression:"sql_permission"}},[t._v("Enable SQL-Module Permission for selected user roles")])],1):t._e(),t._v(" "),a("div",{staticClass:"form-group"},[a("el-button",{attrs:{type:"primary",size:"small"},on:{click:t.store}},[t._v("Save")])],1)]:[t._v("\n "+t._s(t.$t("Activate Ninja Tables Pro Add-on plugin to unlock this feature"))+"\n "),a("p",[a("a",{attrs:{target:"_blank",href:t.upgrade}},[t._v("Buy Ninja Tables Pro Add-On")])])]],2)])}),[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ninja_block"},[a("p",[t._v("By default, Only Administrator have access to manage the tables. By selecting additional roles bellow, You can give access to manage your Tables to other user roles.")])])}],!1,null,null,null).exports;var ye=a(5325),we=a.n(ye),xe=a(4486),ke=a.n(xe);const Ce=r({name:"Privacy",data:function(){return{fetching:!1,saving:!1,tableLibs:{},default_settings:{},fontFamily:["inherit","cursive","fantasy","monospace","sans-serif","serif","system-ui","ui-monospace","ui-rounded","ui-sans-serif","ui-serif"]}},computed:{tableColors:function(){return{footable:{title:"Footable",description:"A responsive table plugin built on jQuery",supports:{ajax:!1,sorting:!0,search:!0},css_libs:{semantic_ui:{title:"Semantic UI",description:"Apply Semantic UI styles in the table",styles:[{key:"single line",title:"Single Line Cells",description:"A table can specify that its cell contents should remain on a single line, and not wrap."},{key:"fixed",title:"Fixed Layout",description:"A special faster form of table rendering that does not resize table cells based on content."},{key:"selectable",title:"Hover rows",description:"Enable a hover state on table rows"},{key:"celled",title:"Bordered table",description:"Borders on all sides of the table and cells"},{key:"hide_horizonal_borders",title:"Hide Horizontal Borders",description:"This will hide horizontal borders of table body rows"},{key:"hide_vertical_borders",title:"Hide Vertical Borders",description:"This will hide Vertical borders of table body rows"},{key:"striped",title:"Striped rows",description:"Add zebra-striping to any table row"},{key:"compact",title:"Compact Table",description:"Make tables more compact by cutting cell padding in half"},{key:"vertical_centered",title:"Vertically centered table cell contents",description:"Make cell contents vertically centered"}]},bootstrap4:{title:"Bootstrap 4",description:"Apply Twitter Bootstrap 4 styles in the table",styles:[{key:"table-striped",title:"Striped rows",description:"Add zebra-striping to any table row"},{key:"table-bordered",title:"Bordered table",description:"Borders on all sides of the table and cells"},{key:"hide_horizonal_borders",title:"Hide Horizontal Borders",description:"This will hide horizontal borders of table body rows"},{key:"hide_vertical_borders",title:"Hide Vertical Borders",description:"This will hide Vertical borders of table body rows"},{key:"table-hover",title:"Hover rows",description:"Enable a hover state on table rows"},{key:"table-sm",title:"Small table",description:"Make tables more compact by cutting cell padding in half"},{key:"vertical_centered",title:"Vertically centered table cell contents",description:"Make cell contents vertically centered"}]},bootstrap3:{title:"Bootstrap 3",description:"Apply Twitter Bootstrap 3 styles in the table",styles:[{key:"table-striped",title:"Striped rows",description:"Add zebra-striping to any table row"},{key:"table-bordered",title:"Bordered table",description:"Borders on all sides of the table and cells"},{key:"hide_horizonal_borders",title:"Hide Horizontal Borders",description:"This will hide horizontal borders of table body rows"},{key:"hide_vertical_borders",title:"Hide Vertical Borders",description:"This will hide Vertical borders of table body rows"},{key:"table-hover",title:"Hover rows",description:"Enable a hover state on table rows"},{key:"table-condensed",title:"Condensed table",description:"Make tables more compact by cutting cell padding in half"},{key:"vertical_centered",title:"Vertically centered table cell contents",description:"Make cell contents vertically centered"}]}},colors:{ninja_no_color_table:"Default",white:"White",red:"Red",orange:"Orange",yellow:"Yellow",olive:"Olive",green:"Green",teal:"Teal",blue:"Blue",violet:"Violet",purple:"Purple",pink:"Pink",grey:"Grey",black:"Black"}}}.footable.colors},table_styles:function(){return{footable:{title:"Footable",description:"A responsive table plugin built on jQuery",supports:{ajax:!1,sorting:!0,search:!0},css_libs:{semantic_ui:{title:"Semantic UI",description:"Apply Semantic UI styles in the table",styles:[{key:"single line",title:"Single Line Cells",description:"A table can specify that its cell contents should remain on a single line, and not wrap."},{key:"fixed",title:"Fixed Layout",description:"A special faster form of table rendering that does not resize table cells based on content."},{key:"selectable",title:"Hover rows",description:"Enable a hover state on table rows"},{key:"celled",title:"Bordered table",description:"Borders on all sides of the table and cells"},{key:"hide_horizonal_borders",title:"Hide Horizontal Borders",description:"This will hide horizontal borders of table body rows"},{key:"hide_vertical_borders",title:"Hide Vertical Borders",description:"This will hide Vertical borders of table body rows"},{key:"striped",title:"Striped rows",description:"Add zebra-striping to any table row"},{key:"compact",title:"Compact Table",description:"Make tables more compact by cutting cell padding in half"},{key:"vertical_centered",title:"Vertically centered table cell contents",description:"Make cell contents vertically centered"}]},bootstrap4:{title:"Bootstrap 4",description:"Apply Twitter Bootstrap 4 styles in the table",styles:[{key:"table-striped",title:"Striped rows",description:"Add zebra-striping to any table row"},{key:"table-bordered",title:"Bordered table",description:"Borders on all sides of the table and cells"},{key:"hide_horizonal_borders",title:"Hide Horizontal Borders",description:"This will hide horizontal borders of table body rows"},{key:"hide_vertical_borders",title:"Hide Vertical Borders",description:"This will hide Vertical borders of table body rows"},{key:"table-hover",title:"Hover rows",description:"Enable a hover state on table rows"},{key:"table-sm",title:"Small table",description:"Make tables more compact by cutting cell padding in half"},{key:"vertical_centered",title:"Vertically centered table cell contents",description:"Make cell contents vertically centered"}]},bootstrap3:{title:"Bootstrap 3",description:"Apply Twitter Bootstrap 3 styles in the table",styles:[{key:"table-striped",title:"Striped rows",description:"Add zebra-striping to any table row"},{key:"table-bordered",title:"Bordered table",description:"Borders on all sides of the table and cells"},{key:"hide_horizonal_borders",title:"Hide Horizontal Borders",description:"This will hide horizontal borders of table body rows"},{key:"hide_vertical_borders",title:"Hide Vertical Borders",description:"This will hide Vertical borders of table body rows"},{key:"table-hover",title:"Hover rows",description:"Enable a hover state on table rows"},{key:"table-condensed",title:"Condensed table",description:"Make tables more compact by cutting cell padding in half"},{key:"vertical_centered",title:"Vertically centered table cell contents",description:"Make cell contents vertically centered"}]}},colors:{ninja_no_color_table:"Default",white:"White",red:"Red",orange:"Orange",yellow:"Yellow",olive:"Olive",green:"Green",teal:"Teal",blue:"Blue",violet:"Violet",purple:"Purple",pink:"Pink",grey:"Grey",black:"Black"}}}.footable.css_libs},availableStyles:function(){var t=this.table_styles[this.default_settings.css_lib];return!!t&&t.styles}},methods:{get:function(){var t=this;this.fetching=!0,this.$get({action:"ninja_tables_ajax_actions",target_action:"get_default_settings"}).then((function(e){t.default_settings=e.data.default_settings})).fail((function(t){})).always((function(){t.fetching=!1}))},store:function(){var t=this;this.saving=!0;var e=[];ke()(this.availableStyles,(function(t){e.push(t.key)})),this.default_settings.css_classes=we()(e,this.default_settings.css_classes),this.$post({action:"ninja_tables_ajax_actions",target_action:"save_default_settings",default_settings:this.default_settings}).then((function(e){t.$message.success({showClose:!0,message:e.data.message,type:"success"})})).fail((function(t){})).always((function(){t.saving=!1}))}},mounted:function(){this.get()}},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"privacy"},[t._m(0),t._v(" "),a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.fetching,expression:"fetching"}],staticClass:"ninja_content"},[t._m(1),t._v(" "),a("hr"),t._v(" "),[a("div",{staticClass:"ninja_block"},[a("div",{staticClass:"form_group"},[a("h3",[t._v("Default Styling Library")]),t._v(" "),a("el-radio-group",{attrs:{size:"mini"},model:{value:t.default_settings.css_lib,callback:function(e){t.$set(t.default_settings,"css_lib",e)},expression:"default_settings.css_lib"}},t._l(t.table_styles,(function(e,n){return a("el-radio-button",{key:n,attrs:{label:n}},[t._v("\n "+t._s(e.title)+"\n "),a("el-tooltip",{attrs:{placement:"top-end",effect:"light",content:e.description}},[a("i",{staticClass:"el-icon-info el-text-info"})])],1)})),1)],1),t._v(" "),a("div",{staticClass:"form_group"},[a("h3",[t._v("Default Table Styles")]),t._v(" "),t._l(t.availableStyles,(function(e){return a("label",{key:e.key,attrs:{for:"table_style_"+e.key}},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.default_settings.css_classes,expression:"default_settings.css_classes"}],attrs:{type:"checkbox",name:"table_styles",id:"table_style_"+e.key},domProps:{value:e.key,checked:Array.isArray(t.default_settings.css_classes)?t._i(t.default_settings.css_classes,e.key)>-1:t.default_settings.css_classes},on:{change:function(a){var n=t.default_settings.css_classes,i=a.target,o=!!i.checked;if(Array.isArray(n)){var l=e.key,s=t._i(n,l);i.checked?s<0&&t.$set(t.default_settings,"css_classes",n.concat([l])):s>-1&&t.$set(t.default_settings,"css_classes",n.slice(0,s).concat(n.slice(s+1)))}else t.$set(t.default_settings,"css_classes",o)}}}),t._v("\n "+t._s(e.title)+"\n "),a("el-tooltip",{attrs:{placement:"top-end",effect:"light",content:e.description}},[a("i",{staticClass:"el-icon-info el-text-info"})])],1)}))],2),t._v(" "),a("div",{staticClass:"form_group"},[a("h3",[t._v("Default Features")]),t._v(" "),a("label",{attrs:{for:"show_title"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.default_settings.show_title,expression:"default_settings.show_title"}],attrs:{type:"checkbox",value:"1",id:"show_title"},domProps:{checked:Array.isArray(t.default_settings.show_title)?t._i(t.default_settings.show_title,"1")>-1:t.default_settings.show_title},on:{change:function(e){var a=t.default_settings.show_title,n=e.target,i=!!n.checked;if(Array.isArray(a)){var o=t._i(a,"1");n.checked?o<0&&t.$set(t.default_settings,"show_title",a.concat(["1"])):o>-1&&t.$set(t.default_settings,"show_title",a.slice(0,o).concat(a.slice(o+1)))}else t.$set(t.default_settings,"show_title",i)}}}),t._v(" "+t._s(t.$t("Show Table Title"))+"\n "),a("el-tooltip",{attrs:{placement:"top-end",effect:"light",content:"Enable this if you want to show table title in frontend"}},[a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("label",{attrs:{for:"show_description"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.default_settings.show_description,expression:"default_settings.show_description"}],attrs:{type:"checkbox",value:"1",id:"show_description"},domProps:{checked:Array.isArray(t.default_settings.show_description)?t._i(t.default_settings.show_description,"1")>-1:t.default_settings.show_description},on:{change:function(e){var a=t.default_settings.show_description,n=e.target,i=!!n.checked;if(Array.isArray(a)){var o=t._i(a,"1");n.checked?o<0&&t.$set(t.default_settings,"show_description",a.concat(["1"])):o>-1&&t.$set(t.default_settings,"show_description",a.slice(0,o).concat(a.slice(o+1)))}else t.$set(t.default_settings,"show_description",i)}}}),t._v(" "+t._s(t.$t("Show Table Description"))+"\n "),a("el-tooltip",{attrs:{placement:"top-end",effect:"light",content:"Enable this if you want to show table description in frontend"}},[a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("label",{attrs:{for:"enable_search"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.default_settings.enable_search,expression:"default_settings.enable_search"}],attrs:{type:"checkbox",value:"1",id:"enable_search"},domProps:{checked:Array.isArray(t.default_settings.enable_search)?t._i(t.default_settings.enable_search,"1")>-1:t.default_settings.enable_search},on:{change:function(e){var a=t.default_settings.enable_search,n=e.target,i=!!n.checked;if(Array.isArray(a)){var o=t._i(a,"1");n.checked?o<0&&t.$set(t.default_settings,"enable_search",a.concat(["1"])):o>-1&&t.$set(t.default_settings,"enable_search",a.slice(0,o).concat(a.slice(o+1)))}else t.$set(t.default_settings,"enable_search",i)}}}),t._v(" "+t._s(t.$t("Enable the visitor to filter or search the table."))+"\n ")]),t._v(" "),a("label",{attrs:{for:"column_sorting"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.default_settings.column_sorting,expression:"default_settings.column_sorting"}],attrs:{type:"checkbox",value:"1",id:"column_sorting"},domProps:{checked:Array.isArray(t.default_settings.column_sorting)?t._i(t.default_settings.column_sorting,"1")>-1:t.default_settings.column_sorting},on:{change:function(e){var a=t.default_settings.column_sorting,n=e.target,i=!!n.checked;if(Array.isArray(a)){var o=t._i(a,"1");n.checked?o<0&&t.$set(t.default_settings,"column_sorting",a.concat(["1"])):o>-1&&t.$set(t.default_settings,"column_sorting",a.slice(0,o).concat(a.slice(o+1)))}else t.$set(t.default_settings,"column_sorting",i)}}}),t._v(" "+t._s(t.$t("Enable sorting of the table by the visitor"))+"\n ")]),t._v(" "),a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.default_settings.hide_all_borders,expression:"default_settings.hide_all_borders"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.default_settings.hide_all_borders)?t._i(t.default_settings.hide_all_borders,null)>-1:t.default_settings.hide_all_borders},on:{change:function(e){var a=t.default_settings.hide_all_borders,n=e.target,i=!!n.checked;if(Array.isArray(a)){var o=t._i(a,null);n.checked?o<0&&t.$set(t.default_settings,"hide_all_borders",a.concat([null])):o>-1&&t.$set(t.default_settings,"hide_all_borders",a.slice(0,o).concat(a.slice(o+1)))}else t.$set(t.default_settings,"hide_all_borders",i)}}}),t._v("\n Hide All Borders\n ")])]),t._v(" "),a("div",{staticClass:"form_group",staticStyle:{"max-width":"400px"}},[a("h3",[t._v("Default Table Color")]),t._v(" "),a("select",{directives:[{name:"model",rawName:"v-model",value:t.default_settings.table_color,expression:"default_settings.table_color"}],staticClass:"form_control",on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.default_settings,"table_color",e.target.multiple?a:a[0])}}},t._l(t.tableColors,(function(e,n){return a("option",{key:n,domProps:{value:n}},[t._v("\n "+t._s(e)+"\n ")])})),0)]),t._v(" "),a("div",{staticClass:"form_group"},[a("h3",[t._v("Default Pagination Setting")]),t._v(" "),a("el-switch",{attrs:{"inactive-color":"gray","active-text":"Hide Pagination (Show all data at once)","active-value":"1","inactive-value":"0"},model:{value:t.default_settings.show_all,callback:function(e){t.$set(t.default_settings,"show_all",e)},expression:"default_settings.show_all"}})],1)]),t._v(" "),a("div",{staticClass:"form_group",staticStyle:{"max-width":"400px"}},[a("label",{attrs:{for:"items_per_page"}},[t._v(t._s(t.$t("Pagination Items Per Page")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.default_settings.perPage,expression:"default_settings.perPage"}],staticClass:"form_control",attrs:{id:"items_per_page",type:"number",disabled:1==t.default_settings.show_all||"1"==t.default_settings.show_all},domProps:{value:t.default_settings.perPage},on:{input:function(e){e.target.composing||t.$set(t.default_settings,"perPage",e.target.value)}}})]),t._v(" "),a("div",{staticClass:"font-setting"},[a("h3",[t._v("Default Font Setting")]),t._v(" "),a("div",{staticClass:"font form_group "},[a("label",[t._v(t._s(t.$t("Font Family")))]),t._v(" "),a("select",{directives:[{name:"model",rawName:"v-model",value:t.default_settings.table_font_family,expression:"default_settings.table_font_family"}],staticClass:"form_control",on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.default_settings,"table_font_family",e.target.multiple?a:a[0])}}},t._l(t.fontFamily,(function(t,e){return a("option",{key:e,attrs:{label:"inherit"===t?"theme-font":t},domProps:{value:t}})})),0)]),t._v(" "),a("div",{staticClass:"font form_group",staticStyle:{"max-width":"400px"}},[a("label",[t._v(t._s(t.$t("Font Size")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.default_settings.table_font_size,expression:"default_settings.table_font_size"}],staticClass:"form_control",attrs:{type:"number",min:1,max:50},domProps:{value:t.default_settings.table_font_size},on:{input:function(e){e.target.composing||t.$set(t.default_settings,"table_font_size",e.target.value)}}})])]),t._v(" "),a("div",{staticClass:"form-group",staticStyle:{"margin-top":"30px"}},[a("el-button",{attrs:{loading:t.saving,type:"success",size:"small"},on:{click:t.store}},[t._v("Update")])],1)]],2)])}),[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ninja_header"},[a("h2",[t._v("Global Appearance Settings")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ninja_block"},[a("p",[t._v("\n The following settings will be applied to the newly created tables. Of course, You can customize the\n appearance settings to each table level.\n ")])])}],!1,null,null,null).exports;const Se={name:"license",data:function(){return{licenseKey:"",error_message:"",enter_new_license:!1,checkingLicense:!1,doing_ajax:!1,renewLicenseHtml:"",renewHtml:"",is_valid:window.ninja_table_admin.hasValidLicense}},methods:{activateLicense:function(){var t=this;this.licenseKey?(this.doing_ajax=!0,this.error_message="",this.$post({action:"_ninjatables_pro_license_activate_license",_ninjatables_pro_license_key:this.licenseKey}).then((function(e){e.data&&e.data.message?(jQuery(".error_notice_ninjatables_pro_license").remove(),t.is_valid="valid"):t.error_message="Something is wrong when contacting with license server. Please make sure you have curl installed you server",t.doing_ajax=!1})).fail((function(e){e.responseJSON&&e.responseJSON.data?t.error_message=e.responseJSON.data.message:t.error_message="Sorry, Something is wrong! Please make sure you have ninja tables pro installed and curl installed on your server",t.doing_ajax=!1})).always((function(){t.doing_ajax=!1}))):this.error_message="Please provide a license key"},deactivateLicense:function(){var t=this;this.doing_ajax=!0,this.error_message="",this.$post({action:"_ninjatables_pro_license_deactivate_license"}).then((function(e){t.is_valid=!1})).fail((function(e){console.log(e),t.error_message=e.responseJSON.data.message,e.responseJSON&&e.responseJSON.data?t.$message.error(e.responseJSON.data.message):t.$message.error("Sorry, Something is wrong! Please try again")})).always((function(){t.doing_ajax=!1}))},get_license_info:function(){var t=this;this.checkingLicense=!0,this.error_message="",this.$get({action:"_ninjatables_pro_license_get_license_info"}).then((function(e){t.renewLicenseHtml=e.data.renewHtml,t.is_valid=e.data.status,t.renewHtml=e.data.renewHtml})).fail((function(e){t.error_message=e.responseJSON.data.message})).always((function(){t.checkingLicense=!1}))}},mounted:function(){this.get_license_info()}};var je=a(8099),$e={insert:"head",singleton:!1};o()(je.Z,$e);je.Z.locals;const Te=r(Se,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"license"},[a("div",{staticClass:"ninja_header"},["valid"==t.is_valid?a("div",[a("h2",[t._v(t._s(t.$t("Your License is Active")))])]):"expired"==t.is_valid?a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.checkingLicense,expression:"checkingLicense"}]},[a("h2",[t._v(t._s(t.$t("Licensing has been expired")))])]):a("div",[a("h2",[t._v(t._s(t.$t("Licensing")))]),t._v(" "),t._m(0)])]),t._v(" "),a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.checkingLicense,expression:"checkingLicense"}],staticClass:"ninja_content"},["valid"==t.is_valid?a("div",{staticClass:"license_success"},[a("h3",[t._v(t._s(t.$t("Your license is active! Enjoy Ninja Tables Pro Add On")))]),t._v(" "),a("el-button",{directives:[{name:"loading",rawName:"v-loading",value:t.doing_ajax,expression:"doing_ajax"}],staticClass:"license_submit",attrs:{type:"default",size:"mini"},on:{click:function(e){return t.deactivateLicense()}}},[t._v(t._s(t.$t("Deactivate License")))]),t._v(" "),t.renewHtml?a("p",{domProps:{innerHTML:t._s(t.renewHtml)}}):t._e()],1):"expired"==t.is_valid?a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.checkingLicense,expression:"checkingLicense"}],staticClass:"license_form"},[a("div",{staticClass:"checking_license license_renew_box",staticStyle:{"text-align":"center"},domProps:{innerHTML:t._s(t.renewLicenseHtml)}}),t._v(" "),a("p",[t._v("If you already renewed your license then please "),a("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.get_license_info()}}},[t._v("click here to check again")])]),t._v(" "),a("p",[t._v("Have a new license key? Please "),a("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.enter_new_license=!0}}},[t._v("click here")])]),t._v(" "),t.enter_new_license?a("div",{staticClass:"license_form"},[a("label",{attrs:{for:"license_form_input"}},[t._v("\n "+t._s(t.$t("Enter your license key"))+"\n ")]),t._v(" "),a("div",{staticClass:"form_input"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.licenseKey,expression:"licenseKey"}],attrs:{placeholder:"License Key",id:"license_form_input"},domProps:{value:t.licenseKey},on:{input:function(e){e.target.composing||(t.licenseKey=e.target.value)}}})]),t._v(" "),a("el-button",{directives:[{name:"loading",rawName:"v-loading",value:t.doing_ajax,expression:"doing_ajax"}],staticClass:"license_submit",attrs:{type:"primary"},on:{click:function(e){return t.activateLicense()}}},[t._v(t._s(t.$t("Activate Ninja Tables Pro")))]),t._v(" "),a("div",{staticClass:"nt_messages"},[t.error_message?a("p",{staticClass:"error_message",domProps:{innerHTML:t._s(t.error_message)}}):t._e()])],1):t._e()]):a("div",{staticClass:"license_form"},[a("label",{attrs:{for:"license_form_input"}},[t._v("\n "+t._s(t.$t("Enter your license key"))+"\n ")]),t._v(" "),a("div",{staticClass:"form_input"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.licenseKey,expression:"licenseKey"}],attrs:{placeholder:"License Key",id:"license_form_input"},domProps:{value:t.licenseKey},on:{input:function(e){e.target.composing||(t.licenseKey=e.target.value)}}})]),t._v(" "),a("el-button",{directives:[{name:"loading",rawName:"v-loading",value:t.doing_ajax,expression:"doing_ajax"}],staticClass:"license_submit",attrs:{type:"primary"},on:{click:function(e){return t.activateLicense()}}},[t._v(t._s(t.$t("Activate Ninja Tables Pro")))]),t._v(" "),a("div",{staticClass:"nt_messages"},[t.error_message?a("p",{staticClass:"error_message",domProps:{innerHTML:t._s(t.error_message)}}):t._e()])],1)])])}),[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("p",[t._v("\n You need to activate your Ninja Table Pro by providing the license key bellow. If you don't have a\n license key please "),a("a",{attrs:{href:"https://wpmanageninja.com/checkout/purchase-history/",target:"_blank"}},[t._v("Click\n Here")]),t._v(" to get a license key from your purchase. "),a("br"),t._v("Any questions or problems with your license? "),a("a",{attrs:{href:"https://wpmanageninja.com/contact/",target:"_blank"}},[t._v("Contact us!")])])}],!1,null,null,null).exports;const Ee=r({name:"GlobalSettings",data:function(){return{loading:!1,ninja_suppress_error:"log_silently"}},methods:{getSettings:function(){var t=this;this.loading=!0,this.$get({action:"ninja_tables_ajax_actions",target_action:"get_global_settings"}).then((function(e){t.ninja_suppress_error=e.data.ninja_suppress_error})).fail((function(t){})).always((function(){t.loading=!1}))},storeSettings:function(){var t=this,e={action:"ninja_tables_ajax_actions",target_action:"update_global_settings",suppress_error:this.ninja_suppress_error};this.$post(e).then((function(e){t.$message({showClose:!0,message:e.data.message,type:"success"})})).fail((function(t){}))},clearCache:function(){var t=this;this.$post({action:"ninja_tables_ajax_actions",target_action:"clear_tables_cache"}).then((function(e){t.$message({showClose:!0,message:e.data.message,type:"success"})})).fail((function(t){}))}},mounted:function(){this.getSettings()}},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"privacy"},[t._m(0),t._v(" "),a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"ninja_content"},[a("div",{staticClass:"ninja_block"},[a("h3",[t._v("Global Javascript Error Handling")]),t._v(" "),a("el-radio-group",{staticClass:"spaced_new_line",model:{value:t.ninja_suppress_error,callback:function(e){t.ninja_suppress_error=e},expression:"ninja_suppress_error"}},[a("el-radio",{attrs:{label:"log_silently"}},[t._v("Console Log JS Errors Silently")]),t._v(" "),a("el-radio",{attrs:{label:"yes"}},[t._v("Handle Error But don't Log")]),t._v(" "),a("el-radio",{attrs:{label:"no"}},[t._v("Don't Handle Global Javascript Errors (Default)")])],1)],1),t._v(" "),a("el-button",{attrs:{size:"small",type:"success"},on:{click:function(e){return t.storeSettings()}}},[t._v("Update Global Settings")])],1),t._v(" "),a("div",{staticClass:"ninja_block ninja_heightlight_block"},[a("h3",[t._v("Clear Table Cache")]),t._v(" "),a("p",[t._v("If you want to clear all the Ninja table cache, please click on the following button")]),t._v(" "),a("el-button",{attrs:{size:"small",type:"danger"},on:{click:function(e){return t.clearCache()}}},[t._v("Clear Table Cache")])],1)])}),[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ninja_header"},[a("h2",[t._v("Global Settings")])])}],!1,null,null,null).exports;const Ie={name:"Charts",data:function(){return{imgUrl:window.ninja_table_admin.img_url,loading:!1}},beforeRouteEnter:function(t,e,a){window.ninja_table_admin.ninja_charts_url?window.location=window.ninja_table_admin.ninja_charts_url:a()},methods:{imageUrl:function(t){return this.imgUrl+t},click:function(){var t=this;this.loading=!0;this.$post({action:"ninja_tables_ajax_actions",target_action:"install-extra-plugins",plugin:"ninja-charts"}).then((function(e){t.$message({showClose:!0,message:e.data.message,type:"success"}),window.location=e.data.redirect})).fail((function(e){e.responseJSON.data.message?t.$message({showClose:!0,message:e.responseJSON.data.message,type:"error"}):t.$message({showClose:!0,message:e.responseText,type:"error"})})).always((function(){t.loading=!1}))}}};var De=a(5783),Pe={insert:"head",singleton:!1};o()(De.Z,Pe);De.Z.locals;const Ae=r(Ie,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ninja_intro_welcome"},[a("div",{staticClass:"ninja_charts_promo_banner"},[a("img",{attrs:{src:t.imageUrl("ninja-charts-promo.png"),alt:"Ninja Charts"}})]),t._v(" "),a("h2",[t._v("Welcome to Ninja Charts")]),t._v(" "),a("p",[t._v("Best WP Charts Plugin for WordPress")]),t._v(" "),t._m(0),t._v(" "),a("div",{staticClass:"ninja_actions"},[a("el-button",{attrs:{type:"danger",loading:t.loading},on:{click:function(e){return t.click()}}},[t._v("\n Enable Ninja Charts\n ")])],1)])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"ninja_charts_promo"},[e("iframe",{attrs:{width:"600",height:"315",src:"https://www.youtube.com/embed/vIHR3_vNOFM",frameborder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:""}})])}],!1,null,"6779a907",null).exports;const Ne=r({name:"add_table",components:{wp_editor:k},props:{table:{type:Object,default:function(){return{ID:null,post_title:"",post_content:"",table_caption:""}}}},data:function(){return{btnLoading:!1}},methods:{handleTabClick:function(t,e){setTimeout((function(){jQuery(t.$el).find("input:first").focus()}),0)},addTable:function(){var t=this;this.btnLoading=!0;var e={action:"ninja_tables_ajax_actions",target_action:"store-a-table",post_title:this.table.post_title,post_content:this.table.post_content,table_caption:this.table.table_caption,tableId:this.table.ID};this.$post(e).then((function(e){t.$message({showClose:!0,message:e.message,type:"success"}),t.closeModal()})).fail((function(e){e.responseJSON.data.message?t.$message({showClose:!0,message:e.responseJSON.data.message,type:"error"}):t.$message({showClose:!0,message:e.responseText,type:"error"})})).always((function(){t.btnLoading=!1}))},closeModal:function(){this.$emit("modal_close")}},mounted:function(){}},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ninja_table_edit"},[a("div",{staticClass:"ninja_modal-body"},[a("div",{staticClass:"form-group"},[a("label",[t._v(t._s(t.$t("Table Title")))]),t._v(" "),a("el-input",{attrs:{type:"text",size:"small",placeholder:"Enter a title to identify your table"},model:{value:t.table.post_title,callback:function(e){t.$set(t.table,"post_title",e)},expression:"table.post_title"}})],1),t._v(" "),a("div",{staticClass:"form-group"},[a("label",[t._v(t._s(t.$t("Table Caption")))]),t._v(" "),a("el-input",{attrs:{size:"small",type:"text",placeholder:"Enter a table caption if you want to show"},model:{value:t.table.table_caption,callback:function(e){t.$set(t.table,"table_caption",e)},expression:"table.table_caption"}})],1),t._v(" "),a("div",{staticClass:"form-group"},[a("label",[t._v(t._s(t.$t("Table Description")))]),t._v(" "),a("wp_editor",{model:{value:t.table.post_content,callback:function(e){t.$set(t.table,"post_content",e)},expression:"table.post_content"}})],1)]),t._v(" "),a("div",{staticClass:"modal-footer"},[a("el-button",{attrs:{loading:t.btnLoading,type:"primary",size:"small"},on:{click:t.addTable}},[t._v("\n "+t._s(t.$t("Update"))+"\n ")])],1)])}),[],!1,null,null,null).exports;var Oe=a(4238),Me=a.n(Oe),Fe=a(2628),ze=a.n(Fe);function Be(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function Le(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}const Re={name:"table_home",components:{edit_table:Ne},data:function(){return{table_tabs:[],is_data_saving:!1,is_form_saving:!1,tableId:this.$route.params.table_id,config:null,table:{},doingAjax:!1,doingAjaxTest:!1,user_tab:this.$route.query.user_tab,editTableModalShow:!1,preview_url:"#",has_pro:window.ninja_table_admin.hasPro}},methods:{updateTableColumns:function(t){var e=this;this.doingAjax=!0;var a={action:"ninja_tables_ajax_actions",target_action:"update-table-settings",table_id:this.tableId,columns:this.config.columns};this.$post(a).success((function(a){e.$message({showClose:!0,message:a.message,type:"success"}),t(a)})).fail((function(t){})).always((function(){e.doingAjax=!1}))},getSettings:function(){var t=this;this.doingAjax=!0;var e={action:"ninja_tables_ajax_actions",target_action:"get-table-settings",table_id:this.tableId};this.$getJSON(e).then((function(e){"[object Object]"==Object.prototype.toString.call(e.columns)&&(e.columns=ze()(e.columns)),t.config=e,t.table=e.table,t.preview_url=e.preview_url})).fail((function(e){t.$message.error(e.responseJSON.data.message),e.responseJSON.data.route&&t.$router.push({name:e.responseJSON.data.route})})).always((function(){return t.doingAjax=!1}))},goToTab:function(t){this.user_tab=t,this.$router.push({name:"custom_tab",params:{table_id:this.tableId},query:{user_tab:t}})},size:Me(),each:X(),initTableTabs:function(){this.table_tabs=this.applyFilters("ninja_table_table_tabs",[{route:"data_items",title:"Table Rows"},{route:"data_columns",title:"Table Configuration"},{route:"design_studio",title:"Table Design"},{route:"table_editing",title:"Frontend Editing"},{route:"additional_css",title:"Custom CSS/JS"},{route:"import-export",title:"Import - Export"}])}},mounted:function(){var t=this;this.initTableTabs(),this.getSettings(),this.clipboard(),window.ninjaTableBus.$on("initManualSorting",(function(e,a,n){var i=function(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?Be(Object(a),!0).forEach((function(e){Le(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):Be(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}({action:"ninja_tables_init_sortable"},e);t.$post(i).success((function(t){return a(t)})).fail((function(t){return n(t)}))})),window.ninjaTableBus.$on("tableDoingAjax",(function(e){t.doingAjax=e})),window.ninjaTableBus.$off("updateTableColumns"),window.ninjaTableBus.$on("updateTableColumns",(function(e){t.updateTableColumns(e)})),window.ninjaTableBus.$emit("addedTable")}},He=Re;var We=a(1606),qe={insert:"head",singleton:!1};o()(We.Z,qe);We.Z.locals;const Ve=r(He,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[t.doingAjax?a("span",{directives:[{name:"loading",rawName:"v-loading",value:t.doingAjax,expression:"doingAjax"}],staticClass:"doingAJaxLoading"}):t._e(),t._v(" "),a("div",{staticClass:"settings_header"},[a("div",{staticStyle:{display:"inline-block","margin-top":"8px"}},[a("el-button",{staticClass:"ninja_mini",attrs:{size:"mini"},on:{click:function(e){t.editTableModalShow=!t.editTableModalShow}}},[a("i",{staticClass:"el-icon-edit action",attrs:{title:"Edit"}},[t._v(t._s(t.$t("Edit")))])]),t._v(" "),a("span",{staticClass:"section_title"},[t._v(t._s(t.table.post_title))]),t._v(" "),a("el-tooltip",{attrs:{effect:"dark",content:"Click to copy shortcode",title:"Click to copy shortcode",placement:"top"}},[a("code",{staticClass:"copy",attrs:{"data-clipboard-text":'[ninja_tables id="'+t.tableId+'"]'}},[a("i",{staticClass:"el-icon-document"}),t._v(' [ninja_tables id="'+t._s(t.tableId)+'"]\n ')])])],1),t._v(" "),a("span",{staticClass:"pull-right",staticStyle:{"margin-right":"20px"}},[a("router-link",{staticClass:"doc_link",attrs:{to:{name:"help"}}},[t._v(t._s(t.$t("Documentation")))]),t._v(" "),a("a",{attrs:{href:t.preview_url,target:"_blank"}},[a("el-button",{attrs:{size:"mini"}},[t._v(t._s(t.$t("Preview")))])],1),t._v(" "),t.has_pro?t._e():a("a",{attrs:{href:"https://wpmanageninja.com/downloads/ninja-tables-pro-add-on/?utm_source=ninja-tables&utm_medium=wp&utm_campaign=wp_plugin&utm_term=upgrade",target:"_blank"}},[a("el-button",{attrs:{type:"danger",size:"mini"}},[t._v(t._s(t.$t("Buy Pro")))])],1)],1)]),t._v(" "),a("fieldset",{class:[t.is_form_saving?"disabled":""],attrs:{disabled:t.is_form_saving}},[a("h2",{staticClass:"nav-tab-wrapper"},t._l(t.table_tabs,(function(e){return a("router-link",{key:e.route,class:["nav-tab"],attrs:{"active-class":"nav-tab-active",exact:"",to:{name:e.route,params:{table_id:t.tableId}}}},[t._v("\n "+t._s(e.title)+"\n ")])})),1),t._v(" "),t.config?a("router-view",{attrs:{config:t.config,getColumnSettings:t.getSettings}}):t._e()],1),t._v(" "),a("el-dialog",{attrs:{title:"Update Table Info",visible:t.editTableModalShow,top:"50px","append-to-body":!0},on:{"update:visible":function(e){t.editTableModalShow=e}}},[t.editTableModalShow?a("edit_table",{attrs:{table:t.table},on:{modal_close:function(e){t.editTableModalShow=!t.editTableModalShow}}}):t._e()],1)],1)}),[],!1,null,null,null).exports;function Ue(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function Ye(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?Ue(Object(a),!0).forEach((function(e){Je(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):Ue(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function Ze(t){return Ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ze(t)}function Je(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function Qe(){return Qe=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(t[n]=a[n])}return t},Qe.apply(this,arguments)}function Xe(t,e){if(null==t)return{};var a,n,i=function(t,e){if(null==t)return{};var a,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)a=o[n],e.indexOf(a)>=0||(i[a]=t[a]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)a=o[n],e.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(t,a)&&(i[a]=t[a])}return i}function Ge(t){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(t)}var Ke=Ge(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),ta=Ge(/Edge/i),ea=Ge(/firefox/i),aa=Ge(/safari/i)&&!Ge(/chrome/i)&&!Ge(/android/i),na=Ge(/iP(ad|od|hone)/i),ia=Ge(/chrome/i)&&Ge(/android/i),oa={capture:!1,passive:!1};function la(t,e,a){t.addEventListener(e,a,!Ke&&oa)}function sa(t,e,a){t.removeEventListener(e,a,!Ke&&oa)}function ra(t,e){if(e){if(">"===e[0]&&(e=e.substring(1)),t)try{if(t.matches)return t.matches(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e)}catch(t){return!1}return!1}}function ca(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function ua(t,e,a,n){if(t){a=a||document;do{if(null!=e&&(">"===e[0]?t.parentNode===a&&ra(t,e):ra(t,e))||n&&t===a)return t;if(t===a)break}while(t=ca(t))}return null}var da,pa=/\s+/g;function ma(t,e,a){if(t&&e)if(t.classList)t.classList[a?"add":"remove"](e);else{var n=(" "+t.className+" ").replace(pa," ").replace(" "+e+" "," ");t.className=(n+(a?" "+e:"")).replace(pa," ")}}function _a(t,e,a){var n=t&&t.style;if(n){if(void 0===a)return document.defaultView&&document.defaultView.getComputedStyle?a=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(a=t.currentStyle),void 0===e?a:a[e];e in n||-1!==e.indexOf("webkit")||(e="-webkit-"+e),n[e]=a+("string"==typeof a?"":"px")}}function ha(t,e){var a="";if("string"==typeof t)a=t;else do{var n=_a(t,"transform");n&&"none"!==n&&(a=n+" "+a)}while(!e&&(t=t.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(a)}function fa(t,e,a){if(t){var n=t.getElementsByTagName(e),i=0,o=n.length;if(a)for(;i<o;i++)a(n[i],i);return n}return[]}function va(){var t=document.scrollingElement;return t||document.documentElement}function ba(t,e,a,n,i){if(t.getBoundingClientRect||t===window){var o,l,s,r,c,u,d;if(t!==window&&t.parentNode&&t!==va()?(l=(o=t.getBoundingClientRect()).top,s=o.left,r=o.bottom,c=o.right,u=o.height,d=o.width):(l=0,s=0,r=window.innerHeight,c=window.innerWidth,u=window.innerHeight,d=window.innerWidth),(e||a)&&t!==window&&(i=i||t.parentNode,!Ke))do{if(i&&i.getBoundingClientRect&&("none"!==_a(i,"transform")||a&&"static"!==_a(i,"position"))){var p=i.getBoundingClientRect();l-=p.top+parseInt(_a(i,"border-top-width")),s-=p.left+parseInt(_a(i,"border-left-width")),r=l+o.height,c=s+o.width;break}}while(i=i.parentNode);if(n&&t!==window){var m=ha(i||t),_=m&&m.a,h=m&&m.d;m&&(r=(l/=h)+(u/=h),c=(s/=_)+(d/=_))}return{top:l,left:s,bottom:r,right:c,width:d,height:u}}}function ga(t,e,a){for(var n=Ca(t,!0),i=ba(t)[e];n;){var o=ba(n)[a];if(!("top"===a||"left"===a?i>=o:i<=o))return n;if(n===va())break;n=Ca(n,!1)}return!1}function ya(t,e,a,n){for(var i=0,o=0,l=t.children;o<l.length;){if("none"!==l[o].style.display&&l[o]!==En.ghost&&(n||l[o]!==En.dragged)&&ua(l[o],a.draggable,t,!1)){if(i===e)return l[o];i++}o++}return null}function wa(t,e){for(var a=t.lastElementChild;a&&(a===En.ghost||"none"===_a(a,"display")||e&&!ra(a,e));)a=a.previousElementSibling;return a||null}function xa(t,e){var a=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)"TEMPLATE"===t.nodeName.toUpperCase()||t===En.clone||e&&!ra(t,e)||a++;return a}function ka(t){var e=0,a=0,n=va();if(t)do{var i=ha(t),o=i.a,l=i.d;e+=t.scrollLeft*o,a+=t.scrollTop*l}while(t!==n&&(t=t.parentNode));return[e,a]}function Ca(t,e){if(!t||!t.getBoundingClientRect)return va();var a=t,n=!1;do{if(a.clientWidth<a.scrollWidth||a.clientHeight<a.scrollHeight){var i=_a(a);if(a.clientWidth<a.scrollWidth&&("auto"==i.overflowX||"scroll"==i.overflowX)||a.clientHeight<a.scrollHeight&&("auto"==i.overflowY||"scroll"==i.overflowY)){if(!a.getBoundingClientRect||a===document.body)return va();if(n||e)return a;n=!0}}}while(a=a.parentNode);return va()}function Sa(t,e){return Math.round(t.top)===Math.round(e.top)&&Math.round(t.left)===Math.round(e.left)&&Math.round(t.height)===Math.round(e.height)&&Math.round(t.width)===Math.round(e.width)}function ja(t,e){return function(){if(!da){var a=arguments,n=this;1===a.length?t.call(n,a[0]):t.apply(n,a),da=setTimeout((function(){da=void 0}),e)}}}function $a(t,e,a){t.scrollLeft+=e,t.scrollTop+=a}function Ta(t){var e=window.Polymer,a=window.jQuery||window.Zepto;return e&&e.dom?e.dom(t).cloneNode(!0):a?a(t).clone(!0)[0]:t.cloneNode(!0)}var Ea="Sortable"+(new Date).getTime();function Ia(){var t,e=[];return{captureAnimationState:function(){(e=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(t){if("none"!==_a(t,"display")&&t!==En.ghost){e.push({target:t,rect:ba(t)});var a=Ye({},e[e.length-1].rect);if(t.thisAnimationDuration){var n=ha(t,!0);n&&(a.top-=n.f,a.left-=n.e)}t.fromRect=a}}))},addAnimationState:function(t){e.push(t)},removeAnimationState:function(t){e.splice(function(t,e){for(var a in t)if(t.hasOwnProperty(a))for(var n in e)if(e.hasOwnProperty(n)&&e[n]===t[a][n])return Number(a);return-1}(e,{target:t}),1)},animateAll:function(a){var n=this;if(!this.options.animation)return clearTimeout(t),void("function"==typeof a&&a());var i=!1,o=0;e.forEach((function(t){var e=0,a=t.target,l=a.fromRect,s=ba(a),r=a.prevFromRect,c=a.prevToRect,u=t.rect,d=ha(a,!0);d&&(s.top-=d.f,s.left-=d.e),a.toRect=s,a.thisAnimationDuration&&Sa(r,s)&&!Sa(l,s)&&(u.top-s.top)/(u.left-s.left)==(l.top-s.top)/(l.left-s.left)&&(e=function(t,e,a,n){return Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))/Math.sqrt(Math.pow(e.top-a.top,2)+Math.pow(e.left-a.left,2))*n.animation}(u,r,c,n.options)),Sa(s,l)||(a.prevFromRect=l,a.prevToRect=s,e||(e=n.options.animation),n.animate(a,u,s,e)),e&&(i=!0,o=Math.max(o,e),clearTimeout(a.animationResetTimer),a.animationResetTimer=setTimeout((function(){a.animationTime=0,a.prevFromRect=null,a.fromRect=null,a.prevToRect=null,a.thisAnimationDuration=null}),e),a.thisAnimationDuration=e)})),clearTimeout(t),i?t=setTimeout((function(){"function"==typeof a&&a()}),o):"function"==typeof a&&a(),e=[]},animate:function(t,e,a,n){if(n){_a(t,"transition",""),_a(t,"transform","");var i=ha(this.el),o=i&&i.a,l=i&&i.d,s=(e.left-a.left)/(o||1),r=(e.top-a.top)/(l||1);t.animatingX=!!s,t.animatingY=!!r,_a(t,"transform","translate3d("+s+"px,"+r+"px,0)"),this.forRepaintDummy=function(t){return t.offsetWidth}(t),_a(t,"transition","transform "+n+"ms"+(this.options.easing?" "+this.options.easing:"")),_a(t,"transform","translate3d(0,0,0)"),"number"==typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout((function(){_a(t,"transition",""),_a(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1}),n)}}}}var Da=[],Pa={initializeByDefault:!0},Aa={mount:function(t){for(var e in Pa)Pa.hasOwnProperty(e)&&!(e in t)&&(t[e]=Pa[e]);Da.forEach((function(e){if(e.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")})),Da.push(t)},pluginEvent:function(t,e,a){var n=this;this.eventCanceled=!1,a.cancel=function(){n.eventCanceled=!0};var i=t+"Global";Da.forEach((function(n){e[n.pluginName]&&(e[n.pluginName][i]&&e[n.pluginName][i](Ye({sortable:e},a)),e.options[n.pluginName]&&e[n.pluginName][t]&&e[n.pluginName][t](Ye({sortable:e},a)))}))},initializePlugins:function(t,e,a,n){for(var i in Da.forEach((function(n){var i=n.pluginName;if(t.options[i]||n.initializeByDefault){var o=new n(t,e,t.options);o.sortable=t,o.options=t.options,t[i]=o,Qe(a,o.defaults)}})),t.options)if(t.options.hasOwnProperty(i)){var o=this.modifyOption(t,i,t.options[i]);void 0!==o&&(t.options[i]=o)}},getEventProperties:function(t,e){var a={};return Da.forEach((function(n){"function"==typeof n.eventProperties&&Qe(a,n.eventProperties.call(e[n.pluginName],t))})),a},modifyOption:function(t,e,a){var n;return Da.forEach((function(i){t[i.pluginName]&&i.optionListeners&&"function"==typeof i.optionListeners[e]&&(n=i.optionListeners[e].call(t[i.pluginName],a))})),n}};function Na(t){var e=t.sortable,a=t.rootEl,n=t.name,i=t.targetEl,o=t.cloneEl,l=t.toEl,s=t.fromEl,r=t.oldIndex,c=t.newIndex,u=t.oldDraggableIndex,d=t.newDraggableIndex,p=t.originalEvent,m=t.putSortable,_=t.extraEventProperties;if(e=e||a&&a[Ea]){var h,f=e.options,v="on"+n.charAt(0).toUpperCase()+n.substr(1);!window.CustomEvent||Ke||ta?(h=document.createEvent("Event")).initEvent(n,!0,!0):h=new CustomEvent(n,{bubbles:!0,cancelable:!0}),h.to=l||a,h.from=s||a,h.item=i||a,h.clone=o,h.oldIndex=r,h.newIndex=c,h.oldDraggableIndex=u,h.newDraggableIndex=d,h.originalEvent=p,h.pullMode=m?m.lastPutMode:void 0;var b=Ye(Ye({},_),Aa.getEventProperties(n,e));for(var g in b)h[g]=b[g];a&&a.dispatchEvent(h),f[v]&&f[v].call(e,h)}}var Oa=["evt"],Ma=function(t,e){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=a.evt,i=Xe(a,Oa);Aa.pluginEvent.bind(En)(t,e,Ye({dragEl:za,parentEl:Ba,ghostEl:La,rootEl:Ra,nextEl:Ha,lastDownEl:Wa,cloneEl:qa,cloneHidden:Va,dragStarted:on,putSortable:Xa,activeSortable:En.active,originalEvent:n,oldIndex:Ua,oldDraggableIndex:Za,newIndex:Ya,newDraggableIndex:Ja,hideGhostForTarget:Sn,unhideGhostForTarget:jn,cloneNowHidden:function(){Va=!0},cloneNowShown:function(){Va=!1},dispatchSortableEvent:function(t){Fa({sortable:e,name:t,originalEvent:n})}},i))};function Fa(t){Na(Ye({putSortable:Xa,cloneEl:qa,targetEl:za,rootEl:Ra,oldIndex:Ua,oldDraggableIndex:Za,newIndex:Ya,newDraggableIndex:Ja},t))}var za,Ba,La,Ra,Ha,Wa,qa,Va,Ua,Ya,Za,Ja,Qa,Xa,Ga,Ka,tn,en,an,nn,on,ln,sn,rn,cn,un=!1,dn=!1,pn=[],mn=!1,_n=!1,hn=[],fn=!1,vn=[],bn="undefined"!=typeof document,gn=na,yn=ta||Ke?"cssFloat":"float",wn=bn&&!ia&&!na&&"draggable"in document.createElement("div"),xn=function(){if(bn){if(Ke)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),kn=function(t,e){var a=_a(t),n=parseInt(a.width)-parseInt(a.paddingLeft)-parseInt(a.paddingRight)-parseInt(a.borderLeftWidth)-parseInt(a.borderRightWidth),i=ya(t,0,e),o=ya(t,1,e),l=i&&_a(i),s=o&&_a(o),r=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+ba(i).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+ba(o).width;if("flex"===a.display)return"column"===a.flexDirection||"column-reverse"===a.flexDirection?"vertical":"horizontal";if("grid"===a.display)return a.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(i&&l.float&&"none"!==l.float){var u="left"===l.float?"left":"right";return!o||"both"!==s.clear&&s.clear!==u?"horizontal":"vertical"}return i&&("block"===l.display||"flex"===l.display||"table"===l.display||"grid"===l.display||r>=n&&"none"===a[yn]||o&&"none"===a[yn]&&r+c>n)?"vertical":"horizontal"},Cn=function(t){function e(t,a){return function(n,i,o,l){var s=n.options.group.name&&i.options.group.name&&n.options.group.name===i.options.group.name;if(null==t&&(a||s))return!0;if(null==t||!1===t)return!1;if(a&&"clone"===t)return t;if("function"==typeof t)return e(t(n,i,o,l),a)(n,i,o,l);var r=(a?n:i).options.group.name;return!0===t||"string"==typeof t&&t===r||t.join&&t.indexOf(r)>-1}}var a={},n=t.group;n&&"object"==Ze(n)||(n={name:n}),a.name=n.name,a.checkPull=e(n.pull,!0),a.checkPut=e(n.put),a.revertClone=n.revertClone,t.group=a},Sn=function(){!xn&&La&&_a(La,"display","none")},jn=function(){!xn&&La&&_a(La,"display","")};bn&&!ia&&document.addEventListener("click",(function(t){if(dn)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),dn=!1,!1}),!0);var $n=function(t){if(za){t=t.touches?t.touches[0]:t;var e=(i=t.clientX,o=t.clientY,pn.some((function(t){var e=t[Ea].options.emptyInsertThreshold;if(e&&!wa(t)){var a=ba(t),n=i>=a.left-e&&i<=a.right+e,s=o>=a.top-e&&o<=a.bottom+e;return n&&s?l=t:void 0}})),l);if(e){var a={};for(var n in t)t.hasOwnProperty(n)&&(a[n]=t[n]);a.target=a.rootEl=e,a.preventDefault=void 0,a.stopPropagation=void 0,e[Ea]._onDragOver(a)}}var i,o,l},Tn=function(t){za&&za.parentNode[Ea]._isOutsideThisEl(t.target)};function En(t,e){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=e=Qe({},e),t[Ea]=this;var a={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return kn(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,e){t.setData("Text",e.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==En.supportPointer&&"PointerEvent"in window&&!aa,emptyInsertThreshold:5};for(var n in Aa.initializePlugins(this,t,a),a)!(n in e)&&(e[n]=a[n]);for(var i in Cn(e),this)"_"===i.charAt(0)&&"function"==typeof this[i]&&(this[i]=this[i].bind(this));this.nativeDraggable=!e.forceFallback&&wn,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?la(t,"pointerdown",this._onTapStart):(la(t,"mousedown",this._onTapStart),la(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(la(t,"dragover",this),la(t,"dragenter",this)),pn.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),Qe(this,Ia())}function In(t,e,a,n,i,o,l,s){var r,c,u=t[Ea],d=u.options.onMove;return!window.CustomEvent||Ke||ta?(r=document.createEvent("Event")).initEvent("move",!0,!0):r=new CustomEvent("move",{bubbles:!0,cancelable:!0}),r.to=e,r.from=t,r.dragged=a,r.draggedRect=n,r.related=i||e,r.relatedRect=o||ba(e),r.willInsertAfter=s,r.originalEvent=l,t.dispatchEvent(r),d&&(c=d.call(u,r,l)),c}function Dn(t){t.draggable=!1}function Pn(){fn=!1}function An(t){for(var e=t.tagName+t.className+t.src+t.href+t.textContent,a=e.length,n=0;a--;)n+=e.charCodeAt(a);return n.toString(36)}function Nn(t){return setTimeout(t,0)}function On(t){return clearTimeout(t)}En.prototype={constructor:En,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(ln=null)},_getDirection:function(t,e){return"function"==typeof this.options.direction?this.options.direction.call(this,t,e,za):this.options.direction},_onTapStart:function(t){if(t.cancelable){var e=this,a=this.el,n=this.options,i=n.preventOnFilter,o=t.type,l=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,s=(l||t).target,r=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,c=n.filter;if(function(t){vn.length=0;var e=t.getElementsByTagName("input"),a=e.length;for(;a--;){var n=e[a];n.checked&&vn.push(n)}}(a),!za&&!(/mousedown|pointerdown/.test(o)&&0!==t.button||n.disabled)&&!r.isContentEditable&&(this.nativeDraggable||!aa||!s||"SELECT"!==s.tagName.toUpperCase())&&!((s=ua(s,n.draggable,a,!1))&&s.animated||Wa===s)){if(Ua=xa(s),Za=xa(s,n.draggable),"function"==typeof c){if(c.call(this,t,s,this))return Fa({sortable:e,rootEl:r,name:"filter",targetEl:s,toEl:a,fromEl:a}),Ma("filter",e,{evt:t}),void(i&&t.cancelable&&t.preventDefault())}else if(c&&(c=c.split(",").some((function(n){if(n=ua(r,n.trim(),a,!1))return Fa({sortable:e,rootEl:n,name:"filter",targetEl:s,fromEl:a,toEl:a}),Ma("filter",e,{evt:t}),!0}))))return void(i&&t.cancelable&&t.preventDefault());n.handle&&!ua(r,n.handle,a,!1)||this._prepareDragStart(t,l,s)}}},_prepareDragStart:function(t,e,a){var n,i=this,o=i.el,l=i.options,s=o.ownerDocument;if(a&&!za&&a.parentNode===o){var r=ba(a);if(Ra=o,Ba=(za=a).parentNode,Ha=za.nextSibling,Wa=a,Qa=l.group,En.dragged=za,Ga={target:za,clientX:(e||t).clientX,clientY:(e||t).clientY},an=Ga.clientX-r.left,nn=Ga.clientY-r.top,this._lastX=(e||t).clientX,this._lastY=(e||t).clientY,za.style["will-change"]="all",n=function(){Ma("delayEnded",i,{evt:t}),En.eventCanceled?i._onDrop():(i._disableDelayedDragEvents(),!ea&&i.nativeDraggable&&(za.draggable=!0),i._triggerDragStart(t,e),Fa({sortable:i,name:"choose",originalEvent:t}),ma(za,l.chosenClass,!0))},l.ignore.split(",").forEach((function(t){fa(za,t.trim(),Dn)})),la(s,"dragover",$n),la(s,"mousemove",$n),la(s,"touchmove",$n),la(s,"mouseup",i._onDrop),la(s,"touchend",i._onDrop),la(s,"touchcancel",i._onDrop),ea&&this.nativeDraggable&&(this.options.touchStartThreshold=4,za.draggable=!0),Ma("delayStart",this,{evt:t}),!l.delay||l.delayOnTouchOnly&&!e||this.nativeDraggable&&(ta||Ke))n();else{if(En.eventCanceled)return void this._onDrop();la(s,"mouseup",i._disableDelayedDrag),la(s,"touchend",i._disableDelayedDrag),la(s,"touchcancel",i._disableDelayedDrag),la(s,"mousemove",i._delayedDragTouchMoveHandler),la(s,"touchmove",i._delayedDragTouchMoveHandler),l.supportPointer&&la(s,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(n,l.delay)}}},_delayedDragTouchMoveHandler:function(t){var e=t.touches?t.touches[0]:t;Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){za&&Dn(za),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;sa(t,"mouseup",this._disableDelayedDrag),sa(t,"touchend",this._disableDelayedDrag),sa(t,"touchcancel",this._disableDelayedDrag),sa(t,"mousemove",this._delayedDragTouchMoveHandler),sa(t,"touchmove",this._delayedDragTouchMoveHandler),sa(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,e){e=e||"touch"==t.pointerType&&t,!this.nativeDraggable||e?this.options.supportPointer?la(document,"pointermove",this._onTouchMove):la(document,e?"touchmove":"mousemove",this._onTouchMove):(la(za,"dragend",this),la(Ra,"dragstart",this._onDragStart));try{document.selection?Nn((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(t,e){if(un=!1,Ra&&za){Ma("dragStarted",this,{evt:e}),this.nativeDraggable&&la(document,"dragover",Tn);var a=this.options;!t&&ma(za,a.dragClass,!1),ma(za,a.ghostClass,!0),En.active=this,t&&this._appendGhost(),Fa({sortable:this,name:"start",originalEvent:e})}else this._nulling()},_emulateDragOver:function(){if(Ka){this._lastX=Ka.clientX,this._lastY=Ka.clientY,Sn();for(var t=document.elementFromPoint(Ka.clientX,Ka.clientY),e=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(Ka.clientX,Ka.clientY))!==e;)e=t;if(za.parentNode[Ea]._isOutsideThisEl(t),e)do{if(e[Ea]){if(e[Ea]._onDragOver({clientX:Ka.clientX,clientY:Ka.clientY,target:t,rootEl:e})&&!this.options.dragoverBubble)break}t=e}while(e=e.parentNode);jn()}},_onTouchMove:function(t){if(Ga){var e=this.options,a=e.fallbackTolerance,n=e.fallbackOffset,i=t.touches?t.touches[0]:t,o=La&&ha(La,!0),l=La&&o&&o.a,s=La&&o&&o.d,r=gn&&cn&&ka(cn),c=(i.clientX-Ga.clientX+n.x)/(l||1)+(r?r[0]-hn[0]:0)/(l||1),u=(i.clientY-Ga.clientY+n.y)/(s||1)+(r?r[1]-hn[1]:0)/(s||1);if(!En.active&&!un){if(a&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))<a)return;this._onDragStart(t,!0)}if(La){o?(o.e+=c-(tn||0),o.f+=u-(en||0)):o={a:1,b:0,c:0,d:1,e:c,f:u};var d="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");_a(La,"webkitTransform",d),_a(La,"mozTransform",d),_a(La,"msTransform",d),_a(La,"transform",d),tn=c,en=u,Ka=i}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!La){var t=this.options.fallbackOnBody?document.body:Ra,e=ba(za,!0,gn,!0,t),a=this.options;if(gn){for(cn=t;"static"===_a(cn,"position")&&"none"===_a(cn,"transform")&&cn!==document;)cn=cn.parentNode;cn!==document.body&&cn!==document.documentElement?(cn===document&&(cn=va()),e.top+=cn.scrollTop,e.left+=cn.scrollLeft):cn=va(),hn=ka(cn)}ma(La=za.cloneNode(!0),a.ghostClass,!1),ma(La,a.fallbackClass,!0),ma(La,a.dragClass,!0),_a(La,"transition",""),_a(La,"transform",""),_a(La,"box-sizing","border-box"),_a(La,"margin",0),_a(La,"top",e.top),_a(La,"left",e.left),_a(La,"width",e.width),_a(La,"height",e.height),_a(La,"opacity","0.8"),_a(La,"position",gn?"absolute":"fixed"),_a(La,"zIndex","100000"),_a(La,"pointerEvents","none"),En.ghost=La,t.appendChild(La),_a(La,"transform-origin",an/parseInt(La.style.width)*100+"% "+nn/parseInt(La.style.height)*100+"%")}},_onDragStart:function(t,e){var a=this,n=t.dataTransfer,i=a.options;Ma("dragStart",this,{evt:t}),En.eventCanceled?this._onDrop():(Ma("setupClone",this),En.eventCanceled||((qa=Ta(za)).removeAttribute("id"),qa.draggable=!1,qa.style["will-change"]="",this._hideClone(),ma(qa,this.options.chosenClass,!1),En.clone=qa),a.cloneId=Nn((function(){Ma("clone",a),En.eventCanceled||(a.options.removeCloneOnHide||Ra.insertBefore(qa,za),a._hideClone(),Fa({sortable:a,name:"clone"}))})),!e&&ma(za,i.dragClass,!0),e?(dn=!0,a._loopId=setInterval(a._emulateDragOver,50)):(sa(document,"mouseup",a._onDrop),sa(document,"touchend",a._onDrop),sa(document,"touchcancel",a._onDrop),n&&(n.effectAllowed="move",i.setData&&i.setData.call(a,n,za)),la(document,"drop",a),_a(za,"transform","translateZ(0)")),un=!0,a._dragStartId=Nn(a._dragStarted.bind(a,e,t)),la(document,"selectstart",a),on=!0,aa&&_a(document.body,"user-select","none"))},_onDragOver:function(t){var e,a,n,i,o=this.el,l=t.target,s=this.options,r=s.group,c=En.active,u=Qa===r,d=s.sort,p=Xa||c,m=this,_=!1;if(!fn){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),l=ua(l,s.draggable,o,!0),E("dragOver"),En.eventCanceled)return _;if(za.contains(t.target)||l.animated&&l.animatingX&&l.animatingY||m._ignoreWhileAnimating===l)return D(!1);if(dn=!1,c&&!s.disabled&&(u?d||(n=Ba!==Ra):Xa===this||(this.lastPutMode=Qa.checkPull(this,c,za,t))&&r.checkPut(this,c,za,t))){if(i="vertical"===this._getDirection(t,l),e=ba(za),E("dragOverValid"),En.eventCanceled)return _;if(n)return Ba=Ra,I(),this._hideClone(),E("revert"),En.eventCanceled||(Ha?Ra.insertBefore(za,Ha):Ra.appendChild(za)),D(!0);var h=wa(o,s.draggable);if(!h||function(t,e,a){var n=ba(wa(a.el,a.options.draggable)),i=10;return e?t.clientX>n.right+i||t.clientX<=n.right&&t.clientY>n.bottom&&t.clientX>=n.left:t.clientX>n.right&&t.clientY>n.top||t.clientX<=n.right&&t.clientY>n.bottom+i}(t,i,this)&&!h.animated){if(h===za)return D(!1);if(h&&o===t.target&&(l=h),l&&(a=ba(l)),!1!==In(Ra,o,za,e,l,a,t,!!l))return I(),h&&h.nextSibling?o.insertBefore(za,h.nextSibling):o.appendChild(za),Ba=o,P(),D(!0)}else if(h&&function(t,e,a){var n=ba(ya(a.el,0,a.options,!0)),i=10;return e?t.clientX<n.left-i||t.clientY<n.top&&t.clientX<n.right:t.clientY<n.top-i||t.clientY<n.bottom&&t.clientX<n.left}(t,i,this)){var f=ya(o,0,s,!0);if(f===za)return D(!1);if(a=ba(l=f),!1!==In(Ra,o,za,e,l,a,t,!1))return I(),o.insertBefore(za,f),Ba=o,P(),D(!0)}else if(l.parentNode===o){a=ba(l);var v,b,g,y=za.parentNode!==o,w=!function(t,e,a){var n=a?t.left:t.top,i=a?t.right:t.bottom,o=a?t.width:t.height,l=a?e.left:e.top,s=a?e.right:e.bottom,r=a?e.width:e.height;return n===l||i===s||n+o/2===l+r/2}(za.animated&&za.toRect||e,l.animated&&l.toRect||a,i),x=i?"top":"left",k=ga(l,"top","top")||ga(za,"top","top"),C=k?k.scrollTop:void 0;if(ln!==l&&(b=a[x],mn=!1,_n=!w&&s.invertSwap||y),v=function(t,e,a,n,i,o,l,s){var r=n?t.clientY:t.clientX,c=n?a.height:a.width,u=n?a.top:a.left,d=n?a.bottom:a.right,p=!1;if(!l)if(s&&rn<c*i){if(!mn&&(1===sn?r>u+c*o/2:r<d-c*o/2)&&(mn=!0),mn)p=!0;else if(1===sn?r<u+rn:r>d-rn)return-sn}else if(r>u+c*(1-i)/2&&r<d-c*(1-i)/2)return function(t){return xa(za)<xa(t)?1:-1}(e);if((p=p||l)&&(r<u+c*o/2||r>d-c*o/2))return r>u+c/2?1:-1;return 0}(t,l,a,i,w?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,_n,ln===l),0!==v){var S=xa(za);do{S-=v,g=Ba.children[S]}while(g&&("none"===_a(g,"display")||g===La))}if(0===v||g===l)return D(!1);ln=l,sn=v;var j=l.nextElementSibling,$=!1,T=In(Ra,o,za,e,l,a,t,$=1===v);if(!1!==T)return 1!==T&&-1!==T||($=1===T),fn=!0,setTimeout(Pn,30),I(),$&&!j?o.appendChild(za):l.parentNode.insertBefore(za,$?j:l),k&&$a(k,0,C-k.scrollTop),Ba=za.parentNode,void 0===b||_n||(rn=Math.abs(b-ba(l)[x])),P(),D(!0)}if(o.contains(za))return D(!1)}return!1}function E(s,r){Ma(s,m,Ye({evt:t,isOwner:u,axis:i?"vertical":"horizontal",revert:n,dragRect:e,targetRect:a,canSort:d,fromSortable:p,target:l,completed:D,onMove:function(a,n){return In(Ra,o,za,e,a,ba(a),t,n)},changed:P},r))}function I(){E("dragOverAnimationCapture"),m.captureAnimationState(),m!==p&&p.captureAnimationState()}function D(e){return E("dragOverCompleted",{insertion:e}),e&&(u?c._hideClone():c._showClone(m),m!==p&&(ma(za,Xa?Xa.options.ghostClass:c.options.ghostClass,!1),ma(za,s.ghostClass,!0)),Xa!==m&&m!==En.active?Xa=m:m===En.active&&Xa&&(Xa=null),p===m&&(m._ignoreWhileAnimating=l),m.animateAll((function(){E("dragOverAnimationComplete"),m._ignoreWhileAnimating=null})),m!==p&&(p.animateAll(),p._ignoreWhileAnimating=null)),(l===za&&!za.animated||l===o&&!l.animated)&&(ln=null),s.dragoverBubble||t.rootEl||l===document||(za.parentNode[Ea]._isOutsideThisEl(t.target),!e&&$n(t)),!s.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),_=!0}function P(){Ya=xa(za),Ja=xa(za,s.draggable),Fa({sortable:m,name:"change",toEl:o,newIndex:Ya,newDraggableIndex:Ja,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){sa(document,"mousemove",this._onTouchMove),sa(document,"touchmove",this._onTouchMove),sa(document,"pointermove",this._onTouchMove),sa(document,"dragover",$n),sa(document,"mousemove",$n),sa(document,"touchmove",$n)},_offUpEvents:function(){var t=this.el.ownerDocument;sa(t,"mouseup",this._onDrop),sa(t,"touchend",this._onDrop),sa(t,"pointerup",this._onDrop),sa(t,"touchcancel",this._onDrop),sa(document,"selectstart",this)},_onDrop:function(t){var e=this.el,a=this.options;Ya=xa(za),Ja=xa(za,a.draggable),Ma("drop",this,{evt:t}),Ba=za&&za.parentNode,Ya=xa(za),Ja=xa(za,a.draggable),En.eventCanceled||(un=!1,_n=!1,mn=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),On(this.cloneId),On(this._dragStartId),this.nativeDraggable&&(sa(document,"drop",this),sa(e,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),aa&&_a(document.body,"user-select",""),_a(za,"transform",""),t&&(on&&(t.cancelable&&t.preventDefault(),!a.dropBubble&&t.stopPropagation()),La&&La.parentNode&&La.parentNode.removeChild(La),(Ra===Ba||Xa&&"clone"!==Xa.lastPutMode)&&qa&&qa.parentNode&&qa.parentNode.removeChild(qa),za&&(this.nativeDraggable&&sa(za,"dragend",this),Dn(za),za.style["will-change"]="",on&&!un&&ma(za,Xa?Xa.options.ghostClass:this.options.ghostClass,!1),ma(za,this.options.chosenClass,!1),Fa({sortable:this,name:"unchoose",toEl:Ba,newIndex:null,newDraggableIndex:null,originalEvent:t}),Ra!==Ba?(Ya>=0&&(Fa({rootEl:Ba,name:"add",toEl:Ba,fromEl:Ra,originalEvent:t}),Fa({sortable:this,name:"remove",toEl:Ba,originalEvent:t}),Fa({rootEl:Ba,name:"sort",toEl:Ba,fromEl:Ra,originalEvent:t}),Fa({sortable:this,name:"sort",toEl:Ba,originalEvent:t})),Xa&&Xa.save()):Ya!==Ua&&Ya>=0&&(Fa({sortable:this,name:"update",toEl:Ba,originalEvent:t}),Fa({sortable:this,name:"sort",toEl:Ba,originalEvent:t})),En.active&&(null!=Ya&&-1!==Ya||(Ya=Ua,Ja=Za),Fa({sortable:this,name:"end",toEl:Ba,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){Ma("nulling",this),Ra=za=Ba=La=Ha=qa=Wa=Va=Ga=Ka=on=Ya=Ja=Ua=Za=ln=sn=Xa=Qa=En.dragged=En.ghost=En.clone=En.active=null,vn.forEach((function(t){t.checked=!0})),vn.length=tn=en=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":za&&(this._onDragOver(t),function(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move");t.cancelable&&t.preventDefault()}(t));break;case"selectstart":t.preventDefault()}},toArray:function(){for(var t,e=[],a=this.el.children,n=0,i=a.length,o=this.options;n<i;n++)ua(t=a[n],o.draggable,this.el,!1)&&e.push(t.getAttribute(o.dataIdAttr)||An(t));return e},sort:function(t,e){var a={},n=this.el;this.toArray().forEach((function(t,e){var i=n.children[e];ua(i,this.options.draggable,n,!1)&&(a[t]=i)}),this),e&&this.captureAnimationState(),t.forEach((function(t){a[t]&&(n.removeChild(a[t]),n.appendChild(a[t]))})),e&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,e){return ua(t,e||this.options.draggable,this.el,!1)},option:function(t,e){var a=this.options;if(void 0===e)return a[t];var n=Aa.modifyOption(this,t,e);a[t]=void 0!==n?n:e,"group"===t&&Cn(a)},destroy:function(){Ma("destroy",this);var t=this.el;t[Ea]=null,sa(t,"mousedown",this._onTapStart),sa(t,"touchstart",this._onTapStart),sa(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(sa(t,"dragover",this),sa(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),(function(t){t.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),pn.splice(pn.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!Va){if(Ma("hideClone",this),En.eventCanceled)return;_a(qa,"display","none"),this.options.removeCloneOnHide&&qa.parentNode&&qa.parentNode.removeChild(qa),Va=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(Va){if(Ma("showClone",this),En.eventCanceled)return;za.parentNode!=Ra||this.options.group.revertClone?Ha?Ra.insertBefore(qa,Ha):Ra.appendChild(qa):Ra.insertBefore(qa,za),this.options.group.revertClone&&this.animate(za,qa),_a(qa,"display",""),Va=!1}}else this._hideClone()}},bn&&la(document,"touchmove",(function(t){(En.active||un)&&t.cancelable&&t.preventDefault()})),En.utils={on:la,off:sa,css:_a,find:fa,is:function(t,e){return!!ua(t,e,t,!1)},extend:function(t,e){if(t&&e)for(var a in e)e.hasOwnProperty(a)&&(t[a]=e[a]);return t},throttle:ja,closest:ua,toggleClass:ma,clone:Ta,index:xa,nextTick:Nn,cancelNextTick:On,detectDirection:kn,getChild:ya},En.get=function(t){return t[Ea]},En.mount=function(){for(var t=arguments.length,e=new Array(t),a=0;a<t;a++)e[a]=arguments[a];e[0].constructor===Array&&(e=e[0]),e.forEach((function(t){if(!t.prototype||!t.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));t.utils&&(En.utils=Ye(Ye({},En.utils),t.utils)),Aa.mount(t)}))},En.create=function(t,e){return new En(t,e)},En.version="1.15.0";var Mn,Fn,zn,Bn,Ln,Rn,Hn=[],Wn=!1;function qn(){Hn.forEach((function(t){clearInterval(t.pid)})),Hn=[]}function Vn(){clearInterval(Rn)}var Un=ja((function(t,e,a,n){if(e.scroll){var i,o=(t.touches?t.touches[0]:t).clientX,l=(t.touches?t.touches[0]:t).clientY,s=e.scrollSensitivity,r=e.scrollSpeed,c=va(),u=!1;Fn!==a&&(Fn=a,qn(),Mn=e.scroll,i=e.scrollFn,!0===Mn&&(Mn=Ca(a,!0)));var d=0,p=Mn;do{var m=p,_=ba(m),h=_.top,f=_.bottom,v=_.left,b=_.right,g=_.width,y=_.height,w=void 0,x=void 0,k=m.scrollWidth,C=m.scrollHeight,S=_a(m),j=m.scrollLeft,$=m.scrollTop;m===c?(w=g<k&&("auto"===S.overflowX||"scroll"===S.overflowX||"visible"===S.overflowX),x=y<C&&("auto"===S.overflowY||"scroll"===S.overflowY||"visible"===S.overflowY)):(w=g<k&&("auto"===S.overflowX||"scroll"===S.overflowX),x=y<C&&("auto"===S.overflowY||"scroll"===S.overflowY));var T=w&&(Math.abs(b-o)<=s&&j+g<k)-(Math.abs(v-o)<=s&&!!j),E=x&&(Math.abs(f-l)<=s&&$+y<C)-(Math.abs(h-l)<=s&&!!$);if(!Hn[d])for(var I=0;I<=d;I++)Hn[I]||(Hn[I]={});Hn[d].vx==T&&Hn[d].vy==E&&Hn[d].el===m||(Hn[d].el=m,Hn[d].vx=T,Hn[d].vy=E,clearInterval(Hn[d].pid),0==T&&0==E||(u=!0,Hn[d].pid=setInterval(function(){n&&0===this.layer&&En.active._onTouchMove(Ln);var e=Hn[this.layer].vy?Hn[this.layer].vy*r:0,a=Hn[this.layer].vx?Hn[this.layer].vx*r:0;"function"==typeof i&&"continue"!==i.call(En.dragged.parentNode[Ea],a,e,t,Ln,Hn[this.layer].el)||$a(Hn[this.layer].el,a,e)}.bind({layer:d}),24))),d++}while(e.bubbleScroll&&p!==c&&(p=Ca(p,!1)));Wn=u}}),30),Yn=function(t){var e=t.originalEvent,a=t.putSortable,n=t.dragEl,i=t.activeSortable,o=t.dispatchSortableEvent,l=t.hideGhostForTarget,s=t.unhideGhostForTarget;if(e){var r=a||i;l();var c=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e,u=document.elementFromPoint(c.clientX,c.clientY);s(),r&&!r.el.contains(u)&&(o("spill"),this.onSpill({dragEl:n,putSortable:a}))}};function Zn(){}function Jn(){}Zn.prototype={startIndex:null,dragStart:function(t){var e=t.oldDraggableIndex;this.startIndex=e},onSpill:function(t){var e=t.dragEl,a=t.putSortable;this.sortable.captureAnimationState(),a&&a.captureAnimationState();var n=ya(this.sortable.el,this.startIndex,this.options);n?this.sortable.el.insertBefore(e,n):this.sortable.el.appendChild(e),this.sortable.animateAll(),a&&a.animateAll()},drop:Yn},Qe(Zn,{pluginName:"revertOnSpill"}),Jn.prototype={onSpill:function(t){var e=t.dragEl,a=t.putSortable||this.sortable;a.captureAnimationState(),e.parentNode&&e.parentNode.removeChild(e),a.animateAll()},drop:Yn},Qe(Jn,{pluginName:"removeOnSpill"});En.mount(new function(){function t(){for(var t in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this))}return t.prototype={dragStarted:function(t){var e=t.originalEvent;this.sortable.nativeDraggable?la(document,"dragover",this._handleAutoScroll):this.options.supportPointer?la(document,"pointermove",this._handleFallbackAutoScroll):e.touches?la(document,"touchmove",this._handleFallbackAutoScroll):la(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var e=t.originalEvent;this.options.dragOverBubble||e.rootEl||this._handleAutoScroll(e)},drop:function(){this.sortable.nativeDraggable?sa(document,"dragover",this._handleAutoScroll):(sa(document,"pointermove",this._handleFallbackAutoScroll),sa(document,"touchmove",this._handleFallbackAutoScroll),sa(document,"mousemove",this._handleFallbackAutoScroll)),Vn(),qn(),clearTimeout(da),da=void 0},nulling:function(){Ln=Fn=Mn=Wn=Rn=zn=Bn=null,Hn.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,e){var a=this,n=(t.touches?t.touches[0]:t).clientX,i=(t.touches?t.touches[0]:t).clientY,o=document.elementFromPoint(n,i);if(Ln=t,e||this.options.forceAutoScrollFallback||ta||Ke||aa){Un(t,this.options,o,e);var l=Ca(o,!0);!Wn||Rn&&n===zn&&i===Bn||(Rn&&Vn(),Rn=setInterval((function(){var o=Ca(document.elementFromPoint(n,i),!0);o!==l&&(l=o,qn()),Un(t,a.options,o,e)}),10),zn=n,Bn=i)}else{if(!this.options.bubbleScroll||Ca(o,!0)===va())return void qn();Un(t,this.options,Ca(o,!1),!1)}}},Qe(t,{pluginName:"scroll",initializeByDefault:!0})}),En.mount(Jn,Zn);const Qn=En;var Xn=a(998),Gn=a.n(Xn),Kn=a(1865),ti=a.n(Kn);const ei=r({name:"maybe_multi_select",props:["newColumn","column","size"],data:function(){return{appReady:!1}},methods:{getFromSelectionStr:function(t){return t?t.split(/\r?\n/):[]},maybeBlur:function(t){console.log(t),t||this.$emit("blur")}},mounted:function(){if("yes"==this.column.isMultiple){var t=this.newColumn[this.column.key];t?"string"==typeof t&&(this.newColumn[this.column.key]=[t]):this.newColumn[this.column.key]=[]}this.appReady=!0}},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.appReady?a("div",{staticClass:"maybe_nt_multi_select",staticStyle:{"max-width":"90%"}},["yes"==t.column.isMultiple?[a("el-select",{staticStyle:{width:"100%"},attrs:{filterable:"",multiple:"","allow-create":"",size:t.size,"default-first-option":"",placeholder:t.column.placeholder||"Select"},on:{"remove-tag":function(e){return t.$emit("blur")},change:function(e){return t.$emit("blur")}},model:{value:t.newColumn[t.column.key],callback:function(e){t.$set(t.newColumn,t.column.key,e)},expression:"newColumn[column.key]"}},t._l(t.getFromSelectionStr(t.column.selections),(function(t){return a("el-option",{key:t,attrs:{label:t,value:t}})})),1)]:[a("el-select",{staticStyle:{width:"100%"},attrs:{size:t.size,filterable:"","allow-create":"","default-first-option":"",placeholder:t.column.placeholder||"Select"},on:{change:function(e){return t.$emit("blur")}},model:{value:t.newColumn[t.column.key],callback:function(e){t.$set(t.newColumn,t.column.key,e)},expression:"newColumn[column.key]"}},t._l(t.getFromSelectionStr(t.column.selections),(function(t){return a("el-option",{key:t,attrs:{label:t,value:t}})})),1)]],2):t._e()}),[],!1,null,null,null).exports;const ai=r({name:"maybe_multi_select",props:["newColumn","column","adding_counter"],data:function(){return{appReady:!1,upload_action:"",data:{},preferedThum:window.ninja_table_admin.prefered_thumb}},watch:{adding_counter:function(){console.log(this.adding_counter);this.newColumn[this.column.key]={permalink:"",image_thumb:"",image_full:""},this.data=this.newColumn[this.column.key]}},methods:{beforeAvatarUpload:function(t){return"image/jpg"==t.type||"image/gif"==t.type||"image/png"==t.type||(this.$message.error("Image need to be jpg/png/gif format"),!1)},handleAvatarSuccess:function(t,e){console.log(t)},initUploader:function(t){var e=this,a=wp.media.editor.send.attachment;return wp.media.editor.send.attachment=function(t,n){console.log(n),e.newColumn[e.column.key].alt_text=n.alt||n.title,e.newColumn[e.column.key].image_full=n.url,e.newColumn[e.column.key].image_thumb=e.getThumb(n),wp.media.editor.send.attachment=a},wp.media.editor.open(),!1},initFileUploader:function(t){var e=this,a=wp.media.editor.send.attachment;return wp.media.editor.send.attachment=function(t,n){e.newColumn[e.column.key].permalink=n.url,wp.media.editor.send.attachment=a},wp.media.editor.open(),!1},getThumb:function(t){var e=this,a=t.width,n=t.url,i=!1;return"original"==this.preferedThum?t.url:(X()(t.sizes,(function(t,o){o==e.preferedThum&&(i=t.url),(!i||t.width>300)&&(t.width<400?i=t.url:t.width<a&&(a=t.width,n=t.url))})),i||n)},preinitUploader:function(){var t=this.newColumn[this.column.key],e={permalink:"",image_thumb:"",image_full:""};t?"string"==typeof t&&(this.newColumn[this.column.key]=e):this.newColumn[this.column.key]=e,this.data=this.newColumn[this.column.key]},remove:function(){this.data.image_thumb=""}},mounted:function(){this.preinitUploader(),this.appReady=!0}},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.appReady?a("div",{staticClass:"image_selector"},["hyperlinked"==t.column.link_type||"none"==t.column.link_type||"image_light_box"==t.column.link_type||"iframe_ligtbox"==t.column.link_type?[a("div",{staticClass:"nt_form_group"},[a("label",[t._v("Upload Image")]),t._v(" "),a("div",{staticClass:"nt_form_input"},[t.data.image_thumb?a("div",{staticClass:"image_preview"},[a("img",{attrs:{src:t.data.image_thumb}})]):t._e(),t._v(" "),a("el-button",{staticClass:"image_select_button",attrs:{size:"mini",type:"info"},on:{click:t.initUploader}},[t.data.image_thumb?a("span",[t._v("Change Image")]):a("span",[t._v("Upload Image")])]),t._v(" "),t.data.image_thumb?a("el-button",{staticClass:"image_select_button",attrs:{size:"mini",type:"warning"},on:{click:t.remove}},[t._v("\n Remove Image\n ")]):t._e()],1)]),t._v(" "),"hyperlinked"==t.column.link_type||"iframe_ligtbox"==t.column.link_type?a("div",{staticClass:"nt_form_group"},["iframe_ligtbox"==t.column.link_type?a("label",[t._v("Iframe URL (Only The URL)")]):a("label",[t._v("Target URL")]),t._v(" "),a("div",{staticClass:"nt_form_input"},[a("el-input",{attrs:{type:"url",size:"mini",placeholder:"Permalink"},model:{value:t.data.permalink,callback:function(e){t.$set(t.data,"permalink",e)},expression:"data.permalink"}})],1)]):t._e()]:t._e()],2):t._e()}),[],!1,null,null,null).exports;const ni={name:"ninjaDatePicker",props:["column","new_column","only_picker"],computed:{elementFormat:function(){var t=this.column.dateFormat,e="h:m:s",a="";return a="DD-MMM-YY"==t?"dd-MMM-yy":t.replace(/Y/g,"y").replace(/D/g,"d"),"date"===this.type?a:(this.column.timeFormat&&(e=this.column.timeFormat),a+" "+e)},type:function(){return"yes"===this.column.showTime?"datetime":"date"}},methods:{slugify:function(t){return t.toString().toLowerCase().replace(/\s+/g,"-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")}}};var ii=a(3582),oi={insert:"head",singleton:!1};o()(ii.Z,oi);ii.Z.locals;const li=r(ni,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{class:"yes"==t.only_picker?"ninja_only_picker":"ninja_date_picker"},["yes"!=t.only_picker?a("input",{directives:[{name:"model",rawName:"v-model",value:t.new_column[t.column.key],expression:"new_column[column.key]"}],staticClass:"form-control",attrs:{placeholder:t.column.dateFormat,type:"text",size:"small",id:t.slugify(t.column.key)},domProps:{value:t.new_column[t.column.key]},on:{input:function(e){e.target.composing||t.$set(t.new_column,t.column.key,e.target.value)}}}):t._e(),t._v(" "),a("el-date-picker",{attrs:{type:t.type,size:"small","value-format":t.elementFormat,format:t.elementFormat,placeholder:"Pick a day"},on:{blur:function(e){return t.$emit("blur")}},model:{value:t.new_column[t.column.key],callback:function(e){t.$set(t.new_column,t.column.key,e)},expression:"new_column[column.key]"}})],1)}),[],!1,null,null,null).exports,si={name:"add_data",props:["title","show","columns","table_id","item","manualSort","insertAfterPosition","insertAfterId","type"],data:function(){return{row_config:!1,editorOption:{modules:{toolbar:[["bold","italic","underline","strike","link"],["blockquote","code-block"],[{header:1},{header:2}],[{list:"ordered"},{list:"bullet"}],[{script:"sub"},{script:"super"}],[{align:[]}],[{direction:"rtl"}]]}},btnLoading:!1,continueAdding:!0,newColumn:{},has_pro:!!window.ninja_table_admin.hasPro,position:"last",modal_title:"Add Row",item_settings:{},created_at:"",adding_counter:1}},computed:{editId:function(){return this.item&&this.item.id},shouldNotContinueAdding:function(){return!(!this.editId&&"duplicate"!==this.type)}},watch:{item:function(){this.initNewColumnObj(),this.item||(this.modal_title="Add Row")}},methods:{addData:function(){var t=this,e=!1;if(X()(this.newColumn,(function(t){t&&(e=!0)})),e){this.btnLoading=!0;var a={action:"ninja_tables_ajax_actions",target_action:"store-table-data",table_id:this.table_id,row:this.newColumn,id:this.editId,created_at:this.created_at,settings:this.item_settings,position:this.position};this.insertAfterId&&(a.insert_after_id=this.insertAfterId,a.position=parseInt(this.insertAfterPosition)+1),this.$post(a).then((function(e){if(e.item){if(t.$message({showClose:!0,message:e.message,type:"success"}),t.initNewColumnObj(),t.editId)t.$emit("updateItem",e.item);else{var n=a.position;t.manualSort||t.insertAfterId||(n="last-first"),t.$emit("createItem",e.item,n)}!t.editId&&t.continueAdding||t.$emit("modal_close"),"duplicate"===t.type&&t.$emit("modal_close"),t.adding_counter++}else t.$message({showClose:!0,message:"Failed to add/update data. Please reload this page and try again",type:"error"})})).fail((function(e){t.$message({showClose:!0,message:e.responseJSON.data.message,type:"error"})})).always((function(){t.btnLoading=!1}))}else this.$message({showClose:!0,message:"Please add at least 1 value to the row",type:"error"})},closeModal:function(){this.$emit("modal_close")},initNewColumnObj:function(){var t=this,e={};X()(this.columns,(function(a){t.item&&t.item.values[a.key]?e[a.key]=t.item.values[a.key]:"selection"==a.data_type&&"yes"==a.isMultiple?e[a.key]=[]:e[a.key]=""})),this.newColumn=e,this.initItemSettings()},initItemSettings:function(){var t=this;this.item&&this.item.settings&&(this.item_settings=this.item.settings),this.item_settings.cell||this.$set(this.item_settings,"cell",{}),X()(this.columns,(function(e){t.item_settings.cell[e.key]||t.$set(t.item_settings.cell,e.key,{})})),this.item&&(this.created_at=this.item.created_at)},onEditorChange:function(t,e){e.editor;var a=e.html;e.text;this.newColumn[t]=a},slugify:function(t){return t.toString().toLowerCase().replace(/\s+/g,"-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},getFromSelectionStr:function(t){return t?t.split("\n"):[]}},mounted:function(){this.initNewColumnObj()},components:{wp_editor:k,NinjaDatePicker:li,mayBeSelect:ei,ImageSelector:ai}};var ri=a(5529),ci={insert:"head",singleton:!1};o()(ri.Z,ci);ri.Z.locals;const ui=r(si,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{title:t.title,visible:t.show,top:"50px","close-on-click-modal":!1,"append-to-body":!0},on:{"update:visible":function(e){t.show=e},close:t.closeModal}},[t.show?a("div",[t._l(t.columns,(function(e){return a("div",{key:e.key,staticClass:"form-group"},[a("label",{attrs:{for:t.slugify(e.key)}},[t._v(t._s(e.name||e.key))]),t._v(" "),"textarea"==e.data_type?a("div",[a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.newColumn[e.key],expression:"newColumn[column.key]"}],staticClass:"form-control",attrs:{placeholder:e.name,id:t.slugify(e.key)},domProps:{value:t.newColumn[e.key]},on:{input:function(a){a.target.composing||t.$set(t.newColumn,e.key,a.target.value)}}})]):"html"==e.data_type?a("div",[a("wp_editor",{attrs:{editor_id:t.slugify(e.key)},model:{value:t.newColumn[e.key],callback:function(a){t.$set(t.newColumn,e.key,a)},expression:"newColumn[column.key]"}})],1):"date"==e.data_type?a("div",[a("ninja-date-picker",{attrs:{column:e,new_column:t.newColumn}})],1):"selection"==e.data_type?a("div",[a("may-be-select",{attrs:{column:e,newColumn:t.newColumn}})],1):"image"==e.data_type&&t.has_pro?a("div",[a("image-selector",{attrs:{adding_counter:t.adding_counter,column:e,newColumn:t.newColumn}})],1):"button"==e.data_type&&t.has_pro?a("div",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.newColumn[e.key],expression:"newColumn[column.key]"}],staticClass:"form-control",attrs:{placeholder:"Valid button URL",type:"url",id:t.slugify(e.key)},domProps:{value:t.newColumn[e.key]},on:{input:function(a){a.target.composing||t.$set(t.newColumn,e.key,a.target.value)}}}),t._v(" "),a("small",[t._v("Please provide valid URL")])]):a("div",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.newColumn[e.key],expression:"newColumn[column.key]"}],staticClass:"form-control",attrs:{placeholder:e.name,type:"text",id:t.slugify(e.key)},domProps:{value:t.newColumn[e.key]},on:{input:function(a){a.target.composing||t.$set(t.newColumn,e.key,a.target.value)}}})])])})),t._v(" "),t.editId||!t.manualSort||t.insertAfterPosition?t._e():a("div",[t._v("\n Add at\n "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.position,expression:"position"}],staticStyle:{"margin-left":"5px"},attrs:{type:"radio",value:"last"},domProps:{checked:t._q(t.position,"last")},on:{change:function(e){t.position="last"}}}),t._v("Last\n "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.position,expression:"position"}],staticStyle:{"margin-left":"10px"},attrs:{type:"radio",value:"first"},domProps:{checked:t._q(t.position,"first")},on:{change:function(e){t.position="first"}}}),t._v("First\n ")])],2):t._e(),t._v(" "),t.row_config?a("div",{staticClass:"row_config_container"},[t.has_pro?[a("h3",[t._v("Row Settings")]),t._v(" "),a("div",{staticClass:"form_row_full"},[a("div",{staticClass:"form-group form_row_half"},[a("label",[t._v("Row Background Color")]),t._v(" "),a("el-color-picker",{attrs:{"show-alpha":""},model:{value:t.item_settings.row_bg,callback:function(e){t.$set(t.item_settings,"row_bg",e)},expression:"item_settings.row_bg"}})],1),t._v(" "),a("div",{staticClass:"form-group form_row_half"},[a("label",[t._v("Row Text Color")]),t._v(" "),a("el-color-picker",{attrs:{"show-alpha":""},model:{value:t.item_settings.text_color,callback:function(e){t.$set(t.item_settings,"text_color",e)},expression:"item_settings.text_color"}})],1)]),t._v(" "),a("h3",[t._v("Cell Color Customization")]),t._v(" "),a("table",{staticClass:"wp-list-table widefat fixed striped"},[a("thead",[a("tr",[a("th",[t._v("Column")]),t._v(" "),a("th",[t._v("Background Color")]),t._v(" "),a("th",[t._v("Text Color")])])]),t._v(" "),a("tbody",t._l(t.columns,(function(e){return a("tr",{key:e.key},[a("td",[t._v(t._s(e.name))]),t._v(" "),a("td",[a("el-color-picker",{attrs:{"show-alpha":""},model:{value:t.item_settings.cell[e.key]["background-color"],callback:function(a){t.$set(t.item_settings.cell[e.key],"background-color",a)},expression:"item_settings.cell[column.key]['background-color']"}})],1),t._v(" "),a("td",[a("el-color-picker",{attrs:{"show-alpha":""},model:{value:t.item_settings.cell[e.key].color,callback:function(a){t.$set(t.item_settings.cell[e.key],"color",a)},expression:"item_settings.cell[column.key]['color']"}})],1)])})),0)]),t._v(" "),t.insertAfterPosition?t._e():a("div",{staticClass:"form-group",staticStyle:{"margin-top":"20px"}},[a("label",[t._v("\n Data Create Date\n "),a("el-tooltip",{attrs:{placement:"top-start",effect:"light",content:"If you use table sorting by create date then you can change create date to sort your data"}},[a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-date-picker",{attrs:{"value-format":"yyyy-MM-dd HH:mm:ss",type:"datetime",placeholder:"Select date and time"},model:{value:t.created_at,callback:function(e){t.created_at=e},expression:"created_at"}})],1)]:[a("h3",[t._v("Row and Cell Color Customization")]),t._v(" "),a("p",[t._v("Using this module, You can set cell and row level colors of your data, It's a pro feature, Please\n purchase pro to unlock this feature")]),t._v(" "),a("a",{attrs:{href:"https://wpmanageninja.com/downloads/ninja-tables-pro-add-on/?utm_source=ninja-tables&utm_medium=wp&utm_campaign=wp_plugin&utm_term=upgrade",target:"_blank"}},[a("button",{staticClass:"el-button el-button--danger el-button--mini",attrs:{type:"button"}},[a("span",[t._v("Buy Pro")])])])]],2):t._e(),t._v(" "),a("div",{staticClass:"dialog-footer",class:{"single-child":t.shouldNotContinueAdding},attrs:{slot:"footer"},slot:"footer"},[t.shouldNotContinueAdding?t._e():[a("div",[a("label",{staticClass:"dialog-footer-item",attrs:{for:"adding_more"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.continueAdding,expression:"continueAdding"}],attrs:{type:"checkbox",id:"adding_more"},domProps:{checked:Array.isArray(t.continueAdding)?t._i(t.continueAdding,null)>-1:t.continueAdding},on:{change:function(e){var a=t.continueAdding,n=e.target,i=!!n.checked;if(Array.isArray(a)){var o=t._i(a,null);n.checked?o<0&&(t.continueAdding=a.concat([null])):o>-1&&(t.continueAdding=a.slice(0,o).concat(a.slice(o+1)))}else t.continueAdding=i}}}),t._v(" Continue Adding\n ")])])],t._v(" "),a("div",{staticClass:"dialog-footer-item"},[a("el-button",{attrs:{size:"small",type:"danger"},on:{click:function(e){t.row_config=!t.row_config}}},[a("i",{staticClass:"el-icon-setting"})]),t._v(" "),a("el-button",{directives:[{name:"loading",rawName:"v-loading",value:t.btnLoading,expression:"btnLoading"}],attrs:{disabled:t.btnLoading,type:"primary",size:"small"},on:{click:t.addData}},[t.editId?a("span",[t._v(" "+t._s(t.$t("Update")))]):a("span",[t._v(t._s(t.$t("Add")))]),t._v(" "),t.btnLoading?a("i",{staticClass:"fooicon fooicon-spin fooicon-circle-o-notch"}):t._e()])],1)],2)])}),[],!1,null,null,null).exports;const di={name:"ninja_alert",props:["type"],computed:{alertClass:function(){return this.type||"success"}}};var pi=a(420),mi={insert:"head",singleton:!1};o()(pi.Z,mi);pi.Z.locals;const _i=r(di,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"alert",class:"alert-"+t.alertClass},[t._t("default")],2)}),[],!1,null,null,null).exports;const hi={name:"DeletePopOver",props:["label"],data:function(){return{visible:!1}},methods:{proceedConfirmation:function(){this.visible=!1,this.$emit("deleted")}}};var fi=a(6167),vi={insert:"head",singleton:!1};o()(fi.Z,vi);fi.Z.locals;const bi=r(hi,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"remove"},[a("el-popover",{ref:"popover5",attrs:{placement:"top",width:"160"},model:{value:t.visible,callback:function(e){t.visible=e},expression:"visible"}},[a("p",[t._v(t._s(t.$t("Are you sure to delete this?")))]),t._v(" "),a("div",{staticStyle:{"text-align":"right",margin:"0"}},[a("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(e){t.visible=!1}}},[t._v("\n "+t._s(t.$t("cancel"))+"\n ")]),t._v(" "),a("el-button",{attrs:{type:"danger",size:"mini"},on:{click:t.proceedConfirmation}},[t._v("\n "+t._s(t.$t("confirm"))+"\n ")])],1)]),t._v(" "),t.label?a("span",{directives:[{name:"popover",rawName:"v-popover:popover5",arg:"popover5"}],staticClass:"span-block",domProps:{textContent:t._s(t.label)}}):a("a",{directives:[{name:"popover",rawName:"v-popover:popover5",arg:"popover5"}]},[a("span",{staticClass:"dashicons dashicons-trash"})])],1)}),[],!1,null,"590fa148",null).exports;const gi={name:"SortableUpgradeNotice",props:["show"],data:function(){return{upgradeGuide:window.ninja_table_admin.upgradeGuide}},computed:{visible:{get:function(){return this.show},set:function(){this.close()}}},methods:{close:function(){this.$emit("close")}}};var yi=a(1502),wi={insert:"head",singleton:!1};o()(yi.Z,wi);yi.Z.locals;const xi=r(gi,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{staticClass:"sortable-upgrade-notice",attrs:{visible:t.visible},on:{"update:visible":function(e){t.visible=e}}},[a("h1",{staticClass:"el-notifications",attrs:{slot:"title"},slot:"title"},[a("i",{staticClass:"el-icon-warning text-warning"}),t._v(" "+t._s(t.$t("Upgrade Notice"))+"\n ")]),t._v(" "),a("span",[t._v("\n "+t._s(t.$t("Your Ninja Tables Pro plugin is outdated. Please upgrade to its latest version."))+"\n ")]),t._v(" "),a("br"),t._v(" "),a("br"),t._v(" "),a("span",[a("a",{attrs:{href:t.upgradeGuide,target:"_blank"}},[t._v(t._s(t.$t("Click here")))]),t._v(" "+t._s(t.$t("to view the upgrade guide."))+"\n ")])])}),[],!1,null,null,null).exports;const ki=r({name:"ninja_color_picker",props:["label","value","disabled"],data:function(){return{color:"",previous_color:""}},watch:{color:function(t){"transparent"===t&&(this.color=""),this.previous_color=this.color,this.$emit("input",this.color)}},methods:{changeColor:function(t){"transparent"===this.previous_color?(this.previous_color=t,this.color="transparent"):this.color=t}},mounted:function(){this.color=this.value}},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form_group"},[a("el-color-picker",{attrs:{"show-alpha":"",disabled:t.disabled},on:{"active-change":t.changeColor},model:{value:t.color,callback:function(e){t.color=e},expression:"color"}}),t._v(" "),t.label?a("label",[t._v(t._s(t.label))]):t._e()],1)}),[],!1,null,null,null).exports;function Ci(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function Si(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}const ji={name:"Conditional",props:{hasPro:{type:Boolean,default:!1},column:{type:Object,default:function(){return{}}}},components:{NinjaColorPicker:ki},data:function(){return{defaultCondition:{conditionalOperator:null,conditionalValue:null,conditionalValue2:null,targetAction:null,targetValue:null,targetValueColor:null}}},methods:{addCondition:function(){this.column.conditions||this.$set(this.column,"conditions",[]),this.column.conditions.push(function(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?Ci(Object(a),!0).forEach((function(e){Si(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):Ci(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}({},this.defaultCondition))},removeCondition:function(t){this.column.conditions.splice(t,1)},shouldShowColorPicker:function(t){return-1!=["set-cell-color","set-cell-bg-color","set-row-color","set-row-bg-color","set-column-color","set-column-bg-color"].indexOf(t.targetAction)}},mounted:function(){this.column&&!this.column.conditions&&this.$set(this.column,"conditions",[])}},$i=ji;var Ti=a(8523),Ei={insert:"head",singleton:!1};o()(Ti.Z,Ei);Ti.Z.locals;var Ii=r($i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"column-condition-config"},[t.hasPro?a("div",{staticClass:"conditional-settings-header"},[t._m(0),t._v(" "),a("el-button",{attrs:{size:"small",type:"info",disabled:!t.hasPro},on:{click:t.addCondition}},[t._v("\n Add Condition\n ")])],1):a("div",{staticClass:"conditional-settings-header ninja_table_inline_upgrade"},[a("div",{staticClass:"conditional-settings-title"},[a("H3",[t._v("Conditional Formatting")]),t._v(" "),a("p",[t._v("\n Customize your table's appearances based on the cell value. Add as many conditions as you like.\n Conditional Formatting is a pro feature which can be enabled by using Ninja Table pro Add-on. Ninja\n Table Pro has lots of features that will help you to build any type of Tables.\n ")]),t._v(" "),t._m(1)],1)]),t._v(" "),a("hr"),t._v(" "),t._l(t.column.conditions,(function(e,n){return a("el-row",{key:n},[a("el-col",{attrs:{sm:2,md:2}},[a("div",{staticClass:"if-cell-value"},[t._v("If Cell Value")])]),t._v(" "),a("el-col",{attrs:{sm:5,md:5}},[a("el-select",{staticStyle:{width:"100%"},attrs:{disabled:!t.hasPro,size:"small"},model:{value:e.conditionalOperator,callback:function(a){t.$set(e,"conditionalOperator",a)},expression:"condition.conditionalOperator"}},[a("el-option",{attrs:{label:"Equal",value:"equal"}}),t._v(" "),a("el-option",{attrs:{label:"Not Equal",value:"not-equal"}}),t._v(" "),-1==["number","date"].indexOf(t.column.data_type)?a("el-option",{attrs:{label:"Contains",value:"contains"}}):t._e(),t._v(" "),-1==["number","date"].indexOf(t.column.data_type)?a("el-option",{attrs:{label:"Does Not Contain",value:"does-not-contain"}}):t._e(),t._v(" "),-1!=["number","date"].indexOf(t.column.data_type)?a("el-option",{attrs:{label:"Less Than",value:"less-than"}}):t._e(),t._v(" "),-1!=["number","date"].indexOf(t.column.data_type)?a("el-option",{attrs:{label:"Greater Than",value:"greater-than"}}):t._e(),t._v(" "),-1!=["number","date"].indexOf(t.column.data_type)?a("el-option",{attrs:{label:"Less Than Or Equal To",value:"less-than-or-equal-to"}}):t._e(),t._v(" "),-1!=["number","date"].indexOf(t.column.data_type)?a("el-option",{attrs:{label:"Greater Than Or Equal To",value:"greater-than-or-equal-to"}}):t._e(),t._v(" "),-1!=["number","date"].indexOf(t.column.data_type)?a("el-option",{attrs:{label:"Between (Min & Max Values)",value:"between"}}):t._e()],1)],1),t._v(" "),a("el-col",{attrs:{sm:5,md:5}},[a("el-input",{attrs:{size:"small",placeholder:"between"==e.conditionalOperator?"Min value":"Enter Value",disabled:!t.hasPro},model:{value:e.conditionalValue,callback:function(a){t.$set(e,"conditionalValue",a)},expression:"condition.conditionalValue"}})],1),t._v(" "),"between"==e.conditionalOperator?a("el-col",{attrs:{sm:4,md:4}},[a("el-input",{attrs:{size:"small",placeholder:"Max Value"},model:{value:e.conditionalValue2,callback:function(a){t.$set(e,"conditionalValue2",a)},expression:"condition.conditionalValue2"}})],1):t._e(),t._v(" "),a("el-col",{attrs:{sm:1,md:1}},[a("div",{staticClass:"if-cell-value text-center"},[t._v("Then")])]),t._v(" "),a("el-col",{attrs:{sm:5,md:5}},[a("el-select",{staticStyle:{width:"100%"},attrs:{disabled:!t.hasPro,filterable:"",size:"small"},model:{value:e.targetAction,callback:function(a){t.$set(e,"targetAction",a)},expression:"condition.targetAction"}},[a("el-option-group",{key:"cell_options",attrs:{label:"Cell Options"}},[a("el-option",{attrs:{label:"Set cell color",value:"set-cell-color"}}),t._v(" "),a("el-option",{attrs:{label:"Set cell background color",value:"set-cell-bg-color"}}),t._v(" "),a("el-option",{attrs:{label:"Set cell content",value:"set-cell-content"}}),t._v(" "),a("el-option",{attrs:{label:"Set cell CSS class",value:"set-cell-css-class"}}),t._v(" "),a("el-option",{attrs:{label:"Reset cell color to default",value:"reset-cell-color-to-default"}}),t._v(" "),a("el-option",{attrs:{label:"Reset cell background color to default",value:"reset-cell-bg-color-to-default"}}),t._v(" "),a("el-option",{attrs:{label:"Remove cell CSS class",value:"remove-cell-css-class"}})],1),t._v(" "),a("el-option-group",{key:"row_options",attrs:{label:"Row Options"}},[a("el-option",{attrs:{label:"Set row color",value:"set-row-color"}}),t._v(" "),a("el-option",{attrs:{label:"Set row background color",value:"set-row-bg-color"}}),t._v(" "),a("el-option",{attrs:{label:"Set row CSS class",value:"set-row-css-class"}}),t._v(" "),a("el-option",{attrs:{label:"Reset row color to default",value:"reset-row-color-to-default"}}),t._v(" "),a("el-option",{attrs:{label:"Reset row background color to default",value:"reset-row-bg-color"}}),t._v(" "),a("el-option",{attrs:{label:"Remove row CSS class",value:"remove-row-css-class"}})],1),t._v(" "),a("el-option-group",{key:"column_options",attrs:{label:"Column Options"}},[a("el-option",{attrs:{label:"Set column color",value:"set-column-color"}}),t._v(" "),a("el-option",{attrs:{label:"Set column background color",value:"set-column-bg-color"}}),t._v(" "),a("el-option",{attrs:{label:"Add column CSS class",value:"add-column-css-class"}}),t._v(" "),a("el-option",{attrs:{label:"Remove column CSS class",value:"remove-column-css-class"}})],1)],1)],1),t._v(" "),a("el-col",{attrs:{sm:4,md:4}},[a("el-input",{directives:[{name:"show",rawName:"v-show",value:!t.shouldShowColorPicker(e),expression:"!shouldShowColorPicker(condition)"}],attrs:{size:"small",placeholder:"Enter Value",disabled:!t.hasPro},model:{value:e.targetValue,callback:function(a){t.$set(e,"targetValue",a)},expression:"condition.targetValue"}}),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:t.shouldShowColorPicker(e),expression:"shouldShowColorPicker(condition)"}],staticClass:"conditional_color_block"},[a("ninja-color-picker",{attrs:{size:"mini",disabled:!t.hasPro},model:{value:e.targetValueColor,callback:function(a){t.$set(e,"targetValueColor",a)},expression:"condition.targetValueColor"}})],1)],1),t._v(" "),a("el-col",{attrs:{sm:1,md:1}},[a("el-button",{attrs:{size:"mini",type:"danger",icon:"el-icon-minus",disabled:!t.hasPro},on:{click:function(e){return t.removeCondition(n)}}})],1)],1)})),t._v(" "),"date"==t.column.data_type?a("div",{staticClass:"nt_suggest"},[a("h4",[t._v("You can use placeholder for dynamic dates to style your row/cell/column")]),t._v(" "),a("p",[t._v("Example Usage")]),t._v(" "),a("ul",[a("li",[t._v("Today's Date: "),a("code",[t._v("{date:"+t._s(t.column.dateFormat)+"}")])]),t._v(" "),a("li",[t._v("Tomorrow's Date: "),a("code",[t._v("{date+1:"+t._s(t.column.dateFormat)+"}")])]),t._v(" "),a("li",[t._v("Yesterday's Date: "),a("code",[t._v("{date-1:"+t._s(t.column.dateFormat)+"}")])]),t._v(" "),a("li",[t._v("Date After 10 Days: "),a("code",[t._v("{date+10:"+t._s(t.column.dateFormat)+"}")])]),t._v(" "),a("li",[t._v("Date Before 10 Days: "),a("code",[t._v("{date-10:"+t._s(t.column.dateFormat)+"}")])])])]):t._e(),t._v(" "),t.column.conditions&&t.column.conditions.length?t._e():a("el-row",[a("el-alert",{attrs:{center:"",closable:!1,title:"You haven't added any conditions for the column yet!",type:"info"}})],1)],2)}),[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"conditional-settings-title"},[t._v("\n Customize your table's appearances based on the cell value. Add as many conditions as you like. "),a("a",{attrs:{target:"_blank",href:"https://wpmanageninja.com/docs/ninja-tables/conditional-column-formatting/"}},[t._v("View\n Documentation")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("a",{attrs:{href:"https://wpmanageninja.com/ninja-tables/ninja-tables-pro-pricing/?utm_source=ninja-tables&utm_medium=wp&utm_campaign=conditional_formatting&utm_term=upgrade",target:"_blank"}},[a("button",{staticClass:"el-button el-button--danger",attrs:{type:"button"}},[a("span",[t._v("Buy Pro and Enable Conditional Formatting")])])])}],!1,null,null,null);const Di=Ii.exports;const Pi=r({name:"WPPostDynamicColumn",props:{column:{type:Object,default:function(){return{}}},columns:{type:Array,default:function(){return[]}}},data:function(){return{loading:!1,post_data_types:[],table_id:this.$route.params.table_id}},watch:{"column.wp_post_custom_data_type":function(){this.$set(this.column,"wp_post_custom_data_value","")}},computed:{selectedField:function(){var t=this,e=this.post_data_types.find((function(e){return e.key==t.column.wp_post_custom_data_type}));return e||{}},selectedFiledValueType:function(){return this.selectedField&&this.selectedField.value_type?this.selectedField.value_type:"text"}},methods:{setFieldOptions:function(){var t=this;if(this.loading=!0,window.ninja_wp_posts_custom_fields)return this.post_data_types=window.ninja_wp_posts_custom_fields,void(this.loading=!1);this.$get({action:"ninja_table_wp-posts_get_custom_field_options",table_id:this.table_id}).then((function(e){window.ninja_wp_posts_custom_fields=e.data.custom_fields,t.post_data_types=e.data.custom_fields})).fail((function(t){})).always((function(){t.loading=!1}))}},mounted:function(){this.setFieldOptions()}},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"wp_posts_dynamic_field"},[a("h4",[t._v(t._s(t.$t("Dynamic Post Data Settings")))]),t._v(" "),a("hr"),t._v(" "),"custom"==t.column.source_type?[a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Field Type"))+"\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Field Type")]),t._v(" "),a("p",[t._v("Select The field type you want to populate for each row")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-select",{staticStyle:{width:"90%"},attrs:{placeholder:"Select Field",size:"small"},model:{value:t.column.wp_post_custom_data_type,callback:function(e){t.$set(t.column,"wp_post_custom_data_type",e)},expression:"column.wp_post_custom_data_type"}},t._l(t.post_data_types,(function(t){return a("el-option",{key:t.key,attrs:{value:t.key,disabled:t.disabled,label:t.label}})})),1)],2),t._v(" "),a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Field Value"))+"\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Field Value")]),t._v(" "),a("p",[t._v("Provide the column value for your corresponding value type select")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),"options"==t.selectedFiledValueType?[a("el-select",{staticStyle:{width:"90%"},attrs:{placeholder:t.selectedField.placeholder,size:"small"},model:{value:t.column.wp_post_custom_data_value,callback:function(e){t.$set(t.column,"wp_post_custom_data_value",e)},expression:"column.wp_post_custom_data_value"}},t._l(t.selectedField.options,(function(t){return a("el-option",{key:t,attrs:{value:t,label:t}})})),1)]:a("el-input",{attrs:{type:t.selectedFiledValueType,placeholder:t.selectedField.placeholder,size:"small"},model:{value:t.column.wp_post_custom_data_value,callback:function(e){t.$set(t.column,"wp_post_custom_data_value",e)},expression:"column.wp_post_custom_data_value"}}),t._v(" "),t.selectedField&&t.selectedField.instruction?a("div",{staticClass:"ninja_instruction"},[a("p",{domProps:{innerHTML:t._s(t.selectedField.instruction)}}),t._v(" "),t.selectedField.learn_more_url?a("p",[a("a",{attrs:{target:"_blank",href:t.selectedField.learn_more_url}},[t._v("\n "+t._s(t.selectedField.learn_more_text)+"\n ")])]):t._e()]):t._e()],2)]:t._e(),t._v(" "),"post_data"==t.column.source_type||"custom"==t.column.source_type&&"featured_image"==t.column.wp_post_custom_data_type?[a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Link"))+"\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Link to Post/Author Permalink")]),t._v(" "),a("p",[t._v("\n Enable this if you want to link to post/Author permalink\n ")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),"post_author"==t.column.original_name?a("el-checkbox",{attrs:{"true-label":"yes","false-label":"no",value:"yes",label:"Link to Author Permalink"},model:{value:t.column.permalinked,callback:function(e){t.$set(t.column,"permalinked",e)},expression:"column.permalinked"}}):a("el-checkbox",{attrs:{"true-label":"yes","false-label":"no",value:"yes",label:"Link to post permalink"},model:{value:t.column.permalinked,callback:function(e){t.$set(t.column,"permalinked",e)},expression:"column.permalinked"}})],2),t._v(" "),"yes"==t.column.permalinked?["post_author"==t.column.original_name?a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Permalink Action"))+"\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Permalink Action Type")]),t._v(" "),a("p",[t._v("\n Enable this if you want to make the author as table filter action. So when user click on those filters then they will see only the selected author posts.\n ")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-checkbox",{attrs:{"true-label":"yes","false-label":"no",value:"yes",label:"Make Taxonomies as Table Filter"},model:{value:t.column.filter_permalinked,callback:function(e){t.$set(t.column,"filter_permalinked",e)},expression:"column.filter_permalinked"}})],2):t._e(),t._v(" "),"yes"!=t.column.filter_permalinked?a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Open Link To New tab"))+"\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Open Link To New tab")]),t._v(" "),a("p",[t._v("\n Enable this if you want to open the links to new tab\n ")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-checkbox",{attrs:{"true-label":"_blank","false-label":"",value:"_blank",label:"Open link to new tab"},model:{value:t.column.permalink_target,callback:function(e){t.$set(t.column,"permalink_target",e)},expression:"column.permalink_target"}})],2):t._e()]:t._e()]:"tax_data"==t.column.source_type?[a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Link"))+"\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Link to Taxonomy Permalink")]),t._v(" "),a("p",[t._v("\n Enable this if you want to link to Taxonomy permalink\n ")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-checkbox",{attrs:{"true-label":"yes","false-label":"no",value:"yes",label:"Link to Taxonomy"},model:{value:t.column.permalinked,callback:function(e){t.$set(t.column,"permalinked",e)},expression:"column.permalinked"}})],2),t._v(" "),a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Taxonomy Separator"))+"\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Taxonomy Separator")]),t._v(" "),a("p",[t._v("Taxonomy Separator for Multiple Items")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-input",{attrs:{placeholder:"Enter Value",size:"small"},model:{value:t.column.taxonomy_separator,callback:function(e){t.$set(t.column,"taxonomy_separator",e)},expression:"column.taxonomy_separator"}})],2),t._v(" "),"yes"==t.column.permalinked?[a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Permalink Action"))+"\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Permalink Action Type")]),t._v(" "),a("p",[t._v("\n Enable this if you want to make the taxonomies as table filter action. So when user click on those filters then they will see only those type of posts.\n ")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-checkbox",{attrs:{"true-label":"yes","false-label":"",value:"yes",label:"Make Taxonomies as Table Filter"},model:{value:t.column.filter_permalinked,callback:function(e){t.$set(t.column,"filter_permalinked",e)},expression:"column.filter_permalinked"}})],2),t._v(" "),"yes"!=t.column.filter_permalinked?a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Open Link To New tab"))+"\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Open Link To New tab")]),t._v(" "),a("p",[t._v("\n Enable this if you want to open the links to new tab\n ")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-checkbox",{attrs:{"true-label":"_blank","false-label":"",value:"_blank",label:"Open link to new tab"},model:{value:t.column.permalink_target,callback:function(e){t.$set(t.column,"permalink_target",e)},expression:"column.permalink_target"}})],2):t._e()]:t._e()]:t._e()],2)}),[],!1,null,null,null).exports;function Ai(t){return Ai="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ai(t)}function Ni(t,e){for(var a=0;a<e.length;a++){var n=e[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}const Oi=new(function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),"object"==("undefined"==typeof formulaParser?"undefined":Ai(formulaParser))?(this.instance=new formulaParser.Parser,this._addFunctionNUMVAL(this.instance),this._addFunctionDATEVAL(this.instance)):this.instance=!1}var e,a,n;return e=t,(a=[{key:"parse",value:function(t){var e=this;if(!t||!this.instance)return t;var a=this.advancedParsablesShortcodes(t);if(a&&a.forEach((function(a){var n=a.replace("[f]","").replace("[/f]","");if(n){var i=e.instance.parse(n),o=i.result?i.result:"";t=t.replace(a,o)}})),this.isParsable(t)){var n=t.substr(1);if(n){var i=this.instance.parse(n);t=i.result?i.result:""}}return t}},{key:"isParsable",value:function(t){return"string"==typeof t&&0===t.indexOf("=")}},{key:"advancedParsablesShortcodes",value:function(t){if(-1==t.indexOf("[f]",t))return!1;var e=t.match(/\[f][\s\S]*?\[\/f]/g);return e||!1}},{key:"getSupportedFormulas",value:function(){var t=formulaParser.SUPPORTED_FORMULAS;return t.includes("NUMVAL")||(t.push("NUMVAL"),t.push("DATEVAL")),t}},{key:"getInstance",value:function(){return this.instance}},{key:"_addFunctionNUMVAL",value:function(t){t.setFunction("NUMVAL",(function(t){var e=t[0]||"";if(!e)return e;e=e.toString().replace(/[^\d\.,]+/g,"");var a=t[1]||",";e=e.indexOf(a)>-1?e.split(a).join(""):e.split(",").join("");var n=t[2]||".";e.indexOf(n)>-1&&(e=e.split(n).join("."));var i=Number(e);return isNaN(i)?e:i}))}},{key:"_addFunctionDATEVAL",value:function(t){t.setFunction("DATEVAL",(function(t){var e=t[0]||"",a=t[1]||"";return e&&a?moment(e,a).unix():e}))}}])&&Ni(e.prototype,a),n&&Ni(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}());const Mi={name:"ColumnsEditor",components:{wp_editor:k,condition:Di,"wp-post-dynamic-column":Pi,"content-transformer":r({name:"ContentTransformer",props:{column:{type:Object,default:function(){return{}}},columns:{type:Array,default:function(){return[]}},settings:{type:Object}},components:{ninja_alert:_i,NinjaPremiumNotice:q},watch:{"settings.formula_support":function(){this.storeSettings()}},data:function(){return{hasPro:!!window.ninja_table_admin.hasPro,tableId:this.$route.params.table_id,doingAjax:!1,supported_formullas:[],show_formulas:!1}},computed:{placeholder:function(){var t="Please Input Transform Values (HTML supported)";return"yes"==this.settings.formula_support&&(t="Please Input Transform Values (HTML and Excel Formula are supported)"),t}},methods:{storeSettings:function(){var t=this;window.ninjaTableBus.$emit("tableDoingAjax",!0),this.doingAjax=!0;var e={action:"ninja_tables_ajax_actions",target_action:"update-table-settings",table_id:this.tableId,table_settings:this.settings};this.$post(e).success((function(t){})).fail((function(t){})).always((function(){t.doingAjax=!1,window.ninjaTableBus.$emit("tableDoingAjax",!1)}))}},mounted:function(){this.supported_formullas=Oi.getSupportedFormulas()}},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("p",[t._v("\n Data Transformer is a powerful tool where you can concat any column values easily into any valid html and show as computed value.\n ")]),t._v(" "),a("el-input",{attrs:{type:"textarea",rows:"4",placeholder:t.placeholder,disabled:!t.hasPro},model:{value:t.column.transformed_value,callback:function(e){t.$set(t.column,"transformed_value",e)},expression:"column.transformed_value"}}),t._v(" "),t.hasPro?t._e():a("ninja-premium-notice",{attrs:{highlight:"Transform Column Value"}}),t._v(" "),a("div",{staticClass:"ninja_instruction"},[a("el-checkbox",{attrs:{disabled:!t.hasPro,"true-label":"yes","false-label":"no"},model:{value:t.settings.formula_support,callback:function(e){t.$set(t.settings,"formula_support",e)},expression:"settings.formula_support"}},[t._v("Enable Excel Formula support for Transform Value")]),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:"yes"==t.settings.formula_support,expression:"settings.formula_support == 'yes'"}]},[a("p",[t._v("Note: Excel formuala is an experimental feature so all formulas may not work. We are improving this feature day by day so please don't be mad if some formulas don't work properly.")]),t._v(" "),a("el-button",{attrs:{size:"mini"},on:{click:function(e){t.show_formulas=!0}}},[t._v("Show Formulas")]),t._v(" "),a("el-dialog",{attrs:{title:"Supported Excel Formullas",visible:t.show_formulas,width:"30%"},on:{"update:visible":function(e){t.show_formulas=e}}},[a("ul",{staticStyle:{margin:"0px 20px","padding-top":"20px"}},t._l(t.supported_formullas,(function(e){return a("li",[t._v(t._s(e))])})),0)])],1)],1),t._v(" "),a("div",{staticClass:"ninja_instruction"},[a("p",[t._v("You can use the following Reference Shortcode Values to transform your cell value")]),t._v(" "),a("table",{staticClass:"wp-list-table widefat fixed striped"},[t._m(0),t._v(" "),a("tbody",t._l(t.columns,(function(e){return a("tr",{key:e.key},[a("td",[t._v(t._s(e.name))]),t._v(" "),a("td",[t._v("{{"),a("span",[t._v("row."+t._s(e.key))]),t._v("}}")])])})),0)]),t._v(" "),a("br"),t._v(" "),t._m(1),t._v(" "),a("p",{directives:[{name:"show",rawName:"v-show",value:"yes"==t.settings.formula_support,expression:"settings.formula_support == 'yes'"}],staticStyle:{"font-weight":"bold"}},[t._v("You can use any Excel formula into the transform value box")])])],1)}),[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("thead",[a("tr",[a("th",[t._v("Column Title")]),t._v(" "),a("th",[t._v("Reference Shortcode")])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("p",[t._v("You may "),a("a",{attrs:{href:"https://wpmanageninja.com/docs/ninja-tables/configuring-tables/value-transformation/",target:"_blank"}},[t._v("check the documentation here.")])])}],!1,null,null,null).exports,DynamicWooColumn:r({name:"WPWooDynamicColumn",props:{column:{type:Object,default:function(){return{}}},columns:{type:Array,default:function(){return[]}}},data:function(){return{loading:!1,post_data_types:[],table_id:this.$route.params.table_id}},watch:{"column.wp_post_custom_data_source_type":function(){this.$set(this.column,"source_type",this.selectedField.source_type),"tax_data"==this.selectedField.source_type&&this.$set(this.column,"taxonomy_separator",", "),this.$set(this.column,"wp_post_custom_data_key","")}},computed:{selectedField:function(){var t=this,e=this.post_data_types.find((function(e){return e.key==t.column.wp_post_custom_data_source_type}));return e||{}},selectedFiledValueType:function(){return this.selectedField&&this.selectedField.value_type?this.selectedField.value_type:"text"}},methods:{setFieldOptions:function(){var t=this;if(this.loading=!0,window.ninja_wp_woo_custom_fields)return this.post_data_types=window.ninja_wp_woo_custom_fields,void(this.loading=!1);this.$get({action:"ninja_table_wp_woo_get_custom_field_options",table_id:this.table_id}).then((function(e){window.ninja_wp_woo_custom_fields=e.data.custom_fields,t.post_data_types=e.data.custom_fields})).fail((function(t){})).always((function(){t.loading=!1}))}},mounted:function(){this.setFieldOptions()}},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"wp_posts_dynamic_field"},[a("h4",[t._v(t._s(t.$t("Dynamic Column Data Settings")))]),t._v(" "),a("hr"),t._v(" "),a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Field Type"))+"\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Field Type")]),t._v(" "),a("p",[t._v("Select The field type you want to populate for each row")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-select",{staticStyle:{width:"90%"},attrs:{placeholder:"Select Data Type",size:"small"},model:{value:t.column.wp_post_custom_data_source_type,callback:function(e){t.$set(t.column,"wp_post_custom_data_source_type",e)},expression:"column.wp_post_custom_data_source_type"}},t._l(t.post_data_types,(function(t){return a("el-option",{key:t.key,attrs:{value:t.key,disabled:t.disabled,label:t.label}})})),1)],2),t._v(" "),a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Field Value"))+"\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Field Value")]),t._v(" "),a("p",[t._v("Provide the column value for your corresponding value type select")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),"options"==t.selectedFiledValueType?[a("el-select",{staticStyle:{width:"90%"},attrs:{placeholder:t.selectedField.placeholder,size:"small"},model:{value:t.column.wp_post_custom_data_key,callback:function(e){t.$set(t.column,"wp_post_custom_data_key",e)},expression:"column.wp_post_custom_data_key"}},t._l(t.selectedField.options,(function(t,e){return a("el-option",{key:e,attrs:{value:e,label:t}})})),1),t._v(" "),"featured_image"==t.column.wp_post_custom_data_source_type?a("div",[a("el-radio-group",{model:{value:t.column.image_permalink_type,callback:function(e){t.$set(t.column,"image_permalink_type",e)},expression:"column.image_permalink_type"}},[a("el-radio",{attrs:{label:"lightbox"}},[t._v("Make image as lightbox")]),t._v(" "),a("el-radio",{attrs:{label:"linked"}},[t._v("Link to Product page")]),t._v(" "),a("el-radio",{attrs:{label:""}},[t._v("None")])],1),t._v(" "),a("p",{directives:[{name:"show",rawName:"v-show",value:"linked"==t.column.image_permalink_type,expression:"column.image_permalink_type == 'linked'"}]},[a("el-checkbox",{attrs:{"true-label":"_blank","false-label":"no"},model:{value:t.column.permalink_target,callback:function(e){t.$set(t.column,"permalink_target",e)},expression:"column.permalink_target"}},[t._v("Open Link in new tab")])],1)],1):t._e()]:a("el-input",{attrs:{type:t.selectedFiledValueType,placeholder:t.selectedField.placeholder,size:"small"},model:{value:t.column.wp_post_custom_data_value,callback:function(e){t.$set(t.column,"wp_post_custom_data_value",e)},expression:"column.wp_post_custom_data_value"}}),t._v(" "),t.selectedField&&t.selectedField.instruction?a("div",{staticClass:"ninja_instruction"},[a("p",{domProps:{innerHTML:t._s(t.selectedField.instruction)}}),t._v(" "),t.selectedField.learn_more_url?a("p",[a("a",{attrs:{target:"_blank",href:t.selectedField.learn_more_url}},[t._v("\n "+t._s(t.selectedField.learn_more_text)+"\n ")])]):t._e()]):t._e()],2),t._v(" "),"buy_now_button"==t.column.wp_post_custom_data_key?a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Buy Now Button Text"))+"\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Buy Now Button Text")]),t._v(" "),a("p",[t._v("Provide Buy Now Button Text")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-input",{attrs:{placeholder:"Buy Now Button Text",size:"small"},model:{value:t.column.buy_now_button_text,callback:function(e){t.$set(t.column,"buy_now_button_text",e)},expression:"column.buy_now_button_text"}})],2):t._e(),t._v(" "),"post_title"==t.column.wp_post_custom_data_key||"custom"==t.column.source_type&&"featured_image"==t.column.wp_post_custom_data_type?[a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Link"))+"\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Link to Post/Author Permalink")]),t._v(" "),a("p",[t._v("\n Enable this if you want to link to post/Author permalink\n ")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),"post_author"==t.column.wp_post_custom_data_key?a("el-checkbox",{attrs:{"true-label":"yes","false-label":"no",value:"yes",label:"Link to Author Permalink"},model:{value:t.column.permalinked,callback:function(e){t.$set(t.column,"permalinked",e)},expression:"column.permalinked"}}):a("el-checkbox",{attrs:{"true-label":"yes","false-label":"no",value:"yes",label:"Link to post permalink"},model:{value:t.column.permalinked,callback:function(e){t.$set(t.column,"permalinked",e)},expression:"column.permalinked"}}),t._v(" "),a("el-checkbox",{attrs:{"true-label":"_blank","false-label":"",value:"_blank",label:"Open link to new tab"},model:{value:t.column.permalink_target,callback:function(e){t.$set(t.column,"permalink_target",e)},expression:"column.permalink_target"}})],2)]:"tax_data"==t.column.source_type?[a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Link"))+"\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Link to Taxonomy Permalink")]),t._v(" "),a("p",[t._v("\n Enable this if you want to link to Taxonomy permalink\n ")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-checkbox",{attrs:{"true-label":"yes","false-label":"no",value:"yes",label:"Link to Taxonomy"},model:{value:t.column.permalinked,callback:function(e){t.$set(t.column,"permalinked",e)},expression:"column.permalinked"}})],2),t._v(" "),a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Taxonomy Separator"))+"\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Taxonomy Separator")]),t._v(" "),a("p",[t._v("Taxonomy Separator for Multiple Items")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-input",{attrs:{placeholder:"Enter Value",size:"small"},model:{value:t.column.taxonomy_separator,callback:function(e){t.$set(t.column,"taxonomy_separator",e)},expression:"column.taxonomy_separator"}})],2),t._v(" "),"yes"==t.column.permalinked?[a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Permalink Action"))+"\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Permalink Action Type")]),t._v(" "),a("p",[t._v("\n Enable this if you want to make the taxonomies as table filter action. So when user click on those filters then they will see only those type of posts.\n ")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-checkbox",{attrs:{"true-label":"yes","false-label":"",value:"yes",label:"Make Taxonomies as Table Filter"},model:{value:t.column.filter_permalinked,callback:function(e){t.$set(t.column,"filter_permalinked",e)},expression:"column.filter_permalinked"}})],2),t._v(" "),"yes"!=t.column.filter_permalinked?a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Open Link To New tab"))+"\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Open Link To New tab")]),t._v(" "),a("p",[t._v("\n Enable this if you want to open the links to new tab\n ")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-checkbox",{attrs:{"true-label":"_blank","false-label":"",value:"_blank",label:"Open link to new tab"},model:{value:t.column.permalink_target,callback:function(e){t.$set(t.column,"permalink_target",e)},expression:"column.permalink_target"}})],2):t._e()]:t._e()]:t._e()],2)}),[],!1,null,null,null).exports,NinjaColorPicker:ki},props:{model:{type:Object,default:function(){return{}}},hasPro:{type:Boolean,default:!1},updating:{type:Boolean,default:!1},moreSettings:{type:Boolean,default:!1},hideCancel:{type:Boolean,default:!1},dataSourceType:{type:String,default:"default"},columns:{type:Array,default:function(){return[]}},settings:{type:Object}},data:function(){return{hideDelete:!1,dataTypesOptions:{text:this.$t("Single Line Text Field"),textarea:this.$t("Text Area"),html:this.$t("HTML Field"),number:this.$t("Numeric Value"),date:this.$t("Date Field"),selection:this.$t("Select Field")},breakPointsOptions:{"":this.$t("Always show in all devices"),all:this.$t("Hidden On Desktop"),xs:this.$t("Initial Hidden Mobile"),"xs sm":this.$t("Initial Hidden Mobile and Tab"),"xs sm md lg":this.$t("Initial Hidden Mobile, Tab and Regular Computers"),hidden:this.$t("Totally hidden on all devices")},dateFormats:{"M/D/YYYY":"4/28/2018","M/D/YY":"4/28/18","MM/DD/YY":"04/28/18","MM/DD/YYYY":"04/28/2018","MMM/DD/YYYY":"Apr/28/2018","YY/MM/DD":"18/04/28","YYYY-MM-DD":"2018-04-28","DD-MMM-YY":"28-Apr-18"},timeFormats:{"h:m a":"4:8 am/pm","h:m:s a":"4:8:2 am/pm","hh:mm a":"04:08 am/pm","hh:mm:ss a":"04:08:12 am/pm","h:m A":"4:8 AM/PM","h:m:s A":"4:8:2 AM/PM","hh:mm A":"04:08 AM/PM","hh:mm:ss A":"04:08:12 AM/PM","H:m":"1:8","H:m:s":"1:8:2","HH:mm":"01:08","HH:mm:ss":"01:08:12"},weekDays:{0:"Sunday",1:"Monday",2:"Tuesday",3:"Wednesday",4:"Thursday",5:"Friday",6:"Saturday"},formatType:"standard",has_pro:!!window.ninja_table_admin.hasPro,alignmentOptions:{"":"Default",center:"Center",left:"Left",right:"Right",justify:"Justify",start:"Start",end:"End"},contentAlignmentOptions:{"":"Default",center:"Center",left:"Left",right:"Right"},activeTab:"basic",showConfirm:!1,doingAjax:!1}},watch:{formatType:function(){"custom"===this.formatType&&(this.model.dateFormat="")},hideDelete:function(t,e){this.hideDelete="basic"!=this.activeTab},"model.data_type":function(){"image"==this.model.data_type?this.model.link_type||this.$set(this.model,"link_type","none"):"number"!=this.model.data_type||this.model.decimal_system||(","==this.model.decimalSeparator?this.$set(this.model,"decimal_system","eu"):this.$set(this.model,"decimal_system","us"),this.changeDecimalStyle())}},methods:{addColumn:function(){this.hasPro||"button"!=this.model.data_type&&"image"!=this.model.data_type||(this.model.data_type="text"),this.$emit("add")},cancel:function(){this.$emit("cancel")},deleteColumn:function(){this.$emit("delete")},store:function(){this.$emit("store")},onTabClick:function(t,e){"basic"==t.name?this.hideDelete=!1:(this.hideDelete=!0,this.moreSettings&&(this.moreSettings=!this.moreSettings))},showProPopUp:function(){this.hasPro||window.ninjaTableBus.$emit("show_pro_popup",1)},changeDecimalStyle:function(){"us"==this.model.decimal_system?(this.$set(this.model,"decimalSeparator","."),this.$set(this.model,"thousandSeparator",",")):(this.$set(this.model,"decimalSeparator",","),this.$set(this.model,"thousandSeparator","."))}},mounted:function(){var t=this;"default"==this.dataSourceType&&this.$set(this.dataTypesOptions,"image","Image/File/Lightbox"),this.dataTypesOptions.button=this.$t("Button/Link"),this.model&&(this.model.hasOwnProperty("dateFormat")||this.$set(this.model,"dateFormat",""),this.model.dateFormat=this.model.dateFormat||"",this.model.enable_html_content=-1!==["true",!0].indexOf(this.model.enable_html_content),this.model.header_html_content=this.model.header_html_content||"",this.model.contentAlign||this.$set(this.model,"contentAlign",""),this.model.textAlign||this.$set(this.model,"textAlign",""),this.model.maxWidthUnit||this.$set(this.model,"maxWidthUnit","px"),this.model.timeFormat||this.$set(this.model,"timeFormat",""),this.model.relAttributes||this.$set(this.model,"relAttributes",[]),window.ninjaTableBus.$on("tableDoingAjax",(function(e){t.doingAjax=e})))}};var Fi=a(4867),zi={insert:"head",singleton:!1};o()(Fi.Z,zi);Fi.Z.locals;const Bi=r(Mi,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-form",{ref:"form",staticClass:"form-wrapper",attrs:{model:t.model,"label-width":"200px"}},[a("el-tabs",{on:{"tab-click":t.onTabClick},model:{value:t.activeTab,callback:function(e){t.activeTab=e},expression:"activeTab"}},[a("el-tab-pane",{staticClass:"basic_settings",attrs:{label:"Basic Settings",name:"basic"}},[a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Column Name"))+"\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Column Name")]),t._v(" "),a("p",[t._v("\n Enter a column name to set the header title.\n ")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-input",{attrs:{size:"small"},model:{value:t.model.name,callback:function(e){t.$set(t.model,"name",e)},expression:"model.name"}})],2),t._v(" "),a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Column Key"))+"\n\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Column Key")]),t._v(" "),a("p",[t._v("\n Column key is for data mapping, export and import table data.\n ")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-input",{attrs:{size:"small",disabled:t.updating},model:{value:t.model.key,callback:function(e){t.$set(t.model,"key",e)},expression:"model.key"}}),t._v(" "),t.updating?t._e():a("small",[t._v("Please use english letters only")])],2),t._v(" "),a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Data Type"))+"\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v(" "+t._s(t.$t("Data Type")))]),t._v(" "),a("p",[t._v("\n Choose the data type of the column.\n ")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-select",{staticClass:"nt_column_type_select",attrs:{size:"mini",placeholder:"Select Data Type of this column"},model:{value:t.model.data_type,callback:function(e){t.$set(t.model,"data_type",e)},expression:"model.data_type"}},t._l(t.dataTypesOptions,(function(t,e){return a("el-option",{key:e,attrs:{label:t,value:e}})})),1),t._v(" "),a("p",{directives:[{name:"show",rawName:"v-show",value:t.hasPro,expression:"hasPro"}]},[t._v("Select HTML Field if you want to add Link, media or any type of html")])],2),t._v(" "),"date"==t.model.data_type?[a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Date Format"))+"\n\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v(" "+t._s(t.$t("Date Format")))]),t._v(" "),a("p",[t._v("\n Pattern of the date value.\n ")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-radio-group",{model:{value:t.model.formatType,callback:function(e){t.$set(t.model,"formatType",e)},expression:"model.formatType"}},[a("el-radio",{attrs:{label:"standard"}},[t._v(t._s(t.$t("Standard")))]),t._v(" "),a("el-radio",{attrs:{label:"custom",disabled:!t.hasPro},nativeOn:{click:function(e){return t.showProPopUp.apply(null,arguments)}}},[t._v("Custom")])],1),t._v(" "),"custom"!=t.model.formatType?a("el-form-item",[a("select",{directives:[{name:"model",rawName:"v-model",value:t.model.dateFormat,expression:"model.dateFormat"}],on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.model,"dateFormat",e.target.multiple?a:a[0])}}},[a("option",{attrs:{value:""}},[t._v(t._s(t.$t("Select a Format")))]),t._v(" "),t._l(t.dateFormats,(function(e,n){return a("option",{key:n,domProps:{value:n}},[t._v("\n "+t._s(n)+" - (Ex: "+t._s(e)+")\n ")])}))],2)]):a("el-form-item",[a("el-input",{attrs:{size:"small",placeholder:"Enter moment.js supported format"},model:{value:t.model.dateFormat,callback:function(e){t.$set(t.model,"dateFormat",e)},expression:"model.dateFormat"}})],1)],2),t._v(" "),a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Show Time"))+"\n\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Show Time")]),t._v(" "),a("p",[t._v("\n If you select yes, then time picker will be available\n ")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-switch",{attrs:{"active-value":"yes"},model:{value:t.model.showTime,callback:function(e){t.$set(t.model,"showTime",e)},expression:"model.showTime"}}),t._v(" "),"yes"===t.model.showTime?a("select",{directives:[{name:"model",rawName:"v-model",value:t.model.timeFormat,expression:"model.timeFormat"}],on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.model,"timeFormat",e.target.multiple?a:a[0])}}},[a("option",{attrs:{value:""}},[t._v(t._s(t.$t("Select a Format")))]),t._v(" "),t._l(t.timeFormats,(function(e,n){return a("option",{key:n,domProps:{value:n}},[t._v("\n "+t._s(n)+" - (Ex: "+t._s(e)+")\n ")])}))],2):t._e()],2),t._v(" "),a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("First Day"))+"\n\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("First Day")]),t._v(" "),a("p",[t._v("\n The first day of the week, e.g. Sunday, Monday, etc.\n ")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-select",{staticClass:"nt_column_type_select",attrs:{size:"mini",placeholder:"Select first day of the week"},model:{value:t.model.firstDayOfWeek,callback:function(e){t.$set(t.model,"firstDayOfWeek",e)},expression:"model.firstDayOfWeek"}},t._l(t.weekDays,(function(t,e){return a("el-option",{key:e,attrs:{label:t,value:e}})})),1)],2)]:"number"==t.model.data_type&&t.hasPro?[a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Separator Style"))+"\n\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v(" "+t._s(t.$t("Thousand Separator")))]),t._v(" "),a("p",[t._v("\n Please Provide The Thousand/Decimal Separator If Any.\n ")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-radio-group",{on:{change:function(e){return t.changeDecimalStyle()}},model:{value:t.model.decimal_system,callback:function(e){t.$set(t.model,"decimal_system",e)},expression:"model.decimal_system"}},[a("el-radio",{attrs:{label:"us"}},[t._v("US Style - decimal point (123,234.01)")]),t._v(" "),a("el-radio",{attrs:{label:"eu"}},[t._v("European Style - decimal comma (123.234,01)")])],1)],2)]:"selection"==t.model.data_type?[a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Select Items"))+"\n\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Select Field")]),t._v(" "),a("p",[t._v("\n Use Select Field to add data in your table from predefined list\n ")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-form-item",[t.has_pro?t._e():a("p",[a("b",[t._v("Selection feature is only available on Pro version Please upgrade to\n pro to unlock this feature")])]),t._v(" "),a("el-input",{attrs:{type:"textarea",size:"small",disabled:!t.has_pro,placeholder:"Enter Select items one per line",autosize:{minRows:4,maxRows:8}},model:{value:t.model.selections,callback:function(e){t.$set(t.model,"selections",e)},expression:"model.selections"}}),t._v(" "),a("small",[t._v("Enter Select items one per line")])],1)],2),t._v(" "),a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Placeholder"))+"\n\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Placeholder")]),t._v(" "),a("p",[t._v("\n Enter the selection placeholder, default: 'Select'\n ")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-form-item",[a("el-input",{attrs:{type:"text",size:"small",disabled:!t.has_pro,placeholder:"Enter placeholder"},model:{value:t.model.placeholder,callback:function(e){t.$set(t.model,"placeholder",e)},expression:"model.placeholder"}})],1)],2),t._v(" "),a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Enable Multi-Selection"))+"\n\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Multiple Selection")]),t._v(" "),a("p",[t._v("\n If you select yes, Then admin can select multiple item on create data\n ")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-switch",{attrs:{"active-value":"yes"},model:{value:t.model.isMultiple,callback:function(e){t.$set(t.model,"isMultiple",e)},expression:"model.isMultiple"}})],2)]:"image"==t.model.data_type?[t.hasPro?t._e():[a("el-form-item",[a("p",{staticStyle:{color:"red"}},[t._v("Image upload with lightbox, download link is a pro feature. It will\n not work without Pro Version "),a("b",[a("a",{attrs:{href:"https://wpmanageninja.com/downloads/ninja-tables-pro-add-on/?utm_source=ninja-tables&utm_medium=wp&utm_campaign=wp_plugin&utm_term=upgrade",target:"_blank"}},[t._v("Please upgrade to pro")])])])])],t._v(" "),a("el-form-item",{attrs:{label:"Image Linkable?"}},[a("el-radio",{attrs:{disabled:!t.hasPro,label:"none"},model:{value:t.model.link_type,callback:function(e){t.$set(t.model,"link_type",e)},expression:"model.link_type"}},[t._v("Image Only")]),t._v(" "),a("el-radio",{attrs:{disabled:!t.hasPro,label:"image_light_box"},model:{value:t.model.link_type,callback:function(e){t.$set(t.model,"link_type",e)},expression:"model.link_type"}},[t._v("Image Lightbox")]),t._v(" "),a("el-radio",{attrs:{disabled:!t.hasPro,label:"iframe_ligtbox"},model:{value:t.model.link_type,callback:function(e){t.$set(t.model,"link_type",e)},expression:"model.link_type"}},[t._v("Iframe Lightbox")]),t._v(" "),a("el-radio",{attrs:{disabled:!t.hasPro,label:"hyperlinked"},model:{value:t.model.link_type,callback:function(e){t.$set(t.model,"link_type",e)},expression:"model.link_type"}},[t._v("Link to URL")])],1),t._v(" "),"file_download"==t.model.link_type?a("el-form-item",{attrs:{label:"Download Button Text / HTML"}},[a("el-input",{attrs:{disabled:!t.hasPro,type:"textarea",placeholder:"Download Button Text / HTML"},model:{value:t.model.download_button,callback:function(e){t.$set(t.model,"download_button",e)},expression:"model.download_button"}})],1):t._e(),t._v(" "),"hyperlinked"==t.model.link_type||"file_download"==t.model.link_type?a("el-form-item",[a("el-checkbox",{attrs:{disabled:!t.hasPro,"true-label":"_blank","false-label":"_self"},model:{value:t.model.link_target,callback:function(e){t.$set(t.model,"link_target",e)},expression:"model.link_target"}},[t._v("Open Link\n in new window\n ")])],1):t._e()]:"button"==t.model.data_type?[t.hasPro?t._e():[a("el-form-item",[a("p",{staticStyle:{color:"red"}},[t._v("Button on Table is a pro Feature. It will not work without Pro Version. "),a("b",[a("a",{attrs:{href:"https://wpmanageninja.com/downloads/ninja-tables-pro-add-on/?utm_source=ninja-tables&utm_medium=wp&utm_campaign=wp_plugin&utm_term=upgrade",target:"_blank"}},[t._v("Please upgrade to pro")])])])])],t._v(" "),a("el-form-item",{attrs:{label:"Button Text"}},[a("el-input",{attrs:{size:"small",type:"text",placeholder:"Button Text (HTML supported)"},model:{value:t.model.button_text,callback:function(e){t.$set(t.model,"button_text",e)},expression:"model.button_text"}}),t._v(" "),a("el-checkbox",{attrs:{disabled:!t.hasPro,"true-label":"_blank","false-label":"_self"},model:{value:t.model.link_target,callback:function(e){t.$set(t.model,"link_target",e)},expression:"model.link_target"}},[t._v("Open Link\n in new window\n ")]),t._v(" "),a("el-checkbox",{attrs:{disabled:!t.hasPro,"true-label":"nt_rounded_btn","false-label":""},model:{value:t.model.btn_extra_class,callback:function(e){t.$set(t.model,"btn_extra_class",e)},expression:"model.btn_extra_class"}},[t._v("Make\n Button as rounded corner\n ")])],1),t._v(" "),a("el-form-item",{attrs:{label:"Button Style"}},[a("div",{staticClass:"ninja_color_blocks"},[a("div",{staticClass:"ninja_color_block"},[a("ninja-color-picker",{attrs:{disabled:!t.hasPro,label:"Background"},model:{value:t.model.btn_bg_color,callback:function(e){t.$set(t.model,"btn_bg_color",e)},expression:"model.btn_bg_color"}})],1),t._v(" "),a("div",{staticClass:"ninja_color_block"},[a("ninja-color-picker",{attrs:{disabled:!t.hasPro,label:"Text Color"},model:{value:t.model.btn_text_color,callback:function(e){t.$set(t.model,"btn_text_color",e)},expression:"model.btn_text_color"}})],1),t._v(" "),a("div",{staticClass:"ninja_color_block"},[a("ninja-color-picker",{attrs:{disabled:!t.hasPro,label:"Border Color"},model:{value:t.model.btn_border_color,callback:function(e){t.$set(t.model,"btn_border_color",e)},expression:"model.btn_border_color"}})],1)])]),t._v(" "),a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Link With Rel Attribute"))+"\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Sponsored, Nofollow & NoReferrer")]),t._v(" "),a("p",[t._v("\n Check one or multiple a rel attribute of the column\n ")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),t.model.relAttributes?a("el-checkbox-group",{model:{value:t.model.relAttributes,callback:function(e){t.$set(t.model,"relAttributes",e)},expression:"model.relAttributes"}},t._l(["sponsored","nofollow","noreferrer"],(function(t){return a("el-checkbox",{key:t,attrs:{label:t}})})),1):t._e()],2)]:t._e(),t._v(" "),a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Responsive Breakpoint"))+"\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Responsive Breakpoint")]),t._v(" "),a("p",[t._v("\n Choose responsive breakpoints of your table columns. "),a("br"),t._v("\n For more details check "),a("a",{attrs:{href:"https://wpmanageninja.com/r/docs/ninja-tables/configure-responsive-breakdowns-for-table/?utm_source=ninja-tables"}},[t._v("documentation")]),t._v(".\n ")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-select",{attrs:{size:"mini",placeholder:"Select Responsive Breakpoint"},model:{value:t.model.breakpoints,callback:function(e){t.$set(t.model,"breakpoints",e)},expression:"model.breakpoints"}},t._l(t.breakPointsOptions,(function(t,e){return a("el-option",{key:e,attrs:{label:t,value:e}})})),1)],2),t._v(" "),"wp-posts"==t.dataSourceType?a("wp-post-dynamic-column",{attrs:{columns:t.columns,column:t.model}}):"wp_woo"==t.dataSourceType?[a("dynamic-woo-column",{attrs:{columns:t.columns,column:t.model}})]:t._e()],2),t._v(" "),a("el-tab-pane",{attrs:{label:"Advanced Settings",name:"advanced"}},[a("div",{staticClass:"advanced-settings"},[t.hasPro?t._e():a("div",{staticClass:"ninja_table_inline_upgrade"},[a("H3",[t._v("Advanced Column Settings")]),t._v(" "),a("p",[t._v("\n Customize your table's column's width, custom css class, content alignments, column styling\n with this feature.\n Advanced Column Settings is a pro feature and You can use it once you upgrade to Ninja\n Tables Pro.\n Ninja Table Pro has lots of features that will help you to build any type of Tables.\n ")]),t._v(" "),a("a",{attrs:{href:"https://wpmanageninja.com/ninja-tables/ninja-tables-pro-pricing/?utm_source=ninja-tables&utm_medium=wp&utm_campaign=advanced_column&utm_term=upgrade",target:"_blank"}},[a("button",{staticClass:"el-button el-button--danger",attrs:{type:"button"}},[a("span",[t._v("Buy Pro and Enable This Module")])])])],1),t._v(" "),a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Extra Classes"))+"\n\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Extra CSS Classes")]),t._v(" "),a("p",[t._v("\n Enter extra CSS classes to the column. "),a("br"),t._v("\n Use `space` to separate each class.\n ")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-input",{attrs:{size:"small",disabled:!t.hasPro},model:{value:t.model.classes,callback:function(e){t.$set(t.model,"classes",e)},expression:"model.classes"}})],2),t._v(" "),a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Max Width"))+"\n\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v(t._s(t.$t("Maximum Width")))]),t._v(" "),a("p",[t._v("\n Enter the maximum width of the column. This will be applied for the entire\n column\n ")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-col",{attrs:{xs:22,md:22,lg:22,xl:22}},[a("el-form-item",[a("el-input",{attrs:{size:"small",type:"number",disabled:!t.hasPro},model:{value:t.model.width,callback:function(e){t.$set(t.model,"width",e)},expression:"model.width"}})],1)],1),t._v(" "),a("el-col",{attrs:{xs:2,md:2,lg:2,xl:2}},[a("el-form-item",[a("el-select",{attrs:{size:"small",placeholder:"Select"},model:{value:t.model.maxWidthUnit,callback:function(e){t.$set(t.model,"maxWidthUnit",e)},expression:"model.maxWidthUnit"}},[a("el-option",{attrs:{label:"px",value:"px"}}),t._v(" "),a("el-option",{attrs:{label:"%",value:"%"}})],1)],1)],1)],2),t._v(" "),a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Header Text Align"))+"\n\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Header Text Alignment")]),t._v(" "),a("p",[t._v("\n Choose the text alignment. This will be applied only for header\n ")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-select",{attrs:{size:"mini",placeholder:"Text Align"},model:{value:t.model.textAlign,callback:function(e){t.$set(t.model,"textAlign",e)},expression:"model.textAlign"}},t._l(t.alignmentOptions,(function(t,e){return a("el-option",{key:e,attrs:{label:t,value:e}})})),1)],2),t._v(" "),a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Row Content Text Align"))+"\n\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Content Text Alignment")]),t._v(" "),a("p",[t._v(" Choose the text alignment for Column Rows")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-select",{attrs:{size:"mini",placeholder:"Content Alignment"},model:{value:t.model.contentAlign,callback:function(e){t.$set(t.model,"contentAlign",e)},expression:"model.contentAlign"}},t._l(t.contentAlignmentOptions,(function(t,e){return a("el-option",{key:e,attrs:{label:t,value:e}})})),1)],2),t._v(" "),a("el-form-item",[a("el-checkbox",{attrs:{disabled:!t.hasPro,value:!0,label:"Enable HTML Table Header Content"},model:{value:t.model.enable_html_content,callback:function(e){t.$set(t.model,"enable_html_content",e)},expression:"model.enable_html_content"}})],1),t._v(" "),t.model.enable_html_content?a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Header HTML Content"))+"\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Header HTML Content")]),t._v(" "),a("p",[t._v("\n Provide content for table column header if you want to show html content.\n ")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("wp_editor",{model:{value:t.model.header_html_content,callback:function(e){t.$set(t.model,"header_html_content",e)},expression:"model.header_html_content"}})],2):t._e(),t._v(" "),a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Filterable"))+"\n\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Filterable")]),t._v(" "),a("p",[t._v("\n If You enable this then this column data will not be filterable at the frontend.\n ")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-checkbox",{attrs:{disabled:!t.hasPro,"true-label":"yes","false-label":"no",value:"yes",label:"Disable frontend search for this column data"},model:{value:t.model.unfilterable,callback:function(e){t.$set(t.model,"unfilterable",e)},expression:"model.unfilterable"}})],2),t._v(" "),a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Sortable"))+"\n\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Sortable")]),t._v(" "),a("p",[t._v("\n If You enable this then this column data will not be sortable at the frontend.\n ")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-checkbox",{attrs:{disabled:!t.hasPro,"true-label":"yes","false-label":"no",value:"yes",label:"Disable frontend sorting for this column"},model:{value:t.model.unsortable,callback:function(e){t.$set(t.model,"unsortable",e)},expression:"model.unsortable"}})],2),t._v(" "),a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Column Background"))+"\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Background color")]),t._v(" "),a("p",[t._v("\n You can set background color of this particular column that will show on the\n frontend table.\n ")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-color-picker",{attrs:{disabled:!t.hasPro,"show-alpha":""},model:{value:t.model.background_color,callback:function(e){t.$set(t.model,"background_color",e)},expression:"model.background_color"}})],2),t._v(" "),a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Column Text Color"))+"\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Text Color color")]),t._v(" "),a("p",[t._v("\n You can set Column Text color of this particular column that will show on the\n frontend table.\n ")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-color-picker",{attrs:{disabled:!t.hasPro,"show-alpha":""},model:{value:t.model.text_color,callback:function(e){t.$set(t.model,"text_color",e)},expression:"model.text_color"}})],2)],1)]),t._v(" "),a("el-tab-pane",{attrs:{label:"Conditional Formatting",name:"conditional"}},[a("condition",{attrs:{column:t.model,"has-pro":t.hasPro}})],1),t._v(" "),a("el-tab-pane",{attrs:{label:"Transform Value",name:"transformer"}},[a("content-transformer",{attrs:{settings:t.settings,columns:t.columns,column:t.model}})],1),t._v(" "),a("hr",{staticStyle:{margin:"10px 0"}}),t._v(" "),a("div",{staticClass:"form_group"},[a("div",{staticClass:"pull-right"},[t.updating?[t.hideDelete?t._e():a("el-popover",{attrs:{placement:"top",width:"170",trigger:"click"},model:{value:t.showConfirm,callback:function(e){t.showConfirm=e},expression:"showConfirm"}},[a("p",[t._v("Are you sure to delete this?")]),t._v(" "),a("div",{staticStyle:{"text-align":"right",margin:"0"}},[a("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){t.showConfirm=!1}}},[t._v("cancel\n ")]),t._v(" "),a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:t.deleteColumn}},[t._v("confirm\n ")])],1),t._v(" "),t.hideDelete?t._e():a("el-button",{attrs:{slot:"reference",type:"danger",size:"small"},slot:"reference"},[t._v(t._s(t.$t("Delete"))+"\n ")])],1),t._v(" "),a("el-button",{attrs:{loading:t.doingAjax,type:"primary",size:"small"},on:{click:function(e){return e.preventDefault(),t.store.apply(null,arguments)}}},[t._v("\n "+t._s(t.$t("Update"))+"\n ")])]:[t.hideCancel?t._e():a("el-button",{attrs:{type:"danger",size:"small"},on:{click:function(e){return e.preventDefault(),t.cancel.apply(null,arguments)}}},[t._v("\n "+t._s(t.$t("Cancel"))+"\n ")]),t._v(" "),a("el-button",{attrs:{loading:t.doingAjax,type:"primary",size:"small"},on:{click:function(e){return e.preventDefault(),t.addColumn.apply(null,arguments)}}},[t._v("Add Column\n ")])]],2)])],1)],1)}),[],!1,null,null,null).exports;const Li={name:"FluentformNav",components:{FluentForm:nt},props:{config:{type:Object},tableCreated:{type:Function},isEditableMessage:{required:!0},model:{type:Object},hasPro:{type:Boolean}},data:function(){return{}}};var Ri=a(1547),Hi={insert:"head",singleton:!1};o()(Ri.Z,Hi);Ri.Z.locals;const Wi=r(Li,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"fluent-form-nav"},[a("el-collapse",[a("el-collapse-item",{attrs:{name:"1"}},[a("template",{slot:"title"},[a("i",{staticClass:"header-icon el-icon-info el-text-info"}),t._v(" "),a("strong",[t._v("Edit:")]),t._v(" "+t._s(t.isEditableMessage)+"\n ")]),t._v(" "),a("FluentForm",{attrs:{tableCreated:t.tableCreated,editing:!0,config:t.config}})],2)],1)],1)}),[],!1,null,null,null).exports;const qi={name:"External",components:{"external-data-source":st},props:{tableCreated:{type:Function},config:{type:Object},isEditableMessage:{required:!0},hasPro:{required:!0}},data:function(){return{state:!1,url:this.value,activated_features:window.ninja_table_admin.activated_features}}};var Vi=a(2010),Ui={insert:"head",singleton:!1};o()(Vi.Z,Ui);Vi.Z.locals;const Yi=r(qi,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"external-source-nav"},[a("el-collapse",[a("el-collapse-item",{attrs:{name:"1"}},[a("template",{slot:"title"},[a("i",{staticClass:"header-icon el-icon-info el-text-info"}),t._v(" "),a("strong",[t._v("Edit:")]),t._v(" "+t._s(t.isEditableMessage)+"\n ")]),t._v(" "),a("external-data-source",{attrs:{type:t.config.table.dataSourceType,tableCreated:t.tableCreated,columns:t.config.columns,table:t.config.table,hasPro:t.hasPro,editing:!0,activated_features:t.activated_features}})],2)],1)],1)}),[],!1,null,null,null).exports;const Zi={name:"RowSQLNav",components:{MySqlEditor:ht,RemoteSqlConnection:ft},props:{config:{type:Object},tableCreated:{type:Function},isEditableMessage:{required:!0},model:{type:Object},hasPro:{type:Boolean},column_count:{type:Number}},data:function(){return{error_html:"",loading:!1,active:"",connection_details:{},has_sql_permission:"yes"==window.ninja_table_admin.has_sql_permission}},methods:{updateSql:function(){var t=this;this.loading=!0,this.error_html="";var e={action:"ninja_table_raw_sql_update_sql",table_id:this.config.table.ID,sql:this.config.table.sql};"external"==this.config.table.connection_type&&(e.connection_details=this.connection_details),this.$post(e).then((function(e){"string"!=typeof e?(t.tableCreated(),t.$message({showClose:!0,message:e.data.message,type:"success"})):t.error_html=e})).fail((function(e){var a="",n=e.responseJSON.data.message;for(var i in n)a+=" "+n[i];t.$message({showClose:!0,message:a,type:"error"}),e.responseJSON.data.error&&(t.error_html=e.responseJSON.data.error)})).always((function(){t.loading=!1}))},getRemoteConnectionDetails:function(){var t=this;this.$get({action:"ninja_table_raw_sql_remote_connection_details",table_id:this.config.table.ID}).then((function(e){t.connection_details=e.data.connection_details})).fail((function(t){console.log(t)}))}},mounted:function(){this.column_count||(this.active="1"),"external"==this.config.table.connection_type&&this.getRemoteConnectionDetails()}};var Ji=a(4241),Qi={insert:"head",singleton:!1};o()(Ji.Z,Qi);Ji.Z.locals;const Xi=r(Zi,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"fluent-form-nav"},[t.has_sql_permission?a("el-collapse",{model:{value:t.active,callback:function(e){t.active=e},expression:"active"}},[a("el-collapse-item",{attrs:{name:"1"}},[a("template",{slot:"title"},[a("i",{staticClass:"header-icon el-icon-info el-text-info"}),t._v(" "),a("strong",[t._v(" Edit:")]),t._v(" "+t._s(t.isEditableMessage)+"\n ")]),t._v(" "),a("div",{staticClass:"form-group"},[a("label",[t._v(t._s(t.$t("Custom SQL Query")))]),t._v(" "),a("my-sql-editor",{attrs:{mode:"mysql",editor_id:"ninja_mysql_editor"},model:{value:t.config.table.sql,callback:function(e){t.$set(t.config.table,"sql",e)},expression:"config.table.sql"}}),t._v(" "),a("p",[t._v("Please write valid SQL query. Your written SQL query will be passed to "),a("code",[t._v("$wpdb->get_results()")]),t._v(" function")]),t._v(" "),a("p",[t._v("Check the documentation for advanced use cases: "),a("a",{attrs:{target:"_blank",rel:"noopener",href:"https://wpmanageninja.com/docs/ninja-tables/integrations/construct-table-from-custom-sql/"}},[t._v("Ninja Tables SQL Integration Documentation")])]),t._v(" "),a("p",[t._v("Available Dynamic Placeholders: "),a("code",[t._v("{current_user_id}")]),t._v(" "),a("code",[t._v("{current_date}")]),t._v(" "),a("code",[t._v("{current_date_time}")]),t._v(" "),a("code",[t._v("{current_post_id}")]),t._v(" "),a("code",[t._v("{current_post_title}")]),t._v(" "),a("code",[t._v("{prefix}")])])],1),t._v(" "),t.error_html?a("div",{staticClass:"form-group"},[a("el-alert",{attrs:{title:"SQL Error",type:"error"},on:{close:function(e){t.error_html=""}}},[a("div",{domProps:{innerHTML:t._s(t.error_html)}})])],1):t._e(),t._v(" "),a("div",{staticClass:"form-group",staticStyle:{"text-align":"right"}},[a("el-button",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{size:"small",type:"primary"},on:{click:function(e){return t.updateSql()}}},[t._v("Update SQL Query")])],1)],2),t._v(" "),"external"==t.config.table.connection_type?a("el-collapse-item",{attrs:{name:"2"}},[a("template",{slot:"title"},[a("strong",[t._v("SQL Connection Details:")])]),t._v(" "),a("remote-sql-connection",{attrs:{connection:t.connection_details}}),t._v(" "),t.error_html?a("div",{staticClass:"form-group"},[a("el-alert",{attrs:{title:"SQL Error",type:"error"},on:{close:function(e){t.error_html=""}}},[a("div",{domProps:{innerHTML:t._s(t.error_html)}})])],1):t._e(),t._v(" "),a("div",{staticClass:"form-group",staticStyle:{"text-align":"right"}},[a("el-button",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{size:"small",type:"primary"},on:{click:function(e){return t.updateSql()}}},[t._v("Update SQL Connection Details")])],1)],2):t._e()],1):[a("el-alert",{attrs:{title:"",type:"error",closable:!1}},[a("p",[t._v("\n For security reason, Custom SQL module is enabled only for Administrator user role. Please ask your site administrator to enable SQL module for other user roles."),a("br"),t._v("\n You can only see the data and update other settings but can't alter the original SQL.\n ")]),t._v(" "),a("b",[t._v("Current SQL Query: ")]),t._v(" "),a("p",[a("code",[t._v(t._s(t.config.table.sql))])])])]],2)}),[],!1,null,null,null).exports;const Gi={name:"WPPostsNav",components:{WPPosts:J,columnsEditor:Bi},props:{config:{type:Object},tableCreated:{type:Function},isEditableMessage:{required:!0},model:{type:Object},hasPro:{type:Boolean}},data:function(){return{activeNames:["1"]}},methods:{addNewColumn:function(){this.$emit("add")}}};var Ki=a(2980),to={insert:"head",singleton:!1};o()(Ki.Z,to);Ki.Z.locals;const eo=r(Gi,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"fluent-form-nav"},[a("el-collapse",{model:{value:t.activeNames,callback:function(e){t.activeNames=e},expression:"activeNames"}},[a("el-collapse-item",{attrs:{title:"Table Query Settings and New Column",name:"1"}},[a("el-tabs",{attrs:{type:"border-card"}},[a("el-tab-pane",{attrs:{label:"Table Info"}},[a("p",[t._v('This table data is created from wp-posts. Use the "Query Settings" and "Add New Column" tab to customize the columns and query.')])]),t._v(" "),a("el-tab-pane",{attrs:{label:"Query Settings"}},[a("WPPosts",{attrs:{hasPLainLayout:!0,config:t.config,tableCreated:t.tableCreated}})],1),t._v(" "),a("el-tab-pane",{attrs:{label:"Add New Column"}},[a("columns-editor",{attrs:{model:t.model,columns:t.config.columns,hasPro:t.hasPro,settings:t.config.settings,hideCancel:!0,dataSourceType:"wp-posts"},on:{add:function(e){return t.addNewColumn()}}})],1)],1)],1)],1)],1)}),[],!1,null,null,null).exports;const ao={name:"woo_nav_edit",props:["config","model"],components:{WooNav:G,ColumnsEditor:Bi},data:function(){return{query_terms:[],appearance:this.config.table.appearance_settings||{},loading:!1}},methods:{saveSettings:function(){var t=this;this.saving=!0,this.$post({action:"ninja_table_save_query_settings_woo_table",table_id:this.config.table.ID,query_selections:this.config.table.query_selections,query_conditions:this.config.table.query_conditions,appearance_settings:this.config.table.appearance_settings}).then((function(e){t.$message({showClose:!0,message:e.data.message,type:"success"}),t.$emit("reloadData",1)})).fail((function(t){})).always((function(){t.saving=!1}))},addNewColumn:function(){this.$emit("add")}},mounted:function(){}};var no=a(3589),io={insert:"head",singleton:!1};o()(no.Z,io);no.Z.locals;const oo=r(ao,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"nt-woo-nav"},[a("el-tabs",{attrs:{type:"border-card"}},[a("el-tab-pane",{staticClass:"nt-appearance",attrs:{label:"Appearance"}},[a("el-checkbox",{attrs:{"true-label":"yes","false-label":"no"},model:{value:t.appearance.show_cart_before_table,callback:function(e){t.$set(t.appearance,"show_cart_before_table",e)},expression:"appearance.show_cart_before_table"}},[t._v("Show Cart Details Before Table")]),t._v(" "),a("br"),t._v(" "),a("el-checkbox",{attrs:{"true-label":"yes","false-label":"no"},model:{value:t.appearance.show_cart_after_table,callback:function(e){t.$set(t.appearance,"show_cart_after_table",e)},expression:"appearance.show_cart_after_table"}},[t._v("Show Cart Details After Table")]),t._v(" "),a("br"),t._v(" "),a("el-checkbox",{attrs:{"true-label":"yes","false-label":"no"},model:{value:t.appearance.show_cart_button,callback:function(e){t.$set(t.appearance,"show_cart_button",e)},expression:"appearance.show_cart_button"}},[t._v("Show Go to Cart Button")]),t._v(" "),a("br"),t._v(" "),a("el-checkbox",{attrs:{"true-label":"yes","false-label":"no"},model:{value:t.appearance.show_checkout_button,callback:function(e){t.$set(t.appearance,"show_checkout_button",e)},expression:"appearance.show_checkout_button"}},[t._v("Show Checkout Button")]),t._v(" "),a("br"),t._v(" "),a("div",{staticClass:"nt-form-group"},[a("label",{attrs:{for:"cartBtnText"}},[t._v("\n Cart Text\n ")]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.appearance.cartBtnText,expression:"appearance.cartBtnText"}],attrs:{type:"text",id:"cartBtnText",placeholder:"Enter cart button text"},domProps:{value:t.appearance.cartBtnText},on:{input:function(e){e.target.composing||t.$set(t.appearance,"cartBtnText",e.target.value)}}})]),t._v(" "),a("div",{staticClass:"nt-form-group"},[a("label",{attrs:{for:"checkoutBtnText"}},[t._v("\n Checkout Text\n ")]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.appearance.checkoutBtnText,expression:"appearance.checkoutBtnText"}],attrs:{type:"text",id:"checkoutBtnText",placeholder:"Enter checkout button text"},domProps:{value:t.appearance.checkoutBtnText},on:{input:function(e){e.target.composing||t.$set(t.appearance,"checkoutBtnText",e.target.value)}}})]),t._v(" "),a("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(e){return t.saveSettings()}}},[t._v("Save Settings")])],1),t._v(" "),a("el-tab-pane",{attrs:{label:"Query Settings"}},[a("woo-nav",{attrs:{query_selections:t.config.table.query_selections,query_conditions:t.config.table.query_conditions}}),t._v(" "),a("br"),t._v(" "),a("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(e){return t.saveSettings()}}},[t._v("Save Settings")])],1),t._v(" "),a("el-tab-pane",{attrs:{label:"Add New Column"}},[a("columns-editor",{attrs:{model:t.model,columns:t.config.columns,hasPro:!0,settings:t.config.settings,hideCancel:!0,dataSourceType:"wp_woo"},on:{add:function(e){return t.addNewColumn()}}})],1)],1)],1)}),[],!1,null,null,null).exports;function lo(t){return lo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},lo(t)}a(8091).polyfill();const so=function t(e,a,n,i){var o,l=t,s="";function r(t,e){return t=t[(e=e.pop?e:e.split(".")).shift()]||"",0 in e?r(t,e):t}a=Array.isArray(a)?a:a?[a]:[],a=i?0 in a?[]:[1]:a;for(o=0;o<a.length;o++){var c,u="",d=0,p="object"==lo(a[o])?a[o]:{};(p=Object.assign({},n,p))[""]={"":a[o]},e.replace(/([\s\S]*?)({{((\/)|(\^)|#)(.*?)}}|$)/g,(function(t,e,a,n,i,o,m){d?u+=d&&!i||d>1?t:e:(s+=e.replace(/{{{(.*?)}}}|{{(!?)(&?)(>?)(.*?)}}/g,(function(t,e,a,n,i,o){return e?r(p,e):n?r(p,o):i?l(r(p,o),p):a?"":new Option(r(p,o)).innerHTML})),c=o),i?--d||(m=r(p,m),/^f/.test(lo(m))?s+=m.call(p,u,(function(t){return l(t,p)})):s+=l(u,m,p,c),u=""):++d}))}return s};var ro=a(7955),co=a.n(ro),uo=a(3311),po=a.n(uo);function mo(t){return mo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},mo(t)}const _o={name:"TableDataItems",components:{add_data_modal:ui,ninja_pagination:h,Alert:_i,DeletePopOver:bi,SortableUpgradeNotice:xi,columnsEditor:Bi,FluentFormNav:Wi,ExternalSourceNav:Yi,WPPostsNav:eo,RawSqlNav:Xi,WooNavEdit:oo,ShowEditableCell:r({name:"show_cell",props:["row","columns","column","formula_support","is_editable"],components:{mayBeSelect:ei,NinjaDatePicker:li},data:function(){return{is_editing:!1,btnLoading:!1,inital_value:""}},methods:{saveOnly:function(){},maybeSave:function(t){var e=this;if("change"!=t){var a=this.column.key,n=this.row.values[a];if(this.inital_value!=n){this.inital_value=JSON.stringify(n);var i={action:"ninja_tables_ajax_actions",target_action:"update-single-cell",row_id:this.row.id,column_key:a,column_value:n};this.btnLoading=!0,this.is_editing=!1,this.$post(i).then((function(t){console.log(t)})).fail((function(t){e.$message.error("Failed")})).always((function(){e.btnLoading=!1}))}else this.is_editing=!1}},renderTableCell:function(t,e,a){return"image"==e.data_type?"object"==mo(t)&&t?"file_download"==e.link_type?'<a target="'.concat(e.link_target,'" href="').concat(t.permalink,'">').concat(e.download_button,"</a>"):t.image_thumb?'<img src="'.concat(t.image_thumb,'" />'):"":t:"button"==e.data_type?t?'<a target="'.concat(e.link_target,'" rel="').concat(e.relAttributes.join(" "),'" class="nt_btn ').concat(e.btn_extra_class,'" style="color: ').concat(e.btn_text_color,"; background-color: ").concat(e.btn_bg_color,"; border-color: ").concat(e.btn_border_color,"\" href='").concat(t,"'>").concat(e.button_text,"</a>"):"":(Array.isArray(t)&&(t=t.join(", ")),e.transformed_value&&e.transformed_value.trim()&&(t=this.getShortcodes(t,e,this.row,this.columns),"yes"==this.formula_support)?(t=Oi.parse(t,e.decimalSeparator),","==e.decimalSeparator&&(t=function(t){var e=(t=t.toString()).split(".")[1],a=e?e.length:0;return Number(t).toLocaleString("es-ES",{minimumFractionDigits:a})}(t)),t):t)},getShortcodes:function(t,e,a,n){a=Object.assign({},a.values);var i=e.transformed_value;1!=a.value_transformation_complete&&(jQuery.each(a,(function(t,e){var i=po()(n,["key",t]);i&&"number"==i.data_type&&("."==i.decimalSeparator?a[t]=a[t]?a[t].replace(/\,/g,""):a[t]:a[t]=a[t]?a[t].replace(/\./g,"").replace(/\,/g,"."):a[t])})),a.value_transformation_complete=!0),-1!=i.indexOf("{{")&&(i=co()(so(i,{row:a})));var o=i.match(/{row.([^\}]*)}/g);return o&&$.each(o,(function(t,e){var n=e.substring(5,e.length-1);i=i.replace(e,a[n]||"")})),i},getTitle:function(t){return this.cell_editable?"Click to edit":this.isHtml(t)?"":t},isHtml:function(t){var e=(new DOMParser).parseFromString(t,"text/html");return Array.from(e.body.childNodes).some((function(t){return 1===t.nodeType}))}},computed:{cell_editable:function(){if(!this.is_editable)return!1;return-1==["image","button","html"].indexOf(this.column.data_type)}},mounted:function(){this.is_editable&&this.row.values[this.column.key]&&(this.inital_value=JSON.stringify(this.row.values[this.column.key]))}},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.btnLoading,expression:"btnLoading"}],class:t.is_editing&&t.cell_editable?"nt_cell_editing":"nt_cell"},[t.is_editing&&t.cell_editable?a("div",{staticClass:"cell_editing"},["selection"==t.column.data_type?a("may-be-select",{attrs:{size:"mini",newColumn:t.row.values,column:t.column},on:{blur:function(e){return t.maybeSave("blur")}}}):"date"==t.column.data_type?a("ninja-date-picker",{directives:[{name:"focus",rawName:"v-focus"}],attrs:{only_picker:"yes",column:t.column,new_column:t.row.values},on:{blur:function(e){return t.maybeSave("blur")}}}):"textarea"==t.column.data_type?a("textarea",{directives:[{name:"focus",rawName:"v-focus"},{name:"model",rawName:"v-model",value:t.row.values[t.column.key],expression:"row['values'][column.key]"}],key:t.column.key,staticClass:"nt_inline_textarea",domProps:{value:t.row.values[t.column.key]},on:{blur:function(e){return t.maybeSave("blur")},input:function(e){e.target.composing||t.$set(t.row.values,t.column.key,e.target.value)}}}):a("input",{directives:[{name:"focus",rawName:"v-focus"},{name:"model",rawName:"v-model",value:t.row.values[t.column.key],expression:"row['values'][column.key]"}],key:t.column.key,staticClass:"nt_cell_input",attrs:{type:"text"},domProps:{value:t.row.values[t.column.key]},on:{blur:function(e){return t.maybeSave("blur")},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.maybeSave("submit")},input:function(e){e.target.composing||t.$set(t.row.values,t.column.key,e.target.value)}}})],1):a("div",{staticClass:"cell-content",class:t.cell_editable?"nt_cell_editable":"",attrs:{title:t.getTitle(t.row.values[t.column.key])},domProps:{innerHTML:t._s(t.renderTableCell(t.row.values[t.column.key],t.column,t.row.values))},on:{click:function(e){t.is_editing=!0}}})])}),[],!1,null,null,null).exports},props:["config","getColumnSettings","hasPro"],data:function(){return{columnModal:!1,show_meta:!1,new_column:{},has_pro:!!window.ninja_table_admin.hasPro,hasSortable:!!window.ninja_table_admin.hasSortable,isCompact:!0,tableWidth:"100%",tableData:[],searchString:"",doingAjax:!1,addDataModal:!1,tableId:this.$route.params.table_id,loading:!1,syncing:!1,bulkAction:-1,selectAll:0,checkedItems:[],pageLoading:!1,items:[],paginate:{total:0,current_page:1,last_page:1,per_page:20},multipleSelection:[],updateItem:null,editIndex:null,sorting:!1,sortableInstance:null,sortableUpgradeNotice:!1,insertAfterPosition:null,showColumnEditor:!1,currentEditingColumn:!1,addDataModalTitle:"Add Row",dataModalType:"add",dataSource:"default",isUpdatingTableSettings:!1,externalDataSourceUrl:this.config.table.remoteURL,insertAfterId:!1,insertAfterHash:!1}},watch:{searchString:function(){""==this.searchString&&this.getData()},sorting:function(t){if(t){if(!this.has_pro)return this.sorting=!1,void window.ninjaTableBus.$emit("show_pro_popup");if(!this.hasSortable)return this.sorting=!1,void(this.sortableUpgradeNotice=!0)}this.toggleSorting(t)},"new_column.name":function(){this.new_column.key=ti()(this.new_column.name)}},computed:{columns:function(){return this.config&&this.config.columns?this.config.columns:[]},columnLength:function(){return this.columns.length},dataSourceType:function(){var t=this.config;return t&&"dataSourceType"in t.table?t.table.dataSourceType:"default"},isEditable:function(){var t=this.config;return!t||!("isEditable"in t.table)||t.table.isEditable},isEditableMessage:function(){var t=this.config;return t&&"isEditableMessage"in t.table?t.table.isEditableMessage:null}},methods:{getData:function(){var t=this,e={action:"ninja_tables_ajax_actions",target_action:"get-table-data",table_id:this.tableId,page:this.paginate.current_page,per_page:this.paginate.per_page,search:this.searchString,default_sorting:this.config.settings.default_sorting};return this.loading=!0,this.$get(e).success((function(e){t.items=e.data,t.dataSource=e.data_source,t.paginate.total=parseInt(e.total),t.paginate.last_page=parseInt(e.last_page)})).fail((function(t){})).always((function(){t.loading=!1}))},addTableData:function(){},getItemNumber:function(t){return this.paginate.per_page*(this.paginate.current_page-1)+(t+1)},goToPage:function(t){this.paginate.current_page=t,this.getData()},handleSizeChange:function(t){this.paginate.per_page=t,this.getData()},confirmDeleteTable:function(t){confirm(this.$t("Are you sure, You want to delete this table"))&&this.deleteTable(t)},deleteTable:function(t){var e=this,a={action:"ninja_tables_ajax_actions",target_action:"delete-a-table",table_id:t};this.$post(a).then((function(t){e.fetchTables(),alert(t.message)})).fail((function(t){alert(t.responseJSON.data.message)}))},handleSelectionChange:function(t){this.multipleSelection=t},handleBulkAction:function(){this.multipleSelection.length&&"delete"==this.bulkAction&&this.handleBulkDelete()},handleBulkDelete:function(){var t=this;this.$confirm(this.$t("This will permanently delete the selected rows. Continue?"),"Warning",{confirmButtonText:this.$t("Yes, Delete"),cancelButtonText:this.$t("Cancel"),type:"warning"}).then((function(){var e=t.multipleSelection.map((function(t){return t.id}));t.deleteItem(e)})).catch((function(){t.$message({type:"info",message:t.$t("Delete canceled")})}))},deleteItem:function(t){var e=this,a={action:"ninja_tables_ajax_actions",target_action:"delete-data",table_id:this.tableId,id:t},n=this;this.$post(a).then((function(t){e.$message({showClose:!0,message:t.message,type:"success"}),n.getData()})).fail((function(t){e.$message({showClose:!0,message:e.$t("Something is wrong! Please try again"),type:"error"})}))},closeDataModal:function(t){this.addDataModal=!1,this.editIndex=null,this.insertAfterPosition=null,this.dataModalType="add",this.insertAfterId=!1,this.insertAfterHash=!1,t&&this.getData()},updateItemOnTable:function(t){this.items[this.editIndex].values=t.values,this.items[this.editIndex].settings=t.settings,t.created_at&&(this.items[this.editIndex].created_at=t.created_at)},addItemOnTable:function(t,e){e||(e=t.position),"last-first"==e&&(e="new_first"==this.config.settings.default_sorting?"first":"last"),e?"last"==e?this.items.push(t):"first"==e?this.items.unshift(t):!1!==this.insertAfterHash?(this.insertAfterHash++,this.items.splice(this.insertAfterHash,-1,t)):this.items.push(t):this.items.unshift(t),this.insertAfterPosition&&(this.insertAfterPosition=t.position),this.insertAfterId&&(this.insertAfterId=t.id),this.paginate.total++},showUpdateModal:function(t){this.updateItem=t.row,this.editIndex=t.$index,this.addDataModal=!0,this.dataModalType="update",this.addDataModalTitle="Update Row"},addColumn:function(){this.columnModal=!0},validateColumn:function(t){return t.name?t.key?-1===Gn()(this.columns,(function(e){return e.key==t.key}))||(this.$message({showClose:!0,message:this.$t("Column Key needs to be unique. Please add a suffix / prefix to make it unique"),type:"error"}),!1):(this.$message({showClose:!0,message:this.$t("Column Key is required"),type:"error"}),!1):(this.$message({showClose:!0,message:this.$t("Name is required"),type:"error"}),!1)},addNewColumn:function(){this.validateColumn(this.new_column)&&(this.config.columns.push(this.new_column),this.setNewColumn(),this.columnModal=!1,this.storeSettings())},setNewColumn:function(){var t={name:"",key:"",breakpoints:"",data_type:"text",dateFormat:"",timeFormat:"",header_html_content:"",enable_html_content:!1};"wp-posts"===this.dataSourceType&&(t.source_type="custom"),this.new_column=t},initSortable:function(){var t=document.querySelector(".js-sortable-table tbody"),e=this;this.sortableInstance=Qn.create(t,{onEnd:function(t){var a=t.newIndex,n=t.oldIndex,i=e.items[n];e.sortTable(i.id,e.items[a].position);var o=e.items.splice(n,1)[0];e.items.splice(a,0,o)}})},toggleSorting:function(t){var e=this;t?(this.loading=!0,new Promise((function(t,a){window.ninjaTableBus.$emit("initManualSorting",{table_id:e.tableId,page:e.paginate.current_page,per_page:e.paginate.per_page,search:e.searchString,default_sorting:e.config.settings.default_sorting},t,a)})).then((function(t){e.items=t.data,e.paginate.total=parseInt(t.total),e.paginate.last_page=parseInt(t.last_page),e.config.settings.sorting_type="manual_sort",e.initSortable()})).catch((function(t){console.log(t)})).then((function(){e.loading=!1}))):this.sortableInstance&&this.sortableInstance.destroy()},sortTable:function(t,e){var a=this;this.loading=!0;var n={action:"ninja_tables_sort_table",table_id:this.tableId,id:t,newPosition:e,page:this.paginate.current_page,per_page:this.paginate.per_page,search:this.searchString,default_sorting:this.config.settings.default_sorting};this.$post(n).then((function(t){a.items=t.data,a.paginate.total=parseInt(t.total),a.paginate.last_page=parseInt(t.last_page)})).fail((function(t){console.log(t)})).always((function(){a.loading=!1}))},add:function(){this.updateItem=null,this.insertAfterPosition=null,this.addDataModal=!0,this.dataModalType="add",this.addDataModalTitle="Add Data"},addAfter:function(t){this.hasSortable?(this.updateItem=null,this.addDataModalTitle="Add Data",this.dataModalType="add-after",this.insertAfterPosition=parseInt(t.row.position),this.insertAfterHash=t.$index,this.insertAfterId=t.row.id,this.addDataModal=!0):this.sortableUpgradeNotice=!0},showColumnConfigModal:function(t){this.currentEditingColumn=this.columns.find((function(e){return e.key===t.key})),this.showColumnEditor=!0},storeSettings:function(){var t=this;window.ninjaTableBus.$emit("updateTableColumns",(function(){t.showColumnEditor=!1,t.currentEditingColumn=!1,t.dataSource&&"default"!=t.dataSource&&t.getData()}))},duplicateData:function(t){this.updateItem=JSON.parse(JSON.stringify(t.row)),this.updateItem.id=null,this.hasSortable&&(this.insertAfterPosition=t.$index+1),this.insertAfterPosition=parseInt(t.row.position),this.insertAfterHash=t.$index,this.insertAfterId=t.row.id,this.addDataModal=!0,this.dataModalType="duplicate",this.addDataModalTitle="Duplicate Data"},reloadSettingsAndData:function(){this.getColumnSettings(),this.getData()},deleteColumn:function(){var t=this,e=Gn()(this.config.columns,this.currentEditingColumn);this.showColumnEditor=!1,this.currentEditingColumn=!1,this.config.columns.splice(e,1),this.$nextTick((function(){return t.storeSettings()}))}},mounted:function(){this.getData(),this.tableWidth=jQuery(".wrap").width()+"px",this.setNewColumn()}},ho=_o;var fo=a(3836),vo={insert:"head",singleton:!1};o()(fo.Z,vo);fo.Z.locals;var bo=r(ho,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[t.isEditable?t._e():["fluent-form"==t.dataSourceType?a("div",{staticClass:"tablenav top"},[a("fluent-form-nav",{attrs:{config:t.config,model:t.new_column,hasPro:t.has_pro,"is-editable-message":t.isEditableMessage,tableCreated:t.reloadSettingsAndData}})],1):-1!=t.dataSourceType.indexOf("csv")?a("div",{staticClass:"tablenav top"},[a("external-source-nav",{attrs:{"is-editable-message":t.isEditableMessage,loading:t.syncing,config:t.config,hasPro:t.has_pro,tableCreated:t.reloadSettingsAndData},model:{value:t.externalDataSourceUrl,callback:function(e){t.externalDataSourceUrl=e},expression:"externalDataSourceUrl"}})],1):"wp-posts"==t.dataSourceType&&t.new_column?a("div",{staticClass:"tablenav top"},[a("WPPostsNav",{attrs:{config:t.config,model:t.new_column,hasPro:t.has_pro,"is-editable-message":t.isEditableMessage,tableCreated:t.reloadSettingsAndData},on:{add:function(e){return t.addNewColumn()}}})],1):"raw_sql"==t.dataSourceType?a("div",{staticClass:"tablenav top"},[a("raw-sql-nav",{attrs:{"is-editable-message":t.isEditableMessage,loading:t.syncing,config:t.config,column_count:t.columns.length,hasPro:t.has_pro,tableCreated:t.reloadSettingsAndData}})],1):"wp_woo"==t.dataSourceType?a("div",{staticClass:"tablenav top"},[a("div",{staticClass:"woo_data_source_config"},[a("woo-nav-edit",{attrs:{model:t.new_column,config:t.config},on:{add:function(e){return t.addNewColumn()},reloadData:function(e){return t.getData()}}})],1)]):t._e(),t._v(" "),t.columns.length||t.loading?t._e():a("div",[a("h3",{staticStyle:{"text-align":"center"}},[t._v("No Data found based on your data source configaration")])])],t._v(" "),t.columns.length&&t.isEditable?[t.addDataModal?a("add_data_modal",{attrs:{title:t.addDataModalTitle,show:t.addDataModal,table_id:t.tableId,columns:t.columns,item:t.updateItem,"manual-sort":"manual_sort"===t.config.settings.sorting_type,"insert-after-position":t.insertAfterPosition,insertAfterId:t.insertAfterId,type:t.dataModalType},on:{modal_close:t.closeDataModal,updateItem:t.updateItemOnTable,createItem:t.addItemOnTable}}):t._e(),t._v(" "),a("div",{staticClass:"tablenav top"},[a("div",{staticClass:"alignleft actions bulkactions"},[a("label",{staticClass:"screen-reader-text",attrs:{for:"bulk-action-selector-top"}},[t._v("\n "+t._s(t.$t("Select bulk action"))+"\n ")]),t._v(" "),a("select",{directives:[{name:"model",rawName:"v-model",value:t.bulkAction,expression:"bulkAction"}],attrs:{name:"action"},on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.bulkAction=e.target.multiple?a:a[0]}}},[a("option",{attrs:{value:"-1"}},[t._v(t._s(t.$t("Bulk Actions")))]),t._v(" "),a("option",{attrs:{value:"delete"}},[t._v(t._s(t.$t("Delete Entries")))])]),t._v(" "),a("button",{staticClass:"button action",on:{click:function(e){return e.preventDefault(),t.handleBulkAction.apply(null,arguments)}}},[t._v(t._s(t.$t("Apply")))]),t._v(" "),a("label",{staticClass:"form_group",attrs:{for:"compact_view"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.isCompact,expression:"isCompact"}],attrs:{id:"compact_view",type:"checkbox"},domProps:{checked:Array.isArray(t.isCompact)?t._i(t.isCompact,null)>-1:t.isCompact},on:{change:function(e){var a=t.isCompact,n=e.target,i=!!n.checked;if(Array.isArray(a)){var o=t._i(a,null);n.checked?o<0&&(t.isCompact=a.concat([null])):o>-1&&(t.isCompact=a.slice(0,o).concat(a.slice(o+1)))}else t.isCompact=i}}}),t._v(" Compact View\n ")]),t._v(" "),a("label",[t._v("\n | "),a("i",{staticClass:"el-icon-news",attrs:{title:"show meta data"},on:{click:function(e){t.show_meta=!t.show_meta}}})]),t._v(" "),a("label",{staticClass:"form_group search_action",attrs:{for:"search"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.searchString,expression:"searchString"}],staticClass:"form-control inline",attrs:{id:"search",placeholder:"Search",type:"text"},domProps:{value:t.searchString},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getData.apply(null,arguments)},input:function(e){e.target.composing||(t.searchString=e.target.value)}}}),t._v(" "),a("i",{staticClass:"el-icon-search",on:{click:t.getData}})]),t._v(" "),a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.sorting,expression:"sorting"}],attrs:{type:"checkbox",name:"checkbox"},domProps:{checked:Array.isArray(t.sorting)?t._i(t.sorting,null)>-1:t.sorting},on:{change:function(e){var a=t.sorting,n=e.target,i=!!n.checked;if(Array.isArray(a)){var o=t._i(a,null);n.checked?o<0&&(t.sorting=a.concat([null])):o>-1&&(t.sorting=a.slice(0,o).concat(a.slice(o+1)))}else t.sorting=i}}}),t._v("\n Sort Manually\n "),t.has_pro?t._e():[t._v("(Pro Feature)")]],2)]),t._v(" "),a("div",{staticClass:"pull-right"},[a("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(e){return t.add()}}},[t._v(" "+t._s(t.$t("Add Data")))]),t._v(" "),a("el-button",{attrs:{size:"small",type:"info"},on:{click:function(e){return t.addColumn()}}},[t._v(" "+t._s(t.$t("Add Column")))])],1)])]:t._e(),t._v(" "),t.loading||t.columns.length||!t.isEditable?t._e():a("div",{staticClass:"instruction_block",staticStyle:{"margin-top":"15px","text-align":"center"},attrs:{type:"warning"}},[a("h3",[t._v(t._s(t.$t("To get started please add table columns")))]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.addColumn()}}},[t._v("\n Add Column\n ")])],1),t._v(" "),t.columns.length?[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"js-sortable-table",class:{compact:t.isCompact,sorting:t.sorting},style:"width: "+t.tableWidth,attrs:{data:t.items,"row-key":"id",border:"","max-height":"600"},on:{"selection-change":t.handleSelectionChange}},[t.isEditable?a("el-table-column",{attrs:{type:"selection",width:"60"}}):t._e(),t._v(" "),t._l(t.columns,(function(e,n){return a("el-table-column",{key:n,attrs:{width:t.columnLength==n+1?"":150},scopedSlots:t._u([{key:"default",fn:function(n){return[a("show-editable-cell",{attrs:{row:n.row,column:e,columns:t.columns,formula_support:t.config.settings.formula_support,is_editable:t.isEditable}})]}}],null,!0)},[t._v(" "),a("template",{slot:"header"},[a("span",[t._v("\n "+t._s(e.name||e.key)+"\n\n "),a("i",{staticClass:"el-icon-setting nt-column-config",on:{click:function(a){return t.showColumnConfigModal(e)}}})])])],2)})),t._v(" "),t.isEditable?[t.show_meta?[a("el-table-column",{attrs:{label:"Row ID",width:"100px",prop:"id"}}),t._v(" "),a("el-table-column",{attrs:{label:"Created By",width:"165px",prop:"created_by"}}),t._v(" "),a("el-table-column",{attrs:{label:"Reference Date",width:"165px",prop:"created_at"}})]:t._e(),t._v(" "),a("el-table-column",{attrs:{fixed:"right",label:"Actions","class-name":"actions",width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[t.has_pro?a("a",{on:{click:function(a){return t.addAfter(e)}}},[a("el-tooltip",{attrs:{placement:"top-end",effect:"light",content:"Add Data after this row","open-delay":500}},[a("span",{staticClass:"dashicons dashicons-plus"})])],1):t._e(),t._v(" "),a("a",{on:{click:function(a){return t.showUpdateModal(e)}}},[a("el-tooltip",{attrs:{placement:"top-end",effect:"light",content:"Edit data","open-delay":500}},[a("span",{staticClass:"dashicons dashicons-edit"})])],1),t._v(" "),a("a",{on:{click:function(a){return t.duplicateData(e)}}},[a("el-tooltip",{attrs:{placement:"top-end",effect:"light",content:"Duplicate data","open-delay":500}},[a("span",{staticClass:"dashicons dashicons-admin-page"})])],1),t._v(" "),a("delete-pop-over",{on:{deleted:function(a){return t.deleteItem(e.row.id)}}})]}}],null,!1,2116760848)})]:t._e()],2),t._v(" "),a("div",{staticClass:"tablenav bottom"},[t.isEditable?a("div",{staticClass:"alignleft actions bulkactions"},[a("label",{staticClass:"screen-reader-text",attrs:{for:"bulk-action-selector-top"}},[t._v("\n "+t._s(t.$t("Select bulk action"))+"\n ")]),t._v(" "),a("select",{directives:[{name:"model",rawName:"v-model",value:t.bulkAction,expression:"bulkAction"}],attrs:{name:"action"},on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.bulkAction=e.target.multiple?a:a[0]}}},[a("option",{attrs:{value:"-1"}},[t._v(t._s(t.$t("Bulk Actions")))]),t._v(" "),a("option",{attrs:{value:"delete"}},[t._v(t._s(t.$t("Delete Entries")))])]),t._v(" "),a("button",{staticClass:"button action",on:{click:function(e){return e.preventDefault(),t.handleBulkAction.apply(null,arguments)}}},[t._v(t._s(t.$t("Apply")))])]):t._e(),t._v(" "),a("div",{staticClass:"pull-right"},[a("el-pagination",{attrs:{"current-page":t.paginate.current_page,"page-sizes":[10,20,50,100,500,2e3],"page-size":t.paginate.per_page,layout:"total, sizes, prev, pager, next, jumper",total:t.paginate.total},on:{"size-change":t.handleSizeChange,"current-change":t.goToPage,"update:currentPage":function(e){return t.$set(t.paginate,"current_page",e)},"update:current-page":function(e){return t.$set(t.paginate,"current_page",e)}}})],1)])]:t._e(),t._v(" "),a("sortable-upgrade-notice",{attrs:{show:t.sortableUpgradeNotice},on:{close:function(e){t.sortableUpgradeNotice=!1}}}),t._v(" "),a("el-dialog",{staticClass:"no_padding_body",attrs:{"close-on-click-modal":!1,"append-to-body":!0,top:"50px",title:"Edit Table Column : "+t.currentEditingColumn.name,width:"70%",visible:t.showColumnEditor},on:{"update:visible":function(e){t.showColumnEditor=e}}},[t.showColumnEditor&&t.currentEditingColumn?a("columns-editor",{attrs:{dataSourceType:t.config.table.dataSourceType,model:t.currentEditingColumn,hasPro:t.has_pro,updating:!0,columns:t.columns,settings:t.config.settings},on:{store:function(e){return t.storeSettings()},delete:function(e){return t.deleteColumn()},cancel:function(e){t.showColumnEditor=!1}}}):t._e()],1),t._v(" "),a("el-dialog",{attrs:{"close-on-click-modal":!1,top:"50px","append-to-body":!0,title:"Add Table Column",width:"70%",visible:t.columnModal},on:{"update:visible":function(e){t.columnModal=e}}},[a("columns-editor",{attrs:{model:t.new_column,hasPro:t.has_pro,columns:t.config.columns,settings:t.config.settings},on:{add:function(e){return t.addNewColumn()},cancel:function(e){t.columnModal=!t.columnModal}}})],1)],2)}),[],!1,null,null,null);const go=bo.exports;var yo=a(7361),wo=a.n(yo);const xo={name:"ninja_key_pair_options",components:{draggable:xt()},props:["value"],data:function(){return{filterArray:[]}},methods:{deleteItem:function(t){this.value.splice(t,1)},add:function(){this.value.push({label:"",value:""})}},mounted:function(){}},ko=xo;var Co=a(3835),So={insert:"head",singleton:!1};o()(Co.Z,So);Co.Z.locals;var jo=r(ko,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("table",{staticClass:"ninja_filter_table"},[t._m(0),t._v(" "),a("draggable",{attrs:{options:{handle:".handle"},list:t.value,element:"tbody"}},t._l(t.value,(function(e,n){return a("tr",[a("td",[a("span",{staticClass:"dashicons dashicons-editor-justify handle",staticStyle:{"margin-top":"10px"}})]),t._v(" "),a("td",[a("el-input",{attrs:{size:"mini",type:"text"},model:{value:e.label,callback:function(a){t.$set(e,"label",a)},expression:"filter.label"}})],1),t._v(" "),a("td",[a("el-input",{attrs:{size:"mini",type:"text"},model:{value:e.value,callback:function(a){t.$set(e,"value",a)},expression:"filter.value"}})],1),t._v(" "),a("td",[a("el-button",{attrs:{disabled:1==t.value.length,type:"danger",size:"mini"},on:{click:function(e){return t.deleteItem(n)}}},[t._v("-")]),t._v(" "),a("el-button",{directives:[{name:"show",rawName:"v-show",value:n+1==t.value.length,expression:"(index + 1) == value.length"}],attrs:{type:"success",size:"mini"},on:{click:function(e){return t.add()}}},[t._v("+")])],1)])})),0)],1)}),[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("thead",[a("tr",[a("th"),t._v(" "),a("th",[t._v("Label")]),t._v(" "),a("th",[t._v("Filter Value")])])])}],!1,null,null,null);const $o={name:"FilterEditor",components:{KeyPairOptions:jo.exports},props:["activeEditor","columnKeyPairs","columns"],computed:{current_columns:function(){if("date_picker"==this.activeEditor.type||"date_range"==this.activeEditor.type){var t=[];return X()(this.columns,(function(e){"date"==e.data_type&&t.push(e)})),t}if("number_range"==this.activeEditor.type){var e=[];return X()(this.columns,(function(t){"number"==t.data_type&&e.push(t)})),e}return this.columns},has_filter_option:function(){return-1!==["radio","checkbox"].indexOf(this.activeEditor.type)},is_manual_select_options:function(){return"select"==this.activeEditor.type&&"manual"==this.activeEditor.select_value_type},need_placeholder:function(){return-1!==["radio","select","date_picker","text_input"].indexOf(this.activeEditor.type)},need_filter_columns:function(){return!("select"==this.activeEditor.type&&"dynamic_data"==this.activeEditor.select_value_type||"reset_filter"==this.activeEditor.type)}},watch:{"activeEditor.type":function(t){"select"==t&&this.$set(this.activeEditor,"select_value_type","manual"),Array.isArray(this.activeEditor.columns)||this.$set(this.activeEditor,"columns",[])}},mounted:function(){Array.isArray(this.activeEditor.columns)||this.$set(this.activeEditor,"columns",[])}};var To=a(6030),Eo={insert:"head",singleton:!1};o()(To.Z,Eo);To.Z.locals;const Io={name:"custom_filter",props:["table_id","columns"],components:{NinjaFilterEditor:r($o,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-form",{ref:"form",staticClass:"form-wrapper",attrs:{model:t.activeEditor,"label-width":"250px"}},[a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Filter Title"))+"\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Filter Title")]),t._v(" "),a("p",[t._v("Just a Name to identify your Filter")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-input",{attrs:{size:"small"},model:{value:t.activeEditor.title,callback:function(e){t.$set(t.activeEditor,"title",e)},expression:"activeEditor.title"}})],2),t._v(" "),"reset_filter"!=t.activeEditor.type?a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Filter Label"))+"\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Prefix")]),t._v(" "),a("p",[t._v("This will show on your Table Filter")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-input",{attrs:{size:"small"},model:{value:t.activeEditor.filter_prefix,callback:function(e){t.$set(t.activeEditor,"filter_prefix",e)},expression:"activeEditor.filter_prefix"}}),t._v(" "),a("small",[t._v("Keep it blank if you don't need any filter instruction at the frontend")])],2):t._e(),t._v(" "),a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Filter UI Type"))+"\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Filter UI")]),t._v(" "),a("p",[t._v("Select the filter type that you want to show the filter in the frontend")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-radio-group",{staticClass:"spaced",model:{value:t.activeEditor.type,callback:function(e){t.$set(t.activeEditor,"type",e)},expression:"activeEditor.type"}},[a("el-radio",{attrs:{label:"select"}},[t._v("Select Dropdown")]),t._v(" "),a("el-radio",{attrs:{label:"radio"}},[t._v("Radio")]),t._v(" "),a("el-radio",{attrs:{label:"checkbox"}},[t._v("Checkbox")]),t._v(" "),a("el-radio",{attrs:{label:"date_picker"}},[t._v("Date Picker")]),t._v(" "),a("el-radio",{attrs:{label:"date_range"}},[t._v("Date Range")]),t._v(" "),a("el-radio",{attrs:{label:"text_input"}},[t._v("Text Input")]),t._v(" "),a("el-radio",{attrs:{label:"number_range"}},[t._v("Number Range")]),t._v(" "),a("el-radio",{attrs:{label:"reset_filter"}},[t._v("Reset Filter Button")])],1)],2),t._v(" "),t.need_placeholder?a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Placeholder"))+"\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("p",[t._v("This will show on as default placeholder to reset the label ( Ex: All )")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-input",{attrs:{size:"small"},model:{value:t.activeEditor.placeholder,callback:function(e){t.$set(t.activeEditor,"placeholder",e)},expression:"activeEditor.placeholder"}})],2):t._e(),t._v(" "),"select"==t.activeEditor.type?[a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Value Type"))+"\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("p",[t._v("Select How the value will be populated to the select dropdown")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-radio-group",{attrs:{size:"mini"},model:{value:t.activeEditor.select_value_type,callback:function(e){t.$set(t.activeEditor,"select_value_type",e)},expression:"activeEditor.select_value_type"}},[a("el-radio-button",{attrs:{label:"manual"}},[t._v("Manual Data")]),t._v(" "),a("el-radio-button",{attrs:{label:"dynamic_data"}},[t._v("Dynamic Data from Table Column")])],1)],2),t._v(" "),!t.is_manual_select_options&&t.activeEditor.select_value_type?[a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Target Column"))+"\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("p",[t._v("Select Column That you want to populate data")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-radio-group",{staticClass:"spaced",model:{value:t.activeEditor.dynamic_select_column,callback:function(e){t.$set(t.activeEditor,"dynamic_select_column",e)},expression:"activeEditor.dynamic_select_column"}},t._l(t.current_columns,(function(e){return a("el-radio",{key:e.key,attrs:{label:e.key}},[t._v(t._s(e.name))])})),1)],2),t._v(" "),a("el-form-item",[a("el-checkbox",{attrs:{"true-label":"yes","false-label":"no"},model:{value:t.activeEditor.parse_comma_separated,callback:function(e){t.$set(t.activeEditor,"parse_comma_separated",e)},expression:"activeEditor.parse_comma_separated"}},[t._v(" Parse Comma Separated Words")])],1),t._v(" "),a("el-form-item",[a("el-checkbox",{attrs:{"true-label":"yes","false-label":"no"},model:{value:t.activeEditor.disable_auto_sorting,callback:function(e){t.$set(t.activeEditor,"disable_auto_sorting",e)},expression:"activeEditor.disable_auto_sorting"}},[t._v(" Disable automatic filter value sorting")])],1),t._v(" "),"yes"!=t.activeEditor.disable_auto_sorting?[a("el-form-item",{attrs:{label:"Sort Dynamic Value as: "}},[a("el-radio-group",{model:{value:t.activeEditor.sorting_type,callback:function(e){t.$set(t.activeEditor,"sorting_type",e)},expression:"activeEditor.sorting_type"}},[a("el-radio",{attrs:{label:"asc"}},[t._v("Asending Way")]),t._v(" "),a("el-radio",{attrs:{label:"desc"}},[t._v("Descending Way")])],1)],1),t._v(" "),a("el-form-item",{attrs:{label:"Sort Algorithom"}},[a("el-radio-group",{model:{value:t.activeEditor.sorting_method,callback:function(e){t.$set(t.activeEditor,"sorting_method",e)},expression:"activeEditor.sorting_method"}},[a("el-radio",{attrs:{label:"text"}},[t._v("As Text Basis")]),t._v(" "),a("el-radio",{attrs:{label:"numeric"}},[t._v("As Numeric Basis")])],1)],1)]:t._e()]:t._e(),t._v(" "),a("el-form-item",[a("el-checkbox",{attrs:{"true-label":"yes","false-label":"no"},model:{value:t.activeEditor.is_multi_select,callback:function(e){t.$set(t.activeEditor,"is_multi_select",e)},expression:"activeEditor.is_multi_select"}},[t._v("Enable Multi-Select")])],1)]:t._e(),t._v(" "),t.has_filter_option||t.is_manual_select_options?[a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Filter Options"))+"\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Options")]),t._v(" "),a("p",[t._v("Provide the values that you want to show on the frontend. Your values should match your table cell data")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("key-pair-options",{model:{value:t.activeEditor.options,callback:function(e){t.$set(t.activeEditor,"options",e)},expression:"activeEditor.options"}})],2)]:t._e(),t._v(" "),"date_picker"==t.activeEditor.type?[a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Date Filter Operator"))+"\n ")]),t._v(" "),a("el-radio-group",{model:{value:t.activeEditor.filter_operator,callback:function(e){t.$set(t.activeEditor,"filter_operator",e)},expression:"activeEditor.filter_operator"}},[a("el-radio",{attrs:{label:"less"}},[t._v("Less Than Equal")]),t._v(" "),a("el-radio",{attrs:{label:"greater"}},[t._v("Greater Than Equal")]),t._v(" "),a("el-radio",{attrs:{label:"equal"}},[t._v("Equal")])],1)],2)]:"date_range"==t.activeEditor.type||"number_range"==t.activeEditor.type?[a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("From Placeholder"))+"\n ")]),t._v(" "),a("el-input",{attrs:{size:"small",placeholder:"From Placeholder"},model:{value:t.activeEditor.from_placeholder,callback:function(e){t.$set(t.activeEditor,"from_placeholder",e)},expression:"activeEditor.from_placeholder"}})],2),t._v(" "),a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("To Placeholder"))+"\n ")]),t._v(" "),a("el-input",{attrs:{size:"small",placeholder:"To Placeholder"},model:{value:t.activeEditor.to_placeholder,callback:function(e){t.$set(t.activeEditor,"to_placeholder",e)},expression:"activeEditor.to_placeholder"}})],2)]:t._e(),t._v(" "),"text_input"==t.activeEditor.type?a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Filter Prefix"))+"\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Filter Prefix")]),t._v(" "),a("p",[t._v("You can use filter prefix to append the value of user inputed value. It will join with the value and perform the search")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("el-input",{attrs:{size:"small",placeholder:"Filter Prefix"},model:{value:t.activeEditor.filter_value_prefix,callback:function(e){t.$set(t.activeEditor,"filter_value_prefix",e)},expression:"activeEditor.filter_value_prefix"}})],2):t._e(),t._v(" "),t.need_filter_columns?a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Filter Columns"))+"\n "),a("el-tooltip",{staticClass:"item",attrs:{placement:"bottom-start",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("h3",[t._v("Columns")]),t._v(" "),a("p",[t._v("Select the columns that you want to apply this filter")])]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),t.current_columns.length?a("el-checkbox-group",{model:{value:t.activeEditor.columns,callback:function(e){t.$set(t.activeEditor,"columns",e)},expression:"activeEditor.columns"}},t._l(t.current_columns,(function(e){return a("el-checkbox",{key:e.key,attrs:{label:e.key}},[t._v(t._s(e.name))])})),1):a("div",[t._v("\n Sorry, No corresponding columns found based on your selection and column's data type\n ")])],2):t._e(),t._v(" "),"reset_filter"==t.activeEditor.type?a("el-form-item",[a("template",{slot:"label"},[t._v("\n "+t._s(t.$t("Button Text"))+"\n ")]),t._v(" "),a("el-input",{attrs:{size:"mini"},model:{value:t.activeEditor.placeholder,callback:function(e){t.$set(t.activeEditor,"placeholder",e)},expression:"activeEditor.placeholder"}})],2):t._e(),t._v(" "),a("el-form-item",[a("el-checkbox",{attrs:{"true-label":"yes","false-label":"no"},model:{value:t.activeEditor.strict,callback:function(e){t.$set(t.activeEditor,"strict",e)},expression:"activeEditor.strict"}},[t._v("Enable Strict Mode (If Enable, Ninja Table will try to match exact value)")])],1)],2)}),[],!1,null,"7c7cfd0a",null).exports,draggable:xt()},data:function(){return{loading:!1,saving:!1,hasPro:!!window.ninja_table_admin.hasPro,hasAdvancedFilters:!!window.ninja_table_admin.hasAdvancedFilters,table_filters:[],activeEditor:!1,editorModal:!1,addFilterModal:!1,filter_styling:{filter_display_type:"",filter_columns:"columns_2",filter_column_label:"new_line"}}},computed:{columnKeyPairs:function(){var t={};return X()(this.columns,(function(e){t[e.key]=e.name})),t}},methods:{each:X(),fetchFilters:function(){var t=this;this.loading=!0,this.$get({action:"ninjatable_get_custom_table_filters",table_id:this.table_id}).then((function(e){t.table_filters=e.data.table_filters,t.filter_styling=e.data.filter_styling})).fail((function(t){})).always((function(){t.loading=!1}))},updateFilter:function(t){this.validateFilter(t)&&this.saveFilters()},validateFilter:function(t){return t.title?t.options.length?"reset_filter"==t.type||"select"==t.type||t.columns.length?!("select"==t.type&&"dynamic_data"==t.select_value_type&&!t.dynamic_select_column)||(this.$message.error("Please Select Target Column"),!1):(this.$message.error("Please Select columns that you need to add filter"),!1):(this.$message.error("Please Provide Filter Options"),!1):(this.$message.error("Please Provide Filter Title"),!1)},saveFilters:function(){var t=this;this.saving=!0,this.$post({action:"ninjatable_update_custom_table_filters",table_id:this.table_id,ninja_filters:this.table_filters,filter_styling:this.filter_styling}).then((function(e){t.$message.success(e.data.message)})).fail((function(t){})).always((function(){t.saving=!1,t.activeEditor=!1,t.editorModal=!1,t.addFilterModal=!1}))},showAddFilter:function(){this.activeEditor={placeholder:"All",options:[{value:"",label:""}],type:"select",columns:[],strict:"no",title:""},this.addFilterModal=!0},addFilter:function(t){var e=this;this.validateFilter(t)&&(this.table_filters.push(t),this.$nextTick((function(){e.saveFilters()})))},edit:function(t){this.activeEditor=t,this.editorModal=!0},deleteFilter:function(t){this.table_filters.splice(t,1),this.saveFilters()}},mounted:function(){this.hasAdvancedFilters&&this.fetchFilters()}};const Do=r(Io,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ninja_custom_filter_wrapper"},[t._m(0),t._v(" "),a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"ninja_style_wrapper",staticStyle:{margin:"25px 0"}},[t.hasAdvancedFilters?a("div",{staticClass:"section_block"},[a("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(e){return t.showAddFilter()}}},[t._v("Add New Filter")]),t._v(" "),t.table_filters.length?[a("table",{staticClass:"wp-list-table table-bordered widefat fixed striped",staticStyle:{margin:"20px 0"}},[t._m(1),t._v(" "),a("draggable",{attrs:{options:{handle:".handle"},list:t.table_filters,element:"tbody"},on:{change:function(e){return t.saveFilters()}}},t._l(t.table_filters,(function(e,n){return a("tr",[a("td",[a("span",{staticClass:"dashicons dashicons-editor-justify handle"}),t._v(" "+t._s(e.title))]),t._v(" "),a("td",[t._v(t._s(e.type))]),t._v(" "),a("td",t._l(e.columns,(function(e){return a("code",{directives:[{name:"show",rawName:"v-show",value:t.columnKeyPairs[e],expression:"columnKeyPairs[columnKey]"}]},[t._v("\n "+t._s(t.columnKeyPairs[e])+"\n ")])})),0),t._v(" "),a("td",[a("el-button",{attrs:{size:"mini",type:"primary",icon:"el-icon-edit"},on:{click:function(a){return t.edit(e)}}}),t._v(" "),a("el-button",{attrs:{size:"mini",type:"danger",icon:"el-icon-delete"},on:{click:function(e){return t.deleteFilter(n)}}})],1)])})),0)],1),t._v(" "),a("h3",[t._v("Filter Appearance")]),t._v(" "),a("el-radio-group",{model:{value:t.filter_styling.filter_display_type,callback:function(e){t.$set(t.filter_styling,"filter_display_type",e)},expression:"filter_styling.filter_display_type"}},[a("el-radio",{attrs:{label:"inline"}},[t._v("Show filter inputs as inline")]),t._v(" "),a("el-radio",{attrs:{label:"columns"}},[t._v("Show filter inputs as Columns")])],1),t._v(" "),"columns"==t.filter_styling.filter_display_type?[a("h3",[t._v("Filter Columns")]),t._v(" "),a("el-radio-group",{attrs:{size:"mini"},model:{value:t.filter_styling.filter_columns,callback:function(e){t.$set(t.filter_styling,"filter_columns",e)},expression:"filter_styling.filter_columns"}},[a("el-radio-button",{attrs:{label:"columns_2"}},[t._v("Two Columns")]),t._v(" "),a("el-radio-button",{attrs:{label:"columns_3"}},[t._v("Three Columns")]),t._v(" "),a("el-radio-button",{attrs:{label:"columns_4"}},[t._v("Four Columns")])],1)]:t._e(),t._v(" "),a("h3",[t._v("Progressive Filter")]),t._v(" "),a("el-checkbox",{attrs:{"true-label":"yes","false-label":"no"},model:{value:t.filter_styling.progressive,callback:function(e){t.$set(t.filter_styling,"progressive",e)},expression:"filter_styling.progressive"}},[t._v("Enable Progressive filter for dynamic filter options")]),t._v(" "),a("div",{staticClass:"form_group",staticStyle:{"margin-top":"20px"}},[a("el-button",{attrs:{loading:t.saving,size:"small",type:"success"},on:{click:t.saveFilters}},[t._v("Update Settings")])],1)]:t._e()],2):t.hasPro?a("div",{staticClass:"section_block"},[t._m(2)]):a("div",{staticClass:"section_block text-center"},[t._m(3),t._v(" "),a("a",{staticClass:"el-button el-button--danger",attrs:{target:"_blank",href:"https://wpmanageninja.com/ninja-tables/ninja-tables-pro-pricing/?utm_source=ninja-tables&utm_medium=wp&utm_campaign=custom_filters&utm_term=upgrade"}},[t._v("Purchase Now")])])]),t._v(" "),a("el-dialog",{attrs:{title:"Edit Custom Filter",visible:t.editorModal,width:"70%",top:"50px","append-to-body":!0},on:{"update:visible":function(e){t.editorModal=e}}},[t.activeEditor?a("ninja-filter-editor",{attrs:{columns:t.columns,columnKeyPairs:t.columnKeyPairs,activeEditor:t.activeEditor}}):t._e(),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.editorModal=!1}}},[t._v("Cancel")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.updateFilter(t.activeEditor)}}},[t._v("Update")])],1)],1),t._v(" "),a("el-dialog",{attrs:{title:"Add New Custom Filter",visible:t.addFilterModal,width:"70%",top:"50px","append-to-body":!0},on:{"update:visible":function(e){t.addFilterModal=e}}},[t.activeEditor?a("ninja-filter-editor",{attrs:{columns:t.columns,columnKeyPairs:t.columnKeyPairs,activeEditor:t.activeEditor}}):t._e(),t._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.addFilterModal=!1}}},[t._v("Cancel")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.addFilter(t.activeEditor)}}},[t._v("Add")])],1)],1)],1)}),[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ninja_header"},[a("h2",{staticClass:"ninja_block"},[t._v("Custom Search Filters")]),t._v(" "),a("p",[t._v("\n Custom Search Filters is useful if you want to add select box / Radio Button to show a group of rows of\n your table.\n "),a("br"),t._v("\n To learn more about this "),a("a",{attrs:{target:"_blank",href:"https://wpmanageninja.com/docs/ninja-tables/custom-filters-on-ninja-tables/"}},[t._v("click\n here")])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("thead",[a("tr",[a("th",[t._v("Name")]),t._v(" "),a("th",[t._v("Type")]),t._v(" "),a("th",[t._v("Target Columns")]),t._v(" "),a("th",[t._v("Action")])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("h3",[t._v("Custom Filters is introduced in version 2.4.0. Please update "),a("b",[t._v("Ninja tables pro")]),t._v(" plugin to use\n this feature")])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("h3",[t._v("Custom Filters is pro only features. Please purchase "),a("b",[t._v('"Ninja Tables Pro"')]),t._v(" to use this feature\n ")])}],!1,null,null,null).exports;const Po=r({name:"ninja_language_settings",props:["tableSettings"],methods:{storeSettings:function(){this.$emit("storeSettings")}}},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ninja_Language_settings"},[a("div",{staticClass:"ninja_header"},[a("h2",[t._v("Language Settings")]),t._v(" "),a("div",{staticClass:"ninja_actions_action"},[a("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(e){return t.storeSettings()}}},[t._v(" "+t._s(t.$t("Update Configuration")))])],1)]),t._v(" "),a("div",{staticClass:"ninja_style_wrapper"},[a("div",{staticClass:"section_block"},[a("div",{staticClass:"language_block"},[a("div",{staticClass:"form_group"},[a("label",{attrs:{for:"no_result_text"}},[t._v("Empty Results Text:")]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.tableSettings.no_result_text,expression:"tableSettings.no_result_text"}],staticClass:"form_control",attrs:{id:"no_result_text",type:"text",autocomplete:"off"},domProps:{value:t.tableSettings.no_result_text},on:{input:function(e){e.target.composing||t.$set(t.tableSettings,"no_result_text",e.target.value)}}}),t._v(" "),a("small",[t._v("The text to display if the table contains no rows.")])]),t._v(" "),a("div",{staticClass:"form_group"},[a("label",{attrs:{for:"search_box_placeholder"}},[t._v("Search Box Placeholder Text")]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.tableSettings.search_placeholder,expression:"tableSettings.search_placeholder"}],staticClass:"form_control",attrs:{id:"search_box_placeholder",type:"text",autocomplete:"off"},domProps:{value:t.tableSettings.search_placeholder},on:{input:function(e){e.target.composing||t.$set(t.tableSettings,"search_placeholder",e.target.value)}}}),t._v(" "),a("small",[t._v("Search Box Placeholder")])]),t._v(" "),a("div",{staticClass:"form_group"},[a("label",{attrs:{for:"search_box_in"}},[t._v("Search Dropdown Heading")]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.tableSettings.search_in_text,expression:"tableSettings.search_in_text"}],staticClass:"form_control",attrs:{id:"search_box_in",type:"text",autocomplete:"off"},domProps:{value:t.tableSettings.search_in_text},on:{input:function(e){e.target.composing||t.$set(t.tableSettings,"search_in_text",e.target.value)}}}),t._v(" "),a("small",[t._v("Search Dropdown Box Title")])])])])])])}),[],!1,null,null,null).exports;const Ao=r({name:"ninja-rendering_settings",props:["tableSettings","config"],data:function(){return{hasPro:!!window.ninja_table_admin.hasPro}},methods:{storeSettings:function(){this.$emit("storeSettings")},changeTableType:function(t){if(!this.hasPro&&"legacy_table"==t)return window.ninjaTableBus.$emit("show_pro_popup",1),void(this.tableSettings.render_type="ajax_table");this.tableSettings.render_type=t}}},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ninja_rendering_settings"},[a("div",{staticClass:"ninja_header"},[a("h2",[t._v("Table Render Settings")]),t._v(" "),a("div",{staticClass:"ninja_actions_action"},[a("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(e){return t.storeSettings()}}},[t._v(" "+t._s(t.$t("Update Configuration")))])],1)]),t._v(" "),a("div",{staticClass:"ninja_style_wrapper"},[a("div",{staticClass:"ninja_section_block_body"},[a("div",{staticClass:"section_block_item"},[a("p",[t._v("Please the select the settings for your table render method. Using Legacy table you can use\n shortcodes in your cells and it will render the full table from php side. Table styles will be\n same for both tables. Most of the cases you will need Ajax Table which is recommended\n settings.")]),t._v(" "),a("div",{staticClass:"card_block"},[a("div",{staticClass:"section_card",class:"ajax_table"==t.tableSettings.render_type?"selected_type":"",on:{click:function(e){return t.changeTableType("ajax_table")}}},[a("div",{directives:[{name:"show",rawName:"v-show",value:"ajax_table"==t.tableSettings.render_type,expression:"tableSettings.render_type == 'ajax_table'"}],staticClass:"selected_ribbon"},[t._v("Selected\n ")]),t._v(" "),a("h4",[t._v("Ajax Table")]),t._v(" "),a("p",[t._v("\n Use this settings if you have lots of data and don't need cell merge features. It will\n load your data over ajax. Please note that, shortcodes in table will not work here.\n ")])]),t._v(" "),a("div",{staticClass:"section_card",class:"legacy_table"==t.tableSettings.render_type?"selected_type":"",on:{click:function(e){return t.changeTableType("legacy_table")}}},[a("div",{directives:[{name:"show",rawName:"v-show",value:"legacy_table"==t.tableSettings.render_type,expression:"tableSettings.render_type == 'legacy_table'"}],staticClass:"selected_ribbon"},[t._v("Selected\n ")]),t._v(" "),a("h4",[t._v("Advanced Table (Legacy)")]),t._v(" "),t._m(0)])])]),t._v(" "),t.config.table.hasCacheFeature?a("div",{staticClass:"section_block_item"},[a("h3",[t._v("\n Disable Caching\n "),a("el-tooltip",{attrs:{placement:"right",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[t._v("\n To optimize and load faster, we cache the table "),a("br"),t._v("\n contents. It's not recommended to disable "),a("br"),t._v("\n caching unless you know what you are doing\n ")]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("div",{staticClass:"caching-block"},[a("div",{staticClass:"form-group"},[a("span",{staticStyle:{"margin-right":"5px"}},[t._v("Display Frontend Loader")]),t._v(" "),a("el-switch",{attrs:{"active-value":"yes","inactive-value":"no"},model:{value:t.tableSettings.frontend_loader,callback:function(e){t.$set(t.tableSettings,"frontend_loader",e)},expression:"tableSettings.frontend_loader"}})],1)]),t._v(" "),a("div",{staticClass:"caching-block"},[a("div",{staticClass:"form-group"},[a("span",{staticStyle:{"margin-right":"5px"}},[t._v("Disable Caching")]),t._v(" "),a("el-switch",{attrs:{"active-value":"yes","inactive-value":"no"},model:{value:t.tableSettings.shouldNotCache,callback:function(e){t.$set(t.tableSettings,"shouldNotCache",e)},expression:"tableSettings.shouldNotCache"}})],1)])]):t._e(),t._v(" "),t.config.table.hasExternalCachingInterval?a("div",{staticClass:"section_block_item"},[a("h3",[t._v("\n Caching Interval\n "),a("el-tooltip",{attrs:{placement:"right",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[t._v("\n To optimize and load faster, You can cache the table data for certain minutes "),a("br"),t._v("\n so the data will load from cached data. Please Provide the value in minutes.\n ")]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("div",{staticClass:"caching-block"},[a("div",{staticClass:"form-group",staticStyle:{"max-width":"400px"}},[a("span",{staticStyle:{"margin-right":"5px"}},[t._v("Caching Interval (In Minutes)")]),t._v(" "),a("el-input",{attrs:{type:"number",size:"small"},model:{value:t.tableSettings.caching_interval,callback:function(e){t.$set(t.tableSettings,"caching_interval",e)},expression:"tableSettings.caching_interval"}}),t._v(" "),a("p",[t._v("Keep Blank or 0 to disable caching for table data")]),t._v(" "),t.tableSettings.caching_interval>60?a("p",[t._v("Current Caching Interval: "),a("b",[t._v(t._s((t.tableSettings.caching_interval/60).toFixed(2))+" hours")])]):t._e()],1)])]):t._e(),t._v(" "),"legacy_table"==t.config.settings.render_type&&"yes"!=t.tableSettings.shouldNotCache?a("div",{staticClass:"section_block_item"},[a("h3",[t._v("\n Enable Full HTML Cache\n "),a("el-tooltip",{attrs:{placement:"right",effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[t._v("\n If you enable this then ninja tables will cache the full html of the table and"),a("br"),t._v("\n render that without interact with database. You can set the time how many minutes it will cache each iteration.\n ")]),t._v(" "),a("i",{staticClass:"el-icon-info el-text-info"})])],1),t._v(" "),a("div",{staticClass:"caching-block"},[a("div",{staticClass:"form-group"},[a("span",{staticStyle:{"margin-right":"5px"}},[t._v("Enable HTML Caching")]),t._v(" "),a("el-switch",{attrs:{"active-value":"yes","inactive-value":"no"},model:{value:t.tableSettings.enable_html_cache,callback:function(e){t.$set(t.tableSettings,"enable_html_cache",e)},expression:"tableSettings.enable_html_cache"}})],1),t._v(" "),"yes"==t.tableSettings.enable_html_cache?a("div",{staticClass:"form-group"},[a("div",{staticClass:"form-group",staticStyle:{"max-width":"400px"}},[a("span",{staticStyle:{"margin-right":"5px"}},[t._v("Caching Interval (In Minutes)")]),t._v(" "),a("el-input",{attrs:{type:"number",size:"small"},model:{value:t.tableSettings.html_caching_minutes,callback:function(e){t.$set(t.tableSettings,"html_caching_minutes",e)},expression:"tableSettings.html_caching_minutes"}}),t._v(" "),t.tableSettings.html_caching_minutes>60?a("p",[t._v("Current Caching Interval: "),a("b",[t._v(t._s((t.tableSettings.html_caching_minutes/60).toFixed(2))+" hours")])]):t._e()],1)]):t._e()])]):t._e()])])])}),[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("p",[t._v("\n Recommended settings for advanced features\n ")]),t._v(" "),a("ul",{staticClass:"ninja_render_features"},[a("li",[a("span",{staticClass:"dashicons dashicons-yes"}),t._v(" Colspan ( Cell-Merge )")]),t._v(" "),a("li",[a("span",{staticClass:"dashicons dashicons-yes"}),t._v(" Server Side Dom-Generation")]),t._v(" "),a("li",[a("span",{staticClass:"dashicons dashicons-yes"}),t._v(" Render shortcode into table cells\n ")]),t._v(" "),a("li",[a("span",{staticClass:"dashicons dashicons-yes"}),t._v(" Better for SEO")])])])}],!1,null,null,null).exports;const No=r({name:"button_settings",components:{wpEditor:k},props:["table_id"],data:function(){return{table_buttons:{csv:{status:"no",label:"CSV",all_rows:"no"},print:{status:"no",label:"Print",all_rows:"no",header_each_page:"no",footer_each_page:"no"}},fetching:!1,saving:!1,button_positions:{after_search_box:"After Search Box",before_table:"Before of the table",after_table:"Bottom of the table"},buttonAlignments:{ninja_buttons_left:"Left",ninja_buttons_center:"Center",ninja_buttons_right:"Right"},hasPro:!!window.ninja_table_admin.hasPro}},methods:{getSettings:function(){var t=this;this.fetching=!0,this.$get({action:"ninja_tables_ajax_actions",target_action:"get_button_settings",table_id:this.table_id}).then((function(e){t.table_buttons=e.data.button_settings})).fail((function(t){})).always((function(){t.fetching=!1}))},saveSettings:function(){var t=this;this.saving=!0,this.$post({action:"ninja_tables_ajax_actions",target_action:"update_button_settings",table_id:this.table_id,button_settings:this.table_buttons}).then((function(e){t.$message({showClose:!0,message:e.data.message,type:"success"})})).fail((function(t){})).always((function(){t.saving=!1}))}},mounted:function(){this.getSettings()}},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ninja_Language_settings"},[t._m(0),t._v(" "),t.hasPro?a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.fetching,expression:"fetching"}],staticClass:"ninja_style_wrapper"},[a("div",{staticClass:"section_block",staticStyle:{"max-width":"800px"}},[a("h3",[t._v("CSV Export Button Settings")]),t._v(" "),a("div",{staticClass:"form_group"},[a("el-checkbox",{attrs:{"true-label":"yes","false-label":"no"},model:{value:t.table_buttons.csv.status,callback:function(e){t.$set(t.table_buttons.csv,"status",e)},expression:"table_buttons.csv.status"}},[t._v("\n Enable CSV Export Button\n ")])],1),t._v(" "),"yes"==t.table_buttons.csv.status?[a("div",{staticClass:"form_group",staticStyle:{"max-width":"500px"}},[a("label",[t._v("Button Label")]),t._v(" "),a("el-input",{attrs:{size:"mini",placeholder:"Button Text"},model:{value:t.table_buttons.csv.label,callback:function(e){t.$set(t.table_buttons.csv,"label",e)},expression:"table_buttons.csv.label"}})],1),t._v(" "),a("div",{staticClass:"form_group"},[a("label",[t._v("Button Background Color")]),t._v(" "),a("el-color-picker",{attrs:{"show-alpha":""},model:{value:t.table_buttons.csv.bg_color,callback:function(e){t.$set(t.table_buttons.csv,"bg_color",e)},expression:"table_buttons.csv.bg_color"}})],1),t._v(" "),a("div",{staticClass:"form_group"},[a("label",[t._v("Button Text Color")]),t._v(" "),a("el-color-picker",{attrs:{"show-alpha":""},model:{value:t.table_buttons.csv.text_color,callback:function(e){t.$set(t.table_buttons.csv,"text_color",e)},expression:"table_buttons.csv.text_color"}})],1),t._v(" "),a("div",{staticClass:"form_group"},[a("el-checkbox",{attrs:{"true-label":"yes","false-label":"no"},model:{value:t.table_buttons.csv.plainText,callback:function(e){t.$set(t.table_buttons.csv,"plainText",e)},expression:"table_buttons.csv.plainText"}},[t._v("\n Export as Plain Text\n ")])],1)]:t._e(),t._v(" "),a("hr"),t._v(" "),a("h3",[t._v("Print Button Settings")]),t._v(" "),a("div",{staticClass:"form_group"},[a("el-checkbox",{attrs:{"true-label":"yes","false-label":"no"},model:{value:t.table_buttons.print.status,callback:function(e){t.$set(t.table_buttons.print,"status",e)},expression:"table_buttons.print.status"}},[t._v("Enable Print\n Button\n ")])],1),t._v(" "),"yes"==t.table_buttons.print.status?[a("div",{staticClass:"form_group",staticStyle:{"max-width":"500px"}},[a("label",[t._v("Button Label")]),t._v(" "),a("el-input",{attrs:{size:"mini",placeholder:"Button Text"},model:{value:t.table_buttons.print.label,callback:function(e){t.$set(t.table_buttons.print,"label",e)},expression:"table_buttons.print.label"}})],1),t._v(" "),a("div",{staticClass:"form_group form_row_full"},[a("div",{staticClass:"form_row_half"},[a("label",[t._v("Button Background Color")]),t._v(" "),a("el-color-picker",{attrs:{"show-alpha":""},model:{value:t.table_buttons.print.bg_color,callback:function(e){t.$set(t.table_buttons.print,"bg_color",e)},expression:"table_buttons.print.bg_color"}})],1),t._v(" "),a("div",{staticClass:"form_row_half"},[a("div",{staticClass:"form_group"},[a("label",[t._v("Button Text Color")]),t._v(" "),a("el-color-picker",{attrs:{"show-alpha":""},model:{value:t.table_buttons.print.text_color,callback:function(e){t.$set(t.table_buttons.print,"text_color",e)},expression:"table_buttons.print.text_color"}})],1)])]),t._v(" "),a("el-collapse",{attrs:{accordion:""}},[a("el-collapse-item",{attrs:{title:"Print Screen Header",name:"header"}},[[a("label",[t._v("Header in each page")]),t._v(" "),a("el-radio",{attrs:{label:"yes"},model:{value:t.table_buttons.print.header_each_page,callback:function(e){t.$set(t.table_buttons.print,"header_each_page",e)},expression:"table_buttons.print.header_each_page"}},[t._v("Yes")]),t._v(" "),a("el-radio",{attrs:{label:"no"},model:{value:t.table_buttons.print.header_each_page,callback:function(e){t.$set(t.table_buttons.print,"header_each_page",e)},expression:"table_buttons.print.header_each_page"}},[t._v("No")])],t._v(" "),a("wp-editor",{model:{value:t.table_buttons.print.header_html,callback:function(e){t.$set(t.table_buttons.print,"header_html",e)},expression:"table_buttons.print.header_html"}})],2),t._v(" "),a("el-collapse-item",{attrs:{title:"Print Screen Footer",name:"footer"}},[[a("label",[t._v("Footer in each page")]),t._v(" "),a("el-radio",{attrs:{label:"yes"},model:{value:t.table_buttons.print.footer_each_page,callback:function(e){t.$set(t.table_buttons.print,"footer_each_page",e)},expression:"table_buttons.print.footer_each_page"}},[t._v("Yes")]),t._v(" "),a("el-radio",{attrs:{label:"no"},model:{value:t.table_buttons.print.footer_each_page,callback:function(e){t.$set(t.table_buttons.print,"footer_each_page",e)},expression:"table_buttons.print.footer_each_page"}},[t._v("No")])],t._v(" "),a("wp-editor",{model:{value:t.table_buttons.print.footer_html,callback:function(e){t.$set(t.table_buttons.print,"footer_html",e)},expression:"table_buttons.print.footer_html"}})],2)],1)]:t._e(),t._v(" "),a("hr"),t._v(" "),a("h3",[t._v("Buttons Position")]),t._v(" "),a("div",{staticClass:"form_group"},[a("el-radio-group",{attrs:{size:"small"},model:{value:t.table_buttons.button_position,callback:function(e){t.$set(t.table_buttons,"button_position",e)},expression:"table_buttons.button_position"}},t._l(t.button_positions,(function(e,n){return a("el-radio-button",{key:n,attrs:{label:n}},[t._v(t._s(e))])})),1)],1),t._v(" "),a("div",{staticClass:"form_group"},[a("label",[t._v("Buttons Alignment")]),t._v(" "),a("el-radio-group",{attrs:{size:"small"},model:{value:t.table_buttons.button_alignment,callback:function(e){t.$set(t.table_buttons,"button_alignment",e)},expression:"table_buttons.button_alignment"}},t._l(t.buttonAlignments,(function(e,n){return a("el-radio-button",{key:n,attrs:{label:n}},[t._v(t._s(e))])})),1)],1),t._v(" "),t.hasPro?a("div",{staticClass:"form_group"},[a("el-button",{attrs:{loading:t.saving,disabled:t.saving,size:"small",type:"success"},on:{click:function(e){return t.saveSettings()}}},[t._v("Update Settings")])],1):t._e()],2)]):a("div",{staticClass:"section_block text-center",staticStyle:{width:"100%",display:"block",padding:"20px"}},[t._m(1),t._v(" "),a("a",{staticClass:"el-button el-button--danger",attrs:{target:"_blank",href:"https://wpmanageninja.com/ninja-tables/ninja-tables-pro-pricing/?utm_source=ninja-tables&utm_medium=wp&utm_campaign=custom_filters&utm_term=upgrade"}},[t._v("Purchase Now")])])])}),[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ninja_header"},[a("h2",[t._v("CSV Export / Print Button Settings for Frontend")]),t._v(" "),a("p",[t._v("You can enable/disable print and csv export settings here")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("h3",[t._v("Export CSV and Table Print is pro only features. Please purchase "),a("b",[t._v('"Ninja Tables Pro"')]),t._v(" to use this feature\n ")])}],!1,null,null,null).exports,Oo={name:"TableConfiguration",components:{draggable:xt(),ColumnsEditor:Bi,NinjaCustomFilters:Do,NinjaLanguageSettings:Po,NinjaRenderingSettings:Ao,NinjaButtonSettings:No},props:["config"],data:function(){return{hasPro:!!window.ninja_table_admin.hasPro,active_menu:"columns",table_color_primary:"#000",table_color_secondary:"#fff",tableId:this.$route.params.table_id,tableLibs:{footable:{title:"Footable",description:"A responsive table plugin built on jQuery",supports:{ajax:!1,sorting:!0,search:!0},css_libs:{semantic_ui:{title:"Semantic UI",description:"Apply Semantic UI styles in the table",styles:[{key:"single line",title:"Single Line Cells",description:"A table can specify that its cell contents should remain on a single line, and not wrap."},{key:"fixed",title:"Fixed Layout",description:"A special faster form of table rendering that does not resize table cells based on content."},{key:"selectable",title:"Hover rows",description:"Enable a hover state on table rows"},{key:"celled",title:"Bordered table",description:"Borders on all sides of the table and cells"},{key:"hide_horizonal_borders",title:"Hide Horizontal Borders",description:"This will hide horizontal borders of table body rows"},{key:"hide_vertical_borders",title:"Hide Vertical Borders",description:"This will hide Vertical borders of table body rows"},{key:"striped",title:"Striped rows",description:"Add zebra-striping to any table row"},{key:"compact",title:"Compact Table",description:"Make tables more compact by cutting cell padding in half"},{key:"vertical_centered",title:"Vertically centered table cell contents",description:"Make cell contents vertically centered"}]},bootstrap4:{title:"Bootstrap 4",description:"Apply Twitter Bootstrap 4 styles in the table",styles:[{key:"table-striped",title:"Striped rows",description:"Add zebra-striping to any table row"},{key:"table-bordered",title:"Bordered table",description:"Borders on all sides of the table and cells"},{key:"hide_horizonal_borders",title:"Hide Horizontal Borders",description:"This will hide horizontal borders of table body rows"},{key:"hide_vertical_borders",title:"Hide Vertical Borders",description:"This will hide Vertical borders of table body rows"},{key:"table-hover",title:"Hover rows",description:"Enable a hover state on table rows"},{key:"table-sm",title:"Small table",description:"Make tables more compact by cutting cell padding in half"},{key:"vertical_centered",title:"Vertically centered table cell contents",description:"Make cell contents vertically centered"}]},bootstrap3:{title:"Bootstrap 3",description:"Apply Twitter Bootstrap 3 styles in the table",styles:[{key:"table-striped",title:"Striped rows",description:"Add zebra-striping to any table row"},{key:"table-bordered",title:"Bordered table",description:"Borders on all sides of the table and cells"},{key:"hide_horizonal_borders",title:"Hide Horizontal Borders",description:"This will hide horizontal borders of table body rows"},{key:"hide_vertical_borders",title:"Hide Vertical Borders",description:"This will hide Vertical borders of table body rows"},{key:"table-hover",title:"Hover rows",description:"Enable a hover state on table rows"},{key:"table-condensed",title:"Condensed table",description:"Make tables more compact by cutting cell padding in half"},{key:"vertical_centered",title:"Vertically centered table cell contents",description:"Make cell contents vertically centered"}]}},colors:{ninja_no_color_table:"Default",white:"White",red:"Red",orange:"Orange",yellow:"Yellow",olive:"Olive",green:"Green",teal:"Teal",blue:"Blue",violet:"Violet",purple:"Purple",pink:"Pink",grey:"Grey",black:"Black"}}},doingAjax:!1,addColumnStatus:!1,new_column:!1,breakPointsOptions:{xs:this.$t("Initial Hidden Mobile"),"xs sm":this.$t("Initial Hidden Mobile and Tab"),"xs sm md lg":this.$t("Initial Hidden Mobile, Tab and Regular Computers"),"":this.$t("Always show in all devices"),hidden:this.$t("Totally hidden on all devices")},dataTypesOptions:{text:this.$t("Single Line Text Field"),textarea:this.$t("Text Area"),html:this.$t("HTML Field"),number:this.$t("Numeric Value"),date:this.$t("Date Field"),selection:this.$t("Select Field")},attributeModel:{name:null,key:null,breakpoints:""},columns:this.config.columns,tableSettings:this.config.settings,is_fluent_installed:window.ninja_table_admin.isInstalled,fluent_url:window.ninja_table_admin.fluentform_url,has_pro:!!window.ninja_table_admin.hasPro,hasSortable:!!window.ninja_table_admin.hasSortable,addVisible:!1,sortableUpgradeNotice:!1}},watch:{"new_column.name":function(){this.new_column.key=ti()(this.new_column.name)}},methods:{storeSettings:function(){var t=this;window.ninjaTableBus.$emit("tableDoingAjax",!0),this.doingAjax=!0;var e={action:"ninja_tables_ajax_actions",target_action:"update-table-settings",table_id:this.tableId,columns:this.columns,table_settings:this.tableSettings};this.$post(e).success((function(e){t.$message({showClose:!0,message:e.message,type:"success"}),t.$set(t.config,"columns",t.columns)})).fail((function(t){})).always((function(){t.doingAjax=!1,window.ninjaTableBus.$emit("tableDoingAjax",!1)}))},openDrawer:function(t){jQuery(".drawer_body_"+t).slideToggle()},validateColumn:function(t){return t.name?t.key?-1===Gn()(this.columns,(function(e){return e.key==t.key}))||(this.$message({showClose:!0,message:this.$t("Column Key needs to be unique. Please add a suffix / prefix to make it unique"),type:"error"}),!1):(this.$message({showClose:!0,message:this.$t("Column Key is required"),type:"error"}),!1):(this.$message({showClose:!0,message:this.$t("Name is required"),type:"error"}),!1)},addNewColumn:function(){this.validateColumn(this.new_column)&&(this.columns.push(this.new_column),this.setNewColumn(),this.addColumnStatus=!1,this.storeSettings())},deleteColumn:function(t){this.config.columns.splice(t,1),this.storeSettings()},showProAd:function(t){this.addVisible=!0,window.ninjaTableBus.$emit("show_pro_popup",1)},size:Me(),get:wo(),initManualSorting:function(){var t=this;new Promise((function(e,a){window.ninjaTableBus.$emit("initManualSorting",{table_id:t.tableId,noData:!0},e,a)}))},headerColorsClick:function(){this.has_pro||this.showProAd()},setNewColumn:function(){var t={name:"",key:"",breakpoints:"",data_type:"text",dateFormat:"",timeFormat:"",header_html_content:"",enable_html_content:!1};"wp-posts"===this.dataSourceType()&&(t.source_type="custom"),this.new_column=t},dataSourceType:function(){var t=this.config.table.dataSourceType||"Default";return t=t.indexOf("google")>-1?"Google SpreadSheet":t}},computed:{addable:function(){return-1!=["default","wp-posts"].indexOf(this.config.table.dataSourceType)}},mounted:function(){this.setNewColumn()}},Mo=Oo;var Fo=a(1376),zo={insert:"head",singleton:!1};o()(Fo.Z,zo);Fo.Z.locals;var Bo=r(Mo,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"table-column-settings"},[a("el-container",[a("el-aside",{attrs:{width:"200px"}},[a("el-menu",{attrs:{"background-color":"#545c64","default-active":t.active_menu,"text-color":"#fff","active-text-color":"#ffd04b"}},[a("el-menu-item",{attrs:{index:"columns"},on:{click:function(e){t.active_menu="columns"}}},[a("i",{staticClass:"dashicons dashicons-editor-table"}),t._v(" "),a("span",[t._v("Columns")])]),t._v(" "),a("el-menu-item",{attrs:{index:"rendering_settings"},on:{click:function(e){t.active_menu="rendering_settings"}}},[a("i",{staticClass:"dashicons dashicons-album"}),t._v(" "),a("span",[t._v("Rendering Settings")])]),t._v(" "),a("el-menu-item",{attrs:{index:"custom_filters"},on:{click:function(e){t.active_menu="custom_filters"}}},[a("i",{staticClass:"dashicons dashicons-filter"}),t._v(" "),a("span",[t._v("Custom Filters")])]),t._v(" "),a("el-menu-item",{attrs:{index:"button_settings"},on:{click:function(e){t.active_menu="button_settings"}}},[a("i",{staticClass:"dashicons dashicons-images-alt"}),t._v(" "),a("span",[t._v("Buttons (CSV/Print)")])]),t._v(" "),a("el-menu-item",{attrs:{index:"language_settings"},on:{click:function(e){t.active_menu="language_settings"}}},[a("i",{staticClass:"dashicons dashicons-translation"}),t._v(" "),a("span",[t._v("Language Settings")])])],1)],1),t._v(" "),a("el-main",["columns"==t.active_menu?[a("div",{staticClass:"ninja_header"},[a("h2",[t._v("Table Column Settings")])]),t._v(" "),a("div",{staticClass:"ninja_content"},[a("div",{staticClass:"section_widget"},[a("div",{staticClass:"heading"},[t.addColumnStatus||!t.columns.length?a("h3",{staticClass:"title"},[t._v(t._s(t.$t("Add Table Column")))]):a("h3",{staticClass:"title"},[t._v(t._s(t.$t("Available Columns")))]),t._v(" "),t.addable?a("div",{directives:[{name:"show",rawName:"v-show",value:!t.addColumnStatus,expression:"!addColumnStatus"}],staticClass:"inline_action"},[a("el-button",{directives:[{name:"show",rawName:"v-show",value:t.columns.length,expression:"columns.length"}],attrs:{size:"small",type:"primary"},on:{click:function(e){t.addColumnStatus=!t.addColumnStatus}}},[t._v("\n "+t._s(t.$t("Add Column"))+"\n ")])],1):t._e()]),t._v(" "),a("div",{staticClass:"widget_body"},[t.addColumnStatus||!t.columns.length?a("div",{staticClass:"column"},[a("div",{staticClass:"add_column_wrapper"},[a("columns-editor",{attrs:{columns:t.columns,dataSourceType:t.config.table.dataSourceType,model:t.new_column,settings:t.config.settings,"has-pro":t.has_pro},on:{add:function(e){return t.addNewColumn()},cancel:function(e){t.addColumnStatus=!t.addColumnStatus}}})],1)]):t._e(),t._v(" "),a("draggable",{attrs:{handle:".handle",animation:"150"},on:{end:t.storeSettings},model:{value:t.columns,callback:function(e){t.columns=e},expression:"columns"}},t._l(t.columns,(function(e,n){return a("div",{key:e.key,staticClass:"column drawer"},[a("div",{staticClass:"header"},[a("span",{staticClass:"dashicons dashicons-editor-justify handle"}),t._v(" "),a("span",{on:{click:function(e){return t.openDrawer(n)}}},[t._v(t._s(e.name||e.key))]),t._v(" "),a("span",{staticClass:"dashicons dashicons-edit edit_icon",on:{click:function(e){return t.openDrawer(n)}}})]),t._v(" "),a("div",{staticClass:"drawer_body",class:"drawer_body_"+n},[a("columns-editor",{attrs:{columns:t.columns,dataSourceType:t.config.table.dataSourceType,model:e,"has-pro":t.has_pro,settings:t.config.settings,updating:!0},on:{delete:function(e){return t.deleteColumn(n)},store:function(e){return t.storeSettings()}}})],1)])})),0)],1)]),t._v(" "),a("div",{staticClass:"proms"},[a("div",{staticClass:"help_section"},[a("p",[t._v("Need help to configure the columns and responsive breakdowns, Please check tutorial with\n video "),a("a",{attrs:{href:"https://wpmanageninja.com/r/docs/ninja-tables/configure-responsive-breakdowns-for-table/?utm_source=ninja-tables",target:"_blank"}},[t._v("here")])])]),t._v(" "),t.is_fluent_installed?t._e():a("div",{staticClass:"help_section"},[a("p",[t._v("Have you checked out FluentForm yet? We have developed a powerful Drag & Drop WordPress Form\n Builder plugin with some amazing Premium features "),a("a",{attrs:{href:t.fluent_url}},[t._v("Download from\n WordPress.org")])])])])])]:"rendering_settings"==t.active_menu?[a("ninja-rendering-settings",{attrs:{tableSettings:t.tableSettings,config:t.config},on:{storeSettings:t.storeSettings}})]:"language_settings"==t.active_menu?[a("ninja-language-settings",{attrs:{tableSettings:t.tableSettings},on:{storeSettings:t.storeSettings}})]:"custom_filters"==t.active_menu?[a("ninja-custom-filters",{attrs:{columns:t.columns,table_id:t.tableId}})]:(t.active_menu="button_settings")?[a("ninja-button-settings",{attrs:{table_id:t.tableId}})]:t._e()],2)],1)],1)])}),[],!1,null,null,null);const Lo=Bo.exports;const Ro=r({name:"ExportTable",props:["config"],data:function(){return{tableId:this.$route.params.table_id,exportOptions:{csv:"CSV",json:"JSON"},selected:"csv"}},methods:{downloadLink:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"csv",e={action:"ninja_tables_ajax_actions",target_action:"export-data",table_id:this.tableId,format:t,ninja_table_admin_nonce:window.ninja_table_admin.ninja_table_admin_nonce};return ajaxurl+"?"+jQuery.param(e)},doExport:function(){var t=this.downloadLink(this.selected);location.href=t}}},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"ninja_header"},[a("h2",[t._v(t._s(t.$t("Export Data")))])]),t._v(" "),t.config.table.isExportable?a("div",{staticClass:"ninja_content"},[t._m(0),t._v(" "),a("div",{staticClass:"ninja_export_block"},[t._v("\n "+t._s(t.$t("Format:"))+"\n "),a("select",{directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"selected"}],on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.selected=e.target.multiple?a:a[0]}}},t._l(t.exportOptions,(function(e,n){return a("option",{domProps:{value:n}},[t._v("\n "+t._s(e)+"\n ")])})),0),t._v(" "),a("el-button",{attrs:{type:"primary",icon:"el-icon-download",size:"small"},on:{click:function(e){return e.preventDefault(),t.doExport()}}},[t._v("\n "+t._s(t.$t("Export"))+"\n ")])],1)]):a("div",{staticClass:"ninja_content"},[a("div",{staticClass:"ninja_suggest"},[a("p",[t._v("Sorry! You can not export the data as the table data is configured as external source ("+t._s(t.config.table.dataSourceType)+")")])])])])}),[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ninja_suggest"},[a("p",[t._v("You can download the table data as CSV or JSON format, If you download as json then you can import the table to any Ninja Table Installation")])])}],!1,null,null,null).exports;const Ho={name:"Import",props:["config","tableId"],data:function(){return{btnLoading:!1,replace:!1,tutorial:"https://wpmanageninja.com/docs/ninja-tables/import-table-data-from-csv/?utm_source=ninja-tables",do_unicode:"no"}},computed:{columns:function(){return this.config&&this.config.columns?this.config.columns:[]},sampleData:function(){var t={};return X()(this.columns,(function(e){t[e.key]="column value"})),Array(3).fill(t)}},methods:{clear:function(){jQuery("#fileUpload").val("")},upload:function(){var t=this;t.btnLoading=!0;var e=jQuery("#fileUpload")[0].files[0];if(e){var a=new FormData;a.append("file",e),a.append("action","ninja_tables_ajax_actions"),a.append("target_action","upload-data"),a.append("table_id",this.tableId),a.append("replace",this.replace),a.append("do_unicode",this.do_unicode),a.append("ninja_table_admin_nonce",window.ninja_table_admin.ninja_table_admin_nonce),jQuery.ajax({url:ajaxurl,data:a,type:"POST",contentType:!1,processData:!1,success:function(e){t.$emit("csvUploaded"),t.clear(),t.$message.success(e.message)},error:function(e){t.$message.error(e.responseJSON.message)}}).always((function(){t.btnLoading=!1}))}else t.btnLoading=!1},download:function(){var t=[],e=this.config.columns.map((function(t){return t.key}));t.push(e),[1,2].forEach((function(a,n){var i=[];e.forEach((function(t,e){i.push("content_"+n+"_"+e)})),t.push(i)}));var a="data:text/csv;charset=utf-8,";t.forEach((function(e,n){var i=e.join(",");a+=n<t.length?i+"\n":i}));var n=encodeURI(a),i=document.createElement("a");i.setAttribute("href",n),i.setAttribute("download","sample.csv"),document.body.appendChild(i),i.click()}}},Wo=Ho;var qo=a(4946),Vo={insert:"head",singleton:!1};o()(qo.Z,Vo);qo.Z.locals;var Uo=r(Wo,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"ninja_header"},[a("h2",[t._v(t._s(t.$t("Import Table Data")))])]),t._v(" "),t.config.table.isImportable?a("div",{staticClass:"ninja_content"},[t.columns.length?a("div",[a("form",{attrs:{action:"",id:"fileUploadForm"}},[a("div",{staticClass:"form-group"},[a("input",{attrs:{type:"file",id:"fileUpload"},on:{click:t.clear}}),t._v(" "),a("el-checkbox",{model:{value:t.replace,callback:function(e){t.replace=e},expression:"replace"}},[t._v(t._s(t.$t("Replace Existing Data")))])],1),t._v(" "),a("div",{staticClass:"form-group"},[a("el-checkbox",{attrs:{"true-label":"yes","false-label":"no"},model:{value:t.do_unicode,callback:function(e){t.do_unicode=e},expression:"do_unicode"}},[t._v("Convert to UTF-8 format ( Check this if your csv is non-unicode format )")])],1),t._v(" "),a("div",{staticClass:"form-group"},[a("el-button",{attrs:{type:"primary",icon:"el-icon-upload2",size:"small",loading:t.btnLoading},on:{click:function(e){return e.preventDefault(),t.upload.apply(null,arguments)}}},[t._v("\n "+t._s(t.$t("Import from CSV"))+"\n ")])],1)]),t._v(" "),a("div",{staticClass:"ninja_suggest"},[a("p",[t._v("\n Please note that, your CSV data structure need to follow the sample CSV.\n You may want to check the "),a("a",{attrs:{href:t.tutorial}},[t._v("video tutorial here.")])]),t._v(" "),a("br"),t._v(" "),a("p",[t._v("\n Also make sure the content is in UTF-8 format, for the best result.\n ")])]),t._v(" "),a("div",{staticClass:"justify-items"},[a("h3",[t._v("\n "+t._s(t.$t("CSV Header Structure"))+"\n ")]),t._v(" "),a("el-button",{staticStyle:{float:"right"},attrs:{type:"primary",icon:"el-icon-download",size:"small"},on:{click:t.download}},[t._v("\n "+t._s(t.$t("Download Sample CSV"))+"\n ")])],1),t._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{border:"",data:t.sampleData,stripe:""}},t._l(t.columns,(function(t){return a("el-table-column",{key:t.key,attrs:{prop:t.key,label:t.key}})})),1),t._v(" "),a("h3",[t._v("or as bellow")]),t._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{border:"",data:t.sampleData,stripe:""}},t._l(t.columns,(function(t){return a("el-table-column",{key:t.key,attrs:{prop:t.key,label:t.name}})})),1)],1):a("div",{staticClass:"error"},[a("p",[t._v(t._s(t.$t("Please set table configuration first.")))])])]):a("div",{staticClass:"ninja_content"},[a("div",{staticClass:"ninja_suggest"},[a("p",[t._v("Sorry! You can not import any data as the table data is configured as external source ("+t._s(t.config.table.dataSourceType)+")")])])])])}),[],!1,null,"3dd4e718",null);const Yo=r({name:"ExportImport",components:{export:Ro,import:Uo.exports},props:["config"],data:function(){return{active_menu:"import",tableId:this.$route.params.table_id,activeNames:["1"]}}},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticStyle:{"margin-top":"15px"}},[a("el-container",[a("el-aside",{attrs:{width:"200px"}},[a("el-menu",{attrs:{"background-color":"#545c64","default-active":t.active_menu,"text-color":"#fff","active-text-color":"#ffd04b"}},[a("el-menu-item",{attrs:{index:"import"},on:{click:function(e){t.active_menu="import"}}},[a("i",{staticClass:"el-icon-upload"}),t._v(" "),a("span",[t._v(t._s(t.$t("Import Data")))])]),t._v(" "),a("el-menu-item",{attrs:{index:"export"},on:{click:function(e){t.active_menu="export"}}},[a("i",{staticClass:"el-icon-download"}),t._v(" "),a("span",[t._v(t._s(t.$t("Export Data")))])])],1)],1),t._v(" "),a("el-main",[a(t.active_menu,{tag:"component",attrs:{config:t.config,tableId:t.tableId}})],1)],1)],1)}),[],!1,null,null,null).exports;const Zo=r({name:"fluentpromoad_2",props:["dismisable"],data:function(){return{img_url_path:window.ninja_table_admin.img_url,fluent_url:window.ninja_table_admin.fluentform_url,fluent_wp_url:window.ninja_table_admin.fluent_wp_url,is_installed:window.ninja_table_admin.isInstalled,already_dismissed:window.ninja_table_admin.dismissed}},computed:{will_it_show:function(){return!this.is_installed&&(!this.dismisable||!this.already_dismissed)}},methods:{image_url:function(t){return this.img_url_path+t},dismiss:function(){var t=this;this.$post({action:"ninja_tables_ajax_actions",target_action:"dismiss_fluent_suggest"}).then((function(t){})).fail((function(t){})).always((function(){t.is_installed=!0}))}}},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.will_it_show?a("div",{staticClass:"ninja_suggest_plugin"},[t.dismisable?a("div",{staticClass:"ninja_dismiss",on:{click:function(e){return t.dismiss()}}},[t._v("X")]):t._e(),t._v(" "),a("div",{staticClass:"ninja_form_banner"},[a("img",{attrs:{src:t.image_url("fluentform_banner.jpg")}})]),t._v(" "),a("div",{staticClass:"ninja_fluent_copy"},[a("p",[t._v("Have you checked out FluentForm yet? We have developed a powerful Drag & Drop WordPress Form Builder plugin with some amazing Premium features")]),t._v(" "),a("a",{staticClass:"button button-primary",attrs:{href:t.fluent_url}},[t._v("Download from WordPress.org")]),t._v(" "),a("a",{staticClass:"button",attrs:{target:"_blank",href:t.fluent_wp_url}},[t._v("View Details")])])]):t._e()}),[],!1,null,null,null).exports;var Jo=r({name:"ninja_premium",data:function(){return{img_url_path:window.ninja_table_admin.img_url}},computed:{will_it_show:function(){return!window.ninja_table_admin.hasPro||""==window.ninja_table_admin.hasPro}},methods:{image_url:function(t){return this.img_url_path+t}}},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.will_it_show?a("div",{staticClass:"ninja_suggest_plugin"},[a("div",{staticClass:"ninja_form_banner"},[a("img",{attrs:{src:t.image_url("banner_premium.png")}})]),t._v(" "),t._m(0)]):t._e()}),[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ninja_fluent_copy"},[a("p",[t._v("Have you checked out NinjaTables Pro Add-On yet? We have added some exciting features in Ninja Tables with Pro Add-On")]),t._v(" "),a("a",{staticClass:"button button-primary",attrs:{target:"_blank",href:"https://wpmanageninja.com/downloads/ninja-tables-pro-add-on/?utm_source=ninja-tables&utm_medium=wp&utm_campaign=wp_plugin&utm_term=upgrade"}},[t._v("Download Now")]),t._v(" "),a("a",{staticClass:"button",attrs:{target:"_blank",href:"https://wpmanageninja.com/downloads/ninja-tables-pro-add-on/?utm_source=ninja-tables&utm_medium=wp&utm_campaign=wp_plugin&utm_term=upgrade"}},[t._v("View Details")])])}],!1,null,null,null);var Qo=r({name:"help",components:{fluentpromoad:Zo,ninja_premium:Jo.exports},data:function(){return{docs:[{title:"Ninja Tables Introduction",url:"https://wpmanageninja.com/docs/ninja-tables/getting-started-with-ninja-tables/getting-started/"},{title:"Ninja Tables Demo",url:"https://wpmanageninja.com/docs/ninja-tables/configure-tables/?utm_source=ninja-tables"},{title:"Setting up a Ninja Tables",url:"https://wpmanageninja.com/docs/ninja-tables/create-a-table"},{title:"Configure Responsive Breakdowns for Table",url:"https://wpmanageninja.com/docs/ninja-tables/configuring-tables/configure-responsive-breakdowns-for-table"},{title:"Export Data from Ninja Tables",url:"https://wpmanageninja.com/docs/ninja-tables/import-export/export-data"},{title:"Import Table Data from CSV",url:"https://wpmanageninja.com/docs/ninja-tables/import-export/import-table-data-from-csv"},{title:"Import Table from JSON file",url:"https://wpmanageninja.com/docs/ninja-tables/import-export/import-table-data-from-csv"},{title:"Import Table from Table Press Plugin",url:"https://wpmanageninja.com/docs/ninja-tables/import-table-from-table-press-plugin/?utm_source=ninja-tables"}],img_url:window.ninja_table_admin.img_url}},methods:{imageUrl:function(t){return this.img_url+t}},mounted:function(){}},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("h2",[t._v(t._s(t.$t("Plugin Documentation and Help")))]),t._v(" "),a("hr"),t._v(" "),a("ninja_premium"),t._v(" "),a("div",{staticClass:"ninja_documentaion_wrapper"},[a("div",{staticClass:"ninja_doc_top_blocks"},[a("div",{staticClass:"ff_block block_1_3"},[a("div",{staticClass:"ff_block_box help_container text-center"},[a("img",{staticClass:"block_icon",attrs:{src:t.imageUrl("fluent-icon.png")}}),t._v(" "),a("h3",[t._v("Try Fluent Forms")]),t._v(" "),t._m(0),t._v(" "),t._m(1)])]),t._v(" "),t._m(2),t._v(" "),a("div",{staticClass:"ff_block block_1_3"},[a("div",{staticClass:"ff_block_box help_container text-center"},[a("img",{staticClass:"block_icon",attrs:{src:t.imageUrl("azonpress_logo.jpg")}}),t._v(" "),a("h3",[t._v("Amazon Affiliate Plugin")]),t._v(" "),a("p",[t._v("Amazon Affiliate WordPress Plugin for serious Amazon Affiliates")]),t._v(" "),t._m(3)])]),t._v(" "),a("div",{staticStyle:{width:"100%",float:"none",position:"relative",height:"10px",overflow:"hidden"}}),t._v(" "),a("div",{staticClass:"ff_block block_1_3"},[a("div",{staticClass:"ff_block_box help_container"},[a("h3",[t._v("User Guide")]),t._v(" "),a("p",[t._v("Please check the following Tutorials and Documentation for Ninja Tables Plugin")]),t._v(" "),a("ul",{staticClass:"doc_items"},t._l(t.docs,(function(e,n){return a("li",{key:n},[a("a",{attrs:{href:e.url,target:"_blank"}},[t._v(t._s(e.title))])])})),0)])]),t._v(" "),a("div",{staticClass:"ff_block block_1_3"},[a("div",{staticClass:"ff_block_box text-center"},[a("img",{staticClass:"block_icon",attrs:{src:t.imageUrl("heart.png")}}),t._v(" "),a("h3",[t._v("Love this Plugin?")]),t._v(" "),a("p",[t._v("Please write a review in wp.org plugin repository. We appreciate it!")]),t._v(" "),t._m(4)])]),t._v(" "),a("div",{staticClass:"ff_block block_1_3"},[a("div",{staticClass:"ff_block_box text-center"},[a("img",{staticClass:"block_icon",attrs:{src:t.imageUrl("support.png")}}),t._v(" "),a("h3",[t._v("Need And Expert Support?")]),t._v(" "),a("p",[t._v("Our EXPERTS would like to assist you for your query and any customization.")]),t._v(" "),t._m(5)])])])]),t._v(" "),a("fluentpromoad")],1)}),[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("p",[a("b",[t._v("Need to build a contact form by drag and drop form builder?")]),t._v(" Try the modern contact form plugin with all the necessary input fields, notifications and connect your form with powerful integrations")])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("p",[a("a",{staticClass:"button button-primary",attrs:{target:"_blank",href:"https://wordpress.org/plugins/fluentform/"}},[t._v("Download from wp.org (Free)")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ff_block block_1_3"},[a("div",{staticClass:"ff_block_box help_container text-center"},[a("img",{staticClass:"block_icon",attrs:{src:"https://ps.w.org/wp-payment-form/assets/icon-256x256.png?rev=2745100"}}),t._v(" "),a("h3",[t._v("Paymattic - Accept Payment Easily with WordPress Forms")]),t._v(" "),a("p",[t._v("Do you want to accept payments along with user inputs in WordPress? Then Paymattic is the perfect plugin for you.")]),t._v(" "),a("p",[a("a",{staticClass:"button button-primary",attrs:{target:"_blank",href:"https://wordpress.org/plugins/wp-payment-form/"}},[t._v("Download Paymattic (Free)")])])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("p",[a("a",{staticClass:"button button-primary",attrs:{target:"_blank",href:"https://wpmanageninja.com/azonpress/"}},[t._v("Download AzonPress")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("p",[a("a",{staticClass:"button button-primary",attrs:{target:"_blank",href:"https://wordpress.org/plugins/ninja-tables/reviews/"}},[t._v("Write Review")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("p",[a("a",{staticClass:"button button-primary",attrs:{target:"_blank",href:"https://wpmanageninja.com/support-tickets/"}},[t._v("Contact Support")])])}],!1,null,null,null);const Xo=Qo.exports;const Go={name:"ninja_ace_editor",props:["value","mode","editor_id"],data:function(){return{ace_path:window.ninja_table_admin.ace_path_url,editorError:"",loading:!0}},methods:{loadDependencies:function(){var t=this;"undefined"==typeof ace?jQuery.get(this.ace_path+"/ace.min.js",(function(){t.initAce()})):this.initAce()},initAce:function(){var t=this;ace.config.set("workerPath",this.ace_path),ace.config.set("modePath",this.ace_path),ace.config.set("themePath",this.ace_path);var e=ace.edit("ninja_custom_css");e.setTheme("ace/theme/monokai"),e.session.setMode("ace/mode/"+this.mode),e.getSession().on("changeAnnotation",(function(){var a=e.getSession().getAnnotations();for(var n in t.editorError="",a)"error"==a[n].type&&(t.editorError=a[n].text)})),e.getSession().on("change",(function(){t.$emit("input",e.getSession().getValue())})),this.loading=!1}},mounted:function(){this.loadDependencies()}};var Ko=a(4007),tl={insert:"head",singleton:!1};o()(Ko.Z,tl);Ko.Z.locals;const el=r(Go,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{"element-loading-text":"Loading Editor..."}},[a("div",{staticClass:"ace_container"},[a("div",{staticClass:"ninja_custom_css_editor",attrs:{id:"ninja_custom_css"}},[t._v(t._s(t.value))])]),t._v(" "),a("div",{staticClass:"editor_errors",class:"ninja_"+t.mode+"_errors"},[a("span",{directives:[{name:"show",rawName:"v-show",value:t.editorError,expression:"editorError"}],staticStyle:{"text-align":"right",display:"inline-block",color:"#ff7171",float:"right"}},[t._v(t._s(t.editorError))])])])}),[],!1,null,null,null).exports;const al={name:"ninja_ace_editor_js",props:["value","mode","editor_id"],data:function(){return{ace_path:window.ninja_table_admin.ace_path_url,editorError:"",loading:!0}},methods:{loadDependencies:function(){var t=this;"undefined"==typeof ace?jQuery.get(this.ace_path+"/ace.min.js",(function(){t.initAce()})):this.initAce()},initAce:function(){var t=this;ace.config.set("workerPath",this.ace_path),ace.config.set("modePath",this.ace_path),ace.config.set("themePath",this.ace_path);var e=ace.edit("ninja_custom_js");e.setTheme("ace/theme/monokai"),e.session.setMode("ace/mode/"+this.mode),e.getSession().on("changeAnnotation",(function(){var a=e.getSession().getAnnotations();for(var n in t.editorError="",a)"error"==a[n].type&&(t.editorError=a[n].text)})),e.getSession().on("change",(function(){t.$emit("input",e.getSession().getValue())})),this.loading=!1}},mounted:function(){this.loadDependencies()}};var nl=a(5875),il={insert:"head",singleton:!1};o()(nl.Z,il);nl.Z.locals;const ol={name:"ninja_css_editor",props:["config"],components:{ace_code_editor:el,ace_js_editor:r(al,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{"element-loading-text":"Loading Editor..."}},[a("div",{staticClass:"ace_container"},[a("div",{staticClass:"ninja_custom_css_editor",attrs:{id:"ninja_custom_js"}},[t._v(t._s(t.value))])]),t._v(" "),a("div",{staticClass:"editor_errors",class:"ninja_"+t.mode+"_errors"},[a("span",{directives:[{name:"show",rawName:"v-show",value:t.editorError,expression:"editorError"}],staticStyle:{"text-align":"right",display:"inline-block",color:"#ff7171",float:"right"}},[t._v(t._s(t.editorError))])])])}),[],!1,null,null,null).exports},data:function(){return{current_tab:"additional_css",custom_css:"",custom_js:"",hasPro:!!window.ninja_table_admin.hasPro,fetching:!1}},methods:{saveScripts:function(){var t=this;this.hasPro||(this.custom_js=""),this.$post({action:"ninja_tables_ajax_actions",target_action:"save_custom_css_js",table_id:this.config.table.ID,custom_css:this.custom_css,custom_js:this.custom_js}).then((function(e){t.$message({showClose:!0,message:e.data.message,type:"success"}),t.$set(t.config.table,"custom_css",t.custom_css)})).then((function(t){console.log(t)})).always((function(){}))},getScripts:function(){var t=this;this.fetching=!0,this.$get({action:"ninja_tables_ajax_actions",target_action:"get_custom_css_js",table_id:this.config.table.ID}).then((function(e){t.custom_css=e.data.custom_css,t.custom_js=e.data.custom_js})).fail((function(t){})).always((function(){t.fetching=!1}))}},mounted:function(){this.getScripts()}};var ll=a(5981),sl={insert:"head",singleton:!1};o()(ll.Z,sl);ll.Z.locals;const rl=r(ol,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[t.fetching?a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.fetching,expression:"fetching"}]},[a("h3",[t._v("Loading... Please wait")])]):a("div",{staticClass:"section_block"},[a("el-radio-group",{model:{value:t.current_tab,callback:function(e){t.current_tab=e},expression:"current_tab"}},[a("el-radio-button",{attrs:{label:"additional_css"}},[t._v("Additional Custom CSS")]),t._v(" "),a("el-radio-button",{attrs:{label:"additional_js"}},[t._v("Custom Javascript")])],1),t._v(" "),a("hr"),t._v(" "),"additional_css"==t.current_tab?[a("p",[t._v("\n You may add "),a("code",[t._v("#footable_parent_"+t._s(t.config.table.ID)+" ")]),t._v(" as your css selector prefix to target this specific table.\n Alternatively, you can use "),a("code",[t._v("#footable_parent_NT_ID")]),t._v(" where "),a("b",[t._v("NT_ID")]),t._v(" will be replaced with your table ID dynamically.\n ")]),t._v(" "),a("ace_code_editor",{attrs:{editor_id:"ninja_custom_css",mode:"css"},model:{value:t.custom_css,callback:function(e){t.custom_css=e},expression:"custom_css"}}),t._v(" "),t._m(0),t._v(" "),a("br"),t._v(" "),a("div",{staticClass:"custom_css_submit",staticStyle:{"margin-top":"20px"}},[a("el-button",{attrs:{type:"success"},on:{click:function(e){return t.saveScripts()}}},[t._v("Save Custom CSS")])],1)]:t._e(),t._v(" "),"additional_js"==t.current_tab?[a("p",[t._v("Your additional JS code will run after ninja table initialized. Please provide valid javascript code. Invalid JS code may break the table UI.")]),t._v(" "),t._m(1),t._v(" "),a("ace_js_editor",{attrs:{editor_id:"ninja_custom_js",mode:"javascript"},model:{value:t.custom_js,callback:function(e){t.custom_js=e},expression:"custom_js"}}),t._v(" "),t._m(2),t._v(" "),t.hasPro?[a("div",{staticClass:"custom_css_submit",staticStyle:{"margin-top":"20px"}},[a("el-button",{attrs:{type:"success"},on:{click:function(e){return t.saveScripts()}}},[t._v("Save Custom Javascript")])],1)]:[a("p",[t._v("Custom Javascript feature is a pro feature along with many awesome features. Please upgrade to pro.")])]]:t._e()],2),t._v(" "),a("div",{staticClass:"section_block"})])}),[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("span",[t._v("Please don't include "),a("code",[t._v("<style></style>")]),t._v(" tag")])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"js_instruction"},[t._v("\n The Following Javascript variables are available that you can use: "),a("br"),t._v(" "),a("b",[t._v("$table")]),t._v(" : The Javascript DOM object of the table"),a("br"),t._v(" "),a("b",[t._v("tableConfig")]),t._v(" : The configuration object of the table.\n ")])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("span",[t._v("Please don't include "),a("code",[t._v("<script><\/script>")]),t._v(" tag")])}],!1,null,null,null).exports;function cl(t){return cl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},cl(t)}function ul(t){return function(t){if(Array.isArray(t))return dl(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return dl(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return dl(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function dl(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,n=new Array(e);a<e;a++)n[a]=t[a];return n}const pl={name:"table_preview",props:["config"],components:{SortableUpgradeNotice:xi,NinjaColorPicker:ki},data:function(){return{fontFamily:["inherit","cursive","fantasy","monospace","sans-serif","serif","system-ui","ui-monospace","ui-rounded","ui-sans-serif","ui-serif"],rows:[],activeDesign:"features",tableId:this.$route.params.table_id,tableSettings:this.config.settings,table_body_html:"",data_loaded:!1,script_loaded:!1,footableLoading:!1,tableLibs:{footable:{title:"Footable",description:"A responsive table plugin built on jQuery",supports:{ajax:!1,sorting:!0,search:!0},css_libs:{semantic_ui:{title:"Semantic UI",description:"Apply Semantic UI styles in the table",styles:[{key:"single line",title:"Single Line Cells",description:"A table can specify that its cell contents should remain on a single line, and not wrap."},{key:"fixed",title:"Fixed Layout",description:"A special faster form of table rendering that does not resize table cells based on content."},{key:"selectable",title:"Hover rows",description:"Enable a hover state on table rows"},{key:"celled",title:"Bordered table",description:"Borders on all sides of the table and cells"},{key:"hide_horizonal_borders",title:"Hide Horizontal Borders",description:"This will hide horizontal borders of table body rows"},{key:"hide_vertical_borders",title:"Hide Vertical Borders",description:"This will hide Vertical borders of table body rows"},{key:"striped",title:"Striped rows",description:"Add zebra-striping to any table row"},{key:"compact",title:"Compact Table",description:"Make tables more compact by cutting cell padding in half"},{key:"vertical_centered",title:"Vertically centered table cell contents",description:"Make cell contents vertically centered"}]},bootstrap4:{title:"Bootstrap 4",description:"Apply Twitter Bootstrap 4 styles in the table",styles:[{key:"table-striped",title:"Striped rows",description:"Add zebra-striping to any table row"},{key:"table-bordered",title:"Bordered table",description:"Borders on all sides of the table and cells"},{key:"hide_horizonal_borders",title:"Hide Horizontal Borders",description:"This will hide horizontal borders of table body rows"},{key:"hide_vertical_borders",title:"Hide Vertical Borders",description:"This will hide Vertical borders of table body rows"},{key:"table-hover",title:"Hover rows",description:"Enable a hover state on table rows"},{key:"table-sm",title:"Small table",description:"Make tables more compact by cutting cell padding in half"},{key:"vertical_centered",title:"Vertically centered table cell contents",description:"Make cell contents vertically centered"}]},bootstrap3:{title:"Bootstrap 3",description:"Apply Twitter Bootstrap 3 styles in the table",styles:[{key:"table-striped",title:"Striped rows",description:"Add zebra-striping to any table row"},{key:"table-bordered",title:"Bordered table",description:"Borders on all sides of the table and cells"},{key:"hide_horizonal_borders",title:"Hide Horizontal Borders",description:"This will hide horizontal borders of table body rows"},{key:"hide_vertical_borders",title:"Hide Vertical Borders",description:"This will hide Vertical borders of table body rows"},{key:"table-hover",title:"Hover rows",description:"Enable a hover state on table rows"},{key:"table-condensed",title:"Condensed table",description:"Make tables more compact by cutting cell padding in half"},{key:"vertical_centered",title:"Vertically centered table cell contents",description:"Make cell contents vertically centered"}]}},colors:{ninja_no_color_table:"Default",white:"White",red:"Red",orange:"Orange",yellow:"Yellow",olive:"Olive",green:"Green",teal:"Teal",blue:"Blue",violet:"Violet",purple:"Purple",pink:"Pink",grey:"Grey",black:"Black"}}},has_pro:!!window.ninja_table_admin.hasPro,savingSettings:!1,tableInnerHtml:"",showingDevice:"desktop",hasSortable:!!window.ninja_table_admin.hasSortable,sortableUpgradeNotice:!1,columnCss:""}},computed:{fontSetting:function(){return{"--ninja-table-font-family":this.tableSettings.table_font_family,"--ninja-table-font-size":this.tableSettings.table_font_size+"px"}},wrapperClasses:function(){var t=[];return t.push(this.tableSettings.css_lib),t.push("ninja_device_"+this.showingDevice),"custom_color"!=this.tableSettings.table_color_type&&"ninja_no_color_table"==this.tableSettings.table_color||t.push("colored_table"),t},tableClasses:function(){var t=this,e=[];e.push("foo_table_"+this.tableId),"custom_color"==this.tableSettings.table_color_type?(e.push("inverted"),e.push("ninja_custom_color")):(this.tableSettings.table_color&&"ninja_no_color_table"!=this.tableSettings.table_color&&e.push("inverted"),e.push(this.tableSettings.table_color)),this.tableSettings.pagination_position?e.push("footable-paging-"+this.tableSettings.pagination_position):e.push("footable-paging-right"),this.tableSettings.hide_header_row&&e.push("ninjatable_hide_header_row"),this.tableSettings.hide_all_borders&&e.push("hide_all_borders"),e.push("ninja_table_pro"),this.tableSettings.search_position&&e.push("ninja_search_"+this.tableSettings.search_position);var a=[];return this.tableSettings.css_classes&&(a=this.availableCssClasses.filter((function(e){return-1!=t.tableSettings.css_classes.indexOf(e)}))),this.tableSettings.hide_responsive_labels&&e.push("nt_hide_breakpoint_labels"),this.tableSettings.nt_search_full_width&&e.push("nt_search_full_width"),"semantic_ui"==this.tableSettings.css_lib&&e.push("ui"),[].concat(ul(a),e)},formattedColumns:function(){var t=this.config.columns,e=[];return jQuery.each(t,(function(t,a){e.push({name:a.key,title:a.name,breakpoints:a.breakpoints,type:a.data_type,sortable:!0,classes:["ninja_column_"+t],visible:"hidden"!=a.breakpoints})})),e},app_ready:function(){return this.data_loaded&&this.script_loaded},currentTableLibs:function(){return this.tableLibs[this.tableSettings.library].css_libs},colors:function(){return this.tableLibs[this.tableSettings.library].colors},availableStyles:function(){var t=this.currentTableLibs[this.tableSettings.css_lib];return!!t&&t.styles},availableCssClasses:function(){var t=[];return ke()(this.availableStyles,(function(e){t.push(e.key)})),t},showProNotice:function(){return!this.has_pro&&!!("custom_color"==this.tableSettings.table_color_type&&"color_customization"==this.activeDesign||"color_customization"==this.activeDesign&&this.tableSettings.table_color&&"ninja_no_color_table"!=this.tableSettings.table_color)},design_tips:function(){var t=[];return"custom_color"==this.tableSettings.table_color_type&&(this.tableSettings.table_search_color_primary&&this.tableSettings.table_header_color_primary&&this.tableSettings.table_color_primary&&this.tableSettings.table_color_secondary||t.push('You should set colors at <b>"Table Colors"</b> Tab')),t}},watch:{data_loaded:function(){this.app_ready&&this.reInitFootables()},script_loaded:function(){this.app_ready&&this.reInitFootables()},tableSettings:{handler:function(t){var e=this;this.$nextTick((function(){e.generateColorCss()}))},deep:!0},tableClasses:{handler:function(t){var e=this;this.$nextTick((function(){e.reInitFootables()}))},deep:!0},"tableSettings.enable_search":function(){var t=this;this.$nextTick((function(){t.reInitFootables()}))},"tableSettings.column_sorting":function(){var t=this;this.$nextTick((function(){t.reInitFootables()}))},"tableSettings.show_all":function(){var t=this;this.$nextTick((function(){t.reInitFootables()}))},"tableSettings.togglePosition":function(){var t=this;this.$nextTick((function(){t.reInitFootables()}))},"tableSettings.expand_type":function(t,e){var a=this;if("default"!=t&&!this.has_pro)return this.tableSettings.expand_type="default",void window.ninjaTableBus.$emit("show_pro_popup",1);this.$nextTick((function(){a.reInitFootables()}))},"tableSettings.sorting_type":function(t,e){"manual_sort"===t&&(this.has_pro?this.hasSortable?this.initManualSorting():this.hasSortable||(this.tableSettings.sorting_type=e,this.sortableUpgradeNotice=!0):(this.tableSettings.sorting_type=e,window.ninjaTableBus.$emit("show_pro_popup",1)))},activeDesign:function(){this.checkColorPro()}},methods:{fetchTableBody:function(){var t=this;this.$get({action:"ninja_tables_ajax_actions",target_action:"get_table_preview_html",table_id:this.tableId}).then((function(e){t.tableInnerHtml=e,t.data_loaded=!0})).fail((function(e){jQuery("#footable_"+t.tableId).append("<h1>Error Loading</h1>")}))},initManualSorting:function(){var t=this;new Promise((function(e,a){window.ninjaTableBus.$emit("initManualSorting",{table_id:t.tableId,noData:!0},e,a)}))},storeSettings:function(){var t=this;this.checkColorPro(),this.savingSettings=!0;this.filterTableSettings(this.tableSettings);var e={action:"ninja_tables_ajax_actions",target_action:"update-table-settings",table_id:this.tableId,columns:this.columns,table_settings:this.tableSettings};this.$post(e).success((function(e){t.$message({showClose:!0,message:e.message,type:"success"})})).fail((function(t){})).always((function(){t.savingSettings=!1}))},filterTableSettings:function(t){var e=[];return ke()(this.availableStyles,(function(t){e.push(t.key)})),t.css_classes=we()(e,this.tableSettings.css_classes),t},reInitFootables:function(){if(this.app_ready){if("object"==("undefined"==typeof FooTable?"undefined":cl(FooTable))){var t=FooTable.get("#footable_"+this.tableId);t&&t.destroy()}jQuery("#footable_"+this.tableId).find("thead,tbody,tfoot").remove(),this.footableLoading=!1,jQuery("#footable_"+this.tableId).append(this.tableInnerHtml),this.initFootables()}},initFootables:function(){if(!this.footableLoading&&this.script_loaded){this.footableLoading=!0;var t=window.ninjaTableApp,e=jQuery("#footable_"+this.tableId);this.tableSettings.hide_on_empty&&e.on("expanded.ft.row",(function(t,a,n){e.find("table.footable-details td:empty").parent().addClass("nt_has_hide")}));var a=this.getTableConfig();t.initTable(e,a),this.footableLoading=!1}},dysel:function(t){for(var e=t.links,a=t.callback,n=t.nocache,i=t.debug,o=function(t,e){var a=(t=t.toString()).split(".").pop(),n=null;if("js"==a?((n=document.createElement("script")).setAttribute("type","text/javascript"),n.setAttribute("src",t)):("css"==a||t.indexOf("googleapis.com/css?")>-1)&&((n=document.createElement("link")).setAttribute("rel","stylesheet"),n.setAttribute("type","text/css"),n.setAttribute("href",t)),void 0!==n){if(e){var o=e;i&&(o=function(){e()}),n.onreadystatechange=o,n.onload=o}document.getElementsByTagName("head")[0].appendChild(n)}},l=a,s=e.length-1;s>=0;s--){var r=l,c=e[s];n&&(c+="?"+ +(new Date).getTime()),l=function(t){o(this,t)}.bind(c,r)}l()},loadRequiredScripts:function(){var t=this;this.dysel({links:window.ninja_table_admin.preview_required_scripts,callback:function(){t.script_loaded=!0}})},size:Me(),get:wo(),generateColorCss:function(){if("pre_defined_color"!=this.tableSettings.table_color_type){var t="#footable_"+this.tableId,e="\n ".concat(t," {\n background-color: ").concat(this.tableSettings.table_color_primary," !important;\n color: ").concat(this.tableSettings.table_color_secondary," !important;\n }\n ").concat(t," thead tr.footable-filtering th {\n background-color: ").concat(this.tableSettings.table_search_color_primary," !important;\n color: ").concat(this.tableSettings.table_search_color_secondary," !important;\n }\n ").concat(t,":not(.hide_all_borders) thead tr.footable-filtering th {\n ").concat(this.tableSettings.table_search_color_border?"\n border : 1px solid ".concat(this.tableSettings.table_search_color_border," !important;\n "):"\n border : 1px solid transparent !important;\n ","\n }\n ").concat(t," .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) {\n background-color: ").concat(this.tableSettings.table_search_color_secondary," !important;\n color: ").concat(this.tableSettings.table_search_color_primary," !important;\n }\n ").concat(t," tr.footable-header, ").concat(t," tr.footable-header th {\n background-color: ").concat(this.tableSettings.table_header_color_primary," !important;\n color: ").concat(this.tableSettings.table_color_header_secondary," !important;\n }\n ").concat(t,":not(.hide_all_borders) tr.footable-header th {\n border-color: ").concat(this.tableSettings.table_color_header_border," !important;\n }\n ").concat(t,":not(.hide_all_borders) tbody tr td {\n border-color: ").concat(this.tableSettings.table_color_border," !important;\n }\n ").concat(t," tbody tr:hover {\n background-color: ").concat(this.tableSettings.table_color_primary_hover," !important;\n color: ").concat(this.tableSettings.table_color_secondary_hover," !important;\n }\n ").concat(t," tbody tr:hover td {\n border-color: ").concat(this.tableSettings.table_color_border_hover," !important;\n }\n\n ").concat("yes"==this.tableSettings.alternate_color_status?"\n ".concat(t," tbody tr:nth-child(even) {\n background-color: ").concat(th
1
  /*! For license information please see ninja-tables-admin.3.1.0.js.LICENSE.txt */