1 | "use strict";
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 | var _a, _b, _c, _d;
|
18 | Object.defineProperty(exports, "__esModule", { value: true });
|
19 | exports.ALERT_BODY = exports.ALERT = exports.FIXED_POSITIONING_CONTAINING_BLOCK = exports.RTL = exports.LIST_UNSTYLED = exports.LIST = exports.HEADING = exports.CODE_BLOCK = exports.CODE = exports.BLOCKQUOTE = exports.TEXT_OVERFLOW_ELLIPSIS = exports.TEXT_DISABLED = exports.TEXT_MUTED = exports.TEXT_SMALL = exports.TEXT_LARGE = exports.MONOSPACE_TEXT = exports.RUNNING_TEXT = exports.UI_TEXT = exports.FOCUS_DISABLED = exports.INTENT_DANGER = exports.INTENT_WARNING = exports.INTENT_SUCCESS = exports.INTENT_PRIMARY = exports.ELEVATION_4 = exports.ELEVATION_3 = exports.ELEVATION_2 = exports.ELEVATION_1 = exports.ELEVATION_0 = exports.POSITION_RIGHT = exports.POSITION_LEFT = exports.POSITION_BOTTOM = exports.POSITION_TOP = exports.VERTICAL = exports.SMALL = exports.ROUND = exports.MULTILINE = exports.OUTLINED = exports.MINIMAL = exports.LOADING = exports.LARGE = exports.INTERACTIVE = exports.INLINE = exports.FIXED_TOP = exports.FIXED = exports.FILL = exports.DISABLED = exports.DARK = exports.ALIGN_RIGHT = exports.ALIGN_LEFT = exports.ACTIVE = void 0;
|
20 | exports.INPUT_GHOST = exports.INPUT = exports.HTML_TABLE_STRIPED = exports.HTML_TABLE_CONDENSED = exports.HTML_TABLE_BORDERED = exports.HTML_TABLE = exports.SELECT = exports.HTML_SELECT = exports.FLEX_EXPANDER = exports.EDITABLE_TEXT_PLACEHOLDER = exports.EDITABLE_TEXT_INPUT = exports.EDITABLE_TEXT_EDITING = exports.EDITABLE_TEXT_CONTENT = exports.EDITABLE_TEXT = exports.DRAWER_HEADER = exports.DRAWER_FOOTER = exports.DRAWER_BODY = exports.DRAWER = exports.DIVIDER = exports.DIALOG_STEP_VIEWED = exports.DIALOG_STEP_ICON = exports.DIALOG_STEP_TITLE = exports.DIALOG_STEP_CONTAINER = exports.DIALOG_STEP = exports.DIALOG_HEADER = exports.DIALOG_FOOTER_ACTIONS = exports.DIALOG_FOOTER = exports.DIALOG_CLOSE_BUTTON = exports.DIALOG_BODY = exports.DIALOG_CONTAINER = exports.DIALOG = exports.CONTROL_GROUP = exports.CONTEXT_MENU_POPOVER_TARGET = exports.CONTEXT_MENU = exports.COLLAPSIBLE_LIST = exports.COLLAPSE_BODY = exports.COLLAPSE = exports.CARD = exports.CALLOUT_ICON = exports.CALLOUT = exports.BUTTON_TEXT = exports.BUTTON_SPINNER = exports.BUTTON_GROUP = exports.BUTTON = exports.BREADCRUMBS_COLLAPSED = exports.BREADCRUMBS = exports.BREADCRUMB_CURRENT = exports.BREADCRUMB = exports.ALERT_FOOTER = exports.ALERT_CONTENTS = void 0;
|
21 | exports.OVERLAY_INLINE = exports.OVERLAY_CONTENT = exports.OVERLAY_CONTAINER = exports.OVERLAY_BACKDROP = exports.OVERLAY = exports.OVERFLOW_LIST_SPACER = exports.OVERFLOW_LIST = exports.NUMERIC_INPUT = exports.NON_IDEAL_STATE_VISUAL = exports.NON_IDEAL_STATE = exports.NAVBAR_DIVIDER = exports.NAVBAR_HEADING = exports.NAVBAR_GROUP = exports.NAVBAR = exports.MULTISTEP_DIALOG_FOOTER = exports.MULTISTEP_DIALOG_RIGHT_PANEL = exports.MULTISTEP_DIALOG_LEFT_PANEL = exports.MULTISTEP_DIALOG_PANELS = exports.MULTISTEP_DIALOG = exports.MENU_HEADER = exports.MENU_DIVIDER = exports.MENU_SUBMENU = exports.MENU_ITEM_LABEL = exports.MENU_ITEM = exports.MENU = exports.FORM_HELPER_TEXT = exports.FORM_CONTENT = exports.FORM_GROUP = exports.LABEL = exports.HOTKEY_DIALOG = exports.HOTKEY_COLUMN = exports.HOTKEY_LABEL = exports.HOTKEY = exports.MODIFIER_KEY = exports.KEY_COMBO = exports.KEY = exports.FILE_UPLOAD_INPUT_CUSTOM_TEXT = exports.FILE_UPLOAD_INPUT = exports.FILE_INPUT_HAS_SELECTION = exports.FILE_INPUT = exports.SWITCH_INNER_TEXT = exports.SWITCH = exports.RADIO = exports.CHECKBOX = exports.CONTROL_INDICATOR_CHILD = exports.CONTROL_INDICATOR = exports.CONTROL = exports.INPUT_ACTION = exports.INPUT_LEFT_CONTAINER = exports.INPUT_GROUP = void 0;
|
22 | exports.TAG = exports.TABS = exports.TAB_PANEL = exports.TAB_LIST = exports.TAB_INDICATOR_WRAPPER = exports.TAB_INDICATOR = exports.TAB = exports.SPINNER_TRACK = exports.SPINNER_NO_SPIN = exports.SPINNER_HEAD = exports.SPINNER_ANIMATION = exports.SPINNER = exports.END = exports.START = exports.SLIDER_PROGRESS = exports.SLIDER_TRACK = exports.SLIDER_LABEL = exports.SLIDER_HANDLE = exports.SLIDER_AXIS = exports.SLIDER = exports.SKELETON = exports.PORTAL = exports.PROGRESS_NO_ANIMATION = exports.PROGRESS_NO_STRIPES = exports.PROGRESS_METER = exports.PROGRESS_BAR = exports.TRANSITION_CONTAINER = exports.POPOVER_WRAPPER = exports.POPOVER_TARGET = exports.POPOVER_OPEN = exports.POPOVER_DISMISS_OVERRIDE = exports.POPOVER_DISMISS = exports.POPOVER_CONTENT_SIZING = exports.POPOVER_CONTENT = exports.POPOVER_CAPTURING_DISMISS = exports.POPOVER_BACKDROP = exports.POPOVER_ARROW = exports.POPOVER = exports.PANEL_STACK2_VIEW = exports.PANEL_STACK2_HEADER_BACK = exports.PANEL_STACK2_HEADER = exports.PANEL_STACK2 = exports.PANEL_STACK_VIEW = exports.PANEL_STACK_HEADER_BACK = exports.PANEL_STACK_HEADER = exports.PANEL_STACK = exports.OVERLAY_END_FOCUS_TRAP = exports.OVERLAY_START_FOCUS_TRAP = exports.OVERLAY_SCROLL_CONTAINER = exports.OVERLAY_OPEN = void 0;
|
23 | exports.positionClass = exports.intentClass = exports.iconClass = exports.elevationClass = exports.alignmentClass = exports.getClassNamespace = exports.ICON_LARGE = exports.ICON_STANDARD = exports.ICON = exports.TREE_ROOT = exports.TREE_NODE_SELECTED = exports.TREE_NODE_SECONDARY_LABEL = exports.TREE_NODE_LIST = exports.TREE_NODE_LABEL = exports.TREE_NODE_ICON = exports.TREE_NODE_EXPANDED = exports.TREE_NODE_CONTENT = exports.TREE_NODE_CARET_OPEN = exports.TREE_NODE_CARET_NONE = exports.TREE_NODE_CARET_CLOSED = exports.TREE_NODE_CARET = exports.TREE_NODE = exports.TREE = exports.TOOLTIP_INDICATOR = exports.TOOLTIP = exports.TOAST_MESSAGE = exports.TOAST_CONTAINER = exports.TOAST = exports.TAG_INPUT_VALUES = exports.TAG_INPUT_ICON = exports.TAG_INPUT = exports.TAG_REMOVE = void 0;
|
24 | var alignment_1 = require("./alignment");
|
25 | var elevation_1 = require("./elevation");
|
26 | var intent_1 = require("./intent");
|
27 | var position_1 = require("./position");
|
28 | var NS = "bp3";
|
29 | if (typeof process !== "undefined") {
|
30 | NS = (_d = (_b = (_a = process.env) === null || _a === void 0 ? void 0 : _a.BLUEPRINT_NAMESPACE) !== null && _b !== void 0 ? _b : (_c = process.env) === null || _c === void 0 ? void 0 : _c.REACT_APP_BLUEPRINT_NAMESPACE) !== null && _d !== void 0 ? _d : NS;
|
31 | }
|
32 |
|
33 | exports.ACTIVE = NS + "-active";
|
34 | exports.ALIGN_LEFT = NS + "-align-left";
|
35 | exports.ALIGN_RIGHT = NS + "-align-right";
|
36 | exports.DARK = NS + "-dark";
|
37 | exports.DISABLED = NS + "-disabled";
|
38 | exports.FILL = NS + "-fill";
|
39 | exports.FIXED = NS + "-fixed";
|
40 | exports.FIXED_TOP = NS + "-fixed-top";
|
41 | exports.INLINE = NS + "-inline";
|
42 | exports.INTERACTIVE = NS + "-interactive";
|
43 | exports.LARGE = NS + "-large";
|
44 | exports.LOADING = NS + "-loading";
|
45 | exports.MINIMAL = NS + "-minimal";
|
46 | exports.OUTLINED = NS + "-outlined";
|
47 | exports.MULTILINE = NS + "-multiline";
|
48 | exports.ROUND = NS + "-round";
|
49 | exports.SMALL = NS + "-small";
|
50 | exports.VERTICAL = NS + "-vertical";
|
51 | exports.POSITION_TOP = positionClass(position_1.Position.TOP);
|
52 | exports.POSITION_BOTTOM = positionClass(position_1.Position.BOTTOM);
|
53 | exports.POSITION_LEFT = positionClass(position_1.Position.LEFT);
|
54 | exports.POSITION_RIGHT = positionClass(position_1.Position.RIGHT);
|
55 | exports.ELEVATION_0 = elevationClass(elevation_1.Elevation.ZERO);
|
56 | exports.ELEVATION_1 = elevationClass(elevation_1.Elevation.ONE);
|
57 | exports.ELEVATION_2 = elevationClass(elevation_1.Elevation.TWO);
|
58 | exports.ELEVATION_3 = elevationClass(elevation_1.Elevation.THREE);
|
59 | exports.ELEVATION_4 = elevationClass(elevation_1.Elevation.FOUR);
|
60 | exports.INTENT_PRIMARY = intentClass(intent_1.Intent.PRIMARY);
|
61 | exports.INTENT_SUCCESS = intentClass(intent_1.Intent.SUCCESS);
|
62 | exports.INTENT_WARNING = intentClass(intent_1.Intent.WARNING);
|
63 | exports.INTENT_DANGER = intentClass(intent_1.Intent.DANGER);
|
64 | exports.FOCUS_DISABLED = NS + "-focus-disabled";
|
65 |
|
66 | exports.UI_TEXT = NS + "-ui-text";
|
67 | exports.RUNNING_TEXT = NS + "-running-text";
|
68 | exports.MONOSPACE_TEXT = NS + "-monospace-text";
|
69 | exports.TEXT_LARGE = NS + "-text-large";
|
70 | exports.TEXT_SMALL = NS + "-text-small";
|
71 | exports.TEXT_MUTED = NS + "-text-muted";
|
72 | exports.TEXT_DISABLED = NS + "-text-disabled";
|
73 | exports.TEXT_OVERFLOW_ELLIPSIS = NS + "-text-overflow-ellipsis";
|
74 |
|
75 | exports.BLOCKQUOTE = NS + "-blockquote";
|
76 | exports.CODE = NS + "-code";
|
77 | exports.CODE_BLOCK = NS + "-code-block";
|
78 | exports.HEADING = NS + "-heading";
|
79 | exports.LIST = NS + "-list";
|
80 | exports.LIST_UNSTYLED = NS + "-list-unstyled";
|
81 | exports.RTL = NS + "-rtl";
|
82 |
|
83 |
|
84 |
|
85 |
|
86 |
|
87 | exports.FIXED_POSITIONING_CONTAINING_BLOCK = NS + "-fixed-positioning-containing-block";
|
88 |
|
89 | exports.ALERT = NS + "-alert";
|
90 | exports.ALERT_BODY = exports.ALERT + "-body";
|
91 | exports.ALERT_CONTENTS = exports.ALERT + "-contents";
|
92 | exports.ALERT_FOOTER = exports.ALERT + "-footer";
|
93 | exports.BREADCRUMB = NS + "-breadcrumb";
|
94 | exports.BREADCRUMB_CURRENT = exports.BREADCRUMB + "-current";
|
95 | exports.BREADCRUMBS = exports.BREADCRUMB + "s";
|
96 | exports.BREADCRUMBS_COLLAPSED = exports.BREADCRUMB + "s-collapsed";
|
97 | exports.BUTTON = NS + "-button";
|
98 | exports.BUTTON_GROUP = exports.BUTTON + "-group";
|
99 | exports.BUTTON_SPINNER = exports.BUTTON + "-spinner";
|
100 | exports.BUTTON_TEXT = exports.BUTTON + "-text";
|
101 | exports.CALLOUT = NS + "-callout";
|
102 | exports.CALLOUT_ICON = exports.CALLOUT + "-icon";
|
103 | exports.CARD = NS + "-card";
|
104 | exports.COLLAPSE = NS + "-collapse";
|
105 | exports.COLLAPSE_BODY = exports.COLLAPSE + "-body";
|
106 | exports.COLLAPSIBLE_LIST = NS + "-collapse-list";
|
107 | exports.CONTEXT_MENU = NS + "-context-menu";
|
108 | exports.CONTEXT_MENU_POPOVER_TARGET = exports.CONTEXT_MENU + "-popover-target";
|
109 | exports.CONTROL_GROUP = NS + "-control-group";
|
110 | exports.DIALOG = NS + "-dialog";
|
111 | exports.DIALOG_CONTAINER = exports.DIALOG + "-container";
|
112 | exports.DIALOG_BODY = exports.DIALOG + "-body";
|
113 | exports.DIALOG_CLOSE_BUTTON = exports.DIALOG + "-close-button";
|
114 | exports.DIALOG_FOOTER = exports.DIALOG + "-footer";
|
115 | exports.DIALOG_FOOTER_ACTIONS = exports.DIALOG + "-footer-actions";
|
116 | exports.DIALOG_HEADER = exports.DIALOG + "-header";
|
117 | exports.DIALOG_STEP = NS + "-dialog-step";
|
118 | exports.DIALOG_STEP_CONTAINER = exports.DIALOG_STEP + "-container";
|
119 | exports.DIALOG_STEP_TITLE = exports.DIALOG_STEP + "-title";
|
120 | exports.DIALOG_STEP_ICON = exports.DIALOG_STEP + "-icon";
|
121 | exports.DIALOG_STEP_VIEWED = exports.DIALOG_STEP + "-viewed";
|
122 | exports.DIVIDER = NS + "-divider";
|
123 | exports.DRAWER = NS + "-drawer";
|
124 | exports.DRAWER_BODY = exports.DRAWER + "-body";
|
125 | exports.DRAWER_FOOTER = exports.DRAWER + "-footer";
|
126 | exports.DRAWER_HEADER = exports.DRAWER + "-header";
|
127 | exports.EDITABLE_TEXT = NS + "-editable-text";
|
128 | exports.EDITABLE_TEXT_CONTENT = exports.EDITABLE_TEXT + "-content";
|
129 | exports.EDITABLE_TEXT_EDITING = exports.EDITABLE_TEXT + "-editing";
|
130 | exports.EDITABLE_TEXT_INPUT = exports.EDITABLE_TEXT + "-input";
|
131 | exports.EDITABLE_TEXT_PLACEHOLDER = exports.EDITABLE_TEXT + "-placeholder";
|
132 | exports.FLEX_EXPANDER = NS + "-flex-expander";
|
133 | exports.HTML_SELECT = NS + "-html-select";
|
134 |
|
135 | exports.SELECT = NS + "-select";
|
136 | exports.HTML_TABLE = NS + "-html-table";
|
137 | exports.HTML_TABLE_BORDERED = exports.HTML_TABLE + "-bordered";
|
138 | exports.HTML_TABLE_CONDENSED = exports.HTML_TABLE + "-condensed";
|
139 | exports.HTML_TABLE_STRIPED = exports.HTML_TABLE + "-striped";
|
140 | exports.INPUT = NS + "-input";
|
141 | exports.INPUT_GHOST = exports.INPUT + "-ghost";
|
142 | exports.INPUT_GROUP = exports.INPUT + "-group";
|
143 | exports.INPUT_LEFT_CONTAINER = exports.INPUT + "-left-container";
|
144 | exports.INPUT_ACTION = exports.INPUT + "-action";
|
145 | exports.CONTROL = NS + "-control";
|
146 | exports.CONTROL_INDICATOR = exports.CONTROL + "-indicator";
|
147 | exports.CONTROL_INDICATOR_CHILD = exports.CONTROL_INDICATOR + "-child";
|
148 | exports.CHECKBOX = NS + "-checkbox";
|
149 | exports.RADIO = NS + "-radio";
|
150 | exports.SWITCH = NS + "-switch";
|
151 | exports.SWITCH_INNER_TEXT = exports.SWITCH + "-inner-text";
|
152 | exports.FILE_INPUT = NS + "-file-input";
|
153 | exports.FILE_INPUT_HAS_SELECTION = NS + "-file-input-has-selection";
|
154 | exports.FILE_UPLOAD_INPUT = NS + "-file-upload-input";
|
155 | exports.FILE_UPLOAD_INPUT_CUSTOM_TEXT = NS + "-file-upload-input-custom-text";
|
156 | exports.KEY = NS + "-key";
|
157 | exports.KEY_COMBO = exports.KEY + "-combo";
|
158 | exports.MODIFIER_KEY = NS + "-modifier-key";
|
159 | exports.HOTKEY = NS + "-hotkey";
|
160 | exports.HOTKEY_LABEL = exports.HOTKEY + "-label";
|
161 | exports.HOTKEY_COLUMN = exports.HOTKEY + "-column";
|
162 | exports.HOTKEY_DIALOG = exports.HOTKEY + "-dialog";
|
163 | exports.LABEL = NS + "-label";
|
164 | exports.FORM_GROUP = NS + "-form-group";
|
165 | exports.FORM_CONTENT = NS + "-form-content";
|
166 | exports.FORM_HELPER_TEXT = NS + "-form-helper-text";
|
167 | exports.MENU = NS + "-menu";
|
168 | exports.MENU_ITEM = exports.MENU + "-item";
|
169 | exports.MENU_ITEM_LABEL = exports.MENU_ITEM + "-label";
|
170 | exports.MENU_SUBMENU = NS + "-submenu";
|
171 | exports.MENU_DIVIDER = exports.MENU + "-divider";
|
172 | exports.MENU_HEADER = exports.MENU + "-header";
|
173 | exports.MULTISTEP_DIALOG = NS + "-multistep-dialog";
|
174 | exports.MULTISTEP_DIALOG_PANELS = exports.MULTISTEP_DIALOG + "-panels";
|
175 | exports.MULTISTEP_DIALOG_LEFT_PANEL = exports.MULTISTEP_DIALOG + "-left-panel";
|
176 | exports.MULTISTEP_DIALOG_RIGHT_PANEL = exports.MULTISTEP_DIALOG + "-right-panel";
|
177 | exports.MULTISTEP_DIALOG_FOOTER = exports.MULTISTEP_DIALOG + "-footer";
|
178 | exports.NAVBAR = NS + "-navbar";
|
179 | exports.NAVBAR_GROUP = exports.NAVBAR + "-group";
|
180 | exports.NAVBAR_HEADING = exports.NAVBAR + "-heading";
|
181 | exports.NAVBAR_DIVIDER = exports.NAVBAR + "-divider";
|
182 | exports.NON_IDEAL_STATE = NS + "-non-ideal-state";
|
183 | exports.NON_IDEAL_STATE_VISUAL = exports.NON_IDEAL_STATE + "-visual";
|
184 | exports.NUMERIC_INPUT = NS + "-numeric-input";
|
185 | exports.OVERFLOW_LIST = NS + "-overflow-list";
|
186 | exports.OVERFLOW_LIST_SPACER = exports.OVERFLOW_LIST + "-spacer";
|
187 | exports.OVERLAY = NS + "-overlay";
|
188 | exports.OVERLAY_BACKDROP = exports.OVERLAY + "-backdrop";
|
189 | exports.OVERLAY_CONTAINER = exports.OVERLAY + "-container";
|
190 | exports.OVERLAY_CONTENT = exports.OVERLAY + "-content";
|
191 | exports.OVERLAY_INLINE = exports.OVERLAY + "-inline";
|
192 | exports.OVERLAY_OPEN = exports.OVERLAY + "-open";
|
193 | exports.OVERLAY_SCROLL_CONTAINER = exports.OVERLAY + "-scroll-container";
|
194 | exports.OVERLAY_START_FOCUS_TRAP = exports.OVERLAY + "-start-focus-trap";
|
195 | exports.OVERLAY_END_FOCUS_TRAP = exports.OVERLAY + "-end-focus-trap";
|
196 | exports.PANEL_STACK = NS + "-panel-stack";
|
197 | exports.PANEL_STACK_HEADER = exports.PANEL_STACK + "-header";
|
198 | exports.PANEL_STACK_HEADER_BACK = exports.PANEL_STACK + "-header-back";
|
199 | exports.PANEL_STACK_VIEW = exports.PANEL_STACK + "-view";
|
200 | exports.PANEL_STACK2 = NS + "-panel-stack2";
|
201 | exports.PANEL_STACK2_HEADER = exports.PANEL_STACK + "-header";
|
202 | exports.PANEL_STACK2_HEADER_BACK = exports.PANEL_STACK + "-header-back";
|
203 | exports.PANEL_STACK2_VIEW = exports.PANEL_STACK + "-view";
|
204 | exports.POPOVER = NS + "-popover";
|
205 | exports.POPOVER_ARROW = exports.POPOVER + "-arrow";
|
206 | exports.POPOVER_BACKDROP = exports.POPOVER + "-backdrop";
|
207 | exports.POPOVER_CAPTURING_DISMISS = exports.POPOVER + "-capturing-dismiss";
|
208 | exports.POPOVER_CONTENT = exports.POPOVER + "-content";
|
209 | exports.POPOVER_CONTENT_SIZING = exports.POPOVER_CONTENT + "-sizing";
|
210 | exports.POPOVER_DISMISS = exports.POPOVER + "-dismiss";
|
211 | exports.POPOVER_DISMISS_OVERRIDE = exports.POPOVER_DISMISS + "-override";
|
212 | exports.POPOVER_OPEN = exports.POPOVER + "-open";
|
213 | exports.POPOVER_TARGET = exports.POPOVER + "-target";
|
214 | exports.POPOVER_WRAPPER = exports.POPOVER + "-wrapper";
|
215 | exports.TRANSITION_CONTAINER = NS + "-transition-container";
|
216 | exports.PROGRESS_BAR = NS + "-progress-bar";
|
217 | exports.PROGRESS_METER = NS + "-progress-meter";
|
218 | exports.PROGRESS_NO_STRIPES = NS + "-no-stripes";
|
219 | exports.PROGRESS_NO_ANIMATION = NS + "-no-animation";
|
220 | exports.PORTAL = NS + "-portal";
|
221 | exports.SKELETON = NS + "-skeleton";
|
222 | exports.SLIDER = NS + "-slider";
|
223 | exports.SLIDER_AXIS = exports.SLIDER + "-axis";
|
224 | exports.SLIDER_HANDLE = exports.SLIDER + "-handle";
|
225 | exports.SLIDER_LABEL = exports.SLIDER + "-label";
|
226 | exports.SLIDER_TRACK = exports.SLIDER + "-track";
|
227 | exports.SLIDER_PROGRESS = exports.SLIDER + "-progress";
|
228 | exports.START = NS + "-start";
|
229 | exports.END = NS + "-end";
|
230 | exports.SPINNER = NS + "-spinner";
|
231 | exports.SPINNER_ANIMATION = exports.SPINNER + "-animation";
|
232 | exports.SPINNER_HEAD = exports.SPINNER + "-head";
|
233 | exports.SPINNER_NO_SPIN = NS + "-no-spin";
|
234 | exports.SPINNER_TRACK = exports.SPINNER + "-track";
|
235 | exports.TAB = NS + "-tab";
|
236 | exports.TAB_INDICATOR = exports.TAB + "-indicator";
|
237 | exports.TAB_INDICATOR_WRAPPER = exports.TAB_INDICATOR + "-wrapper";
|
238 | exports.TAB_LIST = exports.TAB + "-list";
|
239 | exports.TAB_PANEL = exports.TAB + "-panel";
|
240 | exports.TABS = exports.TAB + "s";
|
241 | exports.TAG = NS + "-tag";
|
242 | exports.TAG_REMOVE = exports.TAG + "-remove";
|
243 | exports.TAG_INPUT = NS + "-tag-input";
|
244 | exports.TAG_INPUT_ICON = exports.TAG_INPUT + "-icon";
|
245 | exports.TAG_INPUT_VALUES = exports.TAG_INPUT + "-values";
|
246 | exports.TOAST = NS + "-toast";
|
247 | exports.TOAST_CONTAINER = exports.TOAST + "-container";
|
248 | exports.TOAST_MESSAGE = exports.TOAST + "-message";
|
249 | exports.TOOLTIP = NS + "-tooltip";
|
250 | exports.TOOLTIP_INDICATOR = exports.TOOLTIP + "-indicator";
|
251 | exports.TREE = NS + "-tree";
|
252 | exports.TREE_NODE = NS + "-tree-node";
|
253 | exports.TREE_NODE_CARET = exports.TREE_NODE + "-caret";
|
254 | exports.TREE_NODE_CARET_CLOSED = exports.TREE_NODE_CARET + "-closed";
|
255 | exports.TREE_NODE_CARET_NONE = exports.TREE_NODE_CARET + "-none";
|
256 | exports.TREE_NODE_CARET_OPEN = exports.TREE_NODE_CARET + "-open";
|
257 | exports.TREE_NODE_CONTENT = exports.TREE_NODE + "-content";
|
258 | exports.TREE_NODE_EXPANDED = exports.TREE_NODE + "-expanded";
|
259 | exports.TREE_NODE_ICON = exports.TREE_NODE + "-icon";
|
260 | exports.TREE_NODE_LABEL = exports.TREE_NODE + "-label";
|
261 | exports.TREE_NODE_LIST = exports.TREE_NODE + "-list";
|
262 | exports.TREE_NODE_SECONDARY_LABEL = exports.TREE_NODE + "-secondary-label";
|
263 | exports.TREE_NODE_SELECTED = exports.TREE_NODE + "-selected";
|
264 | exports.TREE_ROOT = NS + "-tree-root";
|
265 | exports.ICON = NS + "-icon";
|
266 |
|
267 | exports.ICON_STANDARD = exports.ICON + "-standard";
|
268 |
|
269 | exports.ICON_LARGE = exports.ICON + "-large";
|
270 |
|
271 |
|
272 |
|
273 |
|
274 | function getClassNamespace() {
|
275 | return NS;
|
276 | }
|
277 | exports.getClassNamespace = getClassNamespace;
|
278 |
|
279 | function alignmentClass(alignment) {
|
280 | switch (alignment) {
|
281 | case alignment_1.Alignment.LEFT:
|
282 | return exports.ALIGN_LEFT;
|
283 | case alignment_1.Alignment.RIGHT:
|
284 | return exports.ALIGN_RIGHT;
|
285 | default:
|
286 | return undefined;
|
287 | }
|
288 | }
|
289 | exports.alignmentClass = alignmentClass;
|
290 | function elevationClass(elevation) {
|
291 | if (elevation === undefined) {
|
292 | return undefined;
|
293 | }
|
294 | return NS + "-elevation-" + elevation;
|
295 | }
|
296 | exports.elevationClass = elevationClass;
|
297 | function iconClass(iconName) {
|
298 | if (iconName == null) {
|
299 | return undefined;
|
300 | }
|
301 | return iconName.indexOf(NS + "-icon-") === 0 ? iconName : NS + "-icon-" + iconName;
|
302 | }
|
303 | exports.iconClass = iconClass;
|
304 | function intentClass(intent) {
|
305 | if (intent == null || intent === intent_1.Intent.NONE) {
|
306 | return undefined;
|
307 | }
|
308 | return NS + "-intent-" + intent.toLowerCase();
|
309 | }
|
310 | exports.intentClass = intentClass;
|
311 | function positionClass(position) {
|
312 | if (position === undefined) {
|
313 | return undefined;
|
314 | }
|
315 | return NS + "-position-" + position;
|
316 | }
|
317 | exports.positionClass = positionClass;
|
318 |
|
\ | No newline at end of file |