Commit 63e69586141072c6d805504542e475d512eba8f9
1 parent
b5344e5e
New:
- Add jQueryUI icons. - Add jQueryUI buttons.
Showing
2 changed files
with
726 additions
and
0 deletions
Show diff stats
| 1 | +/* | |
| 2 | + * Created by PyramIDE. | |
| 3 | + * User: Jeremy | |
| 4 | + * Date: 07/09/2012 | |
| 5 | + * Time: 15:10 | |
| 6 | + * | |
| 7 | + * To change this template use Tools | Options | Coding | Edit Standard Headers. | |
| 8 | + */ | |
| 9 | + | |
| 10 | +read calexium_lib/web/CXM_making_a_web_site.anubis | |
| 11 | +read calexium_lib/web/CXM_jquery_icons.anubis | |
| 12 | +read tools/basis.anubis | |
| 13 | +read system/string.anubis | |
| 14 | + | |
| 15 | + | |
| 16 | +public type JQuery_button: | |
| 17 | + jQuery_button( | |
| 18 | + String button_id, String button_name, String button_label, JQuery_icon primary, JQuery_icon secondary // primary icon is for left icon, secondary icon is for right icon and button_id must set with an unique ID in order to have icons working | |
| 19 | + ) | |
| 20 | +. | |
| 21 | + | |
| 22 | +define HTML_Partial_Content | |
| 23 | + _jquery_buttons | |
| 24 | + ( | |
| 25 | + List(JQuery_button) buttons, | |
| 26 | + List(HTML_Head_Tag) html_tags, | |
| 27 | + List(HTML_Off_Form) html_buttons | |
| 28 | + ) | |
| 29 | + = | |
| 30 | + if buttons is | |
| 31 | + { | |
| 32 | + [ ] then | |
| 33 | + partial_content( | |
| 34 | + reverse(html_tags), | |
| 35 | + sequence(reverse(html_buttons)) | |
| 36 | + ), | |
| 37 | + [ h . t ] then | |
| 38 | + if h is jQuery_button(id, name, label, primary, secondary) then | |
| 39 | + if id = "" then // if the ID is not set => we can't use icons in the buttonset. | |
| 40 | + _jquery_buttons( | |
| 41 | + t, | |
| 42 | + html_tags, | |
| 43 | + [ | |
| 44 | + literal("<input type=\"submit\" name=\""+name+"\" value=\""+label+"\">") | |
| 45 | + . | |
| 46 | + html_buttons | |
| 47 | + ] | |
| 48 | + ) | |
| 49 | + else | |
| 50 | + if jquery_icon_to_string(primary) = "" then | |
| 51 | + if jquery_icon_to_string(secondary) = "" then | |
| 52 | + _jquery_buttons( | |
| 53 | + t, | |
| 54 | + [ | |
| 55 | + js_inline(script("", "$(document).ready(function(){$('#"+id+"').button();});")) | |
| 56 | + . | |
| 57 | + html_tags | |
| 58 | + ], | |
| 59 | + [ | |
| 60 | + literal("<input type=\"submit\" id=\""+id+"\" name=\""+name+"\" value=\""+label+"\">") | |
| 61 | + . | |
| 62 | + html_buttons | |
| 63 | + ] | |
| 64 | + ) | |
| 65 | + else | |
| 66 | + _jquery_buttons( | |
| 67 | + t, | |
| 68 | + [ | |
| 69 | + js_inline(script("", "$(document).ready(function(){$('#"+id+"').button({icons:{secondary:'"+jquery_icon_to_string(secondary)+"'}});});")) | |
| 70 | + . | |
| 71 | + html_tags | |
| 72 | + ], | |
| 73 | + [ | |
| 74 | + literal("<button id=\""+id+"\">"+label+"</button>") | |
| 75 | + . | |
| 76 | + html_buttons | |
| 77 | + ] | |
| 78 | + ) | |
| 79 | + else | |
| 80 | + if jquery_icon_to_string(secondary) = "" then | |
| 81 | + _jquery_buttons( | |
| 82 | + t, | |
| 83 | + [ | |
| 84 | + js_inline(script("", "$(document).ready(function(){$('#"+id+"').button({icons:{primary:'"+jquery_icon_to_string(primary)+"'}});});")) | |
| 85 | + . | |
| 86 | + html_tags | |
| 87 | + ], | |
| 88 | + [ | |
| 89 | + literal("<button id=\""+id+"\">"+label+"</button>") | |
| 90 | + . | |
| 91 | + html_buttons | |
| 92 | + ] | |
| 93 | + ) | |
| 94 | + else | |
| 95 | + _jquery_buttons( | |
| 96 | + t, | |
| 97 | + [ | |
| 98 | + js_inline(script("", "$(document).ready(function(){$('#"+id+"').button({icons:{primary:'"+jquery_icon_to_string(primary)+"',secondary:'"+jquery_icon_to_string(secondary)+"'}});});")) | |
| 99 | + . | |
| 100 | + html_tags | |
| 101 | + ], | |
| 102 | + [ | |
| 103 | + literal("<button id=\""+id+"\">"+label+"</button>") | |
| 104 | + . | |
| 105 | + html_buttons | |
| 106 | + ] | |
| 107 | + ) | |
| 108 | + } | |
| 109 | + . | |
| 110 | + | |
| 111 | +public define HTML_Partial_Content | |
| 112 | + jquery_buttons | |
| 113 | + ( | |
| 114 | + String buttons_container_id, | |
| 115 | + List(JQuery_button) buttons | |
| 116 | + ) | |
| 117 | + = | |
| 118 | + if _jquery_buttons(buttons, [], []) is partial_content(tags, html) then | |
| 119 | + partial_content( | |
| 120 | + [ js_inline(script("", "$(document).ready(function(){$('#"+buttons_container_id+"').buttonset();});")) ] + tags, | |
| 121 | + sequence([ | |
| 122 | + literal("<div id=\""+buttons_container_id+"\">"), | |
| 123 | + html, | |
| 124 | + literal("</div>") | |
| 125 | + ]) | |
| 126 | + ) | |
| 127 | + . | |
| 128 | + | |
| 129 | +public define HTML_Partial_Content | |
| 130 | + jquery_button | |
| 131 | + ( | |
| 132 | + JQuery_button button | |
| 133 | + ) | |
| 134 | + = | |
| 135 | + if button is jQuery_button(id, name, label, primary, secondary) then | |
| 136 | + if jquery_icon_to_string(primary) = "" then | |
| 137 | + if jquery_icon_to_string(secondary) = "" then | |
| 138 | + partial_content( | |
| 139 | + [ | |
| 140 | + js_inline(script("", "$(document).ready(function(){$('#"+id+"').button();});")) | |
| 141 | + ], | |
| 142 | + literal("<input type=\"submit\" id=\""+id+"\" name=\""+name+"\" value=\""+label+"\">") | |
| 143 | + ) | |
| 144 | + else | |
| 145 | + partial_content( | |
| 146 | + [ | |
| 147 | + js_inline(script("", "$(document).ready(function(){$('#"+id+"').button({icons:{secondary:'"+jquery_icon_to_string(secondary)+"'}});});")) | |
| 148 | + ], | |
| 149 | + literal("<button id=\""+id+"\">"+label+"</button>") | |
| 150 | + ) | |
| 151 | + else | |
| 152 | + if jquery_icon_to_string(secondary) = "" then | |
| 153 | + partial_content( | |
| 154 | + [ | |
| 155 | + js_inline(script("", "$(document).ready(function(){$('#"+id+"').button({icons:{primary:'"+jquery_icon_to_string(primary)+"'}});});")) | |
| 156 | + ], | |
| 157 | + literal("<button id=\""+id+"\">"+label+"</button>") | |
| 158 | + ) | |
| 159 | + else | |
| 160 | + partial_content( | |
| 161 | + [ | |
| 162 | + js_inline(script("", "$(document).ready(function(){$('#"+id+"').button({icons:{primary:'"+jquery_icon_to_string(primary)+"',secondary:'"+jquery_icon_to_string(secondary)+"'}});});")) | |
| 163 | + ], | |
| 164 | + literal("<button id=\""+id+"\">"+label+"</button>") | |
| 165 | + ) | |
| 166 | + . | ... | ... |
| 1 | +/* | |
| 2 | + * Created by PyramIDE. | |
| 3 | + * User: Jeremy | |
| 4 | + * Date: 08/09/2012 | |
| 5 | + * Time: 16:35 | |
| 6 | + * | |
| 7 | + * To change this template use Tools | Options | Coding | Edit Standard Headers. | |
| 8 | + */ | |
| 9 | + | |
| 10 | +read calexium_lib/web/CXM_making_a_web_site.anubis | |
| 11 | +read tools/basis.anubis | |
| 12 | +read system/string.anubis | |
| 13 | + | |
| 14 | +public type JQuery_icon: | |
| 15 | + ui_icon_carat_1_n, | |
| 16 | + ui_icon_carat_1_ne, | |
| 17 | + ui_icon_carat_1_e, | |
| 18 | + ui_icon_carat_1_se, | |
| 19 | + ui_icon_carat_1_s, | |
| 20 | + ui_icon_carat_1_sw, | |
| 21 | + ui_icon_carat_1_w, | |
| 22 | + ui_icon_carat_1_nw, | |
| 23 | + ui_icon_carat_2_n_s, | |
| 24 | + ui_icon_carat_2_e_w, | |
| 25 | + ui_icon_triangle_1_n, | |
| 26 | + ui_icon_triangle_1_ne, | |
| 27 | + ui_icon_triangle_1_e, | |
| 28 | + ui_icon_triangle_1_se, | |
| 29 | + ui_icon_triangle_1_s, | |
| 30 | + ui_icon_triangle_1_sw, | |
| 31 | + ui_icon_triangle_1_w, | |
| 32 | + ui_icon_triangle_1_nw, | |
| 33 | + ui_icon_triangle_2_n_s, | |
| 34 | + ui_icon_triangle_2_e_w, | |
| 35 | + ui_icon_arrow_1_n, | |
| 36 | + ui_icon_arrow_1_ne, | |
| 37 | + ui_icon_arrow_1_e, | |
| 38 | + ui_icon_arrow_1_se, | |
| 39 | + ui_icon_arrow_1_s, | |
| 40 | + ui_icon_arrow_1_sw, | |
| 41 | + ui_icon_arrow_1_w, | |
| 42 | + ui_icon_arrow_1_nw, | |
| 43 | + ui_icon_arrow_2_n_s, | |
| 44 | + ui_icon_arrow_2_ne_sw, | |
| 45 | + ui_icon_arrow_2_e_w, | |
| 46 | + ui_icon_arrow_2_se_nw, | |
| 47 | + ui_icon_arrowstop_1_n, | |
| 48 | + ui_icon_arrowstop_1_e, | |
| 49 | + ui_icon_arrowstop_1_s, | |
| 50 | + ui_icon_arrowstop_1_w, | |
| 51 | + ui_icon_arrowthick_1_n, | |
| 52 | + ui_icon_arrowthick_1_ne, | |
| 53 | + ui_icon_arrowthick_1_e, | |
| 54 | + ui_icon_arrowthick_1_se, | |
| 55 | + ui_icon_arrowthick_1_s, | |
| 56 | + ui_icon_arrowthick_1_sw, | |
| 57 | + ui_icon_arrowthick_1_w, | |
| 58 | + ui_icon_arrowthick_1_nw, | |
| 59 | + ui_icon_arrowthick_2_n_s, | |
| 60 | + ui_icon_arrowthick_2_ne_sw, | |
| 61 | + ui_icon_arrowthick_2_e_w, | |
| 62 | + ui_icon_arrowthick_2_se_nw, | |
| 63 | + ui_icon_arrowthickstop_1_n, | |
| 64 | + ui_icon_arrowthickstop_1_e, | |
| 65 | + ui_icon_arrowthickstop_1_s, | |
| 66 | + ui_icon_arrowthickstop_1_w, | |
| 67 | + ui_icon_arrowreturnthick_1_w, | |
| 68 | + ui_icon_arrowreturnthick_1_n, | |
| 69 | + ui_icon_arrowreturnthick_1_e, | |
| 70 | + ui_icon_arrowreturnthick_1_s, | |
| 71 | + ui_icon_arrowreturn_1_w, | |
| 72 | + ui_icon_arrowreturn_1_n, | |
| 73 | + ui_icon_arrowreturn_1_e, | |
| 74 | + ui_icon_arrowreturn_1_s, | |
| 75 | + ui_icon_arrowrefresh_1_w, | |
| 76 | + ui_icon_arrowrefresh_1_n, | |
| 77 | + ui_icon_arrowrefresh_1_e, | |
| 78 | + ui_icon_arrowrefresh_1_s, | |
| 79 | + ui_icon_arrow_4, | |
| 80 | + ui_icon_arrow_4_diag, | |
| 81 | + ui_icon_extlink, | |
| 82 | + ui_icon_newwin, | |
| 83 | + ui_icon_refresh, | |
| 84 | + ui_icon_shuffle, | |
| 85 | + ui_icon_transfer_e_w, | |
| 86 | + ui_icon_transferthick_e_w, | |
| 87 | + ui_icon_folder_collapsed, | |
| 88 | + ui_icon_folder_open, | |
| 89 | + ui_icon_document, | |
| 90 | + ui_icon_document_b, | |
| 91 | + ui_icon_note, | |
| 92 | + ui_icon_mail_closed, | |
| 93 | + ui_icon_mail_open, | |
| 94 | + ui_icon_suitcase, | |
| 95 | + ui_icon_comment, | |
| 96 | + ui_icon_person, | |
| 97 | + ui_icon_print, | |
| 98 | + ui_icon_trash, | |
| 99 | + ui_icon_locked, | |
| 100 | + ui_icon_unlocked, | |
| 101 | + ui_icon_bookmark, | |
| 102 | + ui_icon_tag, | |
| 103 | + ui_icon_home, | |
| 104 | + ui_icon_flag, | |
| 105 | + ui_icon_calculator, | |
| 106 | + ui_icon_cart, | |
| 107 | + ui_icon_pencil, | |
| 108 | + ui_icon_clock, | |
| 109 | + ui_icon_disk, | |
| 110 | + ui_icon_calendar, | |
| 111 | + ui_icon_zoomin, | |
| 112 | + ui_icon_zoomout, | |
| 113 | + ui_icon_search, | |
| 114 | + ui_icon_wrench, | |
| 115 | + ui_icon_gear, | |
| 116 | + ui_icon_heart, | |
| 117 | + ui_icon_star, | |
| 118 | + ui_icon_link, | |
| 119 | + ui_icon_cancel, | |
| 120 | + ui_icon_plus, | |
| 121 | + ui_icon_plusthick, | |
| 122 | + ui_icon_minus, | |
| 123 | + ui_icon_minusthick, | |
| 124 | + ui_icon_close, | |
| 125 | + ui_icon_closethick, | |
| 126 | + ui_icon_key, | |
| 127 | + ui_icon_lightbulb, | |
| 128 | + ui_icon_scissors, | |
| 129 | + ui_icon_clipboard, | |
| 130 | + ui_icon_copy, | |
| 131 | + ui_icon_contact, | |
| 132 | + ui_icon_image, | |
| 133 | + ui_icon_video, | |
| 134 | + ui_icon_script, | |
| 135 | + ui_icon_alert, | |
| 136 | + ui_icon_info, | |
| 137 | + ui_icon_notice, | |
| 138 | + ui_icon_help, | |
| 139 | + ui_icon_check, | |
| 140 | + ui_icon_bullet, | |
| 141 | + ui_icon_radio_off, | |
| 142 | + ui_icon_radio_on, | |
| 143 | + ui_icon_pin_w, | |
| 144 | + ui_icon_pin_s, | |
| 145 | + ui_icon_play, | |
| 146 | + ui_icon_pause, | |
| 147 | + ui_icon_seek_next, | |
| 148 | + ui_icon_seek_prev, | |
| 149 | + ui_icon_seek_end, | |
| 150 | + ui_icon_seek_first, | |
| 151 | + ui_icon_stop, | |
| 152 | + ui_icon_eject, | |
| 153 | + ui_icon_volume_off, | |
| 154 | + ui_icon_volume_on, | |
| 155 | + ui_icon_power, | |
| 156 | + ui_icon_signal_diag, | |
| 157 | + ui_icon_signal, | |
| 158 | + ui_icon_battery_0, | |
| 159 | + ui_icon_battery_1, | |
| 160 | + ui_icon_battery_2, | |
| 161 | + ui_icon_battery_3, | |
| 162 | + ui_icon_circle_plus, | |
| 163 | + ui_icon_circle_minus, | |
| 164 | + ui_icon_circle_close, | |
| 165 | + ui_icon_circle_triangle_e, | |
| 166 | + ui_icon_circle_triangle_s, | |
| 167 | + ui_icon_circle_triangle_w, | |
| 168 | + ui_icon_circle_triangle_n, | |
| 169 | + ui_icon_circle_arrow_e, | |
| 170 | + ui_icon_circle_arrow_s, | |
| 171 | + ui_icon_circle_arrow_w, | |
| 172 | + ui_icon_circle_arrow_n, | |
| 173 | + ui_icon_circle_zoomin, | |
| 174 | + ui_icon_circle_zoomout, | |
| 175 | + ui_icon_circle_check, | |
| 176 | + ui_icon_circlesmall_plus, | |
| 177 | + ui_icon_circlesmall_minus, | |
| 178 | + ui_icon_circlesmall_close, | |
| 179 | + ui_icon_squaresmall_plus, | |
| 180 | + ui_icon_squaresmall_minus, | |
| 181 | + ui_icon_squaresmall_close, | |
| 182 | + ui_icon_grip_dotted_vertical, | |
| 183 | + ui_icon_grip_dotted_horizontal, | |
| 184 | + ui_icon_grip_solid_vertical, | |
| 185 | + ui_icon_grip_solid_horizontal, | |
| 186 | + ui_icon_gripsmall_diagonal_se, | |
| 187 | + ui_icon_grip_diagonal_se, | |
| 188 | + jq_icon_none, | |
| 189 | + jq_custom_icon(String) // for custom icon => set it to CSS class name used to display icon => for creating a such CSS class please refer to jQueryUI Theme CSS file and see how it's done with the othe icon classes | |
| 190 | +. | |
| 191 | + | |
| 192 | +public define String | |
| 193 | + jquery_icon_to_string | |
| 194 | + ( | |
| 195 | + JQuery_icon icon | |
| 196 | + ) | |
| 197 | + = | |
| 198 | + if icon is | |
| 199 | + { | |
| 200 | + ui_icon_carat_1_n then "ui-icon-carat-1-n", | |
| 201 | + ui_icon_carat_1_ne then "ui-icon-carat-1-ne", | |
| 202 | + ui_icon_carat_1_e then "ui-icon-carat-1-e", | |
| 203 | + ui_icon_carat_1_se then "ui-icon-carat-1-se", | |
| 204 | + ui_icon_carat_1_s then "ui-icon-carat-1-s", | |
| 205 | + ui_icon_carat_1_sw then "ui-icon-carat-1-sw", | |
| 206 | + ui_icon_carat_1_w then "ui-icon-carat-1-w", | |
| 207 | + ui_icon_carat_1_nw then "ui-icon-carat-1-nw", | |
| 208 | + ui_icon_carat_2_n_s then "ui-icon-carat-2-n-s", | |
| 209 | + ui_icon_carat_2_e_w then "ui-icon-carat-2-e-w", | |
| 210 | + ui_icon_triangle_1_n then "ui-icon-triangle-1-n", | |
| 211 | + ui_icon_triangle_1_ne then "ui-icon-triangle-1-ne", | |
| 212 | + ui_icon_triangle_1_e then "ui-icon-triangle-1-e", | |
| 213 | + ui_icon_triangle_1_se then "ui-icon-triangle-1-se", | |
| 214 | + ui_icon_triangle_1_s then "ui-icon-triangle-1-s", | |
| 215 | + ui_icon_triangle_1_sw then "ui-icon-triangle-1-sw", | |
| 216 | + ui_icon_triangle_1_w then "ui-icon-triangle-1-w", | |
| 217 | + ui_icon_triangle_1_nw then "ui-icon-triangle-1-nw", | |
| 218 | + ui_icon_triangle_2_n_s then "ui-icon-triangle-2-n-s", | |
| 219 | + ui_icon_triangle_2_e_w then "ui-icon-triangle-2-e-w", | |
| 220 | + ui_icon_arrow_1_n then "ui-icon-arrow-1-n", | |
| 221 | + ui_icon_arrow_1_ne then "ui-icon-arrow-1-ne", | |
| 222 | + ui_icon_arrow_1_e then "ui-icon-arrow-1-e", | |
| 223 | + ui_icon_arrow_1_se then "ui-icon-arrow-1-se", | |
| 224 | + ui_icon_arrow_1_s then "ui-icon-arrow-1-s", | |
| 225 | + ui_icon_arrow_1_sw then "ui-icon-arrow-1-sw", | |
| 226 | + ui_icon_arrow_1_w then "ui-icon-arrow-1-w", | |
| 227 | + ui_icon_arrow_1_nw then "ui-icon-arrow-1-nw", | |
| 228 | + ui_icon_arrow_2_n_s then "ui-icon-arrow-2-n-s", | |
| 229 | + ui_icon_arrow_2_ne_sw then "ui-icon-arrow-2-ne-sw", | |
| 230 | + ui_icon_arrow_2_e_w then "ui-icon-arrow-2-e-w", | |
| 231 | + ui_icon_arrow_2_se_nw then "ui-icon-arrow-2-se-nw", | |
| 232 | + ui_icon_arrowstop_1_n then "ui-icon-arrowstop-1-n", | |
| 233 | + ui_icon_arrowstop_1_e then "ui-icon-arrowstop-1-e", | |
| 234 | + ui_icon_arrowstop_1_s then "ui-icon-arrowstop-1-s", | |
| 235 | + ui_icon_arrowstop_1_w then "ui-icon-arrowstop-1-w", | |
| 236 | + ui_icon_arrowthick_1_n then "ui-icon-arrowthick-1-n", | |
| 237 | + ui_icon_arrowthick_1_ne then "ui-icon-arrowthick-1-ne", | |
| 238 | + ui_icon_arrowthick_1_e then "ui-icon-arrowthick-1-e", | |
| 239 | + ui_icon_arrowthick_1_se then "ui-icon-arrowthick-1-se", | |
| 240 | + ui_icon_arrowthick_1_s then "ui-icon-arrowthick-1-s", | |
| 241 | + ui_icon_arrowthick_1_sw then "ui-icon-arrowthick-1-sw", | |
| 242 | + ui_icon_arrowthick_1_w then "ui-icon-arrowthick-1-w", | |
| 243 | + ui_icon_arrowthick_1_nw then "ui-icon-arrowthick-1-nw", | |
| 244 | + ui_icon_arrowthick_2_n_s then "ui-icon-arrowthick-2-n-s", | |
| 245 | + ui_icon_arrowthick_2_ne_sw then "ui-icon-arrowthick-2-ne-sw", | |
| 246 | + ui_icon_arrowthick_2_e_w then "ui-icon-arrowthick-2-e-w", | |
| 247 | + ui_icon_arrowthick_2_se_nw then "ui-icon-arrowthick-2-se-nw", | |
| 248 | + ui_icon_arrowthickstop_1_n then "ui-icon-arrowthickstop-1-n", | |
| 249 | + ui_icon_arrowthickstop_1_e then "ui-icon-arrowthickstop-1-e", | |
| 250 | + ui_icon_arrowthickstop_1_s then "ui-icon-arrowthickstop-1-s", | |
| 251 | + ui_icon_arrowthickstop_1_w then "ui-icon-arrowthickstop-1-w", | |
| 252 | + ui_icon_arrowreturnthick_1_w then "ui-icon-arrowreturnthick-1-w", | |
| 253 | + ui_icon_arrowreturnthick_1_n then "ui-icon-arrowreturnthick-1-n", | |
| 254 | + ui_icon_arrowreturnthick_1_e then "ui-icon-arrowreturnthick-1-e", | |
| 255 | + ui_icon_arrowreturnthick_1_s then "ui-icon-arrowreturnthick-1-s", | |
| 256 | + ui_icon_arrowreturn_1_w then "ui-icon-arrowreturn-1-w", | |
| 257 | + ui_icon_arrowreturn_1_n then "ui-icon-arrowreturn-1-n", | |
| 258 | + ui_icon_arrowreturn_1_e then "ui-icon-arrowreturn-1-e", | |
| 259 | + ui_icon_arrowreturn_1_s then "ui-icon-arrowreturn-1-s", | |
| 260 | + ui_icon_arrowrefresh_1_w then "ui-icon-arrowrefresh-1-w", | |
| 261 | + ui_icon_arrowrefresh_1_n then "ui-icon-arrowrefresh-1-n", | |
| 262 | + ui_icon_arrowrefresh_1_e then "ui-icon-arrowrefresh-1-e", | |
| 263 | + ui_icon_arrowrefresh_1_s then "ui-icon-arrowrefresh-1-s", | |
| 264 | + ui_icon_arrow_4 then "ui-icon-arrow-4", | |
| 265 | + ui_icon_arrow_4_diag then "ui-icon-arrow-4-diag", | |
| 266 | + ui_icon_extlink then "ui-icon-extlink", | |
| 267 | + ui_icon_newwin then "ui-icon-newwin", | |
| 268 | + ui_icon_refresh then "ui-icon-refresh", | |
| 269 | + ui_icon_shuffle then "ui-icon-shuffle", | |
| 270 | + ui_icon_transfer_e_w then "ui-icon-transfer-e-w", | |
| 271 | + ui_icon_transferthick_e_w then "ui-icon-transferthick-e-w", | |
| 272 | + ui_icon_folder_collapsed then "ui-icon-folder-collapsed", | |
| 273 | + ui_icon_folder_open then "ui-icon-folder-open", | |
| 274 | + ui_icon_document then "ui-icon-document", | |
| 275 | + ui_icon_document_b then "ui-icon-document-b", | |
| 276 | + ui_icon_note then "ui-icon-note", | |
| 277 | + ui_icon_mail_closed then "ui-icon-mail-closed", | |
| 278 | + ui_icon_mail_open then "ui-icon-mail-open", | |
| 279 | + ui_icon_suitcase then "ui-icon-suitcase", | |
| 280 | + ui_icon_comment then "ui-icon-comment", | |
| 281 | + ui_icon_person then "ui-icon-person", | |
| 282 | + ui_icon_print then "ui-icon-print", | |
| 283 | + ui_icon_trash then "ui-icon-trash", | |
| 284 | + ui_icon_locked then "ui-icon-locked", | |
| 285 | + ui_icon_unlocked then "ui-icon-unlocked", | |
| 286 | + ui_icon_bookmark then "ui-icon-bookmark", | |
| 287 | + ui_icon_tag then "ui-icon-tag", | |
| 288 | + ui_icon_home then "ui-icon-home", | |
| 289 | + ui_icon_flag then "ui-icon-flag", | |
| 290 | + ui_icon_calculator then "ui-icon-calculator", | |
| 291 | + ui_icon_cart then "ui-icon-cart", | |
| 292 | + ui_icon_pencil then "ui-icon-pencil", | |
| 293 | + ui_icon_clock then "ui-icon-clock", | |
| 294 | + ui_icon_disk then "ui-icon-disk", | |
| 295 | + ui_icon_calendar then "ui-icon-calendar", | |
| 296 | + ui_icon_zoomin then "ui-icon-zoomin", | |
| 297 | + ui_icon_zoomout then "ui-icon-zoomout", | |
| 298 | + ui_icon_search then "ui-icon-search", | |
| 299 | + ui_icon_wrench then "ui-icon-wrench", | |
| 300 | + ui_icon_gear then "ui-icon-gear", | |
| 301 | + ui_icon_heart then "ui-icon-heart", | |
| 302 | + ui_icon_star then "ui-icon-star", | |
| 303 | + ui_icon_link then "ui-icon-link", | |
| 304 | + ui_icon_cancel then "ui-icon-cancel", | |
| 305 | + ui_icon_plus then "ui-icon-plus", | |
| 306 | + ui_icon_plusthick then "ui-icon-plusthick", | |
| 307 | + ui_icon_minus then "ui-icon-minus", | |
| 308 | + ui_icon_minusthick then "ui-icon-minusthick", | |
| 309 | + ui_icon_close then "ui-icon-close", | |
| 310 | + ui_icon_closethick then "ui-icon-closethick", | |
| 311 | + ui_icon_key then "ui-icon-key", | |
| 312 | + ui_icon_lightbulb then "ui-icon-lightbulb", | |
| 313 | + ui_icon_scissors then "ui-icon-scissors", | |
| 314 | + ui_icon_clipboard then "ui-icon-clipboard", | |
| 315 | + ui_icon_copy then "ui-icon-copy", | |
| 316 | + ui_icon_contact then "ui-icon-contact", | |
| 317 | + ui_icon_image then "ui-icon-image", | |
| 318 | + ui_icon_video then "ui-icon-video", | |
| 319 | + ui_icon_script then "ui-icon-script", | |
| 320 | + ui_icon_alert then "ui-icon-alert", | |
| 321 | + ui_icon_info then "ui-icon-info", | |
| 322 | + ui_icon_notice then "ui-icon-notice", | |
| 323 | + ui_icon_help then "ui-icon-help", | |
| 324 | + ui_icon_check then "ui-icon-check", | |
| 325 | + ui_icon_bullet then "ui-icon-bullet", | |
| 326 | + ui_icon_radio_off then "ui-icon-radio-off", | |
| 327 | + ui_icon_radio_on then "ui-icon-radio-on", | |
| 328 | + ui_icon_pin_w then "ui-icon-pin-w", | |
| 329 | + ui_icon_pin_s then "ui-icon-pin-s", | |
| 330 | + ui_icon_play then "ui-icon-play", | |
| 331 | + ui_icon_pause then "ui-icon-pause", | |
| 332 | + ui_icon_seek_next then "ui-icon-seek-next", | |
| 333 | + ui_icon_seek_prev then "ui-icon-seek-prev", | |
| 334 | + ui_icon_seek_end then "ui-icon-seek-end", | |
| 335 | + ui_icon_seek_first then "ui-icon-seek-first", | |
| 336 | + ui_icon_stop then "ui-icon-stop", | |
| 337 | + ui_icon_eject then "ui-icon-eject", | |
| 338 | + ui_icon_volume_off then "ui-icon-volume-off", | |
| 339 | + ui_icon_volume_on then "ui-icon-volume-on", | |
| 340 | + ui_icon_power then "ui-icon-power", | |
| 341 | + ui_icon_signal_diag then "ui-icon-signal-diag", | |
| 342 | + ui_icon_signal then "ui-icon-signal", | |
| 343 | + ui_icon_battery_0 then "ui-icon-battery-0", | |
| 344 | + ui_icon_battery_1 then "ui-icon-battery-1", | |
| 345 | + ui_icon_battery_2 then "ui-icon-battery-2", | |
| 346 | + ui_icon_battery_3 then "ui-icon-battery-3", | |
| 347 | + ui_icon_circle_plus then "ui-icon-circle-plus", | |
| 348 | + ui_icon_circle_minus then "ui-icon-circle-minus", | |
| 349 | + ui_icon_circle_close then "ui-icon-circle-close", | |
| 350 | + ui_icon_circle_triangle_e then "ui-icon-circle-triangle-e", | |
| 351 | + ui_icon_circle_triangle_s then "ui-icon-circle-triangle-s", | |
| 352 | + ui_icon_circle_triangle_w then "ui-icon-circle-triangle-w", | |
| 353 | + ui_icon_circle_triangle_n then "ui-icon-circle-triangle-n", | |
| 354 | + ui_icon_circle_arrow_e then "ui-icon-circle-arrow-e", | |
| 355 | + ui_icon_circle_arrow_s then "ui-icon-circle-arrow-s", | |
| 356 | + ui_icon_circle_arrow_w then "ui-icon-circle-arrow-w", | |
| 357 | + ui_icon_circle_arrow_n then "ui-icon-circle-arrow-n", | |
| 358 | + ui_icon_circle_zoomin then "ui-icon-circle-zoomin", | |
| 359 | + ui_icon_circle_zoomout then "ui-icon-circle-zoomout", | |
| 360 | + ui_icon_circle_check then "ui-icon-circle-check", | |
| 361 | + ui_icon_circlesmall_plus then "ui-icon-circlesmall-plus", | |
| 362 | + ui_icon_circlesmall_minus then "ui-icon-circlesmall-minus", | |
| 363 | + ui_icon_circlesmall_close then "ui-icon-circlesmall-close", | |
| 364 | + ui_icon_squaresmall_plus then "ui-icon-squaresmall-plus", | |
| 365 | + ui_icon_squaresmall_minus then "ui-icon-squaresmall-minus", | |
| 366 | + ui_icon_squaresmall_close then "ui-icon-squaresmall-close", | |
| 367 | + ui_icon_grip_dotted_vertical then "ui-icon-grip-dotted-vertical", | |
| 368 | + ui_icon_grip_dotted_horizontal then "ui-icon-grip-dotted-horizontal", | |
| 369 | + ui_icon_grip_solid_vertical then "ui-icon-grip-solid-vertical", | |
| 370 | + ui_icon_grip_solid_horizontal then "ui-icon-grip-solid-horizontal", | |
| 371 | + ui_icon_gripsmall_diagonal_se then "ui-icon-gripsmall-diagonal-se", | |
| 372 | + ui_icon_grip_diagonal_se then "ui-icon-grip-diagonal-se", | |
| 373 | + jq_icon_none then "", | |
| 374 | + jq_custom_icon(str) then str | |
| 375 | + } | |
| 376 | + . | |
| 377 | + | |
| 378 | +public define JQuery_icon | |
| 379 | + string_to_jquery_icon | |
| 380 | + ( | |
| 381 | + String icon_class | |
| 382 | + ) | |
| 383 | + = | |
| 384 | + with ic=to_lower(icon_class), | |
| 385 | + if ic = "ui-icon-carat-1-n" then ui_icon_carat_1_n else | |
| 386 | + if ic = "ui-icon-carat-1-ne" then ui_icon_carat_1_ne else | |
| 387 | + if ic = "ui-icon-carat-1-e" then ui_icon_carat_1_e else | |
| 388 | + if ic = "ui-icon-carat-1-se" then ui_icon_carat_1_se else | |
| 389 | + if ic = "ui-icon-carat-1-s" then ui_icon_carat_1_s else | |
| 390 | + if ic = "ui-icon-carat-1-sw" then ui_icon_carat_1_sw else | |
| 391 | + if ic = "ui-icon-carat-1-w" then ui_icon_carat_1_w else | |
| 392 | + if ic = "ui-icon-carat-1-nw" then ui_icon_carat_1_nw else | |
| 393 | + if ic = "ui-icon-carat-2-n-s" then ui_icon_carat_2_n_s else | |
| 394 | + if ic = "ui-icon-carat-2-e-w" then ui_icon_carat_2_e_w else | |
| 395 | + if ic = "ui-icon-triangle-1-n" then ui_icon_triangle_1_n else | |
| 396 | + if ic = "ui-icon-triangle-1-ne" then ui_icon_triangle_1_ne else | |
| 397 | + if ic = "ui-icon-triangle-1-e" then ui_icon_triangle_1_e else | |
| 398 | + if ic = "ui-icon-triangle-1-se" then ui_icon_triangle_1_se else | |
| 399 | + if ic = "ui-icon-triangle-1-s" then ui_icon_triangle_1_s else | |
| 400 | + if ic = "ui-icon-triangle-1-sw" then ui_icon_triangle_1_sw else | |
| 401 | + if ic = "ui-icon-triangle-1-w" then ui_icon_triangle_1_w else | |
| 402 | + if ic = "ui-icon-triangle-1-nw" then ui_icon_triangle_1_nw else | |
| 403 | + if ic = "ui-icon-triangle-2-n-s" then ui_icon_triangle_2_n_s else | |
| 404 | + if ic = "ui-icon-triangle-2-e-w" then ui_icon_triangle_2_e_w else | |
| 405 | + if ic = "ui-icon-arrow-1-n" then ui_icon_arrow_1_n else | |
| 406 | + if ic = "ui-icon-arrow-1-ne" then ui_icon_arrow_1_ne else | |
| 407 | + if ic = "ui-icon-arrow-1-e" then ui_icon_arrow_1_e else | |
| 408 | + if ic = "ui-icon-arrow-1-se" then ui_icon_arrow_1_se else | |
| 409 | + if ic = "ui-icon-arrow-1-s" then ui_icon_arrow_1_s else | |
| 410 | + if ic = "ui-icon-arrow-1-sw" then ui_icon_arrow_1_sw else | |
| 411 | + if ic = "ui-icon-arrow-1-w" then ui_icon_arrow_1_w else | |
| 412 | + if ic = "ui-icon-arrow-1-nw" then ui_icon_arrow_1_nw else | |
| 413 | + if ic = "ui-icon-arrow-2-n-s" then ui_icon_arrow_2_n_s else | |
| 414 | + if ic = "ui-icon-arrow-2-ne-sw" then ui_icon_arrow_2_ne_sw else | |
| 415 | + if ic = "ui-icon-arrow-2-e-w" then ui_icon_arrow_2_e_w else | |
| 416 | + if ic = "ui-icon-arrow-2-se-nw" then ui_icon_arrow_2_se_nw else | |
| 417 | + if ic = "ui-icon-arrowstop-1-n" then ui_icon_arrowstop_1_n else | |
| 418 | + if ic = "ui-icon-arrowstop-1-e" then ui_icon_arrowstop_1_e else | |
| 419 | + if ic = "ui-icon-arrowstop-1-s" then ui_icon_arrowstop_1_s else | |
| 420 | + if ic = "ui-icon-arrowstop-1-w" then ui_icon_arrowstop_1_w else | |
| 421 | + if ic = "ui-icon-arrowthick-1-n" then ui_icon_arrowthick_1_n else | |
| 422 | + if ic = "ui-icon-arrowthick-1-ne" then ui_icon_arrowthick_1_ne else | |
| 423 | + if ic = "ui-icon-arrowthick-1-e" then ui_icon_arrowthick_1_e else | |
| 424 | + if ic = "ui-icon-arrowthick-1-se" then ui_icon_arrowthick_1_se else | |
| 425 | + if ic = "ui-icon-arrowthick-1-s" then ui_icon_arrowthick_1_s else | |
| 426 | + if ic = "ui-icon-arrowthick-1-sw" then ui_icon_arrowthick_1_sw else | |
| 427 | + if ic = "ui-icon-arrowthick-1-w" then ui_icon_arrowthick_1_w else | |
| 428 | + if ic = "ui-icon-arrowthick-1-nw" then ui_icon_arrowthick_1_nw else | |
| 429 | + if ic = "ui-icon-arrowthick-2-n-s" then ui_icon_arrowthick_2_n_s else | |
| 430 | + if ic = "ui-icon-arrowthick-2-ne-sw" then ui_icon_arrowthick_2_ne_sw else | |
| 431 | + if ic = "ui-icon-arrowthick-2-e-w" then ui_icon_arrowthick_2_e_w else | |
| 432 | + if ic = "ui-icon-arrowthick-2-se-nw" then ui_icon_arrowthick_2_se_nw else | |
| 433 | + if ic = "ui-icon-arrowthickstop-1-n" then ui_icon_arrowthickstop_1_n else | |
| 434 | + if ic = "ui-icon-arrowthickstop-1-e" then ui_icon_arrowthickstop_1_e else | |
| 435 | + if ic = "ui-icon-arrowthickstop-1-s" then ui_icon_arrowthickstop_1_s else | |
| 436 | + if ic = "ui-icon-arrowthickstop-1-w" then ui_icon_arrowthickstop_1_w else | |
| 437 | + if ic = "ui-icon-arrowreturnthick-1-w" then ui_icon_arrowreturnthick_1_w else | |
| 438 | + if ic = "ui-icon-arrowreturnthick-1-n" then ui_icon_arrowreturnthick_1_n else | |
| 439 | + if ic = "ui-icon-arrowreturnthick-1-e" then ui_icon_arrowreturnthick_1_e else | |
| 440 | + if ic = "ui-icon-arrowreturnthick-1-s" then ui_icon_arrowreturnthick_1_s else | |
| 441 | + if ic = "ui-icon-arrowreturn-1-w" then ui_icon_arrowreturn_1_w else | |
| 442 | + if ic = "ui-icon-arrowreturn-1-n" then ui_icon_arrowreturn_1_n else | |
| 443 | + if ic = "ui-icon-arrowreturn-1-e" then ui_icon_arrowreturn_1_e else | |
| 444 | + if ic = "ui-icon-arrowreturn-1-s" then ui_icon_arrowreturn_1_s else | |
| 445 | + if ic = "ui-icon-arrowrefresh-1-w" then ui_icon_arrowrefresh_1_w else | |
| 446 | + if ic = "ui-icon-arrowrefresh-1-n" then ui_icon_arrowrefresh_1_n else | |
| 447 | + if ic = "ui-icon-arrowrefresh-1-e" then ui_icon_arrowrefresh_1_e else | |
| 448 | + if ic = "ui-icon-arrowrefresh-1-s" then ui_icon_arrowrefresh_1_s else | |
| 449 | + if ic = "ui-icon-arrow-4" then ui_icon_arrow_4 else | |
| 450 | + if ic = "ui-icon-arrow-4-diag" then ui_icon_arrow_4_diag else | |
| 451 | + if ic = "ui-icon-extlink" then ui_icon_extlink else | |
| 452 | + if ic = "ui-icon-newwin" then ui_icon_newwin else | |
| 453 | + if ic = "ui-icon-refresh" then ui_icon_refresh else | |
| 454 | + if ic = "ui-icon-shuffle" then ui_icon_shuffle else | |
| 455 | + if ic = "ui-icon-transfer-e-w" then ui_icon_transfer_e_w else | |
| 456 | + if ic = "ui-icon-transferthick-e-w" then ui_icon_transferthick_e_w else | |
| 457 | + if ic = "ui-icon-folder-collapsed" then ui_icon_folder_collapsed else | |
| 458 | + if ic = "ui-icon-folder-open" then ui_icon_folder_open else | |
| 459 | + if ic = "ui-icon-document" then ui_icon_document else | |
| 460 | + if ic = "ui-icon-document-b" then ui_icon_document_b else | |
| 461 | + if ic = "ui-icon-note" then ui_icon_note else | |
| 462 | + if ic = "ui-icon-mail-closed" then ui_icon_mail_closed else | |
| 463 | + if ic = "ui-icon-mail-open" then ui_icon_mail_open else | |
| 464 | + if ic = "ui-icon-suitcase" then ui_icon_suitcase else | |
| 465 | + if ic = "ui-icon-comment" then ui_icon_comment else | |
| 466 | + if ic = "ui-icon-person" then ui_icon_person else | |
| 467 | + if ic = "ui-icon-print" then ui_icon_print else | |
| 468 | + if ic = "ui-icon-trash" then ui_icon_trash else | |
| 469 | + if ic = "ui-icon-locked" then ui_icon_locked else | |
| 470 | + if ic = "ui-icon-unlocked" then ui_icon_unlocked else | |
| 471 | + if ic = "ui-icon-bookmark" then ui_icon_bookmark else | |
| 472 | + if ic = "ui-icon-tag" then ui_icon_tag else | |
| 473 | + if ic = "ui-icon-home" then ui_icon_home else | |
| 474 | + if ic = "ui-icon-flag" then ui_icon_flag else | |
| 475 | + if ic = "ui-icon-calculator" then ui_icon_calculator else | |
| 476 | + if ic = "ui-icon-cart" then ui_icon_cart else | |
| 477 | + if ic = "ui-icon-pencil" then ui_icon_pencil else | |
| 478 | + if ic = "ui-icon-clock" then ui_icon_clock else | |
| 479 | + if ic = "ui-icon-disk" then ui_icon_disk else | |
| 480 | + if ic = "ui-icon-calendar" then ui_icon_calendar else | |
| 481 | + if ic = "ui-icon-zoomin" then ui_icon_zoomin else | |
| 482 | + if ic = "ui-icon-zoomout" then ui_icon_zoomout else | |
| 483 | + if ic = "ui-icon-search" then ui_icon_search else | |
| 484 | + if ic = "ui-icon-wrench" then ui_icon_wrench else | |
| 485 | + if ic = "ui-icon-gear" then ui_icon_gear else | |
| 486 | + if ic = "ui-icon-heart" then ui_icon_heart else | |
| 487 | + if ic = "ui-icon-star" then ui_icon_star else | |
| 488 | + if ic = "ui-icon-link" then ui_icon_link else | |
| 489 | + if ic = "ui-icon-cancel" then ui_icon_cancel else | |
| 490 | + if ic = "ui-icon-plus" then ui_icon_plus else | |
| 491 | + if ic = "ui-icon-plusthick" then ui_icon_plusthick else | |
| 492 | + if ic = "ui-icon-minus" then ui_icon_minus else | |
| 493 | + if ic = "ui-icon-minusthick" then ui_icon_minusthick else | |
| 494 | + if ic = "ui-icon-close" then ui_icon_close else | |
| 495 | + if ic = "ui-icon-closethick" then ui_icon_closethick else | |
| 496 | + if ic = "ui-icon-key" then ui_icon_key else | |
| 497 | + if ic = "ui-icon-lightbulb" then ui_icon_lightbulb else | |
| 498 | + if ic = "ui-icon-scissors" then ui_icon_scissors else | |
| 499 | + if ic = "ui-icon-clipboard" then ui_icon_clipboard else | |
| 500 | + if ic = "ui-icon-copy" then ui_icon_copy else | |
| 501 | + if ic = "ui-icon-contact" then ui_icon_contact else | |
| 502 | + if ic = "ui-icon-image" then ui_icon_image else | |
| 503 | + if ic = "ui-icon-video" then ui_icon_video else | |
| 504 | + if ic = "ui-icon-script" then ui_icon_script else | |
| 505 | + if ic = "ui-icon-alert" then ui_icon_alert else | |
| 506 | + if ic = "ui-icon-info" then ui_icon_info else | |
| 507 | + if ic = "ui-icon-notice" then ui_icon_notice else | |
| 508 | + if ic = "ui-icon-help" then ui_icon_help else | |
| 509 | + if ic = "ui-icon-check" then ui_icon_check else | |
| 510 | + if ic = "ui-icon-bullet" then ui_icon_bullet else | |
| 511 | + if ic = "ui-icon-radio-off" then ui_icon_radio_off else | |
| 512 | + if ic = "ui-icon-radio-on" then ui_icon_radio_on else | |
| 513 | + if ic = "ui-icon-pin-w" then ui_icon_pin_w else | |
| 514 | + if ic = "ui-icon-pin-s" then ui_icon_pin_s else | |
| 515 | + if ic = "ui-icon-play" then ui_icon_play else | |
| 516 | + if ic = "ui-icon-pause" then ui_icon_pause else | |
| 517 | + if ic = "ui-icon-seek-next" then ui_icon_seek_next else | |
| 518 | + if ic = "ui-icon-seek-prev" then ui_icon_seek_prev else | |
| 519 | + if ic = "ui-icon-seek-end" then ui_icon_seek_end else | |
| 520 | + if ic = "ui-icon-seek-first" then ui_icon_seek_first else | |
| 521 | + if ic = "ui-icon-stop" then ui_icon_stop else | |
| 522 | + if ic = "ui-icon-eject" then ui_icon_eject else | |
| 523 | + if ic = "ui-icon-volume-off" then ui_icon_volume_off else | |
| 524 | + if ic = "ui-icon-volume-on" then ui_icon_volume_on else | |
| 525 | + if ic = "ui-icon-power" then ui_icon_power else | |
| 526 | + if ic = "ui-icon-signal-diag" then ui_icon_signal_diag else | |
| 527 | + if ic = "ui-icon-signal" then ui_icon_signal else | |
| 528 | + if ic = "ui-icon-battery-0" then ui_icon_battery_0 else | |
| 529 | + if ic = "ui-icon-battery-1" then ui_icon_battery_1 else | |
| 530 | + if ic = "ui-icon-battery-2" then ui_icon_battery_2 else | |
| 531 | + if ic = "ui-icon-battery-3" then ui_icon_battery_3 else | |
| 532 | + if ic = "ui-icon-circle-plus" then ui_icon_circle_plus else | |
| 533 | + if ic = "ui-icon-circle-minus" then ui_icon_circle_minus else | |
| 534 | + if ic = "ui-icon-circle-close" then ui_icon_circle_close else | |
| 535 | + if ic = "ui-icon-circle-triangle-e" then ui_icon_circle_triangle_e else | |
| 536 | + if ic = "ui-icon-circle-triangle-s" then ui_icon_circle_triangle_s else | |
| 537 | + if ic = "ui-icon-circle-triangle-w" then ui_icon_circle_triangle_w else | |
| 538 | + if ic = "ui-icon-circle-triangle-n" then ui_icon_circle_triangle_n else | |
| 539 | + if ic = "ui-icon-circle-arrow-e" then ui_icon_circle_arrow_e else | |
| 540 | + if ic = "ui-icon-circle-arrow-s" then ui_icon_circle_arrow_s else | |
| 541 | + if ic = "ui-icon-circle-arrow-w" then ui_icon_circle_arrow_w else | |
| 542 | + if ic = "ui-icon-circle-arrow-n" then ui_icon_circle_arrow_n else | |
| 543 | + if ic = "ui-icon-circle-zoomin" then ui_icon_circle_zoomin else | |
| 544 | + if ic = "ui-icon-circle-zoomout" then ui_icon_circle_zoomout else | |
| 545 | + if ic = "ui-icon-circle-check" then ui_icon_circle_check else | |
| 546 | + if ic = "ui-icon-circlesmall-plus" then ui_icon_circlesmall_plus else | |
| 547 | + if ic = "ui-icon-circlesmall-minus" then ui_icon_circlesmall_minus else | |
| 548 | + if ic = "ui-icon-circlesmall-close" then ui_icon_circlesmall_close else | |
| 549 | + if ic = "ui-icon-squaresmall-plus" then ui_icon_squaresmall_plus else | |
| 550 | + if ic = "ui-icon-squaresmall-minus" then ui_icon_squaresmall_minus else | |
| 551 | + if ic = "ui-icon-squaresmall-close" then ui_icon_squaresmall_close else | |
| 552 | + if ic = "ui-icon-grip-dotted-vertical" then ui_icon_grip_dotted_vertical else | |
| 553 | + if ic = "ui-icon-grip-dotted-horizontal" then ui_icon_grip_dotted_horizontal else | |
| 554 | + if ic = "ui-icon-grip-solid-vertical" then ui_icon_grip_solid_vertical else | |
| 555 | + if ic = "ui-icon-grip-solid-horizontal" then ui_icon_grip_solid_horizontal else | |
| 556 | + if ic = "ui-icon-gripsmall-diagonal-se" then ui_icon_gripsmall_diagonal_se else | |
| 557 | + if ic = "ui-icon-grip-diagonal-se" then ui_icon_grip_diagonal_se else | |
| 558 | + if ic = "" then jq_icon_none else | |
| 559 | + jq_custom_icon(ic) | |
| 560 | + . | ... | ... |