Skip to content

Commit 2967c3e

Browse files
committed
Smart UI 14.4.0
1 parent 48e999d commit 2967c3e

File tree

5,098 files changed

+816651
-126030
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

5,098 files changed

+816651
-126030
lines changed

accordion/accordion.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ export declare class Accordion extends React.Component<React.HTMLAttributes<Elem
2727
private componentRef;
2828
get id(): string;
2929
/** Sets or gets the animation mode. Animation is disabled when the property is set to 'none'
30-
* Property type: Animation
30+
* Property type: Animation | string
3131
*/
32-
get animation(): Animation;
33-
set animation(value: Animation);
32+
get animation(): Animation | string;
33+
set animation(value: Animation | string);
3434
/** Determines the data source that will be loaded to the Accordion.
3535
* Property type: any
3636
*/
@@ -47,10 +47,10 @@ export declare class Accordion extends React.Component<React.HTMLAttributes<Elem
4747
get expandedIndexes(): number[];
4848
set expandedIndexes(value: number[]);
4949
/** Sets or gets the expand mode. Expand mode determines how the items will expand or collapse.
50-
* Property type: AccordionExpandMode
50+
* Property type: AccordionExpandMode | string
5151
*/
52-
get expandMode(): AccordionExpandMode;
53-
set expandMode(value: AccordionExpandMode);
52+
get expandMode(): AccordionExpandMode | string;
53+
set expandMode(value: AccordionExpandMode | string);
5454
/** Sets or gets the language. Used in conjunction with the property messages.
5555
* Property type: string
5656
*/

accordion/accordion.esm.js

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11

2+
if (!window['Smart']) {
3+
window['Smart'] = { RenderMode: 'manual' };
4+
}
5+
else {
6+
window['Smart'].RenderMode = 'manual';
7+
}
28
import '../source/modules/smart.accordion';
39

410
import React from 'react';
@@ -20,7 +26,7 @@ class AccordionItem extends React.Component {
2026
return this._id;
2127
}
2228
/** Sets or gets header's arrow position. If the value is 'none' the arrow is not shown.
23-
* Property type: AccordionItemArrow
29+
* Property type: AccordionItemArrow | string
2430
*/
2531
get arrow() {
2632
return this.nativeElement ? this.nativeElement.arrow : undefined;
@@ -94,7 +100,7 @@ class AccordionItem extends React.Component {
94100
that.nativeElement = this.componentRef.current;
95101
}
96102
for (let prop in props) {
97-
if (prop === 'class') {
103+
if (prop === 'class' || prop === 'className') {
98104
const classNames = props[prop].trim().split(' ');
99105
for (let className in classNames) {
100106
if (!that.nativeElement.classList.contains(classNames[className]) && classNames[className] !== "") {
@@ -176,7 +182,7 @@ class Accordion extends React.Component {
176182
return this._id;
177183
}
178184
/** Sets or gets the animation mode. Animation is disabled when the property is set to 'none'
179-
* Property type: Animation
185+
* Property type: Animation | string
180186
*/
181187
get animation() {
182188
return this.nativeElement ? this.nativeElement.animation : undefined;
@@ -220,7 +226,7 @@ class Accordion extends React.Component {
220226
}
221227
}
222228
/** Sets or gets the expand mode. Expand mode determines how the items will expand or collapse.
223-
* Property type: AccordionExpandMode
229+
* Property type: AccordionExpandMode | string
224230
*/
225231
get expandMode() {
226232
return this.nativeElement ? this.nativeElement.expandMode : undefined;
@@ -416,7 +422,7 @@ class Accordion extends React.Component {
416422
that.nativeElement = this.componentRef.current;
417423
}
418424
for (let prop in props) {
419-
if (prop === 'class') {
425+
if (prop === 'class' || prop === 'className') {
420426
const classNames = props[prop].trim().split(' ');
421427
for (let className in classNames) {
422428
if (!that.nativeElement.classList.contains(classNames[className]) && classNames[className] !== "") {
@@ -443,6 +449,7 @@ class Accordion extends React.Component {
443449
that.nativeElement[eventName.toLowerCase()] = events[eventName];
444450
}
445451
if (initialize) {
452+
Smart$1.Render();
446453
if (that.onCreate) {
447454
that.onCreate();
448455
}

accordion/accordion.umd.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ require('../source/modules/smart.accordion');
2626
return this._id;
2727
}
2828
/** Sets or gets header's arrow position. If the value is 'none' the arrow is not shown.
29-
* Property type: AccordionItemArrow
29+
* Property type: AccordionItemArrow | string
3030
*/
3131
get arrow() {
3232
return this.nativeElement ? this.nativeElement.arrow : undefined;
@@ -100,7 +100,7 @@ require('../source/modules/smart.accordion');
100100
that.nativeElement = this.componentRef.current;
101101
}
102102
for (let prop in props) {
103-
if (prop === 'class') {
103+
if (prop === 'class' || prop === 'className') {
104104
const classNames = props[prop].trim().split(' ');
105105
for (let className in classNames) {
106106
if (!that.nativeElement.classList.contains(classNames[className]) && classNames[className] !== "") {
@@ -182,7 +182,7 @@ require('../source/modules/smart.accordion');
182182
return this._id;
183183
}
184184
/** Sets or gets the animation mode. Animation is disabled when the property is set to 'none'
185-
* Property type: Animation
185+
* Property type: Animation | string
186186
*/
187187
get animation() {
188188
return this.nativeElement ? this.nativeElement.animation : undefined;
@@ -226,7 +226,7 @@ require('../source/modules/smart.accordion');
226226
}
227227
}
228228
/** Sets or gets the expand mode. Expand mode determines how the items will expand or collapse.
229-
* Property type: AccordionExpandMode
229+
* Property type: AccordionExpandMode | string
230230
*/
231231
get expandMode() {
232232
return this.nativeElement ? this.nativeElement.expandMode : undefined;
@@ -422,7 +422,7 @@ require('../source/modules/smart.accordion');
422422
that.nativeElement = this.componentRef.current;
423423
}
424424
for (let prop in props) {
425-
if (prop === 'class') {
425+
if (prop === 'class' || prop === 'className') {
426426
const classNames = props[prop].trim().split(' ');
427427
for (let className in classNames) {
428428
if (!that.nativeElement.classList.contains(classNames[className]) && classNames[className] !== "") {
@@ -449,6 +449,7 @@ require('../source/modules/smart.accordion');
449449
that.nativeElement[eventName.toLowerCase()] = events[eventName];
450450
}
451451
if (initialize) {
452+
Smart$1.Render();
452453
if (that.onCreate) {
453454
that.onCreate();
454455
}

accordion/accordionitem.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ export declare class AccordionItem extends React.Component<React.HTMLAttributes<
2121
private componentRef;
2222
get id(): string;
2323
/** Sets or gets header's arrow position. If the value is 'none' the arrow is not shown.
24-
* Property type: AccordionItemArrow
24+
* Property type: AccordionItemArrow | string
2525
*/
26-
get arrow(): AccordionItemArrow;
27-
set arrow(value: AccordionItemArrow);
26+
get arrow(): AccordionItemArrow | string;
27+
set arrow(value: AccordionItemArrow | string);
2828
/** Sets or gets the content if the item.
2929
* Property type: boolean
3030
*/

admin-template-react/.gitignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# production
12+
/build
13+
14+
# misc
15+
.DS_Store
16+
.env.local
17+
.env.development.local
18+
.env.test.local
19+
.env.production.local
20+
21+
npm-debug.log*
22+
yarn-debug.log*
23+
yarn-error.log*

admin-template-react/README.md

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
# Getting Started with Create React App
2+
3+
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
4+
5+
## Available Scripts
6+
7+
In the project directory, you can run:
8+
9+
### `npm start`
10+
11+
Runs the app in the development mode.\
12+
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
13+
14+
The page will reload when you make changes.\
15+
You may also see any lint errors in the console.
16+
17+
### `npm test`
18+
19+
Launches the test runner in the interactive watch mode.\
20+
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
21+
22+
### `npm run build`
23+
24+
Builds the app for production to the `build` folder.\
25+
It correctly bundles React in production mode and optimizes the build for the best performance.
26+
27+
The build is minified and the filenames include the hashes.\
28+
Your app is ready to be deployed!
29+
30+
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
31+
32+
### `npm run eject`
33+
34+
**Note: this is a one-way operation. Once you `eject`, you can't go back!**
35+
36+
If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
37+
38+
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.
39+
40+
You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.
41+
42+
## Learn More
43+
44+
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
45+
46+
To learn React, check out the [React documentation](https://reactjs.org/).
47+
48+
### Code Splitting
49+
50+
This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
51+
52+
### Analyzing the Bundle Size
53+
54+
This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
55+
56+
### Making a Progressive Web App
57+
58+
This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
59+
60+
### Advanced Configuration
61+
62+
This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
63+
64+
### Deployment
65+
66+
This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
67+
68+
### `npm run build` fails to minify
69+
70+
This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)

0 commit comments

Comments
 (0)