10.9.51 • Published 6 days ago

@rdkmaster/jigsaw v10.9.51

Weekly downloads
69
License
MIT
Repository
github
Last release
6 days ago

Jigsaw-七巧板

  • For the desktop: @rdkmaster/jigsaw      npm version Jigsaw
  • For mobile: @rdkmaster/jigsaw-mobile npm version Build Status
  • Font Icons: @rdkmaster/icon-font          npm version Amount
  • Online IDE: Edit Jigsaw in one click          Gitpod Ready-to-Code

README中文版

Why Jigsaw?

Jigsaw is a complete and powerful Web components set. The current version contains 56 components, 7 containers, 7 services, and 9 directives, basically covering all aspects of Web applications. Simply put, Jigsaw has almost all the functions of other component sets, and Jigsaw is more powerful and has better performance. Therefore, there is no need to worry about the lack of functionality with Jigsaw.

Jigsaw has an ability that other component sets do not have: Jigsaw’s application can support multiple Ux specifications at the same time in one development. Click here to learn more about it.

List of Availables

Components

#NameDescriptionLink
1AlertA simple dialog that usually used to tell the users something important, and it can also collect choice of the users.Demo
2Alphabetical IndexA list that can be indexed alphabetically.Demo
3Alphabetical Index SelectA drop-down list that can be indexed alphabetically.Demo
4Auto InputA full-featured Input component with a drop-down list of suggested optional values.Demo
5BreadcrumbA lightweight navigator which can automaticly trace while the users are browsing.Demo
6ButtonA button with multiple states.Demo
7Button BarA button bar which supports selection status, single or multiple selection, it can be used as a form control or a navigator.Demo
8CascadeA form control for collecting or presenting data with subordinate relationships.Demo
9ChartIconA componnet for rendering a small area into charts, supporting pie, line, and bar charts.Demo
10CheckboxA form control for collecting multi choices.Demo
11Color SelectA form control that provides multiple ways to pick colors.Demo
12Date PickerA form control used to collect dates.Demo
13Date Time (Single)A form control for collecting date and time.Demo
14Date Time (Select)A form control used to collect date and time, it provides choices in a drop-down manner.Demo
15Date Time (Range)A form control used to collect the start and end value, including date and time.Demo
16Date Time (Select)A form control used to collect the start and end value, including date and time, it provides choices in a drop-down manner.Demo
17Fish BoneA Fishbone graph are often used to present some data with subordinate relationships in the form of fish bones.Demo
18GraphRender any data graphically, including any graphics such as bar charts, line charts, pie charts, gauge, and more, powered by echarts.Demo
19HeaderA simple component used to prompt the topic of a certain area on the UI.Demo
20IconA font icon, which can be used as a link button, supports Font-aweasome and Jigsaw's internal icon libraries.Demo
21Input (Normal)A form control used to collect a single line of text.Demo
22Input (Search)A search box for fuzzy matching according to text.Demo
23List LiteA control for presenting a group of data in a text list, supports single selection and multiple selection, supports main title and subtitle, and supports icons.Demo
24ListAn enhanced version of the List Lite control that supports the presentation of a set of data in any form.Demo
25LoadingDisplays an animation to ease the user's anxiety during waiting for certain operations.Demo
26MenuA multi-level menu control, which is often used for navigation.Demo
27NotificationInforms some unimportant message in the corner of the UI, or to collect some unimportant choice of the users.Demo
28Numeric InputA form control for collecting numbers without typing, supports floats and integers.Demo
29PaginationA control used to divide a large amount of data into multiple pages for display, not only can cooperate with the table component, but also can realize the paging operation of any data.Demo
30Progress BarA horizontal progress bar.Demo
31Progress CircleA circular progress bar.Demo
32Progress StatusA process status component which can be used to display various states in the process.Demo
33RadioA form control for collecting single choices.Demo
34RateA form control for the users to give his/her score of something.Demo
35ScrollbarA custom scrollbar to any container, powered by perfect scrollbar.Demo
36Select (Normal)A form control for collecting the choice(s) by dropping down a list.Demo
37Select (Group)A form control used to collect options through a drop-down list, supports option grouping, and is often used in situations where options are more complex.Demo
38Select (Collapse)A form control used to collect options through a drop-down list. It supports folding to group options. It is often used in situations where options are more complicated.Demo
39Signaling ChartA signaling flow chart.Demo
40SliderA form control for collecting numerical info by sliding.Demo
41StepsDisplays a series of custom steps which have some predefined states.Demo
42SwitchA form control for collection yes/no or on/off choices.Demo
43Tab BarA tab switcher for the Tabs container.Demo
44TableA very very powerful data grid.Demo
45TagA tag control.Demo
46TextareaA form control for collecting multi lines of text.Demo
47Tile LiteA list that displays data by horizontal tiling, and the List component tiling data vertically.Demo
48TileAn enhanced version of the Tile control.Demo
49TimeA time selector for selecting hours, minutes and seconds.Demo
50Time SectionA time rule selector, you can set the rule for matching time.Demo
51ToastA component used to prompt timely messages without intrusion.Demo
52TransferA complex selector, used to select a large number of entries, supports paging.Demo
53TreeRenders some data with subordinate relationships as a tree, powered by ztree.Demo
54UploadOpens a file explorer to select one or more files and upload to the sever.Demo
55Upload ResultOpens a file explorer to select one or more files and upload to the sever.Demo
56ViewportRepresents part of an abstract view.Demo

Containers

#NameDescriptionLink
1BoxA powerful view layout based on flex, which abstracts the view into horizontal and vertical boxes, and uses their mutual combination to quickly make the layout of complex views.Demo
2Editable BoxA data-driven box layout that makes it easier to achieve dynamic layout editing effects at runtime.Demo
3CollapseA container which can fold or open the given view.Demo
4Combo SelectA container that can hide any given view, which the user can pull down to display this view.Demo
5DialogA dialog box component which is often used in conjunction with PopupService.Demo
6DrawerA drawer, which is often used to show/hide complex views.Demo
7TabsA multi-view folding container with tabs, which can overlay multiple views together.Demo

Services

#NameDescriptionLink
1Theme SystemJigsaw provides a very powerful theme system, which can support a variety of Ux specification theme, support online hot switching of dark and light skins, support the use of opposite color theme in local areas, and also provide a set of CSS Variables are used to help users create pages that support each of the above features.Demo
2DataJigsaw encapsulates many kinds of data objects to help applications more easily to feed data to all the controls.Demo
3LoadingServicePopups up and manages Loading component.Demo
4PopupServicePopups any given view to the top of the UI, very powerful.Demo
5TimeServiceTranslate time macros like now-1d to real values.--
6TranslationUsed to create a view that supports multiple languages.Demo
7ChartIconRender simple data to tiny charts.--

Directives

#NameDescriptionLink
1BadgeAdd a badge to any view to grab the user's attention, and support multiple forms of badge.Demo
2MenuAdd multi-level menu function to any view, or popup a context menu.Demo
3Download GraphsAdd a function of downloading screenshots of all the graphics in the host container.Demo
4Drag and DropMakes the host draggable and droppable.Demo
5FloatDrop down any given view near the host, many positions supported.Demo
6MovableThe ability to add to any view so that the view can be dragged by the mouse and follow the movement of the mouse.Demo
7TooltipAdd a context prompt to any view, support rich text, and support interaction.Demo
8Trusted HTMLSimilar to Angular's innerHtml directive, without sanitizing the given trusted html, support interaction.Demo
9UploadAdding the file upload function to any view, needs to be used in conjunction with the upload result control.Demo

Meaning Of Name

We name this suite of components from a puzzle game. The process of this game, during which the player combine the messy pieces into a picture in accordance with the established blueprint, is similar to the development process of modern web page. We use Jigsaw as this component set’s name, hoping to make web page developers to combine the messy pieces of functions into your web page, just like playing jigsaw puzzle.

The soul of Jigsaw is combination, and we are committed to develop combination to the extreme level.

When several components are sorted and arranged in a certain order, you can get an application page. This is a normal combination, which we definee as Level I combination. In this level, all the components are like atoms, which means they can only act what they were made.

But Jigsaw's components are no longer atoms, we made a secondary abstraction of the functionality of the components, while allowing parts of the components highly customizable, some component even fully customizable. Small to basic components like jigsaw-button, large to giant components such as jigsaw-table, almost every UI element you see can be combined with other components to change its default behavior, and therefor to enhance the capability of components. Atomic components are limited, but the combination can produce infinite possibilities. The customization mentioned here, in other words, is another form of combination, and we call this level of combination as Level II.

With Jigsaw, unleash your imagination!

Get Started

A brand new start with Jigsaw

We strongly recommend to use Jigsaw Seed as the seed of all new projects. The specific steps are: 1. Install or update nodejs, node 6.x.x and npm 3.x.x or later is required; 2. Download or clone the source of Jigsaw Seed, assumed being saved to d:\jigsaw-seed; 3. Install all dependencies by excuting the following script:

cd d:\jigsaw-seed
npm config set registry=https://registry.npm.taobao.org/                 # for Chinese developers only
npm config set sass_binary_site https://npm.taobao.org/mirrors/node-sass # for Chinese developers only
npm install -g @angular/cli                                              # optional, but strongly recommended
npm install
npm start
  • Attensions to the Chinese developers, do NOT use cnpm to install the dependencies because of this issue.
  • Attensions to all ZTErs, you can use the npm mirror inside of ZTE for faster speed of installing, check this link for more details.
  1. Open http://localhost:4200 in your browser, your development environment is completed set up if you can see the welcome page;
  2. Afterwards you can directly run npm start in the d:\jigsaw-seed directory to start the development environment;
  3. Jigsaw has specifically done code optimization for the modern IDE, so that IDE can accurately prompt more information, saving your time of reading api document. We recommend using WebStorm as IDE.

Use Jigsaw with your developing project

See the specific process here

A bible for the beginners

Jigsaw Tourist is a tutorial dedication to the beginners, which shows how to use Jigsaw from scratch to build a simple application page. Click here, bravely take your first step in Jigsaw.

If there is any difficulty in getting started, please add Jigsaw's official WeChat, where you can join the SOS group and have a dialogue with our developers directly.

npm.io

A advanced guide

Any Badge is a best practice of using Jigsaw and RDK to create a full featured web application. It is a very good choice to read the source code of Any Badge, which helps your to learn more about Jigsaw and RDK, after you finish reading the Tour of Heroes and the Jigsaw Tourist.

One More Star Please!

This is the best encouragement for us.

Contribution

We believe that the following acts are doing contributions:

  • Quietly concern about Jigsaw;
  • Watch/star/fork it;
  • Reporting a bug or give us any suggestions by submitting an issue;
  • Write or translate the api documentation, or any articals about Jigsaw.
  • The more effective way to contribute is to push us PRs, all PRs are welcome and will be dealt with seriously;
10.9.51-g1

6 days ago

10.9.51

6 days ago

10.9.50-g1

16 days ago

10.9.50

16 days ago

10.9.49

19 days ago

10.9.48-g1

1 month ago

10.9.47-g1

1 month ago

10.9.47

1 month ago

10.9.46

1 month ago

10.9.48

1 month ago

10.9.46-g1

1 month ago

10.9.45

2 months ago

10.9.44

2 months ago

10.9.43

2 months ago

10.9.42

3 months ago

10.9.41

4 months ago

10.9.40

5 months ago

10.9.31

1 year ago

10.9.30

1 year ago

10.9.29

2 years ago

10.9.28

2 years ago

10.9.27

2 years ago

10.9.25

2 years ago

10.9.24

2 years ago

10.9.23

2 years ago

10.9.26

2 years ago

10.9.18

2 years ago

10.9.19

2 years ago

10.9.21

2 years ago

10.9.20

2 years ago

10.9.22

2 years ago

10.9.14

2 years ago

10.9.13

2 years ago

10.9.17

2 years ago

10.9.16

2 years ago

10.9.15

2 years ago

10.9.12

3 years ago

10.9.11

3 years ago

10.9.10

3 years ago

10.9.8

3 years ago

10.9.9

3 years ago

10.9.7

3 years ago

10.9.6

3 years ago

1.1.40

3 years ago

9.1.19

3 years ago

9.1.20

3 years ago

10.9.4

3 years ago

10.9.5

3 years ago

10.9.3

3 years ago

10.9.2

3 years ago

9.1.18

3 years ago

10.9.1

3 years ago

9.1.17

3 years ago

9.1.16

3 years ago

9.1.15

3 years ago

9.1.14

3 years ago

9.1.13

4 years ago

9.1.12

4 years ago

9.1.11

4 years ago

9.1.10

4 years ago

9.1.9

4 years ago

9.1.8

4 years ago

8.0.20

4 years ago

9.1.7

4 years ago

9.1.6

4 years ago

1.1.39

4 years ago

9.1.5

4 years ago

1.1.38

4 years ago

9.1.4

4 years ago

5.0.10

4 years ago

8.0.19

4 years ago

9.1.3

4 years ago

8.0.18

4 years ago

8.0.17

4 years ago

9.1.2

4 years ago

8.0.16

4 years ago

9.1.1

4 years ago

8.0.15

4 years ago

9.1.0

4 years ago

9.0.10-beta1

4 years ago

1.1.37

4 years ago

8.0.14

4 years ago

8.0.13

4 years ago

9.0.9-beta1

4 years ago

5.0.9

4 years ago

9.0.8-beta1

4 years ago

8.0.12

4 years ago

9.0.7-beta1

4 years ago

5.0.8

4 years ago

8.0.11

4 years ago

9.0.6-beta1

4 years ago

5.0.7

4 years ago

8.0.10

4 years ago

1.1.36

4 years ago

5.0.6

4 years ago

8.0.9

4 years ago

9.0.5-beta1

4 years ago

8.0.8

4 years ago

1.1.35

4 years ago

9.0.4-beta1

4 years ago

5.0.5

4 years ago

1.1.34

4 years ago

5.0.4

4 years ago

9.0.3-beta1

4 years ago

8.0.7

4 years ago

1.1.33

4 years ago

5.0.3

4 years ago

8.0.6

4 years ago

9.0.2-beta1

4 years ago

9.0.1-beta1

4 years ago

8.0.5

4 years ago

1.1.32

4 years ago

8.0.4

4 years ago

8.0.3

4 years ago

8.0.2

4 years ago

1.1.31

4 years ago

9.0.0-beta1

4 years ago

1.1.30

4 years ago

1.1.29

5 years ago

1.1.28

5 years ago

1.1.27

5 years ago

5.0.2

5 years ago

5.0.1

5 years ago

8.0.1

5 years ago

8.0.0-beta1

5 years ago

5.0.0-beta1

5 years ago

1.1.26

5 years ago

1.3.0-beta1

5 years ago

1.1.25

5 years ago

1.1.24

5 years ago

1.2.0-beta3

5 years ago

1.1.23

5 years ago

1.1.22

5 years ago

1.1.21

5 years ago

1.1.20

5 years ago

1.1.19

5 years ago

1.1.18

5 years ago

1.1.17

5 years ago

1.1.16

6 years ago

1.1.15

6 years ago

1.1.14

6 years ago

1.1.13

6 years ago

1.1.12

6 years ago

1.1.11

6 years ago

1.1.10

6 years ago

1.1.9

6 years ago

1.1.8

6 years ago

1.1.7

6 years ago

1.1.6

6 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.1.0-rc.5

6 years ago

1.1.0-rc.4.next

6 years ago

1.1.0-rc.4

6 years ago

1.1.0-rc.3.next

6 years ago

1.1.0-rc.3

6 years ago

1.1.0-rc.2

6 years ago

1.1.0-rc.1

6 years ago

1.1.0-beta.7

6 years ago

1.1.0-beta.6

6 years ago

1.1.0-beta.5

7 years ago

1.1.0-beta.4

7 years ago

1.1.0-beta.3

7 years ago

1.1.0-beta.2

7 years ago

1.1.0-beta.1

7 years ago

1.0.0-beta.20

7 years ago

1.0.0-beta.19

7 years ago

1.0.0-beta.18

7 years ago

1.0.0-beta.17

7 years ago

1.0.0-beta.16

7 years ago

1.0.0-beta.15

7 years ago

1.0.0-beta.14

7 years ago

1.0.0-beta.13

7 years ago

1.0.0-beta.12

7 years ago

1.0.0-beta.11

7 years ago

1.0.0-beta.10

7 years ago

1.0.0-beta.9

7 years ago

1.0.0-beta.8

7 years ago

1.0.0-beta.7

7 years ago

1.0.0-beta.6

7 years ago

1.0.0-beta.5

7 years ago

1.0.0-beta.4

7 years ago

1.0.0-beta.3

7 years ago

1.0.0-beta.2

7 years ago

1.0.0-beta.1

7 years ago

0.0.0

7 years ago