|
154 | 154 | max: 32
|
155 | 155 | },
|
156 | 156 |
|
157 |
| - // TODO(c0bra): Create full list of these somehow. NOTE: do any allow a space before or after them? |
158 |
| - CURRENCY_SYMBOLS: ['ƒ', '$', '£', '$', '¤', '¥', '៛', '₩', '₱', '฿', '₫'], |
| 157 | + /** |
| 158 | + * @ngdoc array |
| 159 | + * @name CURRENCY_SYMBOLS |
| 160 | + * @propertyOf ui.grid.service:uiGridConstants |
| 161 | + * @description A list of all presently circulating currency symbols that was copied from |
| 162 | + * https://en.wikipedia.org/wiki/Currency_symbol#List_of_presently-circulating_currency_symbols |
| 163 | + * |
| 164 | + * Can be used on {@link ui.grid.class:rowSorter} to create a number string regex that ignores currency symbols. |
| 165 | + */ |
| 166 | + CURRENCY_SYMBOLS: ['¤', '؋', 'Ar', 'Ƀ', '฿', 'B/.', 'Br', 'Bs.', 'Bs.F.', 'GH₵', '¢', 'c', 'Ch.', '₡', 'C$', 'D', 'ден', |
| 167 | + 'دج', '.د.ب', 'د.ع', 'JD', 'د.ك', 'ل.د', 'дин', 'د.ت', 'د.م.', 'د.إ', 'Db', '$', '₫', 'Esc', '€', 'ƒ', 'Ft', 'FBu', |
| 168 | + 'FCFA', 'CFA', 'Fr', 'FRw', 'G', 'gr', '₲', 'h', '₴', '₭', 'Kč', 'kr', 'kn', 'MK', 'ZK', 'Kz', 'K', 'L', 'Le', 'лв', |
| 169 | + 'E', 'lp', 'M', 'KM', 'MT', '₥', 'Nfk', '₦', 'Nu.', 'UM', 'T$', 'MOP$', '₱', 'Pt.', '£', 'ج.م.', 'LL', 'LS', 'P', 'Q', |
| 170 | + 'q', 'R', 'R$', 'ر.ع.', 'ر.ق', 'ر.س', '៛', 'RM', 'p', 'Rf.', '₹', '₨', 'SRe', 'Rp', '₪', 'Ksh', 'Sh.So.', 'USh', 'S/', |
| 171 | + 'SDR', 'сом', '৳ ', 'WS$', '₮', 'VT', '₩', '¥', 'zł'], |
159 | 172 |
|
160 | 173 | /**
|
161 | 174 | * @ngdoc object
|
|
0 commit comments